@emilgroup/commission-sdk-node 1.0.0-beta.43 → 1.0.0-beta.44
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/commissions-api.ts +21 -17
- package/dist/api/commissions-api.d.ts +10 -9
- package/dist/api/commissions-api.js +15 -14
- package/dist/models/estimate-commissions-request-dto.d.ts +30 -0
- package/dist/models/estimate-commissions-request-dto.js +15 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/estimate-commissions-request-dto.ts +36 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -46,6 +46,7 @@ models/create-commission-request-dto.ts
|
|
|
46
46
|
models/create-commission-response-class.ts
|
|
47
47
|
models/create-commission-settlement-request-dto.ts
|
|
48
48
|
models/create-commission-settlement-response-class.ts
|
|
49
|
+
models/estimate-commissions-request-dto.ts
|
|
49
50
|
models/estimate-commissions-response-class.ts
|
|
50
51
|
models/evaluate-commission-agreement-rule-request-dto.ts
|
|
51
52
|
models/evaluate-commission-agreement-rule-response-class.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@1.0.0-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk-node@1.0.0-beta.44 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk-node@1.0.0-beta.44
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
package/api/commissions-api.ts
CHANGED
|
@@ -25,6 +25,8 @@ import { CreateCommissionRequestDto } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CreateCommissionResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
+
import { EstimateCommissionsRequestDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
28
30
|
import { EstimateCommissionsResponseClass } from '../models';
|
|
29
31
|
// @ts-ignore
|
|
30
32
|
import { GetCommissionResponseClass } from '../models';
|
|
@@ -139,16 +141,15 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
139
141
|
/**
|
|
140
142
|
* This will estimate commissions for a given policy.
|
|
141
143
|
* @summary Retrieve the estimate commissions
|
|
142
|
-
* @param {
|
|
144
|
+
* @param {EstimateCommissionsRequestDto} estimateCommissionsRequestDto
|
|
143
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
146
|
* @param {*} [options] Override http request option.
|
|
145
147
|
* @throws {RequiredError}
|
|
146
148
|
*/
|
|
147
|
-
estimateCommission: async (
|
|
148
|
-
// verify required parameter '
|
|
149
|
-
assertParamExists('estimateCommission', '
|
|
150
|
-
const localVarPath = `/commissionservice/v1/commissions/estimate
|
|
151
|
-
.replace(`{${"policyCode"}}`, encodeURIComponent(String(policyCode)));
|
|
149
|
+
estimateCommission: async (estimateCommissionsRequestDto: EstimateCommissionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
150
|
+
// verify required parameter 'estimateCommissionsRequestDto' is not null or undefined
|
|
151
|
+
assertParamExists('estimateCommission', 'estimateCommissionsRequestDto', estimateCommissionsRequestDto)
|
|
152
|
+
const localVarPath = `/commissionservice/v1/commissions/estimate`;
|
|
152
153
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
153
154
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
154
155
|
let baseOptions;
|
|
@@ -158,7 +159,7 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
158
159
|
baseAccessToken = configuration.accessToken;
|
|
159
160
|
}
|
|
160
161
|
|
|
161
|
-
const localVarRequestOptions = { method: '
|
|
162
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
162
163
|
const localVarHeaderParameter = {} as any;
|
|
163
164
|
const localVarQueryParameter = {} as any;
|
|
164
165
|
|
|
@@ -172,9 +173,12 @@ export const CommissionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
172
173
|
|
|
173
174
|
|
|
174
175
|
|
|
176
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
177
|
+
|
|
175
178
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
176
179
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
177
180
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
181
|
+
localVarRequestOptions.data = serializeDataIfNeeded(estimateCommissionsRequestDto, localVarRequestOptions, configuration)
|
|
178
182
|
|
|
179
183
|
return {
|
|
180
184
|
url: toPathString(localVarUrlObj),
|
|
@@ -397,13 +401,13 @@ export const CommissionsApiFp = function(configuration?: Configuration) {
|
|
|
397
401
|
/**
|
|
398
402
|
* This will estimate commissions for a given policy.
|
|
399
403
|
* @summary Retrieve the estimate commissions
|
|
400
|
-
* @param {
|
|
404
|
+
* @param {EstimateCommissionsRequestDto} estimateCommissionsRequestDto
|
|
401
405
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
402
406
|
* @param {*} [options] Override http request option.
|
|
403
407
|
* @throws {RequiredError}
|
|
404
408
|
*/
|
|
405
|
-
async estimateCommission(
|
|
406
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.estimateCommission(
|
|
409
|
+
async estimateCommission(estimateCommissionsRequestDto: EstimateCommissionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateCommissionsResponseClass>> {
|
|
410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.estimateCommission(estimateCommissionsRequestDto, authorization, options);
|
|
407
411
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
408
412
|
},
|
|
409
413
|
/**
|
|
@@ -485,13 +489,13 @@ export const CommissionsApiFactory = function (configuration?: Configuration, ba
|
|
|
485
489
|
/**
|
|
486
490
|
* This will estimate commissions for a given policy.
|
|
487
491
|
* @summary Retrieve the estimate commissions
|
|
488
|
-
* @param {
|
|
492
|
+
* @param {EstimateCommissionsRequestDto} estimateCommissionsRequestDto
|
|
489
493
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
490
494
|
* @param {*} [options] Override http request option.
|
|
491
495
|
* @throws {RequiredError}
|
|
492
496
|
*/
|
|
493
|
-
estimateCommission(
|
|
494
|
-
return localVarFp.estimateCommission(
|
|
497
|
+
estimateCommission(estimateCommissionsRequestDto: EstimateCommissionsRequestDto, authorization?: string, options?: any): AxiosPromise<EstimateCommissionsResponseClass> {
|
|
498
|
+
return localVarFp.estimateCommission(estimateCommissionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
495
499
|
},
|
|
496
500
|
/**
|
|
497
501
|
* This will get commission.
|
|
@@ -586,11 +590,11 @@ export interface CommissionsApiDeleteCommissionRequest {
|
|
|
586
590
|
*/
|
|
587
591
|
export interface CommissionsApiEstimateCommissionRequest {
|
|
588
592
|
/**
|
|
589
|
-
*
|
|
590
|
-
* @type {
|
|
593
|
+
*
|
|
594
|
+
* @type {EstimateCommissionsRequestDto}
|
|
591
595
|
* @memberof CommissionsApiEstimateCommission
|
|
592
596
|
*/
|
|
593
|
-
readonly
|
|
597
|
+
readonly estimateCommissionsRequestDto: EstimateCommissionsRequestDto
|
|
594
598
|
|
|
595
599
|
/**
|
|
596
600
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -759,7 +763,7 @@ export class CommissionsApi extends BaseAPI {
|
|
|
759
763
|
* @memberof CommissionsApi
|
|
760
764
|
*/
|
|
761
765
|
public estimateCommission(requestParameters: CommissionsApiEstimateCommissionRequest, options?: AxiosRequestConfig) {
|
|
762
|
-
return CommissionsApiFp(this.configuration).estimateCommission(requestParameters.
|
|
766
|
+
return CommissionsApiFp(this.configuration).estimateCommission(requestParameters.estimateCommissionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
763
767
|
}
|
|
764
768
|
|
|
765
769
|
/**
|
|
@@ -14,6 +14,7 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateCommissionRequestDto } from '../models';
|
|
16
16
|
import { CreateCommissionResponseClass } from '../models';
|
|
17
|
+
import { EstimateCommissionsRequestDto } from '../models';
|
|
17
18
|
import { EstimateCommissionsResponseClass } from '../models';
|
|
18
19
|
import { GetCommissionResponseClass } from '../models';
|
|
19
20
|
import { ListCommissionsResponseClass } from '../models';
|
|
@@ -45,12 +46,12 @@ export declare const CommissionsApiAxiosParamCreator: (configuration?: Configura
|
|
|
45
46
|
/**
|
|
46
47
|
* This will estimate commissions for a given policy.
|
|
47
48
|
* @summary Retrieve the estimate commissions
|
|
48
|
-
* @param {
|
|
49
|
+
* @param {EstimateCommissionsRequestDto} estimateCommissionsRequestDto
|
|
49
50
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
51
|
* @param {*} [options] Override http request option.
|
|
51
52
|
* @throws {RequiredError}
|
|
52
53
|
*/
|
|
53
|
-
estimateCommission: (
|
|
54
|
+
estimateCommission: (estimateCommissionsRequestDto: EstimateCommissionsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
55
|
/**
|
|
55
56
|
* This will get commission.
|
|
56
57
|
* @summary Retrieve the commission
|
|
@@ -113,12 +114,12 @@ export declare const CommissionsApiFp: (configuration?: Configuration) => {
|
|
|
113
114
|
/**
|
|
114
115
|
* This will estimate commissions for a given policy.
|
|
115
116
|
* @summary Retrieve the estimate commissions
|
|
116
|
-
* @param {
|
|
117
|
+
* @param {EstimateCommissionsRequestDto} estimateCommissionsRequestDto
|
|
117
118
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
118
119
|
* @param {*} [options] Override http request option.
|
|
119
120
|
* @throws {RequiredError}
|
|
120
121
|
*/
|
|
121
|
-
estimateCommission(
|
|
122
|
+
estimateCommission(estimateCommissionsRequestDto: EstimateCommissionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EstimateCommissionsResponseClass>>;
|
|
122
123
|
/**
|
|
123
124
|
* This will get commission.
|
|
124
125
|
* @summary Retrieve the commission
|
|
@@ -181,12 +182,12 @@ export declare const CommissionsApiFactory: (configuration?: Configuration, base
|
|
|
181
182
|
/**
|
|
182
183
|
* This will estimate commissions for a given policy.
|
|
183
184
|
* @summary Retrieve the estimate commissions
|
|
184
|
-
* @param {
|
|
185
|
+
* @param {EstimateCommissionsRequestDto} estimateCommissionsRequestDto
|
|
185
186
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
187
|
* @param {*} [options] Override http request option.
|
|
187
188
|
* @throws {RequiredError}
|
|
188
189
|
*/
|
|
189
|
-
estimateCommission(
|
|
190
|
+
estimateCommission(estimateCommissionsRequestDto: EstimateCommissionsRequestDto, authorization?: string, options?: any): AxiosPromise<EstimateCommissionsResponseClass>;
|
|
190
191
|
/**
|
|
191
192
|
* This will get commission.
|
|
192
193
|
* @summary Retrieve the commission
|
|
@@ -268,11 +269,11 @@ export interface CommissionsApiDeleteCommissionRequest {
|
|
|
268
269
|
*/
|
|
269
270
|
export interface CommissionsApiEstimateCommissionRequest {
|
|
270
271
|
/**
|
|
271
|
-
*
|
|
272
|
-
* @type {
|
|
272
|
+
*
|
|
273
|
+
* @type {EstimateCommissionsRequestDto}
|
|
273
274
|
* @memberof CommissionsApiEstimateCommission
|
|
274
275
|
*/
|
|
275
|
-
readonly
|
|
276
|
+
readonly estimateCommissionsRequestDto: EstimateCommissionsRequestDto;
|
|
276
277
|
/**
|
|
277
278
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
278
279
|
* @type {string}
|
|
@@ -196,28 +196,27 @@ var CommissionsApiAxiosParamCreator = function (configuration) {
|
|
|
196
196
|
/**
|
|
197
197
|
* This will estimate commissions for a given policy.
|
|
198
198
|
* @summary Retrieve the estimate commissions
|
|
199
|
-
* @param {
|
|
199
|
+
* @param {EstimateCommissionsRequestDto} estimateCommissionsRequestDto
|
|
200
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
201
|
* @param {*} [options] Override http request option.
|
|
202
202
|
* @throws {RequiredError}
|
|
203
203
|
*/
|
|
204
|
-
estimateCommission: function (
|
|
204
|
+
estimateCommission: function (estimateCommissionsRequestDto, authorization, options) {
|
|
205
205
|
if (options === void 0) { options = {}; }
|
|
206
206
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
207
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
208
|
return __generator(this, function (_a) {
|
|
209
209
|
switch (_a.label) {
|
|
210
210
|
case 0:
|
|
211
|
-
// verify required parameter '
|
|
212
|
-
(0, common_1.assertParamExists)('estimateCommission', '
|
|
213
|
-
localVarPath = "/commissionservice/v1/commissions/estimate
|
|
214
|
-
.replace("{".concat("policyCode", "}"), encodeURIComponent(String(policyCode)));
|
|
211
|
+
// verify required parameter 'estimateCommissionsRequestDto' is not null or undefined
|
|
212
|
+
(0, common_1.assertParamExists)('estimateCommission', 'estimateCommissionsRequestDto', estimateCommissionsRequestDto);
|
|
213
|
+
localVarPath = "/commissionservice/v1/commissions/estimate";
|
|
215
214
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
216
215
|
if (configuration) {
|
|
217
216
|
baseOptions = configuration.baseOptions;
|
|
218
217
|
baseAccessToken = configuration.accessToken;
|
|
219
218
|
}
|
|
220
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
219
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
221
220
|
localVarHeaderParameter = {};
|
|
222
221
|
localVarQueryParameter = {};
|
|
223
222
|
// authentication bearer required
|
|
@@ -230,9 +229,11 @@ var CommissionsApiAxiosParamCreator = function (configuration) {
|
|
|
230
229
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
231
230
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
232
231
|
}
|
|
232
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
233
233
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
234
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
235
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
236
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(estimateCommissionsRequestDto, localVarRequestOptions, configuration);
|
|
236
237
|
return [2 /*return*/, {
|
|
237
238
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
238
239
|
options: localVarRequestOptions,
|
|
@@ -475,17 +476,17 @@ var CommissionsApiFp = function (configuration) {
|
|
|
475
476
|
/**
|
|
476
477
|
* This will estimate commissions for a given policy.
|
|
477
478
|
* @summary Retrieve the estimate commissions
|
|
478
|
-
* @param {
|
|
479
|
+
* @param {EstimateCommissionsRequestDto} estimateCommissionsRequestDto
|
|
479
480
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
480
481
|
* @param {*} [options] Override http request option.
|
|
481
482
|
* @throws {RequiredError}
|
|
482
483
|
*/
|
|
483
|
-
estimateCommission: function (
|
|
484
|
+
estimateCommission: function (estimateCommissionsRequestDto, authorization, options) {
|
|
484
485
|
return __awaiter(this, void 0, void 0, function () {
|
|
485
486
|
var localVarAxiosArgs;
|
|
486
487
|
return __generator(this, function (_a) {
|
|
487
488
|
switch (_a.label) {
|
|
488
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.estimateCommission(
|
|
489
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.estimateCommission(estimateCommissionsRequestDto, authorization, options)];
|
|
489
490
|
case 1:
|
|
490
491
|
localVarAxiosArgs = _a.sent();
|
|
491
492
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -599,13 +600,13 @@ var CommissionsApiFactory = function (configuration, basePath, axios) {
|
|
|
599
600
|
/**
|
|
600
601
|
* This will estimate commissions for a given policy.
|
|
601
602
|
* @summary Retrieve the estimate commissions
|
|
602
|
-
* @param {
|
|
603
|
+
* @param {EstimateCommissionsRequestDto} estimateCommissionsRequestDto
|
|
603
604
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
604
605
|
* @param {*} [options] Override http request option.
|
|
605
606
|
* @throws {RequiredError}
|
|
606
607
|
*/
|
|
607
|
-
estimateCommission: function (
|
|
608
|
-
return localVarFp.estimateCommission(
|
|
608
|
+
estimateCommission: function (estimateCommissionsRequestDto, authorization, options) {
|
|
609
|
+
return localVarFp.estimateCommission(estimateCommissionsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
609
610
|
},
|
|
610
611
|
/**
|
|
611
612
|
* This will get commission.
|
|
@@ -696,7 +697,7 @@ var CommissionsApi = /** @class */ (function (_super) {
|
|
|
696
697
|
*/
|
|
697
698
|
CommissionsApi.prototype.estimateCommission = function (requestParameters, options) {
|
|
698
699
|
var _this = this;
|
|
699
|
-
return (0, exports.CommissionsApiFp)(this.configuration).estimateCommission(requestParameters.
|
|
700
|
+
return (0, exports.CommissionsApiFp)(this.configuration).estimateCommission(requestParameters.estimateCommissionsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
700
701
|
};
|
|
701
702
|
/**
|
|
702
703
|
* This will get commission.
|
|
@@ -0,0 +1,30 @@
|
|
|
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 EstimateCommissionsRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface EstimateCommissionsRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The code of the policy to estimate commissions for
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EstimateCommissionsRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'policyCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* The objects of the policy to estimate commissions for
|
|
26
|
+
* @type {Array<object>}
|
|
27
|
+
* @memberof EstimateCommissionsRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'policyObjects': Array<object>;
|
|
30
|
+
}
|
|
@@ -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
|
@@ -28,6 +28,7 @@ export * from './create-commission-request-dto';
|
|
|
28
28
|
export * from './create-commission-response-class';
|
|
29
29
|
export * from './create-commission-settlement-request-dto';
|
|
30
30
|
export * from './create-commission-settlement-response-class';
|
|
31
|
+
export * from './estimate-commissions-request-dto';
|
|
31
32
|
export * from './estimate-commissions-response-class';
|
|
32
33
|
export * from './evaluate-commission-agreement-rule-request-dto';
|
|
33
34
|
export * from './evaluate-commission-agreement-rule-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __exportStar(require("./create-commission-request-dto"), exports);
|
|
|
44
44
|
__exportStar(require("./create-commission-response-class"), exports);
|
|
45
45
|
__exportStar(require("./create-commission-settlement-request-dto"), exports);
|
|
46
46
|
__exportStar(require("./create-commission-settlement-response-class"), exports);
|
|
47
|
+
__exportStar(require("./estimate-commissions-request-dto"), exports);
|
|
47
48
|
__exportStar(require("./estimate-commissions-response-class"), exports);
|
|
48
49
|
__exportStar(require("./evaluate-commission-agreement-rule-request-dto"), exports);
|
|
49
50
|
__exportStar(require("./evaluate-commission-agreement-rule-response-class"), exports);
|
|
@@ -0,0 +1,36 @@
|
|
|
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 EstimateCommissionsRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface EstimateCommissionsRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The code of the policy to estimate commissions for
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof EstimateCommissionsRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'policyCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* The objects of the policy to estimate commissions for
|
|
31
|
+
* @type {Array<object>}
|
|
32
|
+
* @memberof EstimateCommissionsRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'policyObjects': Array<object>;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/index.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './create-commission-request-dto';
|
|
|
28
28
|
export * from './create-commission-response-class';
|
|
29
29
|
export * from './create-commission-settlement-request-dto';
|
|
30
30
|
export * from './create-commission-settlement-response-class';
|
|
31
|
+
export * from './estimate-commissions-request-dto';
|
|
31
32
|
export * from './estimate-commissions-response-class';
|
|
32
33
|
export * from './evaluate-commission-agreement-rule-request-dto';
|
|
33
34
|
export * from './evaluate-commission-agreement-rule-response-class';
|