@emilgroup/public-api-sdk 1.33.1-beta.12 → 1.33.1-beta.14
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 +13 -0
- package/README.md +2 -2
- package/api/product-versions-api.ts +223 -0
- package/dist/api/product-versions-api.d.ts +122 -0
- package/dist/api/product-versions-api.js +191 -0
- package/dist/models/amount-with-limit-class.d.ts +30 -0
- package/dist/models/amount-with-limit-class.js +15 -0
- package/dist/models/calculate-product-tariff-quote-request-dto.d.ts +38 -0
- package/dist/models/calculate-product-tariff-quote-request-dto.js +15 -0
- package/dist/models/calculate-product-tariff-quote-response-class.d.ts +25 -0
- package/dist/models/calculate-product-tariff-quote-response-class.js +15 -0
- package/dist/models/calculation-errors-class.d.ts +25 -0
- package/dist/models/calculation-errors-class.js +15 -0
- package/dist/models/calculation-item-errors-class.d.ts +43 -0
- package/dist/models/calculation-item-errors-class.js +15 -0
- package/dist/models/calculation-message-class.d.ts +30 -0
- package/dist/models/calculation-message-class.js +15 -0
- package/dist/models/category-coverage-summary-class.d.ts +43 -0
- package/dist/models/category-coverage-summary-class.js +15 -0
- package/dist/models/coverage-term-class.d.ts +54 -0
- package/dist/models/coverage-term-class.js +25 -0
- package/dist/models/get-product-config-tariffs-response-class.d.ts +31 -0
- package/dist/models/get-product-config-tariffs-response-class.js +15 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/product-tariff-quote-class.d.ts +51 -0
- package/dist/models/product-tariff-quote-class.js +15 -0
- package/dist/models/tariff-category-summary-class.d.ts +50 -0
- package/dist/models/tariff-category-summary-class.js +15 -0
- package/dist/models/tariff-coverage-term-class.d.ts +48 -0
- package/dist/models/tariff-coverage-term-class.js +25 -0
- package/dist/models/tariff-summary-class.d.ts +50 -0
- package/dist/models/tariff-summary-class.js +15 -0
- package/models/amount-with-limit-class.ts +36 -0
- package/models/calculate-product-tariff-quote-request-dto.ts +44 -0
- package/models/calculate-product-tariff-quote-response-class.ts +31 -0
- package/models/calculation-errors-class.ts +31 -0
- package/models/calculation-item-errors-class.ts +49 -0
- package/models/calculation-message-class.ts +36 -0
- package/models/category-coverage-summary-class.ts +49 -0
- package/models/coverage-term-class.ts +64 -0
- package/models/get-product-config-tariffs-response-class.ts +37 -0
- package/models/index.ts +13 -0
- package/models/product-tariff-quote-class.ts +57 -0
- package/models/tariff-category-summary-class.ts +56 -0
- package/models/tariff-coverage-term-class.ts +58 -0
- package/models/tariff-summary-class.ts +56 -0
- package/package.json +1 -1
|
@@ -92,6 +92,59 @@ var base_1 = require("../base");
|
|
|
92
92
|
var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
|
+
/**
|
|
96
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
97
|
+
* @summary Calculates a quote for a selected tariff
|
|
98
|
+
* @param {number} productVersionId Product version id
|
|
99
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
100
|
+
* @param {string} [authorization] Bearer Token
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
|
|
105
|
+
if (options === void 0) { options = {}; }
|
|
106
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
108
|
+
return __generator(this, function (_a) {
|
|
109
|
+
switch (_a.label) {
|
|
110
|
+
case 0:
|
|
111
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
112
|
+
(0, common_1.assertParamExists)('calculateProductTariffQuote', 'productVersionId', productVersionId);
|
|
113
|
+
// verify required parameter 'calculateProductTariffQuoteRequestDto' is not null or undefined
|
|
114
|
+
(0, common_1.assertParamExists)('calculateProductTariffQuote', 'calculateProductTariffQuoteRequestDto', calculateProductTariffQuoteRequestDto);
|
|
115
|
+
localVarPath = "/publicapi/v1/product_versions/{productVersionId}/tariff-quote"
|
|
116
|
+
.replace("{".concat("productVersionId", "}"), encodeURIComponent(String(productVersionId)));
|
|
117
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
baseAccessToken = configuration.accessToken;
|
|
121
|
+
}
|
|
122
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
123
|
+
localVarHeaderParameter = {};
|
|
124
|
+
localVarQueryParameter = {};
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
128
|
+
case 1:
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
|
+
}
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(calculateProductTariffQuoteRequestDto, localVarRequestOptions, configuration);
|
|
140
|
+
return [2 /*return*/, {
|
|
141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
|
+
options: localVarRequestOptions,
|
|
143
|
+
}];
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
},
|
|
95
148
|
/**
|
|
96
149
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
97
150
|
* @summary List insured objects
|
|
@@ -140,6 +193,54 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
140
193
|
});
|
|
141
194
|
});
|
|
142
195
|
},
|
|
196
|
+
/**
|
|
197
|
+
* Retrieves list of available tariffs for the published product config version
|
|
198
|
+
* @summary Retrieve the Product Config Tariffs
|
|
199
|
+
* @param {number} productVersionId Product version id
|
|
200
|
+
* @param {string} [authorization] Bearer Token
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
205
|
+
if (options === void 0) { options = {}; }
|
|
206
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
207
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
|
+
return __generator(this, function (_a) {
|
|
209
|
+
switch (_a.label) {
|
|
210
|
+
case 0:
|
|
211
|
+
// verify required parameter 'productVersionId' is not null or undefined
|
|
212
|
+
(0, common_1.assertParamExists)('getProductConfigTariffs', 'productVersionId', productVersionId);
|
|
213
|
+
localVarPath = "/publicapi/v1/product_versions/{productVersionId}/tariffs"
|
|
214
|
+
.replace("{".concat("productVersionId", "}"), encodeURIComponent(String(productVersionId)));
|
|
215
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
216
|
+
if (configuration) {
|
|
217
|
+
baseOptions = configuration.baseOptions;
|
|
218
|
+
baseAccessToken = configuration.accessToken;
|
|
219
|
+
}
|
|
220
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
221
|
+
localVarHeaderParameter = {};
|
|
222
|
+
localVarQueryParameter = {};
|
|
223
|
+
// authentication bearer required
|
|
224
|
+
// http bearer authentication required
|
|
225
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
226
|
+
case 1:
|
|
227
|
+
// authentication bearer required
|
|
228
|
+
// http bearer authentication required
|
|
229
|
+
_a.sent();
|
|
230
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
231
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
232
|
+
}
|
|
233
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
236
|
+
return [2 /*return*/, {
|
|
237
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
238
|
+
options: localVarRequestOptions,
|
|
239
|
+
}];
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
},
|
|
143
244
|
/**
|
|
144
245
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
145
246
|
* @summary List product factors
|
|
@@ -204,6 +305,28 @@ exports.ProductVersionsApiAxiosParamCreator = ProductVersionsApiAxiosParamCreato
|
|
|
204
305
|
var ProductVersionsApiFp = function (configuration) {
|
|
205
306
|
var localVarAxiosParamCreator = (0, exports.ProductVersionsApiAxiosParamCreator)(configuration);
|
|
206
307
|
return {
|
|
308
|
+
/**
|
|
309
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
310
|
+
* @summary Calculates a quote for a selected tariff
|
|
311
|
+
* @param {number} productVersionId Product version id
|
|
312
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
313
|
+
* @param {string} [authorization] Bearer Token
|
|
314
|
+
* @param {*} [options] Override http request option.
|
|
315
|
+
* @throws {RequiredError}
|
|
316
|
+
*/
|
|
317
|
+
calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
|
|
318
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
319
|
+
var localVarAxiosArgs;
|
|
320
|
+
return __generator(this, function (_a) {
|
|
321
|
+
switch (_a.label) {
|
|
322
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options)];
|
|
323
|
+
case 1:
|
|
324
|
+
localVarAxiosArgs = _a.sent();
|
|
325
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
326
|
+
}
|
|
327
|
+
});
|
|
328
|
+
});
|
|
329
|
+
},
|
|
207
330
|
/**
|
|
208
331
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
209
332
|
* @summary List insured objects
|
|
@@ -225,6 +348,27 @@ var ProductVersionsApiFp = function (configuration) {
|
|
|
225
348
|
});
|
|
226
349
|
});
|
|
227
350
|
},
|
|
351
|
+
/**
|
|
352
|
+
* Retrieves list of available tariffs for the published product config version
|
|
353
|
+
* @summary Retrieve the Product Config Tariffs
|
|
354
|
+
* @param {number} productVersionId Product version id
|
|
355
|
+
* @param {string} [authorization] Bearer Token
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
360
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
361
|
+
var localVarAxiosArgs;
|
|
362
|
+
return __generator(this, function (_a) {
|
|
363
|
+
switch (_a.label) {
|
|
364
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductConfigTariffs(productVersionId, authorization, options)];
|
|
365
|
+
case 1:
|
|
366
|
+
localVarAxiosArgs = _a.sent();
|
|
367
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
});
|
|
371
|
+
},
|
|
228
372
|
/**
|
|
229
373
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
230
374
|
* @summary List product factors
|
|
@@ -257,6 +401,18 @@ exports.ProductVersionsApiFp = ProductVersionsApiFp;
|
|
|
257
401
|
var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
258
402
|
var localVarFp = (0, exports.ProductVersionsApiFp)(configuration);
|
|
259
403
|
return {
|
|
404
|
+
/**
|
|
405
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
406
|
+
* @summary Calculates a quote for a selected tariff
|
|
407
|
+
* @param {number} productVersionId Product version id
|
|
408
|
+
* @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
|
|
409
|
+
* @param {string} [authorization] Bearer Token
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
|
|
414
|
+
return localVarFp.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
415
|
+
},
|
|
260
416
|
/**
|
|
261
417
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
262
418
|
* @summary List insured objects
|
|
@@ -268,6 +424,17 @@ var ProductVersionsApiFactory = function (configuration, basePath, axios) {
|
|
|
268
424
|
getInsuredObjectsPerVersion: function (productVersionId, authorization, options) {
|
|
269
425
|
return localVarFp.getInsuredObjectsPerVersion(productVersionId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
270
426
|
},
|
|
427
|
+
/**
|
|
428
|
+
* Retrieves list of available tariffs for the published product config version
|
|
429
|
+
* @summary Retrieve the Product Config Tariffs
|
|
430
|
+
* @param {number} productVersionId Product version id
|
|
431
|
+
* @param {string} [authorization] Bearer Token
|
|
432
|
+
* @param {*} [options] Override http request option.
|
|
433
|
+
* @throws {RequiredError}
|
|
434
|
+
*/
|
|
435
|
+
getProductConfigTariffs: function (productVersionId, authorization, options) {
|
|
436
|
+
return localVarFp.getProductConfigTariffs(productVersionId, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
437
|
+
},
|
|
271
438
|
/**
|
|
272
439
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
273
440
|
* @summary List product factors
|
|
@@ -294,6 +461,18 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
294
461
|
function ProductVersionsApi() {
|
|
295
462
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
296
463
|
}
|
|
464
|
+
/**
|
|
465
|
+
* Calculates and returns a tariff quote with estimated invoice data from the published product version.
|
|
466
|
+
* @summary Calculates a quote for a selected tariff
|
|
467
|
+
* @param {ProductVersionsApiCalculateProductTariffQuoteRequest} requestParameters Request parameters.
|
|
468
|
+
* @param {*} [options] Override http request option.
|
|
469
|
+
* @throws {RequiredError}
|
|
470
|
+
* @memberof ProductVersionsApi
|
|
471
|
+
*/
|
|
472
|
+
ProductVersionsApi.prototype.calculateProductTariffQuote = function (requestParameters, options) {
|
|
473
|
+
var _this = this;
|
|
474
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.calculateProductTariffQuoteRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
475
|
+
};
|
|
297
476
|
/**
|
|
298
477
|
* Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
299
478
|
* @summary List insured objects
|
|
@@ -306,6 +485,18 @@ var ProductVersionsApi = /** @class */ (function (_super) {
|
|
|
306
485
|
var _this = this;
|
|
307
486
|
return (0, exports.ProductVersionsApiFp)(this.configuration).getInsuredObjectsPerVersion(requestParameters.productVersionId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
308
487
|
};
|
|
488
|
+
/**
|
|
489
|
+
* Retrieves list of available tariffs for the published product config version
|
|
490
|
+
* @summary Retrieve the Product Config Tariffs
|
|
491
|
+
* @param {ProductVersionsApiGetProductConfigTariffsRequest} requestParameters Request parameters.
|
|
492
|
+
* @param {*} [options] Override http request option.
|
|
493
|
+
* @throws {RequiredError}
|
|
494
|
+
* @memberof ProductVersionsApi
|
|
495
|
+
*/
|
|
496
|
+
ProductVersionsApi.prototype.getProductConfigTariffs = function (requestParameters, options) {
|
|
497
|
+
var _this = this;
|
|
498
|
+
return (0, exports.ProductVersionsApiFp)(this.configuration).getProductConfigTariffs(requestParameters.productVersionId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
499
|
+
};
|
|
309
500
|
/**
|
|
310
501
|
* Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
311
502
|
* @summary List product factors
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 AmountWithLimitClass
|
|
16
|
+
*/
|
|
17
|
+
export interface AmountWithLimitClass {
|
|
18
|
+
/**
|
|
19
|
+
* Amount value (required for percent and fixed types)
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AmountWithLimitClass
|
|
22
|
+
*/
|
|
23
|
+
'amount': number;
|
|
24
|
+
/**
|
|
25
|
+
* Maximum limit (required for percent type)
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AmountWithLimitClass
|
|
28
|
+
*/
|
|
29
|
+
'limit': number;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 { PolicyObjectRequestDto } from './policy-object-request-dto';
|
|
13
|
+
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CalculateProductTariffQuoteRequestDto
|
|
18
|
+
*/
|
|
19
|
+
export interface CalculateProductTariffQuoteRequestDto {
|
|
20
|
+
/**
|
|
21
|
+
* Tariff key
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CalculateProductTariffQuoteRequestDto
|
|
24
|
+
*/
|
|
25
|
+
'tariffKey': string;
|
|
26
|
+
/**
|
|
27
|
+
* The policy objects contains necessary information to create a policy. The Policy objects array will be validated if the \'validate\' flag is set to true
|
|
28
|
+
* @type {Array<PolicyObjectRequestDto>}
|
|
29
|
+
* @memberof CalculateProductTariffQuoteRequestDto
|
|
30
|
+
*/
|
|
31
|
+
'policyObjects'?: Array<PolicyObjectRequestDto>;
|
|
32
|
+
/**
|
|
33
|
+
* Premium Override is utilized to override the premium calculation. The premium formulas will be disregarded when this object is present. The premium override content will be validated if the \'validate\' flag is set to true.
|
|
34
|
+
* @type {PremiumOverrideRequestDto}
|
|
35
|
+
* @memberof CalculateProductTariffQuoteRequestDto
|
|
36
|
+
*/
|
|
37
|
+
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 { ProductTariffQuoteClass } from './product-tariff-quote-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CalculateProductTariffQuoteResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CalculateProductTariffQuoteResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Product tariff quote
|
|
21
|
+
* @type {ProductTariffQuoteClass}
|
|
22
|
+
* @memberof CalculateProductTariffQuoteResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'productTariffQuote': ProductTariffQuoteClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 { CalculationItemErrorsClass } from './calculation-item-errors-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CalculationErrorsClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CalculationErrorsClass {
|
|
19
|
+
/**
|
|
20
|
+
* Calculation errors.
|
|
21
|
+
* @type {Array<CalculationItemErrorsClass>}
|
|
22
|
+
* @memberof CalculationErrorsClass
|
|
23
|
+
*/
|
|
24
|
+
'itemErrors': Array<CalculationItemErrorsClass>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 { CalculationMessageClass } from './calculation-message-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CalculationItemErrorsClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CalculationItemErrorsClass {
|
|
19
|
+
/**
|
|
20
|
+
* Type of the calculated item (PREMIUM_ITEM or PRODUCT_FIELD).
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CalculationItemErrorsClass
|
|
23
|
+
*/
|
|
24
|
+
'itemType': string;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier referencing the premium item/product field..
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof CalculationItemErrorsClass
|
|
29
|
+
*/
|
|
30
|
+
'itemId': number;
|
|
31
|
+
/**
|
|
32
|
+
* Name of the calculated item.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CalculationItemErrorsClass
|
|
35
|
+
*/
|
|
36
|
+
'itemName': string;
|
|
37
|
+
/**
|
|
38
|
+
* Item messages.
|
|
39
|
+
* @type {Array<CalculationMessageClass>}
|
|
40
|
+
* @memberof CalculationItemErrorsClass
|
|
41
|
+
*/
|
|
42
|
+
'messages': Array<CalculationMessageClass>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 CalculationMessageClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CalculationMessageClass {
|
|
18
|
+
/**
|
|
19
|
+
* Message severity (ERROR, WARNING, INFO).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CalculationMessageClass
|
|
22
|
+
*/
|
|
23
|
+
'severity': string;
|
|
24
|
+
/**
|
|
25
|
+
* Error/warning/info message.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CalculationMessageClass
|
|
28
|
+
*/
|
|
29
|
+
'message': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 { CoverageTermClass } from './coverage-term-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CategoryCoverageSummaryClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CategoryCoverageSummaryClass {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier key for coverage
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CategoryCoverageSummaryClass
|
|
23
|
+
*/
|
|
24
|
+
'key': string;
|
|
25
|
+
/**
|
|
26
|
+
* Display name shown to users
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CategoryCoverageSummaryClass
|
|
29
|
+
*/
|
|
30
|
+
'label': string;
|
|
31
|
+
/**
|
|
32
|
+
* Coverage description
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CategoryCoverageSummaryClass
|
|
35
|
+
*/
|
|
36
|
+
'description'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Coverage term
|
|
39
|
+
* @type {CoverageTermClass}
|
|
40
|
+
* @memberof CategoryCoverageSummaryClass
|
|
41
|
+
*/
|
|
42
|
+
'coverageTerm': CoverageTermClass;
|
|
43
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public 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,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public 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 { AmountWithLimitClass } from './amount-with-limit-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CoverageTermClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CoverageTermClass {
|
|
19
|
+
/**
|
|
20
|
+
* Whether this coverage term is covered
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof CoverageTermClass
|
|
23
|
+
*/
|
|
24
|
+
'isCovered': boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Coverage term type (fixed or percent)
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CoverageTermClass
|
|
29
|
+
*/
|
|
30
|
+
'type': CoverageTermClassTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* Time period over which the coverage term applies
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CoverageTermClass
|
|
35
|
+
*/
|
|
36
|
+
'period': CoverageTermClassPeriodEnum;
|
|
37
|
+
/**
|
|
38
|
+
* Coverage term value - fixed amount or percentage with maximum limit
|
|
39
|
+
* @type {AmountWithLimitClass}
|
|
40
|
+
* @memberof CoverageTermClass
|
|
41
|
+
*/
|
|
42
|
+
'value': AmountWithLimitClass;
|
|
43
|
+
}
|
|
44
|
+
export declare const CoverageTermClassTypeEnum: {
|
|
45
|
+
readonly Fixed: "fixed";
|
|
46
|
+
readonly Percent: "percent";
|
|
47
|
+
};
|
|
48
|
+
export type CoverageTermClassTypeEnum = typeof CoverageTermClassTypeEnum[keyof typeof CoverageTermClassTypeEnum];
|
|
49
|
+
export declare const CoverageTermClassPeriodEnum: {
|
|
50
|
+
readonly CalendarYear: "CALENDAR_YEAR";
|
|
51
|
+
readonly PolicyYear: "POLICY_YEAR";
|
|
52
|
+
readonly PerClaim: "PER_CLAIM";
|
|
53
|
+
};
|
|
54
|
+
export type CoverageTermClassPeriodEnum = typeof CoverageTermClassPeriodEnum[keyof typeof CoverageTermClassPeriodEnum];
|