@emilgroup/commission-sdk 2.10.1-beta.3 → 2.10.1-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +7 -0
- package/README.md +2 -2
- package/api/commission-agreement-versions-api.ts +12 -12
- package/api/commission-settlements-api.ts +107 -0
- package/api/commissions-api.ts +240 -13
- package/dist/api/commission-agreement-versions-api.d.ts +12 -12
- package/dist/api/commission-agreement-versions-api.js +9 -9
- package/dist/api/commission-settlements-api.d.ts +57 -0
- package/dist/api/commission-settlements-api.js +93 -0
- package/dist/api/commissions-api.d.ts +136 -13
- package/dist/api/commissions-api.js +198 -6
- package/dist/models/clawback-config-dto.d.ts +36 -0
- package/dist/models/clawback-config-dto.js +15 -0
- package/dist/models/commission-agreement-version-class.d.ts +13 -0
- package/dist/models/commission-candidate-class.d.ts +12 -0
- package/dist/models/commission-class.d.ts +49 -0
- package/dist/models/commission-class.js +7 -0
- package/dist/models/commission-config-dto.d.ts +2 -1
- package/dist/models/commission-config-dto.js +2 -1
- package/dist/models/commission-estimate-class.d.ts +2 -1
- package/dist/models/commission-estimate-class.js +2 -1
- package/dist/models/create-commission-agreement-request-dto.d.ts +13 -0
- package/dist/models/create-commission-agreement-version-request-dto.d.ts +13 -0
- package/dist/models/create-commission-candidate-request-dto.d.ts +2 -1
- package/dist/models/create-commission-candidate-request-dto.js +2 -1
- package/dist/models/create-commission-clawback-request-dto.d.ts +24 -0
- package/dist/models/create-commission-clawback-request-dto.js +15 -0
- package/dist/models/create-commission-clawback-response-class.d.ts +45 -0
- package/dist/models/create-commission-clawback-response-class.js +23 -0
- package/dist/models/create-commission-item-request-dto.d.ts +2 -1
- package/dist/models/create-commission-item-request-dto.js +2 -1
- package/dist/models/evaluated-commission-class.d.ts +2 -1
- package/dist/models/evaluated-commission-class.js +2 -1
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/trigger-commission-settlement-creation-request-dto.d.ts +30 -0
- package/dist/models/trigger-commission-settlement-creation-request-dto.js +15 -0
- package/dist/models/trigger-commission-settlement-creation-response-class.d.ts +24 -0
- package/dist/models/trigger-commission-settlement-creation-response-class.js +15 -0
- package/dist/models/trigger-due-commission-clawbacks-request-dto.d.ts +30 -0
- package/dist/models/trigger-due-commission-clawbacks-request-dto.js +15 -0
- package/dist/models/trigger-due-commission-clawbacks-response-class.d.ts +24 -0
- package/dist/models/trigger-due-commission-clawbacks-response-class.js +15 -0
- package/dist/models/update-commission-candidate-request-dto.d.ts +2 -1
- package/dist/models/update-commission-candidate-request-dto.js +2 -1
- package/models/clawback-config-dto.ts +42 -0
- package/models/commission-agreement-version-class.ts +13 -0
- package/models/commission-candidate-class.ts +12 -0
- package/models/commission-class.ts +52 -0
- package/models/commission-config-dto.ts +3 -2
- package/models/commission-estimate-class.ts +3 -2
- package/models/create-commission-agreement-request-dto.ts +13 -0
- package/models/create-commission-agreement-version-request-dto.ts +13 -0
- package/models/create-commission-candidate-request-dto.ts +3 -2
- package/models/create-commission-clawback-request-dto.ts +30 -0
- package/models/create-commission-clawback-response-class.ts +54 -0
- package/models/create-commission-item-request-dto.ts +3 -2
- package/models/evaluated-commission-class.ts +3 -2
- package/models/index.ts +7 -0
- package/models/trigger-commission-settlement-creation-request-dto.ts +36 -0
- package/models/trigger-commission-settlement-creation-response-class.ts +30 -0
- package/models/trigger-due-commission-clawbacks-request-dto.ts +36 -0
- package/models/trigger-due-commission-clawbacks-response-class.ts +30 -0
- package/models/update-commission-candidate-request-dto.ts +3 -2
- package/package.json +1 -1
package/api/commissions-api.ts
CHANGED
|
@@ -21,6 +21,10 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { CreateCommissionClawbackRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateCommissionClawbackResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
24
28
|
import { CreateCommissionRequestDto } from '../models';
|
|
25
29
|
// @ts-ignore
|
|
26
30
|
import { CreateCommissionResponseClass } from '../models';
|
|
@@ -33,6 +37,10 @@ import { GetCommissionResponseClass } from '../models';
|
|
|
33
37
|
// @ts-ignore
|
|
34
38
|
import { ListCommissionsResponseClass } from '../models';
|
|
35
39
|
// @ts-ignore
|
|
40
|
+
import { TriggerDueCommissionClawbacksRequestDto } from '../models';
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
import { TriggerDueCommissionClawbacksResponseClass } from '../models';
|
|
43
|
+
// @ts-ignore
|
|
36
44
|
import { UpdateCommissionRequestDto } from '../models';
|
|
37
45
|
// @ts-ignore
|
|
38
46
|
import { UpdateCommissionResponseClass } from '../models';
|
|
@@ -89,6 +97,57 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
89
97
|
options: localVarRequestOptions,
|
|
90
98
|
};
|
|
91
99
|
},
|
|
100
|
+
/**
|
|
101
|
+
* Creates a manual clawback for one commission.
|
|
102
|
+
* @summary Create the commission clawback
|
|
103
|
+
* @param {string} code Unique identifier for the object.
|
|
104
|
+
* @param {CreateCommissionClawbackRequestDto} createCommissionClawbackRequestDto
|
|
105
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
createCommissionClawback: async (code: string, createCommissionClawbackRequestDto: CreateCommissionClawbackRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
110
|
+
// verify required parameter 'code' is not null or undefined
|
|
111
|
+
assertParamExists('createCommissionClawback', 'code', code)
|
|
112
|
+
// verify required parameter 'createCommissionClawbackRequestDto' is not null or undefined
|
|
113
|
+
assertParamExists('createCommissionClawback', 'createCommissionClawbackRequestDto', createCommissionClawbackRequestDto)
|
|
114
|
+
const localVarPath = `/commissionservice/v1/commissions/{code}/clawbacks`
|
|
115
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
116
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
118
|
+
let baseOptions;
|
|
119
|
+
let baseAccessToken;
|
|
120
|
+
if (configuration) {
|
|
121
|
+
baseOptions = configuration.baseOptions;
|
|
122
|
+
baseAccessToken = configuration.accessToken;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
126
|
+
const localVarHeaderParameter = {} as any;
|
|
127
|
+
const localVarQueryParameter = {} as any;
|
|
128
|
+
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
132
|
+
|
|
133
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
134
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
|
+
|
|
141
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
142
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
143
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
144
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createCommissionClawbackRequestDto, localVarRequestOptions, configuration)
|
|
145
|
+
|
|
146
|
+
return {
|
|
147
|
+
url: toPathString(localVarUrlObj),
|
|
148
|
+
options: localVarRequestOptions,
|
|
149
|
+
};
|
|
150
|
+
},
|
|
92
151
|
/**
|
|
93
152
|
* This will delete commission.
|
|
94
153
|
* @summary Delete the commission
|
|
@@ -239,15 +298,15 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
239
298
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
240
299
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
241
300
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
242
|
-
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
301
|
+
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
243
302
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
244
|
-
* @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
303
|
+
* @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
245
304
|
* @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
246
305
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
247
306
|
* @param {*} [options] Override http request option.
|
|
248
307
|
* @throws {RequiredError}
|
|
249
308
|
*/
|
|
250
|
-
listCommissions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
309
|
+
listCommissions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
251
310
|
const localVarPath = `/commissionservice/v1/commissions`;
|
|
252
311
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
312
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -309,6 +368,53 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
309
368
|
options: localVarRequestOptions,
|
|
310
369
|
};
|
|
311
370
|
},
|
|
371
|
+
/**
|
|
372
|
+
* Requests due scheduled commission clawbacks processing by enqueueing a trigger message. The endpoint returns after the message is sent and does not wait for the job to finish.
|
|
373
|
+
* @summary Create the due commission clawbacks trigger
|
|
374
|
+
* @param {TriggerDueCommissionClawbacksRequestDto} triggerDueCommissionClawbacksRequestDto
|
|
375
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
triggerDueCommissionClawbacks: async (triggerDueCommissionClawbacksRequestDto: TriggerDueCommissionClawbacksRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
380
|
+
// verify required parameter 'triggerDueCommissionClawbacksRequestDto' is not null or undefined
|
|
381
|
+
assertParamExists('triggerDueCommissionClawbacks', 'triggerDueCommissionClawbacksRequestDto', triggerDueCommissionClawbacksRequestDto)
|
|
382
|
+
const localVarPath = `/commissionservice/v1/commissions/clawbacks/trigger-due`;
|
|
383
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
384
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
385
|
+
let baseOptions;
|
|
386
|
+
let baseAccessToken;
|
|
387
|
+
if (configuration) {
|
|
388
|
+
baseOptions = configuration.baseOptions;
|
|
389
|
+
baseAccessToken = configuration.accessToken;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
393
|
+
const localVarHeaderParameter = {} as any;
|
|
394
|
+
const localVarQueryParameter = {} as any;
|
|
395
|
+
|
|
396
|
+
// authentication bearer required
|
|
397
|
+
// http bearer authentication required
|
|
398
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
399
|
+
|
|
400
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
401
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
407
|
+
|
|
408
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
410
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
411
|
+
localVarRequestOptions.data = serializeDataIfNeeded(triggerDueCommissionClawbacksRequestDto, localVarRequestOptions, configuration)
|
|
412
|
+
|
|
413
|
+
return {
|
|
414
|
+
url: toPathString(localVarUrlObj),
|
|
415
|
+
options: localVarRequestOptions,
|
|
416
|
+
};
|
|
417
|
+
},
|
|
312
418
|
/**
|
|
313
419
|
* This will update commission.
|
|
314
420
|
* @summary Update the commission
|
|
@@ -382,6 +488,19 @@ export const CommissionsApiFp = function(configuration?: Configuration) {
|
|
|
382
488
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCommission(createCommissionRequestDto, authorization, options);
|
|
383
489
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
384
490
|
},
|
|
491
|
+
/**
|
|
492
|
+
* Creates a manual clawback for one commission.
|
|
493
|
+
* @summary Create the commission clawback
|
|
494
|
+
* @param {string} code Unique identifier for the object.
|
|
495
|
+
* @param {CreateCommissionClawbackRequestDto} createCommissionClawbackRequestDto
|
|
496
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
497
|
+
* @param {*} [options] Override http request option.
|
|
498
|
+
* @throws {RequiredError}
|
|
499
|
+
*/
|
|
500
|
+
async createCommissionClawback(code: string, createCommissionClawbackRequestDto: CreateCommissionClawbackRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionClawbackResponseClass>> {
|
|
501
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCommissionClawback(code, createCommissionClawbackRequestDto, authorization, options);
|
|
502
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
503
|
+
},
|
|
385
504
|
/**
|
|
386
505
|
* This will delete commission.
|
|
387
506
|
* @summary Delete the commission
|
|
@@ -425,18 +544,30 @@ export const CommissionsApiFp = function(configuration?: Configuration) {
|
|
|
425
544
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
426
545
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
427
546
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
428
|
-
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
547
|
+
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
429
548
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
430
|
-
* @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
549
|
+
* @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
431
550
|
* @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
432
551
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
433
552
|
* @param {*} [options] Override http request option.
|
|
434
553
|
* @throws {RequiredError}
|
|
435
554
|
*/
|
|
436
|
-
async listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>> {
|
|
555
|
+
async listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>> {
|
|
437
556
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
438
557
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
439
558
|
},
|
|
559
|
+
/**
|
|
560
|
+
* Requests due scheduled commission clawbacks processing by enqueueing a trigger message. The endpoint returns after the message is sent and does not wait for the job to finish.
|
|
561
|
+
* @summary Create the due commission clawbacks trigger
|
|
562
|
+
* @param {TriggerDueCommissionClawbacksRequestDto} triggerDueCommissionClawbacksRequestDto
|
|
563
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
564
|
+
* @param {*} [options] Override http request option.
|
|
565
|
+
* @throws {RequiredError}
|
|
566
|
+
*/
|
|
567
|
+
async triggerDueCommissionClawbacks(triggerDueCommissionClawbacksRequestDto: TriggerDueCommissionClawbacksRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TriggerDueCommissionClawbacksResponseClass>> {
|
|
568
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.triggerDueCommissionClawbacks(triggerDueCommissionClawbacksRequestDto, authorization, options);
|
|
569
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
570
|
+
},
|
|
440
571
|
/**
|
|
441
572
|
* This will update commission.
|
|
442
573
|
* @summary Update the commission
|
|
@@ -471,6 +602,18 @@ export const CommissionsApiFactory = function (configuration?: Configuration, ba
|
|
|
471
602
|
createCommission(createCommissionRequestDto: CreateCommissionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionResponseClass> {
|
|
472
603
|
return localVarFp.createCommission(createCommissionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
473
604
|
},
|
|
605
|
+
/**
|
|
606
|
+
* Creates a manual clawback for one commission.
|
|
607
|
+
* @summary Create the commission clawback
|
|
608
|
+
* @param {string} code Unique identifier for the object.
|
|
609
|
+
* @param {CreateCommissionClawbackRequestDto} createCommissionClawbackRequestDto
|
|
610
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
611
|
+
* @param {*} [options] Override http request option.
|
|
612
|
+
* @throws {RequiredError}
|
|
613
|
+
*/
|
|
614
|
+
createCommissionClawback(code: string, createCommissionClawbackRequestDto: CreateCommissionClawbackRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionClawbackResponseClass> {
|
|
615
|
+
return localVarFp.createCommissionClawback(code, createCommissionClawbackRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
616
|
+
},
|
|
474
617
|
/**
|
|
475
618
|
* This will delete commission.
|
|
476
619
|
* @summary Delete the commission
|
|
@@ -511,17 +654,28 @@ export const CommissionsApiFactory = function (configuration?: Configuration, ba
|
|
|
511
654
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
512
655
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
513
656
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
514
|
-
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
657
|
+
* @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
515
658
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
516
|
-
* @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
659
|
+
* @param {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
517
660
|
* @param {'items' | 'agreement'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
518
661
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
519
662
|
* @param {*} [options] Override http request option.
|
|
520
663
|
* @throws {RequiredError}
|
|
521
664
|
*/
|
|
522
|
-
listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: any): AxiosPromise<ListCommissionsResponseClass> {
|
|
665
|
+
listCommissions(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode', search?: string, order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency', expand?: 'items' | 'agreement', filters?: string, options?: any): AxiosPromise<ListCommissionsResponseClass> {
|
|
523
666
|
return localVarFp.listCommissions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
524
667
|
},
|
|
668
|
+
/**
|
|
669
|
+
* Requests due scheduled commission clawbacks processing by enqueueing a trigger message. The endpoint returns after the message is sent and does not wait for the job to finish.
|
|
670
|
+
* @summary Create the due commission clawbacks trigger
|
|
671
|
+
* @param {TriggerDueCommissionClawbacksRequestDto} triggerDueCommissionClawbacksRequestDto
|
|
672
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
673
|
+
* @param {*} [options] Override http request option.
|
|
674
|
+
* @throws {RequiredError}
|
|
675
|
+
*/
|
|
676
|
+
triggerDueCommissionClawbacks(triggerDueCommissionClawbacksRequestDto: TriggerDueCommissionClawbacksRequestDto, authorization?: string, options?: any): AxiosPromise<TriggerDueCommissionClawbacksResponseClass> {
|
|
677
|
+
return localVarFp.triggerDueCommissionClawbacks(triggerDueCommissionClawbacksRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
678
|
+
},
|
|
525
679
|
/**
|
|
526
680
|
* This will update commission.
|
|
527
681
|
* @summary Update the commission
|
|
@@ -558,6 +712,34 @@ export interface CommissionsApiCreateCommissionRequest {
|
|
|
558
712
|
readonly authorization?: string
|
|
559
713
|
}
|
|
560
714
|
|
|
715
|
+
/**
|
|
716
|
+
* Request parameters for createCommissionClawback operation in CommissionsApi.
|
|
717
|
+
* @export
|
|
718
|
+
* @interface CommissionsApiCreateCommissionClawbackRequest
|
|
719
|
+
*/
|
|
720
|
+
export interface CommissionsApiCreateCommissionClawbackRequest {
|
|
721
|
+
/**
|
|
722
|
+
* Unique identifier for the object.
|
|
723
|
+
* @type {string}
|
|
724
|
+
* @memberof CommissionsApiCreateCommissionClawback
|
|
725
|
+
*/
|
|
726
|
+
readonly code: string
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
*
|
|
730
|
+
* @type {CreateCommissionClawbackRequestDto}
|
|
731
|
+
* @memberof CommissionsApiCreateCommissionClawback
|
|
732
|
+
*/
|
|
733
|
+
readonly createCommissionClawbackRequestDto: CreateCommissionClawbackRequestDto
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
737
|
+
* @type {string}
|
|
738
|
+
* @memberof CommissionsApiCreateCommissionClawback
|
|
739
|
+
*/
|
|
740
|
+
readonly authorization?: string
|
|
741
|
+
}
|
|
742
|
+
|
|
561
743
|
/**
|
|
562
744
|
* Request parameters for deleteCommission operation in CommissionsApi.
|
|
563
745
|
* @export
|
|
@@ -657,10 +839,10 @@ export interface CommissionsApiListCommissionsRequest {
|
|
|
657
839
|
|
|
658
840
|
/**
|
|
659
841
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
660
|
-
* @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'}
|
|
842
|
+
* @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'}
|
|
661
843
|
* @memberof CommissionsApiListCommissions
|
|
662
844
|
*/
|
|
663
|
-
readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'settlementCode'
|
|
845
|
+
readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementNumber' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'openedAt' | 'updatedAt' | 'settlementCode'
|
|
664
846
|
|
|
665
847
|
/**
|
|
666
848
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -671,10 +853,10 @@ export interface CommissionsApiListCommissionsRequest {
|
|
|
671
853
|
|
|
672
854
|
/**
|
|
673
855
|
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
674
|
-
* @type {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
|
|
856
|
+
* @type {'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'}
|
|
675
857
|
* @memberof CommissionsApiListCommissions
|
|
676
858
|
*/
|
|
677
|
-
readonly order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'
|
|
859
|
+
readonly order?: 'commissionAgreementNumber' | 'policyNumber' | 'partnerNumber' | 'createdAt' | 'openedAt' | 'updatedAt' | 'amount' | 'status' | 'agreement.billingFrequency'
|
|
678
860
|
|
|
679
861
|
/**
|
|
680
862
|
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
@@ -691,6 +873,27 @@ export interface CommissionsApiListCommissionsRequest {
|
|
|
691
873
|
readonly filters?: string
|
|
692
874
|
}
|
|
693
875
|
|
|
876
|
+
/**
|
|
877
|
+
* Request parameters for triggerDueCommissionClawbacks operation in CommissionsApi.
|
|
878
|
+
* @export
|
|
879
|
+
* @interface CommissionsApiTriggerDueCommissionClawbacksRequest
|
|
880
|
+
*/
|
|
881
|
+
export interface CommissionsApiTriggerDueCommissionClawbacksRequest {
|
|
882
|
+
/**
|
|
883
|
+
*
|
|
884
|
+
* @type {TriggerDueCommissionClawbacksRequestDto}
|
|
885
|
+
* @memberof CommissionsApiTriggerDueCommissionClawbacks
|
|
886
|
+
*/
|
|
887
|
+
readonly triggerDueCommissionClawbacksRequestDto: TriggerDueCommissionClawbacksRequestDto
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
891
|
+
* @type {string}
|
|
892
|
+
* @memberof CommissionsApiTriggerDueCommissionClawbacks
|
|
893
|
+
*/
|
|
894
|
+
readonly authorization?: string
|
|
895
|
+
}
|
|
896
|
+
|
|
694
897
|
/**
|
|
695
898
|
* Request parameters for updateCommission operation in CommissionsApi.
|
|
696
899
|
* @export
|
|
@@ -738,6 +941,18 @@ export class CommissionsApi extends BaseAPI {
|
|
|
738
941
|
return CommissionsApiFp(this.configuration).createCommission(requestParameters.createCommissionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
739
942
|
}
|
|
740
943
|
|
|
944
|
+
/**
|
|
945
|
+
* Creates a manual clawback for one commission.
|
|
946
|
+
* @summary Create the commission clawback
|
|
947
|
+
* @param {CommissionsApiCreateCommissionClawbackRequest} requestParameters Request parameters.
|
|
948
|
+
* @param {*} [options] Override http request option.
|
|
949
|
+
* @throws {RequiredError}
|
|
950
|
+
* @memberof CommissionsApi
|
|
951
|
+
*/
|
|
952
|
+
public createCommissionClawback(requestParameters: CommissionsApiCreateCommissionClawbackRequest, options?: AxiosRequestConfig) {
|
|
953
|
+
return CommissionsApiFp(this.configuration).createCommissionClawback(requestParameters.code, requestParameters.createCommissionClawbackRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
954
|
+
}
|
|
955
|
+
|
|
741
956
|
/**
|
|
742
957
|
* This will delete commission.
|
|
743
958
|
* @summary Delete the commission
|
|
@@ -786,6 +1001,18 @@ export class CommissionsApi extends BaseAPI {
|
|
|
786
1001
|
return CommissionsApiFp(this.configuration).listCommissions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
787
1002
|
}
|
|
788
1003
|
|
|
1004
|
+
/**
|
|
1005
|
+
* Requests due scheduled commission clawbacks processing by enqueueing a trigger message. The endpoint returns after the message is sent and does not wait for the job to finish.
|
|
1006
|
+
* @summary Create the due commission clawbacks trigger
|
|
1007
|
+
* @param {CommissionsApiTriggerDueCommissionClawbacksRequest} requestParameters Request parameters.
|
|
1008
|
+
* @param {*} [options] Override http request option.
|
|
1009
|
+
* @throws {RequiredError}
|
|
1010
|
+
* @memberof CommissionsApi
|
|
1011
|
+
*/
|
|
1012
|
+
public triggerDueCommissionClawbacks(requestParameters: CommissionsApiTriggerDueCommissionClawbacksRequest, options?: AxiosRequestConfig) {
|
|
1013
|
+
return CommissionsApiFp(this.configuration).triggerDueCommissionClawbacks(requestParameters.triggerDueCommissionClawbacksRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1014
|
+
}
|
|
1015
|
+
|
|
789
1016
|
/**
|
|
790
1017
|
* This will update commission.
|
|
791
1018
|
* @summary Update the commission
|
|
@@ -55,11 +55,11 @@ export declare const CommissionAgreementVersionsApiAxiosParamCreator: (configura
|
|
|
55
55
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
56
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
57
57
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
58
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
58
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
59
59
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
60
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
60
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate, settlementCreationDate</i>
|
|
61
61
|
* @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.<br/> <br/> <i>Allowed values: agreements<i>
|
|
62
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
62
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
@@ -104,11 +104,11 @@ export declare const CommissionAgreementVersionsApiFp: (configuration?: Configur
|
|
|
104
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
105
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
106
106
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
107
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
107
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
108
108
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
109
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
109
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate, settlementCreationDate</i>
|
|
110
110
|
* @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.<br/> <br/> <i>Allowed values: agreements<i>
|
|
111
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
111
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
113
113
|
* @throws {RequiredError}
|
|
114
114
|
*/
|
|
@@ -153,11 +153,11 @@ export declare const CommissionAgreementVersionsApiFactory: (configuration?: Con
|
|
|
153
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
154
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
155
155
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
156
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
156
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
157
157
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
158
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
158
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate, settlementCreationDate</i>
|
|
159
159
|
* @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.<br/> <br/> <i>Allowed values: agreements<i>
|
|
160
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
160
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
161
161
|
* @param {*} [options] Override http request option.
|
|
162
162
|
* @throws {RequiredError}
|
|
163
163
|
*/
|
|
@@ -251,7 +251,7 @@ export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRe
|
|
|
251
251
|
*/
|
|
252
252
|
readonly pageToken?: string;
|
|
253
253
|
/**
|
|
254
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
254
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
255
255
|
* @type {string}
|
|
256
256
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
257
257
|
*/
|
|
@@ -263,7 +263,7 @@ export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRe
|
|
|
263
263
|
*/
|
|
264
264
|
readonly search?: string;
|
|
265
265
|
/**
|
|
266
|
-
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
266
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate, settlementCreationDate</i>
|
|
267
267
|
* @type {string}
|
|
268
268
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
269
269
|
*/
|
|
@@ -275,7 +275,7 @@ export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRe
|
|
|
275
275
|
*/
|
|
276
276
|
readonly expand?: string;
|
|
277
277
|
/**
|
|
278
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
278
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
279
279
|
* @type {string}
|
|
280
280
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
281
281
|
*/
|
|
@@ -249,11 +249,11 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
250
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
251
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
252
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
252
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
253
253
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
254
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
254
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate, settlementCreationDate</i>
|
|
255
255
|
* @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.<br/> <br/> <i>Allowed values: agreements<i>
|
|
256
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
256
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
257
257
|
* @param {*} [options] Override http request option.
|
|
258
258
|
* @throws {RequiredError}
|
|
259
259
|
*/
|
|
@@ -395,11 +395,11 @@ var CommissionAgreementVersionsApiFp = function (configuration) {
|
|
|
395
395
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
396
396
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
397
397
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
398
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
398
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
399
399
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
400
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
400
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate, settlementCreationDate</i>
|
|
401
401
|
* @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.<br/> <br/> <i>Allowed values: agreements<i>
|
|
402
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
402
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
403
403
|
* @param {*} [options] Override http request option.
|
|
404
404
|
* @throws {RequiredError}
|
|
405
405
|
*/
|
|
@@ -466,11 +466,11 @@ var CommissionAgreementVersionsApiFactory = function (configuration, basePath, a
|
|
|
466
466
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
467
467
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
468
468
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
469
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
469
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
470
470
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
471
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
471
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate, settlementCreationDate</i>
|
|
472
472
|
* @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.<br/> <br/> <i>Allowed values: agreements<i>
|
|
473
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
473
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, settlementCreationDate, createdAt</i>
|
|
474
474
|
* @param {*} [options] Override http request option.
|
|
475
475
|
* @throws {RequiredError}
|
|
476
476
|
*/
|