@emilgroup/insurance-sdk-node 1.104.1-beta.1 → 1.104.1-beta.100

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 (61) hide show
  1. package/.openapi-generator/FILES +5 -2
  2. package/README.md +2 -2
  3. package/api/health-check-api.ts +6 -10
  4. package/api/leads-api.ts +4 -4
  5. package/api/policies-api.ts +32 -32
  6. package/api/premium-calculation-api.ts +169 -0
  7. package/api.ts +2 -0
  8. package/dist/api/health-check-api.d.ts +7 -8
  9. package/dist/api/health-check-api.js +4 -4
  10. package/dist/api/leads-api.d.ts +4 -4
  11. package/dist/api/leads-api.js +3 -3
  12. package/dist/api/policies-api.d.ts +32 -32
  13. package/dist/api/policies-api.js +28 -28
  14. package/dist/api/premium-calculation-api.d.ts +97 -0
  15. package/dist/api/premium-calculation-api.js +228 -0
  16. package/dist/api.d.ts +1 -0
  17. package/dist/api.js +1 -0
  18. package/dist/models/calculate-premium-response-class.d.ts +39 -0
  19. package/dist/models/calculated-policy-objects-class.d.ts +25 -0
  20. package/dist/models/claim-config-class.d.ts +7 -0
  21. package/dist/models/create-draft-policy-request-dto.d.ts +1 -1
  22. package/dist/models/create-premium-formula-request-dto.d.ts +6 -0
  23. package/dist/models/create-product-request-dto.d.ts +12 -0
  24. package/dist/models/create-product-version-request-dto.d.ts +6 -0
  25. package/dist/models/get-draft-policy-request-dto.d.ts +1 -1
  26. package/dist/models/index.d.ts +4 -2
  27. package/dist/models/index.js +4 -2
  28. package/dist/models/partner-class.d.ts +6 -0
  29. package/dist/models/patch-draft-policy-request-dto.d.ts +2 -2
  30. package/dist/models/policy-object-dto.d.ts +1 -1
  31. package/dist/models/policy-premium-item-class.d.ts +1 -1
  32. package/dist/models/premium-formula-class.d.ts +6 -0
  33. package/dist/models/regulation-subtype-class.d.ts +30 -0
  34. package/dist/models/regulation-subtype-class.js +15 -0
  35. package/dist/models/regulation-subtypes-class.d.ts +37 -0
  36. package/dist/models/regulation-subtypes-class.js +15 -0
  37. package/dist/models/terminate-policy-request-dto.d.ts +7 -1
  38. package/models/calculate-premium-response-class.ts +45 -0
  39. package/models/calculated-policy-objects-class.ts +31 -0
  40. package/models/claim-config-class.ts +7 -0
  41. package/models/create-draft-policy-request-dto.ts +1 -1
  42. package/models/create-premium-formula-request-dto.ts +6 -0
  43. package/models/create-product-request-dto.ts +12 -0
  44. package/models/create-product-version-request-dto.ts +6 -0
  45. package/models/get-draft-policy-request-dto.ts +1 -1
  46. package/models/index.ts +4 -2
  47. package/models/partner-class.ts +6 -0
  48. package/models/patch-draft-policy-request-dto.ts +2 -2
  49. package/models/policy-object-dto.ts +1 -1
  50. package/models/policy-premium-item-class.ts +1 -1
  51. package/models/premium-formula-class.ts +6 -0
  52. package/models/regulation-subtype-class.ts +36 -0
  53. package/models/regulation-subtypes-class.ts +43 -0
  54. package/models/terminate-policy-request-dto.ts +7 -1
  55. package/package.json +1 -1
  56. package/dist/models/inline-response200.d.ts +0 -54
  57. package/dist/models/inline-response503.d.ts +0 -54
  58. package/models/inline-response200.ts +0 -48
  59. package/models/inline-response503.ts +0 -48
  60. /package/dist/models/{inline-response200.js → calculate-premium-response-class.js} +0 -0
  61. /package/dist/models/{inline-response503.js → calculated-policy-objects-class.js} +0 -0
@@ -0,0 +1,36 @@
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 RegulationSubtypeClass
21
+ */
22
+ export interface RegulationSubtypeClass {
23
+ /**
24
+ * Unique identifier key of the regulation subtype. Stored on the regulation item.
25
+ * @type {string}
26
+ * @memberof RegulationSubtypeClass
27
+ */
28
+ 'key': string;
29
+ /**
30
+ * Display name shown to users
31
+ * @type {string}
32
+ * @memberof RegulationSubtypeClass
33
+ */
34
+ 'label': string;
35
+ }
36
+
@@ -0,0 +1,43 @@
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 { RegulationSubtypeClass } from './regulation-subtype-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface RegulationSubtypesClass
22
+ */
23
+ export interface RegulationSubtypesClass {
24
+ /**
25
+ * Subtypes available for payout regulations. Always contains the default subtypes \"indemnity\" and \"internalProcess\".
26
+ * @type {Array<RegulationSubtypeClass>}
27
+ * @memberof RegulationSubtypesClass
28
+ */
29
+ 'payout': Array<RegulationSubtypeClass>;
30
+ /**
31
+ * Subtypes available for regress regulations
32
+ * @type {Array<RegulationSubtypeClass>}
33
+ * @memberof RegulationSubtypesClass
34
+ */
35
+ 'regress': Array<RegulationSubtypeClass>;
36
+ /**
37
+ * Subtypes available for reserve regulations
38
+ * @type {Array<RegulationSubtypeClass>}
39
+ * @memberof RegulationSubtypesClass
40
+ */
41
+ 'reserve': Array<RegulationSubtypeClass>;
42
+ }
43
+
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface TerminatePolicyRequestDto {
23
23
  /**
24
- * Terminate from.
24
+ * Policy termination date. A different date may be used depending on the policy minimum term, termination notice period, and the submission date.
25
25
  * @type {string}
26
26
  * @memberof TerminatePolicyRequestDto
27
27
  */
@@ -32,6 +32,12 @@ export interface TerminatePolicyRequestDto {
32
32
  * @memberof TerminatePolicyRequestDto
33
33
  */
34
34
  'terminationReason'?: TerminatePolicyRequestDtoTerminationReasonEnum;
35
+ /**
36
+ * Submission date. Date used for checking if the notice was given in time or late when the termination notice period is configured. Defaults to the current date when omitted.
37
+ * @type {string}
38
+ * @memberof TerminatePolicyRequestDto
39
+ */
40
+ 'submissionDate'?: string;
35
41
  }
36
42
 
37
43
  export const TerminatePolicyRequestDtoTerminationReasonEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.104.1-beta.1",
3
+ "version": "1.104.1-beta.100",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,54 +0,0 @@
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 InlineResponse200
16
- */
17
- export interface InlineResponse200 {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof InlineResponse200
22
- */
23
- 'status'?: string;
24
- /**
25
- *
26
- * @type {{ [key: string]: { [key: string]: object; }; }}
27
- * @memberof InlineResponse200
28
- */
29
- 'info'?: {
30
- [key: string]: {
31
- [key: string]: object;
32
- };
33
- } | null;
34
- /**
35
- *
36
- * @type {{ [key: string]: { [key: string]: object; }; }}
37
- * @memberof InlineResponse200
38
- */
39
- 'error'?: {
40
- [key: string]: {
41
- [key: string]: object;
42
- };
43
- } | null;
44
- /**
45
- *
46
- * @type {{ [key: string]: { [key: string]: object; }; }}
47
- * @memberof InlineResponse200
48
- */
49
- 'details'?: {
50
- [key: string]: {
51
- [key: string]: object;
52
- };
53
- };
54
- }
@@ -1,54 +0,0 @@
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 InlineResponse503
16
- */
17
- export interface InlineResponse503 {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof InlineResponse503
22
- */
23
- 'status'?: string;
24
- /**
25
- *
26
- * @type {{ [key: string]: { [key: string]: object; }; }}
27
- * @memberof InlineResponse503
28
- */
29
- 'info'?: {
30
- [key: string]: {
31
- [key: string]: object;
32
- };
33
- } | null;
34
- /**
35
- *
36
- * @type {{ [key: string]: { [key: string]: object; }; }}
37
- * @memberof InlineResponse503
38
- */
39
- 'error'?: {
40
- [key: string]: {
41
- [key: string]: object;
42
- };
43
- } | null;
44
- /**
45
- *
46
- * @type {{ [key: string]: { [key: string]: object; }; }}
47
- * @memberof InlineResponse503
48
- */
49
- 'details'?: {
50
- [key: string]: {
51
- [key: string]: object;
52
- };
53
- };
54
- }
@@ -1,48 +0,0 @@
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 InlineResponse200
21
- */
22
- export interface InlineResponse200 {
23
- /**
24
- *
25
- * @type {string}
26
- * @memberof InlineResponse200
27
- */
28
- 'status'?: string;
29
- /**
30
- *
31
- * @type {{ [key: string]: { [key: string]: object; }; }}
32
- * @memberof InlineResponse200
33
- */
34
- 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
- /**
36
- *
37
- * @type {{ [key: string]: { [key: string]: object; }; }}
38
- * @memberof InlineResponse200
39
- */
40
- 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
- /**
42
- *
43
- * @type {{ [key: string]: { [key: string]: object; }; }}
44
- * @memberof InlineResponse200
45
- */
46
- 'details'?: { [key: string]: { [key: string]: object; }; };
47
- }
48
-
@@ -1,48 +0,0 @@
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 InlineResponse503
21
- */
22
- export interface InlineResponse503 {
23
- /**
24
- *
25
- * @type {string}
26
- * @memberof InlineResponse503
27
- */
28
- 'status'?: string;
29
- /**
30
- *
31
- * @type {{ [key: string]: { [key: string]: object; }; }}
32
- * @memberof InlineResponse503
33
- */
34
- 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
- /**
36
- *
37
- * @type {{ [key: string]: { [key: string]: object; }; }}
38
- * @memberof InlineResponse503
39
- */
40
- 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
- /**
42
- *
43
- * @type {{ [key: string]: { [key: string]: object; }; }}
44
- * @memberof InlineResponse503
45
- */
46
- 'details'?: { [key: string]: { [key: string]: object; }; };
47
- }
48
-