@emilgroup/commission-sdk-node 2.1.1-beta.0 → 2.1.1-beta.10
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 +3 -0
- package/README.md +2 -2
- package/api/commission-agreement-rules-api.ts +90 -0
- package/api/commission-recipients-api.ts +107 -0
- package/dist/api/commission-agreement-rules-api.d.ts +47 -0
- package/dist/api/commission-agreement-rules-api.js +87 -0
- package/dist/api/commission-recipients-api.d.ts +57 -0
- package/dist/api/commission-recipients-api.js +93 -0
- package/dist/models/create-commission-recipient-for-products-request-dto.d.ts +36 -0
- package/dist/models/create-commission-recipient-for-products-request-dto.js +15 -0
- package/dist/models/create-commission-recipient-for-products-response-class.d.ts +25 -0
- package/dist/models/create-commission-recipient-for-products-response-class.js +15 -0
- package/dist/models/get-evaluation-default-data-response-class.d.ts +26 -0
- package/dist/models/get-evaluation-default-data-response-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/models/create-commission-recipient-for-products-request-dto.ts +42 -0
- package/models/create-commission-recipient-for-products-response-class.ts +31 -0
- package/models/get-evaluation-default-data-response-class.ts +30 -0
- package/models/index.ts +3 -0
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -44,6 +44,8 @@ models/create-commission-agreement-version-response-class.ts
|
|
|
44
44
|
models/create-commission-candidate-request-dto.ts
|
|
45
45
|
models/create-commission-candidate-response-class.ts
|
|
46
46
|
models/create-commission-item-request-dto.ts
|
|
47
|
+
models/create-commission-recipient-for-products-request-dto.ts
|
|
48
|
+
models/create-commission-recipient-for-products-response-class.ts
|
|
47
49
|
models/create-commission-recipient-request-dto.ts
|
|
48
50
|
models/create-commission-recipient-response-class.ts
|
|
49
51
|
models/create-commission-request-dto.ts
|
|
@@ -63,6 +65,7 @@ models/get-commission-candidate-response-class.ts
|
|
|
63
65
|
models/get-commission-recipient-response-class.ts
|
|
64
66
|
models/get-commission-response-class.ts
|
|
65
67
|
models/get-commission-settlement-response-class.ts
|
|
68
|
+
models/get-evaluation-default-data-response-class.ts
|
|
66
69
|
models/index.ts
|
|
67
70
|
models/inline-response200.ts
|
|
68
71
|
models/inline-response503.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-node@2.1.1-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk-node@2.1.1-beta.10 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk-node@2.1.1-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk-node@2.1.1-beta.10
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -31,6 +31,8 @@ import { EvaluateCommissionAgreementRuleResponseClass } from '../models';
|
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
import { GetCommissionAgreementRuleResponseClass } from '../models';
|
|
33
33
|
// @ts-ignore
|
|
34
|
+
import { GetEvaluationDefaultDataResponseClass } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
34
36
|
import { ListCommissionAgreementRulesResponseClass } from '../models';
|
|
35
37
|
// @ts-ignore
|
|
36
38
|
import { UpdateCommissionAgreementRuleRequestDto } from '../models';
|
|
@@ -228,6 +230,47 @@ export const CommissionAgreementRulesApiAxiosParamCreator = function (configurat
|
|
|
228
230
|
|
|
229
231
|
|
|
230
232
|
|
|
233
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
236
|
+
|
|
237
|
+
return {
|
|
238
|
+
url: toPathString(localVarUrlObj),
|
|
239
|
+
options: localVarRequestOptions,
|
|
240
|
+
};
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
244
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
245
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
*/
|
|
249
|
+
getEvaluationDefaultData: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
250
|
+
const localVarPath = `/commissionservice/v1/agreement-rules/evaluation-default-data`;
|
|
251
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
252
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
253
|
+
let baseOptions;
|
|
254
|
+
let baseAccessToken;
|
|
255
|
+
if (configuration) {
|
|
256
|
+
baseOptions = configuration.baseOptions;
|
|
257
|
+
baseAccessToken = configuration.accessToken;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
261
|
+
const localVarHeaderParameter = {} as any;
|
|
262
|
+
const localVarQueryParameter = {} as any;
|
|
263
|
+
|
|
264
|
+
// authentication bearer required
|
|
265
|
+
// http bearer authentication required
|
|
266
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
267
|
+
|
|
268
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
269
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
231
274
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
232
275
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
233
276
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -423,6 +466,17 @@ export const CommissionAgreementRulesApiFp = function(configuration?: Configurat
|
|
|
423
466
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCommissionAgreementRule(code, expand, authorization, options);
|
|
424
467
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
425
468
|
},
|
|
469
|
+
/**
|
|
470
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
471
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
472
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
473
|
+
* @param {*} [options] Override http request option.
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
async getEvaluationDefaultData(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvaluationDefaultDataResponseClass>> {
|
|
477
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEvaluationDefaultData(authorization, options);
|
|
478
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
479
|
+
},
|
|
426
480
|
/**
|
|
427
481
|
* Retrieves a list of commission agreement rules.
|
|
428
482
|
* @summary List commission agreement rules
|
|
@@ -509,6 +563,16 @@ export const CommissionAgreementRulesApiFactory = function (configuration?: Conf
|
|
|
509
563
|
getCommissionAgreementRule(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionAgreementRuleResponseClass> {
|
|
510
564
|
return localVarFp.getCommissionAgreementRule(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
511
565
|
},
|
|
566
|
+
/**
|
|
567
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
568
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
569
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
*/
|
|
573
|
+
getEvaluationDefaultData(authorization?: string, options?: any): AxiosPromise<GetEvaluationDefaultDataResponseClass> {
|
|
574
|
+
return localVarFp.getEvaluationDefaultData(authorization, options).then((request) => request(axios, basePath));
|
|
575
|
+
},
|
|
512
576
|
/**
|
|
513
577
|
* Retrieves a list of commission agreement rules.
|
|
514
578
|
* @summary List commission agreement rules
|
|
@@ -632,6 +696,20 @@ export interface CommissionAgreementRulesApiGetCommissionAgreementRuleRequest {
|
|
|
632
696
|
readonly authorization?: string
|
|
633
697
|
}
|
|
634
698
|
|
|
699
|
+
/**
|
|
700
|
+
* Request parameters for getEvaluationDefaultData operation in CommissionAgreementRulesApi.
|
|
701
|
+
* @export
|
|
702
|
+
* @interface CommissionAgreementRulesApiGetEvaluationDefaultDataRequest
|
|
703
|
+
*/
|
|
704
|
+
export interface CommissionAgreementRulesApiGetEvaluationDefaultDataRequest {
|
|
705
|
+
/**
|
|
706
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
707
|
+
* @type {string}
|
|
708
|
+
* @memberof CommissionAgreementRulesApiGetEvaluationDefaultData
|
|
709
|
+
*/
|
|
710
|
+
readonly authorization?: string
|
|
711
|
+
}
|
|
712
|
+
|
|
635
713
|
/**
|
|
636
714
|
* Request parameters for listCommissionAgreementRules operation in CommissionAgreementRulesApi.
|
|
637
715
|
* @export
|
|
@@ -778,6 +856,18 @@ export class CommissionAgreementRulesApi extends BaseAPI {
|
|
|
778
856
|
return CommissionAgreementRulesApiFp(this.configuration).getCommissionAgreementRule(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
779
857
|
}
|
|
780
858
|
|
|
859
|
+
/**
|
|
860
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
861
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
862
|
+
* @param {CommissionAgreementRulesApiGetEvaluationDefaultDataRequest} requestParameters Request parameters.
|
|
863
|
+
* @param {*} [options] Override http request option.
|
|
864
|
+
* @throws {RequiredError}
|
|
865
|
+
* @memberof CommissionAgreementRulesApi
|
|
866
|
+
*/
|
|
867
|
+
public getEvaluationDefaultData(requestParameters: CommissionAgreementRulesApiGetEvaluationDefaultDataRequest = {}, options?: AxiosRequestConfig) {
|
|
868
|
+
return CommissionAgreementRulesApiFp(this.configuration).getEvaluationDefaultData(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
869
|
+
}
|
|
870
|
+
|
|
781
871
|
/**
|
|
782
872
|
* Retrieves a list of commission agreement rules.
|
|
783
873
|
* @summary List commission agreement rules
|
|
@@ -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 { CreateCommissionRecipientForProductsRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateCommissionRecipientForProductsResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
24
28
|
import { CreateCommissionRecipientRequestDto } from '../models';
|
|
25
29
|
// @ts-ignore
|
|
26
30
|
import { CreateCommissionRecipientResponseClass } from '../models';
|
|
@@ -89,6 +93,53 @@ export const CommissionRecipientsApiAxiosParamCreator = function (configuration?
|
|
|
89
93
|
options: localVarRequestOptions,
|
|
90
94
|
};
|
|
91
95
|
},
|
|
96
|
+
/**
|
|
97
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
98
|
+
* @summary Create the commission recipient bulk
|
|
99
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
100
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
createCommissionRecipientWithProducts: async (createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
105
|
+
// verify required parameter 'createCommissionRecipientForProductsRequestDto' is not null or undefined
|
|
106
|
+
assertParamExists('createCommissionRecipientWithProducts', 'createCommissionRecipientForProductsRequestDto', createCommissionRecipientForProductsRequestDto)
|
|
107
|
+
const localVarPath = `/commissionservice/v1/commission-recipients/bulk`;
|
|
108
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
109
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
110
|
+
let baseOptions;
|
|
111
|
+
let baseAccessToken;
|
|
112
|
+
if (configuration) {
|
|
113
|
+
baseOptions = configuration.baseOptions;
|
|
114
|
+
baseAccessToken = configuration.accessToken;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
118
|
+
const localVarHeaderParameter = {} as any;
|
|
119
|
+
const localVarQueryParameter = {} as any;
|
|
120
|
+
|
|
121
|
+
// authentication bearer required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
124
|
+
|
|
125
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
126
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
|
+
|
|
133
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
135
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
136
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createCommissionRecipientForProductsRequestDto, localVarRequestOptions, configuration)
|
|
137
|
+
|
|
138
|
+
return {
|
|
139
|
+
url: toPathString(localVarUrlObj),
|
|
140
|
+
options: localVarRequestOptions,
|
|
141
|
+
};
|
|
142
|
+
},
|
|
92
143
|
/**
|
|
93
144
|
* This will delete commission recipient.
|
|
94
145
|
* @summary Delete the commission recipient
|
|
@@ -335,6 +386,18 @@ export const CommissionRecipientsApiFp = function(configuration?: Configuration)
|
|
|
335
386
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options);
|
|
336
387
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
337
388
|
},
|
|
389
|
+
/**
|
|
390
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
391
|
+
* @summary Create the commission recipient bulk
|
|
392
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
393
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
394
|
+
* @param {*} [options] Override http request option.
|
|
395
|
+
* @throws {RequiredError}
|
|
396
|
+
*/
|
|
397
|
+
async createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionRecipientForProductsResponseClass>> {
|
|
398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto, authorization, options);
|
|
399
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
400
|
+
},
|
|
338
401
|
/**
|
|
339
402
|
* This will delete commission recipient.
|
|
340
403
|
* @summary Delete the commission recipient
|
|
@@ -412,6 +475,17 @@ export const CommissionRecipientsApiFactory = function (configuration?: Configur
|
|
|
412
475
|
createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientResponseClass> {
|
|
413
476
|
return localVarFp.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
414
477
|
},
|
|
478
|
+
/**
|
|
479
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
480
|
+
* @summary Create the commission recipient bulk
|
|
481
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
482
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
483
|
+
* @param {*} [options] Override http request option.
|
|
484
|
+
* @throws {RequiredError}
|
|
485
|
+
*/
|
|
486
|
+
createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientForProductsResponseClass> {
|
|
487
|
+
return localVarFp.createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
488
|
+
},
|
|
415
489
|
/**
|
|
416
490
|
* This will delete commission recipient.
|
|
417
491
|
* @summary Delete the commission recipient
|
|
@@ -488,6 +562,27 @@ export interface CommissionRecipientsApiCreateCommissionRecipientRequest {
|
|
|
488
562
|
readonly authorization?: string
|
|
489
563
|
}
|
|
490
564
|
|
|
565
|
+
/**
|
|
566
|
+
* Request parameters for createCommissionRecipientWithProducts operation in CommissionRecipientsApi.
|
|
567
|
+
* @export
|
|
568
|
+
* @interface CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest
|
|
569
|
+
*/
|
|
570
|
+
export interface CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest {
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @type {CreateCommissionRecipientForProductsRequestDto}
|
|
574
|
+
* @memberof CommissionRecipientsApiCreateCommissionRecipientWithProducts
|
|
575
|
+
*/
|
|
576
|
+
readonly createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
580
|
+
* @type {string}
|
|
581
|
+
* @memberof CommissionRecipientsApiCreateCommissionRecipientWithProducts
|
|
582
|
+
*/
|
|
583
|
+
readonly authorization?: string
|
|
584
|
+
}
|
|
585
|
+
|
|
491
586
|
/**
|
|
492
587
|
* Request parameters for deleteCommissionRecipient operation in CommissionRecipientsApi.
|
|
493
588
|
* @export
|
|
@@ -647,6 +742,18 @@ export class CommissionRecipientsApi extends BaseAPI {
|
|
|
647
742
|
return CommissionRecipientsApiFp(this.configuration).createCommissionRecipient(requestParameters.createCommissionRecipientRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
648
743
|
}
|
|
649
744
|
|
|
745
|
+
/**
|
|
746
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
747
|
+
* @summary Create the commission recipient bulk
|
|
748
|
+
* @param {CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest} requestParameters Request parameters.
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
* @memberof CommissionRecipientsApi
|
|
752
|
+
*/
|
|
753
|
+
public createCommissionRecipientWithProducts(requestParameters: CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest, options?: AxiosRequestConfig) {
|
|
754
|
+
return CommissionRecipientsApiFp(this.configuration).createCommissionRecipientWithProducts(requestParameters.createCommissionRecipientForProductsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
755
|
+
}
|
|
756
|
+
|
|
650
757
|
/**
|
|
651
758
|
* This will delete commission recipient.
|
|
652
759
|
* @summary Delete the commission recipient
|
|
@@ -17,6 +17,7 @@ import { CreateCommissionAgreementRuleResponseClass } from '../models';
|
|
|
17
17
|
import { EvaluateCommissionAgreementRuleRequestDto } from '../models';
|
|
18
18
|
import { EvaluateCommissionAgreementRuleResponseClass } from '../models';
|
|
19
19
|
import { GetCommissionAgreementRuleResponseClass } from '../models';
|
|
20
|
+
import { GetEvaluationDefaultDataResponseClass } from '../models';
|
|
20
21
|
import { ListCommissionAgreementRulesResponseClass } from '../models';
|
|
21
22
|
import { UpdateCommissionAgreementRuleRequestDto } from '../models';
|
|
22
23
|
import { UpdateCommissionAgreementRuleResponseClass } from '../models';
|
|
@@ -62,6 +63,14 @@ export declare const CommissionAgreementRulesApiAxiosParamCreator: (configuratio
|
|
|
62
63
|
* @throws {RequiredError}
|
|
63
64
|
*/
|
|
64
65
|
getCommissionAgreementRule: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
/**
|
|
67
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
68
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
69
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
getEvaluationDefaultData: (authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
74
|
/**
|
|
66
75
|
* Retrieves a list of commission agreement rules.
|
|
67
76
|
* @summary List commission agreement rules
|
|
@@ -130,6 +139,14 @@ export declare const CommissionAgreementRulesApiFp: (configuration?: Configurati
|
|
|
130
139
|
* @throws {RequiredError}
|
|
131
140
|
*/
|
|
132
141
|
getCommissionAgreementRule(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionAgreementRuleResponseClass>>;
|
|
142
|
+
/**
|
|
143
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
144
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
145
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
|
+
* @param {*} [options] Override http request option.
|
|
147
|
+
* @throws {RequiredError}
|
|
148
|
+
*/
|
|
149
|
+
getEvaluationDefaultData(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvaluationDefaultDataResponseClass>>;
|
|
133
150
|
/**
|
|
134
151
|
* Retrieves a list of commission agreement rules.
|
|
135
152
|
* @summary List commission agreement rules
|
|
@@ -198,6 +215,14 @@ export declare const CommissionAgreementRulesApiFactory: (configuration?: Config
|
|
|
198
215
|
* @throws {RequiredError}
|
|
199
216
|
*/
|
|
200
217
|
getCommissionAgreementRule(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionAgreementRuleResponseClass>;
|
|
218
|
+
/**
|
|
219
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
220
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
221
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
222
|
+
* @param {*} [options] Override http request option.
|
|
223
|
+
* @throws {RequiredError}
|
|
224
|
+
*/
|
|
225
|
+
getEvaluationDefaultData(authorization?: string, options?: any): AxiosPromise<GetEvaluationDefaultDataResponseClass>;
|
|
201
226
|
/**
|
|
202
227
|
* Retrieves a list of commission agreement rules.
|
|
203
228
|
* @summary List commission agreement rules
|
|
@@ -306,6 +331,19 @@ export interface CommissionAgreementRulesApiGetCommissionAgreementRuleRequest {
|
|
|
306
331
|
*/
|
|
307
332
|
readonly authorization?: string;
|
|
308
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* Request parameters for getEvaluationDefaultData operation in CommissionAgreementRulesApi.
|
|
336
|
+
* @export
|
|
337
|
+
* @interface CommissionAgreementRulesApiGetEvaluationDefaultDataRequest
|
|
338
|
+
*/
|
|
339
|
+
export interface CommissionAgreementRulesApiGetEvaluationDefaultDataRequest {
|
|
340
|
+
/**
|
|
341
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
342
|
+
* @type {string}
|
|
343
|
+
* @memberof CommissionAgreementRulesApiGetEvaluationDefaultData
|
|
344
|
+
*/
|
|
345
|
+
readonly authorization?: string;
|
|
346
|
+
}
|
|
309
347
|
/**
|
|
310
348
|
* Request parameters for listCommissionAgreementRules operation in CommissionAgreementRulesApi.
|
|
311
349
|
* @export
|
|
@@ -429,6 +467,15 @@ export declare class CommissionAgreementRulesApi extends BaseAPI {
|
|
|
429
467
|
* @memberof CommissionAgreementRulesApi
|
|
430
468
|
*/
|
|
431
469
|
getCommissionAgreementRule(requestParameters: CommissionAgreementRulesApiGetCommissionAgreementRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementRuleResponseClass, any, {}>>;
|
|
470
|
+
/**
|
|
471
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
472
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
473
|
+
* @param {CommissionAgreementRulesApiGetEvaluationDefaultDataRequest} requestParameters Request parameters.
|
|
474
|
+
* @param {*} [options] Override http request option.
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
* @memberof CommissionAgreementRulesApi
|
|
477
|
+
*/
|
|
478
|
+
getEvaluationDefaultData(requestParameters?: CommissionAgreementRulesApiGetEvaluationDefaultDataRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEvaluationDefaultDataResponseClass, any, {}>>;
|
|
432
479
|
/**
|
|
433
480
|
* Retrieves a list of commission agreement rules.
|
|
434
481
|
* @summary List commission agreement rules
|
|
@@ -296,6 +296,50 @@ var CommissionAgreementRulesApiAxiosParamCreator = function (configuration) {
|
|
|
296
296
|
});
|
|
297
297
|
});
|
|
298
298
|
},
|
|
299
|
+
/**
|
|
300
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
301
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
302
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
getEvaluationDefaultData: function (authorization, options) {
|
|
307
|
+
if (options === void 0) { options = {}; }
|
|
308
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
309
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
310
|
+
return __generator(this, function (_a) {
|
|
311
|
+
switch (_a.label) {
|
|
312
|
+
case 0:
|
|
313
|
+
localVarPath = "/commissionservice/v1/agreement-rules/evaluation-default-data";
|
|
314
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
315
|
+
if (configuration) {
|
|
316
|
+
baseOptions = configuration.baseOptions;
|
|
317
|
+
baseAccessToken = configuration.accessToken;
|
|
318
|
+
}
|
|
319
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
320
|
+
localVarHeaderParameter = {};
|
|
321
|
+
localVarQueryParameter = {};
|
|
322
|
+
// authentication bearer required
|
|
323
|
+
// http bearer authentication required
|
|
324
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
325
|
+
case 1:
|
|
326
|
+
// authentication bearer required
|
|
327
|
+
// http bearer authentication required
|
|
328
|
+
_a.sent();
|
|
329
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
330
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
331
|
+
}
|
|
332
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
333
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
334
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
335
|
+
return [2 /*return*/, {
|
|
336
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
337
|
+
options: localVarRequestOptions,
|
|
338
|
+
}];
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
});
|
|
342
|
+
},
|
|
299
343
|
/**
|
|
300
344
|
* Retrieves a list of commission agreement rules.
|
|
301
345
|
* @summary List commission agreement rules
|
|
@@ -516,6 +560,26 @@ var CommissionAgreementRulesApiFp = function (configuration) {
|
|
|
516
560
|
});
|
|
517
561
|
});
|
|
518
562
|
},
|
|
563
|
+
/**
|
|
564
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
565
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
566
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
567
|
+
* @param {*} [options] Override http request option.
|
|
568
|
+
* @throws {RequiredError}
|
|
569
|
+
*/
|
|
570
|
+
getEvaluationDefaultData: function (authorization, options) {
|
|
571
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
572
|
+
var localVarAxiosArgs;
|
|
573
|
+
return __generator(this, function (_a) {
|
|
574
|
+
switch (_a.label) {
|
|
575
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getEvaluationDefaultData(authorization, options)];
|
|
576
|
+
case 1:
|
|
577
|
+
localVarAxiosArgs = _a.sent();
|
|
578
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
});
|
|
582
|
+
},
|
|
519
583
|
/**
|
|
520
584
|
* Retrieves a list of commission agreement rules.
|
|
521
585
|
* @summary List commission agreement rules
|
|
@@ -620,6 +684,16 @@ var CommissionAgreementRulesApiFactory = function (configuration, basePath, axio
|
|
|
620
684
|
getCommissionAgreementRule: function (code, expand, authorization, options) {
|
|
621
685
|
return localVarFp.getCommissionAgreementRule(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
622
686
|
},
|
|
687
|
+
/**
|
|
688
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
689
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
690
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
691
|
+
* @param {*} [options] Override http request option.
|
|
692
|
+
* @throws {RequiredError}
|
|
693
|
+
*/
|
|
694
|
+
getEvaluationDefaultData: function (authorization, options) {
|
|
695
|
+
return localVarFp.getEvaluationDefaultData(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
696
|
+
},
|
|
623
697
|
/**
|
|
624
698
|
* Retrieves a list of commission agreement rules.
|
|
625
699
|
* @summary List commission agreement rules
|
|
@@ -711,6 +785,19 @@ var CommissionAgreementRulesApi = /** @class */ (function (_super) {
|
|
|
711
785
|
var _this = this;
|
|
712
786
|
return (0, exports.CommissionAgreementRulesApiFp)(this.configuration).getCommissionAgreementRule(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
713
787
|
};
|
|
788
|
+
/**
|
|
789
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
790
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
791
|
+
* @param {CommissionAgreementRulesApiGetEvaluationDefaultDataRequest} requestParameters Request parameters.
|
|
792
|
+
* @param {*} [options] Override http request option.
|
|
793
|
+
* @throws {RequiredError}
|
|
794
|
+
* @memberof CommissionAgreementRulesApi
|
|
795
|
+
*/
|
|
796
|
+
CommissionAgreementRulesApi.prototype.getEvaluationDefaultData = function (requestParameters, options) {
|
|
797
|
+
var _this = this;
|
|
798
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
799
|
+
return (0, exports.CommissionAgreementRulesApiFp)(this.configuration).getEvaluationDefaultData(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
800
|
+
};
|
|
714
801
|
/**
|
|
715
802
|
* Retrieves a list of commission agreement rules.
|
|
716
803
|
* @summary List commission agreement rules
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateCommissionRecipientForProductsRequestDto } from '../models';
|
|
16
|
+
import { CreateCommissionRecipientForProductsResponseClass } from '../models';
|
|
15
17
|
import { CreateCommissionRecipientRequestDto } from '../models';
|
|
16
18
|
import { CreateCommissionRecipientResponseClass } from '../models';
|
|
17
19
|
import { GetCommissionRecipientResponseClass } from '../models';
|
|
@@ -32,6 +34,15 @@ export declare const CommissionRecipientsApiAxiosParamCreator: (configuration?:
|
|
|
32
34
|
* @throws {RequiredError}
|
|
33
35
|
*/
|
|
34
36
|
createCommissionRecipient: (createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
|
+
/**
|
|
38
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
39
|
+
* @summary Create the commission recipient bulk
|
|
40
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
41
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
createCommissionRecipientWithProducts: (createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
46
|
/**
|
|
36
47
|
* This will delete commission recipient.
|
|
37
48
|
* @summary Delete the commission recipient
|
|
@@ -91,6 +102,15 @@ export declare const CommissionRecipientsApiFp: (configuration?: Configuration)
|
|
|
91
102
|
* @throws {RequiredError}
|
|
92
103
|
*/
|
|
93
104
|
createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionRecipientResponseClass>>;
|
|
105
|
+
/**
|
|
106
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
107
|
+
* @summary Create the commission recipient bulk
|
|
108
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
109
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionRecipientForProductsResponseClass>>;
|
|
94
114
|
/**
|
|
95
115
|
* This will delete commission recipient.
|
|
96
116
|
* @summary Delete the commission recipient
|
|
@@ -150,6 +170,15 @@ export declare const CommissionRecipientsApiFactory: (configuration?: Configurat
|
|
|
150
170
|
* @throws {RequiredError}
|
|
151
171
|
*/
|
|
152
172
|
createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientResponseClass>;
|
|
173
|
+
/**
|
|
174
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
175
|
+
* @summary Create the commission recipient bulk
|
|
176
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
177
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
178
|
+
* @param {*} [options] Override http request option.
|
|
179
|
+
* @throws {RequiredError}
|
|
180
|
+
*/
|
|
181
|
+
createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientForProductsResponseClass>;
|
|
153
182
|
/**
|
|
154
183
|
* This will delete commission recipient.
|
|
155
184
|
* @summary Delete the commission recipient
|
|
@@ -214,6 +243,25 @@ export interface CommissionRecipientsApiCreateCommissionRecipientRequest {
|
|
|
214
243
|
*/
|
|
215
244
|
readonly authorization?: string;
|
|
216
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* Request parameters for createCommissionRecipientWithProducts operation in CommissionRecipientsApi.
|
|
248
|
+
* @export
|
|
249
|
+
* @interface CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest
|
|
250
|
+
*/
|
|
251
|
+
export interface CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest {
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @type {CreateCommissionRecipientForProductsRequestDto}
|
|
255
|
+
* @memberof CommissionRecipientsApiCreateCommissionRecipientWithProducts
|
|
256
|
+
*/
|
|
257
|
+
readonly createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto;
|
|
258
|
+
/**
|
|
259
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
|
+
* @type {string}
|
|
261
|
+
* @memberof CommissionRecipientsApiCreateCommissionRecipientWithProducts
|
|
262
|
+
*/
|
|
263
|
+
readonly authorization?: string;
|
|
264
|
+
}
|
|
217
265
|
/**
|
|
218
266
|
* Request parameters for deleteCommissionRecipient operation in CommissionRecipientsApi.
|
|
219
267
|
* @export
|
|
@@ -354,6 +402,15 @@ export declare class CommissionRecipientsApi extends BaseAPI {
|
|
|
354
402
|
* @memberof CommissionRecipientsApi
|
|
355
403
|
*/
|
|
356
404
|
createCommissionRecipient(requestParameters: CommissionRecipientsApiCreateCommissionRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionRecipientResponseClass, any, {}>>;
|
|
405
|
+
/**
|
|
406
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
407
|
+
* @summary Create the commission recipient bulk
|
|
408
|
+
* @param {CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest} requestParameters Request parameters.
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
* @memberof CommissionRecipientsApi
|
|
412
|
+
*/
|
|
413
|
+
createCommissionRecipientWithProducts(requestParameters: CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionRecipientForProductsResponseClass, any, {}>>;
|
|
357
414
|
/**
|
|
358
415
|
* This will delete commission recipient.
|
|
359
416
|
* @summary Delete the commission recipient
|
|
@@ -145,6 +145,55 @@ var CommissionRecipientsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
|
+
/**
|
|
149
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
150
|
+
* @summary Create the commission recipient bulk
|
|
151
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
152
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
createCommissionRecipientWithProducts: function (createCommissionRecipientForProductsRequestDto, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
162
|
+
case 0:
|
|
163
|
+
// verify required parameter 'createCommissionRecipientForProductsRequestDto' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('createCommissionRecipientWithProducts', 'createCommissionRecipientForProductsRequestDto', createCommissionRecipientForProductsRequestDto);
|
|
165
|
+
localVarPath = "/commissionservice/v1/commission-recipients/bulk";
|
|
166
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
|
+
if (configuration) {
|
|
168
|
+
baseOptions = configuration.baseOptions;
|
|
169
|
+
baseAccessToken = configuration.accessToken;
|
|
170
|
+
}
|
|
171
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
172
|
+
localVarHeaderParameter = {};
|
|
173
|
+
localVarQueryParameter = {};
|
|
174
|
+
// authentication bearer required
|
|
175
|
+
// http bearer authentication required
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
177
|
+
case 1:
|
|
178
|
+
// authentication bearer required
|
|
179
|
+
// http bearer authentication required
|
|
180
|
+
_a.sent();
|
|
181
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
182
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
183
|
+
}
|
|
184
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
185
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createCommissionRecipientForProductsRequestDto, localVarRequestOptions, configuration);
|
|
189
|
+
return [2 /*return*/, {
|
|
190
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
191
|
+
options: localVarRequestOptions,
|
|
192
|
+
}];
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
},
|
|
148
197
|
/**
|
|
149
198
|
* This will delete commission recipient.
|
|
150
199
|
* @summary Delete the commission recipient
|
|
@@ -403,6 +452,27 @@ var CommissionRecipientsApiFp = function (configuration) {
|
|
|
403
452
|
});
|
|
404
453
|
});
|
|
405
454
|
},
|
|
455
|
+
/**
|
|
456
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
457
|
+
* @summary Create the commission recipient bulk
|
|
458
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
459
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
460
|
+
* @param {*} [options] Override http request option.
|
|
461
|
+
* @throws {RequiredError}
|
|
462
|
+
*/
|
|
463
|
+
createCommissionRecipientWithProducts: function (createCommissionRecipientForProductsRequestDto, authorization, options) {
|
|
464
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
465
|
+
var localVarAxiosArgs;
|
|
466
|
+
return __generator(this, function (_a) {
|
|
467
|
+
switch (_a.label) {
|
|
468
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto, authorization, options)];
|
|
469
|
+
case 1:
|
|
470
|
+
localVarAxiosArgs = _a.sent();
|
|
471
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
472
|
+
}
|
|
473
|
+
});
|
|
474
|
+
});
|
|
475
|
+
},
|
|
406
476
|
/**
|
|
407
477
|
* This will delete commission recipient.
|
|
408
478
|
* @summary Delete the commission recipient
|
|
@@ -516,6 +586,17 @@ var CommissionRecipientsApiFactory = function (configuration, basePath, axios) {
|
|
|
516
586
|
createCommissionRecipient: function (createCommissionRecipientRequestDto, authorization, options) {
|
|
517
587
|
return localVarFp.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
518
588
|
},
|
|
589
|
+
/**
|
|
590
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
591
|
+
* @summary Create the commission recipient bulk
|
|
592
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
593
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
594
|
+
* @param {*} [options] Override http request option.
|
|
595
|
+
* @throws {RequiredError}
|
|
596
|
+
*/
|
|
597
|
+
createCommissionRecipientWithProducts: function (createCommissionRecipientForProductsRequestDto, authorization, options) {
|
|
598
|
+
return localVarFp.createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
599
|
+
},
|
|
519
600
|
/**
|
|
520
601
|
* This will delete commission recipient.
|
|
521
602
|
* @summary Delete the commission recipient
|
|
@@ -594,6 +675,18 @@ var CommissionRecipientsApi = /** @class */ (function (_super) {
|
|
|
594
675
|
var _this = this;
|
|
595
676
|
return (0, exports.CommissionRecipientsApiFp)(this.configuration).createCommissionRecipient(requestParameters.createCommissionRecipientRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
596
677
|
};
|
|
678
|
+
/**
|
|
679
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
680
|
+
* @summary Create the commission recipient bulk
|
|
681
|
+
* @param {CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest} requestParameters Request parameters.
|
|
682
|
+
* @param {*} [options] Override http request option.
|
|
683
|
+
* @throws {RequiredError}
|
|
684
|
+
* @memberof CommissionRecipientsApi
|
|
685
|
+
*/
|
|
686
|
+
CommissionRecipientsApi.prototype.createCommissionRecipientWithProducts = function (requestParameters, options) {
|
|
687
|
+
var _this = this;
|
|
688
|
+
return (0, exports.CommissionRecipientsApiFp)(this.configuration).createCommissionRecipientWithProducts(requestParameters.createCommissionRecipientForProductsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
689
|
+
};
|
|
597
690
|
/**
|
|
598
691
|
* This will delete commission recipient.
|
|
599
692
|
* @summary Delete the commission recipient
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CommissionService
|
|
3
|
+
* The EMIL CommissionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateCommissionRecipientForProductsRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCommissionRecipientForProductsRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* List of commission agreement product codes to create a recipient for
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof CreateCommissionRecipientForProductsRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'commissionAgreementProductCodes': Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Human-readable display name for the commission recipient
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCommissionRecipientForProductsRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'displayName': string;
|
|
30
|
+
/**
|
|
31
|
+
* The unique code or identifier of the partner associated with this commission recipient
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateCommissionRecipientForProductsRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode': string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CommissionService
|
|
6
|
+
* The EMIL CommissionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CommissionService
|
|
3
|
+
* The EMIL CommissionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { CommissionRecipientClass } from './commission-recipient-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCommissionRecipientForProductsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCommissionRecipientForProductsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of commission recipients created, one per commission agreement product code provided
|
|
21
|
+
* @type {Array<CommissionRecipientClass>}
|
|
22
|
+
* @memberof CreateCommissionRecipientForProductsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'recipients': Array<CommissionRecipientClass>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CommissionService
|
|
6
|
+
* The EMIL CommissionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CommissionService
|
|
3
|
+
* The EMIL CommissionService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetEvaluationDefaultDataResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface GetEvaluationDefaultDataResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
20
|
+
* @type {{ [key: string]: object; }}
|
|
21
|
+
* @memberof GetEvaluationDefaultDataResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'data'?: {
|
|
24
|
+
[key: string]: object;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CommissionService
|
|
6
|
+
* The EMIL CommissionService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export * from './create-commission-agreement-version-response-class';
|
|
|
25
25
|
export * from './create-commission-candidate-request-dto';
|
|
26
26
|
export * from './create-commission-candidate-response-class';
|
|
27
27
|
export * from './create-commission-item-request-dto';
|
|
28
|
+
export * from './create-commission-recipient-for-products-request-dto';
|
|
29
|
+
export * from './create-commission-recipient-for-products-response-class';
|
|
28
30
|
export * from './create-commission-recipient-request-dto';
|
|
29
31
|
export * from './create-commission-recipient-response-class';
|
|
30
32
|
export * from './create-commission-request-dto';
|
|
@@ -44,6 +46,7 @@ export * from './get-commission-candidate-response-class';
|
|
|
44
46
|
export * from './get-commission-recipient-response-class';
|
|
45
47
|
export * from './get-commission-response-class';
|
|
46
48
|
export * from './get-commission-settlement-response-class';
|
|
49
|
+
export * from './get-evaluation-default-data-response-class';
|
|
47
50
|
export * from './inline-response200';
|
|
48
51
|
export * from './inline-response503';
|
|
49
52
|
export * from './list-commission-agreement-products-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -41,6 +41,8 @@ __exportStar(require("./create-commission-agreement-version-response-class"), ex
|
|
|
41
41
|
__exportStar(require("./create-commission-candidate-request-dto"), exports);
|
|
42
42
|
__exportStar(require("./create-commission-candidate-response-class"), exports);
|
|
43
43
|
__exportStar(require("./create-commission-item-request-dto"), exports);
|
|
44
|
+
__exportStar(require("./create-commission-recipient-for-products-request-dto"), exports);
|
|
45
|
+
__exportStar(require("./create-commission-recipient-for-products-response-class"), exports);
|
|
44
46
|
__exportStar(require("./create-commission-recipient-request-dto"), exports);
|
|
45
47
|
__exportStar(require("./create-commission-recipient-response-class"), exports);
|
|
46
48
|
__exportStar(require("./create-commission-request-dto"), exports);
|
|
@@ -60,6 +62,7 @@ __exportStar(require("./get-commission-candidate-response-class"), exports);
|
|
|
60
62
|
__exportStar(require("./get-commission-recipient-response-class"), exports);
|
|
61
63
|
__exportStar(require("./get-commission-response-class"), exports);
|
|
62
64
|
__exportStar(require("./get-commission-settlement-response-class"), exports);
|
|
65
|
+
__exportStar(require("./get-evaluation-default-data-response-class"), exports);
|
|
63
66
|
__exportStar(require("./inline-response200"), exports);
|
|
64
67
|
__exportStar(require("./inline-response503"), exports);
|
|
65
68
|
__exportStar(require("./list-commission-agreement-products-response-class"), exports);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateCommissionRecipientForProductsRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCommissionRecipientForProductsRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* List of commission agreement product codes to create a recipient for
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof CreateCommissionRecipientForProductsRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'commissionAgreementProductCodes': Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Human-readable display name for the commission recipient
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateCommissionRecipientForProductsRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'displayName': string;
|
|
35
|
+
/**
|
|
36
|
+
* The unique code or identifier of the partner associated with this commission recipient
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateCommissionRecipientForProductsRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { CommissionRecipientClass } from './commission-recipient-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateCommissionRecipientForProductsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateCommissionRecipientForProductsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of commission recipients created, one per commission agreement product code provided
|
|
26
|
+
* @type {Array<CommissionRecipientClass>}
|
|
27
|
+
* @memberof CreateCommissionRecipientForProductsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'recipients': Array<CommissionRecipientClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GetEvaluationDefaultDataResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface GetEvaluationDefaultDataResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
25
|
+
* @type {{ [key: string]: object; }}
|
|
26
|
+
* @memberof GetEvaluationDefaultDataResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'data'?: { [key: string]: object; };
|
|
29
|
+
}
|
|
30
|
+
|
package/models/index.ts
CHANGED
|
@@ -25,6 +25,8 @@ export * from './create-commission-agreement-version-response-class';
|
|
|
25
25
|
export * from './create-commission-candidate-request-dto';
|
|
26
26
|
export * from './create-commission-candidate-response-class';
|
|
27
27
|
export * from './create-commission-item-request-dto';
|
|
28
|
+
export * from './create-commission-recipient-for-products-request-dto';
|
|
29
|
+
export * from './create-commission-recipient-for-products-response-class';
|
|
28
30
|
export * from './create-commission-recipient-request-dto';
|
|
29
31
|
export * from './create-commission-recipient-response-class';
|
|
30
32
|
export * from './create-commission-request-dto';
|
|
@@ -44,6 +46,7 @@ export * from './get-commission-candidate-response-class';
|
|
|
44
46
|
export * from './get-commission-recipient-response-class';
|
|
45
47
|
export * from './get-commission-response-class';
|
|
46
48
|
export * from './get-commission-settlement-response-class';
|
|
49
|
+
export * from './get-evaluation-default-data-response-class';
|
|
47
50
|
export * from './inline-response200';
|
|
48
51
|
export * from './inline-response503';
|
|
49
52
|
export * from './list-commission-agreement-products-response-class';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/commission-sdk-node",
|
|
3
|
-
"version": "2.1.1-beta.
|
|
3
|
+
"version": "2.1.1-beta.10",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/commission-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"axios": "
|
|
21
|
+
"axios": "1.12.0",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|