@emilgroup/insurance-sdk-node 1.104.1-beta.11 → 1.104.1-beta.111
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 +5 -2
- package/README.md +2 -2
- package/api/booking-funnel-versions-api.ts +8 -4
- package/api/booking-funnels-api.ts +24 -12
- package/api/commission-agreement-items-api.ts +20 -10
- package/api/commission-agreement-products-api.ts +20 -10
- package/api/commission-agreement-versions-api.ts +16 -8
- package/api/commission-agreements-api.ts +20 -10
- package/api/commission-recipients-api.ts +20 -10
- package/api/emil-functions-api.ts +44 -22
- package/api/health-check-api.ts +6 -10
- package/api/insured-object-types-api.ts +4 -2
- package/api/insured-objects-api.ts +16 -8
- package/api/lead-statuses-api.ts +20 -10
- package/api/lead-versions-api.ts +8 -4
- package/api/leads-api.ts +44 -24
- package/api/named-ranges-api.ts +24 -12
- package/api/partner-links-api.ts +24 -12
- package/api/partner-roles-api.ts +20 -10
- package/api/policies-api.ts +100 -66
- package/api/premium-calculation-api.ts +171 -0
- package/api/premium-formulas-api.ts +24 -12
- package/api/product-configs-api.ts +24 -12
- package/api/product-factors-api.ts +28 -14
- package/api/product-fields-api.ts +28 -14
- package/api/product-versions-api.ts +8 -4
- package/api/products-api.ts +24 -12
- package/api/status-transition-rules-api.ts +24 -12
- package/api.ts +2 -0
- package/common.ts +3 -2
- package/dist/api/booking-funnel-versions-api.d.ts +2 -2
- package/dist/api/booking-funnel-versions-api.js +11 -7
- package/dist/api/booking-funnels-api.d.ts +6 -6
- package/dist/api/booking-funnels-api.js +39 -23
- package/dist/api/commission-agreement-items-api.d.ts +5 -5
- package/dist/api/commission-agreement-items-api.js +29 -18
- package/dist/api/commission-agreement-products-api.d.ts +5 -5
- package/dist/api/commission-agreement-products-api.js +29 -18
- package/dist/api/commission-agreement-versions-api.d.ts +4 -4
- package/dist/api/commission-agreement-versions-api.js +22 -14
- package/dist/api/commission-agreements-api.d.ts +5 -5
- package/dist/api/commission-agreements-api.js +29 -18
- package/dist/api/commission-recipients-api.d.ts +5 -5
- package/dist/api/commission-recipients-api.js +32 -19
- package/dist/api/emil-functions-api.d.ts +11 -11
- package/dist/api/emil-functions-api.js +74 -43
- package/dist/api/health-check-api.d.ts +7 -8
- package/dist/api/health-check-api.js +4 -4
- package/dist/api/insured-object-types-api.d.ts +1 -1
- package/dist/api/insured-object-types-api.js +4 -3
- package/dist/api/insured-objects-api.d.ts +4 -4
- package/dist/api/insured-objects-api.js +22 -14
- package/dist/api/lead-statuses-api.d.ts +5 -5
- package/dist/api/lead-statuses-api.js +32 -19
- package/dist/api/lead-versions-api.d.ts +2 -2
- package/dist/api/lead-versions-api.js +11 -7
- package/dist/api/leads-api.d.ts +14 -14
- package/dist/api/leads-api.js +67 -41
- package/dist/api/named-ranges-api.d.ts +6 -6
- package/dist/api/named-ranges-api.js +36 -22
- package/dist/api/partner-links-api.d.ts +6 -6
- package/dist/api/partner-links-api.js +36 -22
- package/dist/api/partner-roles-api.d.ts +5 -5
- package/dist/api/partner-roles-api.js +32 -19
- package/dist/api/policies-api.d.ts +49 -49
- package/dist/api/policies-api.js +129 -90
- package/dist/api/premium-calculation-api.d.ts +97 -0
- package/dist/api/premium-calculation-api.js +231 -0
- package/dist/api/premium-formulas-api.d.ts +6 -6
- package/dist/api/premium-formulas-api.js +39 -23
- package/dist/api/product-configs-api.d.ts +6 -6
- package/dist/api/product-configs-api.js +39 -23
- package/dist/api/product-factors-api.d.ts +7 -7
- package/dist/api/product-factors-api.js +37 -24
- package/dist/api/product-fields-api.d.ts +7 -7
- package/dist/api/product-fields-api.js +43 -26
- package/dist/api/product-versions-api.d.ts +2 -2
- package/dist/api/product-versions-api.js +11 -7
- package/dist/api/products-api.d.ts +6 -6
- package/dist/api/products-api.js +33 -21
- package/dist/api/status-transition-rules-api.d.ts +6 -6
- package/dist/api/status-transition-rules-api.js +36 -22
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/models/calculate-premium-response-class.d.ts +39 -0
- package/dist/models/calculated-policy-objects-class.d.ts +25 -0
- package/dist/models/claim-config-class.d.ts +7 -0
- package/dist/models/create-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/create-premium-formula-request-dto.d.ts +6 -0
- package/dist/models/create-product-request-dto.d.ts +12 -0
- package/dist/models/create-product-version-request-dto.d.ts +6 -0
- package/dist/models/get-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +4 -2
- package/dist/models/index.js +4 -2
- package/dist/models/partner-class.d.ts +6 -0
- package/dist/models/patch-draft-policy-request-dto.d.ts +2 -2
- package/dist/models/policy-object-dto.d.ts +1 -1
- package/dist/models/policy-premium-item-class.d.ts +1 -1
- package/dist/models/premium-formula-class.d.ts +6 -0
- package/dist/models/regulation-subtype-class.d.ts +30 -0
- package/dist/models/regulation-subtype-class.js +15 -0
- package/dist/models/regulation-subtypes-class.d.ts +37 -0
- package/dist/models/regulation-subtypes-class.js +15 -0
- package/models/calculate-premium-response-class.ts +45 -0
- package/models/calculated-policy-objects-class.ts +31 -0
- package/models/claim-config-class.ts +7 -0
- package/models/create-draft-policy-request-dto.ts +1 -1
- package/models/create-premium-formula-request-dto.ts +6 -0
- package/models/create-product-request-dto.ts +12 -0
- package/models/create-product-version-request-dto.ts +6 -0
- package/models/get-draft-policy-request-dto.ts +1 -1
- package/models/index.ts +4 -2
- package/models/partner-class.ts +6 -0
- package/models/patch-draft-policy-request-dto.ts +2 -2
- package/models/policy-object-dto.ts +1 -1
- package/models/policy-premium-item-class.ts +1 -1
- package/models/premium-formula-class.ts +6 -0
- package/models/regulation-subtype-class.ts +36 -0
- package/models/regulation-subtypes-class.ts +43 -0
- package/package.json +2 -2
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response503.d.ts +0 -54
- package/models/inline-response200.ts +0 -48
- package/models/inline-response503.ts +0 -48
- /package/dist/models/{inline-response200.js → calculate-premium-response-class.js} +0 -0
- /package/dist/models/{inline-response503.js → calculated-policy-objects-class.js} +0 -0
|
@@ -107,7 +107,7 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
createStatusTransitionRule: function (createStatusTransitionRuleRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
110
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
@@ -124,13 +124,16 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -156,7 +159,7 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
156
159
|
deleteStatusTransitionRule: function (code, authorization, options) {
|
|
157
160
|
if (options === void 0) { options = {}; }
|
|
158
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
160
163
|
return __generator(this, function (_a) {
|
|
161
164
|
switch (_a.label) {
|
|
162
165
|
case 0:
|
|
@@ -174,13 +177,16 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
174
177
|
localVarQueryParameter = {};
|
|
175
178
|
// authentication bearer required
|
|
176
179
|
// http bearer authentication required
|
|
177
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
181
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
182
|
+
];
|
|
178
183
|
case 1:
|
|
179
184
|
// authentication bearer required
|
|
180
185
|
// http bearer authentication required
|
|
181
186
|
_a.sent();
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
188
|
+
if (authorizationValue) {
|
|
189
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
184
190
|
}
|
|
185
191
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
192
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -205,7 +211,7 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
205
211
|
getStatusTransitionRule: function (code, authorization, expand, options) {
|
|
206
212
|
if (options === void 0) { options = {}; }
|
|
207
213
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
214
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
209
215
|
return __generator(this, function (_a) {
|
|
210
216
|
switch (_a.label) {
|
|
211
217
|
case 0:
|
|
@@ -231,8 +237,9 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
231
237
|
if (expand !== undefined) {
|
|
232
238
|
localVarQueryParameter['expand'] = expand;
|
|
233
239
|
}
|
|
234
|
-
|
|
235
|
-
|
|
240
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
241
|
+
if (authorizationValue) {
|
|
242
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
236
243
|
}
|
|
237
244
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
238
245
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -262,7 +269,7 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
262
269
|
listStatusTransitionRules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
263
270
|
if (options === void 0) { options = {}; }
|
|
264
271
|
return __awaiter(_this, void 0, void 0, function () {
|
|
265
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
272
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
266
273
|
return __generator(this, function (_a) {
|
|
267
274
|
switch (_a.label) {
|
|
268
275
|
case 0:
|
|
@@ -303,8 +310,9 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
303
310
|
if (filters !== undefined) {
|
|
304
311
|
localVarQueryParameter['filters'] = filters;
|
|
305
312
|
}
|
|
306
|
-
|
|
307
|
-
|
|
313
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
314
|
+
if (authorizationValue) {
|
|
315
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
308
316
|
}
|
|
309
317
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
310
318
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -329,7 +337,7 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
329
337
|
patchStatusTransitionRule: function (code, patchStatusTransitionRuleRequestDto, authorization, options) {
|
|
330
338
|
if (options === void 0) { options = {}; }
|
|
331
339
|
return __awaiter(_this, void 0, void 0, function () {
|
|
332
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
340
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
333
341
|
return __generator(this, function (_a) {
|
|
334
342
|
switch (_a.label) {
|
|
335
343
|
case 0:
|
|
@@ -349,13 +357,16 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
349
357
|
localVarQueryParameter = {};
|
|
350
358
|
// authentication bearer required
|
|
351
359
|
// http bearer authentication required
|
|
352
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
360
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
361
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
362
|
+
];
|
|
353
363
|
case 1:
|
|
354
364
|
// authentication bearer required
|
|
355
365
|
// http bearer authentication required
|
|
356
366
|
_a.sent();
|
|
357
|
-
|
|
358
|
-
|
|
367
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
368
|
+
if (authorizationValue) {
|
|
369
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
359
370
|
}
|
|
360
371
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
361
372
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -382,7 +393,7 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
382
393
|
updateStatusTransitionRule: function (code, updateStatusTransitionRuleRequestDto, authorization, options) {
|
|
383
394
|
if (options === void 0) { options = {}; }
|
|
384
395
|
return __awaiter(_this, void 0, void 0, function () {
|
|
385
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
396
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
386
397
|
return __generator(this, function (_a) {
|
|
387
398
|
switch (_a.label) {
|
|
388
399
|
case 0:
|
|
@@ -402,13 +413,16 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
|
|
|
402
413
|
localVarQueryParameter = {};
|
|
403
414
|
// authentication bearer required
|
|
404
415
|
// http bearer authentication required
|
|
405
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
416
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
417
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
418
|
+
];
|
|
406
419
|
case 1:
|
|
407
420
|
// authentication bearer required
|
|
408
421
|
// http bearer authentication required
|
|
409
422
|
_a.sent();
|
|
410
|
-
|
|
411
|
-
|
|
423
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
424
|
+
if (authorizationValue) {
|
|
425
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
412
426
|
}
|
|
413
427
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
414
428
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
package/dist/api.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './api/named-ranges-api';
|
|
|
27
27
|
export * from './api/partner-links-api';
|
|
28
28
|
export * from './api/partner-roles-api';
|
|
29
29
|
export * from './api/policies-api';
|
|
30
|
+
export * from './api/premium-calculation-api';
|
|
30
31
|
export * from './api/premium-formulas-api';
|
|
31
32
|
export * from './api/product-configs-api';
|
|
32
33
|
export * from './api/product-factors-api';
|
package/dist/api.js
CHANGED
|
@@ -45,6 +45,7 @@ __exportStar(require("./api/named-ranges-api"), exports);
|
|
|
45
45
|
__exportStar(require("./api/partner-links-api"), exports);
|
|
46
46
|
__exportStar(require("./api/partner-roles-api"), exports);
|
|
47
47
|
__exportStar(require("./api/policies-api"), exports);
|
|
48
|
+
__exportStar(require("./api/premium-calculation-api"), exports);
|
|
48
49
|
__exportStar(require("./api/premium-formulas-api"), exports);
|
|
49
50
|
__exportStar(require("./api/product-configs-api"), exports);
|
|
50
51
|
__exportStar(require("./api/product-factors-api"), exports);
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL InsuranceService
|
|
69
69
|
* The EMIL InsuranceService API description
|
package/dist/common.js
CHANGED
|
@@ -234,6 +234,7 @@ exports.toPathString = toPathString;
|
|
|
234
234
|
* @export
|
|
235
235
|
*/
|
|
236
236
|
var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
237
|
+
// Typed by hand: since axios 1.20, request() returns an internal axios type that SDK declarations cannot name.
|
|
237
238
|
return function (axios, basePath) {
|
|
238
239
|
if (axios === void 0) { axios = globalAxios; }
|
|
239
240
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 { CalculatedPolicyObjectsClass } from './calculated-policy-objects-class';
|
|
13
|
+
import { CalculationErrorsClass } from './calculation-errors-class';
|
|
14
|
+
import { PolicyPremiumClass } from './policy-premium-class';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CalculatePremiumResponseClass
|
|
19
|
+
*/
|
|
20
|
+
export interface CalculatePremiumResponseClass {
|
|
21
|
+
/**
|
|
22
|
+
* Policy premium
|
|
23
|
+
* @type {PolicyPremiumClass}
|
|
24
|
+
* @memberof CalculatePremiumResponseClass
|
|
25
|
+
*/
|
|
26
|
+
'premium': PolicyPremiumClass;
|
|
27
|
+
/**
|
|
28
|
+
* Calculated policy objects
|
|
29
|
+
* @type {CalculatedPolicyObjectsClass}
|
|
30
|
+
* @memberof CalculatePremiumResponseClass
|
|
31
|
+
*/
|
|
32
|
+
'policyObjects': CalculatedPolicyObjectsClass;
|
|
33
|
+
/**
|
|
34
|
+
* Calculation errors
|
|
35
|
+
* @type {CalculationErrorsClass}
|
|
36
|
+
* @memberof CalculatePremiumResponseClass
|
|
37
|
+
*/
|
|
38
|
+
'errors': CalculationErrorsClass;
|
|
39
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 { CalculatedPolicyObjectClass } from './calculated-policy-object-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CalculatedPolicyObjectsClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CalculatedPolicyObjectsClass {
|
|
19
|
+
/**
|
|
20
|
+
* Calculated policy objects.
|
|
21
|
+
* @type {Array<CalculatedPolicyObjectClass>}
|
|
22
|
+
* @memberof CalculatedPolicyObjectsClass
|
|
23
|
+
*/
|
|
24
|
+
'policyObjects': Array<CalculatedPolicyObjectClass>;
|
|
25
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ClaimPositionFieldsClass } from './claim-position-fields-class';
|
|
13
13
|
import { GeneralSettingClass } from './general-setting-class';
|
|
14
|
+
import { RegulationSubtypesClass } from './regulation-subtypes-class';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -29,4 +30,10 @@ export interface ClaimConfigClass {
|
|
|
29
30
|
* @memberof ClaimConfigClass
|
|
30
31
|
*/
|
|
31
32
|
'claimPositionFields': ClaimPositionFieldsClass;
|
|
33
|
+
/**
|
|
34
|
+
* Client-defined subtypes per regulation item type, selectable on claim regulations
|
|
35
|
+
* @type {RegulationSubtypesClass}
|
|
36
|
+
* @memberof ClaimConfigClass
|
|
37
|
+
*/
|
|
38
|
+
'regulationSubtypes'?: RegulationSubtypesClass;
|
|
32
39
|
}
|
|
@@ -24,7 +24,7 @@ export interface CreateDraftPolicyRequestDto {
|
|
|
24
24
|
*/
|
|
25
25
|
'policyObjects': Array<PolicyObjectDto>;
|
|
26
26
|
/**
|
|
27
|
-
* Date from which the policy should be updated. This will create a new timeline starting from this date.
|
|
27
|
+
* Date from which the policy should be updated. This will create a new timeline starting from this date. Required — unlike on the PATCH draft endpoint, `from` cannot be omitted when creating a draft.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof CreateDraftPolicyRequestDto
|
|
30
30
|
*/
|
|
@@ -75,6 +75,12 @@ export interface CreatePremiumFormulaRequestDto {
|
|
|
75
75
|
* @memberof CreatePremiumFormulaRequestDto
|
|
76
76
|
*/
|
|
77
77
|
'order': number;
|
|
78
|
+
/**
|
|
79
|
+
* Unique, immutable identifier for this Premium item. Omit it and one is generated. Supply it only when importing a Premium item that already exists in another environment, to keep cross-service configuration pointing at it. It cannot be changed afterwards.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CreatePremiumFormulaRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'code'?: string;
|
|
78
84
|
}
|
|
79
85
|
export declare const CreatePremiumFormulaRequestDtoTypeEnum: {
|
|
80
86
|
readonly Time: "time";
|
|
@@ -45,6 +45,18 @@ export interface CreateProductRequestDto {
|
|
|
45
45
|
* @memberof CreateProductRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'defaultLanguage': CreateProductRequestDtoDefaultLanguageEnum;
|
|
48
|
+
/**
|
|
49
|
+
* Unique, immutable identifier for this product. Omit it and one is generated. Supply it only when importing a product that already exists in another environment, to keep cross-service configuration pointing at it. It cannot be changed afterwards.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateProductRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'code'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Unique, immutable identifier for the product version created along with the product. Omit it and one is generated. Supply it only when importing a product that already exists in another environment, to keep cross-service configuration pointing at its first version. It cannot be changed afterwards.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateProductRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'versionCode'?: string;
|
|
48
60
|
}
|
|
49
61
|
export declare const CreateProductRequestDtoInsuredObjectTypesEnum: {
|
|
50
62
|
readonly Default: "default";
|
|
@@ -27,4 +27,10 @@ export interface CreateProductVersionRequestDto {
|
|
|
27
27
|
* @memberof CreateProductVersionRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'description': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique, immutable identifier for this product version. Omit it and one is generated. Supply it only when importing a product version that already exists in another environment, to keep cross-service configuration pointing at it. It cannot be changed afterwards.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateProductVersionRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'code'?: string;
|
|
30
36
|
}
|
|
@@ -22,7 +22,7 @@ export interface GetDraftPolicyRequestDto {
|
|
|
22
22
|
*/
|
|
23
23
|
'policyCode': string;
|
|
24
24
|
/**
|
|
25
|
-
* Fields to expand response
|
|
25
|
+
* Fields to expand in the draft response. Pass the unprefixed relation name; for example, \"premiumItems\" expands the draft premium items relation.<br/> <br/> <i>Allowed values: version, timelines, premiums, premiumItems, premiumFormulas</i>
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof GetDraftPolicyRequestDto
|
|
28
28
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -7,8 +7,10 @@ export * from './billing-address-dto';
|
|
|
7
7
|
export * from './booking-funnel-class';
|
|
8
8
|
export * from './calculate-custom-premium-request-dto';
|
|
9
9
|
export * from './calculate-premium-request-dto';
|
|
10
|
+
export * from './calculate-premium-response-class';
|
|
10
11
|
export * from './calculate-product-fields-request-dto';
|
|
11
12
|
export * from './calculated-policy-object-class';
|
|
13
|
+
export * from './calculated-policy-objects-class';
|
|
12
14
|
export * from './calculation-errors-class';
|
|
13
15
|
export * from './calculation-item-errors-class';
|
|
14
16
|
export * from './calculation-message-class';
|
|
@@ -122,8 +124,6 @@ export * from './grouped-product-factor-class';
|
|
|
122
124
|
export * from './grouped-product-factor-value-class';
|
|
123
125
|
export * from './grouped-product-factors-response-class';
|
|
124
126
|
export * from './grpc-mandate-dto';
|
|
125
|
-
export * from './inline-response200';
|
|
126
|
-
export * from './inline-response503';
|
|
127
127
|
export * from './insured-object-class';
|
|
128
128
|
export * from './insured-object-type-class';
|
|
129
129
|
export * from './invoice-item-class';
|
|
@@ -196,6 +196,8 @@ export * from './product-factor-value-for-version-class';
|
|
|
196
196
|
export * from './product-field-class';
|
|
197
197
|
export * from './product-field-type-class';
|
|
198
198
|
export * from './product-version-class';
|
|
199
|
+
export * from './regulation-subtype-class';
|
|
200
|
+
export * from './regulation-subtypes-class';
|
|
199
201
|
export * from './rest-calculate-product-tariff-quote-request-dto';
|
|
200
202
|
export * from './rest-calculate-product-tariff-quote-response-class';
|
|
201
203
|
export * from './rest-clone-lead-account-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -23,8 +23,10 @@ __exportStar(require("./billing-address-dto"), exports);
|
|
|
23
23
|
__exportStar(require("./booking-funnel-class"), exports);
|
|
24
24
|
__exportStar(require("./calculate-custom-premium-request-dto"), exports);
|
|
25
25
|
__exportStar(require("./calculate-premium-request-dto"), exports);
|
|
26
|
+
__exportStar(require("./calculate-premium-response-class"), exports);
|
|
26
27
|
__exportStar(require("./calculate-product-fields-request-dto"), exports);
|
|
27
28
|
__exportStar(require("./calculated-policy-object-class"), exports);
|
|
29
|
+
__exportStar(require("./calculated-policy-objects-class"), exports);
|
|
28
30
|
__exportStar(require("./calculation-errors-class"), exports);
|
|
29
31
|
__exportStar(require("./calculation-item-errors-class"), exports);
|
|
30
32
|
__exportStar(require("./calculation-message-class"), exports);
|
|
@@ -138,8 +140,6 @@ __exportStar(require("./grouped-product-factor-class"), exports);
|
|
|
138
140
|
__exportStar(require("./grouped-product-factor-value-class"), exports);
|
|
139
141
|
__exportStar(require("./grouped-product-factors-response-class"), exports);
|
|
140
142
|
__exportStar(require("./grpc-mandate-dto"), exports);
|
|
141
|
-
__exportStar(require("./inline-response200"), exports);
|
|
142
|
-
__exportStar(require("./inline-response503"), exports);
|
|
143
143
|
__exportStar(require("./insured-object-class"), exports);
|
|
144
144
|
__exportStar(require("./insured-object-type-class"), exports);
|
|
145
145
|
__exportStar(require("./invoice-item-class"), exports);
|
|
@@ -212,6 +212,8 @@ __exportStar(require("./product-factor-value-for-version-class"), exports);
|
|
|
212
212
|
__exportStar(require("./product-field-class"), exports);
|
|
213
213
|
__exportStar(require("./product-field-type-class"), exports);
|
|
214
214
|
__exportStar(require("./product-version-class"), exports);
|
|
215
|
+
__exportStar(require("./regulation-subtype-class"), exports);
|
|
216
|
+
__exportStar(require("./regulation-subtypes-class"), exports);
|
|
215
217
|
__exportStar(require("./rest-calculate-product-tariff-quote-request-dto"), exports);
|
|
216
218
|
__exportStar(require("./rest-calculate-product-tariff-quote-response-class"), exports);
|
|
217
219
|
__exportStar(require("./rest-clone-lead-account-request-dto"), exports);
|
|
@@ -64,4 +64,10 @@ export interface PartnerClass {
|
|
|
64
64
|
* @memberof PartnerClass
|
|
65
65
|
*/
|
|
66
66
|
'tags': Array<TagClass>;
|
|
67
|
+
/**
|
|
68
|
+
* The business subtypes of the partner, as recorded in partnerservice. Empty when unset.
|
|
69
|
+
* @type {Array<string>}
|
|
70
|
+
* @memberof PartnerClass
|
|
71
|
+
*/
|
|
72
|
+
'subtypes': Array<string>;
|
|
67
73
|
}
|
|
@@ -24,7 +24,7 @@ export interface PatchDraftPolicyRequestDto {
|
|
|
24
24
|
*/
|
|
25
25
|
'policyObjects': Array<PolicyObjectDto>;
|
|
26
26
|
/**
|
|
27
|
-
* Date from which the policy should be updated. This will create a new timeline starting from this date.
|
|
27
|
+
* Date from which the policy should be updated. This will create a new timeline starting from this date. Optional on PATCH — omit it to leave the current version unaffected.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof PatchDraftPolicyRequestDto
|
|
30
30
|
*/
|
|
@@ -36,7 +36,7 @@ export interface PatchDraftPolicyRequestDto {
|
|
|
36
36
|
*/
|
|
37
37
|
'to'?: string;
|
|
38
38
|
/**
|
|
39
|
-
* Policy revision status.
|
|
39
|
+
* Policy revision status. Terminal values change the draft lifecycle:<br/> <br/> - <b>APPROVED</b>: promotes the draft to the current policy version (`isCurrent: true`, `isDraft: false`), replacing the current version.<br/> - <b>REJECTED</b>: deletes the draft version; subsequent `GET .../draft` requests return 404.<br/> - <b>CREATED</b>, <b>IN_REVIEW</b>, or <b>REVIEWED</b>: updates the draft in place with the supplied payload and leaves it as a draft (`isCurrent: false`, `isDraft: true`).
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof PatchDraftPolicyRequestDto
|
|
42
42
|
*/
|
|
@@ -28,7 +28,7 @@ export interface PolicyObjectDto {
|
|
|
28
28
|
*/
|
|
29
29
|
'insuredObjectName'?: string;
|
|
30
30
|
/**
|
|
31
|
-
* Insured object data.
|
|
31
|
+
* Insured object data. For the \"Coverage\" insured object, pass the tariff variant as `tariffVariant`, for example `{ \"tariffVariant\": \"...\" }`.
|
|
32
32
|
* @type {object}
|
|
33
33
|
* @memberof PolicyObjectDto
|
|
34
34
|
*/
|
|
@@ -47,7 +47,7 @@ export interface PolicyPremiumItemClass {
|
|
|
47
47
|
*/
|
|
48
48
|
'premiumFormula': PremiumFormulaClass;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Whether this premium item is priced from an override rather than the formula. Read-only — it cannot be set directly. It is computed per formula (matched by `name` + `unit`) from whether the request included a matching entry in `premiumOverride.premiumOverrides`.
|
|
51
51
|
* @type {boolean}
|
|
52
52
|
* @memberof PolicyPremiumItemClass
|
|
53
53
|
*/
|
|
@@ -27,6 +27,12 @@ export interface PremiumFormulaClass {
|
|
|
27
27
|
* @memberof PremiumFormulaClass
|
|
28
28
|
*/
|
|
29
29
|
'productVersionId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique, immutable identifier for the Premium item. Stable across environments; use it instead of the numeric id in cross-service configuration.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PremiumFormulaClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
30
36
|
/**
|
|
31
37
|
* Premium group name.
|
|
32
38
|
* @type {string}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 RegulationSubtypeClass
|
|
16
|
+
*/
|
|
17
|
+
export interface RegulationSubtypeClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier key of the regulation subtype. Stored on the regulation item.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegulationSubtypeClass
|
|
22
|
+
*/
|
|
23
|
+
'key': string;
|
|
24
|
+
/**
|
|
25
|
+
* Display name shown to users
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegulationSubtypeClass
|
|
28
|
+
*/
|
|
29
|
+
'label': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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 { RegulationSubtypeClass } from './regulation-subtype-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RegulationSubtypesClass
|
|
17
|
+
*/
|
|
18
|
+
export interface RegulationSubtypesClass {
|
|
19
|
+
/**
|
|
20
|
+
* Subtypes available for payout regulations. Always contains the default subtypes \"indemnity\" and \"internalProcess\".
|
|
21
|
+
* @type {Array<RegulationSubtypeClass>}
|
|
22
|
+
* @memberof RegulationSubtypesClass
|
|
23
|
+
*/
|
|
24
|
+
'payout': Array<RegulationSubtypeClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Subtypes available for regress regulations
|
|
27
|
+
* @type {Array<RegulationSubtypeClass>}
|
|
28
|
+
* @memberof RegulationSubtypesClass
|
|
29
|
+
*/
|
|
30
|
+
'regress': Array<RegulationSubtypeClass>;
|
|
31
|
+
/**
|
|
32
|
+
* Subtypes available for reserve regulations
|
|
33
|
+
* @type {Array<RegulationSubtypeClass>}
|
|
34
|
+
* @memberof RegulationSubtypesClass
|
|
35
|
+
*/
|
|
36
|
+
'reserve': Array<RegulationSubtypeClass>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL InsuranceService
|
|
6
|
+
* The EMIL InsuranceService 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,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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 { CalculatedPolicyObjectsClass } from './calculated-policy-objects-class';
|
|
17
|
+
import { CalculationErrorsClass } from './calculation-errors-class';
|
|
18
|
+
import { PolicyPremiumClass } from './policy-premium-class';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface CalculatePremiumResponseClass
|
|
24
|
+
*/
|
|
25
|
+
export interface CalculatePremiumResponseClass {
|
|
26
|
+
/**
|
|
27
|
+
* Policy premium
|
|
28
|
+
* @type {PolicyPremiumClass}
|
|
29
|
+
* @memberof CalculatePremiumResponseClass
|
|
30
|
+
*/
|
|
31
|
+
'premium': PolicyPremiumClass;
|
|
32
|
+
/**
|
|
33
|
+
* Calculated policy objects
|
|
34
|
+
* @type {CalculatedPolicyObjectsClass}
|
|
35
|
+
* @memberof CalculatePremiumResponseClass
|
|
36
|
+
*/
|
|
37
|
+
'policyObjects': CalculatedPolicyObjectsClass;
|
|
38
|
+
/**
|
|
39
|
+
* Calculation errors
|
|
40
|
+
* @type {CalculationErrorsClass}
|
|
41
|
+
* @memberof CalculatePremiumResponseClass
|
|
42
|
+
*/
|
|
43
|
+
'errors': CalculationErrorsClass;
|
|
44
|
+
}
|
|
45
|
+
|