@emilgroup/insurance-sdk-node 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 (277) hide show
  1. package/.openapi-generator/FILES +97 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/insured-object-types-api.ts +236 -0
  6. package/api/insured-objects-api.ts +446 -0
  7. package/api/leads-api.ts +402 -0
  8. package/api/policies-api.ts +580 -0
  9. package/api/products-api.ts +3027 -0
  10. package/api.ts +44 -0
  11. package/base.ts +189 -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 +258 -0
  16. package/dist/api/insured-objects-api.d.ts +254 -0
  17. package/dist/api/insured-objects-api.js +443 -0
  18. package/dist/api/leads-api.d.ts +225 -0
  19. package/dist/api/leads-api.js +427 -0
  20. package/dist/api/policies-api.d.ts +329 -0
  21. package/dist/api/policies-api.js +548 -0
  22. package/dist/api/products-api.d.ts +1683 -0
  23. package/dist/api/products-api.js +2521 -0
  24. package/dist/api.d.ts +20 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +69 -0
  27. package/dist/base.js +252 -0
  28. package/dist/common.d.ts +66 -0
  29. package/dist/common.js +244 -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-dummy-policy-request-dto.d.ts +31 -0
  47. package/dist/models/create-dummy-policy-request-dto.js +15 -0
  48. package/dist/models/create-insured-object-request-dto.d.ts +42 -0
  49. package/dist/models/create-insured-object-request-dto.js +15 -0
  50. package/dist/models/create-insured-object-response-class.d.ts +25 -0
  51. package/dist/models/create-insured-object-response-class.js +15 -0
  52. package/dist/models/create-lead-request-dto.d.ts +71 -0
  53. package/dist/models/create-lead-request-dto.js +22 -0
  54. package/dist/models/create-policy-request-dto.d.ts +37 -0
  55. package/dist/models/create-policy-request-dto.js +15 -0
  56. package/dist/models/create-policy-response-class.d.ts +25 -0
  57. package/dist/models/create-policy-response-class.js +15 -0
  58. package/dist/models/create-premium-formula-request-dto.d.ts +65 -0
  59. package/dist/models/create-premium-formula-request-dto.js +25 -0
  60. package/dist/models/create-premium-formula-response-class.d.ts +25 -0
  61. package/dist/models/create-premium-formula-response-class.js +15 -0
  62. package/dist/models/create-product-field-request-dto.d.ts +113 -0
  63. package/dist/models/create-product-field-request-dto.js +20 -0
  64. package/dist/models/create-product-field-response-class.d.ts +25 -0
  65. package/dist/models/create-product-field-response-class.js +15 -0
  66. package/dist/models/create-product-request-dto.d.ts +57 -0
  67. package/dist/models/create-product-request-dto.js +30 -0
  68. package/dist/models/create-product-response-class.d.ts +25 -0
  69. package/dist/models/create-product-response-class.js +15 -0
  70. package/dist/models/csv-product-factor-dto.d.ts +48 -0
  71. package/dist/models/csv-product-factor-dto.js +15 -0
  72. package/dist/models/delete-request-dto.d.ts +24 -0
  73. package/dist/models/delete-request-dto.js +15 -0
  74. package/dist/models/get-insured-object-request-dto.d.ts +24 -0
  75. package/dist/models/get-insured-object-request-dto.js +15 -0
  76. package/dist/models/get-insured-object-response-class.d.ts +25 -0
  77. package/dist/models/get-insured-object-response-class.js +15 -0
  78. package/dist/models/get-policy-request-dto.d.ts +30 -0
  79. package/dist/models/get-policy-request-dto.js +15 -0
  80. package/dist/models/get-policy-response-class.d.ts +25 -0
  81. package/dist/models/get-policy-response-class.js +15 -0
  82. package/dist/models/get-premium-formula-request-dto.d.ts +24 -0
  83. package/dist/models/get-premium-formula-request-dto.js +15 -0
  84. package/dist/models/get-premium-formula-response-class.d.ts +25 -0
  85. package/dist/models/get-premium-formula-response-class.js +15 -0
  86. package/dist/models/get-product-factor-response-class.d.ts +32 -0
  87. package/dist/models/get-product-factor-response-class.js +15 -0
  88. package/dist/models/get-product-factor-value-request-dto.d.ts +42 -0
  89. package/dist/models/get-product-factor-value-request-dto.js +15 -0
  90. package/dist/models/get-product-factor-value-response-class.d.ts +25 -0
  91. package/dist/models/get-product-factor-value-response-class.js +15 -0
  92. package/dist/models/get-product-field-request-dto.d.ts +24 -0
  93. package/dist/models/get-product-field-request-dto.js +15 -0
  94. package/dist/models/get-product-field-response-class.d.ts +25 -0
  95. package/dist/models/get-product-field-response-class.js +15 -0
  96. package/dist/models/get-product-request-dto.d.ts +36 -0
  97. package/dist/models/get-product-request-dto.js +15 -0
  98. package/dist/models/get-product-response-class.d.ts +25 -0
  99. package/dist/models/get-product-response-class.js +15 -0
  100. package/dist/models/get-product-version-request-dto.d.ts +24 -0
  101. package/dist/models/get-product-version-request-dto.js +15 -0
  102. package/dist/models/get-product-version-response-class.d.ts +25 -0
  103. package/dist/models/get-product-version-response-class.js +15 -0
  104. package/dist/models/grouped-product-factor-class.d.ts +37 -0
  105. package/dist/models/grouped-product-factor-class.js +15 -0
  106. package/dist/models/grouped-product-factor-value-class.d.ts +36 -0
  107. package/dist/models/grouped-product-factor-value-class.js +15 -0
  108. package/dist/models/grouped-product-factors-response-class.d.ts +25 -0
  109. package/dist/models/grouped-product-factors-response-class.js +15 -0
  110. package/dist/models/grpc-create-policy-request-dto.d.ts +37 -0
  111. package/dist/models/grpc-create-policy-request-dto.js +15 -0
  112. package/dist/models/index.d.ts +79 -0
  113. package/dist/models/index.js +95 -0
  114. package/dist/models/insured-object-class.d.ts +67 -0
  115. package/dist/models/insured-object-class.js +15 -0
  116. package/dist/models/insured-object-type-class.d.ts +48 -0
  117. package/dist/models/insured-object-type-class.js +15 -0
  118. package/dist/models/list-insured-object-types-response-class.d.ts +31 -0
  119. package/dist/models/list-insured-object-types-response-class.js +15 -0
  120. package/dist/models/list-insured-objects-response-class.d.ts +30 -0
  121. package/dist/models/list-insured-objects-response-class.js +15 -0
  122. package/dist/models/list-policies-response-class.d.ts +31 -0
  123. package/dist/models/list-policies-response-class.js +15 -0
  124. package/dist/models/list-premium-formulas-response-class.d.ts +31 -0
  125. package/dist/models/list-premium-formulas-response-class.js +15 -0
  126. package/dist/models/list-product-factors-response-class.d.ts +31 -0
  127. package/dist/models/list-product-factors-response-class.js +15 -0
  128. package/dist/models/list-product-field-types-response-class.d.ts +30 -0
  129. package/dist/models/list-product-field-types-response-class.js +15 -0
  130. package/dist/models/list-product-fields-response-class.d.ts +31 -0
  131. package/dist/models/list-product-fields-response-class.js +15 -0
  132. package/dist/models/list-products-response-class.d.ts +31 -0
  133. package/dist/models/list-products-response-class.js +15 -0
  134. package/dist/models/list-request-dto.d.ts +54 -0
  135. package/dist/models/list-request-dto.js +15 -0
  136. package/dist/models/policy-class.d.ts +86 -0
  137. package/dist/models/policy-class.js +15 -0
  138. package/dist/models/policy-object-class.d.ts +42 -0
  139. package/dist/models/policy-object-class.js +15 -0
  140. package/dist/models/policy-object-dto.d.ts +30 -0
  141. package/dist/models/policy-object-dto.js +15 -0
  142. package/dist/models/policy-premium-class.d.ts +43 -0
  143. package/dist/models/policy-premium-class.js +15 -0
  144. package/dist/models/policy-premium-item-class.d.ts +49 -0
  145. package/dist/models/policy-premium-item-class.js +15 -0
  146. package/dist/models/policy-version-class.d.ts +55 -0
  147. package/dist/models/policy-version-class.js +15 -0
  148. package/dist/models/premium-formula-class.d.ts +79 -0
  149. package/dist/models/premium-formula-class.js +15 -0
  150. package/dist/models/product-class.d.ts +74 -0
  151. package/dist/models/product-class.js +15 -0
  152. package/dist/models/product-factor-class.d.ts +68 -0
  153. package/dist/models/product-factor-class.js +15 -0
  154. package/dist/models/product-factor-value-class.d.ts +80 -0
  155. package/dist/models/product-factor-value-class.js +15 -0
  156. package/dist/models/product-field-class.d.ts +114 -0
  157. package/dist/models/product-field-class.js +15 -0
  158. package/dist/models/product-version-class.d.ts +54 -0
  159. package/dist/models/product-version-class.js +15 -0
  160. package/dist/models/store-product-factors-request-dto.d.ts +31 -0
  161. package/dist/models/store-product-factors-request-dto.js +15 -0
  162. package/dist/models/store-product-factors-response-class.d.ts +25 -0
  163. package/dist/models/store-product-factors-response-class.js +15 -0
  164. package/dist/models/timeslice-class.d.ts +62 -0
  165. package/dist/models/timeslice-class.js +15 -0
  166. package/dist/models/update-insured-object-request-dto.d.ts +48 -0
  167. package/dist/models/update-insured-object-request-dto.js +15 -0
  168. package/dist/models/update-lead-request-dto.d.ts +71 -0
  169. package/dist/models/update-lead-request-dto.js +22 -0
  170. package/dist/models/update-policy-request-dto.d.ts +43 -0
  171. package/dist/models/update-policy-request-dto.js +15 -0
  172. package/dist/models/update-policy-response-class.d.ts +25 -0
  173. package/dist/models/update-policy-response-class.js +15 -0
  174. package/dist/models/update-premium-formula-request-dto.d.ts +71 -0
  175. package/dist/models/update-premium-formula-request-dto.js +25 -0
  176. package/dist/models/update-premium-formula-response-class.d.ts +25 -0
  177. package/dist/models/update-premium-formula-response-class.js +15 -0
  178. package/dist/models/update-product-field-request-dto.d.ts +119 -0
  179. package/dist/models/update-product-field-request-dto.js +20 -0
  180. package/dist/models/update-product-field-response-class.d.ts +25 -0
  181. package/dist/models/update-product-field-response-class.js +15 -0
  182. package/dist/models/update-product-request-dto.d.ts +42 -0
  183. package/dist/models/update-product-request-dto.js +15 -0
  184. package/dist/models/update-product-response-class.d.ts +25 -0
  185. package/dist/models/update-product-response-class.js +15 -0
  186. package/dist/models/update-product-version-request-dto.d.ts +43 -0
  187. package/dist/models/update-product-version-request-dto.js +22 -0
  188. package/dist/models/update-product-version-response-class.d.ts +25 -0
  189. package/dist/models/update-product-version-response-class.js +15 -0
  190. package/dist/models/uploaded-document-dto.d.ts +24 -0
  191. package/dist/models/uploaded-document-dto.js +15 -0
  192. package/dist/models/validate-product-factors-request-dto.d.ts +31 -0
  193. package/dist/models/validate-product-factors-request-dto.js +15 -0
  194. package/git_push.sh +57 -0
  195. package/index.ts +19 -0
  196. package/models/calculate-custom-premium-request-dto.ts +43 -0
  197. package/models/calculate-premium-request-dto.ts +37 -0
  198. package/models/create-account-request-dto.ts +90 -0
  199. package/models/create-bank-account-request-dto.ts +36 -0
  200. package/models/create-claim-request-dto.ts +93 -0
  201. package/models/create-custom-application-request-dto.ts +49 -0
  202. package/models/create-dummy-policy-request-dto.ts +37 -0
  203. package/models/create-insured-object-request-dto.ts +48 -0
  204. package/models/create-insured-object-response-class.ts +31 -0
  205. package/models/create-lead-request-dto.ts +80 -0
  206. package/models/create-policy-request-dto.ts +43 -0
  207. package/models/create-policy-response-class.ts +31 -0
  208. package/models/create-premium-formula-request-dto.ts +75 -0
  209. package/models/create-premium-formula-response-class.ts +31 -0
  210. package/models/create-product-field-request-dto.ts +122 -0
  211. package/models/create-product-field-response-class.ts +31 -0
  212. package/models/create-product-request-dto.ts +66 -0
  213. package/models/create-product-response-class.ts +31 -0
  214. package/models/csv-product-factor-dto.ts +54 -0
  215. package/models/delete-request-dto.ts +30 -0
  216. package/models/get-insured-object-request-dto.ts +30 -0
  217. package/models/get-insured-object-response-class.ts +31 -0
  218. package/models/get-policy-request-dto.ts +36 -0
  219. package/models/get-policy-response-class.ts +31 -0
  220. package/models/get-premium-formula-request-dto.ts +30 -0
  221. package/models/get-premium-formula-response-class.ts +31 -0
  222. package/models/get-product-factor-response-class.ts +38 -0
  223. package/models/get-product-factor-value-request-dto.ts +48 -0
  224. package/models/get-product-factor-value-response-class.ts +31 -0
  225. package/models/get-product-field-request-dto.ts +30 -0
  226. package/models/get-product-field-response-class.ts +31 -0
  227. package/models/get-product-request-dto.ts +42 -0
  228. package/models/get-product-response-class.ts +31 -0
  229. package/models/get-product-version-request-dto.ts +30 -0
  230. package/models/get-product-version-response-class.ts +31 -0
  231. package/models/grouped-product-factor-class.ts +43 -0
  232. package/models/grouped-product-factor-value-class.ts +42 -0
  233. package/models/grouped-product-factors-response-class.ts +31 -0
  234. package/models/grpc-create-policy-request-dto.ts +43 -0
  235. package/models/index.ts +79 -0
  236. package/models/insured-object-class.ts +73 -0
  237. package/models/insured-object-type-class.ts +54 -0
  238. package/models/list-insured-object-types-response-class.ts +37 -0
  239. package/models/list-insured-objects-response-class.ts +36 -0
  240. package/models/list-policies-response-class.ts +37 -0
  241. package/models/list-premium-formulas-response-class.ts +37 -0
  242. package/models/list-product-factors-response-class.ts +37 -0
  243. package/models/list-product-field-types-response-class.ts +36 -0
  244. package/models/list-product-fields-response-class.ts +37 -0
  245. package/models/list-products-response-class.ts +37 -0
  246. package/models/list-request-dto.ts +60 -0
  247. package/models/policy-class.ts +92 -0
  248. package/models/policy-object-class.ts +48 -0
  249. package/models/policy-object-dto.ts +36 -0
  250. package/models/policy-premium-class.ts +49 -0
  251. package/models/policy-premium-item-class.ts +55 -0
  252. package/models/policy-version-class.ts +61 -0
  253. package/models/premium-formula-class.ts +85 -0
  254. package/models/product-class.ts +80 -0
  255. package/models/product-factor-class.ts +74 -0
  256. package/models/product-factor-value-class.ts +86 -0
  257. package/models/product-field-class.ts +120 -0
  258. package/models/product-version-class.ts +60 -0
  259. package/models/store-product-factors-request-dto.ts +37 -0
  260. package/models/store-product-factors-response-class.ts +31 -0
  261. package/models/timeslice-class.ts +68 -0
  262. package/models/update-insured-object-request-dto.ts +54 -0
  263. package/models/update-lead-request-dto.ts +80 -0
  264. package/models/update-policy-request-dto.ts +49 -0
  265. package/models/update-policy-response-class.ts +31 -0
  266. package/models/update-premium-formula-request-dto.ts +81 -0
  267. package/models/update-premium-formula-response-class.ts +31 -0
  268. package/models/update-product-field-request-dto.ts +128 -0
  269. package/models/update-product-field-response-class.ts +31 -0
  270. package/models/update-product-request-dto.ts +48 -0
  271. package/models/update-product-response-class.ts +31 -0
  272. package/models/update-product-version-request-dto.ts +52 -0
  273. package/models/update-product-version-response-class.ts +31 -0
  274. package/models/uploaded-document-dto.ts +30 -0
  275. package/models/validate-product-factors-request-dto.ts +37 -0
  276. package/package.json +29 -0
  277. package/tsconfig.json +22 -0
@@ -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 PolicyObjectDto
16
+ */
17
+ export interface PolicyObjectDto {
18
+ /**
19
+ * Insured object id
20
+ * @type {number}
21
+ * @memberof PolicyObjectDto
22
+ */
23
+ 'insuredObjectId': number;
24
+ /**
25
+ * Insured object data
26
+ * @type {object}
27
+ * @memberof PolicyObjectDto
28
+ */
29
+ 'data': object;
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,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
+ import { PolicyPremiumItemClass } from './policy-premium-item-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PolicyPremiumClass
17
+ */
18
+ export interface PolicyPremiumClass {
19
+ /**
20
+ * Premium Items
21
+ * @type {Array<PolicyPremiumItemClass>}
22
+ * @memberof PolicyPremiumClass
23
+ */
24
+ 'premiumItems': Array<PolicyPremiumItemClass>;
25
+ /**
26
+ * Policy premium grand total
27
+ * @type {number}
28
+ * @memberof PolicyPremiumClass
29
+ */
30
+ 'grandTotal': number;
31
+ /**
32
+ * Date created
33
+ * @type {string}
34
+ * @memberof PolicyPremiumClass
35
+ */
36
+ 'createdAt': string;
37
+ /**
38
+ * Date updated
39
+ * @type {string}
40
+ * @memberof PolicyPremiumClass
41
+ */
42
+ 'updatedAt': string;
43
+ }
@@ -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,49 @@
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 { PremiumFormulaClass } from './premium-formula-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PolicyPremiumItemClass
17
+ */
18
+ export interface PolicyPremiumItemClass {
19
+ /**
20
+ * Item premium formula id
21
+ * @type {number}
22
+ * @memberof PolicyPremiumItemClass
23
+ */
24
+ 'premiumFormulaId': number;
25
+ /**
26
+ * Item total
27
+ * @type {number}
28
+ * @memberof PolicyPremiumItemClass
29
+ */
30
+ 'total': number;
31
+ /**
32
+ * Date created
33
+ * @type {string}
34
+ * @memberof PolicyPremiumItemClass
35
+ */
36
+ 'createdAt': string;
37
+ /**
38
+ * Date updated
39
+ * @type {string}
40
+ * @memberof PolicyPremiumItemClass
41
+ */
42
+ 'updatedAt': string;
43
+ /**
44
+ * Item premium formula entity
45
+ * @type {PremiumFormulaClass}
46
+ * @memberof PolicyPremiumItemClass
47
+ */
48
+ 'premiumFormula': PremiumFormulaClass;
49
+ }
@@ -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,55 @@
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 { TimesliceClass } from './timeslice-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PolicyVersionClass
17
+ */
18
+ export interface PolicyVersionClass {
19
+ /**
20
+ * Policy version id
21
+ * @type {number}
22
+ * @memberof PolicyVersionClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Policy timeline
27
+ * @type {Array<TimesliceClass>}
28
+ * @memberof PolicyVersionClass
29
+ */
30
+ 'timeline': Array<TimesliceClass>;
31
+ /**
32
+ * Policy version metadata
33
+ * @type {object}
34
+ * @memberof PolicyVersionClass
35
+ */
36
+ 'metadata': object;
37
+ /**
38
+ * Is this the current policy version?
39
+ * @type {boolean}
40
+ * @memberof PolicyVersionClass
41
+ */
42
+ 'isCurrent': boolean;
43
+ /**
44
+ * Date created
45
+ * @type {string}
46
+ * @memberof PolicyVersionClass
47
+ */
48
+ 'createdAt': string;
49
+ /**
50
+ * Date updated
51
+ * @type {string}
52
+ * @memberof PolicyVersionClass
53
+ */
54
+ 'updatedAt': string;
55
+ }
@@ -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,79 @@
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 { ProductVersionClass } from './product-version-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PremiumFormulaClass
17
+ */
18
+ export interface PremiumFormulaClass {
19
+ /**
20
+ * Premium formula id
21
+ * @type {number}
22
+ * @memberof PremiumFormulaClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Product version id
27
+ * @type {number}
28
+ * @memberof PremiumFormulaClass
29
+ */
30
+ 'productVersionId': number;
31
+ /**
32
+ * Premium group
33
+ * @type {string}
34
+ * @memberof PremiumFormulaClass
35
+ */
36
+ 'group': string;
37
+ /**
38
+ * Premium name
39
+ * @type {string}
40
+ * @memberof PremiumFormulaClass
41
+ */
42
+ 'name': string;
43
+ /**
44
+ * Premium expression
45
+ * @type {string}
46
+ * @memberof PremiumFormulaClass
47
+ */
48
+ 'expression': string;
49
+ /**
50
+ * Product type
51
+ * @type {string}
52
+ * @memberof PremiumFormulaClass
53
+ */
54
+ 'type': string;
55
+ /**
56
+ * Premium type unit
57
+ * @type {string}
58
+ * @memberof PremiumFormulaClass
59
+ */
60
+ 'unit': string;
61
+ /**
62
+ * Premium product version
63
+ * @type {Array<ProductVersionClass>}
64
+ * @memberof PremiumFormulaClass
65
+ */
66
+ 'productVersion': Array<ProductVersionClass>;
67
+ /**
68
+ * Date created
69
+ * @type {string}
70
+ * @memberof PremiumFormulaClass
71
+ */
72
+ 'createdAt': string;
73
+ /**
74
+ * Date updated
75
+ * @type {string}
76
+ * @memberof PremiumFormulaClass
77
+ */
78
+ 'updatedAt': string;
79
+ }
@@ -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,74 @@
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 { InsuredObjectTypeClass } from './insured-object-type-class';
13
+ import { ProductVersionClass } from './product-version-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ProductClass
18
+ */
19
+ export interface ProductClass {
20
+ /**
21
+ * Product id
22
+ * @type {number}
23
+ * @memberof ProductClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Product code
28
+ * @type {string}
29
+ * @memberof ProductClass
30
+ */
31
+ 'code': string;
32
+ /**
33
+ * Product\'s name
34
+ * @type {string}
35
+ * @memberof ProductClass
36
+ */
37
+ 'name': string;
38
+ /**
39
+ * Product\'s slug
40
+ * @type {string}
41
+ * @memberof ProductClass
42
+ */
43
+ 'slug': string;
44
+ /**
45
+ * Insured object types covered under product
46
+ * @type {Array<InsuredObjectTypeClass>}
47
+ * @memberof ProductClass
48
+ */
49
+ 'insuredObjectTypes': Array<InsuredObjectTypeClass>;
50
+ /**
51
+ * Contract duration in days
52
+ * @type {number}
53
+ * @memberof ProductClass
54
+ */
55
+ 'contractDurationDays': number;
56
+ /**
57
+ * Product versions
58
+ * @type {Array<ProductVersionClass>}
59
+ * @memberof ProductClass
60
+ */
61
+ 'versions': Array<ProductVersionClass>;
62
+ /**
63
+ * Date created
64
+ * @type {string}
65
+ * @memberof ProductClass
66
+ */
67
+ 'createdAt': string;
68
+ /**
69
+ * Date updated
70
+ * @type {string}
71
+ * @memberof ProductClass
72
+ */
73
+ 'updatedAt': string;
74
+ }
@@ -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,68 @@
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 { ProductFactorValueClass } from './product-factor-value-class';
13
+ import { ProductVersionClass } from './product-version-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ProductFactorClass
18
+ */
19
+ export interface ProductFactorClass {
20
+ /**
21
+ * Factor id
22
+ * @type {number}
23
+ * @memberof ProductFactorClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Factor product version id
28
+ * @type {number}
29
+ * @memberof ProductFactorClass
30
+ */
31
+ 'productVersionId': number;
32
+ /**
33
+ * Factor group
34
+ * @type {string}
35
+ * @memberof ProductFactorClass
36
+ */
37
+ 'group': string;
38
+ /**
39
+ * Factor label
40
+ * @type {string}
41
+ * @memberof ProductFactorClass
42
+ */
43
+ 'label': string;
44
+ /**
45
+ * Factor values
46
+ * @type {Array<ProductFactorValueClass>}
47
+ * @memberof ProductFactorClass
48
+ */
49
+ 'values': Array<ProductFactorValueClass>;
50
+ /**
51
+ * Factor product version
52
+ * @type {ProductVersionClass}
53
+ * @memberof ProductFactorClass
54
+ */
55
+ 'productVersion': ProductVersionClass;
56
+ /**
57
+ * Date created
58
+ * @type {string}
59
+ * @memberof ProductFactorClass
60
+ */
61
+ 'createdAt': string;
62
+ /**
63
+ * Date updated
64
+ * @type {string}
65
+ * @memberof ProductFactorClass
66
+ */
67
+ 'updatedAt': string;
68
+ }
@@ -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,80 @@
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
+ import { ProductVersionClass } from './product-version-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ProductFactorValueClass
18
+ */
19
+ export interface ProductFactorValueClass {
20
+ /**
21
+ * Factor value id
22
+ * @type {number}
23
+ * @memberof ProductFactorValueClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Factor value product version id
28
+ * @type {number}
29
+ * @memberof ProductFactorValueClass
30
+ */
31
+ 'productVersionId': number;
32
+ /**
33
+ * Factor id
34
+ * @type {number}
35
+ * @memberof ProductFactorValueClass
36
+ */
37
+ 'productFactorId': number;
38
+ /**
39
+ * Factor value name
40
+ * @type {string}
41
+ * @memberof ProductFactorValueClass
42
+ */
43
+ 'name': string;
44
+ /**
45
+ * Factor value key
46
+ * @type {string}
47
+ * @memberof ProductFactorValueClass
48
+ */
49
+ 'key': string;
50
+ /**
51
+ * Factor value data
52
+ * @type {number}
53
+ * @memberof ProductFactorValueClass
54
+ */
55
+ 'value': number;
56
+ /**
57
+ *
58
+ * @type {ProductFactorClass}
59
+ * @memberof ProductFactorValueClass
60
+ */
61
+ 'productFactor': ProductFactorClass;
62
+ /**
63
+ *
64
+ * @type {ProductVersionClass}
65
+ * @memberof ProductFactorValueClass
66
+ */
67
+ 'productVersion': ProductVersionClass;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof ProductFactorValueClass
72
+ */
73
+ 'createdAt': string;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof ProductFactorValueClass
78
+ */
79
+ 'updatedAt': string;
80
+ }
@@ -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 });