@emilgroup/insurance-sdk-node 1.49.0 → 1.49.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/.openapi-generator/FILES +30 -8
  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/partner-links-api.ts +800 -0
  13. package/api/{policy-partner-roles-api.ts → partner-roles-api.ts} +180 -180
  14. package/api/policies-api.ts +116 -118
  15. package/api/premium-formulas-api.ts +8 -8
  16. package/api/product-factors-api.ts +8 -8
  17. package/api/product-fields-api.ts +119 -12
  18. package/api/product-versions-api.ts +4 -4
  19. package/api/products-api.ts +20 -20
  20. package/api/status-transition-rules-api.ts +8 -8
  21. package/api.ts +6 -2
  22. package/dist/api/booking-funnel-versions-api.d.ts +8 -8
  23. package/dist/api/booking-funnel-versions-api.js +8 -8
  24. package/dist/api/booking-funnels-api.d.ts +12 -12
  25. package/dist/api/booking-funnels-api.js +12 -12
  26. package/dist/api/emil-functions-api.d.ts +727 -0
  27. package/dist/api/emil-functions-api.js +1202 -0
  28. package/dist/api/insured-object-types-api.d.ts +4 -4
  29. package/dist/api/insured-object-types-api.js +4 -4
  30. package/dist/api/insured-objects-api.d.ts +8 -8
  31. package/dist/api/insured-objects-api.js +8 -8
  32. package/dist/api/lead-statuses-api.d.ts +71 -17
  33. package/dist/api/lead-statuses-api.js +53 -17
  34. package/dist/api/lead-versions-api.d.ts +8 -8
  35. package/dist/api/lead-versions-api.js +8 -8
  36. package/dist/api/leads-api.d.ts +8 -8
  37. package/dist/api/leads-api.js +8 -8
  38. package/dist/api/named-ranges-api.d.ts +8 -8
  39. package/dist/api/named-ranges-api.js +8 -8
  40. package/dist/api/partner-links-api.d.ts +450 -0
  41. package/dist/api/partner-links-api.js +738 -0
  42. package/dist/api/partner-roles-api.d.ts +385 -0
  43. package/dist/api/{policy-partner-roles-api.js → partner-roles-api.js} +136 -136
  44. package/dist/api/policies-api.d.ts +112 -112
  45. package/dist/api/policies-api.js +66 -67
  46. package/dist/api/premium-formulas-api.d.ts +8 -8
  47. package/dist/api/premium-formulas-api.js +8 -8
  48. package/dist/api/product-factors-api.d.ts +8 -8
  49. package/dist/api/product-factors-api.js +8 -8
  50. package/dist/api/product-fields-api.d.ts +69 -12
  51. package/dist/api/product-fields-api.js +105 -12
  52. package/dist/api/product-versions-api.d.ts +4 -4
  53. package/dist/api/product-versions-api.js +4 -4
  54. package/dist/api/products-api.d.ts +20 -20
  55. package/dist/api/products-api.js +18 -18
  56. package/dist/api/status-transition-rules-api.d.ts +8 -8
  57. package/dist/api/status-transition-rules-api.js +8 -8
  58. package/dist/api.d.ts +3 -1
  59. package/dist/api.js +3 -1
  60. package/dist/models/booking-funnel-class.d.ts +1 -1
  61. package/dist/models/create-account-request-dto.d.ts +1 -1
  62. package/dist/models/create-account-request-dto.js +1 -1
  63. package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
  64. package/dist/models/create-emil-function-request-dto.d.ts +42 -0
  65. package/dist/models/create-emil-function-secret-request-dto.d.ts +36 -0
  66. package/dist/models/create-lead-request-dto.d.ts +12 -0
  67. package/dist/models/{update-policy-partner-role-request-dto.d.ts → create-partner-role-request-dto.d.ts} +6 -6
  68. package/dist/models/{get-policy-partner-role-response-class.d.ts → create-partner-role-response-class.d.ts} +7 -7
  69. package/dist/models/create-product-field-request-dto.d.ts +7 -1
  70. package/dist/models/create-product-request-dto.d.ts +1 -1
  71. package/dist/models/emil-function-class.d.ts +60 -0
  72. package/dist/models/{create-policy-partner-role-response-class.d.ts → emil-function-secret-class.d.ts} +12 -7
  73. package/dist/models/execute-emil-function-request-dto.d.ts +24 -0
  74. package/dist/models/get-emil-function-secret-response-class.d.ts +24 -0
  75. package/dist/models/get-emil-function-secret-response-class.js +15 -0
  76. package/dist/models/{update-policy-partner-role-response-class.d.ts → get-partner-link-response-class.d.ts} +7 -7
  77. package/dist/models/get-partner-link-response-class.js +15 -0
  78. package/dist/models/get-partner-role-response-class.d.ts +25 -0
  79. package/dist/models/get-partner-role-response-class.js +15 -0
  80. package/dist/models/get-product-request-dto.d.ts +1 -1
  81. package/dist/models/index.d.ts +27 -7
  82. package/dist/models/index.js +27 -7
  83. package/dist/models/insured-object-type-class.d.ts +1 -1
  84. package/dist/models/lead-class.d.ts +8 -1
  85. package/dist/models/lead-status-class.d.ts +1 -1
  86. package/dist/models/link-partner-request-dto.d.ts +54 -0
  87. package/dist/models/link-partner-request-dto.js +15 -0
  88. package/dist/models/link-partner-response-class.d.ts +25 -0
  89. package/dist/models/link-partner-response-class.js +15 -0
  90. package/dist/models/list-emil-function-secrets-response-class.d.ts +25 -0
  91. package/dist/models/list-emil-function-secrets-response-class.js +15 -0
  92. package/dist/models/{list-policy-partner-roles-response-class.d.ts → list-emil-functions-response-class.d.ts} +8 -8
  93. package/dist/models/list-emil-functions-response-class.js +15 -0
  94. package/dist/models/list-partner-links-response-class.d.ts +31 -0
  95. package/dist/models/list-partner-links-response-class.js +15 -0
  96. package/dist/models/list-partner-roles-response-class.d.ts +31 -0
  97. package/dist/models/list-partner-roles-response-class.js +15 -0
  98. package/dist/models/partner-class.d.ts +60 -0
  99. package/dist/models/partner-class.js +15 -0
  100. package/dist/models/partner-link-class.d.ts +86 -0
  101. package/dist/models/partner-link-class.js +15 -0
  102. package/dist/models/{policy-partner-role-class.d.ts → partner-role-class.d.ts} +10 -10
  103. package/dist/models/partner-role-class.js +15 -0
  104. package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
  105. package/dist/models/policy-class.d.ts +7 -0
  106. package/dist/models/product-class.d.ts +1 -1
  107. package/dist/models/product-field-class.d.ts +6 -0
  108. package/dist/models/shared-product-field-class.d.ts +6 -0
  109. package/dist/models/status-transition-rule-class.d.ts +1 -1
  110. package/dist/models/swap-product-fields-order-request-dto.d.ts +30 -0
  111. package/dist/models/swap-product-fields-order-request-dto.js +15 -0
  112. package/dist/models/unlink-partner-response-class.d.ts +25 -0
  113. package/dist/models/unlink-partner-response-class.js +15 -0
  114. package/dist/models/update-emil-function-request-dto.d.ts +42 -0
  115. package/dist/models/update-emil-function-request-dto.js +15 -0
  116. package/dist/models/update-emil-function-secret-request-dto.d.ts +30 -0
  117. package/dist/models/update-emil-function-secret-request-dto.js +15 -0
  118. package/dist/models/update-partner-link-request-dto.d.ts +30 -0
  119. package/dist/models/update-partner-link-request-dto.js +15 -0
  120. package/dist/models/update-partner-link-response-class.d.ts +25 -0
  121. package/dist/models/update-partner-link-response-class.js +15 -0
  122. package/dist/models/{create-policy-partner-role-request-dto.d.ts → update-partner-role-request-dto.d.ts} +6 -6
  123. package/dist/models/update-partner-role-request-dto.js +15 -0
  124. package/dist/models/update-partner-role-response-class.d.ts +25 -0
  125. package/dist/models/update-partner-role-response-class.js +15 -0
  126. package/dist/models/update-product-field-request-dto.d.ts +7 -1
  127. package/dist/models/update-product-request-dto.d.ts +1 -1
  128. package/models/booking-funnel-class.ts +1 -1
  129. package/models/create-account-request-dto.ts +1 -1
  130. package/models/create-booking-funnel-request-dto.ts +1 -1
  131. package/models/create-emil-function-request-dto.ts +48 -0
  132. package/models/create-emil-function-secret-request-dto.ts +42 -0
  133. package/models/create-lead-request-dto.ts +12 -0
  134. package/models/{update-policy-partner-role-request-dto.ts → create-partner-role-request-dto.ts} +6 -6
  135. package/models/{get-policy-partner-role-response-class.ts → create-partner-role-response-class.ts} +7 -7
  136. package/models/create-product-field-request-dto.ts +7 -1
  137. package/models/create-product-request-dto.ts +1 -1
  138. package/models/emil-function-class.ts +66 -0
  139. package/models/{update-policy-partner-role-response-class.ts → emil-function-secret-class.ts} +12 -7
  140. package/models/execute-emil-function-request-dto.ts +30 -0
  141. package/models/get-emil-function-secret-response-class.ts +30 -0
  142. package/models/{create-policy-partner-role-response-class.ts → get-partner-link-response-class.ts} +7 -7
  143. package/models/get-partner-role-response-class.ts +31 -0
  144. package/models/get-product-request-dto.ts +1 -1
  145. package/models/index.ts +27 -7
  146. package/models/insured-object-type-class.ts +1 -1
  147. package/models/lead-class.ts +8 -1
  148. package/models/lead-status-class.ts +1 -1
  149. package/models/link-partner-request-dto.ts +60 -0
  150. package/models/link-partner-response-class.ts +31 -0
  151. package/models/list-emil-function-secrets-response-class.ts +31 -0
  152. package/models/{list-policy-partner-roles-response-class.ts → list-emil-functions-response-class.ts} +8 -8
  153. package/models/list-partner-links-response-class.ts +37 -0
  154. package/models/list-partner-roles-response-class.ts +37 -0
  155. package/models/partner-class.ts +66 -0
  156. package/models/partner-link-class.ts +92 -0
  157. package/models/{policy-partner-role-class.ts → partner-role-class.ts} +10 -10
  158. package/models/patch-draft-policy-request-dto.ts +1 -1
  159. package/models/policy-class.ts +7 -0
  160. package/models/product-class.ts +1 -1
  161. package/models/product-field-class.ts +6 -0
  162. package/models/shared-product-field-class.ts +6 -0
  163. package/models/status-transition-rule-class.ts +1 -1
  164. package/models/swap-product-fields-order-request-dto.ts +36 -0
  165. package/models/unlink-partner-response-class.ts +31 -0
  166. package/models/update-emil-function-request-dto.ts +48 -0
  167. package/models/update-emil-function-secret-request-dto.ts +36 -0
  168. package/models/update-partner-link-request-dto.ts +36 -0
  169. package/models/update-partner-link-response-class.ts +31 -0
  170. package/models/{create-policy-partner-role-request-dto.ts → update-partner-role-request-dto.ts} +6 -6
  171. package/models/update-partner-role-response-class.ts +31 -0
  172. package/models/update-product-field-request-dto.ts +7 -1
  173. package/models/update-product-request-dto.ts +1 -1
  174. package/package.json +1 -1
  175. package/dist/api/policy-partner-roles-api.d.ts +0 -385
  176. /package/dist/models/{create-policy-partner-role-request-dto.js → create-emil-function-request-dto.js} +0 -0
  177. /package/dist/models/{create-policy-partner-role-response-class.js → create-emil-function-secret-request-dto.js} +0 -0
  178. /package/dist/models/{get-policy-partner-role-response-class.js → create-partner-role-request-dto.js} +0 -0
  179. /package/dist/models/{list-policy-partner-roles-response-class.js → create-partner-role-response-class.js} +0 -0
  180. /package/dist/models/{policy-partner-role-class.js → emil-function-class.js} +0 -0
  181. /package/dist/models/{update-policy-partner-role-request-dto.js → emil-function-secret-class.js} +0 -0
  182. /package/dist/models/{update-policy-partner-role-response-class.js → execute-emil-function-request-dto.js} +0 -0
@@ -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,54 @@
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 LinkPartnerRequestDto
16
+ */
17
+ export interface LinkPartnerRequestDto {
18
+ /**
19
+ * Unique identifier of the partner that this object belongs to.
20
+ * @type {string}
21
+ * @memberof LinkPartnerRequestDto
22
+ */
23
+ 'partnerCode': string;
24
+ /**
25
+ * Unique identifier of the partner role that this object belongs to.
26
+ * @type {string}
27
+ * @memberof LinkPartnerRequestDto
28
+ */
29
+ 'partnerRoleCode': string;
30
+ /**
31
+ * Unique identifier of the policy that this object belongs to. Either this or leadCode should be provided, but not both.
32
+ * @type {string}
33
+ * @memberof LinkPartnerRequestDto
34
+ */
35
+ 'policyCode'?: string;
36
+ /**
37
+ * Unique identifier of the lead that this object belongs to. Either this or policyCode should be provided, but not both.
38
+ * @type {string}
39
+ * @memberof LinkPartnerRequestDto
40
+ */
41
+ 'leadCode'?: string;
42
+ /**
43
+ * Date from which the partner should be linked.
44
+ * @type {string}
45
+ * @memberof LinkPartnerRequestDto
46
+ */
47
+ 'startDate'?: string;
48
+ /**
49
+ * Date to which the partner should be linked.
50
+ * @type {string}
51
+ * @memberof LinkPartnerRequestDto
52
+ */
53
+ 'endDate'?: string;
54
+ }
@@ -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,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 { PartnerLinkClass } from './partner-link-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LinkPartnerResponseClass
17
+ */
18
+ export interface LinkPartnerResponseClass {
19
+ /**
20
+ * Partner link
21
+ * @type {PartnerLinkClass}
22
+ * @memberof LinkPartnerResponseClass
23
+ */
24
+ 'partnerLink': PartnerLinkClass;
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,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 });
@@ -9,23 +9,23 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { PolicyPartnerRoleClass } from './policy-partner-role-class';
12
+ import { EmilFunctionClass } from './emil-function-class';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface ListPolicyPartnerRolesResponseClass
16
+ * @interface ListEmilFunctionsResponseClass
17
17
  */
18
- export interface ListPolicyPartnerRolesResponseClass {
18
+ export interface ListEmilFunctionsResponseClass {
19
19
  /**
20
- * The list of policy partner roles.
21
- * @type {Array<PolicyPartnerRoleClass>}
22
- * @memberof ListPolicyPartnerRolesResponseClass
20
+ * EmilFunctions
21
+ * @type {Array<EmilFunctionClass>}
22
+ * @memberof ListEmilFunctionsResponseClass
23
23
  */
24
- 'items': Array<PolicyPartnerRoleClass>;
24
+ 'items': Array<EmilFunctionClass>;
25
25
  /**
26
26
  * Next page token.
27
27
  * @type {string}
28
- * @memberof ListPolicyPartnerRolesResponseClass
28
+ * @memberof ListEmilFunctionsResponseClass
29
29
  */
30
30
  'nextPageToken': string;
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 });
@@ -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 { PartnerLinkClass } from './partner-link-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListPartnerLinksResponseClass
17
+ */
18
+ export interface ListPartnerLinksResponseClass {
19
+ /**
20
+ * The list of partner links.
21
+ * @type {Array<PartnerLinkClass>}
22
+ * @memberof ListPartnerLinksResponseClass
23
+ */
24
+ 'items': Array<PartnerLinkClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPartnerLinksResponseClass
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 });
@@ -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 { PartnerRoleClass } from './partner-role-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListPartnerRolesResponseClass
17
+ */
18
+ export interface ListPartnerRolesResponseClass {
19
+ /**
20
+ * The list of partner roles.
21
+ * @type {Array<PartnerRoleClass>}
22
+ * @memberof ListPartnerRolesResponseClass
23
+ */
24
+ 'items': Array<PartnerRoleClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPartnerRolesResponseClass
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 });
@@ -0,0 +1,60 @@
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 PartnerClass
16
+ */
17
+ export interface PartnerClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof PartnerClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof PartnerClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Unique identifier referencing the partner type.
32
+ * @type {number}
33
+ * @memberof PartnerClass
34
+ */
35
+ 'partnerTypeId': number;
36
+ /**
37
+ * For person partner type displayName is a combination if firstname and lastname. For organization its organization name.
38
+ * @type {string}
39
+ * @memberof PartnerClass
40
+ */
41
+ 'displayName': string;
42
+ /**
43
+ * The partner object, based on partner schema.
44
+ * @type {object}
45
+ * @memberof PartnerClass
46
+ */
47
+ 'partner'?: object;
48
+ /**
49
+ * The version number of the partner
50
+ * @type {number}
51
+ * @memberof PartnerClass
52
+ */
53
+ 'version'?: number;
54
+ /**
55
+ * Last user who updated the entity
56
+ * @type {string}
57
+ * @memberof PartnerClass
58
+ */
59
+ 'updatedBy'?: string;
60
+ }
@@ -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,86 @@
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 { PartnerClass } from './partner-class';
13
+ import { PartnerRoleClass } from './partner-role-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PartnerLinkClass
18
+ */
19
+ export interface PartnerLinkClass {
20
+ /**
21
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
22
+ * @type {number}
23
+ * @memberof PartnerLinkClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Unique identifier of the partner that this object belongs to.
28
+ * @type {string}
29
+ * @memberof PartnerLinkClass
30
+ */
31
+ 'partnerCode': string;
32
+ /**
33
+ * Unique identifier of the partner role that this object belongs to.
34
+ * @type {string}
35
+ * @memberof PartnerLinkClass
36
+ */
37
+ 'partnerRoleCode': string;
38
+ /**
39
+ * Unique identifier of the policy that this object belongs to.
40
+ * @type {string}
41
+ * @memberof PartnerLinkClass
42
+ */
43
+ 'policyCode'?: string;
44
+ /**
45
+ * Unique identifier of the lead that this object belongs to.
46
+ * @type {string}
47
+ * @memberof PartnerLinkClass
48
+ */
49
+ 'leadCode'?: string;
50
+ /**
51
+ * Date from which the partner should be linked.
52
+ * @type {string}
53
+ * @memberof PartnerLinkClass
54
+ */
55
+ 'startDate': string;
56
+ /**
57
+ * Date to which the partner should be linked.
58
+ * @type {string}
59
+ * @memberof PartnerLinkClass
60
+ */
61
+ 'endDate'?: string;
62
+ /**
63
+ * Partner role
64
+ * @type {PartnerRoleClass}
65
+ * @memberof PartnerLinkClass
66
+ */
67
+ 'partnerRole'?: PartnerRoleClass;
68
+ /**
69
+ * Partner
70
+ * @type {PartnerClass}
71
+ * @memberof PartnerLinkClass
72
+ */
73
+ 'partner'?: PartnerClass;
74
+ /**
75
+ * Time at which the object was created.
76
+ * @type {string}
77
+ * @memberof PartnerLinkClass
78
+ */
79
+ 'createdAt': string;
80
+ /**
81
+ * Time at which the object was updated.
82
+ * @type {string}
83
+ * @memberof PartnerLinkClass
84
+ */
85
+ 'updatedAt': string;
86
+ }
@@ -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,43 +12,43 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface PolicyPartnerRoleClass
15
+ * @interface PartnerRoleClass
16
16
  */
17
- export interface PolicyPartnerRoleClass {
17
+ export interface PartnerRoleClass {
18
18
  /**
19
19
  * Internal unique identifier for the object. You should not have to use this, use code instead.
20
20
  * @type {number}
21
- * @memberof PolicyPartnerRoleClass
21
+ * @memberof PartnerRoleClass
22
22
  */
23
23
  'id': number;
24
24
  /**
25
25
  * Unique identifier for the object.
26
26
  * @type {string}
27
- * @memberof PolicyPartnerRoleClass
27
+ * @memberof PartnerRoleClass
28
28
  */
29
29
  'code': string;
30
30
  /**
31
- * Name of the policy partner role.
31
+ * Name of the partner role.
32
32
  * @type {string}
33
- * @memberof PolicyPartnerRoleClass
33
+ * @memberof PartnerRoleClass
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
- * @memberof PolicyPartnerRoleClass
39
+ * @memberof PartnerRoleClass
40
40
  */
41
41
  'productSlug'?: string;
42
42
  /**
43
43
  * Time at which the object was created.
44
44
  * @type {string}
45
- * @memberof PolicyPartnerRoleClass
45
+ * @memberof PartnerRoleClass
46
46
  */
47
47
  'createdAt': string;
48
48
  /**
49
49
  * Time at which the object was updated.
50
50
  * @type {string}
51
- * @memberof PolicyPartnerRoleClass
51
+ * @memberof PartnerRoleClass
52
52
  */
53
53
  'updatedAt': string;
54
54
  }
@@ -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}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { PartnerLinkClass } from './partner-link-class';
12
13
  import { PolicyVersionClass } from './policy-version-class';
13
14
  import { ProductClass } from './product-class';
14
15
  /**
@@ -125,4 +126,10 @@ export interface PolicyClass {
125
126
  * @memberof PolicyClass
126
127
  */
127
128
  'ern': string;
129
+ /**
130
+ * Partner links.
131
+ * @type {Array<PartnerLinkClass>}
132
+ * @memberof PolicyClass
133
+ */
134
+ 'partnerLinks': Array<PartnerLinkClass>;
128
135
  }
@@ -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
+ }