Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@emilgroup/commission-sdk-node

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emilgroup/commission-sdk-node - npm Package Compare versions

Comparing version
1.0.0-beta.3
to
1.0.0-beta.4
+642
api/commission-recipients-api.ts
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
import { Configuration } from '../configuration';
// Some imports not used depending on template conditions
// @ts-ignore
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
// @ts-ignore
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
// @ts-ignore
import { CreateCommissionRecipientRequestDto } from '../models';
// @ts-ignore
import { CreateCommissionRecipientResponseClass } from '../models';
// @ts-ignore
import { GetCommissionRecipientResponseClass } from '../models';
// @ts-ignore
import { ListCommissionRecipientsResponseClass } from '../models';
// @ts-ignore
import { UpdateCommissionRecipientRequestDto } from '../models';
// @ts-ignore
import { UpdateCommissionRecipientResponseClass } from '../models';
// URLSearchParams not necessarily used
// @ts-ignore
import { URL, URLSearchParams } from 'url';
const FormData = require('form-data');
/**
* CommissionRecipientsApi - axios parameter creator
* @export
*/
export const CommissionRecipientsApiAxiosParamCreator = function (configuration?: Configuration) {
return {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommissionRecipient: async (createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'createCommissionRecipientRequestDto' is not null or undefined
assertParamExists('createCommissionRecipient', 'createCommissionRecipientRequestDto', createCommissionRecipientRequestDto)
const localVarPath = `/commissionservice/v1/commission-recipients`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
let baseAccessToken;
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
localVarRequestOptions.data = serializeDataIfNeeded(createCommissionRecipientRequestDto, localVarRequestOptions, configuration)
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {any} code Unique identifier for the object.
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommissionRecipient: async (code: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'code' is not null or undefined
assertParamExists('deleteCommissionRecipient', 'code', code)
const localVarPath = `/commissionservice/v1/commission-recipients`
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
let baseAccessToken;
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {string} code
* @param {string} expand
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommissionRecipient: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'code' is not null or undefined
assertParamExists('getCommissionRecipient', 'code', code)
// verify required parameter 'expand' is not null or undefined
assertParamExists('getCommissionRecipient', 'expand', expand)
const localVarPath = `/commissionservice/v1/commission-recipients/{code}`
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
let baseAccessToken;
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
if (expand !== undefined) {
localVarQueryParameter['expand'] = expand;
}
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listCommissionRecipients: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/commissionservice/v1/commission-recipients`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
let baseAccessToken;
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
if (filter !== undefined) {
localVarQueryParameter['filter'] = filter;
}
if (filters !== undefined) {
localVarQueryParameter['filters'] = filters;
}
if (order !== undefined) {
localVarQueryParameter['order'] = order;
}
if (expand !== undefined) {
localVarQueryParameter['expand'] = expand;
}
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateCommissionRecipient: async (updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'updateCommissionRecipientRequestDto' is not null or undefined
assertParamExists('updateCommissionRecipient', 'updateCommissionRecipientRequestDto', updateCommissionRecipientRequestDto)
const localVarPath = `/commissionservice/v1/commission-recipients`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
let baseAccessToken;
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
localVarHeaderParameter['Content-Type'] = 'application/json';
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
localVarRequestOptions.data = serializeDataIfNeeded(updateCommissionRecipientRequestDto, localVarRequestOptions, configuration)
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
}
};
/**
* CommissionRecipientsApi - functional programming interface
* @export
*/
export const CommissionRecipientsApiFp = function(configuration?: Configuration) {
const localVarAxiosParamCreator = CommissionRecipientsApiAxiosParamCreator(configuration)
return {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionRecipientResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {any} code Unique identifier for the object.
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async deleteCommissionRecipient(code: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCommissionRecipient(code, authorization, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {string} code
* @param {string} expand
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getCommissionRecipient(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionRecipientResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getCommissionRecipient(code, expand, authorization, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async listCommissionRecipients(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionRecipientsResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionRecipients(authorization, filter, filters, order, expand, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async updateCommissionRecipient(updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionRecipientResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.updateCommissionRecipient(updateCommissionRecipientRequestDto, authorization, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
}
};
/**
* CommissionRecipientsApi - factory interface
* @export
*/
export const CommissionRecipientsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
const localVarFp = CommissionRecipientsApiFp(configuration)
return {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientResponseClass> {
return localVarFp.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options).then((request) => request(axios, basePath));
},
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {any} code Unique identifier for the object.
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommissionRecipient(code: any, authorization?: string, options?: any): AxiosPromise<void> {
return localVarFp.deleteCommissionRecipient(code, authorization, options).then((request) => request(axios, basePath));
},
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {string} code
* @param {string} expand
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommissionRecipient(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionRecipientResponseClass> {
return localVarFp.getCommissionRecipient(code, expand, authorization, options).then((request) => request(axios, basePath));
},
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listCommissionRecipients(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionRecipientsResponseClass> {
return localVarFp.listCommissionRecipients(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
},
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateCommissionRecipient(updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionRecipientResponseClass> {
return localVarFp.updateCommissionRecipient(updateCommissionRecipientRequestDto, authorization, options).then((request) => request(axios, basePath));
},
};
};
/**
* Request parameters for createCommissionRecipient operation in CommissionRecipientsApi.
* @export
* @interface CommissionRecipientsApiCreateCommissionRecipientRequest
*/
export interface CommissionRecipientsApiCreateCommissionRecipientRequest {
/**
*
* @type {CreateCommissionRecipientRequestDto}
* @memberof CommissionRecipientsApiCreateCommissionRecipient
*/
readonly createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CommissionRecipientsApiCreateCommissionRecipient
*/
readonly authorization?: string
}
/**
* Request parameters for deleteCommissionRecipient operation in CommissionRecipientsApi.
* @export
* @interface CommissionRecipientsApiDeleteCommissionRecipientRequest
*/
export interface CommissionRecipientsApiDeleteCommissionRecipientRequest {
/**
* Unique identifier for the object.
* @type {any}
* @memberof CommissionRecipientsApiDeleteCommissionRecipient
*/
readonly code: any
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CommissionRecipientsApiDeleteCommissionRecipient
*/
readonly authorization?: string
}
/**
* Request parameters for getCommissionRecipient operation in CommissionRecipientsApi.
* @export
* @interface CommissionRecipientsApiGetCommissionRecipientRequest
*/
export interface CommissionRecipientsApiGetCommissionRecipientRequest {
/**
*
* @type {string}
* @memberof CommissionRecipientsApiGetCommissionRecipient
*/
readonly code: string
/**
*
* @type {string}
* @memberof CommissionRecipientsApiGetCommissionRecipient
*/
readonly expand: string
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CommissionRecipientsApiGetCommissionRecipient
*/
readonly authorization?: string
}
/**
* Request parameters for listCommissionRecipients operation in CommissionRecipientsApi.
* @export
* @interface CommissionRecipientsApiListCommissionRecipientsRequest
*/
export interface CommissionRecipientsApiListCommissionRecipientsRequest {
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CommissionRecipientsApiListCommissionRecipients
*/
readonly authorization?: string
/**
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @type {string}
* @memberof CommissionRecipientsApiListCommissionRecipients
*/
readonly filter?: string
/**
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @type {string}
* @memberof CommissionRecipientsApiListCommissionRecipients
*/
readonly filters?: string
/**
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @type {string}
* @memberof CommissionRecipientsApiListCommissionRecipients
*/
readonly order?: string
/**
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @type {string}
* @memberof CommissionRecipientsApiListCommissionRecipients
*/
readonly expand?: string
}
/**
* Request parameters for updateCommissionRecipient operation in CommissionRecipientsApi.
* @export
* @interface CommissionRecipientsApiUpdateCommissionRecipientRequest
*/
export interface CommissionRecipientsApiUpdateCommissionRecipientRequest {
/**
*
* @type {UpdateCommissionRecipientRequestDto}
* @memberof CommissionRecipientsApiUpdateCommissionRecipient
*/
readonly updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CommissionRecipientsApiUpdateCommissionRecipient
*/
readonly authorization?: string
}
/**
* CommissionRecipientsApi - object-oriented interface
* @export
* @class CommissionRecipientsApi
* @extends {BaseAPI}
*/
export class CommissionRecipientsApi extends BaseAPI {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CommissionRecipientsApiCreateCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
public createCommissionRecipient(requestParameters: CommissionRecipientsApiCreateCommissionRecipientRequest, options?: AxiosRequestConfig) {
return CommissionRecipientsApiFp(this.configuration).createCommissionRecipient(requestParameters.createCommissionRecipientRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
}
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {CommissionRecipientsApiDeleteCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
public deleteCommissionRecipient(requestParameters: CommissionRecipientsApiDeleteCommissionRecipientRequest, options?: AxiosRequestConfig) {
return CommissionRecipientsApiFp(this.configuration).deleteCommissionRecipient(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
}
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {CommissionRecipientsApiGetCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
public getCommissionRecipient(requestParameters: CommissionRecipientsApiGetCommissionRecipientRequest, options?: AxiosRequestConfig) {
return CommissionRecipientsApiFp(this.configuration).getCommissionRecipient(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
}
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {CommissionRecipientsApiListCommissionRecipientsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
public listCommissionRecipients(requestParameters: CommissionRecipientsApiListCommissionRecipientsRequest = {}, options?: AxiosRequestConfig) {
return CommissionRecipientsApiFp(this.configuration).listCommissionRecipients(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
}
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {CommissionRecipientsApiUpdateCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
public updateCommissionRecipient(requestParameters: CommissionRecipientsApiUpdateCommissionRecipientRequest, options?: AxiosRequestConfig) {
return CommissionRecipientsApiFp(this.configuration).updateCommissionRecipient(requestParameters.updateCommissionRecipientRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
}
}
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
import { CreateCommissionRecipientRequestDto } from '../models';
import { CreateCommissionRecipientResponseClass } from '../models';
import { GetCommissionRecipientResponseClass } from '../models';
import { ListCommissionRecipientsResponseClass } from '../models';
import { UpdateCommissionRecipientRequestDto } from '../models';
import { UpdateCommissionRecipientResponseClass } from '../models';
/**
* CommissionRecipientsApi - axios parameter creator
* @export
*/
export declare const CommissionRecipientsApiAxiosParamCreator: (configuration?: Configuration) => {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommissionRecipient: (createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {any} code Unique identifier for the object.
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommissionRecipient: (code: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {string} code
* @param {string} expand
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommissionRecipient: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listCommissionRecipients: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateCommissionRecipient: (updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* CommissionRecipientsApi - functional programming interface
* @export
*/
export declare const CommissionRecipientsApiFp: (configuration?: Configuration) => {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionRecipientResponseClass>>;
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {any} code Unique identifier for the object.
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommissionRecipient(code: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {string} code
* @param {string} expand
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommissionRecipient(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionRecipientResponseClass>>;
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listCommissionRecipients(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionRecipientsResponseClass>>;
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateCommissionRecipient(updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionRecipientResponseClass>>;
};
/**
* CommissionRecipientsApi - factory interface
* @export
*/
export declare const CommissionRecipientsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientResponseClass>;
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {any} code Unique identifier for the object.
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommissionRecipient(code: any, authorization?: string, options?: any): AxiosPromise<void>;
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {string} code
* @param {string} expand
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommissionRecipient(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionRecipientResponseClass>;
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listCommissionRecipients(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionRecipientsResponseClass>;
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateCommissionRecipient(updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionRecipientResponseClass>;
};
/**
* Request parameters for createCommissionRecipient operation in CommissionRecipientsApi.
* @export
* @interface CommissionRecipientsApiCreateCommissionRecipientRequest
*/
export interface CommissionRecipientsApiCreateCommissionRecipientRequest {
/**
*
* @type {CreateCommissionRecipientRequestDto}
* @memberof CommissionRecipientsApiCreateCommissionRecipient
*/
readonly createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto;
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CommissionRecipientsApiCreateCommissionRecipient
*/
readonly authorization?: string;
}
/**
* Request parameters for deleteCommissionRecipient operation in CommissionRecipientsApi.
* @export
* @interface CommissionRecipientsApiDeleteCommissionRecipientRequest
*/
export interface CommissionRecipientsApiDeleteCommissionRecipientRequest {
/**
* Unique identifier for the object.
* @type {any}
* @memberof CommissionRecipientsApiDeleteCommissionRecipient
*/
readonly code: any;
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CommissionRecipientsApiDeleteCommissionRecipient
*/
readonly authorization?: string;
}
/**
* Request parameters for getCommissionRecipient operation in CommissionRecipientsApi.
* @export
* @interface CommissionRecipientsApiGetCommissionRecipientRequest
*/
export interface CommissionRecipientsApiGetCommissionRecipientRequest {
/**
*
* @type {string}
* @memberof CommissionRecipientsApiGetCommissionRecipient
*/
readonly code: string;
/**
*
* @type {string}
* @memberof CommissionRecipientsApiGetCommissionRecipient
*/
readonly expand: string;
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CommissionRecipientsApiGetCommissionRecipient
*/
readonly authorization?: string;
}
/**
* Request parameters for listCommissionRecipients operation in CommissionRecipientsApi.
* @export
* @interface CommissionRecipientsApiListCommissionRecipientsRequest
*/
export interface CommissionRecipientsApiListCommissionRecipientsRequest {
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CommissionRecipientsApiListCommissionRecipients
*/
readonly authorization?: string;
/**
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @type {string}
* @memberof CommissionRecipientsApiListCommissionRecipients
*/
readonly filter?: string;
/**
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @type {string}
* @memberof CommissionRecipientsApiListCommissionRecipients
*/
readonly filters?: string;
/**
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @type {string}
* @memberof CommissionRecipientsApiListCommissionRecipients
*/
readonly order?: string;
/**
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @type {string}
* @memberof CommissionRecipientsApiListCommissionRecipients
*/
readonly expand?: string;
}
/**
* Request parameters for updateCommissionRecipient operation in CommissionRecipientsApi.
* @export
* @interface CommissionRecipientsApiUpdateCommissionRecipientRequest
*/
export interface CommissionRecipientsApiUpdateCommissionRecipientRequest {
/**
*
* @type {UpdateCommissionRecipientRequestDto}
* @memberof CommissionRecipientsApiUpdateCommissionRecipient
*/
readonly updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto;
/**
* Bearer Token: provided by the login endpoint under the name accessToken.
* @type {string}
* @memberof CommissionRecipientsApiUpdateCommissionRecipient
*/
readonly authorization?: string;
}
/**
* CommissionRecipientsApi - object-oriented interface
* @export
* @class CommissionRecipientsApi
* @extends {BaseAPI}
*/
export declare class CommissionRecipientsApi extends BaseAPI {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CommissionRecipientsApiCreateCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
createCommissionRecipient(requestParameters: CommissionRecipientsApiCreateCommissionRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionRecipientResponseClass, any, {}>>;
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {CommissionRecipientsApiDeleteCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
deleteCommissionRecipient(requestParameters: CommissionRecipientsApiDeleteCommissionRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {CommissionRecipientsApiGetCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
getCommissionRecipient(requestParameters: CommissionRecipientsApiGetCommissionRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionRecipientResponseClass, any, {}>>;
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {CommissionRecipientsApiListCommissionRecipientsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
listCommissionRecipients(requestParameters?: CommissionRecipientsApiListCommissionRecipientsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionRecipientsResponseClass, any, {}>>;
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {CommissionRecipientsApiUpdateCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
updateCommissionRecipient(requestParameters: CommissionRecipientsApiUpdateCommissionRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCommissionRecipientResponseClass, any, {}>>;
}
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommissionRecipientsApi = exports.CommissionRecipientsApiFactory = exports.CommissionRecipientsApiFp = exports.CommissionRecipientsApiAxiosParamCreator = void 0;
var axios_1 = __importDefault(require("axios"));
// Some imports not used depending on template conditions
// @ts-ignore
var common_1 = require("../common");
// @ts-ignore
var base_1 = require("../base");
// URLSearchParams not necessarily used
// @ts-ignore
var url_1 = require("url");
var FormData = require('form-data');
/**
* CommissionRecipientsApi - axios parameter creator
* @export
*/
var CommissionRecipientsApiAxiosParamCreator = function (configuration) {
var _this = this;
return {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommissionRecipient: function (createCommissionRecipientRequestDto, authorization, options) {
if (options === void 0) { options = {}; }
return __awaiter(_this, void 0, void 0, function () {
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
// verify required parameter 'createCommissionRecipientRequestDto' is not null or undefined
(0, common_1.assertParamExists)('createCommissionRecipient', 'createCommissionRecipientRequestDto', createCommissionRecipientRequestDto);
localVarPath = "/commissionservice/v1/commission-recipients";
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
localVarHeaderParameter = {};
localVarQueryParameter = {};
// authentication bearer required
// http bearer authentication required
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
case 1:
// authentication bearer required
// http bearer authentication required
_a.sent();
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
localVarHeaderParameter['Content-Type'] = 'application/json';
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createCommissionRecipientRequestDto, localVarRequestOptions, configuration);
return [2 /*return*/, {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
}];
}
});
});
},
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {any} code Unique identifier for the object.
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommissionRecipient: function (code, authorization, options) {
if (options === void 0) { options = {}; }
return __awaiter(_this, void 0, void 0, function () {
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
// verify required parameter 'code' is not null or undefined
(0, common_1.assertParamExists)('deleteCommissionRecipient', 'code', code);
localVarPath = "/commissionservice/v1/commission-recipients"
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
localVarHeaderParameter = {};
localVarQueryParameter = {};
// authentication bearer required
// http bearer authentication required
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
case 1:
// authentication bearer required
// http bearer authentication required
_a.sent();
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return [2 /*return*/, {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
}];
}
});
});
},
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {string} code
* @param {string} expand
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommissionRecipient: function (code, expand, authorization, options) {
if (options === void 0) { options = {}; }
return __awaiter(_this, void 0, void 0, function () {
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
// verify required parameter 'code' is not null or undefined
(0, common_1.assertParamExists)('getCommissionRecipient', 'code', code);
// verify required parameter 'expand' is not null or undefined
(0, common_1.assertParamExists)('getCommissionRecipient', 'expand', expand);
localVarPath = "/commissionservice/v1/commission-recipients/{code}"
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
localVarHeaderParameter = {};
localVarQueryParameter = {};
// authentication bearer required
// http bearer authentication required
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
case 1:
// authentication bearer required
// http bearer authentication required
_a.sent();
if (expand !== undefined) {
localVarQueryParameter['expand'] = expand;
}
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return [2 /*return*/, {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
}];
}
});
});
},
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listCommissionRecipients: function (authorization, filter, filters, order, expand, options) {
if (options === void 0) { options = {}; }
return __awaiter(_this, void 0, void 0, function () {
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
localVarPath = "/commissionservice/v1/commission-recipients";
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
localVarHeaderParameter = {};
localVarQueryParameter = {};
// authentication bearer required
// http bearer authentication required
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
case 1:
// authentication bearer required
// http bearer authentication required
_a.sent();
if (filter !== undefined) {
localVarQueryParameter['filter'] = filter;
}
if (filters !== undefined) {
localVarQueryParameter['filters'] = filters;
}
if (order !== undefined) {
localVarQueryParameter['order'] = order;
}
if (expand !== undefined) {
localVarQueryParameter['expand'] = expand;
}
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return [2 /*return*/, {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
}];
}
});
});
},
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateCommissionRecipient: function (updateCommissionRecipientRequestDto, authorization, options) {
if (options === void 0) { options = {}; }
return __awaiter(_this, void 0, void 0, function () {
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
// verify required parameter 'updateCommissionRecipientRequestDto' is not null or undefined
(0, common_1.assertParamExists)('updateCommissionRecipient', 'updateCommissionRecipientRequestDto', updateCommissionRecipientRequestDto);
localVarPath = "/commissionservice/v1/commission-recipients";
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
if (configuration) {
baseOptions = configuration.baseOptions;
baseAccessToken = configuration.accessToken;
}
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
localVarHeaderParameter = {};
localVarQueryParameter = {};
// authentication bearer required
// http bearer authentication required
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
case 1:
// authentication bearer required
// http bearer authentication required
_a.sent();
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
}
localVarHeaderParameter['Content-Type'] = 'application/json';
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCommissionRecipientRequestDto, localVarRequestOptions, configuration);
return [2 /*return*/, {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
}];
}
});
});
},
};
};
exports.CommissionRecipientsApiAxiosParamCreator = CommissionRecipientsApiAxiosParamCreator;
/**
* CommissionRecipientsApi - functional programming interface
* @export
*/
var CommissionRecipientsApiFp = function (configuration) {
var localVarAxiosParamCreator = (0, exports.CommissionRecipientsApiAxiosParamCreator)(configuration);
return {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommissionRecipient: function (createCommissionRecipientRequestDto, authorization, options) {
return __awaiter(this, void 0, void 0, function () {
var localVarAxiosArgs;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options)];
case 1:
localVarAxiosArgs = _a.sent();
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
}
});
});
},
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {any} code Unique identifier for the object.
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommissionRecipient: function (code, authorization, options) {
return __awaiter(this, void 0, void 0, function () {
var localVarAxiosArgs;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteCommissionRecipient(code, authorization, options)];
case 1:
localVarAxiosArgs = _a.sent();
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
}
});
});
},
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {string} code
* @param {string} expand
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommissionRecipient: function (code, expand, authorization, options) {
return __awaiter(this, void 0, void 0, function () {
var localVarAxiosArgs;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCommissionRecipient(code, expand, authorization, options)];
case 1:
localVarAxiosArgs = _a.sent();
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
}
});
});
},
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listCommissionRecipients: function (authorization, filter, filters, order, expand, options) {
return __awaiter(this, void 0, void 0, function () {
var localVarAxiosArgs;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionRecipients(authorization, filter, filters, order, expand, options)];
case 1:
localVarAxiosArgs = _a.sent();
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
}
});
});
},
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateCommissionRecipient: function (updateCommissionRecipientRequestDto, authorization, options) {
return __awaiter(this, void 0, void 0, function () {
var localVarAxiosArgs;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateCommissionRecipient(updateCommissionRecipientRequestDto, authorization, options)];
case 1:
localVarAxiosArgs = _a.sent();
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
}
});
});
},
};
};
exports.CommissionRecipientsApiFp = CommissionRecipientsApiFp;
/**
* CommissionRecipientsApi - factory interface
* @export
*/
var CommissionRecipientsApiFactory = function (configuration, basePath, axios) {
var localVarFp = (0, exports.CommissionRecipientsApiFp)(configuration);
return {
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
createCommissionRecipient: function (createCommissionRecipientRequestDto, authorization, options) {
return localVarFp.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
},
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {any} code Unique identifier for the object.
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
deleteCommissionRecipient: function (code, authorization, options) {
return localVarFp.deleteCommissionRecipient(code, authorization, options).then(function (request) { return request(axios, basePath); });
},
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {string} code
* @param {string} expand
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getCommissionRecipient: function (code, expand, authorization, options) {
return localVarFp.getCommissionRecipient(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
},
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, displayName, partnerCode, status, createdAt&lt;/i&gt;
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listCommissionRecipients: function (authorization, filter, filters, order, expand, options) {
return localVarFp.listCommissionRecipients(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
},
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateCommissionRecipient: function (updateCommissionRecipientRequestDto, authorization, options) {
return localVarFp.updateCommissionRecipient(updateCommissionRecipientRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
},
};
};
exports.CommissionRecipientsApiFactory = CommissionRecipientsApiFactory;
/**
* CommissionRecipientsApi - object-oriented interface
* @export
* @class CommissionRecipientsApi
* @extends {BaseAPI}
*/
var CommissionRecipientsApi = /** @class */ (function (_super) {
__extends(CommissionRecipientsApi, _super);
function CommissionRecipientsApi() {
return _super !== null && _super.apply(this, arguments) || this;
}
/**
* This will create commission recipient.
* @summary Create the commission recipient
* @param {CommissionRecipientsApiCreateCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
CommissionRecipientsApi.prototype.createCommissionRecipient = function (requestParameters, options) {
var _this = this;
return (0, exports.CommissionRecipientsApiFp)(this.configuration).createCommissionRecipient(requestParameters.createCommissionRecipientRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
};
/**
* This will delete commission recipient.
* @summary Delete the commission recipient
* @param {CommissionRecipientsApiDeleteCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
CommissionRecipientsApi.prototype.deleteCommissionRecipient = function (requestParameters, options) {
var _this = this;
return (0, exports.CommissionRecipientsApiFp)(this.configuration).deleteCommissionRecipient(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
};
/**
* This will get commission recipient.
* @summary Retrieve the commission recipient
* @param {CommissionRecipientsApiGetCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
CommissionRecipientsApi.prototype.getCommissionRecipient = function (requestParameters, options) {
var _this = this;
return (0, exports.CommissionRecipientsApiFp)(this.configuration).getCommissionRecipient(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
};
/**
* Retrieves a list of commissionrecipients.
* @summary List commission recipients
* @param {CommissionRecipientsApiListCommissionRecipientsRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
CommissionRecipientsApi.prototype.listCommissionRecipients = function (requestParameters, options) {
var _this = this;
if (requestParameters === void 0) { requestParameters = {}; }
return (0, exports.CommissionRecipientsApiFp)(this.configuration).listCommissionRecipients(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
};
/**
* This will update commission recipient.
* @summary Update the commission recipient
* @param {CommissionRecipientsApiUpdateCommissionRecipientRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CommissionRecipientsApi
*/
CommissionRecipientsApi.prototype.updateCommissionRecipient = function (requestParameters, options) {
var _this = this;
return (0, exports.CommissionRecipientsApiFp)(this.configuration).updateCommissionRecipient(requestParameters.updateCommissionRecipientRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
};
return CommissionRecipientsApi;
}(base_1.BaseAPI));
exports.CommissionRecipientsApi = CommissionRecipientsApi;
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
/**
*
* @export
* @interface CommissionRecipientClass
*/
export interface CommissionRecipientClass {
/**
* Unique identifier for the commission recipient
* @type {number}
* @memberof CommissionRecipientClass
*/
'id': number;
/**
* The commission agreement version associated with this commission recipient
* @type {CommissionAgreementVersionClass}
* @memberof CommissionRecipientClass
*/
'version'?: CommissionAgreementVersionClass;
/**
* The commission agreement version code associated with this commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'commissionAgreementVersionCode'?: string;
/**
* Unique code identifier for the commission recipient, auto-generated on creation
* @type {string}
* @memberof CommissionRecipientClass
*/
'code': string;
/**
* Human-readable display name for the commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'displayName': string;
/**
* The unique code or identifier of the partner associated with this commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'partnerCode': string;
/**
* Status of the commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'status': CommissionRecipientClassStatusEnum;
/**
* Timestamp when the commission recipient was created
* @type {string}
* @memberof CommissionRecipientClass
*/
'createdAt'?: string;
/**
* Timestamp when the commission recipient was last updated
* @type {string}
* @memberof CommissionRecipientClass
*/
'updatedAt'?: string;
/**
* User identifier who created the commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'createdBy'?: string;
/**
* User identifier who last updated the commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'updatedBy'?: string;
}
export declare const CommissionRecipientClassStatusEnum: {
readonly Active: "active";
readonly Inactive: "inactive";
};
export type CommissionRecipientClassStatusEnum = typeof CommissionRecipientClassStatusEnum[keyof typeof CommissionRecipientClassStatusEnum];
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommissionRecipientClassStatusEnum = void 0;
exports.CommissionRecipientClassStatusEnum = {
Active: 'active',
Inactive: 'inactive'
};
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CreateCommissionRecipientRequestDto
*/
export interface CreateCommissionRecipientRequestDto {
/**
* The unique code or identifier of the commission agreement version this recipient is associated with
* @type {string}
* @memberof CreateCommissionRecipientRequestDto
*/
'commissionAgreementVersionCode': string;
/**
* Human-readable display name for the commission recipient
* @type {string}
* @memberof CreateCommissionRecipientRequestDto
*/
'displayName': string;
/**
* The unique code or identifier of the partner associated with this commission recipient
* @type {string}
* @memberof CreateCommissionRecipientRequestDto
*/
'partnerCode': string;
}
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommissionRecipientClass } from './commission-recipient-class';
/**
*
* @export
* @interface CreateCommissionRecipientResponseClass
*/
export interface CreateCommissionRecipientResponseClass {
/**
* The commission recipient that was created
* @type {CommissionRecipientClass}
* @memberof CreateCommissionRecipientResponseClass
*/
'recipient'?: CommissionRecipientClass;
}
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommissionRecipientClass } from './commission-recipient-class';
/**
*
* @export
* @interface GetCommissionRecipientResponseClass
*/
export interface GetCommissionRecipientResponseClass {
/**
* The commission recipient that was created
* @type {CommissionRecipientClass}
* @memberof GetCommissionRecipientResponseClass
*/
'recipient'?: CommissionRecipientClass;
}
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommissionRecipientClass } from './commission-recipient-class';
/**
*
* @export
* @interface ListCommissionRecipientsResponseClass
*/
export interface ListCommissionRecipientsResponseClass {
/**
* An array of commission recipients that were retrieved
* @type {Array<CommissionRecipientClass>}
* @memberof ListCommissionRecipientsResponseClass
*/
'items': Array<CommissionRecipientClass>;
/**
* nextPageToken
* @type {string}
* @memberof ListCommissionRecipientsResponseClass
*/
'nextPageToken': string;
/**
* itemsPerPage
* @type {number}
* @memberof ListCommissionRecipientsResponseClass
*/
'itemsPerPage': number;
/**
* totalItems
* @type {number}
* @memberof ListCommissionRecipientsResponseClass
*/
'totalItems': number;
}
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface UpdateCommissionRecipientRequestDto
*/
export interface UpdateCommissionRecipientRequestDto {
/**
* Unique code identifier for the commission recipient to update
* @type {string}
* @memberof UpdateCommissionRecipientRequestDto
*/
'code': string;
/**
* Updated human-readable display name for the commission recipient
* @type {string}
* @memberof UpdateCommissionRecipientRequestDto
*/
'displayName': string;
/**
* Updated unique code or identifier of the partner associated with this commission recipient
* @type {string}
* @memberof UpdateCommissionRecipientRequestDto
*/
'partnerCode': string;
/**
* Updated status of the commission recipient (e.g., pending, settled, active, inactive)
* @type {string}
* @memberof UpdateCommissionRecipientRequestDto
*/
'status': string;
}
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommissionRecipientClass } from './commission-recipient-class';
/**
*
* @export
* @interface UpdateCommissionRecipientResponseClass
*/
export interface UpdateCommissionRecipientResponseClass {
/**
* The commission recipient that was updated
* @type {CommissionRecipientClass}
* @memberof UpdateCommissionRecipientResponseClass
*/
'recipient'?: CommissionRecipientClass;
}
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
/**
*
* @export
* @interface CommissionRecipientClass
*/
export interface CommissionRecipientClass {
/**
* Unique identifier for the commission recipient
* @type {number}
* @memberof CommissionRecipientClass
*/
'id': number;
/**
* The commission agreement version associated with this commission recipient
* @type {CommissionAgreementVersionClass}
* @memberof CommissionRecipientClass
*/
'version'?: CommissionAgreementVersionClass;
/**
* The commission agreement version code associated with this commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'commissionAgreementVersionCode'?: string;
/**
* Unique code identifier for the commission recipient, auto-generated on creation
* @type {string}
* @memberof CommissionRecipientClass
*/
'code': string;
/**
* Human-readable display name for the commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'displayName': string;
/**
* The unique code or identifier of the partner associated with this commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'partnerCode': string;
/**
* Status of the commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'status': CommissionRecipientClassStatusEnum;
/**
* Timestamp when the commission recipient was created
* @type {string}
* @memberof CommissionRecipientClass
*/
'createdAt'?: string;
/**
* Timestamp when the commission recipient was last updated
* @type {string}
* @memberof CommissionRecipientClass
*/
'updatedAt'?: string;
/**
* User identifier who created the commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'createdBy'?: string;
/**
* User identifier who last updated the commission recipient
* @type {string}
* @memberof CommissionRecipientClass
*/
'updatedBy'?: string;
}
export const CommissionRecipientClassStatusEnum = {
Active: 'active',
Inactive: 'inactive'
} as const;
export type CommissionRecipientClassStatusEnum = typeof CommissionRecipientClassStatusEnum[keyof typeof CommissionRecipientClassStatusEnum];
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface CreateCommissionRecipientRequestDto
*/
export interface CreateCommissionRecipientRequestDto {
/**
* The unique code or identifier of the commission agreement version this recipient is associated with
* @type {string}
* @memberof CreateCommissionRecipientRequestDto
*/
'commissionAgreementVersionCode': string;
/**
* Human-readable display name for the commission recipient
* @type {string}
* @memberof CreateCommissionRecipientRequestDto
*/
'displayName': string;
/**
* The unique code or identifier of the partner associated with this commission recipient
* @type {string}
* @memberof CreateCommissionRecipientRequestDto
*/
'partnerCode': string;
}
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommissionRecipientClass } from './commission-recipient-class';
/**
*
* @export
* @interface CreateCommissionRecipientResponseClass
*/
export interface CreateCommissionRecipientResponseClass {
/**
* The commission recipient that was created
* @type {CommissionRecipientClass}
* @memberof CreateCommissionRecipientResponseClass
*/
'recipient'?: CommissionRecipientClass;
}
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommissionRecipientClass } from './commission-recipient-class';
/**
*
* @export
* @interface GetCommissionRecipientResponseClass
*/
export interface GetCommissionRecipientResponseClass {
/**
* The commission recipient that was created
* @type {CommissionRecipientClass}
* @memberof GetCommissionRecipientResponseClass
*/
'recipient'?: CommissionRecipientClass;
}
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommissionRecipientClass } from './commission-recipient-class';
/**
*
* @export
* @interface ListCommissionRecipientsResponseClass
*/
export interface ListCommissionRecipientsResponseClass {
/**
* An array of commission recipients that were retrieved
* @type {Array<CommissionRecipientClass>}
* @memberof ListCommissionRecipientsResponseClass
*/
'items': Array<CommissionRecipientClass>;
/**
* nextPageToken
* @type {string}
* @memberof ListCommissionRecipientsResponseClass
*/
'nextPageToken': string;
/**
* itemsPerPage
* @type {number}
* @memberof ListCommissionRecipientsResponseClass
*/
'itemsPerPage': number;
/**
* totalItems
* @type {number}
* @memberof ListCommissionRecipientsResponseClass
*/
'totalItems': number;
}
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface UpdateCommissionRecipientRequestDto
*/
export interface UpdateCommissionRecipientRequestDto {
/**
* Unique code identifier for the commission recipient to update
* @type {string}
* @memberof UpdateCommissionRecipientRequestDto
*/
'code': string;
/**
* Updated human-readable display name for the commission recipient
* @type {string}
* @memberof UpdateCommissionRecipientRequestDto
*/
'displayName': string;
/**
* Updated unique code or identifier of the partner associated with this commission recipient
* @type {string}
* @memberof UpdateCommissionRecipientRequestDto
*/
'partnerCode': string;
/**
* Updated status of the commission recipient (e.g., pending, settled, active, inactive)
* @type {string}
* @memberof UpdateCommissionRecipientRequestDto
*/
'status': string;
}
/* tslint:disable */
/* eslint-disable */
/**
* EMIL CommissionService
* The EMIL CommissionService API description
*
* The version of the OpenAPI document: 1.0
* Contact: kontakt@emil.de
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommissionRecipientClass } from './commission-recipient-class';
/**
*
* @export
* @interface UpdateCommissionRecipientResponseClass
*/
export interface UpdateCommissionRecipientResponseClass {
/**
* The commission recipient that was updated
* @type {CommissionRecipientClass}
* @memberof UpdateCommissionRecipientResponseClass
*/
'recipient'?: CommissionRecipientClass;
}
+2
-0

@@ -29,2 +29,3 @@ /* tslint:disable */

import { CommissionAgreementsApi } from './api';
import { CommissionRecipientsApi } from './api';
import { CommissionsApi } from './api';

@@ -36,4 +37,5 @@ import { DefaultApi } from './api';

export * from './api/commission-agreements-api';
export * from './api/commission-recipients-api';
export * from './api/commissions-api';
export * from './api/default-api';

@@ -14,3 +14,4 @@ /**

export * from './api/commission-agreements-api';
export * from './api/commission-recipients-api';
export * from './api/commissions-api';
export * from './api/default-api';

@@ -32,3 +32,4 @@ "use strict";

__exportStar(require("./api/commission-agreements-api"), exports);
__exportStar(require("./api/commission-recipients-api"), exports);
__exportStar(require("./api/commissions-api"), exports);
__exportStar(require("./api/default-api"), exports);

@@ -5,2 +5,3 @@ export * from './commission-agreement-class';

export * from './commission-item-class';
export * from './commission-recipient-class';
export * from './create-commission-agreement-request-dto';

@@ -11,2 +12,4 @@ export * from './create-commission-agreement-response-class';

export * from './create-commission-item-request-dto';
export * from './create-commission-recipient-request-dto';
export * from './create-commission-recipient-response-class';
export * from './create-commission-request-dto';

@@ -16,2 +19,3 @@ export * from './create-commission-response-class';

export * from './get-commission-agreement-version-response-class';
export * from './get-commission-recipient-response-class';
export * from './get-commission-response-class';

@@ -22,6 +26,9 @@ export * from './inline-response200';

export * from './list-commission-agreements-response-class';
export * from './list-commission-recipients-response-class';
export * from './list-commissions-response-class';
export * from './update-commission-agreement-request-dto';
export * from './update-commission-agreement-response-class';
export * from './update-commission-recipient-request-dto';
export * from './update-commission-recipient-response-class';
export * from './update-commission-request-dto';
export * from './update-commission-response-class';

@@ -21,2 +21,3 @@ "use strict";

__exportStar(require("./commission-item-class"), exports);
__exportStar(require("./commission-recipient-class"), exports);
__exportStar(require("./create-commission-agreement-request-dto"), exports);

@@ -27,2 +28,4 @@ __exportStar(require("./create-commission-agreement-response-class"), exports);

__exportStar(require("./create-commission-item-request-dto"), exports);
__exportStar(require("./create-commission-recipient-request-dto"), exports);
__exportStar(require("./create-commission-recipient-response-class"), exports);
__exportStar(require("./create-commission-request-dto"), exports);

@@ -32,2 +35,3 @@ __exportStar(require("./create-commission-response-class"), exports);

__exportStar(require("./get-commission-agreement-version-response-class"), exports);
__exportStar(require("./get-commission-recipient-response-class"), exports);
__exportStar(require("./get-commission-response-class"), exports);

@@ -38,6 +42,9 @@ __exportStar(require("./inline-response200"), exports);

__exportStar(require("./list-commission-agreements-response-class"), exports);
__exportStar(require("./list-commission-recipients-response-class"), exports);
__exportStar(require("./list-commissions-response-class"), exports);
__exportStar(require("./update-commission-agreement-request-dto"), exports);
__exportStar(require("./update-commission-agreement-response-class"), exports);
__exportStar(require("./update-commission-recipient-request-dto"), exports);
__exportStar(require("./update-commission-recipient-response-class"), exports);
__exportStar(require("./update-commission-request-dto"), exports);
__exportStar(require("./update-commission-response-class"), exports);

@@ -5,2 +5,3 @@ export * from './commission-agreement-class';

export * from './commission-item-class';
export * from './commission-recipient-class';
export * from './create-commission-agreement-request-dto';

@@ -11,2 +12,4 @@ export * from './create-commission-agreement-response-class';

export * from './create-commission-item-request-dto';
export * from './create-commission-recipient-request-dto';
export * from './create-commission-recipient-response-class';
export * from './create-commission-request-dto';

@@ -16,2 +19,3 @@ export * from './create-commission-response-class';

export * from './get-commission-agreement-version-response-class';
export * from './get-commission-recipient-response-class';
export * from './get-commission-response-class';

@@ -22,6 +26,9 @@ export * from './inline-response200';

export * from './list-commission-agreements-response-class';
export * from './list-commission-recipients-response-class';
export * from './list-commissions-response-class';
export * from './update-commission-agreement-request-dto';
export * from './update-commission-agreement-response-class';
export * from './update-commission-recipient-request-dto';
export * from './update-commission-recipient-response-class';
export * from './update-commission-request-dto';
export * from './update-commission-response-class';
+1
-1
{
"name": "@emilgroup/commission-sdk-node",
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.4",
"description": "OpenAPI client for @emilgroup/commission-sdk-node",

@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors",

@@ -20,7 +20,7 @@ # Emil Commission SDK for Nodejs

```
npm install @emilgroup/commission-sdk-node@1.0.0-beta.3 --save
npm install @emilgroup/commission-sdk-node@1.0.0-beta.4 --save
```
or
```
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.3
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.4
```

@@ -27,0 +27,0 @@

Sorry, the diff of this file is not supported yet