@emilgroup/commission-sdk-node 2.1.1-beta.1 → 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 +1 -0
- package/README.md +2 -2
- package/api/commission-agreement-rules-api.ts +90 -0
- package/dist/api/commission-agreement-rules-api.d.ts +47 -0
- package/dist/api/commission-agreement-rules-api.js +87 -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 +1 -0
- package/dist/models/index.js +1 -0
- package/models/get-evaluation-default-data-response-class.ts +30 -0
- package/models/index.ts +1 -0
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -65,6 +65,7 @@ models/get-commission-candidate-response-class.ts
|
|
|
65
65
|
models/get-commission-recipient-response-class.ts
|
|
66
66
|
models/get-commission-response-class.ts
|
|
67
67
|
models/get-commission-settlement-response-class.ts
|
|
68
|
+
models/get-evaluation-default-data-response-class.ts
|
|
68
69
|
models/index.ts
|
|
69
70
|
models/inline-response200.ts
|
|
70
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
|
|
@@ -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
|
|
@@ -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
|
@@ -46,6 +46,7 @@ export * from './get-commission-candidate-response-class';
|
|
|
46
46
|
export * from './get-commission-recipient-response-class';
|
|
47
47
|
export * from './get-commission-response-class';
|
|
48
48
|
export * from './get-commission-settlement-response-class';
|
|
49
|
+
export * from './get-evaluation-default-data-response-class';
|
|
49
50
|
export * from './inline-response200';
|
|
50
51
|
export * from './inline-response503';
|
|
51
52
|
export * from './list-commission-agreement-products-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -62,6 +62,7 @@ __exportStar(require("./get-commission-candidate-response-class"), exports);
|
|
|
62
62
|
__exportStar(require("./get-commission-recipient-response-class"), exports);
|
|
63
63
|
__exportStar(require("./get-commission-response-class"), exports);
|
|
64
64
|
__exportStar(require("./get-commission-settlement-response-class"), exports);
|
|
65
|
+
__exportStar(require("./get-evaluation-default-data-response-class"), exports);
|
|
65
66
|
__exportStar(require("./inline-response200"), exports);
|
|
66
67
|
__exportStar(require("./inline-response503"), exports);
|
|
67
68
|
__exportStar(require("./list-commission-agreement-products-response-class"), exports);
|
|
@@ -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
|
@@ -46,6 +46,7 @@ export * from './get-commission-candidate-response-class';
|
|
|
46
46
|
export * from './get-commission-recipient-response-class';
|
|
47
47
|
export * from './get-commission-response-class';
|
|
48
48
|
export * from './get-commission-settlement-response-class';
|
|
49
|
+
export * from './get-evaluation-default-data-response-class';
|
|
49
50
|
export * from './inline-response200';
|
|
50
51
|
export * from './inline-response503';
|
|
51
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
|
},
|