UNPKG

@datenkraft/bb-fulfillment-api-ts-client

Version:

The fulfillment API TS Client enables you to work with the fulfillment API

106 lines (105 loc) 6.85 kB
/** * Fulfillment API * - alpha: Currently developed API version. Subject to major changes. - beta: A semi-stable early access version. New features can be added. Breaking changes are possible. - stable: The API is recommended for use in production. [Changelog](https://fulfillment-api.steve.niceshops.com/v2/docs/changelog.html) All data is transferred in UTF-8 encoding.\\ The API uses stateless HTTP. No cookies have to be kept.\\ Authentication via OAuth2 client credentials flow. [Privacy Policy](https://www.niceshops.com/en/dienstleistungen/data-privacy-policy) [Fulfillment API PHP client @Packagist](https://packagist.org/packages/datenkraft/bb-fulfillment-api-php-client) * * The version of the OpenAPI document: v2.beta * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; import { RequestArgs, BaseAPI } from '../base'; import { DiscoShopCollection } from '../models'; /** * DiscoShopApi - axios parameter creator * @export */ export declare const DiscoShopApiAxiosParamCreator: (configuration?: Configuration) => { /** * Get a list of shops from the DISCO. * @summary Get a list of shops from the DISCO. * @param {number} [page] The page to read. Default is the first page. * @param {number} [pageSize] The maximum size per page is 100. Default is 100. * @param {'default' | 'totalCount'} [paginationMode] The paginationMode to use: - default: The total number of items in the collection will not be calculated. - totalCount: The total number of items in the collection will be calculated. This can mean loss of performance. * @param {boolean} [filterOnlyNotAssigned] If true, only disco shops that are not linked to a Shop are returned. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDiscoShopCollection: (page?: number, pageSize?: number, paginationMode?: 'default' | 'totalCount', filterOnlyNotAssigned?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * DiscoShopApi - functional programming interface * @export */ export declare const DiscoShopApiFp: (configuration?: Configuration) => { /** * Get a list of shops from the DISCO. * @summary Get a list of shops from the DISCO. * @param {number} [page] The page to read. Default is the first page. * @param {number} [pageSize] The maximum size per page is 100. Default is 100. * @param {'default' | 'totalCount'} [paginationMode] The paginationMode to use: - default: The total number of items in the collection will not be calculated. - totalCount: The total number of items in the collection will be calculated. This can mean loss of performance. * @param {boolean} [filterOnlyNotAssigned] If true, only disco shops that are not linked to a Shop are returned. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDiscoShopCollection(page?: number, pageSize?: number, paginationMode?: 'default' | 'totalCount', filterOnlyNotAssigned?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiscoShopCollection>>; }; /** * DiscoShopApi - factory interface * @export */ export declare const DiscoShopApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Get a list of shops from the DISCO. * @summary Get a list of shops from the DISCO. * @param {number} [page] The page to read. Default is the first page. * @param {number} [pageSize] The maximum size per page is 100. Default is 100. * @param {'default' | 'totalCount'} [paginationMode] The paginationMode to use: - default: The total number of items in the collection will not be calculated. - totalCount: The total number of items in the collection will be calculated. This can mean loss of performance. * @param {boolean} [filterOnlyNotAssigned] If true, only disco shops that are not linked to a Shop are returned. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDiscoShopCollection(page?: number, pageSize?: number, paginationMode?: 'default' | 'totalCount', filterOnlyNotAssigned?: boolean, options?: any): AxiosPromise<DiscoShopCollection>; }; /** * DiscoShopApi - interface * @export * @interface DiscoShopApi */ export interface DiscoShopApiInterface { /** * Get a list of shops from the DISCO. * @summary Get a list of shops from the DISCO. * @param {number} [page] The page to read. Default is the first page. * @param {number} [pageSize] The maximum size per page is 100. Default is 100. * @param {'default' | 'totalCount'} [paginationMode] The paginationMode to use: - default: The total number of items in the collection will not be calculated. - totalCount: The total number of items in the collection will be calculated. This can mean loss of performance. * @param {boolean} [filterOnlyNotAssigned] If true, only disco shops that are not linked to a Shop are returned. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DiscoShopApiInterface */ getDiscoShopCollection(page?: number, pageSize?: number, paginationMode?: 'default' | 'totalCount', filterOnlyNotAssigned?: boolean, options?: AxiosRequestConfig): AxiosPromise<DiscoShopCollection>; } /** * DiscoShopApi - object-oriented interface * @export * @class DiscoShopApi * @extends {BaseAPI} */ export declare class DiscoShopApi extends BaseAPI implements DiscoShopApiInterface { /** * Get a list of shops from the DISCO. * @summary Get a list of shops from the DISCO. * @param {number} [page] The page to read. Default is the first page. * @param {number} [pageSize] The maximum size per page is 100. Default is 100. * @param {'default' | 'totalCount'} [paginationMode] The paginationMode to use: - default: The total number of items in the collection will not be calculated. - totalCount: The total number of items in the collection will be calculated. This can mean loss of performance. * @param {boolean} [filterOnlyNotAssigned] If true, only disco shops that are not linked to a Shop are returned. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DiscoShopApi */ getDiscoShopCollection(page?: number, pageSize?: number, paginationMode?: 'default' | 'totalCount', filterOnlyNotAssigned?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DiscoShopCollection, any>>; }