@emilgroup/insurance-sdk 1.72.1-beta.9 → 1.73.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 (48) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/README.md +2 -2
  3. package/dist/api/booking-funnel-versions-api.js +8 -25
  4. package/dist/api/booking-funnels-api.js +20 -53
  5. package/dist/api/commission-agreement-items-api.js +17 -46
  6. package/dist/api/commission-agreement-products-api.js +17 -46
  7. package/dist/api/commission-agreement-versions-api.js +14 -39
  8. package/dist/api/commission-agreements-api.js +17 -46
  9. package/dist/api/commission-recipients-api.js +17 -46
  10. package/dist/api/emil-functions-api.js +35 -88
  11. package/dist/api/health-check-api.js +5 -18
  12. package/dist/api/insured-object-types-api.js +5 -18
  13. package/dist/api/insured-objects-api.js +14 -39
  14. package/dist/api/lead-statuses-api.js +17 -46
  15. package/dist/api/lead-versions-api.js +8 -25
  16. package/dist/api/leads-api.js +32 -81
  17. package/dist/api/named-ranges-api.js +20 -53
  18. package/dist/api/partner-links-api.js +20 -53
  19. package/dist/api/partner-roles-api.js +17 -46
  20. package/dist/api/policies-api.js +50 -123
  21. package/dist/api/premium-formulas-api.js +20 -53
  22. package/dist/api/product-factors-api.js +23 -60
  23. package/dist/api/product-fields-api.js +23 -60
  24. package/dist/api/product-versions-api.js +8 -25
  25. package/dist/api/products-api.js +20 -53
  26. package/dist/api/status-transition-rules-api.js +20 -53
  27. package/dist/base.js +5 -5
  28. package/dist/common.d.ts +1 -1
  29. package/dist/common.js +2 -2
  30. package/dist/models/create-product-field-request-dto.d.ts +0 -22
  31. package/dist/models/create-product-field-request-dto.js +1 -9
  32. package/dist/models/index.d.ts +0 -1
  33. package/dist/models/index.js +0 -1
  34. package/dist/models/product-field-class.d.ts +0 -34
  35. package/dist/models/product-field-class.js +0 -9
  36. package/dist/models/shared-product-field-class.d.ts +0 -34
  37. package/dist/models/shared-product-field-class.js +0 -9
  38. package/dist/models/update-product-field-request-dto.d.ts +0 -22
  39. package/dist/models/update-product-field-request-dto.js +1 -9
  40. package/models/create-product-field-request-dto.ts +0 -24
  41. package/models/index.ts +0 -1
  42. package/models/product-field-class.ts +0 -38
  43. package/models/shared-product-field-class.ts +0 -38
  44. package/models/update-product-field-request-dto.ts +0 -24
  45. package/package.json +3 -3
  46. package/dist/models/create-product-version-request-dto.d.ts +0 -30
  47. package/dist/models/create-product-version-request-dto.js +0 -15
  48. package/models/create-product-version-request-dto.ts +0 -36
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
- if (ar || !(i in from)) {
80
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
- ar[i] = from[i];
82
- }
83
- }
84
- return to.concat(ar || Array.prototype.slice.call(from));
85
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -109,14 +100,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
109
100
  * @param {*} [options] Override http request option.
110
101
  * @throws {RequiredError}
111
102
  */
112
- createProduct: function (createProductRequestDto_1, authorization_1) {
113
- var args_1 = [];
114
- for (var _i = 2; _i < arguments.length; _i++) {
115
- args_1[_i - 2] = arguments[_i];
116
- }
117
- return __awaiter(_this, __spreadArray([createProductRequestDto_1, authorization_1], args_1, true), void 0, function (createProductRequestDto, authorization, options) {
103
+ createProduct: function (createProductRequestDto, authorization, options) {
104
+ if (options === void 0) { options = {}; }
105
+ return __awaiter(_this, void 0, void 0, function () {
118
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
- if (options === void 0) { options = {}; }
120
107
  return __generator(this, function (_a) {
121
108
  switch (_a.label) {
122
109
  case 0:
@@ -162,14 +149,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
162
149
  * @param {*} [options] Override http request option.
163
150
  * @throws {RequiredError}
164
151
  */
165
- deleteProduct: function (id_1, authorization_1) {
166
- var args_1 = [];
167
- for (var _i = 2; _i < arguments.length; _i++) {
168
- args_1[_i - 2] = arguments[_i];
169
- }
170
- return __awaiter(_this, __spreadArray([id_1, authorization_1], args_1, true), void 0, function (id, authorization, options) {
152
+ deleteProduct: function (id, authorization, options) {
153
+ if (options === void 0) { options = {}; }
154
+ return __awaiter(_this, void 0, void 0, function () {
171
155
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
172
- if (options === void 0) { options = {}; }
173
156
  return __generator(this, function (_a) {
174
157
  switch (_a.label) {
175
158
  case 0:
@@ -217,14 +200,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
217
200
  * @param {*} [options] Override http request option.
218
201
  * @throws {RequiredError}
219
202
  */
220
- getProductByCode: function (code_1, authorization_1, id_1, slug_1, expand_1) {
221
- var args_1 = [];
222
- for (var _i = 5; _i < arguments.length; _i++) {
223
- args_1[_i - 5] = arguments[_i];
224
- }
225
- return __awaiter(_this, __spreadArray([code_1, authorization_1, id_1, slug_1, expand_1], args_1, true), void 0, function (code, authorization, id, slug, expand, options) {
203
+ getProductByCode: function (code, authorization, id, slug, expand, options) {
204
+ if (options === void 0) { options = {}; }
205
+ return __awaiter(_this, void 0, void 0, function () {
226
206
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
227
- if (options === void 0) { options = {}; }
228
207
  return __generator(this, function (_a) {
229
208
  switch (_a.label) {
230
209
  case 0:
@@ -281,14 +260,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
281
260
  * @param {*} [options] Override http request option.
282
261
  * @throws {RequiredError}
283
262
  */
284
- getProductByIdentifier: function (authorization_1, id_1, code_1, slug_1, expand_1) {
285
- var args_1 = [];
286
- for (var _i = 5; _i < arguments.length; _i++) {
287
- args_1[_i - 5] = arguments[_i];
288
- }
289
- return __awaiter(_this, __spreadArray([authorization_1, id_1, code_1, slug_1, expand_1], args_1, true), void 0, function (authorization, id, code, slug, expand, options) {
263
+ getProductByIdentifier: function (authorization, id, code, slug, expand, options) {
264
+ if (options === void 0) { options = {}; }
265
+ return __awaiter(_this, void 0, void 0, function () {
290
266
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
291
- if (options === void 0) { options = {}; }
292
267
  return __generator(this, function (_a) {
293
268
  switch (_a.label) {
294
269
  case 0:
@@ -348,14 +323,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
348
323
  * @param {*} [options] Override http request option.
349
324
  * @throws {RequiredError}
350
325
  */
351
- listProducts: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
352
- var args_1 = [];
353
- for (var _i = 8; _i < arguments.length; _i++) {
354
- args_1[_i - 8] = arguments[_i];
355
- }
356
- return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
326
+ listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
327
+ if (options === void 0) { options = {}; }
328
+ return __awaiter(_this, void 0, void 0, function () {
357
329
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
358
- if (options === void 0) { options = {}; }
359
330
  return __generator(this, function (_a) {
360
331
  switch (_a.label) {
361
332
  case 0:
@@ -419,14 +390,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
419
390
  * @param {*} [options] Override http request option.
420
391
  * @throws {RequiredError}
421
392
  */
422
- updateProduct: function (id_1, updateProductRequestDto_1, authorization_1) {
423
- var args_1 = [];
424
- for (var _i = 3; _i < arguments.length; _i++) {
425
- args_1[_i - 3] = arguments[_i];
426
- }
427
- return __awaiter(_this, __spreadArray([id_1, updateProductRequestDto_1, authorization_1], args_1, true), void 0, function (id, updateProductRequestDto, authorization, options) {
393
+ updateProduct: function (id, updateProductRequestDto, authorization, options) {
394
+ if (options === void 0) { options = {}; }
395
+ return __awaiter(_this, void 0, void 0, function () {
428
396
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
429
- if (options === void 0) { options = {}; }
430
397
  return __generator(this, function (_a) {
431
398
  switch (_a.label) {
432
399
  case 0:
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,15 +74,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
- if (ar || !(i in from)) {
80
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
- ar[i] = from[i];
82
- }
83
- }
84
- return to.concat(ar || Array.prototype.slice.call(from));
85
- };
86
77
  var __importDefault = (this && this.__importDefault) || function (mod) {
87
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
88
79
  };
@@ -109,14 +100,10 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
109
100
  * @param {*} [options] Override http request option.
110
101
  * @throws {RequiredError}
111
102
  */
112
- createStatusTransitionRule: function (createStatusTransitionRuleRequestDto_1, authorization_1) {
113
- var args_1 = [];
114
- for (var _i = 2; _i < arguments.length; _i++) {
115
- args_1[_i - 2] = arguments[_i];
116
- }
117
- return __awaiter(_this, __spreadArray([createStatusTransitionRuleRequestDto_1, authorization_1], args_1, true), void 0, function (createStatusTransitionRuleRequestDto, authorization, options) {
103
+ createStatusTransitionRule: function (createStatusTransitionRuleRequestDto, authorization, options) {
104
+ if (options === void 0) { options = {}; }
105
+ return __awaiter(_this, void 0, void 0, function () {
118
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
- if (options === void 0) { options = {}; }
120
107
  return __generator(this, function (_a) {
121
108
  switch (_a.label) {
122
109
  case 0:
@@ -162,14 +149,10 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
162
149
  * @param {*} [options] Override http request option.
163
150
  * @throws {RequiredError}
164
151
  */
165
- deleteStatusTransitionRule: function (code_1, authorization_1) {
166
- var args_1 = [];
167
- for (var _i = 2; _i < arguments.length; _i++) {
168
- args_1[_i - 2] = arguments[_i];
169
- }
170
- return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
152
+ deleteStatusTransitionRule: function (code, authorization, options) {
153
+ if (options === void 0) { options = {}; }
154
+ return __awaiter(_this, void 0, void 0, function () {
171
155
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
172
- if (options === void 0) { options = {}; }
173
156
  return __generator(this, function (_a) {
174
157
  switch (_a.label) {
175
158
  case 0:
@@ -215,14 +198,10 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
215
198
  * @param {*} [options] Override http request option.
216
199
  * @throws {RequiredError}
217
200
  */
218
- getStatusTransitionRule: function (code_1, authorization_1, expand_1) {
219
- var args_1 = [];
220
- for (var _i = 3; _i < arguments.length; _i++) {
221
- args_1[_i - 3] = arguments[_i];
222
- }
223
- return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
201
+ getStatusTransitionRule: function (code, authorization, expand, options) {
202
+ if (options === void 0) { options = {}; }
203
+ return __awaiter(_this, void 0, void 0, function () {
224
204
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
225
- if (options === void 0) { options = {}; }
226
205
  return __generator(this, function (_a) {
227
206
  switch (_a.label) {
228
207
  case 0:
@@ -276,14 +255,10 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
276
255
  * @param {*} [options] Override http request option.
277
256
  * @throws {RequiredError}
278
257
  */
279
- listStatusTransitionRules: function (authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1) {
280
- var args_1 = [];
281
- for (var _i = 8; _i < arguments.length; _i++) {
282
- args_1[_i - 8] = arguments[_i];
283
- }
284
- return __awaiter(_this, __spreadArray([authorization_1, pageSize_1, pageToken_1, filter_1, search_1, order_1, expand_1, filters_1], args_1, true), void 0, function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
+ listStatusTransitionRules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
259
+ if (options === void 0) { options = {}; }
260
+ return __awaiter(_this, void 0, void 0, function () {
285
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
286
- if (options === void 0) { options = {}; }
287
262
  return __generator(this, function (_a) {
288
263
  switch (_a.label) {
289
264
  case 0:
@@ -347,14 +322,10 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
347
322
  * @param {*} [options] Override http request option.
348
323
  * @throws {RequiredError}
349
324
  */
350
- patchStatusTransitionRule: function (code_1, patchStatusTransitionRuleRequestDto_1, authorization_1) {
351
- var args_1 = [];
352
- for (var _i = 3; _i < arguments.length; _i++) {
353
- args_1[_i - 3] = arguments[_i];
354
- }
355
- return __awaiter(_this, __spreadArray([code_1, patchStatusTransitionRuleRequestDto_1, authorization_1], args_1, true), void 0, function (code, patchStatusTransitionRuleRequestDto, authorization, options) {
325
+ patchStatusTransitionRule: function (code, patchStatusTransitionRuleRequestDto, authorization, options) {
326
+ if (options === void 0) { options = {}; }
327
+ return __awaiter(_this, void 0, void 0, function () {
356
328
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
357
- if (options === void 0) { options = {}; }
358
329
  return __generator(this, function (_a) {
359
330
  switch (_a.label) {
360
331
  case 0:
@@ -404,14 +375,10 @@ var StatusTransitionRulesApiAxiosParamCreator = function (configuration) {
404
375
  * @param {*} [options] Override http request option.
405
376
  * @throws {RequiredError}
406
377
  */
407
- updateStatusTransitionRule: function (code_1, updateStatusTransitionRuleRequestDto_1, authorization_1) {
408
- var args_1 = [];
409
- for (var _i = 3; _i < arguments.length; _i++) {
410
- args_1[_i - 3] = arguments[_i];
411
- }
412
- return __awaiter(_this, __spreadArray([code_1, updateStatusTransitionRuleRequestDto_1, authorization_1], args_1, true), void 0, function (code, updateStatusTransitionRuleRequestDto, authorization, options) {
378
+ updateStatusTransitionRule: function (code, updateStatusTransitionRuleRequestDto, authorization, options) {
379
+ if (options === void 0) { options = {}; }
380
+ return __awaiter(_this, void 0, void 0, function () {
413
381
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
414
- if (options === void 0) { options = {}; }
415
382
  return __generator(this, function (_a) {
416
383
  switch (_a.label) {
417
384
  case 0:
package/dist/base.js CHANGED
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -78,8 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.RequiredError = exports.BaseAPI = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
82
- exports.resetRetry = resetRetry;
81
+ exports.RequiredError = exports.BaseAPI = exports.resetRetry = exports.Environment = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
83
82
  var configuration_1 = require("./configuration");
84
83
  var common_1 = require("./common");
85
84
  // Some imports not used depending on template conditions
@@ -103,12 +102,13 @@ var Environment;
103
102
  Environment["Staging"] = "https://apiv2-staging.emil.de";
104
103
  Environment["Development"] = "https://apiv2-dev.emil.de";
105
104
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
106
- })(Environment || (exports.Environment = Environment = {}));
105
+ })(Environment = exports.Environment || (exports.Environment = {}));
107
106
  var _retry_count = 0;
108
107
  var _retry = null;
109
108
  function resetRetry() {
110
109
  _retry_count = 0;
111
110
  }
111
+ exports.resetRetry = resetRetry;
112
112
  var NETWORK_ERROR_MESSAGE = "Network Error";
113
113
  var TOKEN_DATA = 'APP_TOKEN';
114
114
  /**
package/dist/common.d.ts CHANGED
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
66
66
  /**
67
67
  * EMIL InsuranceService
68
68
  * The EMIL InsuranceService API description
package/dist/common.js CHANGED
@@ -33,8 +33,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
33
33
  });
34
34
  };
35
35
  var __generator = (this && this.__generator) || function (thisArg, body) {
36
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
37
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
36
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
37
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
38
38
  function verb(n) { return function (v) { return step([n, v]); }; }
39
39
  function step(op) {
40
40
  if (f) throw new TypeError("Generator is already executing.");
@@ -141,31 +141,9 @@ export interface CreateProductFieldRequestDto {
141
141
  * @memberof CreateProductFieldRequestDto
142
142
  */
143
143
  'metadata'?: object;
144
- /**
145
- * Overrides automatic dependency check result (if this field is used in the premium calculation or not).
146
- * @type {string}
147
- * @memberof CreateProductFieldRequestDto
148
- */
149
- 'usedInPremiumCalculationOverride'?: CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum;
150
- /**
151
- * Overrides automatic dependency check result (if this field is used in the product field calculation or not).
152
- * @type {string}
153
- * @memberof CreateProductFieldRequestDto
154
- */
155
- 'usedInFieldCalculationOverride'?: CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum;
156
144
  }
157
145
  export declare const CreateProductFieldRequestDtoTypeEntityEnum: {
158
146
  readonly SystemProductFieldType: "system_product_field_type";
159
147
  readonly ProductFactorType: "product_factor_type";
160
148
  };
161
149
  export type CreateProductFieldRequestDtoTypeEntityEnum = typeof CreateProductFieldRequestDtoTypeEntityEnum[keyof typeof CreateProductFieldRequestDtoTypeEntityEnum];
162
- export declare const CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum: {
163
- readonly Used: "used";
164
- readonly NotUsed: "not_used";
165
- };
166
- export type CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = typeof CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum[keyof typeof CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum];
167
- export declare const CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum: {
168
- readonly Used: "used";
169
- readonly NotUsed: "not_used";
170
- };
171
- export type CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = typeof CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum[keyof typeof CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum];
@@ -13,16 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = exports.CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = exports.CreateProductFieldRequestDtoTypeEntityEnum = void 0;
16
+ exports.CreateProductFieldRequestDtoTypeEntityEnum = void 0;
17
17
  exports.CreateProductFieldRequestDtoTypeEntityEnum = {
18
18
  SystemProductFieldType: 'system_product_field_type',
19
19
  ProductFactorType: 'product_factor_type'
20
20
  };
21
- exports.CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = {
22
- Used: 'used',
23
- NotUsed: 'not_used'
24
- };
25
- exports.CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = {
26
- Used: 'used',
27
- NotUsed: 'not_used'
28
- };
@@ -53,7 +53,6 @@ export * from './create-product-field-request-dto';
53
53
  export * from './create-product-field-response-class';
54
54
  export * from './create-product-request-dto';
55
55
  export * from './create-product-response-class';
56
- export * from './create-product-version-request-dto';
57
56
  export * from './create-status-transition-rule-request-dto';
58
57
  export * from './create-status-transition-rule-response-class';
59
58
  export * from './csv-product-factor-dto';
@@ -69,7 +69,6 @@ __exportStar(require("./create-product-field-request-dto"), exports);
69
69
  __exportStar(require("./create-product-field-response-class"), exports);
70
70
  __exportStar(require("./create-product-request-dto"), exports);
71
71
  __exportStar(require("./create-product-response-class"), exports);
72
- __exportStar(require("./create-product-version-request-dto"), exports);
73
72
  __exportStar(require("./create-status-transition-rule-request-dto"), exports);
74
73
  __exportStar(require("./create-status-transition-rule-response-class"), exports);
75
74
  __exportStar(require("./csv-product-factor-dto"), exports);
@@ -129,30 +129,6 @@ export interface ProductFieldClass {
129
129
  * @memberof ProductFieldClass
130
130
  */
131
131
  'metadata'?: object;
132
- /**
133
- * Is this field is used the premium calculation?
134
- * @type {boolean}
135
- * @memberof ProductFieldClass
136
- */
137
- 'usedInPremiumCalculation': boolean;
138
- /**
139
- * Overrides automatic dependency check result (if this field is used in the premium calculation or not).
140
- * @type {string}
141
- * @memberof ProductFieldClass
142
- */
143
- 'usedInPremiumCalculationOverride': ProductFieldClassUsedInPremiumCalculationOverrideEnum;
144
- /**
145
- * Is this field is used the product field calculation?
146
- * @type {boolean}
147
- * @memberof ProductFieldClass
148
- */
149
- 'usedInFieldCalculation': boolean;
150
- /**
151
- * Overrides automatic dependency check result (if this field is used in the product field calculation or not).
152
- * @type {string}
153
- * @memberof ProductFieldClass
154
- */
155
- 'usedInFieldCalculationOverride': ProductFieldClassUsedInFieldCalculationOverrideEnum;
156
132
  /**
157
133
  * Time at which the object was created.
158
134
  * @type {string}
@@ -178,13 +154,3 @@ export interface ProductFieldClass {
178
154
  */
179
155
  'updatedBy': string;
180
156
  }
181
- export declare const ProductFieldClassUsedInPremiumCalculationOverrideEnum: {
182
- readonly Used: "used";
183
- readonly NotUsed: "not_used";
184
- };
185
- export type ProductFieldClassUsedInPremiumCalculationOverrideEnum = typeof ProductFieldClassUsedInPremiumCalculationOverrideEnum[keyof typeof ProductFieldClassUsedInPremiumCalculationOverrideEnum];
186
- export declare const ProductFieldClassUsedInFieldCalculationOverrideEnum: {
187
- readonly Used: "used";
188
- readonly NotUsed: "not_used";
189
- };
190
- export type ProductFieldClassUsedInFieldCalculationOverrideEnum = typeof ProductFieldClassUsedInFieldCalculationOverrideEnum[keyof typeof ProductFieldClassUsedInFieldCalculationOverrideEnum];
@@ -13,12 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ProductFieldClassUsedInFieldCalculationOverrideEnum = exports.ProductFieldClassUsedInPremiumCalculationOverrideEnum = void 0;
17
- exports.ProductFieldClassUsedInPremiumCalculationOverrideEnum = {
18
- Used: 'used',
19
- NotUsed: 'not_used'
20
- };
21
- exports.ProductFieldClassUsedInFieldCalculationOverrideEnum = {
22
- Used: 'used',
23
- NotUsed: 'not_used'
24
- };
@@ -129,30 +129,6 @@ export interface SharedProductFieldClass {
129
129
  * @memberof SharedProductFieldClass
130
130
  */
131
131
  'metadata'?: object;
132
- /**
133
- * Is this field is used the premium calculation?
134
- * @type {boolean}
135
- * @memberof SharedProductFieldClass
136
- */
137
- 'usedInPremiumCalculation': boolean;
138
- /**
139
- * Overrides automatic dependency check result (if this field is used in the premium calculation or not).
140
- * @type {string}
141
- * @memberof SharedProductFieldClass
142
- */
143
- 'usedInPremiumCalculationOverride': SharedProductFieldClassUsedInPremiumCalculationOverrideEnum;
144
- /**
145
- * Is this field is used the product field calculation?
146
- * @type {boolean}
147
- * @memberof SharedProductFieldClass
148
- */
149
- 'usedInFieldCalculation': boolean;
150
- /**
151
- * Overrides automatic dependency check result (if this field is used in the product field calculation or not).
152
- * @type {string}
153
- * @memberof SharedProductFieldClass
154
- */
155
- 'usedInFieldCalculationOverride': SharedProductFieldClassUsedInFieldCalculationOverrideEnum;
156
132
  /**
157
133
  * Time at which the object was created.
158
134
  * @type {string}
@@ -178,13 +154,3 @@ export interface SharedProductFieldClass {
178
154
  */
179
155
  'updatedBy': string;
180
156
  }
181
- export declare const SharedProductFieldClassUsedInPremiumCalculationOverrideEnum: {
182
- readonly Used: "used";
183
- readonly NotUsed: "not_used";
184
- };
185
- export type SharedProductFieldClassUsedInPremiumCalculationOverrideEnum = typeof SharedProductFieldClassUsedInPremiumCalculationOverrideEnum[keyof typeof SharedProductFieldClassUsedInPremiumCalculationOverrideEnum];
186
- export declare const SharedProductFieldClassUsedInFieldCalculationOverrideEnum: {
187
- readonly Used: "used";
188
- readonly NotUsed: "not_used";
189
- };
190
- export type SharedProductFieldClassUsedInFieldCalculationOverrideEnum = typeof SharedProductFieldClassUsedInFieldCalculationOverrideEnum[keyof typeof SharedProductFieldClassUsedInFieldCalculationOverrideEnum];
@@ -13,12 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SharedProductFieldClassUsedInFieldCalculationOverrideEnum = exports.SharedProductFieldClassUsedInPremiumCalculationOverrideEnum = void 0;
17
- exports.SharedProductFieldClassUsedInPremiumCalculationOverrideEnum = {
18
- Used: 'used',
19
- NotUsed: 'not_used'
20
- };
21
- exports.SharedProductFieldClassUsedInFieldCalculationOverrideEnum = {
22
- Used: 'used',
23
- NotUsed: 'not_used'
24
- };
@@ -147,31 +147,9 @@ export interface UpdateProductFieldRequestDto {
147
147
  * @memberof UpdateProductFieldRequestDto
148
148
  */
149
149
  'metadata'?: object;
150
- /**
151
- * Overrides automatic dependency check result (if this field is used in the premium calculation or not).
152
- * @type {string}
153
- * @memberof UpdateProductFieldRequestDto
154
- */
155
- 'usedInPremiumCalculationOverride'?: UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum;
156
- /**
157
- * Overrides automatic dependency check result (if this field is used in the product field calculation or not).
158
- * @type {string}
159
- * @memberof UpdateProductFieldRequestDto
160
- */
161
- 'usedInFieldCalculationOverride'?: UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum;
162
150
  }
163
151
  export declare const UpdateProductFieldRequestDtoTypeEntityEnum: {
164
152
  readonly SystemProductFieldType: "system_product_field_type";
165
153
  readonly ProductFactorType: "product_factor_type";
166
154
  };
167
155
  export type UpdateProductFieldRequestDtoTypeEntityEnum = typeof UpdateProductFieldRequestDtoTypeEntityEnum[keyof typeof UpdateProductFieldRequestDtoTypeEntityEnum];
168
- export declare const UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum: {
169
- readonly Used: "used";
170
- readonly NotUsed: "not_used";
171
- };
172
- export type UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = typeof UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum[keyof typeof UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum];
173
- export declare const UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum: {
174
- readonly Used: "used";
175
- readonly NotUsed: "not_used";
176
- };
177
- export type UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = typeof UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum[keyof typeof UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum];
@@ -13,16 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = exports.UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = exports.UpdateProductFieldRequestDtoTypeEntityEnum = void 0;
16
+ exports.UpdateProductFieldRequestDtoTypeEntityEnum = void 0;
17
17
  exports.UpdateProductFieldRequestDtoTypeEntityEnum = {
18
18
  SystemProductFieldType: 'system_product_field_type',
19
19
  ProductFactorType: 'product_factor_type'
20
20
  };
21
- exports.UpdateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = {
22
- Used: 'used',
23
- NotUsed: 'not_used'
24
- };
25
- exports.UpdateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = {
26
- Used: 'used',
27
- NotUsed: 'not_used'
28
- };
@@ -146,18 +146,6 @@ export interface CreateProductFieldRequestDto {
146
146
  * @memberof CreateProductFieldRequestDto
147
147
  */
148
148
  'metadata'?: object;
149
- /**
150
- * Overrides automatic dependency check result (if this field is used in the premium calculation or not).
151
- * @type {string}
152
- * @memberof CreateProductFieldRequestDto
153
- */
154
- 'usedInPremiumCalculationOverride'?: CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum;
155
- /**
156
- * Overrides automatic dependency check result (if this field is used in the product field calculation or not).
157
- * @type {string}
158
- * @memberof CreateProductFieldRequestDto
159
- */
160
- 'usedInFieldCalculationOverride'?: CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum;
161
149
  }
162
150
 
163
151
  export const CreateProductFieldRequestDtoTypeEntityEnum = {
@@ -166,17 +154,5 @@ export const CreateProductFieldRequestDtoTypeEntityEnum = {
166
154
  } as const;
167
155
 
168
156
  export type CreateProductFieldRequestDtoTypeEntityEnum = typeof CreateProductFieldRequestDtoTypeEntityEnum[keyof typeof CreateProductFieldRequestDtoTypeEntityEnum];
169
- export const CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = {
170
- Used: 'used',
171
- NotUsed: 'not_used'
172
- } as const;
173
-
174
- export type CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum = typeof CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum[keyof typeof CreateProductFieldRequestDtoUsedInPremiumCalculationOverrideEnum];
175
- export const CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = {
176
- Used: 'used',
177
- NotUsed: 'not_used'
178
- } as const;
179
-
180
- export type CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum = typeof CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum[keyof typeof CreateProductFieldRequestDtoUsedInFieldCalculationOverrideEnum];
181
157
 
182
158
 
package/models/index.ts CHANGED
@@ -53,7 +53,6 @@ export * from './create-product-field-request-dto';
53
53
  export * from './create-product-field-response-class';
54
54
  export * from './create-product-request-dto';
55
55
  export * from './create-product-response-class';
56
- export * from './create-product-version-request-dto';
57
56
  export * from './create-status-transition-rule-request-dto';
58
57
  export * from './create-status-transition-rule-response-class';
59
58
  export * from './csv-product-factor-dto';