@emilgroup/claim-sdk 1.44.1-beta.11 → 1.44.1-beta.13

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 (30) hide show
  1. package/README.md +2 -2
  2. package/api/health-check-api.ts +0 -128
  3. package/base.ts +0 -1
  4. package/dist/api/health-check-api.d.ts +0 -62
  5. package/dist/api/health-check-api.js +0 -142
  6. package/dist/base.d.ts +1 -2
  7. package/dist/base.js +0 -1
  8. package/dist/models/calculation-step-result-class.d.ts +3 -3
  9. package/dist/models/claim-class.d.ts +2 -3
  10. package/dist/models/list-claim-limit-usages-response-class.d.ts +6 -6
  11. package/dist/models/list-claim-partner-roles-response-class.d.ts +6 -6
  12. package/dist/models/list-claim-partners-response-class.d.ts +6 -6
  13. package/dist/models/list-claim-positions-response-class.d.ts +6 -6
  14. package/dist/models/list-claim-statuses-response-class.d.ts +6 -6
  15. package/dist/models/list-claims-response-class.d.ts +6 -6
  16. package/dist/models/list-regulations-response-class.d.ts +6 -6
  17. package/dist/models/list-settlements-response-class.d.ts +6 -18
  18. package/dist/models/payout-details-class.d.ts +2 -4
  19. package/models/calculation-step-result-class.ts +3 -3
  20. package/models/claim-class.ts +2 -3
  21. package/models/list-claim-limit-usages-response-class.ts +6 -6
  22. package/models/list-claim-partner-roles-response-class.ts +6 -6
  23. package/models/list-claim-partners-response-class.ts +6 -6
  24. package/models/list-claim-positions-response-class.ts +6 -6
  25. package/models/list-claim-statuses-response-class.ts +6 -6
  26. package/models/list-claims-response-class.ts +6 -6
  27. package/models/list-regulations-response-class.ts +6 -6
  28. package/models/list-settlements-response-class.ts +6 -18
  29. package/models/payout-details-class.ts +2 -2
  30. package/package.json +1 -1
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/claim-sdk@1.44.1-beta.11 --save
20
+ npm install @emilgroup/claim-sdk@1.44.1-beta.13 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk@1.44.1-beta.11
24
+ yarn add @emilgroup/claim-sdk@1.44.1-beta.13
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -86,71 +86,6 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
86
86
 
87
87
 
88
88
 
89
- setSearchParams(localVarUrlObj, localVarQueryParameter);
90
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
91
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
92
-
93
- return {
94
- url: toPathString(localVarUrlObj),
95
- options: localVarRequestOptions,
96
- };
97
- },
98
- /**
99
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
100
- * @summary Health Check
101
- * @param {*} [options] Override http request option.
102
- * @deprecated
103
- * @throws {RequiredError}
104
- */
105
- check1_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
106
- const localVarPath = `/v1/claims/health`;
107
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
108
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
109
- let baseOptions;
110
- let baseAccessToken;
111
- if (configuration) {
112
- baseOptions = configuration.baseOptions;
113
- baseAccessToken = configuration.accessToken;
114
- }
115
-
116
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
117
- const localVarHeaderParameter = {} as any;
118
- const localVarQueryParameter = {} as any;
119
-
120
-
121
-
122
- setSearchParams(localVarUrlObj, localVarQueryParameter);
123
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
124
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
125
-
126
- return {
127
- url: toPathString(localVarUrlObj),
128
- options: localVarRequestOptions,
129
- };
130
- },
131
- /**
132
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
133
- * @summary Health Check
134
- * @param {*} [options] Override http request option.
135
- * @throws {RequiredError}
136
- */
137
- check_2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
138
- const localVarPath = `/claimservice/v1/health`;
139
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
140
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
141
- let baseOptions;
142
- let baseAccessToken;
143
- if (configuration) {
144
- baseOptions = configuration.baseOptions;
145
- baseAccessToken = configuration.accessToken;
146
- }
147
-
148
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
149
- const localVarHeaderParameter = {} as any;
150
- const localVarQueryParameter = {} as any;
151
-
152
-
153
-
154
89
  setSearchParams(localVarUrlObj, localVarQueryParameter);
155
90
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
156
91
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -191,27 +126,6 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
191
126
  const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
192
127
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
193
128
  },
194
- /**
195
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
196
- * @summary Health Check
197
- * @param {*} [options] Override http request option.
198
- * @deprecated
199
- * @throws {RequiredError}
200
- */
201
- async check1_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
202
- const localVarAxiosArgs = await localVarAxiosParamCreator.check1_1(options);
203
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
204
- },
205
- /**
206
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
207
- * @summary Health Check
208
- * @param {*} [options] Override http request option.
209
- * @throws {RequiredError}
210
- */
211
- async check_2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
212
- const localVarAxiosArgs = await localVarAxiosParamCreator.check_2(options);
213
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
214
- },
215
129
  }
216
130
  };
217
131
 
@@ -241,25 +155,6 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
241
155
  check1(options?: any): AxiosPromise<InlineResponse200> {
242
156
  return localVarFp.check1(options).then((request) => request(axios, basePath));
243
157
  },
244
- /**
245
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
246
- * @summary Health Check
247
- * @param {*} [options] Override http request option.
248
- * @deprecated
249
- * @throws {RequiredError}
250
- */
251
- check1_1(options?: any): AxiosPromise<InlineResponse200> {
252
- return localVarFp.check1_1(options).then((request) => request(axios, basePath));
253
- },
254
- /**
255
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
256
- * @summary Health Check
257
- * @param {*} [options] Override http request option.
258
- * @throws {RequiredError}
259
- */
260
- check_2(options?: any): AxiosPromise<InlineResponse200> {
261
- return localVarFp.check_2(options).then((request) => request(axios, basePath));
262
- },
263
158
  };
264
159
  };
265
160
 
@@ -292,27 +187,4 @@ export class HealthCheckApi extends BaseAPI {
292
187
  public check1(options?: AxiosRequestConfig) {
293
188
  return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
294
189
  }
295
-
296
- /**
297
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
298
- * @summary Health Check
299
- * @param {*} [options] Override http request option.
300
- * @deprecated
301
- * @throws {RequiredError}
302
- * @memberof HealthCheckApi
303
- */
304
- public check1_1(options?: AxiosRequestConfig) {
305
- return HealthCheckApiFp(this.configuration).check1_1(options).then((request) => request(this.axios, this.basePath));
306
- }
307
-
308
- /**
309
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
310
- * @summary Health Check
311
- * @param {*} [options] Override http request option.
312
- * @throws {RequiredError}
313
- * @memberof HealthCheckApi
314
- */
315
- public check_2(options?: AxiosRequestConfig) {
316
- return HealthCheckApiFp(this.configuration).check_2(options).then((request) => request(this.axios, this.basePath));
317
- }
318
190
  }
package/base.ts CHANGED
@@ -53,7 +53,6 @@ export enum Environment {
53
53
  Staging = 'https://apiv2-staging.emil.de',
54
54
  Development = 'https://apiv2-dev.emil.de',
55
55
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
56
- StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
57
56
  }
58
57
 
59
58
  let _retry_count = 0
@@ -33,21 +33,6 @@ export declare const HealthCheckApiAxiosParamCreator: (configuration?: Configura
33
33
  * @throws {RequiredError}
34
34
  */
35
35
  check1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
- /**
37
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
38
- * @summary Health Check
39
- * @param {*} [options] Override http request option.
40
- * @deprecated
41
- * @throws {RequiredError}
42
- */
43
- check1_1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
- /**
45
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
46
- * @summary Health Check
47
- * @param {*} [options] Override http request option.
48
- * @throws {RequiredError}
49
- */
50
- check_2: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
36
  };
52
37
  /**
53
38
  * HealthCheckApi - functional programming interface
@@ -69,21 +54,6 @@ export declare const HealthCheckApiFp: (configuration?: Configuration) => {
69
54
  * @throws {RequiredError}
70
55
  */
71
56
  check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
72
- /**
73
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
74
- * @summary Health Check
75
- * @param {*} [options] Override http request option.
76
- * @deprecated
77
- * @throws {RequiredError}
78
- */
79
- check1_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
80
- /**
81
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
82
- * @summary Health Check
83
- * @param {*} [options] Override http request option.
84
- * @throws {RequiredError}
85
- */
86
- check_2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
87
57
  };
88
58
  /**
89
59
  * HealthCheckApi - factory interface
@@ -105,21 +75,6 @@ export declare const HealthCheckApiFactory: (configuration?: Configuration, base
105
75
  * @throws {RequiredError}
106
76
  */
107
77
  check1(options?: any): AxiosPromise<InlineResponse200>;
108
- /**
109
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
110
- * @summary Health Check
111
- * @param {*} [options] Override http request option.
112
- * @deprecated
113
- * @throws {RequiredError}
114
- */
115
- check1_1(options?: any): AxiosPromise<InlineResponse200>;
116
- /**
117
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
118
- * @summary Health Check
119
- * @param {*} [options] Override http request option.
120
- * @throws {RequiredError}
121
- */
122
- check_2(options?: any): AxiosPromise<InlineResponse200>;
123
78
  };
124
79
  /**
125
80
  * HealthCheckApi - object-oriented interface
@@ -145,21 +100,4 @@ export declare class HealthCheckApi extends BaseAPI {
145
100
  * @memberof HealthCheckApi
146
101
  */
147
102
  check1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
148
- /**
149
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
150
- * @summary Health Check
151
- * @param {*} [options] Override http request option.
152
- * @deprecated
153
- * @throws {RequiredError}
154
- * @memberof HealthCheckApi
155
- */
156
- check1_1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
157
- /**
158
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
159
- * @summary Health Check
160
- * @param {*} [options] Override http request option.
161
- * @throws {RequiredError}
162
- * @memberof HealthCheckApi
163
- */
164
- check_2(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
165
103
  }
@@ -153,67 +153,6 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
153
153
  });
154
154
  });
155
155
  },
156
- /**
157
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
158
- * @summary Health Check
159
- * @param {*} [options] Override http request option.
160
- * @deprecated
161
- * @throws {RequiredError}
162
- */
163
- check1_1: function (options) {
164
- if (options === void 0) { options = {}; }
165
- return __awaiter(_this, void 0, void 0, function () {
166
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
167
- return __generator(this, function (_a) {
168
- localVarPath = "/v1/claims/health";
169
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
170
- if (configuration) {
171
- baseOptions = configuration.baseOptions;
172
- baseAccessToken = configuration.accessToken;
173
- }
174
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
175
- localVarHeaderParameter = {};
176
- localVarQueryParameter = {};
177
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
178
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
179
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
180
- return [2 /*return*/, {
181
- url: (0, common_1.toPathString)(localVarUrlObj),
182
- options: localVarRequestOptions,
183
- }];
184
- });
185
- });
186
- },
187
- /**
188
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
189
- * @summary Health Check
190
- * @param {*} [options] Override http request option.
191
- * @throws {RequiredError}
192
- */
193
- check_2: function (options) {
194
- if (options === void 0) { options = {}; }
195
- return __awaiter(_this, void 0, void 0, function () {
196
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
197
- return __generator(this, function (_a) {
198
- localVarPath = "/claimservice/v1/health";
199
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
200
- if (configuration) {
201
- baseOptions = configuration.baseOptions;
202
- baseAccessToken = configuration.accessToken;
203
- }
204
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
205
- localVarHeaderParameter = {};
206
- localVarQueryParameter = {};
207
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
208
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
209
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
210
- return [2 /*return*/, {
211
- url: (0, common_1.toPathString)(localVarUrlObj),
212
- options: localVarRequestOptions,
213
- }];
214
- });
215
- });
216
- },
217
156
  };
218
157
  };
219
158
  exports.HealthCheckApiAxiosParamCreator = HealthCheckApiAxiosParamCreator;
@@ -263,45 +202,6 @@ var HealthCheckApiFp = function (configuration) {
263
202
  });
264
203
  });
265
204
  },
266
- /**
267
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
268
- * @summary Health Check
269
- * @param {*} [options] Override http request option.
270
- * @deprecated
271
- * @throws {RequiredError}
272
- */
273
- check1_1: function (options) {
274
- return __awaiter(this, void 0, void 0, function () {
275
- var localVarAxiosArgs;
276
- return __generator(this, function (_a) {
277
- switch (_a.label) {
278
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.check1_1(options)];
279
- case 1:
280
- localVarAxiosArgs = _a.sent();
281
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
282
- }
283
- });
284
- });
285
- },
286
- /**
287
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
288
- * @summary Health Check
289
- * @param {*} [options] Override http request option.
290
- * @throws {RequiredError}
291
- */
292
- check_2: function (options) {
293
- return __awaiter(this, void 0, void 0, function () {
294
- var localVarAxiosArgs;
295
- return __generator(this, function (_a) {
296
- switch (_a.label) {
297
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.check_2(options)];
298
- case 1:
299
- localVarAxiosArgs = _a.sent();
300
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
301
- }
302
- });
303
- });
304
- },
305
205
  };
306
206
  };
307
207
  exports.HealthCheckApiFp = HealthCheckApiFp;
@@ -331,25 +231,6 @@ var HealthCheckApiFactory = function (configuration, basePath, axios) {
331
231
  check1: function (options) {
332
232
  return localVarFp.check1(options).then(function (request) { return request(axios, basePath); });
333
233
  },
334
- /**
335
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
336
- * @summary Health Check
337
- * @param {*} [options] Override http request option.
338
- * @deprecated
339
- * @throws {RequiredError}
340
- */
341
- check1_1: function (options) {
342
- return localVarFp.check1_1(options).then(function (request) { return request(axios, basePath); });
343
- },
344
- /**
345
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
346
- * @summary Health Check
347
- * @param {*} [options] Override http request option.
348
- * @throws {RequiredError}
349
- */
350
- check_2: function (options) {
351
- return localVarFp.check_2(options).then(function (request) { return request(axios, basePath); });
352
- },
353
234
  };
354
235
  };
355
236
  exports.HealthCheckApiFactory = HealthCheckApiFactory;
@@ -387,29 +268,6 @@ var HealthCheckApi = /** @class */ (function (_super) {
387
268
  var _this = this;
388
269
  return (0, exports.HealthCheckApiFp)(this.configuration).check1(options).then(function (request) { return request(_this.axios, _this.basePath); });
389
270
  };
390
- /**
391
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
392
- * @summary Health Check
393
- * @param {*} [options] Override http request option.
394
- * @deprecated
395
- * @throws {RequiredError}
396
- * @memberof HealthCheckApi
397
- */
398
- HealthCheckApi.prototype.check1_1 = function (options) {
399
- var _this = this;
400
- return (0, exports.HealthCheckApiFp)(this.configuration).check1_1(options).then(function (request) { return request(_this.axios, _this.basePath); });
401
- };
402
- /**
403
- * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
404
- * @summary Health Check
405
- * @param {*} [options] Override http request option.
406
- * @throws {RequiredError}
407
- * @memberof HealthCheckApi
408
- */
409
- HealthCheckApi.prototype.check_2 = function (options) {
410
- var _this = this;
411
- return (0, exports.HealthCheckApiFp)(this.configuration).check_2(options).then(function (request) { return request(_this.axios, _this.basePath); });
412
- };
413
271
  return HealthCheckApi;
414
272
  }(base_1.BaseAPI));
415
273
  exports.HealthCheckApi = HealthCheckApi;
package/dist/base.d.ts CHANGED
@@ -39,8 +39,7 @@ export declare enum Environment {
39
39
  Test = "https://apiv2-test.emil.de",
40
40
  Staging = "https://apiv2-staging.emil.de",
41
41
  Development = "https://apiv2-dev.emil.de",
42
- ProductionZurich = "https://eu-central-2.apiv2.emil.de",
43
- StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
42
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de"
44
43
  }
45
44
  export declare function resetRetry(): void;
46
45
  /**
package/dist/base.js CHANGED
@@ -102,7 +102,6 @@ var Environment;
102
102
  Environment["Staging"] = "https://apiv2-staging.emil.de";
103
103
  Environment["Development"] = "https://apiv2-dev.emil.de";
104
104
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
105
- Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
106
105
  })(Environment = exports.Environment || (exports.Environment = {}));
107
106
  var _retry_count = 0;
108
107
  var _retry = null;
@@ -50,19 +50,19 @@ export interface CalculationStepResultClass {
50
50
  * @type {number}
51
51
  * @memberof CalculationStepResultClass
52
52
  */
53
- 'amountBefore'?: number;
53
+ 'amountBefore': number;
54
54
  /**
55
55
  * Amount after the calculation step.
56
56
  * @type {number}
57
57
  * @memberof CalculationStepResultClass
58
58
  */
59
- 'amountAfter'?: number;
59
+ 'amountAfter': number;
60
60
  /**
61
61
  * Step-specific applied amount: covered amount for coverage, deducted amount for deductible, or applied manual adjustment.
62
62
  * @type {number}
63
63
  * @memberof CalculationStepResultClass
64
64
  */
65
- 'appliedAmount'?: number;
65
+ 'appliedAmount': number;
66
66
  }
67
67
  export declare const CalculationStepResultClassTypeEnum: {
68
68
  readonly Coverage: "coverage";
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ClaimAppliedDeductibleClass } from './claim-applied-deductible-class';
13
- import { ClaimPartnerClass } from './claim-partner-class';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -223,8 +222,8 @@ export interface ClaimClass {
223
222
  'ern': string;
224
223
  /**
225
224
  * Partners related to the claim.
226
- * @type {Array<ClaimPartnerClass>}
225
+ * @type {Array<string>}
227
226
  * @memberof ClaimClass
228
227
  */
229
- 'claimPartners'?: Array<ClaimPartnerClass>;
228
+ 'claimPartners'?: Array<string>;
230
229
  }
@@ -16,6 +16,12 @@ import { ClaimLimitUsageClass } from './claim-limit-usage-class';
16
16
  * @interface ListClaimLimitUsagesResponseClass
17
17
  */
18
18
  export interface ListClaimLimitUsagesResponseClass {
19
+ /**
20
+ * List of claim limit usages
21
+ * @type {Array<ClaimLimitUsageClass>}
22
+ * @memberof ListClaimLimitUsagesResponseClass
23
+ */
24
+ 'items': Array<ClaimLimitUsageClass>;
19
25
  /**
20
26
  * Next page token.
21
27
  * @type {string}
@@ -34,10 +40,4 @@ export interface ListClaimLimitUsagesResponseClass {
34
40
  * @memberof ListClaimLimitUsagesResponseClass
35
41
  */
36
42
  'itemsPerPage': number;
37
- /**
38
- * List of claim limit usages
39
- * @type {Array<ClaimLimitUsageClass>}
40
- * @memberof ListClaimLimitUsagesResponseClass
41
- */
42
- 'items': Array<ClaimLimitUsageClass>;
43
43
  }
@@ -16,6 +16,12 @@ import { ClaimPartnerRoleClass } from './claim-partner-role-class';
16
16
  * @interface ListClaimPartnerRolesResponseClass
17
17
  */
18
18
  export interface ListClaimPartnerRolesResponseClass {
19
+ /**
20
+ * The list of service events.
21
+ * @type {Array<ClaimPartnerRoleClass>}
22
+ * @memberof ListClaimPartnerRolesResponseClass
23
+ */
24
+ 'items': Array<ClaimPartnerRoleClass>;
19
25
  /**
20
26
  * Next page token.
21
27
  * @type {string}
@@ -34,10 +40,4 @@ export interface ListClaimPartnerRolesResponseClass {
34
40
  * @memberof ListClaimPartnerRolesResponseClass
35
41
  */
36
42
  'itemsPerPage': number;
37
- /**
38
- * The list of claim partner roles.
39
- * @type {Array<ClaimPartnerRoleClass>}
40
- * @memberof ListClaimPartnerRolesResponseClass
41
- */
42
- 'items': Array<ClaimPartnerRoleClass>;
43
43
  }
@@ -16,6 +16,12 @@ import { ClaimPartnerClass } from './claim-partner-class';
16
16
  * @interface ListClaimPartnersResponseClass
17
17
  */
18
18
  export interface ListClaimPartnersResponseClass {
19
+ /**
20
+ * The list of claim partners.
21
+ * @type {Array<ClaimPartnerClass>}
22
+ * @memberof ListClaimPartnersResponseClass
23
+ */
24
+ 'items': Array<ClaimPartnerClass>;
19
25
  /**
20
26
  * Next page token.
21
27
  * @type {string}
@@ -34,10 +40,4 @@ export interface ListClaimPartnersResponseClass {
34
40
  * @memberof ListClaimPartnersResponseClass
35
41
  */
36
42
  'itemsPerPage': number;
37
- /**
38
- * The list of claim partners.
39
- * @type {Array<ClaimPartnerClass>}
40
- * @memberof ListClaimPartnersResponseClass
41
- */
42
- 'items': Array<ClaimPartnerClass>;
43
43
  }
@@ -16,6 +16,12 @@ import { ClaimPositionClass } from './claim-position-class';
16
16
  * @interface ListClaimPositionsResponseClass
17
17
  */
18
18
  export interface ListClaimPositionsResponseClass {
19
+ /**
20
+ * The claim positions.
21
+ * @type {Array<ClaimPositionClass>}
22
+ * @memberof ListClaimPositionsResponseClass
23
+ */
24
+ 'items': Array<ClaimPositionClass>;
19
25
  /**
20
26
  * Next page token.
21
27
  * @type {string}
@@ -34,10 +40,4 @@ export interface ListClaimPositionsResponseClass {
34
40
  * @memberof ListClaimPositionsResponseClass
35
41
  */
36
42
  'itemsPerPage': number;
37
- /**
38
- * The claim positions.
39
- * @type {Array<ClaimPositionClass>}
40
- * @memberof ListClaimPositionsResponseClass
41
- */
42
- 'items': Array<ClaimPositionClass>;
43
43
  }
@@ -16,6 +16,12 @@ import { ClaimStatusClass } from './claim-status-class';
16
16
  * @interface ListClaimStatusesResponseClass
17
17
  */
18
18
  export interface ListClaimStatusesResponseClass {
19
+ /**
20
+ * The list of claim statusess.
21
+ * @type {Array<ClaimStatusClass>}
22
+ * @memberof ListClaimStatusesResponseClass
23
+ */
24
+ 'items': Array<ClaimStatusClass>;
19
25
  /**
20
26
  * Next page token.
21
27
  * @type {string}
@@ -34,10 +40,4 @@ export interface ListClaimStatusesResponseClass {
34
40
  * @memberof ListClaimStatusesResponseClass
35
41
  */
36
42
  'itemsPerPage': number;
37
- /**
38
- * The list of claim statusess.
39
- * @type {Array<ClaimStatusClass>}
40
- * @memberof ListClaimStatusesResponseClass
41
- */
42
- 'items': Array<ClaimStatusClass>;
43
43
  }
@@ -16,6 +16,12 @@ import { ClaimClass } from './claim-class';
16
16
  * @interface ListClaimsResponseClass
17
17
  */
18
18
  export interface ListClaimsResponseClass {
19
+ /**
20
+ * The list of claims.
21
+ * @type {Array<ClaimClass>}
22
+ * @memberof ListClaimsResponseClass
23
+ */
24
+ 'items': Array<ClaimClass>;
19
25
  /**
20
26
  * Next page token.
21
27
  * @type {string}
@@ -34,10 +40,4 @@ export interface ListClaimsResponseClass {
34
40
  * @memberof ListClaimsResponseClass
35
41
  */
36
42
  'itemsPerPage': number;
37
- /**
38
- * The list of claims.
39
- * @type {Array<ClaimClass>}
40
- * @memberof ListClaimsResponseClass
41
- */
42
- 'items': Array<ClaimClass>;
43
43
  }
@@ -16,6 +16,12 @@ import { RegulationItemClass } from './regulation-item-class';
16
16
  * @interface ListRegulationsResponseClass
17
17
  */
18
18
  export interface ListRegulationsResponseClass {
19
+ /**
20
+ * The list of claim regulations.
21
+ * @type {Array<RegulationItemClass>}
22
+ * @memberof ListRegulationsResponseClass
23
+ */
24
+ 'items': Array<RegulationItemClass>;
19
25
  /**
20
26
  * Next page token.
21
27
  * @type {string}
@@ -34,10 +40,4 @@ export interface ListRegulationsResponseClass {
34
40
  * @memberof ListRegulationsResponseClass
35
41
  */
36
42
  'itemsPerPage': number;
37
- /**
38
- * The list of claim regulations.
39
- * @type {Array<RegulationItemClass>}
40
- * @memberof ListRegulationsResponseClass
41
- */
42
- 'items': Array<RegulationItemClass>;
43
43
  }
@@ -16,28 +16,16 @@ import { SettlementClass } from './settlement-class';
16
16
  * @interface ListSettlementsResponseClass
17
17
  */
18
18
  export interface ListSettlementsResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListSettlementsResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListSettlementsResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListSettlementsResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of settlements.
39
21
  * @type {Array<SettlementClass>}
40
22
  * @memberof ListSettlementsResponseClass
41
23
  */
42
24
  'items': Array<SettlementClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListSettlementsResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -77,12 +77,10 @@ export interface PayoutDetailsClass {
77
77
  'updatedAt': string;
78
78
  /**
79
79
  * Product or tenant specific custom fields for the payout detials. Depends on the schema defined for payout-details entity using tenantservice api.
80
- * @type {{ [key: string]: object; }}
80
+ * @type {object}
81
81
  * @memberof PayoutDetailsClass
82
82
  */
83
- 'customFields'?: {
84
- [key: string]: object;
85
- };
83
+ 'customFields'?: object;
86
84
  /**
87
85
  * Date on which the payout took place or scheduled to take place.
88
86
  * @type {string}
@@ -55,19 +55,19 @@ export interface CalculationStepResultClass {
55
55
  * @type {number}
56
56
  * @memberof CalculationStepResultClass
57
57
  */
58
- 'amountBefore'?: number;
58
+ 'amountBefore': number;
59
59
  /**
60
60
  * Amount after the calculation step.
61
61
  * @type {number}
62
62
  * @memberof CalculationStepResultClass
63
63
  */
64
- 'amountAfter'?: number;
64
+ 'amountAfter': number;
65
65
  /**
66
66
  * Step-specific applied amount: covered amount for coverage, deducted amount for deductible, or applied manual adjustment.
67
67
  * @type {number}
68
68
  * @memberof CalculationStepResultClass
69
69
  */
70
- 'appliedAmount'?: number;
70
+ 'appliedAmount': number;
71
71
  }
72
72
 
73
73
  export const CalculationStepResultClassTypeEnum = {
@@ -14,7 +14,6 @@
14
14
 
15
15
 
16
16
  import { ClaimAppliedDeductibleClass } from './claim-applied-deductible-class';
17
- import { ClaimPartnerClass } from './claim-partner-class';
18
17
 
19
18
  /**
20
19
  *
@@ -228,9 +227,9 @@ export interface ClaimClass {
228
227
  'ern': string;
229
228
  /**
230
229
  * Partners related to the claim.
231
- * @type {Array<ClaimPartnerClass>}
230
+ * @type {Array<string>}
232
231
  * @memberof ClaimClass
233
232
  */
234
- 'claimPartners'?: Array<ClaimPartnerClass>;
233
+ 'claimPartners'?: Array<string>;
235
234
  }
236
235
 
@@ -21,6 +21,12 @@ import { ClaimLimitUsageClass } from './claim-limit-usage-class';
21
21
  * @interface ListClaimLimitUsagesResponseClass
22
22
  */
23
23
  export interface ListClaimLimitUsagesResponseClass {
24
+ /**
25
+ * List of claim limit usages
26
+ * @type {Array<ClaimLimitUsageClass>}
27
+ * @memberof ListClaimLimitUsagesResponseClass
28
+ */
29
+ 'items': Array<ClaimLimitUsageClass>;
24
30
  /**
25
31
  * Next page token.
26
32
  * @type {string}
@@ -39,11 +45,5 @@ export interface ListClaimLimitUsagesResponseClass {
39
45
  * @memberof ListClaimLimitUsagesResponseClass
40
46
  */
41
47
  'itemsPerPage': number;
42
- /**
43
- * List of claim limit usages
44
- * @type {Array<ClaimLimitUsageClass>}
45
- * @memberof ListClaimLimitUsagesResponseClass
46
- */
47
- 'items': Array<ClaimLimitUsageClass>;
48
48
  }
49
49
 
@@ -21,6 +21,12 @@ import { ClaimPartnerRoleClass } from './claim-partner-role-class';
21
21
  * @interface ListClaimPartnerRolesResponseClass
22
22
  */
23
23
  export interface ListClaimPartnerRolesResponseClass {
24
+ /**
25
+ * The list of service events.
26
+ * @type {Array<ClaimPartnerRoleClass>}
27
+ * @memberof ListClaimPartnerRolesResponseClass
28
+ */
29
+ 'items': Array<ClaimPartnerRoleClass>;
24
30
  /**
25
31
  * Next page token.
26
32
  * @type {string}
@@ -39,11 +45,5 @@ export interface ListClaimPartnerRolesResponseClass {
39
45
  * @memberof ListClaimPartnerRolesResponseClass
40
46
  */
41
47
  'itemsPerPage': number;
42
- /**
43
- * The list of claim partner roles.
44
- * @type {Array<ClaimPartnerRoleClass>}
45
- * @memberof ListClaimPartnerRolesResponseClass
46
- */
47
- 'items': Array<ClaimPartnerRoleClass>;
48
48
  }
49
49
 
@@ -21,6 +21,12 @@ import { ClaimPartnerClass } from './claim-partner-class';
21
21
  * @interface ListClaimPartnersResponseClass
22
22
  */
23
23
  export interface ListClaimPartnersResponseClass {
24
+ /**
25
+ * The list of claim partners.
26
+ * @type {Array<ClaimPartnerClass>}
27
+ * @memberof ListClaimPartnersResponseClass
28
+ */
29
+ 'items': Array<ClaimPartnerClass>;
24
30
  /**
25
31
  * Next page token.
26
32
  * @type {string}
@@ -39,11 +45,5 @@ export interface ListClaimPartnersResponseClass {
39
45
  * @memberof ListClaimPartnersResponseClass
40
46
  */
41
47
  'itemsPerPage': number;
42
- /**
43
- * The list of claim partners.
44
- * @type {Array<ClaimPartnerClass>}
45
- * @memberof ListClaimPartnersResponseClass
46
- */
47
- 'items': Array<ClaimPartnerClass>;
48
48
  }
49
49
 
@@ -21,6 +21,12 @@ import { ClaimPositionClass } from './claim-position-class';
21
21
  * @interface ListClaimPositionsResponseClass
22
22
  */
23
23
  export interface ListClaimPositionsResponseClass {
24
+ /**
25
+ * The claim positions.
26
+ * @type {Array<ClaimPositionClass>}
27
+ * @memberof ListClaimPositionsResponseClass
28
+ */
29
+ 'items': Array<ClaimPositionClass>;
24
30
  /**
25
31
  * Next page token.
26
32
  * @type {string}
@@ -39,11 +45,5 @@ export interface ListClaimPositionsResponseClass {
39
45
  * @memberof ListClaimPositionsResponseClass
40
46
  */
41
47
  'itemsPerPage': number;
42
- /**
43
- * The claim positions.
44
- * @type {Array<ClaimPositionClass>}
45
- * @memberof ListClaimPositionsResponseClass
46
- */
47
- 'items': Array<ClaimPositionClass>;
48
48
  }
49
49
 
@@ -21,6 +21,12 @@ import { ClaimStatusClass } from './claim-status-class';
21
21
  * @interface ListClaimStatusesResponseClass
22
22
  */
23
23
  export interface ListClaimStatusesResponseClass {
24
+ /**
25
+ * The list of claim statusess.
26
+ * @type {Array<ClaimStatusClass>}
27
+ * @memberof ListClaimStatusesResponseClass
28
+ */
29
+ 'items': Array<ClaimStatusClass>;
24
30
  /**
25
31
  * Next page token.
26
32
  * @type {string}
@@ -39,11 +45,5 @@ export interface ListClaimStatusesResponseClass {
39
45
  * @memberof ListClaimStatusesResponseClass
40
46
  */
41
47
  'itemsPerPage': number;
42
- /**
43
- * The list of claim statusess.
44
- * @type {Array<ClaimStatusClass>}
45
- * @memberof ListClaimStatusesResponseClass
46
- */
47
- 'items': Array<ClaimStatusClass>;
48
48
  }
49
49
 
@@ -21,6 +21,12 @@ import { ClaimClass } from './claim-class';
21
21
  * @interface ListClaimsResponseClass
22
22
  */
23
23
  export interface ListClaimsResponseClass {
24
+ /**
25
+ * The list of claims.
26
+ * @type {Array<ClaimClass>}
27
+ * @memberof ListClaimsResponseClass
28
+ */
29
+ 'items': Array<ClaimClass>;
24
30
  /**
25
31
  * Next page token.
26
32
  * @type {string}
@@ -39,11 +45,5 @@ export interface ListClaimsResponseClass {
39
45
  * @memberof ListClaimsResponseClass
40
46
  */
41
47
  'itemsPerPage': number;
42
- /**
43
- * The list of claims.
44
- * @type {Array<ClaimClass>}
45
- * @memberof ListClaimsResponseClass
46
- */
47
- 'items': Array<ClaimClass>;
48
48
  }
49
49
 
@@ -21,6 +21,12 @@ import { RegulationItemClass } from './regulation-item-class';
21
21
  * @interface ListRegulationsResponseClass
22
22
  */
23
23
  export interface ListRegulationsResponseClass {
24
+ /**
25
+ * The list of claim regulations.
26
+ * @type {Array<RegulationItemClass>}
27
+ * @memberof ListRegulationsResponseClass
28
+ */
29
+ 'items': Array<RegulationItemClass>;
24
30
  /**
25
31
  * Next page token.
26
32
  * @type {string}
@@ -39,11 +45,5 @@ export interface ListRegulationsResponseClass {
39
45
  * @memberof ListRegulationsResponseClass
40
46
  */
41
47
  'itemsPerPage': number;
42
- /**
43
- * The list of claim regulations.
44
- * @type {Array<RegulationItemClass>}
45
- * @memberof ListRegulationsResponseClass
46
- */
47
- 'items': Array<RegulationItemClass>;
48
48
  }
49
49
 
@@ -21,29 +21,17 @@ import { SettlementClass } from './settlement-class';
21
21
  * @interface ListSettlementsResponseClass
22
22
  */
23
23
  export interface ListSettlementsResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListSettlementsResponseClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListSettlementsResponseClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListSettlementsResponseClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of settlements.
44
26
  * @type {Array<SettlementClass>}
45
27
  * @memberof ListSettlementsResponseClass
46
28
  */
47
29
  'items': Array<SettlementClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListSettlementsResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -82,10 +82,10 @@ export interface PayoutDetailsClass {
82
82
  'updatedAt': string;
83
83
  /**
84
84
  * Product or tenant specific custom fields for the payout detials. Depends on the schema defined for payout-details entity using tenantservice api.
85
- * @type {{ [key: string]: object; }}
85
+ * @type {object}
86
86
  * @memberof PayoutDetailsClass
87
87
  */
88
- 'customFields'?: { [key: string]: object; };
88
+ 'customFields'?: object;
89
89
  /**
90
90
  * Date on which the payout took place or scheduled to take place.
91
91
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/claim-sdk",
3
- "version": "1.44.1-beta.11",
3
+ "version": "1.44.1-beta.13",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [