@emilgroup/insurance-sdk 1.94.0 → 1.95.1-beta.6

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 (69) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +2 -2
  3. package/api/product-configs-api.ts +238 -0
  4. package/api.ts +2 -0
  5. package/dist/api/product-configs-api.d.ts +134 -0
  6. package/dist/api/product-configs-api.js +305 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/amount-with-limit-class.d.ts +30 -0
  10. package/dist/models/amount-with-limit-class.js +15 -0
  11. package/dist/models/category-class.d.ts +57 -0
  12. package/dist/models/category-class.js +15 -0
  13. package/dist/models/claim-config-class.d.ts +39 -0
  14. package/dist/models/claim-config-class.js +15 -0
  15. package/dist/models/claim-position-fields-class.d.ts +31 -0
  16. package/dist/models/claim-position-fields-class.js +15 -0
  17. package/dist/models/coverage-class.d.ts +43 -0
  18. package/dist/models/coverage-class.js +15 -0
  19. package/dist/models/coverage-term-class.d.ts +54 -0
  20. package/dist/models/coverage-term-class.js +25 -0
  21. package/dist/models/custom-field-class.d.ts +50 -0
  22. package/dist/models/custom-field-class.js +23 -0
  23. package/dist/models/deductible-class.d.ts +60 -0
  24. package/dist/models/deductible-class.js +25 -0
  25. package/dist/models/general-setting-class.d.ts +56 -0
  26. package/dist/models/general-setting-class.js +33 -0
  27. package/dist/models/index.d.ts +19 -0
  28. package/dist/models/index.js +19 -0
  29. package/dist/models/product-field-override-class.d.ts +48 -0
  30. package/dist/models/product-field-override-class.js +15 -0
  31. package/dist/models/product-version-config-class.d.ts +32 -0
  32. package/dist/models/product-version-config-class.js +15 -0
  33. package/dist/models/rest-create-product-config-response-class.d.ts +25 -0
  34. package/dist/models/rest-create-product-config-response-class.js +15 -0
  35. package/dist/models/rest-create-product-config-version-response-class.d.ts +25 -0
  36. package/dist/models/rest-create-product-config-version-response-class.js +15 -0
  37. package/dist/models/shared-product-config-class.d.ts +79 -0
  38. package/dist/models/shared-product-config-class.js +15 -0
  39. package/dist/models/shared-product-config-version-class.d.ts +85 -0
  40. package/dist/models/shared-product-config-version-class.js +21 -0
  41. package/dist/models/tariff-coverage-term-class.d.ts +72 -0
  42. package/dist/models/tariff-coverage-term-class.js +30 -0
  43. package/dist/models/tariff-variation-class.d.ts +64 -0
  44. package/dist/models/tariff-variation-class.js +15 -0
  45. package/dist/models/waiting-period-class.d.ts +41 -0
  46. package/dist/models/waiting-period-class.js +20 -0
  47. package/dist/models/warning-class.d.ts +47 -0
  48. package/dist/models/warning-class.js +20 -0
  49. package/models/amount-with-limit-class.ts +36 -0
  50. package/models/category-class.ts +63 -0
  51. package/models/claim-config-class.ts +45 -0
  52. package/models/claim-position-fields-class.ts +37 -0
  53. package/models/coverage-class.ts +49 -0
  54. package/models/coverage-term-class.ts +64 -0
  55. package/models/custom-field-class.ts +59 -0
  56. package/models/deductible-class.ts +70 -0
  57. package/models/general-setting-class.ts +66 -0
  58. package/models/index.ts +19 -0
  59. package/models/product-field-override-class.ts +54 -0
  60. package/models/product-version-config-class.ts +38 -0
  61. package/models/rest-create-product-config-response-class.ts +31 -0
  62. package/models/rest-create-product-config-version-response-class.ts +31 -0
  63. package/models/shared-product-config-class.ts +85 -0
  64. package/models/shared-product-config-version-class.ts +94 -0
  65. package/models/tariff-coverage-term-class.ts +83 -0
  66. package/models/tariff-variation-class.ts +70 -0
  67. package/models/waiting-period-class.ts +50 -0
  68. package/models/warning-class.ts +56 -0
  69. package/package.json +2 -1
@@ -0,0 +1,305 @@
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
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
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;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.ProductConfigsApi = exports.ProductConfigsApiFactory = exports.ProductConfigsApiFp = exports.ProductConfigsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * ProductConfigsApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var ProductConfigsApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ * Creates a product config. Accepts a JSON or YAML file containing the initial config version. Supported formats: .json, .yaml, .yml **Required Permissions** \"policy-management.products.create\"
97
+ * @summary Creates a new product config with optional initial version
98
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
+ * @param {*} [options] Override http request option.
100
+ * @throws {RequiredError}
101
+ */
102
+ createProductConfig: function (authorization, options) {
103
+ if (options === void 0) { options = {}; }
104
+ return __awaiter(_this, void 0, void 0, function () {
105
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
+ return __generator(this, function (_a) {
107
+ switch (_a.label) {
108
+ case 0:
109
+ localVarPath = "/insuranceservice/v1/product-configs";
110
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
111
+ if (configuration) {
112
+ baseOptions = configuration.baseOptions;
113
+ baseAccessToken = configuration.accessToken;
114
+ }
115
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
116
+ localVarHeaderParameter = {};
117
+ localVarQueryParameter = {};
118
+ // authentication bearer required
119
+ // http bearer authentication required
120
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
121
+ case 1:
122
+ // authentication bearer required
123
+ // http bearer authentication required
124
+ _a.sent();
125
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
126
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
127
+ }
128
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
129
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
131
+ return [2 /*return*/, {
132
+ url: (0, common_1.toPathString)(localVarUrlObj),
133
+ options: localVarRequestOptions,
134
+ }];
135
+ }
136
+ });
137
+ });
138
+ },
139
+ /**
140
+ * Creates a new product config version. Accepts a JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml Required fields: versionNumber, config file **Required Permissions** \"policy-management.products.create\"
141
+ * @summary Creates a new version for a product config
142
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ createProductConfigVersion: function (authorization, options) {
147
+ if (options === void 0) { options = {}; }
148
+ return __awaiter(_this, void 0, void 0, function () {
149
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
150
+ return __generator(this, function (_a) {
151
+ switch (_a.label) {
152
+ case 0:
153
+ localVarPath = "/insuranceservice/v1/product-configs/versions";
154
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
155
+ if (configuration) {
156
+ baseOptions = configuration.baseOptions;
157
+ baseAccessToken = configuration.accessToken;
158
+ }
159
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
160
+ localVarHeaderParameter = {};
161
+ localVarQueryParameter = {};
162
+ // authentication bearer required
163
+ // http bearer authentication required
164
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
165
+ case 1:
166
+ // authentication bearer required
167
+ // http bearer authentication required
168
+ _a.sent();
169
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
170
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
171
+ }
172
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
173
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
174
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
175
+ return [2 /*return*/, {
176
+ url: (0, common_1.toPathString)(localVarUrlObj),
177
+ options: localVarRequestOptions,
178
+ }];
179
+ }
180
+ });
181
+ });
182
+ },
183
+ };
184
+ };
185
+ exports.ProductConfigsApiAxiosParamCreator = ProductConfigsApiAxiosParamCreator;
186
+ /**
187
+ * ProductConfigsApi - functional programming interface
188
+ * @export
189
+ */
190
+ var ProductConfigsApiFp = function (configuration) {
191
+ var localVarAxiosParamCreator = (0, exports.ProductConfigsApiAxiosParamCreator)(configuration);
192
+ return {
193
+ /**
194
+ * Creates a product config. Accepts a JSON or YAML file containing the initial config version. Supported formats: .json, .yaml, .yml **Required Permissions** \"policy-management.products.create\"
195
+ * @summary Creates a new product config with optional initial version
196
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
197
+ * @param {*} [options] Override http request option.
198
+ * @throws {RequiredError}
199
+ */
200
+ createProductConfig: function (authorization, options) {
201
+ return __awaiter(this, void 0, void 0, function () {
202
+ var localVarAxiosArgs;
203
+ return __generator(this, function (_a) {
204
+ switch (_a.label) {
205
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createProductConfig(authorization, options)];
206
+ case 1:
207
+ localVarAxiosArgs = _a.sent();
208
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
209
+ }
210
+ });
211
+ });
212
+ },
213
+ /**
214
+ * Creates a new product config version. Accepts a JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml Required fields: versionNumber, config file **Required Permissions** \"policy-management.products.create\"
215
+ * @summary Creates a new version for a product config
216
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ */
220
+ createProductConfigVersion: function (authorization, options) {
221
+ return __awaiter(this, void 0, void 0, function () {
222
+ var localVarAxiosArgs;
223
+ return __generator(this, function (_a) {
224
+ switch (_a.label) {
225
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createProductConfigVersion(authorization, options)];
226
+ case 1:
227
+ localVarAxiosArgs = _a.sent();
228
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
229
+ }
230
+ });
231
+ });
232
+ },
233
+ };
234
+ };
235
+ exports.ProductConfigsApiFp = ProductConfigsApiFp;
236
+ /**
237
+ * ProductConfigsApi - factory interface
238
+ * @export
239
+ */
240
+ var ProductConfigsApiFactory = function (configuration, basePath, axios) {
241
+ var localVarFp = (0, exports.ProductConfigsApiFp)(configuration);
242
+ return {
243
+ /**
244
+ * Creates a product config. Accepts a JSON or YAML file containing the initial config version. Supported formats: .json, .yaml, .yml **Required Permissions** \"policy-management.products.create\"
245
+ * @summary Creates a new product config with optional initial version
246
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
247
+ * @param {*} [options] Override http request option.
248
+ * @throws {RequiredError}
249
+ */
250
+ createProductConfig: function (authorization, options) {
251
+ return localVarFp.createProductConfig(authorization, options).then(function (request) { return request(axios, basePath); });
252
+ },
253
+ /**
254
+ * Creates a new product config version. Accepts a JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml Required fields: versionNumber, config file **Required Permissions** \"policy-management.products.create\"
255
+ * @summary Creates a new version for a product config
256
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
257
+ * @param {*} [options] Override http request option.
258
+ * @throws {RequiredError}
259
+ */
260
+ createProductConfigVersion: function (authorization, options) {
261
+ return localVarFp.createProductConfigVersion(authorization, options).then(function (request) { return request(axios, basePath); });
262
+ },
263
+ };
264
+ };
265
+ exports.ProductConfigsApiFactory = ProductConfigsApiFactory;
266
+ /**
267
+ * ProductConfigsApi - object-oriented interface
268
+ * @export
269
+ * @class ProductConfigsApi
270
+ * @extends {BaseAPI}
271
+ */
272
+ var ProductConfigsApi = /** @class */ (function (_super) {
273
+ __extends(ProductConfigsApi, _super);
274
+ function ProductConfigsApi() {
275
+ return _super !== null && _super.apply(this, arguments) || this;
276
+ }
277
+ /**
278
+ * Creates a product config. Accepts a JSON or YAML file containing the initial config version. Supported formats: .json, .yaml, .yml **Required Permissions** \"policy-management.products.create\"
279
+ * @summary Creates a new product config with optional initial version
280
+ * @param {ProductConfigsApiCreateProductConfigRequest} requestParameters Request parameters.
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ * @memberof ProductConfigsApi
284
+ */
285
+ ProductConfigsApi.prototype.createProductConfig = function (requestParameters, options) {
286
+ var _this = this;
287
+ if (requestParameters === void 0) { requestParameters = {}; }
288
+ return (0, exports.ProductConfigsApiFp)(this.configuration).createProductConfig(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
289
+ };
290
+ /**
291
+ * Creates a new product config version. Accepts a JSON or YAML file containing the config. Supported formats: .json, .yaml, .yml Required fields: versionNumber, config file **Required Permissions** \"policy-management.products.create\"
292
+ * @summary Creates a new version for a product config
293
+ * @param {ProductConfigsApiCreateProductConfigVersionRequest} requestParameters Request parameters.
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ * @memberof ProductConfigsApi
297
+ */
298
+ ProductConfigsApi.prototype.createProductConfigVersion = function (requestParameters, options) {
299
+ var _this = this;
300
+ if (requestParameters === void 0) { requestParameters = {}; }
301
+ return (0, exports.ProductConfigsApiFp)(this.configuration).createProductConfigVersion(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
302
+ };
303
+ return ProductConfigsApi;
304
+ }(base_1.BaseAPI));
305
+ exports.ProductConfigsApi = ProductConfigsApi;
package/dist/api.d.ts CHANGED
@@ -28,6 +28,7 @@ export * from './api/partner-links-api';
28
28
  export * from './api/partner-roles-api';
29
29
  export * from './api/policies-api';
30
30
  export * from './api/premium-formulas-api';
31
+ export * from './api/product-configs-api';
31
32
  export * from './api/product-factors-api';
32
33
  export * from './api/product-fields-api';
33
34
  export * from './api/product-versions-api';
package/dist/api.js CHANGED
@@ -46,6 +46,7 @@ __exportStar(require("./api/partner-links-api"), exports);
46
46
  __exportStar(require("./api/partner-roles-api"), exports);
47
47
  __exportStar(require("./api/policies-api"), exports);
48
48
  __exportStar(require("./api/premium-formulas-api"), exports);
49
+ __exportStar(require("./api/product-configs-api"), exports);
49
50
  __exportStar(require("./api/product-factors-api"), exports);
50
51
  __exportStar(require("./api/product-fields-api"), exports);
51
52
  __exportStar(require("./api/product-versions-api"), exports);
@@ -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 AmountWithLimitClass
16
+ */
17
+ export interface AmountWithLimitClass {
18
+ /**
19
+ * Amount value (required for percent and fixed types)
20
+ * @type {number}
21
+ * @memberof AmountWithLimitClass
22
+ */
23
+ 'amount': number;
24
+ /**
25
+ * Maximum limit (required for percent type)
26
+ * @type {number}
27
+ * @memberof AmountWithLimitClass
28
+ */
29
+ 'limit': number;
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 });
@@ -0,0 +1,57 @@
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 { CoverageClass } from './coverage-class';
13
+ import { CoverageTermClass } from './coverage-term-class';
14
+ import { DeductibleClass } from './deductible-class';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface CategoryClass
19
+ */
20
+ export interface CategoryClass {
21
+ /**
22
+ * Unique identifier key for category
23
+ * @type {string}
24
+ * @memberof CategoryClass
25
+ */
26
+ 'key': string;
27
+ /**
28
+ * Display name shown to users
29
+ * @type {string}
30
+ * @memberof CategoryClass
31
+ */
32
+ 'label': string;
33
+ /**
34
+ * Category coverage term
35
+ * @type {CoverageTermClass}
36
+ * @memberof CategoryClass
37
+ */
38
+ 'coverageTerm': CoverageTermClass;
39
+ /**
40
+ * Category description
41
+ * @type {string}
42
+ * @memberof CategoryClass
43
+ */
44
+ 'description': string;
45
+ /**
46
+ * List of category coverages
47
+ * @type {Array<CoverageClass>}
48
+ * @memberof CategoryClass
49
+ */
50
+ 'coverages': Array<CoverageClass>;
51
+ /**
52
+ * List of category deductibles
53
+ * @type {Array<DeductibleClass>}
54
+ * @memberof CategoryClass
55
+ */
56
+ 'deductibles': Array<DeductibleClass>;
57
+ }
@@ -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,39 @@
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 { ClaimPositionFieldsClass } from './claim-position-fields-class';
13
+ import { GeneralSettingClass } from './general-setting-class';
14
+ import { WarningClass } from './warning-class';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface ClaimConfigClass
19
+ */
20
+ export interface ClaimConfigClass {
21
+ /**
22
+ * General claim processing settings
23
+ * @type {GeneralSettingClass}
24
+ * @memberof ClaimConfigClass
25
+ */
26
+ 'generalSetting': GeneralSettingClass;
27
+ /**
28
+ * List of claim warning messages
29
+ * @type {Array<WarningClass>}
30
+ * @memberof ClaimConfigClass
31
+ */
32
+ 'warnings': Array<WarningClass>;
33
+ /**
34
+ * Fields configuration displayed in claim position table
35
+ * @type {ClaimPositionFieldsClass}
36
+ * @memberof ClaimConfigClass
37
+ */
38
+ 'claimPositionFields': ClaimPositionFieldsClass;
39
+ }
@@ -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,31 @@
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 { CustomFieldClass } from './custom-field-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ClaimPositionFieldsClass
17
+ */
18
+ export interface ClaimPositionFieldsClass {
19
+ /**
20
+ * Custom claim position fields
21
+ * @type {Array<CustomFieldClass>}
22
+ * @memberof ClaimPositionFieldsClass
23
+ */
24
+ 'customFields': Array<CustomFieldClass>;
25
+ /**
26
+ * Order for displaying claim position fields
27
+ * @type {Array<string>}
28
+ * @memberof ClaimPositionFieldsClass
29
+ */
30
+ 'fieldsOrder': Array<string>;
31
+ }
@@ -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,43 @@
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 { CoverageTermClass } from './coverage-term-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CoverageClass
17
+ */
18
+ export interface CoverageClass {
19
+ /**
20
+ * Unique identifier key for category coverage
21
+ * @type {string}
22
+ * @memberof CoverageClass
23
+ */
24
+ 'key': string;
25
+ /**
26
+ * Display name shown to users
27
+ * @type {string}
28
+ * @memberof CoverageClass
29
+ */
30
+ 'label': string;
31
+ /**
32
+ * Category coverage description
33
+ * @type {string}
34
+ * @memberof CoverageClass
35
+ */
36
+ 'description': string;
37
+ /**
38
+ * Coverage term
39
+ * @type {CoverageTermClass}
40
+ * @memberof CoverageClass
41
+ */
42
+ 'coverageTerm': CoverageTermClass;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * 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,54 @@
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 { AmountWithLimitClass } from './amount-with-limit-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CoverageTermClass
17
+ */
18
+ export interface CoverageTermClass {
19
+ /**
20
+ * Whether this coverage term is covered
21
+ * @type {boolean}
22
+ * @memberof CoverageTermClass
23
+ */
24
+ 'isCovered': boolean;
25
+ /**
26
+ * Coverage term type (fixed or percent)
27
+ * @type {string}
28
+ * @memberof CoverageTermClass
29
+ */
30
+ 'type': CoverageTermClassTypeEnum;
31
+ /**
32
+ * Time period over which the coverage term applies
33
+ * @type {string}
34
+ * @memberof CoverageTermClass
35
+ */
36
+ 'period': CoverageTermClassPeriodEnum;
37
+ /**
38
+ * Coverage term value - fixed amount or percentage with maximum limit
39
+ * @type {AmountWithLimitClass}
40
+ * @memberof CoverageTermClass
41
+ */
42
+ 'value': AmountWithLimitClass;
43
+ }
44
+ export declare const CoverageTermClassTypeEnum: {
45
+ readonly Fixed: "fixed";
46
+ readonly Percent: "percent";
47
+ };
48
+ export type CoverageTermClassTypeEnum = typeof CoverageTermClassTypeEnum[keyof typeof CoverageTermClassTypeEnum];
49
+ export declare const CoverageTermClassPeriodEnum: {
50
+ readonly CalendarYear: "CALENDAR_YEAR";
51
+ readonly PolicyYear: "POLICY_YEAR";
52
+ readonly PerClaim: "PER_CLAIM";
53
+ };
54
+ export type CoverageTermClassPeriodEnum = typeof CoverageTermClassPeriodEnum[keyof typeof CoverageTermClassPeriodEnum];