@emilgroup/commission-sdk 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@2.1.1-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk@2.1.1-beta.10 --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.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';
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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",
|
|
3
|
-
"version": "2.1.1-beta.
|
|
3
|
+
"version": "2.1.1-beta.10",
|
|
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
|
|