@emilgroup/insurance-sdk-node 1.93.1-beta.21 → 1.93.1-beta.23

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 (31) hide show
  1. package/.openapi-generator/FILES +4 -1
  2. package/README.md +2 -2
  3. package/api/product-configs-api.ts +8 -8
  4. package/dist/api/product-configs-api.d.ts +8 -8
  5. package/dist/api/product-configs-api.js +4 -4
  6. package/dist/models/category-class.d.ts +0 -12
  7. package/dist/models/category-coverage-summary-class.d.ts +43 -0
  8. package/dist/models/category-definition-class.d.ts +43 -0
  9. package/dist/models/category-definition-class.js +15 -0
  10. package/dist/models/coverage-class.d.ts +0 -12
  11. package/dist/models/coverage-definition-class.d.ts +36 -0
  12. package/dist/models/coverage-definition-class.js +15 -0
  13. package/dist/models/{rest-get-product-config-tariffs-response-class.d.ts → get-product-config-tariffs-response-class.d.ts} +4 -4
  14. package/dist/models/get-product-config-tariffs-response-class.js +15 -0
  15. package/dist/models/index.d.ts +4 -1
  16. package/dist/models/index.js +4 -1
  17. package/dist/models/shared-product-version-config-class.d.ts +7 -0
  18. package/dist/models/tariff-category-summary-class.d.ts +4 -4
  19. package/dist/models/tariff-summary-class.d.ts +1 -1
  20. package/models/category-class.ts +0 -12
  21. package/models/category-coverage-summary-class.ts +49 -0
  22. package/models/category-definition-class.ts +49 -0
  23. package/models/coverage-class.ts +0 -12
  24. package/models/coverage-definition-class.ts +42 -0
  25. package/models/{rest-get-product-config-tariffs-response-class.ts → get-product-config-tariffs-response-class.ts} +4 -4
  26. package/models/index.ts +4 -1
  27. package/models/shared-product-version-config-class.ts +7 -0
  28. package/models/tariff-category-summary-class.ts +4 -4
  29. package/models/tariff-summary-class.ts +1 -1
  30. package/package.json +1 -1
  31. /package/dist/models/{rest-get-product-config-tariffs-response-class.js → category-coverage-summary-class.js} +0 -0
@@ -47,6 +47,8 @@ models/calculation-errors-class.ts
47
47
  models/calculation-item-errors-class.ts
48
48
  models/calculation-message-class.ts
49
49
  models/category-class.ts
50
+ models/category-coverage-summary-class.ts
51
+ models/category-definition-class.ts
50
52
  models/claim-config-class.ts
51
53
  models/claim-position-fields-class.ts
52
54
  models/clone-lead-request-dto.ts
@@ -57,6 +59,7 @@ models/commission-agreement-product-class.ts
57
59
  models/commission-agreement-version-class.ts
58
60
  models/commission-recipient-class.ts
59
61
  models/coverage-class.ts
62
+ models/coverage-definition-class.ts
60
63
  models/coverage-term-class.ts
61
64
  models/create-account-request-dto.ts
62
65
  models/create-bank-account-request-dto.ts
@@ -137,6 +140,7 @@ models/get-policy-request-dto.ts
137
140
  models/get-policy-response-class.ts
138
141
  models/get-premium-formula-request-dto.ts
139
142
  models/get-premium-formula-response-class.ts
143
+ models/get-product-config-tariffs-response-class.ts
140
144
  models/get-product-factor-response-class.ts
141
145
  models/get-product-factor-value-request-dto.ts
142
146
  models/get-product-factor-value-response-class.ts
@@ -236,7 +240,6 @@ models/rest-create-product-config-version-response-class.ts
236
240
  models/rest-get-product-config-response-class.ts
237
241
  models/rest-get-product-config-tariff-quote-request-dto.ts
238
242
  models/rest-get-product-config-tariff-quote-response-class.ts
239
- models/rest-get-product-config-tariffs-response-class.ts
240
243
  models/rest-get-product-config-version-response-class.ts
241
244
  models/rest-list-product-config-versions-response-class.ts
242
245
  models/rest-list-product-configs-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/insurance-sdk-node@1.93.1-beta.21 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.93.1-beta.23 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.93.1-beta.21
24
+ yarn add @emilgroup/insurance-sdk-node@1.93.1-beta.23
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -25,6 +25,8 @@ import { DeleteResponseByCodeClass } from '../models';
25
25
  // @ts-ignore
26
26
  import { EmptyResponseClass } from '../models';
27
27
  // @ts-ignore
28
+ import { GetProductConfigTariffsResponseClass } from '../models';
29
+ // @ts-ignore
28
30
  import { RestCreateProductConfigResponseClass } from '../models';
29
31
  // @ts-ignore
30
32
  import { RestCreateProductConfigVersionResponseClass } from '../models';
@@ -35,8 +37,6 @@ import { RestGetProductConfigTariffQuoteRequestDto } from '../models';
35
37
  // @ts-ignore
36
38
  import { RestGetProductConfigTariffQuoteResponseClass } from '../models';
37
39
  // @ts-ignore
38
- import { RestGetProductConfigTariffsResponseClass } from '../models';
39
- // @ts-ignore
40
40
  import { RestGetProductConfigVersionResponseClass } from '../models';
41
41
  // @ts-ignore
42
42
  import { RestListProductConfigVersionsResponseClass } from '../models';
@@ -329,7 +329,7 @@ export const ProductConfigsApiAxiosParamCreator = function (configuration?: Conf
329
329
  },
330
330
  /**
331
331
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
332
- * @summary Create the Product Config Tariff Quote
332
+ * @summary Returns a tariff quote with estimated invoice data
333
333
  * @param {number} productVersionId Product version id
334
334
  * @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
335
335
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -855,7 +855,7 @@ export const ProductConfigsApiFp = function(configuration?: Configuration) {
855
855
  },
856
856
  /**
857
857
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
858
- * @summary Create the Product Config Tariff Quote
858
+ * @summary Returns a tariff quote with estimated invoice data
859
859
  * @param {number} productVersionId Product version id
860
860
  * @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
861
861
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -874,7 +874,7 @@ export const ProductConfigsApiFp = function(configuration?: Configuration) {
874
874
  * @param {*} [options] Override http request option.
875
875
  * @throws {RequiredError}
876
876
  */
877
- async getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestGetProductConfigTariffsResponseClass>> {
877
+ async getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductConfigTariffsResponseClass>> {
878
878
  const localVarAxiosArgs = await localVarAxiosParamCreator.getProductConfigTariffs(productVersionId, authorization, options);
879
879
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
880
880
  },
@@ -1036,7 +1036,7 @@ export const ProductConfigsApiFactory = function (configuration?: Configuration,
1036
1036
  },
1037
1037
  /**
1038
1038
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
1039
- * @summary Create the Product Config Tariff Quote
1039
+ * @summary Returns a tariff quote with estimated invoice data
1040
1040
  * @param {number} productVersionId Product version id
1041
1041
  * @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
1042
1042
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1054,7 +1054,7 @@ export const ProductConfigsApiFactory = function (configuration?: Configuration,
1054
1054
  * @param {*} [options] Override http request option.
1055
1055
  * @throws {RequiredError}
1056
1056
  */
1057
- getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<RestGetProductConfigTariffsResponseClass> {
1057
+ getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<GetProductConfigTariffsResponseClass> {
1058
1058
  return localVarFp.getProductConfigTariffs(productVersionId, authorization, options).then((request) => request(axios, basePath));
1059
1059
  },
1060
1060
  /**
@@ -1623,7 +1623,7 @@ export class ProductConfigsApi extends BaseAPI {
1623
1623
 
1624
1624
  /**
1625
1625
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
1626
- * @summary Create the Product Config Tariff Quote
1626
+ * @summary Returns a tariff quote with estimated invoice data
1627
1627
  * @param {ProductConfigsApiGetProductConfigTariffQuoteRequest} requestParameters Request parameters.
1628
1628
  * @param {*} [options] Override http request option.
1629
1629
  * @throws {RequiredError}
@@ -14,12 +14,12 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { DeleteResponseByCodeClass } from '../models';
16
16
  import { EmptyResponseClass } from '../models';
17
+ import { GetProductConfigTariffsResponseClass } from '../models';
17
18
  import { RestCreateProductConfigResponseClass } from '../models';
18
19
  import { RestCreateProductConfigVersionResponseClass } from '../models';
19
20
  import { RestGetProductConfigResponseClass } from '../models';
20
21
  import { RestGetProductConfigTariffQuoteRequestDto } from '../models';
21
22
  import { RestGetProductConfigTariffQuoteResponseClass } from '../models';
22
- import { RestGetProductConfigTariffsResponseClass } from '../models';
23
23
  import { RestGetProductConfigVersionResponseClass } from '../models';
24
24
  import { RestListProductConfigVersionsResponseClass } from '../models';
25
25
  import { RestListProductConfigsResponseClass } from '../models';
@@ -83,7 +83,7 @@ export declare const ProductConfigsApiAxiosParamCreator: (configuration?: Config
83
83
  getProductConfig: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
84
84
  /**
85
85
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
86
- * @summary Create the Product Config Tariff Quote
86
+ * @summary Returns a tariff quote with estimated invoice data
87
87
  * @param {number} productVersionId Product version id
88
88
  * @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
89
89
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -226,7 +226,7 @@ export declare const ProductConfigsApiFp: (configuration?: Configuration) => {
226
226
  getProductConfig(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestGetProductConfigResponseClass>>;
227
227
  /**
228
228
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
229
- * @summary Create the Product Config Tariff Quote
229
+ * @summary Returns a tariff quote with estimated invoice data
230
230
  * @param {number} productVersionId Product version id
231
231
  * @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
232
232
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -242,7 +242,7 @@ export declare const ProductConfigsApiFp: (configuration?: Configuration) => {
242
242
  * @param {*} [options] Override http request option.
243
243
  * @throws {RequiredError}
244
244
  */
245
- getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestGetProductConfigTariffsResponseClass>>;
245
+ getProductConfigTariffs(productVersionId: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductConfigTariffsResponseClass>>;
246
246
  /**
247
247
  * Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
248
248
  * @summary Retrieve the Product Config Version
@@ -369,7 +369,7 @@ export declare const ProductConfigsApiFactory: (configuration?: Configuration, b
369
369
  getProductConfig(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<RestGetProductConfigResponseClass>;
370
370
  /**
371
371
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
372
- * @summary Create the Product Config Tariff Quote
372
+ * @summary Returns a tariff quote with estimated invoice data
373
373
  * @param {number} productVersionId Product version id
374
374
  * @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
375
375
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -385,7 +385,7 @@ export declare const ProductConfigsApiFactory: (configuration?: Configuration, b
385
385
  * @param {*} [options] Override http request option.
386
386
  * @throws {RequiredError}
387
387
  */
388
- getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<RestGetProductConfigTariffsResponseClass>;
388
+ getProductConfigTariffs(productVersionId: number, authorization?: string, options?: any): AxiosPromise<GetProductConfigTariffsResponseClass>;
389
389
  /**
390
390
  * Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
391
391
  * @summary Retrieve the Product Config Version
@@ -877,7 +877,7 @@ export declare class ProductConfigsApi extends BaseAPI {
877
877
  getProductConfig(requestParameters: ProductConfigsApiGetProductConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RestGetProductConfigResponseClass, any, {}>>;
878
878
  /**
879
879
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
880
- * @summary Create the Product Config Tariff Quote
880
+ * @summary Returns a tariff quote with estimated invoice data
881
881
  * @param {ProductConfigsApiGetProductConfigTariffQuoteRequest} requestParameters Request parameters.
882
882
  * @param {*} [options] Override http request option.
883
883
  * @throws {RequiredError}
@@ -892,7 +892,7 @@ export declare class ProductConfigsApi extends BaseAPI {
892
892
  * @throws {RequiredError}
893
893
  * @memberof ProductConfigsApi
894
894
  */
895
- getProductConfigTariffs(requestParameters: ProductConfigsApiGetProductConfigTariffsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RestGetProductConfigTariffsResponseClass, any, {}>>;
895
+ getProductConfigTariffs(requestParameters: ProductConfigsApiGetProductConfigTariffsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductConfigTariffsResponseClass, any, {}>>;
896
896
  /**
897
897
  * Retrieves a product config version by code **Required Permissions** \"policy-management.products.view\"
898
898
  * @summary Retrieve the Product Config Version
@@ -370,7 +370,7 @@ var ProductConfigsApiAxiosParamCreator = function (configuration) {
370
370
  },
371
371
  /**
372
372
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
373
- * @summary Create the Product Config Tariff Quote
373
+ * @summary Returns a tariff quote with estimated invoice data
374
374
  * @param {number} productVersionId Product version id
375
375
  * @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
376
376
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -945,7 +945,7 @@ var ProductConfigsApiFp = function (configuration) {
945
945
  },
946
946
  /**
947
947
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
948
- * @summary Create the Product Config Tariff Quote
948
+ * @summary Returns a tariff quote with estimated invoice data
949
949
  * @param {number} productVersionId Product version id
950
950
  * @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
951
951
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1198,7 +1198,7 @@ var ProductConfigsApiFactory = function (configuration, basePath, axios) {
1198
1198
  },
1199
1199
  /**
1200
1200
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
1201
- * @summary Create the Product Config Tariff Quote
1201
+ * @summary Returns a tariff quote with estimated invoice data
1202
1202
  * @param {number} productVersionId Product version id
1203
1203
  * @param {RestGetProductConfigTariffQuoteRequestDto} restGetProductConfigTariffQuoteRequestDto
1204
1204
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1376,7 +1376,7 @@ var ProductConfigsApi = /** @class */ (function (_super) {
1376
1376
  };
1377
1377
  /**
1378
1378
  * Returns a tariff quote with estimated invoice data for the selected tariff from the currently published product config version **Required Permissions** \"policy-management.products.view\"
1379
- * @summary Create the Product Config Tariff Quote
1379
+ * @summary Returns a tariff quote with estimated invoice data
1380
1380
  * @param {ProductConfigsApiGetProductConfigTariffQuoteRequest} requestParameters Request parameters.
1381
1381
  * @param {*} [options] Override http request option.
1382
1382
  * @throws {RequiredError}
@@ -24,24 +24,12 @@ export interface CategoryClass {
24
24
  * @memberof CategoryClass
25
25
  */
26
26
  'key': string;
27
- /**
28
- * Display name shown to users
29
- * @type {string}
30
- * @memberof CategoryClass
31
- */
32
- 'label': string;
33
27
  /**
34
28
  * Category coverage term
35
29
  * @type {CoverageTermClass}
36
30
  * @memberof CategoryClass
37
31
  */
38
32
  'coverageTerm': CoverageTermClass;
39
- /**
40
- * Category description
41
- * @type {string}
42
- * @memberof CategoryClass
43
- */
44
- 'description': string;
45
33
  /**
46
34
  * List of category coverages
47
35
  * @type {Array<CoverageClass>}
@@ -0,0 +1,43 @@
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 { 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,43 @@
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 { CoverageDefinitionClass } from './coverage-definition-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CategoryDefinitionClass
17
+ */
18
+ export interface CategoryDefinitionClass {
19
+ /**
20
+ * Unique identifier key for category definition
21
+ * @type {string}
22
+ * @memberof CategoryDefinitionClass
23
+ */
24
+ 'key': string;
25
+ /**
26
+ * Display name shown to users
27
+ * @type {string}
28
+ * @memberof CategoryDefinitionClass
29
+ */
30
+ 'label': string;
31
+ /**
32
+ * Category definition description
33
+ * @type {string}
34
+ * @memberof CategoryDefinitionClass
35
+ */
36
+ 'description'?: string;
37
+ /**
38
+ * Coverage definitions available for this category
39
+ * @type {Array<CoverageDefinitionClass>}
40
+ * @memberof CategoryDefinitionClass
41
+ */
42
+ 'coverageDefinitions': Array<CoverageDefinitionClass>;
43
+ }
@@ -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 });
@@ -22,18 +22,6 @@ export interface CoverageClass {
22
22
  * @memberof CoverageClass
23
23
  */
24
24
  'key': string;
25
- /**
26
- * Display name shown to users
27
- * @type {string}
28
- * @memberof CoverageClass
29
- */
30
- 'label': string;
31
- /**
32
- * Category coverage description
33
- * @type {string}
34
- * @memberof CoverageClass
35
- */
36
- 'description': string;
37
25
  /**
38
26
  * Coverage term
39
27
  * @type {CoverageTermClass}
@@ -0,0 +1,36 @@
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 CoverageDefinitionClass
16
+ */
17
+ export interface CoverageDefinitionClass {
18
+ /**
19
+ * Unique identifier key for coverage definition
20
+ * @type {string}
21
+ * @memberof CoverageDefinitionClass
22
+ */
23
+ 'key': string;
24
+ /**
25
+ * Display name shown to users
26
+ * @type {string}
27
+ * @memberof CoverageDefinitionClass
28
+ */
29
+ 'label': string;
30
+ /**
31
+ * Coverage definition description
32
+ * @type {string}
33
+ * @memberof CoverageDefinitionClass
34
+ */
35
+ 'description'?: string;
36
+ }
@@ -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 });
@@ -13,19 +13,19 @@ import { TariffSummaryClass } from './tariff-summary-class';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface RestGetProductConfigTariffsResponseClass
16
+ * @interface GetProductConfigTariffsResponseClass
17
17
  */
18
- export interface RestGetProductConfigTariffsResponseClass {
18
+ export interface GetProductConfigTariffsResponseClass {
19
19
  /**
20
20
  * List of tariff variations
21
21
  * @type {Array<TariffSummaryClass>}
22
- * @memberof RestGetProductConfigTariffsResponseClass
22
+ * @memberof GetProductConfigTariffsResponseClass
23
23
  */
24
24
  'tariffs': Array<TariffSummaryClass>;
25
25
  /**
26
26
  * Total amount of items.
27
27
  * @type {number}
28
- * @memberof RestGetProductConfigTariffsResponseClass
28
+ * @memberof GetProductConfigTariffsResponseClass
29
29
  */
30
30
  'totalItems': number;
31
31
  }
@@ -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 });
@@ -12,6 +12,8 @@ export * from './calculation-errors-class';
12
12
  export * from './calculation-item-errors-class';
13
13
  export * from './calculation-message-class';
14
14
  export * from './category-class';
15
+ export * from './category-coverage-summary-class';
16
+ export * from './category-definition-class';
15
17
  export * from './claim-config-class';
16
18
  export * from './claim-position-fields-class';
17
19
  export * from './clone-lead-request-dto';
@@ -22,6 +24,7 @@ export * from './commission-agreement-product-class';
22
24
  export * from './commission-agreement-version-class';
23
25
  export * from './commission-recipient-class';
24
26
  export * from './coverage-class';
27
+ export * from './coverage-definition-class';
25
28
  export * from './coverage-term-class';
26
29
  export * from './create-account-request-dto';
27
30
  export * from './create-bank-account-request-dto';
@@ -102,6 +105,7 @@ export * from './get-policy-request-dto';
102
105
  export * from './get-policy-response-class';
103
106
  export * from './get-premium-formula-request-dto';
104
107
  export * from './get-premium-formula-response-class';
108
+ export * from './get-product-config-tariffs-response-class';
105
109
  export * from './get-product-factor-response-class';
106
110
  export * from './get-product-factor-value-request-dto';
107
111
  export * from './get-product-factor-value-response-class';
@@ -200,7 +204,6 @@ export * from './rest-create-product-config-version-response-class';
200
204
  export * from './rest-get-product-config-response-class';
201
205
  export * from './rest-get-product-config-tariff-quote-request-dto';
202
206
  export * from './rest-get-product-config-tariff-quote-response-class';
203
- export * from './rest-get-product-config-tariffs-response-class';
204
207
  export * from './rest-get-product-config-version-response-class';
205
208
  export * from './rest-list-product-config-versions-response-class';
206
209
  export * from './rest-list-product-configs-response-class';
@@ -28,6 +28,8 @@ __exportStar(require("./calculation-errors-class"), exports);
28
28
  __exportStar(require("./calculation-item-errors-class"), exports);
29
29
  __exportStar(require("./calculation-message-class"), exports);
30
30
  __exportStar(require("./category-class"), exports);
31
+ __exportStar(require("./category-coverage-summary-class"), exports);
32
+ __exportStar(require("./category-definition-class"), exports);
31
33
  __exportStar(require("./claim-config-class"), exports);
32
34
  __exportStar(require("./claim-position-fields-class"), exports);
33
35
  __exportStar(require("./clone-lead-request-dto"), exports);
@@ -38,6 +40,7 @@ __exportStar(require("./commission-agreement-product-class"), exports);
38
40
  __exportStar(require("./commission-agreement-version-class"), exports);
39
41
  __exportStar(require("./commission-recipient-class"), exports);
40
42
  __exportStar(require("./coverage-class"), exports);
43
+ __exportStar(require("./coverage-definition-class"), exports);
41
44
  __exportStar(require("./coverage-term-class"), exports);
42
45
  __exportStar(require("./create-account-request-dto"), exports);
43
46
  __exportStar(require("./create-bank-account-request-dto"), exports);
@@ -118,6 +121,7 @@ __exportStar(require("./get-policy-request-dto"), exports);
118
121
  __exportStar(require("./get-policy-response-class"), exports);
119
122
  __exportStar(require("./get-premium-formula-request-dto"), exports);
120
123
  __exportStar(require("./get-premium-formula-response-class"), exports);
124
+ __exportStar(require("./get-product-config-tariffs-response-class"), exports);
121
125
  __exportStar(require("./get-product-factor-response-class"), exports);
122
126
  __exportStar(require("./get-product-factor-value-request-dto"), exports);
123
127
  __exportStar(require("./get-product-factor-value-response-class"), exports);
@@ -216,7 +220,6 @@ __exportStar(require("./rest-create-product-config-version-response-class"), exp
216
220
  __exportStar(require("./rest-get-product-config-response-class"), exports);
217
221
  __exportStar(require("./rest-get-product-config-tariff-quote-request-dto"), exports);
218
222
  __exportStar(require("./rest-get-product-config-tariff-quote-response-class"), exports);
219
- __exportStar(require("./rest-get-product-config-tariffs-response-class"), exports);
220
223
  __exportStar(require("./rest-get-product-config-version-response-class"), exports);
221
224
  __exportStar(require("./rest-list-product-config-versions-response-class"), exports);
222
225
  __exportStar(require("./rest-list-product-configs-response-class"), exports);
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CategoryDefinitionClass } from './category-definition-class';
12
13
  import { ClaimConfigClass } from './claim-config-class';
13
14
  import { SharedTariffVariationClass } from './shared-tariff-variation-class';
14
15
  /**
@@ -29,4 +30,10 @@ export interface SharedProductVersionConfigClass {
29
30
  * @memberof SharedProductVersionConfigClass
30
31
  */
31
32
  'tariffVariations': Array<SharedTariffVariationClass>;
33
+ /**
34
+ * List of category definitions used across tariff variations
35
+ * @type {Array<CategoryDefinitionClass>}
36
+ * @memberof SharedProductVersionConfigClass
37
+ */
38
+ 'categoryDefinitions': Array<CategoryDefinitionClass>;
32
39
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CoverageClass } from './coverage-class';
12
+ import { CategoryCoverageSummaryClass } from './category-coverage-summary-class';
13
13
  import { CoverageTermClass } from './coverage-term-class';
14
14
  /**
15
15
  *
@@ -34,7 +34,7 @@ export interface TariffCategorySummaryClass {
34
34
  * @type {string}
35
35
  * @memberof TariffCategorySummaryClass
36
36
  */
37
- 'description': string;
37
+ 'description'?: string;
38
38
  /**
39
39
  * Category coverage term
40
40
  * @type {CoverageTermClass}
@@ -43,8 +43,8 @@ export interface TariffCategorySummaryClass {
43
43
  'coverageTerm': CoverageTermClass;
44
44
  /**
45
45
  * List of category coverages
46
- * @type {Array<CoverageClass>}
46
+ * @type {Array<CategoryCoverageSummaryClass>}
47
47
  * @memberof TariffCategorySummaryClass
48
48
  */
49
- 'coverages': Array<CoverageClass>;
49
+ 'coverages': Array<CategoryCoverageSummaryClass>;
50
50
  }
@@ -34,7 +34,7 @@ export interface TariffSummaryClass {
34
34
  * @type {string}
35
35
  * @memberof TariffSummaryClass
36
36
  */
37
- 'description': string;
37
+ 'description'?: string;
38
38
  /**
39
39
  * Tariff coverage term
40
40
  * @type {TariffCoverageTermClass}
@@ -29,24 +29,12 @@ export interface CategoryClass {
29
29
  * @memberof CategoryClass
30
30
  */
31
31
  'key': string;
32
- /**
33
- * Display name shown to users
34
- * @type {string}
35
- * @memberof CategoryClass
36
- */
37
- 'label': string;
38
32
  /**
39
33
  * Category coverage term
40
34
  * @type {CoverageTermClass}
41
35
  * @memberof CategoryClass
42
36
  */
43
37
  'coverageTerm': CoverageTermClass;
44
- /**
45
- * Category description
46
- * @type {string}
47
- * @memberof CategoryClass
48
- */
49
- 'description': string;
50
38
  /**
51
39
  * List of category coverages
52
40
  * @type {Array<CoverageClass>}
@@ -0,0 +1,49 @@
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 { CoverageTermClass } from './coverage-term-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CategoryCoverageSummaryClass
22
+ */
23
+ export interface CategoryCoverageSummaryClass {
24
+ /**
25
+ * Unique identifier key for coverage
26
+ * @type {string}
27
+ * @memberof CategoryCoverageSummaryClass
28
+ */
29
+ 'key': string;
30
+ /**
31
+ * Display name shown to users
32
+ * @type {string}
33
+ * @memberof CategoryCoverageSummaryClass
34
+ */
35
+ 'label': string;
36
+ /**
37
+ * Coverage description
38
+ * @type {string}
39
+ * @memberof CategoryCoverageSummaryClass
40
+ */
41
+ 'description'?: string;
42
+ /**
43
+ * Coverage term
44
+ * @type {CoverageTermClass}
45
+ * @memberof CategoryCoverageSummaryClass
46
+ */
47
+ 'coverageTerm': CoverageTermClass;
48
+ }
49
+
@@ -0,0 +1,49 @@
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 { CoverageDefinitionClass } from './coverage-definition-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CategoryDefinitionClass
22
+ */
23
+ export interface CategoryDefinitionClass {
24
+ /**
25
+ * Unique identifier key for category definition
26
+ * @type {string}
27
+ * @memberof CategoryDefinitionClass
28
+ */
29
+ 'key': string;
30
+ /**
31
+ * Display name shown to users
32
+ * @type {string}
33
+ * @memberof CategoryDefinitionClass
34
+ */
35
+ 'label': string;
36
+ /**
37
+ * Category definition description
38
+ * @type {string}
39
+ * @memberof CategoryDefinitionClass
40
+ */
41
+ 'description'?: string;
42
+ /**
43
+ * Coverage definitions available for this category
44
+ * @type {Array<CoverageDefinitionClass>}
45
+ * @memberof CategoryDefinitionClass
46
+ */
47
+ 'coverageDefinitions': Array<CoverageDefinitionClass>;
48
+ }
49
+
@@ -27,18 +27,6 @@ export interface CoverageClass {
27
27
  * @memberof CoverageClass
28
28
  */
29
29
  'key': string;
30
- /**
31
- * Display name shown to users
32
- * @type {string}
33
- * @memberof CoverageClass
34
- */
35
- 'label': string;
36
- /**
37
- * Category coverage description
38
- * @type {string}
39
- * @memberof CoverageClass
40
- */
41
- 'description': string;
42
30
  /**
43
31
  * Coverage term
44
32
  * @type {CoverageTermClass}
@@ -0,0 +1,42 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CoverageDefinitionClass
21
+ */
22
+ export interface CoverageDefinitionClass {
23
+ /**
24
+ * Unique identifier key for coverage definition
25
+ * @type {string}
26
+ * @memberof CoverageDefinitionClass
27
+ */
28
+ 'key': string;
29
+ /**
30
+ * Display name shown to users
31
+ * @type {string}
32
+ * @memberof CoverageDefinitionClass
33
+ */
34
+ 'label': string;
35
+ /**
36
+ * Coverage definition description
37
+ * @type {string}
38
+ * @memberof CoverageDefinitionClass
39
+ */
40
+ 'description'?: string;
41
+ }
42
+
@@ -18,19 +18,19 @@ import { TariffSummaryClass } from './tariff-summary-class';
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface RestGetProductConfigTariffsResponseClass
21
+ * @interface GetProductConfigTariffsResponseClass
22
22
  */
23
- export interface RestGetProductConfigTariffsResponseClass {
23
+ export interface GetProductConfigTariffsResponseClass {
24
24
  /**
25
25
  * List of tariff variations
26
26
  * @type {Array<TariffSummaryClass>}
27
- * @memberof RestGetProductConfigTariffsResponseClass
27
+ * @memberof GetProductConfigTariffsResponseClass
28
28
  */
29
29
  'tariffs': Array<TariffSummaryClass>;
30
30
  /**
31
31
  * Total amount of items.
32
32
  * @type {number}
33
- * @memberof RestGetProductConfigTariffsResponseClass
33
+ * @memberof GetProductConfigTariffsResponseClass
34
34
  */
35
35
  'totalItems': number;
36
36
  }
package/models/index.ts CHANGED
@@ -12,6 +12,8 @@ export * from './calculation-errors-class';
12
12
  export * from './calculation-item-errors-class';
13
13
  export * from './calculation-message-class';
14
14
  export * from './category-class';
15
+ export * from './category-coverage-summary-class';
16
+ export * from './category-definition-class';
15
17
  export * from './claim-config-class';
16
18
  export * from './claim-position-fields-class';
17
19
  export * from './clone-lead-request-dto';
@@ -22,6 +24,7 @@ export * from './commission-agreement-product-class';
22
24
  export * from './commission-agreement-version-class';
23
25
  export * from './commission-recipient-class';
24
26
  export * from './coverage-class';
27
+ export * from './coverage-definition-class';
25
28
  export * from './coverage-term-class';
26
29
  export * from './create-account-request-dto';
27
30
  export * from './create-bank-account-request-dto';
@@ -102,6 +105,7 @@ export * from './get-policy-request-dto';
102
105
  export * from './get-policy-response-class';
103
106
  export * from './get-premium-formula-request-dto';
104
107
  export * from './get-premium-formula-response-class';
108
+ export * from './get-product-config-tariffs-response-class';
105
109
  export * from './get-product-factor-response-class';
106
110
  export * from './get-product-factor-value-request-dto';
107
111
  export * from './get-product-factor-value-response-class';
@@ -200,7 +204,6 @@ export * from './rest-create-product-config-version-response-class';
200
204
  export * from './rest-get-product-config-response-class';
201
205
  export * from './rest-get-product-config-tariff-quote-request-dto';
202
206
  export * from './rest-get-product-config-tariff-quote-response-class';
203
- export * from './rest-get-product-config-tariffs-response-class';
204
207
  export * from './rest-get-product-config-version-response-class';
205
208
  export * from './rest-list-product-config-versions-response-class';
206
209
  export * from './rest-list-product-configs-response-class';
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { CategoryDefinitionClass } from './category-definition-class';
16
17
  import { ClaimConfigClass } from './claim-config-class';
17
18
  import { SharedTariffVariationClass } from './shared-tariff-variation-class';
18
19
 
@@ -34,5 +35,11 @@ export interface SharedProductVersionConfigClass {
34
35
  * @memberof SharedProductVersionConfigClass
35
36
  */
36
37
  'tariffVariations': Array<SharedTariffVariationClass>;
38
+ /**
39
+ * List of category definitions used across tariff variations
40
+ * @type {Array<CategoryDefinitionClass>}
41
+ * @memberof SharedProductVersionConfigClass
42
+ */
43
+ 'categoryDefinitions': Array<CategoryDefinitionClass>;
37
44
  }
38
45
 
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { CoverageClass } from './coverage-class';
16
+ import { CategoryCoverageSummaryClass } from './category-coverage-summary-class';
17
17
  import { CoverageTermClass } from './coverage-term-class';
18
18
 
19
19
  /**
@@ -39,7 +39,7 @@ export interface TariffCategorySummaryClass {
39
39
  * @type {string}
40
40
  * @memberof TariffCategorySummaryClass
41
41
  */
42
- 'description': string;
42
+ 'description'?: string;
43
43
  /**
44
44
  * Category coverage term
45
45
  * @type {CoverageTermClass}
@@ -48,9 +48,9 @@ export interface TariffCategorySummaryClass {
48
48
  'coverageTerm': CoverageTermClass;
49
49
  /**
50
50
  * List of category coverages
51
- * @type {Array<CoverageClass>}
51
+ * @type {Array<CategoryCoverageSummaryClass>}
52
52
  * @memberof TariffCategorySummaryClass
53
53
  */
54
- 'coverages': Array<CoverageClass>;
54
+ 'coverages': Array<CategoryCoverageSummaryClass>;
55
55
  }
56
56
 
@@ -39,7 +39,7 @@ export interface TariffSummaryClass {
39
39
  * @type {string}
40
40
  * @memberof TariffSummaryClass
41
41
  */
42
- 'description': string;
42
+ 'description'?: string;
43
43
  /**
44
44
  * Tariff coverage term
45
45
  * @type {TariffCoverageTermClass}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.93.1-beta.21",
3
+ "version": "1.93.1-beta.23",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [