@emilgroup/public-api-sdk-node 1.35.1-beta.9 → 1.36.1-beta.0

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.
Files changed (58) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/product-versions-api.ts +223 -0
  4. package/dist/api/product-versions-api.d.ts +122 -0
  5. package/dist/api/product-versions-api.js +191 -0
  6. package/dist/models/amount-with-limit-class.d.ts +30 -0
  7. package/dist/models/amount-with-limit-class.js +15 -0
  8. package/dist/models/calculate-product-tariff-quote-request-dto.d.ts +38 -0
  9. package/dist/models/calculate-product-tariff-quote-request-dto.js +15 -0
  10. package/dist/models/calculate-product-tariff-quote-response-class.d.ts +25 -0
  11. package/dist/models/calculate-product-tariff-quote-response-class.js +15 -0
  12. package/dist/models/calculation-errors-class.d.ts +25 -0
  13. package/dist/models/calculation-errors-class.js +15 -0
  14. package/dist/models/calculation-item-errors-class.d.ts +43 -0
  15. package/dist/models/calculation-item-errors-class.js +15 -0
  16. package/dist/models/calculation-message-class.d.ts +30 -0
  17. package/dist/models/calculation-message-class.js +15 -0
  18. package/dist/models/category-coverage-summary-class.d.ts +43 -0
  19. package/dist/models/category-coverage-summary-class.js +15 -0
  20. package/dist/models/coverage-term-class.d.ts +66 -0
  21. package/dist/models/coverage-term-class.js +30 -0
  22. package/dist/models/deductible-class.d.ts +60 -0
  23. package/dist/models/deductible-class.js +25 -0
  24. package/dist/models/get-product-config-tariffs-response-class.d.ts +31 -0
  25. package/dist/models/get-product-config-tariffs-response-class.js +15 -0
  26. package/dist/models/index.d.ts +15 -0
  27. package/dist/models/index.js +15 -0
  28. package/dist/models/product-field-class.d.ts +6 -0
  29. package/dist/models/product-tariff-quote-class.d.ts +51 -0
  30. package/dist/models/product-tariff-quote-class.js +15 -0
  31. package/dist/models/product-version-class.d.ts +6 -0
  32. package/dist/models/tariff-category-summary-class.d.ts +57 -0
  33. package/dist/models/tariff-category-summary-class.js +15 -0
  34. package/dist/models/tariff-coverage-term-class.d.ts +60 -0
  35. package/dist/models/tariff-coverage-term-class.js +30 -0
  36. package/dist/models/tariff-info-class.d.ts +47 -0
  37. package/dist/models/tariff-info-class.js +20 -0
  38. package/dist/models/tariff-summary-class.d.ts +52 -0
  39. package/dist/models/tariff-summary-class.js +15 -0
  40. package/models/amount-with-limit-class.ts +36 -0
  41. package/models/calculate-product-tariff-quote-request-dto.ts +44 -0
  42. package/models/calculate-product-tariff-quote-response-class.ts +31 -0
  43. package/models/calculation-errors-class.ts +31 -0
  44. package/models/calculation-item-errors-class.ts +49 -0
  45. package/models/calculation-message-class.ts +36 -0
  46. package/models/category-coverage-summary-class.ts +49 -0
  47. package/models/coverage-term-class.ts +77 -0
  48. package/models/deductible-class.ts +70 -0
  49. package/models/get-product-config-tariffs-response-class.ts +37 -0
  50. package/models/index.ts +15 -0
  51. package/models/product-field-class.ts +6 -0
  52. package/models/product-tariff-quote-class.ts +57 -0
  53. package/models/product-version-class.ts +6 -0
  54. package/models/tariff-category-summary-class.ts +63 -0
  55. package/models/tariff-coverage-term-class.ts +71 -0
  56. package/models/tariff-info-class.ts +56 -0
  57. package/models/tariff-summary-class.ts +58 -0
  58. package/package.json +2 -2
@@ -96,6 +96,59 @@ var FormData = require('form-data');
96
96
  var ProductVersionsApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
+ /**
100
+ * Calculates and returns a tariff quote with estimated invoice data from the published product version.
101
+ * @summary Calculates a quote for a selected tariff
102
+ * @param {number} productVersionId Product version id
103
+ * @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
104
+ * @param {string} [authorization] Bearer Token
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
109
+ if (options === void 0) { options = {}; }
110
+ return __awaiter(_this, void 0, void 0, function () {
111
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
112
+ return __generator(this, function (_a) {
113
+ switch (_a.label) {
114
+ case 0:
115
+ // verify required parameter 'productVersionId' is not null or undefined
116
+ (0, common_1.assertParamExists)('calculateProductTariffQuote', 'productVersionId', productVersionId);
117
+ // verify required parameter 'calculateProductTariffQuoteRequestDto' is not null or undefined
118
+ (0, common_1.assertParamExists)('calculateProductTariffQuote', 'calculateProductTariffQuoteRequestDto', calculateProductTariffQuoteRequestDto);
119
+ localVarPath = "/publicapi/v1/product_versions/{productVersionId}/tariff-quote"
120
+ .replace("{".concat("productVersionId", "}"), encodeURIComponent(String(productVersionId)));
121
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
122
+ if (configuration) {
123
+ baseOptions = configuration.baseOptions;
124
+ baseAccessToken = configuration.accessToken;
125
+ }
126
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
127
+ localVarHeaderParameter = {};
128
+ localVarQueryParameter = {};
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
132
+ case 1:
133
+ // authentication bearer required
134
+ // http bearer authentication required
135
+ _a.sent();
136
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
137
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
138
+ }
139
+ localVarHeaderParameter['Content-Type'] = 'application/json';
140
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
141
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
142
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
143
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(calculateProductTariffQuoteRequestDto, localVarRequestOptions, configuration);
144
+ return [2 /*return*/, {
145
+ url: (0, common_1.toPathString)(localVarUrlObj),
146
+ options: localVarRequestOptions,
147
+ }];
148
+ }
149
+ });
150
+ });
151
+ },
99
152
  /**
100
153
  * 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.
101
154
  * @summary List insured objects
@@ -144,6 +197,54 @@ var ProductVersionsApiAxiosParamCreator = function (configuration) {
144
197
  });
145
198
  });
146
199
  },
200
+ /**
201
+ * Retrieves list of available tariffs for the published product config version
202
+ * @summary Retrieve the Product Config Tariffs
203
+ * @param {number} productVersionId Product version id
204
+ * @param {string} [authorization] Bearer Token
205
+ * @param {*} [options] Override http request option.
206
+ * @throws {RequiredError}
207
+ */
208
+ getProductConfigTariffs: function (productVersionId, authorization, options) {
209
+ if (options === void 0) { options = {}; }
210
+ return __awaiter(_this, void 0, void 0, function () {
211
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
212
+ return __generator(this, function (_a) {
213
+ switch (_a.label) {
214
+ case 0:
215
+ // verify required parameter 'productVersionId' is not null or undefined
216
+ (0, common_1.assertParamExists)('getProductConfigTariffs', 'productVersionId', productVersionId);
217
+ localVarPath = "/publicapi/v1/product_versions/{productVersionId}/tariffs"
218
+ .replace("{".concat("productVersionId", "}"), encodeURIComponent(String(productVersionId)));
219
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
220
+ if (configuration) {
221
+ baseOptions = configuration.baseOptions;
222
+ baseAccessToken = configuration.accessToken;
223
+ }
224
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
225
+ localVarHeaderParameter = {};
226
+ localVarQueryParameter = {};
227
+ // authentication bearer required
228
+ // http bearer authentication required
229
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
230
+ case 1:
231
+ // authentication bearer required
232
+ // http bearer authentication required
233
+ _a.sent();
234
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
235
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
236
+ }
237
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
238
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
239
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
240
+ return [2 /*return*/, {
241
+ url: (0, common_1.toPathString)(localVarUrlObj),
242
+ options: localVarRequestOptions,
243
+ }];
244
+ }
245
+ });
246
+ });
247
+ },
147
248
  /**
148
249
  * 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.
149
250
  * @summary List product factors
@@ -208,6 +309,28 @@ exports.ProductVersionsApiAxiosParamCreator = ProductVersionsApiAxiosParamCreato
208
309
  var ProductVersionsApiFp = function (configuration) {
209
310
  var localVarAxiosParamCreator = (0, exports.ProductVersionsApiAxiosParamCreator)(configuration);
210
311
  return {
312
+ /**
313
+ * Calculates and returns a tariff quote with estimated invoice data from the published product version.
314
+ * @summary Calculates a quote for a selected tariff
315
+ * @param {number} productVersionId Product version id
316
+ * @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
317
+ * @param {string} [authorization] Bearer Token
318
+ * @param {*} [options] Override http request option.
319
+ * @throws {RequiredError}
320
+ */
321
+ calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
322
+ return __awaiter(this, void 0, void 0, function () {
323
+ var localVarAxiosArgs;
324
+ return __generator(this, function (_a) {
325
+ switch (_a.label) {
326
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options)];
327
+ case 1:
328
+ localVarAxiosArgs = _a.sent();
329
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
330
+ }
331
+ });
332
+ });
333
+ },
211
334
  /**
212
335
  * 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.
213
336
  * @summary List insured objects
@@ -229,6 +352,27 @@ var ProductVersionsApiFp = function (configuration) {
229
352
  });
230
353
  });
231
354
  },
355
+ /**
356
+ * Retrieves list of available tariffs for the published product config version
357
+ * @summary Retrieve the Product Config Tariffs
358
+ * @param {number} productVersionId Product version id
359
+ * @param {string} [authorization] Bearer Token
360
+ * @param {*} [options] Override http request option.
361
+ * @throws {RequiredError}
362
+ */
363
+ getProductConfigTariffs: function (productVersionId, authorization, options) {
364
+ return __awaiter(this, void 0, void 0, function () {
365
+ var localVarAxiosArgs;
366
+ return __generator(this, function (_a) {
367
+ switch (_a.label) {
368
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductConfigTariffs(productVersionId, authorization, options)];
369
+ case 1:
370
+ localVarAxiosArgs = _a.sent();
371
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
372
+ }
373
+ });
374
+ });
375
+ },
232
376
  /**
233
377
  * 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.
234
378
  * @summary List product factors
@@ -261,6 +405,18 @@ exports.ProductVersionsApiFp = ProductVersionsApiFp;
261
405
  var ProductVersionsApiFactory = function (configuration, basePath, axios) {
262
406
  var localVarFp = (0, exports.ProductVersionsApiFp)(configuration);
263
407
  return {
408
+ /**
409
+ * Calculates and returns a tariff quote with estimated invoice data from the published product version.
410
+ * @summary Calculates a quote for a selected tariff
411
+ * @param {number} productVersionId Product version id
412
+ * @param {CalculateProductTariffQuoteRequestDto} calculateProductTariffQuoteRequestDto
413
+ * @param {string} [authorization] Bearer Token
414
+ * @param {*} [options] Override http request option.
415
+ * @throws {RequiredError}
416
+ */
417
+ calculateProductTariffQuote: function (productVersionId, calculateProductTariffQuoteRequestDto, authorization, options) {
418
+ return localVarFp.calculateProductTariffQuote(productVersionId, calculateProductTariffQuoteRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
419
+ },
264
420
  /**
265
421
  * 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.
266
422
  * @summary List insured objects
@@ -272,6 +428,17 @@ var ProductVersionsApiFactory = function (configuration, basePath, axios) {
272
428
  getInsuredObjectsPerVersion: function (productVersionId, authorization, options) {
273
429
  return localVarFp.getInsuredObjectsPerVersion(productVersionId, authorization, options).then(function (request) { return request(axios, basePath); });
274
430
  },
431
+ /**
432
+ * Retrieves list of available tariffs for the published product config version
433
+ * @summary Retrieve the Product Config Tariffs
434
+ * @param {number} productVersionId Product version id
435
+ * @param {string} [authorization] Bearer Token
436
+ * @param {*} [options] Override http request option.
437
+ * @throws {RequiredError}
438
+ */
439
+ getProductConfigTariffs: function (productVersionId, authorization, options) {
440
+ return localVarFp.getProductConfigTariffs(productVersionId, authorization, options).then(function (request) { return request(axios, basePath); });
441
+ },
275
442
  /**
276
443
  * 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.
277
444
  * @summary List product factors
@@ -298,6 +465,18 @@ var ProductVersionsApi = /** @class */ (function (_super) {
298
465
  function ProductVersionsApi() {
299
466
  return _super !== null && _super.apply(this, arguments) || this;
300
467
  }
468
+ /**
469
+ * Calculates and returns a tariff quote with estimated invoice data from the published product version.
470
+ * @summary Calculates a quote for a selected tariff
471
+ * @param {ProductVersionsApiCalculateProductTariffQuoteRequest} requestParameters Request parameters.
472
+ * @param {*} [options] Override http request option.
473
+ * @throws {RequiredError}
474
+ * @memberof ProductVersionsApi
475
+ */
476
+ ProductVersionsApi.prototype.calculateProductTariffQuote = function (requestParameters, options) {
477
+ var _this = this;
478
+ return (0, exports.ProductVersionsApiFp)(this.configuration).calculateProductTariffQuote(requestParameters.productVersionId, requestParameters.calculateProductTariffQuoteRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
479
+ };
301
480
  /**
302
481
  * 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.
303
482
  * @summary List insured objects
@@ -310,6 +489,18 @@ var ProductVersionsApi = /** @class */ (function (_super) {
310
489
  var _this = this;
311
490
  return (0, exports.ProductVersionsApiFp)(this.configuration).getInsuredObjectsPerVersion(requestParameters.productVersionId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
312
491
  };
492
+ /**
493
+ * Retrieves list of available tariffs for the published product config version
494
+ * @summary Retrieve the Product Config Tariffs
495
+ * @param {ProductVersionsApiGetProductConfigTariffsRequest} requestParameters Request parameters.
496
+ * @param {*} [options] Override http request option.
497
+ * @throws {RequiredError}
498
+ * @memberof ProductVersionsApi
499
+ */
500
+ ProductVersionsApi.prototype.getProductConfigTariffs = function (requestParameters, options) {
501
+ var _this = this;
502
+ return (0, exports.ProductVersionsApiFp)(this.configuration).getProductConfigTariffs(requestParameters.productVersionId, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
503
+ };
313
504
  /**
314
505
  * 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.
315
506
  * @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,66 @@
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
+ * Pro-rata calculation type
45
+ * @type {string}
46
+ * @memberof CoverageTermClass
47
+ */
48
+ 'proRata': CoverageTermClassProRataEnum;
49
+ }
50
+ export declare const CoverageTermClassTypeEnum: {
51
+ readonly Fixed: "fixed";
52
+ readonly Percent: "percent";
53
+ };
54
+ export type CoverageTermClassTypeEnum = typeof CoverageTermClassTypeEnum[keyof typeof CoverageTermClassTypeEnum];
55
+ export declare const CoverageTermClassPeriodEnum: {
56
+ readonly CalendarYear: "CALENDAR_YEAR";
57
+ readonly PolicyYear: "POLICY_YEAR";
58
+ readonly PerClaim: "PER_CLAIM";
59
+ };
60
+ export type CoverageTermClassPeriodEnum = typeof CoverageTermClassPeriodEnum[keyof typeof CoverageTermClassPeriodEnum];
61
+ export declare const CoverageTermClassProRataEnum: {
62
+ readonly Disabled: "DISABLED";
63
+ readonly Enabled: "ENABLED";
64
+ readonly EnabledAfterWaitingPeriod: "ENABLED_AFTER_WAITING_PERIOD";
65
+ };
66
+ export type CoverageTermClassProRataEnum = typeof CoverageTermClassProRataEnum[keyof typeof CoverageTermClassProRataEnum];