@emilgroup/public-api-sdk-node 1.35.1-beta.12 → 1.35.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.
Files changed (48) hide show
  1. package/.openapi-generator/FILES +13 -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 +54 -0
  21. package/dist/models/coverage-term-class.js +25 -0
  22. package/dist/models/get-product-config-tariffs-response-class.d.ts +31 -0
  23. package/dist/models/get-product-config-tariffs-response-class.js +15 -0
  24. package/dist/models/index.d.ts +13 -0
  25. package/dist/models/index.js +13 -0
  26. package/dist/models/product-tariff-quote-class.d.ts +51 -0
  27. package/dist/models/product-tariff-quote-class.js +15 -0
  28. package/dist/models/tariff-category-summary-class.d.ts +50 -0
  29. package/dist/models/tariff-category-summary-class.js +15 -0
  30. package/dist/models/tariff-coverage-term-class.d.ts +48 -0
  31. package/dist/models/tariff-coverage-term-class.js +25 -0
  32. package/dist/models/tariff-summary-class.d.ts +50 -0
  33. package/dist/models/tariff-summary-class.js +15 -0
  34. package/models/amount-with-limit-class.ts +36 -0
  35. package/models/calculate-product-tariff-quote-request-dto.ts +44 -0
  36. package/models/calculate-product-tariff-quote-response-class.ts +31 -0
  37. package/models/calculation-errors-class.ts +31 -0
  38. package/models/calculation-item-errors-class.ts +49 -0
  39. package/models/calculation-message-class.ts +36 -0
  40. package/models/category-coverage-summary-class.ts +49 -0
  41. package/models/coverage-term-class.ts +64 -0
  42. package/models/get-product-config-tariffs-response-class.ts +37 -0
  43. package/models/index.ts +13 -0
  44. package/models/product-tariff-quote-class.ts +57 -0
  45. package/models/tariff-category-summary-class.ts +56 -0
  46. package/models/tariff-coverage-term-class.ts +58 -0
  47. package/models/tariff-summary-class.ts +56 -0
  48. package/package.json +1 -1
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 CalculationMessageClass
21
+ */
22
+ export interface CalculationMessageClass {
23
+ /**
24
+ * Message severity (ERROR, WARNING, INFO).
25
+ * @type {string}
26
+ * @memberof CalculationMessageClass
27
+ */
28
+ 'severity': string;
29
+ /**
30
+ * Error/warning/info message.
31
+ * @type {string}
32
+ * @memberof CalculationMessageClass
33
+ */
34
+ 'message': string;
35
+ }
36
+
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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,64 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { AmountWithLimitClass } from './amount-with-limit-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CoverageTermClass
22
+ */
23
+ export interface CoverageTermClass {
24
+ /**
25
+ * Whether this coverage term is covered
26
+ * @type {boolean}
27
+ * @memberof CoverageTermClass
28
+ */
29
+ 'isCovered': boolean;
30
+ /**
31
+ * Coverage term type (fixed or percent)
32
+ * @type {string}
33
+ * @memberof CoverageTermClass
34
+ */
35
+ 'type': CoverageTermClassTypeEnum;
36
+ /**
37
+ * Time period over which the coverage term applies
38
+ * @type {string}
39
+ * @memberof CoverageTermClass
40
+ */
41
+ 'period': CoverageTermClassPeriodEnum;
42
+ /**
43
+ * Coverage term value - fixed amount or percentage with maximum limit
44
+ * @type {AmountWithLimitClass}
45
+ * @memberof CoverageTermClass
46
+ */
47
+ 'value': AmountWithLimitClass;
48
+ }
49
+
50
+ export const CoverageTermClassTypeEnum = {
51
+ Fixed: 'fixed',
52
+ Percent: 'percent'
53
+ } as const;
54
+
55
+ export type CoverageTermClassTypeEnum = typeof CoverageTermClassTypeEnum[keyof typeof CoverageTermClassTypeEnum];
56
+ export const CoverageTermClassPeriodEnum = {
57
+ CalendarYear: 'CALENDAR_YEAR',
58
+ PolicyYear: 'POLICY_YEAR',
59
+ PerClaim: 'PER_CLAIM'
60
+ } as const;
61
+
62
+ export type CoverageTermClassPeriodEnum = typeof CoverageTermClassPeriodEnum[keyof typeof CoverageTermClassPeriodEnum];
63
+
64
+
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { TariffSummaryClass } from './tariff-summary-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetProductConfigTariffsResponseClass
22
+ */
23
+ export interface GetProductConfigTariffsResponseClass {
24
+ /**
25
+ * Tariffs
26
+ * @type {Array<TariffSummaryClass>}
27
+ * @memberof GetProductConfigTariffsResponseClass
28
+ */
29
+ 'tariffs': Array<TariffSummaryClass>;
30
+ /**
31
+ * Total amount of items.
32
+ * @type {number}
33
+ * @memberof GetProductConfigTariffsResponseClass
34
+ */
35
+ 'totalItems': number;
36
+ }
37
+
package/models/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './address-completion-item-class';
2
2
  export * from './address-completion-response-class';
3
3
  export * from './address-field-score-class';
4
+ export * from './amount-with-limit-class';
4
5
  export * from './bank-transfer-dto';
5
6
  export * from './bank-transfer-response-class';
6
7
  export * from './billing-address-dto';
@@ -8,7 +9,13 @@ export * from './billing-address-response-class';
8
9
  export * from './booking-funnel-class';
9
10
  export * from './calculate-product-fields-request-dto';
10
11
  export * from './calculate-product-fields-response-class';
12
+ export * from './calculate-product-tariff-quote-request-dto';
13
+ export * from './calculate-product-tariff-quote-response-class';
14
+ export * from './calculation-errors-class';
15
+ export * from './calculation-item-errors-class';
16
+ export * from './calculation-message-class';
11
17
  export * from './card-details-dto';
18
+ export * from './category-coverage-summary-class';
12
19
  export * from './complete-adyen-payment-setup-request-dto';
13
20
  export * from './complete-braintree-payment-setup-request-dto';
14
21
  export * from './complete-eis-payment-setup-request-dto';
@@ -17,6 +24,7 @@ export * from './complete-email-verification-response-class';
17
24
  export * from './complete-payment-setup-request-dto';
18
25
  export * from './complete-payment-setup-response-class';
19
26
  export * from './complete-stripe-payment-setup-request-dto';
27
+ export * from './coverage-term-class';
20
28
  export * from './create-account-request-dto';
21
29
  export * from './create-bank-account-request-dto';
22
30
  export * from './create-custom-application-request-dto';
@@ -38,6 +46,7 @@ export * from './filter-named-range-response-class';
38
46
  export * from './get-booking-funnel-response-class';
39
47
  export * from './get-custom-css-response-class';
40
48
  export * from './get-lead-response-class';
49
+ export * from './get-product-config-tariffs-response-class';
41
50
  export * from './get-product-document-download-url-response-class';
42
51
  export * from './get-public-psp-settings-response-class';
43
52
  export * from './initiate-adyen-payment-setup-request-dto';
@@ -86,6 +95,7 @@ export * from './product-document-class';
86
95
  export * from './product-factor-for-version-class';
87
96
  export * from './product-factor-value-for-version-class';
88
97
  export * from './product-field-class';
98
+ export * from './product-tariff-quote-class';
89
99
  export * from './product-version-class';
90
100
  export * from './psp-configuration-response-class';
91
101
  export * from './send-notification-request-dto';
@@ -95,6 +105,9 @@ export * from './sepa-dto';
95
105
  export * from './sepa-response-class';
96
106
  export * from './structured-address-class';
97
107
  export * from './suggested-address-details-class';
108
+ export * from './tariff-category-summary-class';
109
+ export * from './tariff-coverage-term-class';
110
+ export * from './tariff-summary-class';
98
111
  export * from './update-lead-request-dto';
99
112
  export * from './update-lead-response-class';
100
113
  export * from './uploaded-document-dto';
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { CalculationErrorsClass } from './calculation-errors-class';
17
+ import { CreateEstimatedInvoiceResponseClass } from './create-estimated-invoice-response-class';
18
+ import { PolicyObjectResponseClass } from './policy-object-response-class';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface ProductTariffQuoteClass
24
+ */
25
+ export interface ProductTariffQuoteClass {
26
+ /**
27
+ * Tariff key
28
+ * @type {string}
29
+ * @memberof ProductTariffQuoteClass
30
+ */
31
+ 'tariffKey': string;
32
+ /**
33
+ * Estimated invoice
34
+ * @type {CreateEstimatedInvoiceResponseClass}
35
+ * @memberof ProductTariffQuoteClass
36
+ */
37
+ 'estimatedInvoice': CreateEstimatedInvoiceResponseClass;
38
+ /**
39
+ * 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
40
+ * @type {Array<PolicyObjectResponseClass>}
41
+ * @memberof ProductTariffQuoteClass
42
+ */
43
+ 'policyObjects': Array<PolicyObjectResponseClass>;
44
+ /**
45
+ * 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
46
+ * @type {Array<PolicyObjectResponseClass>}
47
+ * @memberof ProductTariffQuoteClass
48
+ */
49
+ 'calculatedPolicyObjects': Array<PolicyObjectResponseClass>;
50
+ /**
51
+ * Calculation errors
52
+ * @type {CalculationErrorsClass}
53
+ * @memberof ProductTariffQuoteClass
54
+ */
55
+ 'errors'?: CalculationErrorsClass;
56
+ }
57
+
@@ -0,0 +1,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { CategoryCoverageSummaryClass } from './category-coverage-summary-class';
17
+ import { CoverageTermClass } from './coverage-term-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface TariffCategorySummaryClass
23
+ */
24
+ export interface TariffCategorySummaryClass {
25
+ /**
26
+ * Unique identifier key for category
27
+ * @type {string}
28
+ * @memberof TariffCategorySummaryClass
29
+ */
30
+ 'key': string;
31
+ /**
32
+ * Display name shown to users
33
+ * @type {string}
34
+ * @memberof TariffCategorySummaryClass
35
+ */
36
+ 'label': string;
37
+ /**
38
+ * Category description
39
+ * @type {string}
40
+ * @memberof TariffCategorySummaryClass
41
+ */
42
+ 'description'?: string;
43
+ /**
44
+ * Category coverage term
45
+ * @type {CoverageTermClass}
46
+ * @memberof TariffCategorySummaryClass
47
+ */
48
+ 'coverageTerm': CoverageTermClass;
49
+ /**
50
+ * List of category coverages
51
+ * @type {Array<CategoryCoverageSummaryClass>}
52
+ * @memberof TariffCategorySummaryClass
53
+ */
54
+ 'coverages': Array<CategoryCoverageSummaryClass>;
55
+ }
56
+
@@ -0,0 +1,58 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { AmountWithLimitClass } from './amount-with-limit-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface TariffCoverageTermClass
22
+ */
23
+ export interface TariffCoverageTermClass {
24
+ /**
25
+ * Coverage term type (fixed or percent)
26
+ * @type {string}
27
+ * @memberof TariffCoverageTermClass
28
+ */
29
+ 'type': TariffCoverageTermClassTypeEnum;
30
+ /**
31
+ * Time period over which the coverage term applies
32
+ * @type {string}
33
+ * @memberof TariffCoverageTermClass
34
+ */
35
+ 'period': TariffCoverageTermClassPeriodEnum;
36
+ /**
37
+ * Coverage term value - fixed amount or percentage with maximum limit
38
+ * @type {AmountWithLimitClass}
39
+ * @memberof TariffCoverageTermClass
40
+ */
41
+ 'value': AmountWithLimitClass;
42
+ }
43
+
44
+ export const TariffCoverageTermClassTypeEnum = {
45
+ Fixed: 'fixed',
46
+ Percent: 'percent'
47
+ } as const;
48
+
49
+ export type TariffCoverageTermClassTypeEnum = typeof TariffCoverageTermClassTypeEnum[keyof typeof TariffCoverageTermClassTypeEnum];
50
+ export const TariffCoverageTermClassPeriodEnum = {
51
+ CalendarYear: 'CALENDAR_YEAR',
52
+ PolicyYear: 'POLICY_YEAR',
53
+ PerClaim: 'PER_CLAIM'
54
+ } as const;
55
+
56
+ export type TariffCoverageTermClassPeriodEnum = typeof TariffCoverageTermClassPeriodEnum[keyof typeof TariffCoverageTermClassPeriodEnum];
57
+
58
+
@@ -0,0 +1,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { TariffCategorySummaryClass } from './tariff-category-summary-class';
17
+ import { TariffCoverageTermClass } from './tariff-coverage-term-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface TariffSummaryClass
23
+ */
24
+ export interface TariffSummaryClass {
25
+ /**
26
+ * Unique identifier key for tariff variation
27
+ * @type {string}
28
+ * @memberof TariffSummaryClass
29
+ */
30
+ 'key': string;
31
+ /**
32
+ * Display name shown to users
33
+ * @type {string}
34
+ * @memberof TariffSummaryClass
35
+ */
36
+ 'label': string;
37
+ /**
38
+ * Tariff variation description
39
+ * @type {string}
40
+ * @memberof TariffSummaryClass
41
+ */
42
+ 'description'?: string;
43
+ /**
44
+ * Tariff coverage term
45
+ * @type {TariffCoverageTermClass}
46
+ * @memberof TariffSummaryClass
47
+ */
48
+ 'coverageTerm': TariffCoverageTermClass;
49
+ /**
50
+ * List of tariff variation categories
51
+ * @type {Array<TariffCategorySummaryClass>}
52
+ * @memberof TariffSummaryClass
53
+ */
54
+ 'categories': Array<TariffCategorySummaryClass>;
55
+ }
56
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/public-api-sdk-node",
3
- "version": "1.35.1-beta.12",
3
+ "version": "1.35.1-beta.14",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [