ShopOrderApi - functional programming interface

  • Parameters

    • Optionalconfiguration: Configuration

    Returns {
        shopOrderControllerCancel(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>)>;
        shopOrderControllerClaim(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>)>;
        shopOrderControllerCreate(shopOrderCreateDTO?: ShopOrderCreateDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>)>;
        shopOrderControllerGetOne(id: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>)>;
        shopOrderControllerSearch(shopOrderSearchInputDTO?: ShopOrderSearchInputDTO, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>)>;
    }

    • shopOrderControllerCancel:function
    • shopOrderControllerClaim:function
      • Claiming an order will mark it as completed and give the user the item in-game

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>)>

        Claim an order

    • shopOrderControllerCreate:function
    • shopOrderControllerGetOne:function
      • Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.

        Parameters

        • id: string
        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputDTOAPI>)>

        Get order by ID

    • shopOrderControllerSearch:function
      • Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.

        Parameters

        • OptionalshopOrderSearchInputDTO: ShopOrderSearchInputDTO

          ShopOrderSearchInputDTO

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopOrderOutputArrayDTOAPI>)>

        Search orders