@emilgroup/commission-sdk 2.1.1-beta.0 → 2.1.1-beta.3
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@2.1.1-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk@2.1.1-beta.3 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk@2.1.1-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk@2.1.1-beta.3
|
|
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';
|
|
@@ -224,6 +226,47 @@ export const CommissionAgreementRulesApiAxiosParamCreator = function (configurat
|
|
|
224
226
|
|
|
225
227
|
|
|
226
228
|
|
|
229
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
230
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
232
|
+
|
|
233
|
+
return {
|
|
234
|
+
url: toPathString(localVarUrlObj),
|
|
235
|
+
options: localVarRequestOptions,
|
|
236
|
+
};
|
|
237
|
+
},
|
|
238
|
+
/**
|
|
239
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
240
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
241
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
getEvaluationDefaultData: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
246
|
+
const localVarPath = `/commissionservice/v1/agreement-rules/evaluation-default-data`;
|
|
247
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
248
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
249
|
+
let baseOptions;
|
|
250
|
+
let baseAccessToken;
|
|
251
|
+
if (configuration) {
|
|
252
|
+
baseOptions = configuration.baseOptions;
|
|
253
|
+
baseAccessToken = configuration.accessToken;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
257
|
+
const localVarHeaderParameter = {} as any;
|
|
258
|
+
const localVarQueryParameter = {} as any;
|
|
259
|
+
|
|
260
|
+
// authentication bearer required
|
|
261
|
+
// http bearer authentication required
|
|
262
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
263
|
+
|
|
264
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
265
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
227
270
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
228
271
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
229
272
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -419,6 +462,17 @@ export const CommissionAgreementRulesApiFp = function(configuration?: Configurat
|
|
|
419
462
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCommissionAgreementRule(code, expand, authorization, options);
|
|
420
463
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
421
464
|
},
|
|
465
|
+
/**
|
|
466
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
467
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
468
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
469
|
+
* @param {*} [options] Override http request option.
|
|
470
|
+
* @throws {RequiredError}
|
|
471
|
+
*/
|
|
472
|
+
async getEvaluationDefaultData(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvaluationDefaultDataResponseClass>> {
|
|
473
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEvaluationDefaultData(authorization, options);
|
|
474
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
475
|
+
},
|
|
422
476
|
/**
|
|
423
477
|
* Retrieves a list of commission agreement rules.
|
|
424
478
|
* @summary List commission agreement rules
|
|
@@ -505,6 +559,16 @@ export const CommissionAgreementRulesApiFactory = function (configuration?: Conf
|
|
|
505
559
|
getCommissionAgreementRule(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionAgreementRuleResponseClass> {
|
|
506
560
|
return localVarFp.getCommissionAgreementRule(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
507
561
|
},
|
|
562
|
+
/**
|
|
563
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
564
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
565
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
566
|
+
* @param {*} [options] Override http request option.
|
|
567
|
+
* @throws {RequiredError}
|
|
568
|
+
*/
|
|
569
|
+
getEvaluationDefaultData(authorization?: string, options?: any): AxiosPromise<GetEvaluationDefaultDataResponseClass> {
|
|
570
|
+
return localVarFp.getEvaluationDefaultData(authorization, options).then((request) => request(axios, basePath));
|
|
571
|
+
},
|
|
508
572
|
/**
|
|
509
573
|
* Retrieves a list of commission agreement rules.
|
|
510
574
|
* @summary List commission agreement rules
|
|
@@ -628,6 +692,20 @@ export interface CommissionAgreementRulesApiGetCommissionAgreementRuleRequest {
|
|
|
628
692
|
readonly authorization?: string
|
|
629
693
|
}
|
|
630
694
|
|
|
695
|
+
/**
|
|
696
|
+
* Request parameters for getEvaluationDefaultData operation in CommissionAgreementRulesApi.
|
|
697
|
+
* @export
|
|
698
|
+
* @interface CommissionAgreementRulesApiGetEvaluationDefaultDataRequest
|
|
699
|
+
*/
|
|
700
|
+
export interface CommissionAgreementRulesApiGetEvaluationDefaultDataRequest {
|
|
701
|
+
/**
|
|
702
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
703
|
+
* @type {string}
|
|
704
|
+
* @memberof CommissionAgreementRulesApiGetEvaluationDefaultData
|
|
705
|
+
*/
|
|
706
|
+
readonly authorization?: string
|
|
707
|
+
}
|
|
708
|
+
|
|
631
709
|
/**
|
|
632
710
|
* Request parameters for listCommissionAgreementRules operation in CommissionAgreementRulesApi.
|
|
633
711
|
* @export
|
|
@@ -774,6 +852,18 @@ export class CommissionAgreementRulesApi extends BaseAPI {
|
|
|
774
852
|
return CommissionAgreementRulesApiFp(this.configuration).getCommissionAgreementRule(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
775
853
|
}
|
|
776
854
|
|
|
855
|
+
/**
|
|
856
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
857
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
858
|
+
* @param {CommissionAgreementRulesApiGetEvaluationDefaultDataRequest} requestParameters Request parameters.
|
|
859
|
+
* @param {*} [options] Override http request option.
|
|
860
|
+
* @throws {RequiredError}
|
|
861
|
+
* @memberof CommissionAgreementRulesApi
|
|
862
|
+
*/
|
|
863
|
+
public getEvaluationDefaultData(requestParameters: CommissionAgreementRulesApiGetEvaluationDefaultDataRequest = {}, options?: AxiosRequestConfig) {
|
|
864
|
+
return CommissionAgreementRulesApiFp(this.configuration).getEvaluationDefaultData(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
865
|
+
}
|
|
866
|
+
|
|
777
867
|
/**
|
|
778
868
|
* Retrieves a list of commission agreement rules.
|
|
779
869
|
* @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';
|
|
@@ -85,6 +89,53 @@ export const CommissionRecipientsApiAxiosParamCreator = function (configuration?
|
|
|
85
89
|
options: localVarRequestOptions,
|
|
86
90
|
};
|
|
87
91
|
},
|
|
92
|
+
/**
|
|
93
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
94
|
+
* @summary Create the commission recipient bulk
|
|
95
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
96
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
createCommissionRecipientWithProducts: async (createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101
|
+
// verify required parameter 'createCommissionRecipientForProductsRequestDto' is not null or undefined
|
|
102
|
+
assertParamExists('createCommissionRecipientWithProducts', 'createCommissionRecipientForProductsRequestDto', createCommissionRecipientForProductsRequestDto)
|
|
103
|
+
const localVarPath = `/commissionservice/v1/commission-recipients/bulk`;
|
|
104
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
106
|
+
let baseOptions;
|
|
107
|
+
let baseAccessToken;
|
|
108
|
+
if (configuration) {
|
|
109
|
+
baseOptions = configuration.baseOptions;
|
|
110
|
+
baseAccessToken = configuration.accessToken;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
114
|
+
const localVarHeaderParameter = {} as any;
|
|
115
|
+
const localVarQueryParameter = {} as any;
|
|
116
|
+
|
|
117
|
+
// authentication bearer required
|
|
118
|
+
// http bearer authentication required
|
|
119
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
120
|
+
|
|
121
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
122
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
128
|
+
|
|
129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
131
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
132
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createCommissionRecipientForProductsRequestDto, localVarRequestOptions, configuration)
|
|
133
|
+
|
|
134
|
+
return {
|
|
135
|
+
url: toPathString(localVarUrlObj),
|
|
136
|
+
options: localVarRequestOptions,
|
|
137
|
+
};
|
|
138
|
+
},
|
|
88
139
|
/**
|
|
89
140
|
* This will delete commission recipient.
|
|
90
141
|
* @summary Delete the commission recipient
|
|
@@ -331,6 +382,18 @@ export const CommissionRecipientsApiFp = function(configuration?: Configuration)
|
|
|
331
382
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options);
|
|
332
383
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
333
384
|
},
|
|
385
|
+
/**
|
|
386
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
387
|
+
* @summary Create the commission recipient bulk
|
|
388
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
389
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
390
|
+
* @param {*} [options] Override http request option.
|
|
391
|
+
* @throws {RequiredError}
|
|
392
|
+
*/
|
|
393
|
+
async createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionRecipientForProductsResponseClass>> {
|
|
394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto, authorization, options);
|
|
395
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
396
|
+
},
|
|
334
397
|
/**
|
|
335
398
|
* This will delete commission recipient.
|
|
336
399
|
* @summary Delete the commission recipient
|
|
@@ -408,6 +471,17 @@ export const CommissionRecipientsApiFactory = function (configuration?: Configur
|
|
|
408
471
|
createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientResponseClass> {
|
|
409
472
|
return localVarFp.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
410
473
|
},
|
|
474
|
+
/**
|
|
475
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
476
|
+
* @summary Create the commission recipient bulk
|
|
477
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
478
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
479
|
+
* @param {*} [options] Override http request option.
|
|
480
|
+
* @throws {RequiredError}
|
|
481
|
+
*/
|
|
482
|
+
createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientForProductsResponseClass> {
|
|
483
|
+
return localVarFp.createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
484
|
+
},
|
|
411
485
|
/**
|
|
412
486
|
* This will delete commission recipient.
|
|
413
487
|
* @summary Delete the commission recipient
|
|
@@ -484,6 +558,27 @@ export interface CommissionRecipientsApiCreateCommissionRecipientRequest {
|
|
|
484
558
|
readonly authorization?: string
|
|
485
559
|
}
|
|
486
560
|
|
|
561
|
+
/**
|
|
562
|
+
* Request parameters for createCommissionRecipientWithProducts operation in CommissionRecipientsApi.
|
|
563
|
+
* @export
|
|
564
|
+
* @interface CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest
|
|
565
|
+
*/
|
|
566
|
+
export interface CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest {
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @type {CreateCommissionRecipientForProductsRequestDto}
|
|
570
|
+
* @memberof CommissionRecipientsApiCreateCommissionRecipientWithProducts
|
|
571
|
+
*/
|
|
572
|
+
readonly createCommissionRecipientForProductsRequestDto: CreateCommissionRecipientForProductsRequestDto
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
576
|
+
* @type {string}
|
|
577
|
+
* @memberof CommissionRecipientsApiCreateCommissionRecipientWithProducts
|
|
578
|
+
*/
|
|
579
|
+
readonly authorization?: string
|
|
580
|
+
}
|
|
581
|
+
|
|
487
582
|
/**
|
|
488
583
|
* Request parameters for deleteCommissionRecipient operation in CommissionRecipientsApi.
|
|
489
584
|
* @export
|
|
@@ -643,6 +738,18 @@ export class CommissionRecipientsApi extends BaseAPI {
|
|
|
643
738
|
return CommissionRecipientsApiFp(this.configuration).createCommissionRecipient(requestParameters.createCommissionRecipientRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
644
739
|
}
|
|
645
740
|
|
|
741
|
+
/**
|
|
742
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
743
|
+
* @summary Create the commission recipient bulk
|
|
744
|
+
* @param {CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest} requestParameters Request parameters.
|
|
745
|
+
* @param {*} [options] Override http request option.
|
|
746
|
+
* @throws {RequiredError}
|
|
747
|
+
* @memberof CommissionRecipientsApi
|
|
748
|
+
*/
|
|
749
|
+
public createCommissionRecipientWithProducts(requestParameters: CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest, options?: AxiosRequestConfig) {
|
|
750
|
+
return CommissionRecipientsApiFp(this.configuration).createCommissionRecipientWithProducts(requestParameters.createCommissionRecipientForProductsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
751
|
+
}
|
|
752
|
+
|
|
646
753
|
/**
|
|
647
754
|
* This will delete commission recipient.
|
|
648
755
|
* @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
|
|
@@ -292,6 +292,50 @@ var CommissionAgreementRulesApiAxiosParamCreator = function (configuration) {
|
|
|
292
292
|
});
|
|
293
293
|
});
|
|
294
294
|
},
|
|
295
|
+
/**
|
|
296
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
297
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
298
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
299
|
+
* @param {*} [options] Override http request option.
|
|
300
|
+
* @throws {RequiredError}
|
|
301
|
+
*/
|
|
302
|
+
getEvaluationDefaultData: function (authorization, options) {
|
|
303
|
+
if (options === void 0) { options = {}; }
|
|
304
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
305
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
306
|
+
return __generator(this, function (_a) {
|
|
307
|
+
switch (_a.label) {
|
|
308
|
+
case 0:
|
|
309
|
+
localVarPath = "/commissionservice/v1/agreement-rules/evaluation-default-data";
|
|
310
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
311
|
+
if (configuration) {
|
|
312
|
+
baseOptions = configuration.baseOptions;
|
|
313
|
+
baseAccessToken = configuration.accessToken;
|
|
314
|
+
}
|
|
315
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
316
|
+
localVarHeaderParameter = {};
|
|
317
|
+
localVarQueryParameter = {};
|
|
318
|
+
// authentication bearer required
|
|
319
|
+
// http bearer authentication required
|
|
320
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
321
|
+
case 1:
|
|
322
|
+
// authentication bearer required
|
|
323
|
+
// http bearer authentication required
|
|
324
|
+
_a.sent();
|
|
325
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
326
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
327
|
+
}
|
|
328
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
329
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
330
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
331
|
+
return [2 /*return*/, {
|
|
332
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
333
|
+
options: localVarRequestOptions,
|
|
334
|
+
}];
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
});
|
|
338
|
+
},
|
|
295
339
|
/**
|
|
296
340
|
* Retrieves a list of commission agreement rules.
|
|
297
341
|
* @summary List commission agreement rules
|
|
@@ -512,6 +556,26 @@ var CommissionAgreementRulesApiFp = function (configuration) {
|
|
|
512
556
|
});
|
|
513
557
|
});
|
|
514
558
|
},
|
|
559
|
+
/**
|
|
560
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
561
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
562
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
563
|
+
* @param {*} [options] Override http request option.
|
|
564
|
+
* @throws {RequiredError}
|
|
565
|
+
*/
|
|
566
|
+
getEvaluationDefaultData: function (authorization, options) {
|
|
567
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
568
|
+
var localVarAxiosArgs;
|
|
569
|
+
return __generator(this, function (_a) {
|
|
570
|
+
switch (_a.label) {
|
|
571
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getEvaluationDefaultData(authorization, options)];
|
|
572
|
+
case 1:
|
|
573
|
+
localVarAxiosArgs = _a.sent();
|
|
574
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
575
|
+
}
|
|
576
|
+
});
|
|
577
|
+
});
|
|
578
|
+
},
|
|
515
579
|
/**
|
|
516
580
|
* Retrieves a list of commission agreement rules.
|
|
517
581
|
* @summary List commission agreement rules
|
|
@@ -616,6 +680,16 @@ var CommissionAgreementRulesApiFactory = function (configuration, basePath, axio
|
|
|
616
680
|
getCommissionAgreementRule: function (code, expand, authorization, options) {
|
|
617
681
|
return localVarFp.getCommissionAgreementRule(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
618
682
|
},
|
|
683
|
+
/**
|
|
684
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
685
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
686
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
687
|
+
* @param {*} [options] Override http request option.
|
|
688
|
+
* @throws {RequiredError}
|
|
689
|
+
*/
|
|
690
|
+
getEvaluationDefaultData: function (authorization, options) {
|
|
691
|
+
return localVarFp.getEvaluationDefaultData(authorization, options).then(function (request) { return request(axios, basePath); });
|
|
692
|
+
},
|
|
619
693
|
/**
|
|
620
694
|
* Retrieves a list of commission agreement rules.
|
|
621
695
|
* @summary List commission agreement rules
|
|
@@ -707,6 +781,19 @@ var CommissionAgreementRulesApi = /** @class */ (function (_super) {
|
|
|
707
781
|
var _this = this;
|
|
708
782
|
return (0, exports.CommissionAgreementRulesApiFp)(this.configuration).getCommissionAgreementRule(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
709
783
|
};
|
|
784
|
+
/**
|
|
785
|
+
* Returns stub policy, invoice, product, and premium for preview evaluation (same shape as evaluate request data).
|
|
786
|
+
* @summary Retrieve the commission agreement rule evaluation default data
|
|
787
|
+
* @param {CommissionAgreementRulesApiGetEvaluationDefaultDataRequest} requestParameters Request parameters.
|
|
788
|
+
* @param {*} [options] Override http request option.
|
|
789
|
+
* @throws {RequiredError}
|
|
790
|
+
* @memberof CommissionAgreementRulesApi
|
|
791
|
+
*/
|
|
792
|
+
CommissionAgreementRulesApi.prototype.getEvaluationDefaultData = function (requestParameters, options) {
|
|
793
|
+
var _this = this;
|
|
794
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
795
|
+
return (0, exports.CommissionAgreementRulesApiFp)(this.configuration).getEvaluationDefaultData(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
796
|
+
};
|
|
710
797
|
/**
|
|
711
798
|
* Retrieves a list of commission agreement rules.
|
|
712
799
|
* @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
|
|
@@ -141,6 +141,55 @@ var CommissionRecipientsApiAxiosParamCreator = function (configuration) {
|
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
|
+
/**
|
|
145
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
146
|
+
* @summary Create the commission recipient bulk
|
|
147
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
148
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
createCommissionRecipientWithProducts: function (createCommissionRecipientForProductsRequestDto, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
+
return __generator(this, function (_a) {
|
|
157
|
+
switch (_a.label) {
|
|
158
|
+
case 0:
|
|
159
|
+
// verify required parameter 'createCommissionRecipientForProductsRequestDto' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('createCommissionRecipientWithProducts', 'createCommissionRecipientForProductsRequestDto', createCommissionRecipientForProductsRequestDto);
|
|
161
|
+
localVarPath = "/commissionservice/v1/commission-recipients/bulk";
|
|
162
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
|
+
if (configuration) {
|
|
164
|
+
baseOptions = configuration.baseOptions;
|
|
165
|
+
baseAccessToken = configuration.accessToken;
|
|
166
|
+
}
|
|
167
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
168
|
+
localVarHeaderParameter = {};
|
|
169
|
+
localVarQueryParameter = {};
|
|
170
|
+
// authentication bearer required
|
|
171
|
+
// http bearer authentication required
|
|
172
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
173
|
+
case 1:
|
|
174
|
+
// authentication bearer required
|
|
175
|
+
// http bearer authentication required
|
|
176
|
+
_a.sent();
|
|
177
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
178
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
179
|
+
}
|
|
180
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
181
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createCommissionRecipientForProductsRequestDto, localVarRequestOptions, configuration);
|
|
185
|
+
return [2 /*return*/, {
|
|
186
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
|
+
options: localVarRequestOptions,
|
|
188
|
+
}];
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
},
|
|
144
193
|
/**
|
|
145
194
|
* This will delete commission recipient.
|
|
146
195
|
* @summary Delete the commission recipient
|
|
@@ -399,6 +448,27 @@ var CommissionRecipientsApiFp = function (configuration) {
|
|
|
399
448
|
});
|
|
400
449
|
});
|
|
401
450
|
},
|
|
451
|
+
/**
|
|
452
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
453
|
+
* @summary Create the commission recipient bulk
|
|
454
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
455
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
456
|
+
* @param {*} [options] Override http request option.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
*/
|
|
459
|
+
createCommissionRecipientWithProducts: function (createCommissionRecipientForProductsRequestDto, authorization, options) {
|
|
460
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
461
|
+
var localVarAxiosArgs;
|
|
462
|
+
return __generator(this, function (_a) {
|
|
463
|
+
switch (_a.label) {
|
|
464
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto, authorization, options)];
|
|
465
|
+
case 1:
|
|
466
|
+
localVarAxiosArgs = _a.sent();
|
|
467
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
468
|
+
}
|
|
469
|
+
});
|
|
470
|
+
});
|
|
471
|
+
},
|
|
402
472
|
/**
|
|
403
473
|
* This will delete commission recipient.
|
|
404
474
|
* @summary Delete the commission recipient
|
|
@@ -512,6 +582,17 @@ var CommissionRecipientsApiFactory = function (configuration, basePath, axios) {
|
|
|
512
582
|
createCommissionRecipient: function (createCommissionRecipientRequestDto, authorization, options) {
|
|
513
583
|
return localVarFp.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
514
584
|
},
|
|
585
|
+
/**
|
|
586
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
587
|
+
* @summary Create the commission recipient bulk
|
|
588
|
+
* @param {CreateCommissionRecipientForProductsRequestDto} createCommissionRecipientForProductsRequestDto
|
|
589
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
590
|
+
* @param {*} [options] Override http request option.
|
|
591
|
+
* @throws {RequiredError}
|
|
592
|
+
*/
|
|
593
|
+
createCommissionRecipientWithProducts: function (createCommissionRecipientForProductsRequestDto, authorization, options) {
|
|
594
|
+
return localVarFp.createCommissionRecipientWithProducts(createCommissionRecipientForProductsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
595
|
+
},
|
|
515
596
|
/**
|
|
516
597
|
* This will delete commission recipient.
|
|
517
598
|
* @summary Delete the commission recipient
|
|
@@ -590,6 +671,18 @@ var CommissionRecipientsApi = /** @class */ (function (_super) {
|
|
|
590
671
|
var _this = this;
|
|
591
672
|
return (0, exports.CommissionRecipientsApiFp)(this.configuration).createCommissionRecipient(requestParameters.createCommissionRecipientRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
592
673
|
};
|
|
674
|
+
/**
|
|
675
|
+
* This will create a list of commission recipients, one per commission agreement product code provided
|
|
676
|
+
* @summary Create the commission recipient bulk
|
|
677
|
+
* @param {CommissionRecipientsApiCreateCommissionRecipientWithProductsRequest} requestParameters Request parameters.
|
|
678
|
+
* @param {*} [options] Override http request option.
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
* @memberof CommissionRecipientsApi
|
|
681
|
+
*/
|
|
682
|
+
CommissionRecipientsApi.prototype.createCommissionRecipientWithProducts = function (requestParameters, options) {
|
|
683
|
+
var _this = this;
|
|
684
|
+
return (0, exports.CommissionRecipientsApiFp)(this.configuration).createCommissionRecipientWithProducts(requestParameters.createCommissionRecipientForProductsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
685
|
+
};
|
|
593
686
|
/**
|
|
594
687
|
* This will delete commission recipient.
|
|
595
688
|
* @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",
|
|
3
|
-
"version": "2.1.1-beta.
|
|
3
|
+
"version": "2.1.1-beta.3",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/commission-sdk",
|
|
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
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
|