@emilgroup/insurance-sdk-node 1.52.0 → 1.54.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 (218) hide show
  1. package/.openapi-generator/FILES +38 -1
  2. package/README.md +2 -2
  3. package/api/booking-funnel-versions-api.ts +4 -4
  4. package/api/booking-funnels-api.ts +20 -12
  5. package/api/commission-agreement-products-api.ts +710 -0
  6. package/api/commission-agreement-versions-api.ts +592 -0
  7. package/api/commission-agreements-api.ts +697 -0
  8. package/api/commission-recipients-api.ts +696 -0
  9. package/api/emil-functions-api.ts +8 -8
  10. package/api/{default-api.ts → health-check-api.ts} +21 -17
  11. package/api/insured-objects-api.ts +5 -2
  12. package/api/lead-statuses-api.ts +4 -4
  13. package/api/lead-versions-api.ts +4 -4
  14. package/api/leads-api.ts +4 -4
  15. package/api/partner-links-api.ts +4 -4
  16. package/api/partner-roles-api.ts +4 -4
  17. package/api/policies-api.ts +192 -237
  18. package/api/products-api.ts +8 -8
  19. package/api/status-transition-rules-api.ts +4 -4
  20. package/api.ts +10 -2
  21. package/base.ts +15 -7
  22. package/dist/api/booking-funnel-versions-api.d.ts +4 -4
  23. package/dist/api/booking-funnel-versions-api.js +4 -4
  24. package/dist/api/booking-funnels-api.d.ts +20 -16
  25. package/dist/api/booking-funnels-api.js +4 -4
  26. package/dist/api/commission-agreement-products-api.d.ts +403 -0
  27. package/dist/api/commission-agreement-products-api.js +652 -0
  28. package/dist/api/commission-agreement-versions-api.d.ts +337 -0
  29. package/dist/api/commission-agreement-versions-api.js +555 -0
  30. package/dist/api/commission-agreements-api.d.ts +394 -0
  31. package/dist/api/commission-agreements-api.js +646 -0
  32. package/dist/api/commission-recipients-api.d.ts +394 -0
  33. package/dist/api/commission-recipients-api.js +646 -0
  34. package/dist/api/emil-functions-api.d.ts +8 -8
  35. package/dist/api/emil-functions-api.js +8 -8
  36. package/dist/api/health-check-api.d.ts +70 -0
  37. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  38. package/dist/api/insured-objects-api.js +4 -2
  39. package/dist/api/lead-statuses-api.d.ts +4 -4
  40. package/dist/api/lead-statuses-api.js +4 -4
  41. package/dist/api/lead-versions-api.d.ts +4 -4
  42. package/dist/api/lead-versions-api.js +4 -4
  43. package/dist/api/leads-api.d.ts +4 -4
  44. package/dist/api/leads-api.js +4 -4
  45. package/dist/api/partner-links-api.d.ts +4 -4
  46. package/dist/api/partner-links-api.js +3 -3
  47. package/dist/api/partner-roles-api.d.ts +4 -4
  48. package/dist/api/partner-roles-api.js +4 -4
  49. package/dist/api/policies-api.d.ts +150 -177
  50. package/dist/api/policies-api.js +143 -165
  51. package/dist/api/products-api.d.ts +8 -8
  52. package/dist/api/products-api.js +8 -8
  53. package/dist/api/status-transition-rules-api.d.ts +4 -4
  54. package/dist/api/status-transition-rules-api.js +4 -4
  55. package/dist/api.d.ts +5 -1
  56. package/dist/api.js +5 -1
  57. package/dist/base.d.ts +3 -1
  58. package/dist/base.js +27 -20
  59. package/dist/models/booking-funnel-class.d.ts +12 -0
  60. package/dist/models/commission-agreement-class.d.ts +101 -0
  61. package/dist/models/commission-agreement-class.js +23 -0
  62. package/dist/models/commission-agreement-item-class.d.ts +78 -0
  63. package/dist/models/commission-agreement-item-class.js +15 -0
  64. package/dist/models/commission-agreement-product-class.d.ts +84 -0
  65. package/dist/models/commission-agreement-product-class.js +15 -0
  66. package/dist/models/commission-agreement-version-class.d.ts +91 -0
  67. package/dist/models/commission-agreement-version-class.js +15 -0
  68. package/dist/models/commission-recipient-class.d.ts +90 -0
  69. package/dist/models/commission-recipient-class.js +15 -0
  70. package/dist/models/create-booking-funnel-response-class.d.ts +25 -0
  71. package/dist/models/create-booking-funnel-response-class.js +15 -0
  72. package/dist/models/create-commission-agreement-item-dto.d.ts +36 -0
  73. package/dist/models/create-commission-agreement-item-dto.js +15 -0
  74. package/dist/models/create-commission-agreement-product-request-dto.d.ts +42 -0
  75. package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
  76. package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
  77. package/dist/models/create-commission-agreement-product-response-class.js +15 -0
  78. package/dist/models/create-commission-agreement-request-dto.d.ts +75 -0
  79. package/dist/models/create-commission-agreement-request-dto.js +23 -0
  80. package/dist/models/create-commission-agreement-response-class.d.ts +25 -0
  81. package/dist/models/create-commission-agreement-response-class.js +15 -0
  82. package/dist/models/create-commission-agreement-version-request-dto.d.ts +49 -0
  83. package/dist/models/create-commission-agreement-version-request-dto.js +15 -0
  84. package/dist/models/create-commission-agreement-version-response-class.d.ts +25 -0
  85. package/dist/models/create-commission-agreement-version-response-class.js +15 -0
  86. package/dist/models/create-commission-recipient-request-dto.d.ts +48 -0
  87. package/dist/models/create-commission-recipient-request-dto.js +15 -0
  88. package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
  89. package/dist/models/create-commission-recipient-response-class.js +15 -0
  90. package/dist/models/create-dummy-policy-request-dto.d.ts +6 -0
  91. package/dist/models/create-lead-request-dto.d.ts +4 -9
  92. package/dist/models/emil-function-class.d.ts +12 -0
  93. package/dist/models/get-booking-funnel-response-class.d.ts +25 -0
  94. package/dist/models/get-booking-funnel-response-class.js +15 -0
  95. package/dist/models/get-commission-agreement-product-response-class.d.ts +25 -0
  96. package/dist/models/get-commission-agreement-product-response-class.js +15 -0
  97. package/dist/models/get-commission-agreement-response-class.d.ts +25 -0
  98. package/dist/models/get-commission-agreement-response-class.js +15 -0
  99. package/dist/models/get-commission-agreement-version-response-class.d.ts +25 -0
  100. package/dist/models/get-commission-agreement-version-response-class.js +15 -0
  101. package/dist/models/get-commission-recipient-response-class.d.ts +25 -0
  102. package/dist/models/get-commission-recipient-response-class.js +15 -0
  103. package/dist/models/index.d.ts +33 -0
  104. package/dist/models/index.js +33 -0
  105. package/dist/models/insured-object-class.d.ts +12 -0
  106. package/dist/models/insured-object-type-class.d.ts +12 -0
  107. package/dist/models/lead-class.d.ts +12 -0
  108. package/dist/models/lead-status-class.d.ts +12 -0
  109. package/dist/models/link-lead-partner-request-dto.d.ts +36 -0
  110. package/dist/models/link-lead-partner-request-dto.js +15 -0
  111. package/dist/models/list-commission-agreement-products-response-class.d.ts +31 -0
  112. package/dist/models/list-commission-agreement-products-response-class.js +15 -0
  113. package/dist/models/list-commission-agreement-versions-response-class.d.ts +31 -0
  114. package/dist/models/list-commission-agreement-versions-response-class.js +15 -0
  115. package/dist/models/list-commission-agreements-response-class.d.ts +31 -0
  116. package/dist/models/list-commission-agreements-response-class.js +15 -0
  117. package/dist/models/list-commission-recipients-response-class.d.ts +31 -0
  118. package/dist/models/list-commission-recipients-response-class.js +15 -0
  119. package/dist/models/list-named-ranges-response-class.d.ts +3 -2
  120. package/dist/models/named-range-class.d.ts +12 -0
  121. package/dist/models/partner-link-class.d.ts +12 -0
  122. package/dist/models/partner-role-class.d.ts +12 -0
  123. package/dist/models/patch-booking-funnel-response-class.d.ts +25 -0
  124. package/dist/models/patch-booking-funnel-response-class.js +15 -0
  125. package/dist/models/policy-class.d.ts +12 -0
  126. package/dist/models/policy-object-class.d.ts +12 -0
  127. package/dist/models/policy-premium-class.d.ts +12 -0
  128. package/dist/models/policy-premium-item-class.d.ts +12 -0
  129. package/dist/models/policy-version-class.d.ts +12 -0
  130. package/dist/models/premium-formula-class.d.ts +12 -0
  131. package/dist/models/product-class.d.ts +12 -0
  132. package/dist/models/product-factor-class.d.ts +12 -0
  133. package/dist/models/product-factor-for-version-class.d.ts +12 -0
  134. package/dist/models/product-factor-value-class.d.ts +12 -0
  135. package/dist/models/product-field-class.d.ts +12 -0
  136. package/dist/models/product-field-type-class.d.ts +12 -0
  137. package/dist/models/product-version-class.d.ts +12 -0
  138. package/dist/models/shared-product-field-class.d.ts +12 -0
  139. package/dist/models/status-transition-rule-class.d.ts +12 -0
  140. package/dist/models/timeslice-class.d.ts +12 -0
  141. package/dist/models/update-booking-funnel-response-class.d.ts +25 -0
  142. package/dist/models/update-booking-funnel-response-class.js +15 -0
  143. package/dist/models/update-commission-agreement-product-request-dto.d.ts +42 -0
  144. package/dist/models/update-commission-agreement-product-request-dto.js +15 -0
  145. package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
  146. package/dist/models/update-commission-agreement-product-response-class.js +15 -0
  147. package/dist/models/update-commission-agreement-request-dto.d.ts +44 -0
  148. package/dist/models/update-commission-agreement-request-dto.js +23 -0
  149. package/dist/models/update-commission-agreement-response-class.d.ts +25 -0
  150. package/dist/models/update-commission-agreement-response-class.js +15 -0
  151. package/dist/models/update-commission-recipient-request-dto.d.ts +48 -0
  152. package/dist/models/update-commission-recipient-request-dto.js +15 -0
  153. package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
  154. package/dist/models/update-commission-recipient-response-class.js +15 -0
  155. package/models/booking-funnel-class.ts +12 -0
  156. package/models/commission-agreement-class.ts +110 -0
  157. package/models/commission-agreement-item-class.ts +84 -0
  158. package/models/commission-agreement-product-class.ts +90 -0
  159. package/models/commission-agreement-version-class.ts +97 -0
  160. package/models/commission-recipient-class.ts +96 -0
  161. package/models/create-booking-funnel-response-class.ts +31 -0
  162. package/models/create-commission-agreement-item-dto.ts +42 -0
  163. package/models/create-commission-agreement-product-request-dto.ts +48 -0
  164. package/models/create-commission-agreement-product-response-class.ts +31 -0
  165. package/models/create-commission-agreement-request-dto.ts +84 -0
  166. package/models/create-commission-agreement-response-class.ts +31 -0
  167. package/models/create-commission-agreement-version-request-dto.ts +55 -0
  168. package/models/create-commission-agreement-version-response-class.ts +31 -0
  169. package/models/create-commission-recipient-request-dto.ts +54 -0
  170. package/models/create-commission-recipient-response-class.ts +31 -0
  171. package/models/create-dummy-policy-request-dto.ts +6 -0
  172. package/models/create-lead-request-dto.ts +4 -9
  173. package/models/emil-function-class.ts +12 -0
  174. package/models/get-booking-funnel-response-class.ts +31 -0
  175. package/models/get-commission-agreement-product-response-class.ts +31 -0
  176. package/models/get-commission-agreement-response-class.ts +31 -0
  177. package/models/get-commission-agreement-version-response-class.ts +31 -0
  178. package/models/get-commission-recipient-response-class.ts +31 -0
  179. package/models/index.ts +33 -0
  180. package/models/insured-object-class.ts +12 -0
  181. package/models/insured-object-type-class.ts +12 -0
  182. package/models/lead-class.ts +12 -0
  183. package/models/lead-status-class.ts +12 -0
  184. package/models/link-lead-partner-request-dto.ts +42 -0
  185. package/models/list-commission-agreement-products-response-class.ts +37 -0
  186. package/models/list-commission-agreement-versions-response-class.ts +37 -0
  187. package/models/list-commission-agreements-response-class.ts +37 -0
  188. package/models/list-commission-recipients-response-class.ts +37 -0
  189. package/models/list-named-ranges-response-class.ts +3 -2
  190. package/models/named-range-class.ts +12 -0
  191. package/models/partner-link-class.ts +12 -0
  192. package/models/partner-role-class.ts +12 -0
  193. package/models/patch-booking-funnel-response-class.ts +31 -0
  194. package/models/policy-class.ts +12 -0
  195. package/models/policy-object-class.ts +12 -0
  196. package/models/policy-premium-class.ts +12 -0
  197. package/models/policy-premium-item-class.ts +12 -0
  198. package/models/policy-version-class.ts +12 -0
  199. package/models/premium-formula-class.ts +12 -0
  200. package/models/product-class.ts +12 -0
  201. package/models/product-factor-class.ts +12 -0
  202. package/models/product-factor-for-version-class.ts +12 -0
  203. package/models/product-factor-value-class.ts +12 -0
  204. package/models/product-field-class.ts +12 -0
  205. package/models/product-field-type-class.ts +12 -0
  206. package/models/product-version-class.ts +12 -0
  207. package/models/shared-product-field-class.ts +12 -0
  208. package/models/status-transition-rule-class.ts +12 -0
  209. package/models/timeslice-class.ts +12 -0
  210. package/models/update-booking-funnel-response-class.ts +31 -0
  211. package/models/update-commission-agreement-product-request-dto.ts +48 -0
  212. package/models/update-commission-agreement-product-response-class.ts +31 -0
  213. package/models/update-commission-agreement-request-dto.ts +53 -0
  214. package/models/update-commission-agreement-response-class.ts +31 -0
  215. package/models/update-commission-recipient-request-dto.ts +54 -0
  216. package/models/update-commission-recipient-response-class.ts +31 -0
  217. package/package.json +1 -1
  218. package/dist/api/default-api.d.ts +0 -66
@@ -43,7 +43,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
43
43
  */
44
44
  deleteProduct: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
45
  /**
46
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
46
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
47
47
  * @summary Retrieve the product
48
48
  * @param {string} code Unique identifier for the object.
49
49
  * @param {number} id Unique identifier referencing the product.
@@ -55,7 +55,7 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
55
55
  */
56
56
  getProductByCode: (code: string, id: number, slug: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
57
  /**
58
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
58
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
59
59
  * @summary Retrieve the product
60
60
  * @param {number} id Unique identifier referencing the product.
61
61
  * @param {string} code Unique identifier of the product that this object belongs to.
@@ -116,7 +116,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
116
116
  */
117
117
  deleteProduct(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
118
118
  /**
119
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
119
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
120
120
  * @summary Retrieve the product
121
121
  * @param {string} code Unique identifier for the object.
122
122
  * @param {number} id Unique identifier referencing the product.
@@ -128,7 +128,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
128
128
  */
129
129
  getProductByCode(code: string, id: number, slug: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
130
130
  /**
131
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
131
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
132
132
  * @summary Retrieve the product
133
133
  * @param {number} id Unique identifier referencing the product.
134
134
  * @param {string} code Unique identifier of the product that this object belongs to.
@@ -189,7 +189,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
189
189
  */
190
190
  deleteProduct(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
191
191
  /**
192
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
192
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
193
193
  * @summary Retrieve the product
194
194
  * @param {string} code Unique identifier for the object.
195
195
  * @param {number} id Unique identifier referencing the product.
@@ -201,7 +201,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
201
201
  */
202
202
  getProductByCode(code: string, id: number, slug: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
203
203
  /**
204
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
204
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
205
205
  * @summary Retrieve the product
206
206
  * @param {number} id Unique identifier referencing the product.
207
207
  * @param {string} code Unique identifier of the product that this object belongs to.
@@ -456,7 +456,7 @@ export declare class ProductsApi extends BaseAPI {
456
456
  */
457
457
  deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
458
458
  /**
459
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
459
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
460
460
  * @summary Retrieve the product
461
461
  * @param {ProductsApiGetProductByCodeRequest} requestParameters Request parameters.
462
462
  * @param {*} [options] Override http request option.
@@ -465,7 +465,7 @@ export declare class ProductsApi extends BaseAPI {
465
465
  */
466
466
  getProductByCode(requestParameters: ProductsApiGetProductByCodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any>>;
467
467
  /**
468
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
468
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
469
469
  * @summary Retrieve the product
470
470
  * @param {ProductsApiGetProductByIdentifierRequest} requestParameters Request parameters.
471
471
  * @param {*} [options] Override http request option.
@@ -194,7 +194,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
197
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
198
198
  * @summary Retrieve the product
199
199
  * @param {string} code Unique identifier for the object.
200
200
  * @param {number} id Unique identifier referencing the product.
@@ -258,7 +258,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
258
258
  });
259
259
  },
260
260
  /**
261
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
261
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
262
262
  * @summary Retrieve the product
263
263
  * @param {number} id Unique identifier referencing the product.
264
264
  * @param {string} code Unique identifier of the product that this object belongs to.
@@ -501,7 +501,7 @@ var ProductsApiFp = function (configuration) {
501
501
  });
502
502
  },
503
503
  /**
504
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
504
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
505
505
  * @summary Retrieve the product
506
506
  * @param {string} code Unique identifier for the object.
507
507
  * @param {number} id Unique identifier referencing the product.
@@ -525,7 +525,7 @@ var ProductsApiFp = function (configuration) {
525
525
  });
526
526
  },
527
527
  /**
528
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
528
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
529
529
  * @summary Retrieve the product
530
530
  * @param {number} id Unique identifier referencing the product.
531
531
  * @param {string} code Unique identifier of the product that this object belongs to.
@@ -630,7 +630,7 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
630
630
  return localVarFp.deleteProduct(id, authorization, options).then(function (request) { return request(axios, basePath); });
631
631
  },
632
632
  /**
633
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
633
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
634
634
  * @summary Retrieve the product
635
635
  * @param {string} code Unique identifier for the object.
636
636
  * @param {number} id Unique identifier referencing the product.
@@ -644,7 +644,7 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
644
644
  return localVarFp.getProductByCode(code, id, slug, authorization, expand, options).then(function (request) { return request(axios, basePath); });
645
645
  },
646
646
  /**
647
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
647
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
648
648
  * @summary Retrieve the product
649
649
  * @param {number} id Unique identifier referencing the product.
650
650
  * @param {string} code Unique identifier of the product that this object belongs to.
@@ -725,7 +725,7 @@ var ProductsApi = /** @class */ (function (_super) {
725
725
  return (0, exports.ProductsApiFp)(this.configuration).deleteProduct(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
726
726
  };
727
727
  /**
728
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
728
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
729
729
  * @summary Retrieve the product
730
730
  * @param {ProductsApiGetProductByCodeRequest} requestParameters Request parameters.
731
731
  * @param {*} [options] Override http request option.
@@ -737,7 +737,7 @@ var ProductsApi = /** @class */ (function (_super) {
737
737
  return (0, exports.ProductsApiFp)(this.configuration).getProductByCode(requestParameters.code, requestParameters.id, requestParameters.slug, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
738
738
  };
739
739
  /**
740
- * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
740
+ * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
741
741
  * @summary Retrieve the product
742
742
  * @param {ProductsApiGetProductByIdentifierRequest} requestParameters Request parameters.
743
743
  * @param {*} [options] Override http request option.
@@ -45,7 +45,7 @@ export declare const StatusTransitionRulesApiAxiosParamCreator: (configuration?:
45
45
  */
46
46
  deleteStatusTransitionRule: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
47
  /**
48
- * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
48
+ * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
49
49
  * @summary Retrieve the status transition rule
50
50
  * @param {string} code Unique identifier for the object.
51
51
  * @param {string} [authorization] Bearer Token
@@ -114,7 +114,7 @@ export declare const StatusTransitionRulesApiFp: (configuration?: Configuration)
114
114
  */
115
115
  deleteStatusTransitionRule(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
116
116
  /**
117
- * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
117
+ * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
118
118
  * @summary Retrieve the status transition rule
119
119
  * @param {string} code Unique identifier for the object.
120
120
  * @param {string} [authorization] Bearer Token
@@ -183,7 +183,7 @@ export declare const StatusTransitionRulesApiFactory: (configuration?: Configura
183
183
  */
184
184
  deleteStatusTransitionRule(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
185
185
  /**
186
- * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
186
+ * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
187
187
  * @summary Retrieve the status transition rule
188
188
  * @param {string} code Unique identifier for the object.
189
189
  * @param {string} [authorization] Bearer Token
@@ -422,7 +422,7 @@ export declare class StatusTransitionRulesApi extends BaseAPI {
422
422
  */
423
423
  deleteStatusTransitionRule(requestParameters: StatusTransitionRulesApiDeleteStatusTransitionRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
424
424
  /**
425
- * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
425
+ * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
426
426
  * @summary Retrieve the status transition rule
427
427
  * @param {StatusTransitionRulesApiGetStatusTransitionRuleRequest} requestParameters Request parameters.
428
428
  * @param {*} [options] Override http request option.
@@ -194,7 +194,7 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
197
+ * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
198
198
  * @summary Retrieve the status transition rule
199
199
  * @param {string} code Unique identifier for the object.
200
200
  * @param {string} [authorization] Bearer Token
@@ -476,7 +476,7 @@ var StatusTransitionRulesApiFp = function (configuration) {
476
476
  });
477
477
  },
478
478
  /**
479
- * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
479
+ * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
480
480
  * @summary Retrieve the status transition rule
481
481
  * @param {string} code Unique identifier for the object.
482
482
  * @param {string} [authorization] Bearer Token
@@ -601,7 +601,7 @@ var StatusTransitionRulesApiFactory = function (configuration, basePath, axios)
601
601
  return localVarFp.deleteStatusTransitionRule(code, authorization, options).then(function (request) { return request(axios, basePath); });
602
602
  },
603
603
  /**
604
- * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
604
+ * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
605
605
  * @summary Retrieve the status transition rule
606
606
  * @param {string} code Unique identifier for the object.
607
607
  * @param {string} [authorization] Bearer Token
@@ -692,7 +692,7 @@ var StatusTransitionRulesApi = /** @class */ (function (_super) {
692
692
  return (0, exports.StatusTransitionRulesApiFp)(this.configuration).deleteStatusTransitionRule(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
693
693
  };
694
694
  /**
695
- * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
695
+ * Retrieves the details of the status transition rule that was previously created. Supply the unique status transition rule code that was returned when you created it and Emil Api will return the corresponding status transition rule information.
696
696
  * @summary Retrieve the status transition rule
697
697
  * @param {StatusTransitionRulesApiGetStatusTransitionRuleRequest} requestParameters Request parameters.
698
698
  * @param {*} [options] Override http request option.
package/dist/api.d.ts CHANGED
@@ -11,8 +11,12 @@
11
11
  */
12
12
  export * from './api/booking-funnel-versions-api';
13
13
  export * from './api/booking-funnels-api';
14
- export * from './api/default-api';
14
+ export * from './api/commission-agreement-products-api';
15
+ export * from './api/commission-agreement-versions-api';
16
+ export * from './api/commission-agreements-api';
17
+ export * from './api/commission-recipients-api';
15
18
  export * from './api/emil-functions-api';
19
+ export * from './api/health-check-api';
16
20
  export * from './api/insured-object-types-api';
17
21
  export * from './api/insured-objects-api';
18
22
  export * from './api/lead-statuses-api';
package/dist/api.js CHANGED
@@ -29,8 +29,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/booking-funnel-versions-api"), exports);
31
31
  __exportStar(require("./api/booking-funnels-api"), exports);
32
- __exportStar(require("./api/default-api"), exports);
32
+ __exportStar(require("./api/commission-agreement-products-api"), exports);
33
+ __exportStar(require("./api/commission-agreement-versions-api"), exports);
34
+ __exportStar(require("./api/commission-agreements-api"), exports);
35
+ __exportStar(require("./api/commission-recipients-api"), exports);
33
36
  __exportStar(require("./api/emil-functions-api"), exports);
37
+ __exportStar(require("./api/health-check-api"), exports);
34
38
  __exportStar(require("./api/insured-object-types-api"), exports);
35
39
  __exportStar(require("./api/insured-objects-api"), exports);
36
40
  __exportStar(require("./api/lead-statuses-api"), exports);
package/dist/base.d.ts CHANGED
@@ -53,14 +53,16 @@ export declare class BaseAPI {
53
53
  protected configuration: Configuration;
54
54
  private username?;
55
55
  private password?;
56
+ private permissions;
56
57
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
57
58
  initialize(env?: Environment): Promise<void>;
58
59
  private loadCredentials;
59
60
  private readConfigFile;
60
61
  private readEnvVariables;
61
62
  selectEnvironment(env: Environment): void;
63
+ getPermissions(): Array<string>;
62
64
  authorize(username: string, password: string): Promise<void>;
63
- refreshTokenInternal(): Promise<string>;
65
+ refreshTokenInternal(): Promise<LoginClass>;
64
66
  private extractRefreshToken;
65
67
  getConfiguration(): Configuration;
66
68
  private attachInterceptor;
package/dist/base.js CHANGED
@@ -150,6 +150,7 @@ var BaseAPI = /** @class */ (function () {
150
150
  if (axios === void 0) { axios = axios_1.default; }
151
151
  this.basePath = basePath;
152
152
  this.axios = axios;
153
+ this.permissions = [];
153
154
  if (configuration) {
154
155
  this.configuration = configuration;
155
156
  this.basePath = configuration.basePath || this.basePath;
@@ -242,11 +243,14 @@ var BaseAPI = /** @class */ (function () {
242
243
  BaseAPI.prototype.selectEnvironment = function (env) {
243
244
  this.configuration.basePath = env;
244
245
  };
246
+ BaseAPI.prototype.getPermissions = function () {
247
+ return this.permissions;
248
+ };
245
249
  BaseAPI.prototype.authorize = function (username, password) {
246
250
  return __awaiter(this, void 0, void 0, function () {
247
- var options, response, accessToken, refreshToken;
248
- return __generator(this, function (_a) {
249
- switch (_a.label) {
251
+ var options, response, _a, accessToken, permissions, refreshToken;
252
+ return __generator(this, function (_b) {
253
+ switch (_b.label) {
250
254
  case 0:
251
255
  options = {
252
256
  method: 'POST',
@@ -260,10 +264,11 @@ var BaseAPI = /** @class */ (function () {
260
264
  };
261
265
  return [4 /*yield*/, axios_1.default.request(options)];
262
266
  case 1:
263
- response = _a.sent();
264
- accessToken = response.data.accessToken;
267
+ response = _b.sent();
268
+ _a = response.data, accessToken = _a.accessToken, permissions = _a.permissions;
265
269
  this.configuration.username = username;
266
270
  this.configuration.accessToken = "Bearer ".concat(accessToken);
271
+ this.permissions = permissions;
267
272
  refreshToken = this.extractRefreshToken(response);
268
273
  this.configuration.refreshToken = refreshToken;
269
274
  return [2 /*return*/];
@@ -273,13 +278,13 @@ var BaseAPI = /** @class */ (function () {
273
278
  };
274
279
  BaseAPI.prototype.refreshTokenInternal = function () {
275
280
  return __awaiter(this, void 0, void 0, function () {
276
- var _a, username, refreshToken, options, accessToken;
281
+ var _a, username, refreshToken, options, response;
277
282
  return __generator(this, function (_b) {
278
283
  switch (_b.label) {
279
284
  case 0:
280
285
  _a = this.configuration, username = _a.username, refreshToken = _a.refreshToken;
281
286
  if (!username || !refreshToken) {
282
- return [2 /*return*/, ''];
287
+ throw new Error('Failed to refresh token.');
283
288
  }
284
289
  options = {
285
290
  method: 'POST',
@@ -293,8 +298,8 @@ var BaseAPI = /** @class */ (function () {
293
298
  };
294
299
  return [4 /*yield*/, axios_1.default.request(options)];
295
300
  case 1:
296
- accessToken = (_b.sent()).data.accessToken;
297
- return [2 /*return*/, accessToken];
301
+ response = _b.sent();
302
+ return [2 /*return*/, response.data];
298
303
  }
299
304
  });
300
305
  });
@@ -314,26 +319,27 @@ var BaseAPI = /** @class */ (function () {
314
319
  axios.interceptors.response.use(function (res) {
315
320
  return res;
316
321
  }, function (err) { return __awaiter(_this, void 0, void 0, function () {
317
- var originalConfig, tokenString, accessToken, _error_1, tokenString, accessToken, _error_2;
318
- return __generator(this, function (_a) {
319
- switch (_a.label) {
322
+ var originalConfig, _a, tokenString, permissions, accessToken, _error_1, _b, tokenString, permissions, accessToken, _error_2;
323
+ return __generator(this, function (_c) {
324
+ switch (_c.label) {
320
325
  case 0:
321
326
  originalConfig = err.config;
322
327
  if (!err.response) return [3 /*break*/, 5];
323
328
  if (!(err.response.status === 401 && !originalConfig._retry)) return [3 /*break*/, 4];
324
329
  originalConfig._retry = true;
325
- _a.label = 1;
330
+ _c.label = 1;
326
331
  case 1:
327
- _a.trys.push([1, 3, , 4]);
332
+ _c.trys.push([1, 3, , 4]);
328
333
  return [4 /*yield*/, this.refreshTokenInternal()];
329
334
  case 2:
330
- tokenString = _a.sent();
335
+ _a = _c.sent(), tokenString = _a.accessToken, permissions = _a.permissions;
331
336
  accessToken = "Bearer ".concat(tokenString);
337
+ this.permissions = permissions;
332
338
  originalConfig.headers['Authorization'] = "Bearer ".concat(accessToken);
333
339
  this.configuration.accessToken = accessToken;
334
340
  return [2 /*return*/, axios.request(originalConfig)];
335
341
  case 3:
336
- _error_1 = _a.sent();
342
+ _error_1 = _c.sent();
337
343
  if (_error_1.response && _error_1.response.data) {
338
344
  return [2 /*return*/, Promise.reject(_error_1.response.data)];
339
345
  }
@@ -349,19 +355,20 @@ var BaseAPI = /** @class */ (function () {
349
355
  && originalConfig.headers.hasOwnProperty('Authorization')
350
356
  && _retry_count < 4)) return [3 /*break*/, 9];
351
357
  _retry_count++;
352
- _a.label = 6;
358
+ _c.label = 6;
353
359
  case 6:
354
- _a.trys.push([6, 8, , 9]);
360
+ _c.trys.push([6, 8, , 9]);
355
361
  return [4 /*yield*/, this.refreshTokenInternal()];
356
362
  case 7:
357
- tokenString = _a.sent();
363
+ _b = _c.sent(), tokenString = _b.accessToken, permissions = _b.permissions;
358
364
  accessToken = "Bearer ".concat(tokenString);
365
+ this.permissions = permissions;
359
366
  _retry = true;
360
367
  originalConfig.headers['Authorization'] = accessToken;
361
368
  this.configuration.accessToken = accessToken;
362
369
  return [2 /*return*/, axios.request(__assign({}, originalConfig))];
363
370
  case 8:
364
- _error_2 = _a.sent();
371
+ _error_2 = _c.sent();
365
372
  if (_error_2.response && _error_2.response.data) {
366
373
  return [2 /*return*/, Promise.reject(_error_2.response.data)];
367
374
  }
@@ -93,4 +93,16 @@ export interface BookingFunnelClass {
93
93
  * @memberof BookingFunnelClass
94
94
  */
95
95
  'shouldShowOnApplicationsPage'?: boolean;
96
+ /**
97
+ * Identifier of the user who created the record.
98
+ * @type {string}
99
+ * @memberof BookingFunnelClass
100
+ */
101
+ 'createdBy': string;
102
+ /**
103
+ * Identifier of the user who last updated the record.
104
+ * @type {string}
105
+ * @memberof BookingFunnelClass
106
+ */
107
+ 'updatedBy': string;
96
108
  }
@@ -0,0 +1,101 @@
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 { CommissionAgreementProductClass } from './commission-agreement-product-class';
13
+ import { CommissionAgreementVersionClass } from './commission-agreement-version-class';
14
+ import { CommissionRecipientClass } from './commission-recipient-class';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface CommissionAgreementClass
19
+ */
20
+ export interface CommissionAgreementClass {
21
+ /**
22
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
23
+ * @type {number}
24
+ * @memberof CommissionAgreementClass
25
+ */
26
+ 'id': number;
27
+ /**
28
+ * Commission agreement name.
29
+ * @type {string}
30
+ * @memberof CommissionAgreementClass
31
+ */
32
+ 'name': string;
33
+ /**
34
+ * Unique identifier for the object.
35
+ * @type {string}
36
+ * @memberof CommissionAgreementClass
37
+ */
38
+ 'code': string;
39
+ /**
40
+ * Commission agreement description.
41
+ * @type {string}
42
+ * @memberof CommissionAgreementClass
43
+ */
44
+ 'description'?: string;
45
+ /**
46
+ * Type of the commission agreement.
47
+ * @type {string}
48
+ * @memberof CommissionAgreementClass
49
+ */
50
+ 'type': CommissionAgreementClassTypeEnum;
51
+ /**
52
+ * Products the commission agreement is used for.
53
+ * @type {Array<CommissionAgreementProductClass>}
54
+ * @memberof CommissionAgreementClass
55
+ */
56
+ 'products': Array<CommissionAgreementProductClass>;
57
+ /**
58
+ * Commission agreement versions.
59
+ * @type {Array<CommissionAgreementVersionClass>}
60
+ * @memberof CommissionAgreementClass
61
+ */
62
+ 'versions': Array<CommissionAgreementVersionClass>;
63
+ /**
64
+ * Brokers to receive the commission by the commission agreement.
65
+ * @type {Array<CommissionRecipientClass>}
66
+ * @memberof CommissionAgreementClass
67
+ */
68
+ 'recipients': Array<CommissionRecipientClass>;
69
+ /**
70
+ * Time at which the object was created.
71
+ * @type {string}
72
+ * @memberof CommissionAgreementClass
73
+ */
74
+ 'createdAt': string;
75
+ /**
76
+ * Time at which the object was updated.
77
+ * @type {string}
78
+ * @memberof CommissionAgreementClass
79
+ */
80
+ 'updatedAt': string;
81
+ /**
82
+ * Identifier of the user who created the record.
83
+ * @type {string}
84
+ * @memberof CommissionAgreementClass
85
+ */
86
+ 'createdBy': string;
87
+ /**
88
+ * Identifier of the user who last updated the record.
89
+ * @type {string}
90
+ * @memberof CommissionAgreementClass
91
+ */
92
+ 'updatedBy': string;
93
+ }
94
+ export declare const CommissionAgreementClassTypeEnum: {
95
+ readonly PerPolicy: "PerPolicy";
96
+ readonly Monthly: "Monthly";
97
+ readonly Quarterly: "Quarterly";
98
+ readonly Semiannually: "Semiannually";
99
+ readonly Annually: "Annually";
100
+ };
101
+ export type CommissionAgreementClassTypeEnum = typeof CommissionAgreementClassTypeEnum[keyof typeof CommissionAgreementClassTypeEnum];
@@ -0,0 +1,23 @@
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 });
16
+ exports.CommissionAgreementClassTypeEnum = void 0;
17
+ exports.CommissionAgreementClassTypeEnum = {
18
+ PerPolicy: 'PerPolicy',
19
+ Monthly: 'Monthly',
20
+ Quarterly: 'Quarterly',
21
+ Semiannually: 'Semiannually',
22
+ Annually: 'Annually'
23
+ };
@@ -0,0 +1,78 @@
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 CommissionAgreementItemClass
16
+ */
17
+ export interface CommissionAgreementItemClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof CommissionAgreementItemClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier referencing the commission agreement version.
26
+ * @type {number}
27
+ * @memberof CommissionAgreementItemClass
28
+ */
29
+ 'commissionAgreementVersionId': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof CommissionAgreementItemClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * Commission agreement item name.
38
+ * @type {string}
39
+ * @memberof CommissionAgreementItemClass
40
+ */
41
+ 'itemName': string;
42
+ /**
43
+ * Commission agreement item description.
44
+ * @type {string}
45
+ * @memberof CommissionAgreementItemClass
46
+ */
47
+ 'itemDescription': string;
48
+ /**
49
+ * Commission formula (Python expression).
50
+ * @type {string}
51
+ * @memberof CommissionAgreementItemClass
52
+ */
53
+ 'commissionFormula': string;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof CommissionAgreementItemClass
58
+ */
59
+ 'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof CommissionAgreementItemClass
64
+ */
65
+ 'updatedAt': string;
66
+ /**
67
+ * Identifier of the user who created the record.
68
+ * @type {string}
69
+ * @memberof CommissionAgreementItemClass
70
+ */
71
+ 'createdBy': string;
72
+ /**
73
+ * Identifier of the user who last updated the record.
74
+ * @type {string}
75
+ * @memberof CommissionAgreementItemClass
76
+ */
77
+ 'updatedBy': string;
78
+ }
@@ -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 });