@emilgroup/commission-sdk 2.10.1-beta.5 → 2.10.1-beta.51
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 +20 -0
- package/README.md +2 -2
- package/api/commission-agreement-rules-api.ts +20 -6
- package/api/commission-agreement-versions-api.ts +12 -12
- package/api/commission-settlements-api.ts +115 -8
- package/api/commissions-api.ts +616 -13
- package/dist/api/commission-agreement-rules-api.d.ts +12 -3
- package/dist/api/commission-agreement-rules-api.js +12 -6
- 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 +65 -8
- package/dist/api/commission-settlements-api.js +96 -3
- package/dist/api/commissions-api.d.ts +356 -13
- package/dist/api/commissions-api.js +456 -6
- package/dist/models/clawback-config-class.d.ts +42 -0
- package/dist/models/clawback-config-class.js +15 -0
- package/dist/models/clawback-config-dto.d.ts +42 -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-agreement-version-config-class.d.ts +32 -0
- package/dist/models/commission-agreement-version-config-class.js +15 -0
- package/dist/models/commission-agreement-version-config-dto.d.ts +32 -0
- package/dist/models/commission-agreement-version-config-dto.js +15 -0
- package/dist/models/commission-candidate-class.d.ts +12 -0
- package/dist/models/commission-class.d.ts +56 -0
- package/dist/models/commission-class.js +8 -0
- package/dist/models/commission-config-dto.d.ts +2 -1
- package/dist/models/commission-config-dto.js +2 -1
- package/dist/models/commission-creation-config-class.d.ts +43 -0
- package/dist/models/commission-creation-config-class.js +20 -0
- package/dist/models/commission-creation-config-dto.d.ts +43 -0
- package/dist/models/commission-creation-config-dto.js +20 -0
- package/dist/models/commission-creation-invoice-config-class.d.ts +24 -0
- package/dist/models/commission-creation-invoice-config-class.js +15 -0
- package/dist/models/commission-creation-invoice-config-dto.d.ts +24 -0
- package/dist/models/commission-creation-invoice-config-dto.js +15 -0
- package/dist/models/commission-creation-renewal-config-class.d.ts +29 -0
- package/dist/models/commission-creation-renewal-config-class.js +20 -0
- package/dist/models/commission-creation-renewal-config-dto.d.ts +29 -0
- package/dist/models/commission-creation-renewal-config-dto.js +20 -0
- package/dist/models/commission-estimate-class.d.ts +2 -1
- package/dist/models/commission-estimate-class.js +2 -1
- package/dist/models/commission-paid-invoice-entry-class.d.ts +115 -0
- package/dist/models/commission-paid-invoice-entry-class.js +22 -0
- 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 +15 -2
- 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 +43 -0
- package/dist/models/create-commission-clawback-response-class.js +21 -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/create-commission-request-dto.d.ts +6 -0
- 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 +20 -0
- package/dist/models/index.js +20 -0
- package/dist/models/list-commission-agreement-versions-response-class.d.ts +10 -10
- package/dist/models/list-commission-agreements-response-class.d.ts +10 -10
- package/dist/models/list-commission-paid-invoice-entries-response-class.d.ts +43 -0
- package/dist/models/list-commission-paid-invoice-entries-response-class.js +15 -0
- package/dist/models/list-scheduled-commission-clawback-triggers-response-class.d.ts +43 -0
- package/dist/models/list-scheduled-commission-clawback-triggers-response-class.js +15 -0
- package/dist/models/scheduled-commission-clawback-trigger-class.d.ts +110 -0
- package/dist/models/scheduled-commission-clawback-trigger-class.js +28 -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-class.ts +48 -0
- package/models/clawback-config-dto.ts +48 -0
- package/models/commission-agreement-version-class.ts +13 -0
- package/models/commission-agreement-version-config-class.ts +38 -0
- package/models/commission-agreement-version-config-dto.ts +38 -0
- package/models/commission-candidate-class.ts +12 -0
- package/models/commission-class.ts +59 -0
- package/models/commission-config-dto.ts +3 -2
- package/models/commission-creation-config-class.ts +52 -0
- package/models/commission-creation-config-dto.ts +52 -0
- package/models/commission-creation-invoice-config-class.ts +30 -0
- package/models/commission-creation-invoice-config-dto.ts +30 -0
- package/models/commission-creation-renewal-config-class.ts +38 -0
- package/models/commission-creation-renewal-config-dto.ts +38 -0
- package/models/commission-estimate-class.ts +3 -2
- package/models/commission-paid-invoice-entry-class.ts +124 -0
- 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 +16 -3
- package/models/create-commission-clawback-request-dto.ts +30 -0
- package/models/create-commission-clawback-response-class.ts +52 -0
- package/models/create-commission-item-request-dto.ts +3 -2
- package/models/create-commission-request-dto.ts +6 -0
- package/models/evaluated-commission-class.ts +3 -2
- package/models/index.ts +20 -0
- package/models/list-commission-agreement-versions-response-class.ts +10 -10
- package/models/list-commission-agreements-response-class.ts +10 -10
- package/models/list-commission-paid-invoice-entries-response-class.ts +49 -0
- package/models/list-scheduled-commission-clawback-triggers-response-class.ts +49 -0
- package/models/scheduled-commission-clawback-trigger-class.ts +120 -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/.openapi-generator/FILES
CHANGED
|
@@ -17,6 +17,8 @@ common.ts
|
|
|
17
17
|
configuration.ts
|
|
18
18
|
git_push.sh
|
|
19
19
|
index.ts
|
|
20
|
+
models/clawback-config-class.ts
|
|
21
|
+
models/clawback-config-dto.ts
|
|
20
22
|
models/commission-agreement-class.ts
|
|
21
23
|
models/commission-agreement-metadata-dto.ts
|
|
22
24
|
models/commission-agreement-metadata-partner-dto.ts
|
|
@@ -25,12 +27,21 @@ models/commission-agreement-rule-class.ts
|
|
|
25
27
|
models/commission-agreement-rule-config-dto.ts
|
|
26
28
|
models/commission-agreement-rule-evaluation-class.ts
|
|
27
29
|
models/commission-agreement-version-class.ts
|
|
30
|
+
models/commission-agreement-version-config-class.ts
|
|
31
|
+
models/commission-agreement-version-config-dto.ts
|
|
28
32
|
models/commission-candidate-class.ts
|
|
29
33
|
models/commission-class.ts
|
|
30
34
|
models/commission-conditions-dto.ts
|
|
31
35
|
models/commission-config-dto.ts
|
|
36
|
+
models/commission-creation-config-class.ts
|
|
37
|
+
models/commission-creation-config-dto.ts
|
|
38
|
+
models/commission-creation-invoice-config-class.ts
|
|
39
|
+
models/commission-creation-invoice-config-dto.ts
|
|
40
|
+
models/commission-creation-renewal-config-class.ts
|
|
41
|
+
models/commission-creation-renewal-config-dto.ts
|
|
32
42
|
models/commission-estimate-class.ts
|
|
33
43
|
models/commission-item-class.ts
|
|
44
|
+
models/commission-paid-invoice-entry-class.ts
|
|
34
45
|
models/commission-recipient-class.ts
|
|
35
46
|
models/commission-settlement-class.ts
|
|
36
47
|
models/create-commission-agreement-product-request-dto.ts
|
|
@@ -43,6 +54,8 @@ models/create-commission-agreement-version-request-dto.ts
|
|
|
43
54
|
models/create-commission-agreement-version-response-class.ts
|
|
44
55
|
models/create-commission-candidate-request-dto.ts
|
|
45
56
|
models/create-commission-candidate-response-class.ts
|
|
57
|
+
models/create-commission-clawback-request-dto.ts
|
|
58
|
+
models/create-commission-clawback-response-class.ts
|
|
46
59
|
models/create-commission-item-request-dto.ts
|
|
47
60
|
models/create-commission-recipient-for-products-request-dto.ts
|
|
48
61
|
models/create-commission-recipient-for-products-response-class.ts
|
|
@@ -74,13 +87,20 @@ models/list-commission-agreement-rules-response-class.ts
|
|
|
74
87
|
models/list-commission-agreement-versions-response-class.ts
|
|
75
88
|
models/list-commission-agreements-response-class.ts
|
|
76
89
|
models/list-commission-candidates-response-class.ts
|
|
90
|
+
models/list-commission-paid-invoice-entries-response-class.ts
|
|
77
91
|
models/list-commission-recipients-response-class.ts
|
|
78
92
|
models/list-commission-settlements-response-class.ts
|
|
79
93
|
models/list-commissions-response-class.ts
|
|
94
|
+
models/list-scheduled-commission-clawback-triggers-response-class.ts
|
|
80
95
|
models/patch-commission-agreement-status-request-dto.ts
|
|
81
96
|
models/patch-commission-agreement-status-response-class.ts
|
|
82
97
|
models/publish-commission-settlements-request-dto.ts
|
|
83
98
|
models/publish-commission-settlements-response-class.ts
|
|
99
|
+
models/scheduled-commission-clawback-trigger-class.ts
|
|
100
|
+
models/trigger-commission-settlement-creation-request-dto.ts
|
|
101
|
+
models/trigger-commission-settlement-creation-response-class.ts
|
|
102
|
+
models/trigger-due-commission-clawbacks-request-dto.ts
|
|
103
|
+
models/trigger-due-commission-clawbacks-response-class.ts
|
|
84
104
|
models/update-commission-agreement-product-request-dto.ts
|
|
85
105
|
models/update-commission-agreement-product-response-class.ts
|
|
86
106
|
models/update-commission-agreement-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/commission-sdk@2.10.1-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk@2.10.1-beta.51 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk@2.10.1-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk@2.10.1-beta.51
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -239,10 +239,11 @@ export const CommissionAgreementRulesApiAxiosParamCreator = function (configurat
|
|
|
239
239
|
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
240
240
|
* @summary Retrieve the commission agreement rule evaluation default data
|
|
241
241
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
242
|
+
* @param {string} [commissionAgreementProductCode] Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
|
|
242
243
|
* @param {*} [options] Override http request option.
|
|
243
244
|
* @throws {RequiredError}
|
|
244
245
|
*/
|
|
245
|
-
getEvaluationDefaultData: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
246
|
+
getEvaluationDefaultData: async (authorization?: string, commissionAgreementProductCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
246
247
|
const localVarPath = `/commissionservice/v1/agreement-rules/evaluation-default-data`;
|
|
247
248
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
248
249
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -261,6 +262,10 @@ export const CommissionAgreementRulesApiAxiosParamCreator = function (configurat
|
|
|
261
262
|
// http bearer authentication required
|
|
262
263
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
263
264
|
|
|
265
|
+
if (commissionAgreementProductCode !== undefined) {
|
|
266
|
+
localVarQueryParameter['commissionAgreementProductCode'] = commissionAgreementProductCode;
|
|
267
|
+
}
|
|
268
|
+
|
|
264
269
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
265
270
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
266
271
|
}
|
|
@@ -466,11 +471,12 @@ export const CommissionAgreementRulesApiFp = function(configuration?: Configurat
|
|
|
466
471
|
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
467
472
|
* @summary Retrieve the commission agreement rule evaluation default data
|
|
468
473
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
474
|
+
* @param {string} [commissionAgreementProductCode] Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
|
|
469
475
|
* @param {*} [options] Override http request option.
|
|
470
476
|
* @throws {RequiredError}
|
|
471
477
|
*/
|
|
472
|
-
async getEvaluationDefaultData(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvaluationDefaultDataResponseClass>> {
|
|
473
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getEvaluationDefaultData(authorization, options);
|
|
478
|
+
async getEvaluationDefaultData(authorization?: string, commissionAgreementProductCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvaluationDefaultDataResponseClass>> {
|
|
479
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEvaluationDefaultData(authorization, commissionAgreementProductCode, options);
|
|
474
480
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
475
481
|
},
|
|
476
482
|
/**
|
|
@@ -563,11 +569,12 @@ export const CommissionAgreementRulesApiFactory = function (configuration?: Conf
|
|
|
563
569
|
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
564
570
|
* @summary Retrieve the commission agreement rule evaluation default data
|
|
565
571
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
572
|
+
* @param {string} [commissionAgreementProductCode] Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
|
|
566
573
|
* @param {*} [options] Override http request option.
|
|
567
574
|
* @throws {RequiredError}
|
|
568
575
|
*/
|
|
569
|
-
getEvaluationDefaultData(authorization?: string, options?: any): AxiosPromise<GetEvaluationDefaultDataResponseClass> {
|
|
570
|
-
return localVarFp.getEvaluationDefaultData(authorization, options).then((request) => request(axios, basePath));
|
|
576
|
+
getEvaluationDefaultData(authorization?: string, commissionAgreementProductCode?: string, options?: any): AxiosPromise<GetEvaluationDefaultDataResponseClass> {
|
|
577
|
+
return localVarFp.getEvaluationDefaultData(authorization, commissionAgreementProductCode, options).then((request) => request(axios, basePath));
|
|
571
578
|
},
|
|
572
579
|
/**
|
|
573
580
|
* Retrieves a list of commission agreement rules.
|
|
@@ -704,6 +711,13 @@ export interface CommissionAgreementRulesApiGetEvaluationDefaultDataRequest {
|
|
|
704
711
|
* @memberof CommissionAgreementRulesApiGetEvaluationDefaultData
|
|
705
712
|
*/
|
|
706
713
|
readonly authorization?: string
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Commission agreement product to derive the available insured object fields from. Omitted, the response contains the generic stub only.
|
|
717
|
+
* @type {string}
|
|
718
|
+
* @memberof CommissionAgreementRulesApiGetEvaluationDefaultData
|
|
719
|
+
*/
|
|
720
|
+
readonly commissionAgreementProductCode?: string
|
|
707
721
|
}
|
|
708
722
|
|
|
709
723
|
/**
|
|
@@ -861,7 +875,7 @@ export class CommissionAgreementRulesApi extends BaseAPI {
|
|
|
861
875
|
* @memberof CommissionAgreementRulesApi
|
|
862
876
|
*/
|
|
863
877
|
public getEvaluationDefaultData(requestParameters: CommissionAgreementRulesApiGetEvaluationDefaultDataRequest = {}, options?: AxiosRequestConfig) {
|
|
864
|
-
return CommissionAgreementRulesApiFp(this.configuration).getEvaluationDefaultData(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
878
|
+
return CommissionAgreementRulesApiFp(this.configuration).getEvaluationDefaultData(requestParameters.authorization, requestParameters.commissionAgreementProductCode, options).then((request) => request(this.axios, this.basePath));
|
|
865
879
|
}
|
|
866
880
|
|
|
867
881
|
/**
|
|
@@ -184,11 +184,11 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
|
|
|
184
184
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
185
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
186
186
|
* @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.
|
|
187
|
-
* @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>
|
|
187
|
+
* @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>
|
|
188
188
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
189
|
-
* @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>
|
|
189
|
+
* @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>
|
|
190
190
|
* @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>
|
|
191
|
-
* @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>
|
|
191
|
+
* @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>
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
*/
|
|
@@ -307,11 +307,11 @@ export const CommissionAgreementVersionsApiFp = function(configuration?: Configu
|
|
|
307
307
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
308
308
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
309
309
|
* @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.
|
|
310
|
-
* @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>
|
|
310
|
+
* @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>
|
|
311
311
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
312
|
-
* @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>
|
|
312
|
+
* @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>
|
|
313
313
|
* @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>
|
|
314
|
-
* @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>
|
|
314
|
+
* @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>
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
|
317
317
|
*/
|
|
@@ -369,11 +369,11 @@ export const CommissionAgreementVersionsApiFactory = function (configuration?: C
|
|
|
369
369
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
370
370
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
371
371
|
* @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.
|
|
372
|
-
* @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>
|
|
372
|
+
* @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>
|
|
373
373
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
374
|
-
* @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>
|
|
374
|
+
* @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>
|
|
375
375
|
* @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>
|
|
376
|
-
* @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>
|
|
376
|
+
* @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>
|
|
377
377
|
* @param {*} [options] Override http request option.
|
|
378
378
|
* @throws {RequiredError}
|
|
379
379
|
*/
|
|
@@ -481,7 +481,7 @@ export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRe
|
|
|
481
481
|
readonly pageToken?: string
|
|
482
482
|
|
|
483
483
|
/**
|
|
484
|
-
* 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>
|
|
484
|
+
* 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>
|
|
485
485
|
* @type {string}
|
|
486
486
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
487
487
|
*/
|
|
@@ -495,7 +495,7 @@ export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRe
|
|
|
495
495
|
readonly search?: string
|
|
496
496
|
|
|
497
497
|
/**
|
|
498
|
-
* 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>
|
|
498
|
+
* 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>
|
|
499
499
|
* @type {string}
|
|
500
500
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
501
501
|
*/
|
|
@@ -509,7 +509,7 @@ export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRe
|
|
|
509
509
|
readonly expand?: string
|
|
510
510
|
|
|
511
511
|
/**
|
|
512
|
-
* 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>
|
|
512
|
+
* 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>
|
|
513
513
|
* @type {string}
|
|
514
514
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
515
515
|
*/
|
|
@@ -33,6 +33,10 @@ import { PublishCommissionSettlementsRequestDto } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { PublishCommissionSettlementsResponseClass } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
|
+
import { TriggerCommissionSettlementCreationRequestDto } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
import { TriggerCommissionSettlementCreationResponseClass } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
36
40
|
import { UpdateCommissionSettlementRequestDto } from '../models';
|
|
37
41
|
// @ts-ignore
|
|
38
42
|
import { UpdateCommissionSettlementResponseClass } from '../models';
|
|
@@ -192,7 +196,7 @@ export const CommissionSettlementsApiAxiosParamCreator = function (configuration
|
|
|
192
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
193
197
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
194
198
|
* @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.
|
|
195
|
-
* @param {'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
199
|
+
* @param {'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'commissions.commissionAgreementCode' | 'commissions.commissionAgreementVersionCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
196
200
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
197
201
|
* @param {'code' | 'settlementNumber' | 'partnerNumber' | 'status' | 'amount' | 'policyCount' | 'createdAt' | 'updatedAt'} [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.
|
|
198
202
|
* @param {'commissions'} [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.
|
|
@@ -200,7 +204,7 @@ export const CommissionSettlementsApiAxiosParamCreator = function (configuration
|
|
|
200
204
|
* @param {*} [options] Override http request option.
|
|
201
205
|
* @throws {RequiredError}
|
|
202
206
|
*/
|
|
203
|
-
listCommissionSettlements: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', search?: string, order?: 'code' | 'settlementNumber' | 'partnerNumber' | 'status' | 'amount' | 'policyCount' | 'createdAt' | 'updatedAt', expand?: 'commissions', filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
207
|
+
listCommissionSettlements: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'commissions.commissionAgreementCode' | 'commissions.commissionAgreementVersionCode', search?: string, order?: 'code' | 'settlementNumber' | 'partnerNumber' | 'status' | 'amount' | 'policyCount' | 'createdAt' | 'updatedAt', expand?: 'commissions', filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
204
208
|
const localVarPath = `/commissionservice/v1/commission-settlements`;
|
|
205
209
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
206
210
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -309,6 +313,53 @@ export const CommissionSettlementsApiAxiosParamCreator = function (configuration
|
|
|
309
313
|
options: localVarRequestOptions,
|
|
310
314
|
};
|
|
311
315
|
},
|
|
316
|
+
/**
|
|
317
|
+
* Triggers the commission settlement creation job.
|
|
318
|
+
* @summary Create the commission settlement creation job
|
|
319
|
+
* @param {TriggerCommissionSettlementCreationRequestDto} triggerCommissionSettlementCreationRequestDto
|
|
320
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
321
|
+
* @param {*} [options] Override http request option.
|
|
322
|
+
* @throws {RequiredError}
|
|
323
|
+
*/
|
|
324
|
+
triggerCommissionSettlementCreation: async (triggerCommissionSettlementCreationRequestDto: TriggerCommissionSettlementCreationRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
325
|
+
// verify required parameter 'triggerCommissionSettlementCreationRequestDto' is not null or undefined
|
|
326
|
+
assertParamExists('triggerCommissionSettlementCreation', 'triggerCommissionSettlementCreationRequestDto', triggerCommissionSettlementCreationRequestDto)
|
|
327
|
+
const localVarPath = `/commissionservice/v1/commission-settlements/commission-settlement-creation/trigger`;
|
|
328
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
329
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
330
|
+
let baseOptions;
|
|
331
|
+
let baseAccessToken;
|
|
332
|
+
if (configuration) {
|
|
333
|
+
baseOptions = configuration.baseOptions;
|
|
334
|
+
baseAccessToken = configuration.accessToken;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
338
|
+
const localVarHeaderParameter = {} as any;
|
|
339
|
+
const localVarQueryParameter = {} as any;
|
|
340
|
+
|
|
341
|
+
// authentication bearer required
|
|
342
|
+
// http bearer authentication required
|
|
343
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
344
|
+
|
|
345
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
346
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
352
|
+
|
|
353
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
354
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
355
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
356
|
+
localVarRequestOptions.data = serializeDataIfNeeded(triggerCommissionSettlementCreationRequestDto, localVarRequestOptions, configuration)
|
|
357
|
+
|
|
358
|
+
return {
|
|
359
|
+
url: toPathString(localVarUrlObj),
|
|
360
|
+
options: localVarRequestOptions,
|
|
361
|
+
};
|
|
362
|
+
},
|
|
312
363
|
/**
|
|
313
364
|
* This will update commission settlement.
|
|
314
365
|
* @summary Update the commission settlement
|
|
@@ -413,7 +464,7 @@ export const CommissionSettlementsApiFp = function(configuration?: Configuration
|
|
|
413
464
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
414
465
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
415
466
|
* @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.
|
|
416
|
-
* @param {'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
467
|
+
* @param {'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'commissions.commissionAgreementCode' | 'commissions.commissionAgreementVersionCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
417
468
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
418
469
|
* @param {'code' | 'settlementNumber' | 'partnerNumber' | 'status' | 'amount' | 'policyCount' | 'createdAt' | 'updatedAt'} [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.
|
|
419
470
|
* @param {'commissions'} [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.
|
|
@@ -421,7 +472,7 @@ export const CommissionSettlementsApiFp = function(configuration?: Configuration
|
|
|
421
472
|
* @param {*} [options] Override http request option.
|
|
422
473
|
* @throws {RequiredError}
|
|
423
474
|
*/
|
|
424
|
-
async listCommissionSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', search?: string, order?: 'code' | 'settlementNumber' | 'partnerNumber' | 'status' | 'amount' | 'policyCount' | 'createdAt' | 'updatedAt', expand?: 'commissions', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionSettlementsResponseClass>> {
|
|
475
|
+
async listCommissionSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'commissions.commissionAgreementCode' | 'commissions.commissionAgreementVersionCode', search?: string, order?: 'code' | 'settlementNumber' | 'partnerNumber' | 'status' | 'amount' | 'policyCount' | 'createdAt' | 'updatedAt', expand?: 'commissions', filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionSettlementsResponseClass>> {
|
|
425
476
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
426
477
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
427
478
|
},
|
|
@@ -437,6 +488,18 @@ export const CommissionSettlementsApiFp = function(configuration?: Configuration
|
|
|
437
488
|
const localVarAxiosArgs = await localVarAxiosParamCreator.publishCommissionSettlements(publishCommissionSettlementsRequestDto, authorization, options);
|
|
438
489
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
439
490
|
},
|
|
491
|
+
/**
|
|
492
|
+
* Triggers the commission settlement creation job.
|
|
493
|
+
* @summary Create the commission settlement creation job
|
|
494
|
+
* @param {TriggerCommissionSettlementCreationRequestDto} triggerCommissionSettlementCreationRequestDto
|
|
495
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
496
|
+
* @param {*} [options] Override http request option.
|
|
497
|
+
* @throws {RequiredError}
|
|
498
|
+
*/
|
|
499
|
+
async triggerCommissionSettlementCreation(triggerCommissionSettlementCreationRequestDto: TriggerCommissionSettlementCreationRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TriggerCommissionSettlementCreationResponseClass>> {
|
|
500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.triggerCommissionSettlementCreation(triggerCommissionSettlementCreationRequestDto, authorization, options);
|
|
501
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
502
|
+
},
|
|
440
503
|
/**
|
|
441
504
|
* This will update commission settlement.
|
|
442
505
|
* @summary Update the commission settlement
|
|
@@ -500,7 +563,7 @@ export const CommissionSettlementsApiFactory = function (configuration?: Configu
|
|
|
500
563
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
501
564
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
502
565
|
* @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.
|
|
503
|
-
* @param {'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
566
|
+
* @param {'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'commissions.commissionAgreementCode' | 'commissions.commissionAgreementVersionCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
504
567
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
505
568
|
* @param {'code' | 'settlementNumber' | 'partnerNumber' | 'status' | 'amount' | 'policyCount' | 'createdAt' | 'updatedAt'} [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.
|
|
506
569
|
* @param {'commissions'} [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.
|
|
@@ -508,7 +571,7 @@ export const CommissionSettlementsApiFactory = function (configuration?: Configu
|
|
|
508
571
|
* @param {*} [options] Override http request option.
|
|
509
572
|
* @throws {RequiredError}
|
|
510
573
|
*/
|
|
511
|
-
listCommissionSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', search?: string, order?: 'code' | 'settlementNumber' | 'partnerNumber' | 'status' | 'amount' | 'policyCount' | 'createdAt' | 'updatedAt', expand?: 'commissions', filters?: string, options?: any): AxiosPromise<ListCommissionSettlementsResponseClass> {
|
|
574
|
+
listCommissionSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'commissions.commissionAgreementCode' | 'commissions.commissionAgreementVersionCode', search?: string, order?: 'code' | 'settlementNumber' | 'partnerNumber' | 'status' | 'amount' | 'policyCount' | 'createdAt' | 'updatedAt', expand?: 'commissions', filters?: string, options?: any): AxiosPromise<ListCommissionSettlementsResponseClass> {
|
|
512
575
|
return localVarFp.listCommissionSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
513
576
|
},
|
|
514
577
|
/**
|
|
@@ -522,6 +585,17 @@ export const CommissionSettlementsApiFactory = function (configuration?: Configu
|
|
|
522
585
|
publishCommissionSettlements(publishCommissionSettlementsRequestDto: PublishCommissionSettlementsRequestDto, authorization?: string, options?: any): AxiosPromise<PublishCommissionSettlementsResponseClass> {
|
|
523
586
|
return localVarFp.publishCommissionSettlements(publishCommissionSettlementsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
524
587
|
},
|
|
588
|
+
/**
|
|
589
|
+
* Triggers the commission settlement creation job.
|
|
590
|
+
* @summary Create the commission settlement creation job
|
|
591
|
+
* @param {TriggerCommissionSettlementCreationRequestDto} triggerCommissionSettlementCreationRequestDto
|
|
592
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
593
|
+
* @param {*} [options] Override http request option.
|
|
594
|
+
* @throws {RequiredError}
|
|
595
|
+
*/
|
|
596
|
+
triggerCommissionSettlementCreation(triggerCommissionSettlementCreationRequestDto: TriggerCommissionSettlementCreationRequestDto, authorization?: string, options?: any): AxiosPromise<TriggerCommissionSettlementCreationResponseClass> {
|
|
597
|
+
return localVarFp.triggerCommissionSettlementCreation(triggerCommissionSettlementCreationRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
598
|
+
},
|
|
525
599
|
/**
|
|
526
600
|
* This will update commission settlement.
|
|
527
601
|
* @summary Update the commission settlement
|
|
@@ -636,10 +710,10 @@ export interface CommissionSettlementsApiListCommissionSettlementsRequest {
|
|
|
636
710
|
|
|
637
711
|
/**
|
|
638
712
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
639
|
-
* @type {'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'}
|
|
713
|
+
* @type {'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'commissions.commissionAgreementCode' | 'commissions.commissionAgreementVersionCode'}
|
|
640
714
|
* @memberof CommissionSettlementsApiListCommissionSettlements
|
|
641
715
|
*/
|
|
642
|
-
readonly filter?: 'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'
|
|
716
|
+
readonly filter?: 'id' | 'code' | 'settlementNumber' | 'status' | 'amount' | 'policyCount' | 'partnerCode' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt' | 'commissions.commissionAgreementCode' | 'commissions.commissionAgreementVersionCode'
|
|
643
717
|
|
|
644
718
|
/**
|
|
645
719
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -691,6 +765,27 @@ export interface CommissionSettlementsApiPublishCommissionSettlementsRequest {
|
|
|
691
765
|
readonly authorization?: string
|
|
692
766
|
}
|
|
693
767
|
|
|
768
|
+
/**
|
|
769
|
+
* Request parameters for triggerCommissionSettlementCreation operation in CommissionSettlementsApi.
|
|
770
|
+
* @export
|
|
771
|
+
* @interface CommissionSettlementsApiTriggerCommissionSettlementCreationRequest
|
|
772
|
+
*/
|
|
773
|
+
export interface CommissionSettlementsApiTriggerCommissionSettlementCreationRequest {
|
|
774
|
+
/**
|
|
775
|
+
*
|
|
776
|
+
* @type {TriggerCommissionSettlementCreationRequestDto}
|
|
777
|
+
* @memberof CommissionSettlementsApiTriggerCommissionSettlementCreation
|
|
778
|
+
*/
|
|
779
|
+
readonly triggerCommissionSettlementCreationRequestDto: TriggerCommissionSettlementCreationRequestDto
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
783
|
+
* @type {string}
|
|
784
|
+
* @memberof CommissionSettlementsApiTriggerCommissionSettlementCreation
|
|
785
|
+
*/
|
|
786
|
+
readonly authorization?: string
|
|
787
|
+
}
|
|
788
|
+
|
|
694
789
|
/**
|
|
695
790
|
* Request parameters for updateCommissionSettlement operation in CommissionSettlementsApi.
|
|
696
791
|
* @export
|
|
@@ -786,6 +881,18 @@ export class CommissionSettlementsApi extends BaseAPI {
|
|
|
786
881
|
return CommissionSettlementsApiFp(this.configuration).publishCommissionSettlements(requestParameters.publishCommissionSettlementsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
787
882
|
}
|
|
788
883
|
|
|
884
|
+
/**
|
|
885
|
+
* Triggers the commission settlement creation job.
|
|
886
|
+
* @summary Create the commission settlement creation job
|
|
887
|
+
* @param {CommissionSettlementsApiTriggerCommissionSettlementCreationRequest} requestParameters Request parameters.
|
|
888
|
+
* @param {*} [options] Override http request option.
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
* @memberof CommissionSettlementsApi
|
|
891
|
+
*/
|
|
892
|
+
public triggerCommissionSettlementCreation(requestParameters: CommissionSettlementsApiTriggerCommissionSettlementCreationRequest, options?: AxiosRequestConfig) {
|
|
893
|
+
return CommissionSettlementsApiFp(this.configuration).triggerCommissionSettlementCreation(requestParameters.triggerCommissionSettlementCreationRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
894
|
+
}
|
|
895
|
+
|
|
789
896
|
/**
|
|
790
897
|
* This will update commission settlement.
|
|
791
898
|
* @summary Update the commission settlement
|