@emilgroup/insurance-sdk-node 1.48.0 → 1.48.1-beta.2

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 (141) hide show
  1. package/.openapi-generator/FILES +21 -8
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +4 -4
  4. package/api/default-api.ts +8 -4
  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 +9 -6
  8. package/api/lead-statuses-api.ts +96 -12
  9. package/api/named-ranges-api.ts +4 -4
  10. package/api/partner-roles-api.ts +683 -0
  11. package/api/policies-api.ts +167 -180
  12. package/api/premium-formulas-api.ts +4 -4
  13. package/api/product-factors-api.ts +4 -4
  14. package/api/product-fields-api.ts +8 -8
  15. package/api/products-api.ts +12 -12
  16. package/api.ts +4 -2
  17. package/dist/api/booking-funnels-api.d.ts +4 -4
  18. package/dist/api/booking-funnels-api.js +4 -4
  19. package/dist/api/default-api.d.ts +8 -4
  20. package/dist/api/default-api.js +8 -4
  21. package/dist/api/emil-functions-api.d.ts +727 -0
  22. package/dist/api/emil-functions-api.js +1202 -0
  23. package/dist/api/insured-object-types-api.d.ts +4 -4
  24. package/dist/api/insured-object-types-api.js +3 -3
  25. package/dist/api/insured-objects-api.d.ts +4 -4
  26. package/dist/api/insured-objects-api.js +7 -5
  27. package/dist/api/lead-statuses-api.d.ts +63 -9
  28. package/dist/api/lead-statuses-api.js +45 -9
  29. package/dist/api/named-ranges-api.d.ts +4 -4
  30. package/dist/api/named-ranges-api.js +3 -3
  31. package/dist/api/partner-roles-api.d.ts +385 -0
  32. package/dist/api/{policy-partner-roles-api.js → partner-roles-api.js} +139 -139
  33. package/dist/api/policies-api.d.ts +131 -140
  34. package/dist/api/policies-api.js +114 -120
  35. package/dist/api/premium-formulas-api.d.ts +4 -4
  36. package/dist/api/premium-formulas-api.js +3 -3
  37. package/dist/api/product-factors-api.d.ts +4 -4
  38. package/dist/api/product-factors-api.js +3 -3
  39. package/dist/api/product-fields-api.d.ts +8 -8
  40. package/dist/api/product-fields-api.js +6 -6
  41. package/dist/api/products-api.d.ts +12 -12
  42. package/dist/api/products-api.js +9 -9
  43. package/dist/api.d.ts +2 -1
  44. package/dist/api.js +2 -1
  45. package/dist/models/booking-funnel-class.d.ts +1 -1
  46. package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
  47. package/dist/models/create-emil-function-request-dto.d.ts +42 -0
  48. package/dist/models/create-emil-function-secret-request-dto.d.ts +36 -0
  49. package/dist/models/{update-policy-partner-role-request-dto.d.ts → create-partner-role-request-dto.d.ts} +6 -6
  50. package/dist/models/{get-policy-partner-role-response-class.d.ts → create-partner-role-response-class.d.ts} +7 -7
  51. package/dist/models/create-product-request-dto.d.ts +1 -1
  52. package/dist/models/emil-function-class.d.ts +60 -0
  53. package/dist/models/{create-policy-partner-role-response-class.d.ts → emil-function-secret-class.d.ts} +12 -7
  54. package/dist/models/execute-emil-function-request-dto.d.ts +24 -0
  55. package/dist/models/get-emil-function-secret-response-class.d.ts +24 -0
  56. package/dist/models/get-emil-function-secret-response-class.js +15 -0
  57. package/dist/models/{update-policy-partner-role-response-class.d.ts → get-partner-role-response-class.d.ts} +7 -7
  58. package/dist/models/get-partner-role-response-class.js +15 -0
  59. package/dist/models/get-product-request-dto.d.ts +1 -1
  60. package/dist/models/index.d.ts +19 -7
  61. package/dist/models/index.js +19 -7
  62. package/dist/models/insured-object-type-class.d.ts +1 -1
  63. package/dist/models/invoice-item-class.d.ts +12 -0
  64. package/dist/models/lead-class.d.ts +8 -1
  65. package/dist/models/lead-status-class.d.ts +1 -1
  66. package/dist/models/list-emil-function-secrets-response-class.d.ts +25 -0
  67. package/dist/models/list-emil-function-secrets-response-class.js +15 -0
  68. package/dist/models/{list-policy-partner-roles-response-class.d.ts → list-emil-functions-response-class.d.ts} +8 -8
  69. package/dist/models/list-emil-functions-response-class.js +15 -0
  70. package/dist/models/list-partner-roles-response-class.d.ts +31 -0
  71. package/dist/models/list-partner-roles-response-class.js +15 -0
  72. package/dist/models/list-policy-versions-request-dto.d.ts +1 -1
  73. package/dist/models/list-request-dto.d.ts +1 -1
  74. package/dist/models/partner-class.d.ts +60 -0
  75. package/dist/models/partner-class.js +15 -0
  76. package/dist/models/partner-link-class.d.ts +86 -0
  77. package/dist/models/partner-link-class.js +15 -0
  78. package/dist/models/{policy-partner-role-class.d.ts → partner-role-class.d.ts} +10 -10
  79. package/dist/models/partner-role-class.js +15 -0
  80. package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
  81. package/dist/models/policy-class.d.ts +7 -0
  82. package/dist/models/product-class.d.ts +1 -1
  83. package/dist/models/shared-update-named-range-request-dto.d.ts +1 -1
  84. package/dist/models/status-transition-rule-class.d.ts +1 -1
  85. package/dist/models/update-emil-function-request-dto.d.ts +42 -0
  86. package/dist/models/update-emil-function-request-dto.js +15 -0
  87. package/dist/models/update-emil-function-secret-request-dto.d.ts +30 -0
  88. package/dist/models/update-emil-function-secret-request-dto.js +15 -0
  89. package/dist/models/update-named-range-request-dto.d.ts +1 -1
  90. package/dist/models/{create-policy-partner-role-request-dto.d.ts → update-partner-role-request-dto.d.ts} +6 -6
  91. package/dist/models/update-partner-role-request-dto.js +15 -0
  92. package/dist/models/update-partner-role-response-class.d.ts +25 -0
  93. package/dist/models/update-partner-role-response-class.js +15 -0
  94. package/dist/models/update-product-request-dto.d.ts +1 -1
  95. package/models/booking-funnel-class.ts +1 -1
  96. package/models/create-booking-funnel-request-dto.ts +1 -1
  97. package/models/create-emil-function-request-dto.ts +48 -0
  98. package/models/create-emil-function-secret-request-dto.ts +42 -0
  99. package/models/{update-policy-partner-role-request-dto.ts → create-partner-role-request-dto.ts} +6 -6
  100. package/models/{get-policy-partner-role-response-class.ts → create-partner-role-response-class.ts} +7 -7
  101. package/models/create-product-request-dto.ts +1 -1
  102. package/models/emil-function-class.ts +66 -0
  103. package/models/{update-policy-partner-role-response-class.ts → emil-function-secret-class.ts} +12 -7
  104. package/models/execute-emil-function-request-dto.ts +30 -0
  105. package/models/get-emil-function-secret-response-class.ts +30 -0
  106. package/models/{create-policy-partner-role-response-class.ts → get-partner-role-response-class.ts} +7 -7
  107. package/models/get-product-request-dto.ts +1 -1
  108. package/models/index.ts +19 -7
  109. package/models/insured-object-type-class.ts +1 -1
  110. package/models/invoice-item-class.ts +12 -0
  111. package/models/lead-class.ts +8 -1
  112. package/models/lead-status-class.ts +1 -1
  113. package/models/list-emil-function-secrets-response-class.ts +31 -0
  114. package/models/{list-policy-partner-roles-response-class.ts → list-emil-functions-response-class.ts} +8 -8
  115. package/models/list-partner-roles-response-class.ts +37 -0
  116. package/models/list-policy-versions-request-dto.ts +1 -1
  117. package/models/list-request-dto.ts +1 -1
  118. package/models/partner-class.ts +66 -0
  119. package/models/partner-link-class.ts +92 -0
  120. package/models/{policy-partner-role-class.ts → partner-role-class.ts} +10 -10
  121. package/models/patch-draft-policy-request-dto.ts +1 -1
  122. package/models/policy-class.ts +7 -0
  123. package/models/product-class.ts +1 -1
  124. package/models/shared-update-named-range-request-dto.ts +1 -1
  125. package/models/status-transition-rule-class.ts +1 -1
  126. package/models/update-emil-function-request-dto.ts +48 -0
  127. package/models/update-emil-function-secret-request-dto.ts +36 -0
  128. package/models/update-named-range-request-dto.ts +1 -1
  129. package/models/{create-policy-partner-role-request-dto.ts → update-partner-role-request-dto.ts} +6 -6
  130. package/models/update-partner-role-response-class.ts +31 -0
  131. package/models/update-product-request-dto.ts +1 -1
  132. package/package.json +1 -1
  133. package/api/policy-partner-roles-api.ts +0 -683
  134. package/dist/api/policy-partner-roles-api.d.ts +0 -385
  135. /package/dist/models/{create-policy-partner-role-request-dto.js → create-emil-function-request-dto.js} +0 -0
  136. /package/dist/models/{create-policy-partner-role-response-class.js → create-emil-function-secret-request-dto.js} +0 -0
  137. /package/dist/models/{get-policy-partner-role-response-class.js → create-partner-role-request-dto.js} +0 -0
  138. /package/dist/models/{list-policy-partner-roles-response-class.js → create-partner-role-response-class.js} +0 -0
  139. /package/dist/models/{policy-partner-role-class.js → emil-function-class.js} +0 -0
  140. /package/dist/models/{update-policy-partner-role-request-dto.js → emil-function-secret-class.js} +0 -0
  141. /package/dist/models/{update-policy-partner-role-response-class.js → execute-emil-function-request-dto.js} +0 -0
@@ -17,43 +17,43 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface PolicyPartnerRoleClass
20
+ * @interface PartnerRoleClass
21
21
  */
22
- export interface PolicyPartnerRoleClass {
22
+ export interface PartnerRoleClass {
23
23
  /**
24
24
  * Internal unique identifier for the object. You should not have to use this, use code instead.
25
25
  * @type {number}
26
- * @memberof PolicyPartnerRoleClass
26
+ * @memberof PartnerRoleClass
27
27
  */
28
28
  'id': number;
29
29
  /**
30
30
  * Unique identifier for the object.
31
31
  * @type {string}
32
- * @memberof PolicyPartnerRoleClass
32
+ * @memberof PartnerRoleClass
33
33
  */
34
34
  'code': string;
35
35
  /**
36
- * Name of the policy partner role.
36
+ * Name of the partner role.
37
37
  * @type {string}
38
- * @memberof PolicyPartnerRoleClass
38
+ * @memberof PartnerRoleClass
39
39
  */
40
40
  'name': string;
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
- * @memberof PolicyPartnerRoleClass
44
+ * @memberof PartnerRoleClass
45
45
  */
46
46
  'productSlug'?: string;
47
47
  /**
48
48
  * Time at which the object was created.
49
49
  * @type {string}
50
- * @memberof PolicyPartnerRoleClass
50
+ * @memberof PartnerRoleClass
51
51
  */
52
52
  'createdAt': string;
53
53
  /**
54
54
  * Time at which the object was updated.
55
55
  * @type {string}
56
- * @memberof PolicyPartnerRoleClass
56
+ * @memberof PartnerRoleClass
57
57
  */
58
58
  'updatedAt': string;
59
59
  }
@@ -33,7 +33,7 @@ export interface PatchDraftPolicyRequestDto {
33
33
  * @type {string}
34
34
  * @memberof PatchDraftPolicyRequestDto
35
35
  */
36
- 'from': string;
36
+ 'from'?: string;
37
37
  /**
38
38
  * Date to which the policy should be updated. This will create a new timeline finishing at this date.
39
39
  * @type {string}
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { PartnerLinkClass } from './partner-link-class';
16
17
  import { PolicyVersionClass } from './policy-version-class';
17
18
  import { ProductClass } from './product-class';
18
19
 
@@ -130,5 +131,11 @@ export interface PolicyClass {
130
131
  * @memberof PolicyClass
131
132
  */
132
133
  'ern': string;
134
+ /**
135
+ * Partner links.
136
+ * @type {Array<PartnerLinkClass>}
137
+ * @memberof PolicyClass
138
+ */
139
+ 'partnerLinks': Array<PartnerLinkClass>;
133
140
  }
134
141
 
@@ -41,7 +41,7 @@ export interface ProductClass {
41
41
  */
42
42
  'name': string;
43
43
  /**
44
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
44
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
45
45
  * @type {string}
46
46
  * @memberof ProductClass
47
47
  */
@@ -27,7 +27,7 @@ export interface SharedUpdateNamedRangeRequestDto {
27
27
  */
28
28
  'id': number;
29
29
  /**
30
- * New name of the named range.
30
+ * New name of the named range. For instance, postal codes.
31
31
  * @type {string}
32
32
  * @memberof SharedUpdateNamedRangeRequestDto
33
33
  */
@@ -51,7 +51,7 @@ export interface StatusTransitionRuleClass {
51
51
  */
52
52
  'nextStatuses': Array<string>;
53
53
  /**
54
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
54
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
55
55
  * @type {string}
56
56
  * @memberof StatusTransitionRuleClass
57
57
  */
@@ -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 UpdateEmilFunctionRequestDto
21
+ */
22
+ export interface UpdateEmilFunctionRequestDto {
23
+ /**
24
+ * Emil function name.
25
+ * @type {string}
26
+ * @memberof UpdateEmilFunctionRequestDto
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 UpdateEmilFunctionRequestDto
33
+ */
34
+ 'slug': string;
35
+ /**
36
+ * Python code of the Emil function (def do(payload, config): ...).
37
+ * @type {string}
38
+ * @memberof UpdateEmilFunctionRequestDto
39
+ */
40
+ 'description'?: string;
41
+ /**
42
+ * Emil function description.
43
+ * @type {string}
44
+ * @memberof UpdateEmilFunctionRequestDto
45
+ */
46
+ 'expression': string;
47
+ }
48
+
@@ -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 UpdateEmilFunctionSecretRequestDto
21
+ */
22
+ export interface UpdateEmilFunctionSecretRequestDto {
23
+ /**
24
+ * Description of the AWS secret.
25
+ * @type {string}
26
+ * @memberof UpdateEmilFunctionSecretRequestDto
27
+ */
28
+ 'description'?: string;
29
+ /**
30
+ * String value of the AWS secret
31
+ * @type {string}
32
+ * @memberof UpdateEmilFunctionSecretRequestDto
33
+ */
34
+ 'value': string;
35
+ }
36
+
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface UpdateNamedRangeRequestDto {
23
23
  /**
24
- * New name of the named range.
24
+ * New name of the named range. For instance, postal codes.
25
25
  * @type {string}
26
26
  * @memberof UpdateNamedRangeRequestDto
27
27
  */
@@ -17,19 +17,19 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface CreatePolicyPartnerRoleRequestDto
20
+ * @interface UpdatePartnerRoleRequestDto
21
21
  */
22
- export interface CreatePolicyPartnerRoleRequestDto {
22
+ export interface UpdatePartnerRoleRequestDto {
23
23
  /**
24
- * Name of the policy partner role.
24
+ * Name of the partner role.
25
25
  * @type {string}
26
- * @memberof CreatePolicyPartnerRoleRequestDto
26
+ * @memberof UpdatePartnerRoleRequestDto
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
- * @memberof CreatePolicyPartnerRoleRequestDto
32
+ * @memberof UpdatePartnerRoleRequestDto
33
33
  */
34
34
  'productSlug'?: string;
35
35
  }
@@ -0,0 +1,31 @@
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 { PartnerRoleClass } from './partner-role-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdatePartnerRoleResponseClass
22
+ */
23
+ export interface UpdatePartnerRoleResponseClass {
24
+ /**
25
+ * Partner role
26
+ * @type {PartnerRoleClass}
27
+ * @memberof UpdatePartnerRoleResponseClass
28
+ */
29
+ 'partnerRole': PartnerRoleClass;
30
+ }
31
+
@@ -33,7 +33,7 @@ export interface UpdateProductRequestDto {
33
33
  */
34
34
  'contractDurationDays': number;
35
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.
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
37
  * @type {string}
38
38
  * @memberof UpdateProductRequestDto
39
39
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.48.0",
3
+ "version": "1.48.1-beta.2",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [