@emilgroup/insurance-sdk-node 1.44.0 → 1.47.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 (86) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +791 -0
  4. package/api/insured-object-types-api.ts +20 -6
  5. package/api/insured-objects-api.ts +20 -6
  6. package/api/lead-versions-api.ts +24 -10
  7. package/api/leads-api.ts +24 -10
  8. package/api/named-ranges-api.ts +20 -6
  9. package/api/policies-api.ts +748 -20
  10. package/api/premium-formulas-api.ts +20 -6
  11. package/api/product-factors-api.ts +22 -6
  12. package/api/product-fields-api.ts +40 -12
  13. package/api/products-api.ts +20 -6
  14. package/api/status-transition-rules-api.ts +24 -10
  15. package/api.ts +2 -0
  16. package/dist/api/booking-funnels-api.d.ts +443 -0
  17. package/dist/api/booking-funnels-api.js +735 -0
  18. package/dist/api/insured-object-types-api.d.ts +12 -3
  19. package/dist/api/insured-object-types-api.js +12 -6
  20. package/dist/api/insured-objects-api.d.ts +12 -3
  21. package/dist/api/insured-objects-api.js +12 -6
  22. package/dist/api/lead-versions-api.d.ts +16 -7
  23. package/dist/api/lead-versions-api.js +15 -9
  24. package/dist/api/leads-api.d.ts +16 -7
  25. package/dist/api/leads-api.js +15 -9
  26. package/dist/api/named-ranges-api.d.ts +12 -3
  27. package/dist/api/named-ranges-api.js +12 -6
  28. package/dist/api/policies-api.d.ts +428 -14
  29. package/dist/api/policies-api.js +574 -18
  30. package/dist/api/premium-formulas-api.d.ts +12 -3
  31. package/dist/api/premium-formulas-api.js +12 -6
  32. package/dist/api/product-factors-api.d.ts +12 -3
  33. package/dist/api/product-factors-api.js +12 -6
  34. package/dist/api/product-fields-api.d.ts +24 -6
  35. package/dist/api/product-fields-api.js +24 -12
  36. package/dist/api/products-api.d.ts +12 -3
  37. package/dist/api/products-api.js +12 -6
  38. package/dist/api/status-transition-rules-api.d.ts +16 -7
  39. package/dist/api/status-transition-rules-api.js +15 -9
  40. package/dist/api.d.ts +1 -0
  41. package/dist/api.js +1 -0
  42. package/dist/models/booking-funnel-class.d.ts +84 -0
  43. package/dist/models/booking-funnel-class.js +15 -0
  44. package/dist/models/create-booking-funnel-request-dto.d.ts +66 -0
  45. package/dist/models/create-booking-funnel-request-dto.js +15 -0
  46. package/dist/models/create-draft-policy-request-dto.d.ts +70 -0
  47. package/dist/models/create-draft-policy-request-dto.js +23 -0
  48. package/dist/models/delete-draft-policy-request-dto.d.ts +24 -0
  49. package/dist/models/delete-draft-policy-request-dto.js +15 -0
  50. package/dist/models/get-draft-policy-request-dto.d.ts +30 -0
  51. package/dist/models/get-draft-policy-request-dto.js +15 -0
  52. package/dist/models/index.d.ts +11 -0
  53. package/dist/models/index.js +11 -0
  54. package/dist/models/list-booking-funnels-response-class.d.ts +31 -0
  55. package/dist/models/list-booking-funnels-response-class.js +15 -0
  56. package/dist/models/list-policy-version-response-class.d.ts +43 -0
  57. package/dist/models/list-policy-version-response-class.js +15 -0
  58. package/dist/models/list-policy-versions-request-dto.d.ts +66 -0
  59. package/dist/models/list-policy-versions-request-dto.js +15 -0
  60. package/dist/models/list-request-dto.d.ts +6 -0
  61. package/dist/models/patch-booking-funnel-request-dto.d.ts +60 -0
  62. package/dist/models/patch-booking-funnel-request-dto.js +15 -0
  63. package/dist/models/patch-draft-policy-request-dto.d.ts +70 -0
  64. package/dist/models/patch-draft-policy-request-dto.js +23 -0
  65. package/dist/models/patch-policy-request-dto.d.ts +0 -6
  66. package/dist/models/policy-version-class.d.ts +12 -0
  67. package/dist/models/update-booking-funnel-request-dto.d.ts +60 -0
  68. package/dist/models/update-booking-funnel-request-dto.js +15 -0
  69. package/dist/models/update-policy-request-dto.d.ts +0 -6
  70. package/models/booking-funnel-class.ts +90 -0
  71. package/models/create-booking-funnel-request-dto.ts +72 -0
  72. package/models/create-draft-policy-request-dto.ts +79 -0
  73. package/models/delete-draft-policy-request-dto.ts +30 -0
  74. package/models/get-draft-policy-request-dto.ts +36 -0
  75. package/models/index.ts +11 -0
  76. package/models/list-booking-funnels-response-class.ts +37 -0
  77. package/models/list-policy-version-response-class.ts +49 -0
  78. package/models/list-policy-versions-request-dto.ts +72 -0
  79. package/models/list-request-dto.ts +6 -0
  80. package/models/patch-booking-funnel-request-dto.ts +66 -0
  81. package/models/patch-draft-policy-request-dto.ts +79 -0
  82. package/models/patch-policy-request-dto.ts +0 -6
  83. package/models/policy-version-class.ts +12 -0
  84. package/models/update-booking-funnel-request-dto.ts +66 -0
  85. package/models/update-policy-request-dto.ts +0 -6
  86. package/package.json +1 -1
@@ -58,16 +58,17 @@ export declare const StatusTransitionRulesApiAxiosParamCreator: (configuration?:
58
58
  * Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
59
59
  * @summary List status transition rules
60
60
  * @param {string} [authorization] Bearer Token
61
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
61
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
62
62
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
63
63
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
64
64
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
65
65
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
66
66
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
67
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
67
68
  * @param {*} [options] Override http request option.
68
69
  * @throws {RequiredError}
69
70
  */
70
- listStatusTransitionRules: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
71
+ listStatusTransitionRules: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
71
72
  /**
72
73
  * Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
73
74
  * @summary Patch the status transition rule
@@ -126,16 +127,17 @@ export declare const StatusTransitionRulesApiFp: (configuration?: Configuration)
126
127
  * Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
127
128
  * @summary List status transition rules
128
129
  * @param {string} [authorization] Bearer Token
129
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
130
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
130
131
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
131
132
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
132
133
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
133
134
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
134
135
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
136
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
135
137
  * @param {*} [options] Override http request option.
136
138
  * @throws {RequiredError}
137
139
  */
138
- listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusTransitionRulesResponseClass>>;
140
+ listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListStatusTransitionRulesResponseClass>>;
139
141
  /**
140
142
  * Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
141
143
  * @summary Patch the status transition rule
@@ -194,16 +196,17 @@ export declare const StatusTransitionRulesApiFactory: (configuration?: Configura
194
196
  * Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
195
197
  * @summary List status transition rules
196
198
  * @param {string} [authorization] Bearer Token
197
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
199
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
198
200
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
199
201
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
200
202
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
201
203
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
202
204
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
205
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
203
206
  * @param {*} [options] Override http request option.
204
207
  * @throws {RequiredError}
205
208
  */
206
- listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListStatusTransitionRulesResponseClass>;
209
+ listStatusTransitionRules(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListStatusTransitionRulesResponseClass>;
207
210
  /**
208
211
  * Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
209
212
  * @summary Patch the status transition rule
@@ -301,7 +304,7 @@ export interface StatusTransitionRulesApiListStatusTransitionRulesRequest {
301
304
  */
302
305
  readonly authorization?: string;
303
306
  /**
304
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
307
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
305
308
  * @type {any}
306
309
  * @memberof StatusTransitionRulesApiListStatusTransitionRules
307
310
  */
@@ -336,6 +339,12 @@ export interface StatusTransitionRulesApiListStatusTransitionRulesRequest {
336
339
  * @memberof StatusTransitionRulesApiListStatusTransitionRules
337
340
  */
338
341
  readonly expand?: any;
342
+ /**
343
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
344
+ * @type {any}
345
+ * @memberof StatusTransitionRulesApiListStatusTransitionRules
346
+ */
347
+ readonly filters?: any;
339
348
  }
340
349
  /**
341
350
  * Request parameters for patchStatusTransitionRule operation in StatusTransitionRulesApi.
@@ -249,16 +249,17 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
249
249
  * Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
250
250
  * @summary List status transition rules
251
251
  * @param {string} [authorization] Bearer Token
252
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
252
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
253
253
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
254
254
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
255
255
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
256
256
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
257
257
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
258
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
258
259
  * @param {*} [options] Override http request option.
259
260
  * @throws {RequiredError}
260
261
  */
261
- listStatusTransitionRules: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
262
+ listStatusTransitionRules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
262
263
  if (options === void 0) { options = {}; }
263
264
  return __awaiter(_this, void 0, void 0, function () {
264
265
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -299,6 +300,9 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
299
300
  if (expand !== undefined) {
300
301
  localVarQueryParameter['expand'] = expand;
301
302
  }
303
+ if (filters !== undefined) {
304
+ localVarQueryParameter['filters'] = filters;
305
+ }
302
306
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
303
307
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
304
308
  }
@@ -497,21 +501,22 @@ var StatusTransitionRulesApiFp = function (configuration) {
497
501
  * Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
498
502
  * @summary List status transition rules
499
503
  * @param {string} [authorization] Bearer Token
500
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
504
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
501
505
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
502
506
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
503
507
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
504
508
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
505
509
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
510
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
506
511
  * @param {*} [options] Override http request option.
507
512
  * @throws {RequiredError}
508
513
  */
509
- listStatusTransitionRules: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
514
+ listStatusTransitionRules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
510
515
  return __awaiter(this, void 0, void 0, function () {
511
516
  var localVarAxiosArgs;
512
517
  return __generator(this, function (_a) {
513
518
  switch (_a.label) {
514
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listStatusTransitionRules(authorization, pageSize, pageToken, filter, search, order, expand, options)];
519
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listStatusTransitionRules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
515
520
  case 1:
516
521
  localVarAxiosArgs = _a.sent();
517
522
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -611,17 +616,18 @@ var StatusTransitionRulesApiFactory = function (configuration, basePath, axios)
611
616
  * Returns a list of status transition rules you have previously created. The status transition rules are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
612
617
  * @summary List status transition rules
613
618
  * @param {string} [authorization] Bearer Token
614
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
619
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
615
620
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
616
621
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
617
622
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
618
623
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
619
624
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
625
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
620
626
  * @param {*} [options] Override http request option.
621
627
  * @throws {RequiredError}
622
628
  */
623
- listStatusTransitionRules: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
624
- return localVarFp.listStatusTransitionRules(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
629
+ listStatusTransitionRules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
630
+ return localVarFp.listStatusTransitionRules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
625
631
  },
626
632
  /**
627
633
  * Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -708,7 +714,7 @@ var StatusTransitionRulesApi = /** @class */ (function (_super) {
708
714
  StatusTransitionRulesApi.prototype.listStatusTransitionRules = function (requestParameters, options) {
709
715
  var _this = this;
710
716
  if (requestParameters === void 0) { requestParameters = {}; }
711
- return (0, exports.StatusTransitionRulesApiFp)(this.configuration).listStatusTransitionRules(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
717
+ return (0, exports.StatusTransitionRulesApiFp)(this.configuration).listStatusTransitionRules(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
712
718
  };
713
719
  /**
714
720
  * Updates the specified status transition rule by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
package/dist/api.d.ts CHANGED
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export * from './api/booking-funnels-api';
12
13
  export * from './api/default-api';
13
14
  export * from './api/insured-object-types-api';
14
15
  export * from './api/insured-objects-api';
package/dist/api.js CHANGED
@@ -27,6 +27,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api/booking-funnels-api"), exports);
30
31
  __exportStar(require("./api/default-api"), exports);
31
32
  __exportStar(require("./api/insured-object-types-api"), exports);
32
33
  __exportStar(require("./api/insured-objects-api"), exports);
@@ -0,0 +1,84 @@
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 BookingFunnelClass
16
+ */
17
+ export interface BookingFunnelClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof BookingFunnelClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof BookingFunnelClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
32
+ * @type {number}
33
+ * @memberof BookingFunnelClass
34
+ */
35
+ 'parentId': number;
36
+ /**
37
+ * Booking Funnel name.
38
+ * @type {string}
39
+ * @memberof BookingFunnelClass
40
+ */
41
+ 'name': string;
42
+ /**
43
+ * Booking Funnel snippet.
44
+ * @type {string}
45
+ * @memberof BookingFunnelClass
46
+ */
47
+ 'jsCode': string;
48
+ /**
49
+ * Booking Funnel JSON steps configuration.
50
+ * @type {object}
51
+ * @memberof BookingFunnelClass
52
+ */
53
+ 'stepsConfig': object;
54
+ /**
55
+ * Booking Funnel custom CSS.
56
+ * @type {string}
57
+ * @memberof BookingFunnelClass
58
+ */
59
+ 'css': string;
60
+ /**
61
+ * Booking Funnel logo url.
62
+ * @type {string}
63
+ * @memberof BookingFunnelClass
64
+ */
65
+ 'logoPath': string;
66
+ /**
67
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
68
+ * @type {string}
69
+ * @memberof BookingFunnelClass
70
+ */
71
+ 'productSlug': string;
72
+ /**
73
+ * Time at which the object was created.
74
+ * @type {string}
75
+ * @memberof BookingFunnelClass
76
+ */
77
+ 'createdAt': string;
78
+ /**
79
+ * Time at which the object was updated.
80
+ * @type {string}
81
+ * @memberof BookingFunnelClass
82
+ */
83
+ 'updatedAt': string;
84
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,66 @@
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 CreateBookingFunnelRequestDto
16
+ */
17
+ export interface CreateBookingFunnelRequestDto {
18
+ /**
19
+ * Unique identifier for the object.
20
+ * @type {string}
21
+ * @memberof CreateBookingFunnelRequestDto
22
+ */
23
+ 'code'?: string;
24
+ /**
25
+ * Parent Booking funnel ID
26
+ * @type {number}
27
+ * @memberof CreateBookingFunnelRequestDto
28
+ */
29
+ 'parentId'?: number;
30
+ /**
31
+ * Booking funnel name
32
+ * @type {string}
33
+ * @memberof CreateBookingFunnelRequestDto
34
+ */
35
+ 'name': string;
36
+ /**
37
+ * Code snippet to load the booking funnel.
38
+ * @type {string}
39
+ * @memberof CreateBookingFunnelRequestDto
40
+ */
41
+ 'jsCode': string;
42
+ /**
43
+ * Steps configuration for the booking funnel.
44
+ * @type {object}
45
+ * @memberof CreateBookingFunnelRequestDto
46
+ */
47
+ 'stepsConfig'?: object;
48
+ /**
49
+ * Custom css for the booking funnel.
50
+ * @type {string}
51
+ * @memberof CreateBookingFunnelRequestDto
52
+ */
53
+ 'css'?: string;
54
+ /**
55
+ * URL to fech the logo for the booking funnel.
56
+ * @type {string}
57
+ * @memberof CreateBookingFunnelRequestDto
58
+ */
59
+ 'logoPath'?: string;
60
+ /**
61
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
62
+ * @type {string}
63
+ * @memberof CreateBookingFunnelRequestDto
64
+ */
65
+ 'productSlug': string;
66
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,70 @@
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 { PolicyObjectDto } from './policy-object-dto';
13
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreateDraftPolicyRequestDto
18
+ */
19
+ export interface CreateDraftPolicyRequestDto {
20
+ /**
21
+ * Policy objects
22
+ * @type {Array<PolicyObjectDto>}
23
+ * @memberof CreateDraftPolicyRequestDto
24
+ */
25
+ 'policyObjects': Array<PolicyObjectDto>;
26
+ /**
27
+ * Date from which the policy should be updated. This will create a new timeline starting from this date.
28
+ * @type {string}
29
+ * @memberof CreateDraftPolicyRequestDto
30
+ */
31
+ 'from': string;
32
+ /**
33
+ * Date to which the policy should be updated. This will create a new timeline finishing at this date.
34
+ * @type {string}
35
+ * @memberof CreateDraftPolicyRequestDto
36
+ */
37
+ 'to'?: string;
38
+ /**
39
+ * Policy revision status.
40
+ * @type {string}
41
+ * @memberof CreateDraftPolicyRequestDto
42
+ */
43
+ 'revisionStatus': CreateDraftPolicyRequestDtoRevisionStatusEnum;
44
+ /**
45
+ * Premium Override
46
+ * @type {PremiumOverrideRequestDto}
47
+ * @memberof CreateDraftPolicyRequestDto
48
+ */
49
+ 'premiumOverride'?: PremiumOverrideRequestDto;
50
+ /**
51
+ * Unique identifier of the lead that this object belongs to.
52
+ * @type {string}
53
+ * @memberof CreateDraftPolicyRequestDto
54
+ */
55
+ 'leadCode'?: string;
56
+ /**
57
+ * Unique identifier of the policy that this object belongs to.
58
+ * @type {string}
59
+ * @memberof CreateDraftPolicyRequestDto
60
+ */
61
+ 'policyNumber'?: string;
62
+ }
63
+ export declare const CreateDraftPolicyRequestDtoRevisionStatusEnum: {
64
+ readonly Created: "CREATED";
65
+ readonly InReview: "IN_REVIEW";
66
+ readonly Reviewed: "REVIEWED";
67
+ readonly Rejected: "REJECTED";
68
+ readonly Approved: "APPROVED";
69
+ };
70
+ export type CreateDraftPolicyRequestDtoRevisionStatusEnum = typeof CreateDraftPolicyRequestDtoRevisionStatusEnum[keyof typeof CreateDraftPolicyRequestDtoRevisionStatusEnum];
@@ -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.CreateDraftPolicyRequestDtoRevisionStatusEnum = void 0;
17
+ exports.CreateDraftPolicyRequestDtoRevisionStatusEnum = {
18
+ Created: 'CREATED',
19
+ InReview: 'IN_REVIEW',
20
+ Reviewed: 'REVIEWED',
21
+ Rejected: 'REJECTED',
22
+ Approved: 'APPROVED'
23
+ };
@@ -0,0 +1,24 @@
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 DeleteDraftPolicyRequestDto
16
+ */
17
+ export interface DeleteDraftPolicyRequestDto {
18
+ /**
19
+ * Unique identifier of the Draft Policy that this object belongs to.
20
+ * @type {string}
21
+ * @memberof DeleteDraftPolicyRequestDto
22
+ */
23
+ 'policyCode': string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetDraftPolicyRequestDto
16
+ */
17
+ export interface GetDraftPolicyRequestDto {
18
+ /**
19
+ * Unique identifier of the Draft Policy that this object belongs to.
20
+ * @type {string}
21
+ * @memberof GetDraftPolicyRequestDto
22
+ */
23
+ 'policyCode': string;
24
+ /**
25
+ * Fields to expand response by.
26
+ * @type {string}
27
+ * @memberof GetDraftPolicyRequestDto
28
+ */
29
+ 'expand'?: 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
+ * 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 });
@@ -1,12 +1,15 @@
1
1
  export * from './activate-policy-request-dto';
2
2
  export * from './activate-policy-response-class';
3
+ export * from './booking-funnel-class';
3
4
  export * from './calculate-custom-premium-request-dto';
4
5
  export * from './calculate-premium-request-dto';
5
6
  export * from './calculate-product-fields-request-dto';
6
7
  export * from './clone-product-version-request-dto';
7
8
  export * from './create-account-request-dto';
8
9
  export * from './create-bank-account-request-dto';
10
+ export * from './create-booking-funnel-request-dto';
9
11
  export * from './create-custom-application-request-dto';
12
+ export * from './create-draft-policy-request-dto';
10
13
  export * from './create-dummy-policy-request-dto';
11
14
  export * from './create-insured-object-request-dto';
12
15
  export * from './create-insured-object-response-class';
@@ -31,10 +34,12 @@ export * from './create-product-response-class';
31
34
  export * from './create-status-transition-rule-request-dto';
32
35
  export * from './create-status-transition-rule-response-class';
33
36
  export * from './csv-product-factor-dto';
37
+ export * from './delete-draft-policy-request-dto';
34
38
  export * from './delete-response-class';
35
39
  export * from './empty-response-class';
36
40
  export * from './filter-named-range-request-dto';
37
41
  export * from './filter-named-range-response-class';
42
+ export * from './get-draft-policy-request-dto';
38
43
  export * from './get-insured-object-response-class';
39
44
  export * from './get-lead-response-class';
40
45
  export * from './get-lead-status-response-class';
@@ -72,6 +77,7 @@ export * from './invoice-status-class';
72
77
  export * from './lead-bank-account-class';
73
78
  export * from './lead-class';
74
79
  export * from './lead-status-class';
80
+ export * from './list-booking-funnels-response-class';
75
81
  export * from './list-insured-object-types-response-class';
76
82
  export * from './list-insured-objects-response-class';
77
83
  export * from './list-lead-statuses-response-class';
@@ -80,6 +86,8 @@ export * from './list-leads-response-class';
80
86
  export * from './list-named-ranges-response-class';
81
87
  export * from './list-policies-response-class';
82
88
  export * from './list-policy-objects-response-class';
89
+ export * from './list-policy-version-response-class';
90
+ export * from './list-policy-versions-request-dto';
83
91
  export * from './list-premium-formulas-response-class';
84
92
  export * from './list-product-factors-response-class';
85
93
  export * from './list-product-field-types-response-class';
@@ -88,6 +96,8 @@ export * from './list-products-response-class';
88
96
  export * from './list-request-dto';
89
97
  export * from './list-status-transition-rules-response-class';
90
98
  export * from './named-range-class';
99
+ export * from './patch-booking-funnel-request-dto';
100
+ export * from './patch-draft-policy-request-dto';
91
101
  export * from './patch-lead-request-dto';
92
102
  export * from './patch-lead-response-class';
93
103
  export * from './patch-policy-request-dto';
@@ -128,6 +138,7 @@ export * from './swap-premium-formulas-order-request-dto';
128
138
  export * from './terminate-policy-request-dto';
129
139
  export * from './terminate-policy-response-class';
130
140
  export * from './timeslice-class';
141
+ export * from './update-booking-funnel-request-dto';
131
142
  export * from './update-insured-object-request-dto';
132
143
  export * from './update-lead-request-dto';
133
144
  export * from './update-lead-response-class';