@emilgroup/insurance-sdk-node 1.49.0 → 1.49.1

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 (129) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +2 -2
  3. package/api/booking-funnel-versions-api.ts +8 -8
  4. package/api/booking-funnels-api.ts +12 -12
  5. package/api/emil-functions-api.ts +1314 -0
  6. package/api/insured-object-types-api.ts +4 -4
  7. package/api/insured-objects-api.ts +8 -8
  8. package/api/lead-statuses-api.ts +104 -20
  9. package/api/lead-versions-api.ts +8 -8
  10. package/api/leads-api.ts +8 -8
  11. package/api/named-ranges-api.ts +8 -8
  12. package/api/policies-api.ts +107 -109
  13. package/api/policy-partner-roles-api.ts +8 -8
  14. package/api/premium-formulas-api.ts +8 -8
  15. package/api/product-factors-api.ts +8 -8
  16. package/api/product-fields-api.ts +119 -12
  17. package/api/product-versions-api.ts +4 -4
  18. package/api/products-api.ts +20 -20
  19. package/api/status-transition-rules-api.ts +8 -8
  20. package/api.ts +2 -0
  21. package/dist/api/booking-funnel-versions-api.d.ts +8 -8
  22. package/dist/api/booking-funnel-versions-api.js +8 -8
  23. package/dist/api/booking-funnels-api.d.ts +12 -12
  24. package/dist/api/booking-funnels-api.js +12 -12
  25. package/dist/api/emil-functions-api.d.ts +727 -0
  26. package/dist/api/emil-functions-api.js +1202 -0
  27. package/dist/api/insured-object-types-api.d.ts +4 -4
  28. package/dist/api/insured-object-types-api.js +4 -4
  29. package/dist/api/insured-objects-api.d.ts +8 -8
  30. package/dist/api/insured-objects-api.js +8 -8
  31. package/dist/api/lead-statuses-api.d.ts +71 -17
  32. package/dist/api/lead-statuses-api.js +53 -17
  33. package/dist/api/lead-versions-api.d.ts +8 -8
  34. package/dist/api/lead-versions-api.js +8 -8
  35. package/dist/api/leads-api.d.ts +8 -8
  36. package/dist/api/leads-api.js +8 -8
  37. package/dist/api/named-ranges-api.d.ts +8 -8
  38. package/dist/api/named-ranges-api.js +8 -8
  39. package/dist/api/policies-api.d.ts +103 -103
  40. package/dist/api/policies-api.js +63 -64
  41. package/dist/api/policy-partner-roles-api.d.ts +8 -8
  42. package/dist/api/policy-partner-roles-api.js +8 -8
  43. package/dist/api/premium-formulas-api.d.ts +8 -8
  44. package/dist/api/premium-formulas-api.js +8 -8
  45. package/dist/api/product-factors-api.d.ts +8 -8
  46. package/dist/api/product-factors-api.js +8 -8
  47. package/dist/api/product-fields-api.d.ts +69 -12
  48. package/dist/api/product-fields-api.js +105 -12
  49. package/dist/api/product-versions-api.d.ts +4 -4
  50. package/dist/api/product-versions-api.js +4 -4
  51. package/dist/api/products-api.d.ts +20 -20
  52. package/dist/api/products-api.js +18 -18
  53. package/dist/api/status-transition-rules-api.d.ts +8 -8
  54. package/dist/api/status-transition-rules-api.js +8 -8
  55. package/dist/api.d.ts +1 -0
  56. package/dist/api.js +1 -0
  57. package/dist/models/booking-funnel-class.d.ts +1 -1
  58. package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
  59. package/dist/models/create-emil-function-request-dto.d.ts +42 -0
  60. package/dist/models/create-emil-function-request-dto.js +15 -0
  61. package/dist/models/create-emil-function-secret-request-dto.d.ts +36 -0
  62. package/dist/models/create-emil-function-secret-request-dto.js +15 -0
  63. package/dist/models/create-policy-partner-role-request-dto.d.ts +1 -1
  64. package/dist/models/create-product-field-request-dto.d.ts +7 -1
  65. package/dist/models/create-product-request-dto.d.ts +1 -1
  66. package/dist/models/emil-function-class.d.ts +60 -0
  67. package/dist/models/emil-function-class.js +15 -0
  68. package/dist/models/emil-function-secret-class.d.ts +30 -0
  69. package/dist/models/emil-function-secret-class.js +15 -0
  70. package/dist/models/execute-emil-function-request-dto.d.ts +24 -0
  71. package/dist/models/execute-emil-function-request-dto.js +15 -0
  72. package/dist/models/get-emil-function-secret-response-class.d.ts +24 -0
  73. package/dist/models/get-emil-function-secret-response-class.js +15 -0
  74. package/dist/models/get-product-request-dto.d.ts +1 -1
  75. package/dist/models/index.d.ts +11 -0
  76. package/dist/models/index.js +11 -0
  77. package/dist/models/insured-object-type-class.d.ts +1 -1
  78. package/dist/models/lead-class.d.ts +1 -1
  79. package/dist/models/lead-status-class.d.ts +1 -1
  80. package/dist/models/list-emil-function-secrets-response-class.d.ts +25 -0
  81. package/dist/models/list-emil-function-secrets-response-class.js +15 -0
  82. package/dist/models/list-emil-functions-response-class.d.ts +31 -0
  83. package/dist/models/list-emil-functions-response-class.js +15 -0
  84. package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
  85. package/dist/models/policy-partner-role-class.d.ts +1 -1
  86. package/dist/models/product-class.d.ts +1 -1
  87. package/dist/models/product-field-class.d.ts +6 -0
  88. package/dist/models/shared-product-field-class.d.ts +6 -0
  89. package/dist/models/status-transition-rule-class.d.ts +1 -1
  90. package/dist/models/swap-product-fields-order-request-dto.d.ts +30 -0
  91. package/dist/models/swap-product-fields-order-request-dto.js +15 -0
  92. package/dist/models/update-emil-function-request-dto.d.ts +42 -0
  93. package/dist/models/update-emil-function-request-dto.js +15 -0
  94. package/dist/models/update-emil-function-secret-request-dto.d.ts +30 -0
  95. package/dist/models/update-emil-function-secret-request-dto.js +15 -0
  96. package/dist/models/update-policy-partner-role-request-dto.d.ts +1 -1
  97. package/dist/models/update-product-field-request-dto.d.ts +7 -1
  98. package/dist/models/update-product-request-dto.d.ts +1 -1
  99. package/models/booking-funnel-class.ts +1 -1
  100. package/models/create-booking-funnel-request-dto.ts +1 -1
  101. package/models/create-emil-function-request-dto.ts +48 -0
  102. package/models/create-emil-function-secret-request-dto.ts +42 -0
  103. package/models/create-policy-partner-role-request-dto.ts +1 -1
  104. package/models/create-product-field-request-dto.ts +7 -1
  105. package/models/create-product-request-dto.ts +1 -1
  106. package/models/emil-function-class.ts +66 -0
  107. package/models/emil-function-secret-class.ts +36 -0
  108. package/models/execute-emil-function-request-dto.ts +30 -0
  109. package/models/get-emil-function-secret-response-class.ts +30 -0
  110. package/models/get-product-request-dto.ts +1 -1
  111. package/models/index.ts +11 -0
  112. package/models/insured-object-type-class.ts +1 -1
  113. package/models/lead-class.ts +1 -1
  114. package/models/lead-status-class.ts +1 -1
  115. package/models/list-emil-function-secrets-response-class.ts +31 -0
  116. package/models/list-emil-functions-response-class.ts +37 -0
  117. package/models/patch-draft-policy-request-dto.ts +1 -1
  118. package/models/policy-partner-role-class.ts +1 -1
  119. package/models/product-class.ts +1 -1
  120. package/models/product-field-class.ts +6 -0
  121. package/models/shared-product-field-class.ts +6 -0
  122. package/models/status-transition-rule-class.ts +1 -1
  123. package/models/swap-product-fields-order-request-dto.ts +36 -0
  124. package/models/update-emil-function-request-dto.ts +48 -0
  125. package/models/update-emil-function-secret-request-dto.ts +36 -0
  126. package/models/update-policy-partner-role-request-dto.ts +1 -1
  127. package/models/update-product-field-request-dto.ts +7 -1
  128. package/models/update-product-request-dto.ts +1 -1
  129. package/package.json +1 -1
@@ -27,6 +27,8 @@ __exportStar(require("./create-booking-funnel-request-dto"), exports);
27
27
  __exportStar(require("./create-custom-application-request-dto"), exports);
28
28
  __exportStar(require("./create-draft-policy-request-dto"), exports);
29
29
  __exportStar(require("./create-dummy-policy-request-dto"), exports);
30
+ __exportStar(require("./create-emil-function-request-dto"), exports);
31
+ __exportStar(require("./create-emil-function-secret-request-dto"), exports);
30
32
  __exportStar(require("./create-insured-object-request-dto"), exports);
31
33
  __exportStar(require("./create-insured-object-response-class"), exports);
32
34
  __exportStar(require("./create-lead-async-response-class"), exports);
@@ -54,11 +56,15 @@ __exportStar(require("./create-status-transition-rule-response-class"), exports)
54
56
  __exportStar(require("./csv-product-factor-dto"), exports);
55
57
  __exportStar(require("./delete-draft-policy-request-dto"), exports);
56
58
  __exportStar(require("./delete-response-class"), exports);
59
+ __exportStar(require("./emil-function-class"), exports);
60
+ __exportStar(require("./emil-function-secret-class"), exports);
57
61
  __exportStar(require("./empty-response-class"), exports);
62
+ __exportStar(require("./execute-emil-function-request-dto"), exports);
58
63
  __exportStar(require("./filter-named-range-request-dto"), exports);
59
64
  __exportStar(require("./filter-named-range-response-class"), exports);
60
65
  __exportStar(require("./get-booking-funnel-version-request-dto"), exports);
61
66
  __exportStar(require("./get-draft-policy-request-dto"), exports);
67
+ __exportStar(require("./get-emil-function-secret-response-class"), exports);
62
68
  __exportStar(require("./get-insured-object-response-class"), exports);
63
69
  __exportStar(require("./get-lead-response-class"), exports);
64
70
  __exportStar(require("./get-lead-status-response-class"), exports);
@@ -98,6 +104,8 @@ __exportStar(require("./lead-bank-account-class"), exports);
98
104
  __exportStar(require("./lead-class"), exports);
99
105
  __exportStar(require("./lead-status-class"), exports);
100
106
  __exportStar(require("./list-booking-funnels-response-class"), exports);
107
+ __exportStar(require("./list-emil-function-secrets-response-class"), exports);
108
+ __exportStar(require("./list-emil-functions-response-class"), exports);
101
109
  __exportStar(require("./list-insured-object-types-response-class"), exports);
102
110
  __exportStar(require("./list-insured-objects-response-class"), exports);
103
111
  __exportStar(require("./list-lead-statuses-response-class"), exports);
@@ -157,10 +165,13 @@ __exportStar(require("./store-product-factors-response-class"), exports);
157
165
  __exportStar(require("./suspend-policy-request-dto"), exports);
158
166
  __exportStar(require("./suspend-policy-response-class"), exports);
159
167
  __exportStar(require("./swap-premium-formulas-order-request-dto"), exports);
168
+ __exportStar(require("./swap-product-fields-order-request-dto"), exports);
160
169
  __exportStar(require("./terminate-policy-request-dto"), exports);
161
170
  __exportStar(require("./terminate-policy-response-class"), exports);
162
171
  __exportStar(require("./timeslice-class"), exports);
163
172
  __exportStar(require("./update-booking-funnel-request-dto"), exports);
173
+ __exportStar(require("./update-emil-function-request-dto"), exports);
174
+ __exportStar(require("./update-emil-function-secret-request-dto"), exports);
164
175
  __exportStar(require("./update-insured-object-request-dto"), exports);
165
176
  __exportStar(require("./update-lead-request-dto"), exports);
166
177
  __exportStar(require("./update-lead-response-class"), exports);
@@ -28,7 +28,7 @@ export interface InsuredObjectTypeClass {
28
28
  */
29
29
  'name': string;
30
30
  /**
31
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
32
32
  * @type {string}
33
33
  * @memberof InsuredObjectTypeClass
34
34
  */
@@ -89,7 +89,7 @@ export interface LeadClass {
89
89
  */
90
90
  'premiumOverride'?: PremiumOverrideRequestClass;
91
91
  /**
92
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
92
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
93
93
  * @type {string}
94
94
  * @memberof LeadClass
95
95
  */
@@ -28,7 +28,7 @@ export interface LeadStatusClass {
28
28
  */
29
29
  'name': string;
30
30
  /**
31
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
32
32
  * @type {string}
33
33
  * @memberof LeadStatusClass
34
34
  */
@@ -0,0 +1,25 @@
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 { EmilFunctionSecretClass } from './emil-function-secret-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListEmilFunctionSecretsResponseClass
17
+ */
18
+ export interface ListEmilFunctionSecretsResponseClass {
19
+ /**
20
+ * Emil function secrets
21
+ * @type {Array<EmilFunctionSecretClass>}
22
+ * @memberof ListEmilFunctionSecretsResponseClass
23
+ */
24
+ 'items': Array<EmilFunctionSecretClass>;
25
+ }
@@ -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 });
@@ -0,0 +1,31 @@
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 { EmilFunctionClass } from './emil-function-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListEmilFunctionsResponseClass
17
+ */
18
+ export interface ListEmilFunctionsResponseClass {
19
+ /**
20
+ * EmilFunctions
21
+ * @type {Array<EmilFunctionClass>}
22
+ * @memberof ListEmilFunctionsResponseClass
23
+ */
24
+ 'items': Array<EmilFunctionClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListEmilFunctionsResponseClass
29
+ */
30
+ 'nextPageToken': string;
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 });
@@ -28,7 +28,7 @@ export interface PatchDraftPolicyRequestDto {
28
28
  * @type {string}
29
29
  * @memberof PatchDraftPolicyRequestDto
30
30
  */
31
- 'from': string;
31
+ 'from'?: string;
32
32
  /**
33
33
  * Date to which the policy should be updated. This will create a new timeline finishing at this date.
34
34
  * @type {string}
@@ -34,7 +34,7 @@ export interface PolicyPartnerRoleClass {
34
34
  */
35
35
  'name': string;
36
36
  /**
37
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
37
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
38
38
  * @type {string}
39
39
  * @memberof PolicyPartnerRoleClass
40
40
  */
@@ -36,7 +36,7 @@ export interface ProductClass {
36
36
  */
37
37
  'name': string;
38
38
  /**
39
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
39
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
40
40
  * @type {string}
41
41
  * @memberof ProductClass
42
42
  */
@@ -117,6 +117,12 @@ export interface ProductFieldClass {
117
117
  * @memberof ProductFieldClass
118
118
  */
119
119
  'maxValue': object | null;
120
+ /**
121
+ * Order index for the product field item, used to define the order of the items in the insured object. The order will also impact the order of the items in the policy itself.
122
+ * @type {number}
123
+ * @memberof ProductFieldClass
124
+ */
125
+ 'order': number;
120
126
  /**
121
127
  * Time at which the object was created.
122
128
  * @type {string}
@@ -117,6 +117,12 @@ export interface SharedProductFieldClass {
117
117
  * @memberof SharedProductFieldClass
118
118
  */
119
119
  'maxValue': object | null;
120
+ /**
121
+ * Order index for the product field item, used to define the order of the items in the insured object. The order will also impact the order of the items in the policy itself.
122
+ * @type {number}
123
+ * @memberof SharedProductFieldClass
124
+ */
125
+ 'order': number;
120
126
  /**
121
127
  * Time at which the object was created.
122
128
  * @type {string}
@@ -46,7 +46,7 @@ export interface StatusTransitionRuleClass {
46
46
  */
47
47
  'nextStatuses': Array<string>;
48
48
  /**
49
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
49
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
50
50
  * @type {string}
51
51
  * @memberof StatusTransitionRuleClass
52
52
  */
@@ -0,0 +1,30 @@
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 SwapProductFieldsOrderRequestDto
16
+ */
17
+ export interface SwapProductFieldsOrderRequestDto {
18
+ /**
19
+ * ID of the first product field to swap the order of.
20
+ * @type {number}
21
+ * @memberof SwapProductFieldsOrderRequestDto
22
+ */
23
+ 'productFieldIdOne': number;
24
+ /**
25
+ * ID of the second product field to swap the order of.
26
+ * @type {number}
27
+ * @memberof SwapProductFieldsOrderRequestDto
28
+ */
29
+ 'productFieldIdTwo': number;
30
+ }
@@ -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 });
@@ -0,0 +1,42 @@
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 UpdateEmilFunctionRequestDto
16
+ */
17
+ export interface UpdateEmilFunctionRequestDto {
18
+ /**
19
+ * Emil function name.
20
+ * @type {string}
21
+ * @memberof UpdateEmilFunctionRequestDto
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
26
+ * @type {string}
27
+ * @memberof UpdateEmilFunctionRequestDto
28
+ */
29
+ 'slug': string;
30
+ /**
31
+ * Python code of the Emil function (def do(payload, config): ...).
32
+ * @type {string}
33
+ * @memberof UpdateEmilFunctionRequestDto
34
+ */
35
+ 'description'?: string;
36
+ /**
37
+ * Emil function description.
38
+ * @type {string}
39
+ * @memberof UpdateEmilFunctionRequestDto
40
+ */
41
+ 'expression': string;
42
+ }
@@ -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 });
@@ -0,0 +1,30 @@
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 UpdateEmilFunctionSecretRequestDto
16
+ */
17
+ export interface UpdateEmilFunctionSecretRequestDto {
18
+ /**
19
+ * Description of the AWS secret.
20
+ * @type {string}
21
+ * @memberof UpdateEmilFunctionSecretRequestDto
22
+ */
23
+ 'description'?: string;
24
+ /**
25
+ * String value of the AWS secret
26
+ * @type {string}
27
+ * @memberof UpdateEmilFunctionSecretRequestDto
28
+ */
29
+ 'value': string;
30
+ }
@@ -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,7 +22,7 @@ export interface UpdatePolicyPartnerRoleRequestDto {
22
22
  */
23
23
  'name': string;
24
24
  /**
25
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
25
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
26
26
  * @type {string}
27
27
  * @memberof UpdatePolicyPartnerRoleRequestDto
28
28
  */
@@ -130,11 +130,17 @@ export interface UpdateProductFieldRequestDto {
130
130
  */
131
131
  'maxValue'?: object;
132
132
  /**
133
- * order index for the product field for display on the booking funnel, not defined for hidden fields.
133
+ * Order index for the product field item, used to define the order of the items in the insured object. The order will also impact the order of the items in the policy itself.
134
134
  * @type {number}
135
135
  * @memberof UpdateProductFieldRequestDto
136
136
  */
137
137
  'order'?: number;
138
+ /**
139
+ * order index for the product field for display on the booking funnel, not defined for hidden fields.
140
+ * @type {number}
141
+ * @memberof UpdateProductFieldRequestDto
142
+ */
143
+ 'legacyBfOrder'?: number;
138
144
  }
139
145
  export declare const UpdateProductFieldRequestDtoTypeEntityEnum: {
140
146
  readonly SystemProductFieldType: "system_product_field_type";
@@ -28,7 +28,7 @@ export interface UpdateProductRequestDto {
28
28
  */
29
29
  'contractDurationDays': number;
30
30
  /**
31
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
32
32
  * @type {string}
33
33
  * @memberof UpdateProductRequestDto
34
34
  */
@@ -69,7 +69,7 @@ export interface BookingFunnelClass {
69
69
  */
70
70
  'logoPath': string;
71
71
  /**
72
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
72
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
73
73
  * @type {string}
74
74
  * @memberof BookingFunnelClass
75
75
  */
@@ -63,7 +63,7 @@ export interface CreateBookingFunnelRequestDto {
63
63
  */
64
64
  'logoPath'?: string;
65
65
  /**
66
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
66
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
67
67
  * @type {string}
68
68
  * @memberof CreateBookingFunnelRequestDto
69
69
  */
@@ -0,0 +1,48 @@
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 CreateEmilFunctionRequestDto
21
+ */
22
+ export interface CreateEmilFunctionRequestDto {
23
+ /**
24
+ * Emil function name.
25
+ * @type {string}
26
+ * @memberof CreateEmilFunctionRequestDto
27
+ */
28
+ 'name': string;
29
+ /**
30
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * @type {string}
32
+ * @memberof CreateEmilFunctionRequestDto
33
+ */
34
+ 'slug': string;
35
+ /**
36
+ * Python code of the Emil function (def do(payload, config): ...).
37
+ * @type {string}
38
+ * @memberof CreateEmilFunctionRequestDto
39
+ */
40
+ 'description'?: string;
41
+ /**
42
+ * Emil function description.
43
+ * @type {string}
44
+ * @memberof CreateEmilFunctionRequestDto
45
+ */
46
+ 'expression': string;
47
+ }
48
+
@@ -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 CreateEmilFunctionSecretRequestDto
21
+ */
22
+ export interface CreateEmilFunctionSecretRequestDto {
23
+ /**
24
+ * Name of the AWS secret.
25
+ * @type {string}
26
+ * @memberof CreateEmilFunctionSecretRequestDto
27
+ */
28
+ 'name': string;
29
+ /**
30
+ * Description of the AWS secret.
31
+ * @type {string}
32
+ * @memberof CreateEmilFunctionSecretRequestDto
33
+ */
34
+ 'description'?: string;
35
+ /**
36
+ * String value of the AWS secret.
37
+ * @type {string}
38
+ * @memberof CreateEmilFunctionSecretRequestDto
39
+ */
40
+ 'value': string;
41
+ }
42
+
@@ -27,7 +27,7 @@ export interface CreatePolicyPartnerRoleRequestDto {
27
27
  */
28
28
  'name': string;
29
29
  /**
30
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
30
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
31
  * @type {string}
32
32
  * @memberof CreatePolicyPartnerRoleRequestDto
33
33
  */
@@ -129,11 +129,17 @@ export interface CreateProductFieldRequestDto {
129
129
  */
130
130
  'maxValue'?: object;
131
131
  /**
132
- * order index for the product field for display on the booking funnel, not defined for hidden fields
132
+ * Order index for the product field item, used to define the order of the items in the insured object. The order will also impact the order of the items in the policy itself.
133
133
  * @type {number}
134
134
  * @memberof CreateProductFieldRequestDto
135
135
  */
136
136
  'order'?: number;
137
+ /**
138
+ * order index for the product field for display on the booking funnel, not defined for hidden fields.
139
+ * @type {number}
140
+ * @memberof CreateProductFieldRequestDto
141
+ */
142
+ 'legacyBfOrder'?: number;
137
143
  }
138
144
 
139
145
  export const CreateProductFieldRequestDtoTypeEntityEnum = {
@@ -39,7 +39,7 @@ export interface CreateProductRequestDto {
39
39
  */
40
40
  'contractDurationDays': number;
41
41
  /**
42
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
42
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
43
43
  * @type {string}
44
44
  * @memberof CreateProductRequestDto
45
45
  */
@@ -0,0 +1,66 @@
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 EmilFunctionClass
21
+ */
22
+ export interface EmilFunctionClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof EmilFunctionClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Emil function name.
31
+ * @type {string}
32
+ * @memberof EmilFunctionClass
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
37
+ * @type {string}
38
+ * @memberof EmilFunctionClass
39
+ */
40
+ 'slug': string;
41
+ /**
42
+ * Emil function description.
43
+ * @type {string}
44
+ * @memberof EmilFunctionClass
45
+ */
46
+ 'description': string;
47
+ /**
48
+ * Python code of the Emil function (def do(payload, config): ...).
49
+ * @type {string}
50
+ * @memberof EmilFunctionClass
51
+ */
52
+ 'expression': string;
53
+ /**
54
+ * Time at which the object was created.
55
+ * @type {string}
56
+ * @memberof EmilFunctionClass
57
+ */
58
+ 'createdAt': string;
59
+ /**
60
+ * Time at which the object was updated.
61
+ * @type {string}
62
+ * @memberof EmilFunctionClass
63
+ */
64
+ 'updatedAt': string;
65
+ }
66
+