@emilgroup/insurance-sdk 1.0.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 (256) hide show
  1. package/.openapi-generator/FILES +90 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +157 -0
  5. package/api/insured-object-types-api.ts +232 -0
  6. package/api/insured-objects-api.ts +442 -0
  7. package/api/leads-api.ts +163 -0
  8. package/api/policies-api.ts +576 -0
  9. package/api/products-api.ts +2174 -0
  10. package/api.ts +40 -0
  11. package/base.ts +182 -0
  12. package/common.ts +138 -0
  13. package/configuration.ts +109 -0
  14. package/dist/api/insured-object-types-api.d.ts +141 -0
  15. package/dist/api/insured-object-types-api.js +251 -0
  16. package/dist/api/insured-objects-api.d.ts +254 -0
  17. package/dist/api/insured-objects-api.js +436 -0
  18. package/dist/api/leads-api.d.ts +96 -0
  19. package/dist/api/leads-api.js +221 -0
  20. package/dist/api/policies-api.d.ts +329 -0
  21. package/dist/api/policies-api.js +541 -0
  22. package/dist/api/products-api.d.ts +1218 -0
  23. package/dist/api/products-api.js +1809 -0
  24. package/dist/api.d.ts +20 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +68 -0
  27. package/dist/base.js +243 -0
  28. package/dist/common.d.ts +65 -0
  29. package/dist/common.js +243 -0
  30. package/dist/configuration.d.ts +90 -0
  31. package/dist/configuration.js +44 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +35 -0
  34. package/dist/models/calculate-custom-premium-request-dto.d.ts +34 -0
  35. package/dist/models/calculate-custom-premium-request-dto.js +19 -0
  36. package/dist/models/calculate-premium-request-dto.d.ts +31 -0
  37. package/dist/models/calculate-premium-request-dto.js +15 -0
  38. package/dist/models/create-account-request-dto.d.ts +84 -0
  39. package/dist/models/create-account-request-dto.js +15 -0
  40. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  41. package/dist/models/create-bank-account-request-dto.js +15 -0
  42. package/dist/models/create-claim-request-dto.d.ts +83 -0
  43. package/dist/models/create-claim-request-dto.js +25 -0
  44. package/dist/models/create-custom-application-request-dto.d.ts +40 -0
  45. package/dist/models/create-custom-application-request-dto.js +19 -0
  46. package/dist/models/create-insured-object-request-dto.d.ts +42 -0
  47. package/dist/models/create-insured-object-request-dto.js +15 -0
  48. package/dist/models/create-insured-object-response-class.d.ts +25 -0
  49. package/dist/models/create-insured-object-response-class.js +15 -0
  50. package/dist/models/create-lead-request-dto.d.ts +45 -0
  51. package/dist/models/create-lead-request-dto.js +15 -0
  52. package/dist/models/create-policy-request-dto.d.ts +37 -0
  53. package/dist/models/create-policy-request-dto.js +15 -0
  54. package/dist/models/create-policy-response-class.d.ts +25 -0
  55. package/dist/models/create-policy-response-class.js +15 -0
  56. package/dist/models/create-premium-formula-request-dto.d.ts +65 -0
  57. package/dist/models/create-premium-formula-request-dto.js +25 -0
  58. package/dist/models/create-premium-formula-response-class.d.ts +25 -0
  59. package/dist/models/create-premium-formula-response-class.js +15 -0
  60. package/dist/models/create-product-field-request-dto.d.ts +113 -0
  61. package/dist/models/create-product-field-request-dto.js +20 -0
  62. package/dist/models/create-product-field-response-class.d.ts +25 -0
  63. package/dist/models/create-product-field-response-class.js +15 -0
  64. package/dist/models/create-product-request-dto.d.ts +57 -0
  65. package/dist/models/create-product-request-dto.js +30 -0
  66. package/dist/models/create-product-response-class.d.ts +25 -0
  67. package/dist/models/create-product-response-class.js +15 -0
  68. package/dist/models/csv-product-factor-dto.d.ts +48 -0
  69. package/dist/models/csv-product-factor-dto.js +15 -0
  70. package/dist/models/delete-request-dto.d.ts +24 -0
  71. package/dist/models/delete-request-dto.js +15 -0
  72. package/dist/models/get-insured-object-request-dto.d.ts +24 -0
  73. package/dist/models/get-insured-object-request-dto.js +15 -0
  74. package/dist/models/get-insured-object-response-class.d.ts +25 -0
  75. package/dist/models/get-insured-object-response-class.js +15 -0
  76. package/dist/models/get-policy-request-dto.d.ts +30 -0
  77. package/dist/models/get-policy-request-dto.js +15 -0
  78. package/dist/models/get-policy-response-class.d.ts +25 -0
  79. package/dist/models/get-policy-response-class.js +15 -0
  80. package/dist/models/get-premium-formula-request-dto.d.ts +24 -0
  81. package/dist/models/get-premium-formula-request-dto.js +15 -0
  82. package/dist/models/get-premium-formula-response-class.d.ts +25 -0
  83. package/dist/models/get-premium-formula-response-class.js +15 -0
  84. package/dist/models/get-product-factor-response-class.d.ts +32 -0
  85. package/dist/models/get-product-factor-response-class.js +15 -0
  86. package/dist/models/get-product-factor-value-request-dto.d.ts +42 -0
  87. package/dist/models/get-product-factor-value-request-dto.js +15 -0
  88. package/dist/models/get-product-factor-value-response-class.d.ts +25 -0
  89. package/dist/models/get-product-factor-value-response-class.js +15 -0
  90. package/dist/models/get-product-field-request-dto.d.ts +24 -0
  91. package/dist/models/get-product-field-request-dto.js +15 -0
  92. package/dist/models/get-product-field-response-class.d.ts +25 -0
  93. package/dist/models/get-product-field-response-class.js +15 -0
  94. package/dist/models/get-product-request-dto.d.ts +36 -0
  95. package/dist/models/get-product-request-dto.js +15 -0
  96. package/dist/models/get-product-response-class.d.ts +25 -0
  97. package/dist/models/get-product-response-class.js +15 -0
  98. package/dist/models/get-product-version-request-dto.d.ts +24 -0
  99. package/dist/models/get-product-version-request-dto.js +15 -0
  100. package/dist/models/get-product-version-response-class.d.ts +25 -0
  101. package/dist/models/get-product-version-response-class.js +15 -0
  102. package/dist/models/grouped-product-factor-class.d.ts +37 -0
  103. package/dist/models/grouped-product-factor-class.js +15 -0
  104. package/dist/models/grouped-product-factor-value-class.d.ts +36 -0
  105. package/dist/models/grouped-product-factor-value-class.js +15 -0
  106. package/dist/models/grouped-product-factors-response-class.d.ts +25 -0
  107. package/dist/models/grouped-product-factors-response-class.js +15 -0
  108. package/dist/models/index.d.ts +72 -0
  109. package/dist/models/index.js +88 -0
  110. package/dist/models/insured-object-class.d.ts +67 -0
  111. package/dist/models/insured-object-class.js +15 -0
  112. package/dist/models/insured-object-type-class.d.ts +48 -0
  113. package/dist/models/insured-object-type-class.js +15 -0
  114. package/dist/models/list-insured-object-types-response-class.d.ts +31 -0
  115. package/dist/models/list-insured-object-types-response-class.js +15 -0
  116. package/dist/models/list-insured-objects-response-class.d.ts +30 -0
  117. package/dist/models/list-insured-objects-response-class.js +15 -0
  118. package/dist/models/list-policies-response-class.d.ts +31 -0
  119. package/dist/models/list-policies-response-class.js +15 -0
  120. package/dist/models/list-premium-formulas-response-class.d.ts +31 -0
  121. package/dist/models/list-premium-formulas-response-class.js +15 -0
  122. package/dist/models/list-product-factors-response-class.d.ts +31 -0
  123. package/dist/models/list-product-factors-response-class.js +15 -0
  124. package/dist/models/list-product-field-types-response-class.d.ts +30 -0
  125. package/dist/models/list-product-field-types-response-class.js +15 -0
  126. package/dist/models/list-product-fields-response-class.d.ts +31 -0
  127. package/dist/models/list-product-fields-response-class.js +15 -0
  128. package/dist/models/list-products-response-class.d.ts +31 -0
  129. package/dist/models/list-products-response-class.js +15 -0
  130. package/dist/models/list-request-dto.d.ts +54 -0
  131. package/dist/models/list-request-dto.js +15 -0
  132. package/dist/models/policy-class.d.ts +86 -0
  133. package/dist/models/policy-class.js +15 -0
  134. package/dist/models/policy-object-class.d.ts +42 -0
  135. package/dist/models/policy-object-class.js +15 -0
  136. package/dist/models/policy-object-dto.d.ts +30 -0
  137. package/dist/models/policy-object-dto.js +15 -0
  138. package/dist/models/policy-premium-class.d.ts +43 -0
  139. package/dist/models/policy-premium-class.js +15 -0
  140. package/dist/models/policy-premium-item-class.d.ts +49 -0
  141. package/dist/models/policy-premium-item-class.js +15 -0
  142. package/dist/models/policy-version-class.d.ts +55 -0
  143. package/dist/models/policy-version-class.js +15 -0
  144. package/dist/models/premium-formula-class.d.ts +79 -0
  145. package/dist/models/premium-formula-class.js +15 -0
  146. package/dist/models/product-class.d.ts +74 -0
  147. package/dist/models/product-class.js +15 -0
  148. package/dist/models/product-factor-class.d.ts +68 -0
  149. package/dist/models/product-factor-class.js +15 -0
  150. package/dist/models/product-factor-value-class.d.ts +80 -0
  151. package/dist/models/product-factor-value-class.js +15 -0
  152. package/dist/models/product-field-class.d.ts +114 -0
  153. package/dist/models/product-field-class.js +15 -0
  154. package/dist/models/product-version-class.d.ts +54 -0
  155. package/dist/models/product-version-class.js +15 -0
  156. package/dist/models/shared-create-lead-request-dto.d.ts +45 -0
  157. package/dist/models/shared-create-lead-request-dto.js +15 -0
  158. package/dist/models/store-product-factors-request-dto.d.ts +30 -0
  159. package/dist/models/store-product-factors-request-dto.js +15 -0
  160. package/dist/models/store-product-factors-response-class.d.ts +25 -0
  161. package/dist/models/store-product-factors-response-class.js +15 -0
  162. package/dist/models/timeslice-class.d.ts +62 -0
  163. package/dist/models/timeslice-class.js +15 -0
  164. package/dist/models/update-insured-object-request-dto.d.ts +48 -0
  165. package/dist/models/update-insured-object-request-dto.js +15 -0
  166. package/dist/models/update-policy-request-dto.d.ts +42 -0
  167. package/dist/models/update-policy-request-dto.js +15 -0
  168. package/dist/models/update-policy-response-class.d.ts +25 -0
  169. package/dist/models/update-policy-response-class.js +15 -0
  170. package/dist/models/update-premium-formula-request-dto.d.ts +71 -0
  171. package/dist/models/update-premium-formula-request-dto.js +25 -0
  172. package/dist/models/update-product-field-request-dto.d.ts +119 -0
  173. package/dist/models/update-product-field-request-dto.js +20 -0
  174. package/dist/models/update-product-request-dto.d.ts +42 -0
  175. package/dist/models/update-product-request-dto.js +15 -0
  176. package/dist/models/update-product-version-request-dto.d.ts +43 -0
  177. package/dist/models/update-product-version-request-dto.js +22 -0
  178. package/dist/models/validate-product-factors-request-dto.d.ts +30 -0
  179. package/dist/models/validate-product-factors-request-dto.js +15 -0
  180. package/git_push.sh +57 -0
  181. package/index.ts +19 -0
  182. package/models/calculate-custom-premium-request-dto.ts +43 -0
  183. package/models/calculate-premium-request-dto.ts +37 -0
  184. package/models/create-account-request-dto.ts +90 -0
  185. package/models/create-bank-account-request-dto.ts +36 -0
  186. package/models/create-claim-request-dto.ts +93 -0
  187. package/models/create-custom-application-request-dto.ts +49 -0
  188. package/models/create-insured-object-request-dto.ts +48 -0
  189. package/models/create-insured-object-response-class.ts +31 -0
  190. package/models/create-lead-request-dto.ts +51 -0
  191. package/models/create-policy-request-dto.ts +43 -0
  192. package/models/create-policy-response-class.ts +31 -0
  193. package/models/create-premium-formula-request-dto.ts +75 -0
  194. package/models/create-premium-formula-response-class.ts +31 -0
  195. package/models/create-product-field-request-dto.ts +122 -0
  196. package/models/create-product-field-response-class.ts +31 -0
  197. package/models/create-product-request-dto.ts +66 -0
  198. package/models/create-product-response-class.ts +31 -0
  199. package/models/csv-product-factor-dto.ts +54 -0
  200. package/models/delete-request-dto.ts +30 -0
  201. package/models/get-insured-object-request-dto.ts +30 -0
  202. package/models/get-insured-object-response-class.ts +31 -0
  203. package/models/get-policy-request-dto.ts +36 -0
  204. package/models/get-policy-response-class.ts +31 -0
  205. package/models/get-premium-formula-request-dto.ts +30 -0
  206. package/models/get-premium-formula-response-class.ts +31 -0
  207. package/models/get-product-factor-response-class.ts +38 -0
  208. package/models/get-product-factor-value-request-dto.ts +48 -0
  209. package/models/get-product-factor-value-response-class.ts +31 -0
  210. package/models/get-product-field-request-dto.ts +30 -0
  211. package/models/get-product-field-response-class.ts +31 -0
  212. package/models/get-product-request-dto.ts +42 -0
  213. package/models/get-product-response-class.ts +31 -0
  214. package/models/get-product-version-request-dto.ts +30 -0
  215. package/models/get-product-version-response-class.ts +31 -0
  216. package/models/grouped-product-factor-class.ts +43 -0
  217. package/models/grouped-product-factor-value-class.ts +42 -0
  218. package/models/grouped-product-factors-response-class.ts +31 -0
  219. package/models/index.ts +72 -0
  220. package/models/insured-object-class.ts +73 -0
  221. package/models/insured-object-type-class.ts +54 -0
  222. package/models/list-insured-object-types-response-class.ts +37 -0
  223. package/models/list-insured-objects-response-class.ts +36 -0
  224. package/models/list-policies-response-class.ts +37 -0
  225. package/models/list-premium-formulas-response-class.ts +37 -0
  226. package/models/list-product-factors-response-class.ts +37 -0
  227. package/models/list-product-field-types-response-class.ts +36 -0
  228. package/models/list-product-fields-response-class.ts +37 -0
  229. package/models/list-products-response-class.ts +37 -0
  230. package/models/list-request-dto.ts +60 -0
  231. package/models/policy-class.ts +92 -0
  232. package/models/policy-object-class.ts +48 -0
  233. package/models/policy-object-dto.ts +36 -0
  234. package/models/policy-premium-class.ts +49 -0
  235. package/models/policy-premium-item-class.ts +55 -0
  236. package/models/policy-version-class.ts +61 -0
  237. package/models/premium-formula-class.ts +85 -0
  238. package/models/product-class.ts +80 -0
  239. package/models/product-factor-class.ts +74 -0
  240. package/models/product-factor-value-class.ts +86 -0
  241. package/models/product-field-class.ts +120 -0
  242. package/models/product-version-class.ts +60 -0
  243. package/models/shared-create-lead-request-dto.ts +51 -0
  244. package/models/store-product-factors-request-dto.ts +36 -0
  245. package/models/store-product-factors-response-class.ts +31 -0
  246. package/models/timeslice-class.ts +68 -0
  247. package/models/update-insured-object-request-dto.ts +54 -0
  248. package/models/update-policy-request-dto.ts +48 -0
  249. package/models/update-policy-response-class.ts +31 -0
  250. package/models/update-premium-formula-request-dto.ts +81 -0
  251. package/models/update-product-field-request-dto.ts +128 -0
  252. package/models/update-product-request-dto.ts +48 -0
  253. package/models/update-product-version-request-dto.ts +52 -0
  254. package/models/validate-product-factors-request-dto.ts +36 -0
  255. package/package.json +27 -0
  256. package/tsconfig.json +21 -0
@@ -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
+ *
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
+ *
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 StoreProductFactorsRequestDto
16
+ */
17
+ export interface StoreProductFactorsRequestDto {
18
+ /**
19
+ * Product version id
20
+ * @type {number}
21
+ * @memberof StoreProductFactorsRequestDto
22
+ */
23
+ 'productVersionId': number;
24
+ /**
25
+ * Factors
26
+ * @type {Array<string>}
27
+ * @memberof StoreProductFactorsRequestDto
28
+ */
29
+ 'productFactors': Array<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
+ *
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
+ *
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 { ProductFactorClass } from './product-factor-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface StoreProductFactorsResponseClass
17
+ */
18
+ export interface StoreProductFactorsResponseClass {
19
+ /**
20
+ * Factors
21
+ * @type {Array<ProductFactorClass>}
22
+ * @memberof StoreProductFactorsResponseClass
23
+ */
24
+ 'productFactors': Array<ProductFactorClass>;
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
+ *
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,62 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 { PolicyObjectClass } from './policy-object-class';
13
+ import { PolicyPremiumClass } from './policy-premium-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface TimesliceClass
18
+ */
19
+ export interface TimesliceClass {
20
+ /**
21
+ * Timeslice id
22
+ * @type {number}
23
+ * @memberof TimesliceClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Timeslice policy data
28
+ * @type {Array<PolicyObjectClass>}
29
+ * @memberof TimesliceClass
30
+ */
31
+ 'policyObjects': Array<PolicyObjectClass>;
32
+ /**
33
+ * Timeslice validity start
34
+ * @type {string}
35
+ * @memberof TimesliceClass
36
+ */
37
+ 'from': string;
38
+ /**
39
+ * Timeslice validity end
40
+ * @type {object}
41
+ * @memberof TimesliceClass
42
+ */
43
+ 'to': object;
44
+ /**
45
+ * Timeslice premium
46
+ * @type {PolicyPremiumClass}
47
+ * @memberof TimesliceClass
48
+ */
49
+ 'premium': PolicyPremiumClass;
50
+ /**
51
+ * Date created
52
+ * @type {string}
53
+ * @memberof TimesliceClass
54
+ */
55
+ 'createdAt': string;
56
+ /**
57
+ * Date updated
58
+ * @type {string}
59
+ * @memberof TimesliceClass
60
+ */
61
+ 'updatedAt': string;
62
+ }
@@ -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
+ *
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,48 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 UpdateInsuredObjectRequestDto
16
+ */
17
+ export interface UpdateInsuredObjectRequestDto {
18
+ /**
19
+ * Insured object id
20
+ * @type {number}
21
+ * @memberof UpdateInsuredObjectRequestDto
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Product version id
26
+ * @type {number}
27
+ * @memberof UpdateInsuredObjectRequestDto
28
+ */
29
+ 'productVersionId': number;
30
+ /**
31
+ * Insured object name
32
+ * @type {string}
33
+ * @memberof UpdateInsuredObjectRequestDto
34
+ */
35
+ 'name': string;
36
+ /**
37
+ * Insured object label
38
+ * @type {string}
39
+ * @memberof UpdateInsuredObjectRequestDto
40
+ */
41
+ 'label': string;
42
+ /**
43
+ * Insured object type id
44
+ * @type {number}
45
+ * @memberof UpdateInsuredObjectRequestDto
46
+ */
47
+ 'insuredObjectTypeId': number;
48
+ }
@@ -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
+ *
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
+ *
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 UpdatePolicyRequestDto
16
+ */
17
+ export interface UpdatePolicyRequestDto {
18
+ /**
19
+ * Policy code
20
+ * @type {string}
21
+ * @memberof UpdatePolicyRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Policy objects
26
+ * @type {Array<string>}
27
+ * @memberof UpdatePolicyRequestDto
28
+ */
29
+ 'policyObjects': Array<string>;
30
+ /**
31
+ * Update from
32
+ * @type {string}
33
+ * @memberof UpdatePolicyRequestDto
34
+ */
35
+ 'from': string;
36
+ /**
37
+ * Update to
38
+ * @type {string}
39
+ * @memberof UpdatePolicyRequestDto
40
+ */
41
+ 'to'?: 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
+ *
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
+ *
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 { PolicyClass } from './policy-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdatePolicyResponseClass
17
+ */
18
+ export interface UpdatePolicyResponseClass {
19
+ /**
20
+ * Policy
21
+ * @type {PolicyClass}
22
+ * @memberof UpdatePolicyResponseClass
23
+ */
24
+ 'policy': PolicyClass;
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
+ *
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,71 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 UpdatePremiumFormulaRequestDto
16
+ */
17
+ export interface UpdatePremiumFormulaRequestDto {
18
+ /**
19
+ * Product version id
20
+ * @type {number}
21
+ * @memberof UpdatePremiumFormulaRequestDto
22
+ */
23
+ 'productVersionId': number;
24
+ /**
25
+ * Group name
26
+ * @type {string}
27
+ * @memberof UpdatePremiumFormulaRequestDto
28
+ */
29
+ 'group': string;
30
+ /**
31
+ * Premium name
32
+ * @type {string}
33
+ * @memberof UpdatePremiumFormulaRequestDto
34
+ */
35
+ 'name': string;
36
+ /**
37
+ * Premium expression
38
+ * @type {string}
39
+ * @memberof UpdatePremiumFormulaRequestDto
40
+ */
41
+ 'expression': string;
42
+ /**
43
+ * Product type
44
+ * @type {string}
45
+ * @memberof UpdatePremiumFormulaRequestDto
46
+ */
47
+ 'type': UpdatePremiumFormulaRequestDtoTypeEnum;
48
+ /**
49
+ * Premium type unit
50
+ * @type {string}
51
+ * @memberof UpdatePremiumFormulaRequestDto
52
+ */
53
+ 'unit': UpdatePremiumFormulaRequestDtoUnitEnum;
54
+ /**
55
+ * Premium formula id
56
+ * @type {number}
57
+ * @memberof UpdatePremiumFormulaRequestDto
58
+ */
59
+ 'id': number;
60
+ }
61
+ export declare const UpdatePremiumFormulaRequestDtoTypeEnum: {
62
+ readonly Time: "time";
63
+ };
64
+ export declare type UpdatePremiumFormulaRequestDtoTypeEnum = typeof UpdatePremiumFormulaRequestDtoTypeEnum[keyof typeof UpdatePremiumFormulaRequestDtoTypeEnum];
65
+ export declare const UpdatePremiumFormulaRequestDtoUnitEnum: {
66
+ readonly Day: "day";
67
+ readonly Week: "week";
68
+ readonly Month: "month";
69
+ readonly Year: "year";
70
+ };
71
+ export declare type UpdatePremiumFormulaRequestDtoUnitEnum = typeof UpdatePremiumFormulaRequestDtoUnitEnum[keyof typeof UpdatePremiumFormulaRequestDtoUnitEnum];
@@ -0,0 +1,25 @@
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
+ *
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 });
16
+ exports.UpdatePremiumFormulaRequestDtoUnitEnum = exports.UpdatePremiumFormulaRequestDtoTypeEnum = void 0;
17
+ exports.UpdatePremiumFormulaRequestDtoTypeEnum = {
18
+ Time: 'time'
19
+ };
20
+ exports.UpdatePremiumFormulaRequestDtoUnitEnum = {
21
+ Day: 'day',
22
+ Week: 'week',
23
+ Month: 'month',
24
+ Year: 'year'
25
+ };
@@ -0,0 +1,119 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 UpdateProductFieldRequestDto
16
+ */
17
+ export interface UpdateProductFieldRequestDto {
18
+ /**
19
+ * Product field id
20
+ * @type {number}
21
+ * @memberof UpdateProductFieldRequestDto
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Product field name
26
+ * @type {string}
27
+ * @memberof UpdateProductFieldRequestDto
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * Product field label
32
+ * @type {string}
33
+ * @memberof UpdateProductFieldRequestDto
34
+ */
35
+ 'label': string;
36
+ /**
37
+ * Product field type
38
+ * @type {string}
39
+ * @memberof UpdateProductFieldRequestDto
40
+ */
41
+ 'typeEntity': UpdateProductFieldRequestDtoTypeEntityEnum;
42
+ /**
43
+ * Product field type id
44
+ * @type {number}
45
+ * @memberof UpdateProductFieldRequestDto
46
+ */
47
+ 'typeId': number;
48
+ /**
49
+ * Insured object id
50
+ * @type {number}
51
+ * @memberof UpdateProductFieldRequestDto
52
+ */
53
+ 'insuredObjectId': number;
54
+ /**
55
+ * Product field group
56
+ * @type {string}
57
+ * @memberof UpdateProductFieldRequestDto
58
+ */
59
+ 'group': string;
60
+ /**
61
+ * Is field required?
62
+ * @type {boolean}
63
+ * @memberof UpdateProductFieldRequestDto
64
+ */
65
+ 'isRequired': boolean;
66
+ /**
67
+ * Is field hidden on the booking funnel?
68
+ * @type {boolean}
69
+ * @memberof UpdateProductFieldRequestDto
70
+ */
71
+ 'isHidden': boolean;
72
+ /**
73
+ * Should the field value be unique across policies?
74
+ * @type {boolean}
75
+ * @memberof UpdateProductFieldRequestDto
76
+ */
77
+ 'isUnique': boolean;
78
+ /**
79
+ * Booking funnel description
80
+ * @type {string}
81
+ * @memberof UpdateProductFieldRequestDto
82
+ */
83
+ 'bfDescription'?: string;
84
+ /**
85
+ * Booking funnel tooltip
86
+ * @type {string}
87
+ * @memberof UpdateProductFieldRequestDto
88
+ */
89
+ 'bfTooltip'?: string;
90
+ /**
91
+ * Booking funnel label
92
+ * @type {string}
93
+ * @memberof UpdateProductFieldRequestDto
94
+ */
95
+ 'bfLabel'?: string;
96
+ /**
97
+ * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
98
+ * @type {object}
99
+ * @memberof UpdateProductFieldRequestDto
100
+ */
101
+ 'defaultValue': object;
102
+ /**
103
+ * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
104
+ * @type {object}
105
+ * @memberof UpdateProductFieldRequestDto
106
+ */
107
+ 'minValue'?: object;
108
+ /**
109
+ * Default value of the field. For the field type date-time, it should be { \"templated\" : \"{{today}}\" }
110
+ * @type {object}
111
+ * @memberof UpdateProductFieldRequestDto
112
+ */
113
+ 'maxValue'?: object;
114
+ }
115
+ export declare const UpdateProductFieldRequestDtoTypeEntityEnum: {
116
+ readonly SystemProductFieldType: "system_product_field_type";
117
+ readonly ProductFactorType: "product_factor_type";
118
+ };
119
+ export declare type UpdateProductFieldRequestDtoTypeEntityEnum = typeof UpdateProductFieldRequestDtoTypeEntityEnum[keyof typeof UpdateProductFieldRequestDtoTypeEntityEnum];
@@ -0,0 +1,20 @@
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
+ *
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 });
16
+ exports.UpdateProductFieldRequestDtoTypeEntityEnum = void 0;
17
+ exports.UpdateProductFieldRequestDtoTypeEntityEnum = {
18
+ SystemProductFieldType: 'system_product_field_type',
19
+ ProductFactorType: 'product_factor_type'
20
+ };
@@ -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
+ *
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 UpdateProductRequestDto
16
+ */
17
+ export interface UpdateProductRequestDto {
18
+ /**
19
+ * Product name
20
+ * @type {string}
21
+ * @memberof UpdateProductRequestDto
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * Contract duration in days
26
+ * @type {number}
27
+ * @memberof UpdateProductRequestDto
28
+ */
29
+ 'contractDurationDays': number;
30
+ /**
31
+ * Product slug
32
+ * @type {string}
33
+ * @memberof UpdateProductRequestDto
34
+ */
35
+ 'slug': string;
36
+ /**
37
+ * Product id
38
+ * @type {number}
39
+ * @memberof UpdateProductRequestDto
40
+ */
41
+ 'id': number;
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
+ *
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,43 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 UpdateProductVersionRequestDto
16
+ */
17
+ export interface UpdateProductVersionRequestDto {
18
+ /**
19
+ * Product version id
20
+ * @type {number}
21
+ * @memberof UpdateProductVersionRequestDto
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Product version description
26
+ * @type {string}
27
+ * @memberof UpdateProductVersionRequestDto
28
+ */
29
+ 'description': string;
30
+ /**
31
+ * Product version status
32
+ * @type {string}
33
+ * @memberof UpdateProductVersionRequestDto
34
+ */
35
+ 'status': UpdateProductVersionRequestDtoStatusEnum;
36
+ }
37
+ export declare const UpdateProductVersionRequestDtoStatusEnum: {
38
+ readonly Draft: "draft";
39
+ readonly Active: "active";
40
+ readonly Passive: "passive";
41
+ readonly Archived: "archived";
42
+ };
43
+ export declare type UpdateProductVersionRequestDtoStatusEnum = typeof UpdateProductVersionRequestDtoStatusEnum[keyof typeof UpdateProductVersionRequestDtoStatusEnum];