@emilgroup/claim-sdk-node 1.41.1-beta.11 → 1.41.1-beta.12

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.
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-node@1.41.1-beta.11 --save
20
+ npm install @emilgroup/claim-sdk-node@1.41.1-beta.12 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk-node@1.41.1-beta.11
24
+ yarn add @emilgroup/claim-sdk-node@1.41.1-beta.12
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -90,71 +90,6 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
90
90
 
91
91
 
92
92
 
93
- setSearchParams(localVarUrlObj, localVarQueryParameter);
94
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
95
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
96
-
97
- return {
98
- url: toPathString(localVarUrlObj),
99
- options: localVarRequestOptions,
100
- };
101
- },
102
- /**
103
- * 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.
104
- * @summary Health Check
105
- * @param {*} [options] Override http request option.
106
- * @deprecated
107
- * @throws {RequiredError}
108
- */
109
- check1_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
110
- const localVarPath = `/v1/claims/health`;
111
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
112
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
113
- let baseOptions;
114
- let baseAccessToken;
115
- if (configuration) {
116
- baseOptions = configuration.baseOptions;
117
- baseAccessToken = configuration.accessToken;
118
- }
119
-
120
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
121
- const localVarHeaderParameter = {} as any;
122
- const localVarQueryParameter = {} as any;
123
-
124
-
125
-
126
- setSearchParams(localVarUrlObj, localVarQueryParameter);
127
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
129
-
130
- return {
131
- url: toPathString(localVarUrlObj),
132
- options: localVarRequestOptions,
133
- };
134
- },
135
- /**
136
- * 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.
137
- * @summary Health Check
138
- * @param {*} [options] Override http request option.
139
- * @throws {RequiredError}
140
- */
141
- check_2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
142
- const localVarPath = `/claimservice/v1/health`;
143
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
144
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
145
- let baseOptions;
146
- let baseAccessToken;
147
- if (configuration) {
148
- baseOptions = configuration.baseOptions;
149
- baseAccessToken = configuration.accessToken;
150
- }
151
-
152
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
153
- const localVarHeaderParameter = {} as any;
154
- const localVarQueryParameter = {} as any;
155
-
156
-
157
-
158
93
  setSearchParams(localVarUrlObj, localVarQueryParameter);
159
94
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
160
95
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -195,27 +130,6 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
195
130
  const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
196
131
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
197
132
  },
198
- /**
199
- * 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.
200
- * @summary Health Check
201
- * @param {*} [options] Override http request option.
202
- * @deprecated
203
- * @throws {RequiredError}
204
- */
205
- async check1_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
206
- const localVarAxiosArgs = await localVarAxiosParamCreator.check1_1(options);
207
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
208
- },
209
- /**
210
- * 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.
211
- * @summary Health Check
212
- * @param {*} [options] Override http request option.
213
- * @throws {RequiredError}
214
- */
215
- async check_2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
216
- const localVarAxiosArgs = await localVarAxiosParamCreator.check_2(options);
217
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
218
- },
219
133
  }
220
134
  };
221
135
 
@@ -245,25 +159,6 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
245
159
  check1(options?: any): AxiosPromise<InlineResponse200> {
246
160
  return localVarFp.check1(options).then((request) => request(axios, basePath));
247
161
  },
248
- /**
249
- * 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.
250
- * @summary Health Check
251
- * @param {*} [options] Override http request option.
252
- * @deprecated
253
- * @throws {RequiredError}
254
- */
255
- check1_1(options?: any): AxiosPromise<InlineResponse200> {
256
- return localVarFp.check1_1(options).then((request) => request(axios, basePath));
257
- },
258
- /**
259
- * 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.
260
- * @summary Health Check
261
- * @param {*} [options] Override http request option.
262
- * @throws {RequiredError}
263
- */
264
- check_2(options?: any): AxiosPromise<InlineResponse200> {
265
- return localVarFp.check_2(options).then((request) => request(axios, basePath));
266
- },
267
162
  };
268
163
  };
269
164
 
@@ -296,27 +191,4 @@ export class HealthCheckApi extends BaseAPI {
296
191
  public check1(options?: AxiosRequestConfig) {
297
192
  return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
298
193
  }
299
-
300
- /**
301
- * 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.
302
- * @summary Health Check
303
- * @param {*} [options] Override http request option.
304
- * @deprecated
305
- * @throws {RequiredError}
306
- * @memberof HealthCheckApi
307
- */
308
- public check1_1(options?: AxiosRequestConfig) {
309
- return HealthCheckApiFp(this.configuration).check1_1(options).then((request) => request(this.axios, this.basePath));
310
- }
311
-
312
- /**
313
- * 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.
314
- * @summary Health Check
315
- * @param {*} [options] Override http request option.
316
- * @throws {RequiredError}
317
- * @memberof HealthCheckApi
318
- */
319
- public check_2(options?: AxiosRequestConfig) {
320
- return HealthCheckApiFp(this.configuration).check_2(options).then((request) => request(this.axios, this.basePath));
321
- }
322
194
  }
package/base.ts CHANGED
@@ -60,7 +60,6 @@ export enum Environment {
60
60
  Staging = 'https://apiv2-staging.emil.de',
61
61
  Development = 'https://apiv2-dev.emil.de',
62
62
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
63
- StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
64
63
  }
65
64
 
66
65
  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
  }
@@ -157,67 +157,6 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
157
157
  });
158
158
  });
159
159
  },
160
- /**
161
- * 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.
162
- * @summary Health Check
163
- * @param {*} [options] Override http request option.
164
- * @deprecated
165
- * @throws {RequiredError}
166
- */
167
- check1_1: function (options) {
168
- if (options === void 0) { options = {}; }
169
- return __awaiter(_this, void 0, void 0, function () {
170
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
171
- return __generator(this, function (_a) {
172
- localVarPath = "/v1/claims/health";
173
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
174
- if (configuration) {
175
- baseOptions = configuration.baseOptions;
176
- baseAccessToken = configuration.accessToken;
177
- }
178
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
179
- localVarHeaderParameter = {};
180
- localVarQueryParameter = {};
181
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
- return [2 /*return*/, {
185
- url: (0, common_1.toPathString)(localVarUrlObj),
186
- options: localVarRequestOptions,
187
- }];
188
- });
189
- });
190
- },
191
- /**
192
- * 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.
193
- * @summary Health Check
194
- * @param {*} [options] Override http request option.
195
- * @throws {RequiredError}
196
- */
197
- check_2: function (options) {
198
- if (options === void 0) { options = {}; }
199
- return __awaiter(_this, void 0, void 0, function () {
200
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
201
- return __generator(this, function (_a) {
202
- localVarPath = "/claimservice/v1/health";
203
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
204
- if (configuration) {
205
- baseOptions = configuration.baseOptions;
206
- baseAccessToken = configuration.accessToken;
207
- }
208
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
209
- localVarHeaderParameter = {};
210
- localVarQueryParameter = {};
211
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
212
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
213
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
214
- return [2 /*return*/, {
215
- url: (0, common_1.toPathString)(localVarUrlObj),
216
- options: localVarRequestOptions,
217
- }];
218
- });
219
- });
220
- },
221
160
  };
222
161
  };
223
162
  exports.HealthCheckApiAxiosParamCreator = HealthCheckApiAxiosParamCreator;
@@ -267,45 +206,6 @@ var HealthCheckApiFp = function (configuration) {
267
206
  });
268
207
  });
269
208
  },
270
- /**
271
- * 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.
272
- * @summary Health Check
273
- * @param {*} [options] Override http request option.
274
- * @deprecated
275
- * @throws {RequiredError}
276
- */
277
- check1_1: function (options) {
278
- return __awaiter(this, void 0, void 0, function () {
279
- var localVarAxiosArgs;
280
- return __generator(this, function (_a) {
281
- switch (_a.label) {
282
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.check1_1(options)];
283
- case 1:
284
- localVarAxiosArgs = _a.sent();
285
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
286
- }
287
- });
288
- });
289
- },
290
- /**
291
- * 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.
292
- * @summary Health Check
293
- * @param {*} [options] Override http request option.
294
- * @throws {RequiredError}
295
- */
296
- check_2: function (options) {
297
- return __awaiter(this, void 0, void 0, function () {
298
- var localVarAxiosArgs;
299
- return __generator(this, function (_a) {
300
- switch (_a.label) {
301
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.check_2(options)];
302
- case 1:
303
- localVarAxiosArgs = _a.sent();
304
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
305
- }
306
- });
307
- });
308
- },
309
209
  };
310
210
  };
311
211
  exports.HealthCheckApiFp = HealthCheckApiFp;
@@ -335,25 +235,6 @@ var HealthCheckApiFactory = function (configuration, basePath, axios) {
335
235
  check1: function (options) {
336
236
  return localVarFp.check1(options).then(function (request) { return request(axios, basePath); });
337
237
  },
338
- /**
339
- * 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.
340
- * @summary Health Check
341
- * @param {*} [options] Override http request option.
342
- * @deprecated
343
- * @throws {RequiredError}
344
- */
345
- check1_1: function (options) {
346
- return localVarFp.check1_1(options).then(function (request) { return request(axios, basePath); });
347
- },
348
- /**
349
- * 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.
350
- * @summary Health Check
351
- * @param {*} [options] Override http request option.
352
- * @throws {RequiredError}
353
- */
354
- check_2: function (options) {
355
- return localVarFp.check_2(options).then(function (request) { return request(axios, basePath); });
356
- },
357
238
  };
358
239
  };
359
240
  exports.HealthCheckApiFactory = HealthCheckApiFactory;
@@ -391,29 +272,6 @@ var HealthCheckApi = /** @class */ (function (_super) {
391
272
  var _this = this;
392
273
  return (0, exports.HealthCheckApiFp)(this.configuration).check1(options).then(function (request) { return request(_this.axios, _this.basePath); });
393
274
  };
394
- /**
395
- * 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.
396
- * @summary Health Check
397
- * @param {*} [options] Override http request option.
398
- * @deprecated
399
- * @throws {RequiredError}
400
- * @memberof HealthCheckApi
401
- */
402
- HealthCheckApi.prototype.check1_1 = function (options) {
403
- var _this = this;
404
- return (0, exports.HealthCheckApiFp)(this.configuration).check1_1(options).then(function (request) { return request(_this.axios, _this.basePath); });
405
- };
406
- /**
407
- * 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.
408
- * @summary Health Check
409
- * @param {*} [options] Override http request option.
410
- * @throws {RequiredError}
411
- * @memberof HealthCheckApi
412
- */
413
- HealthCheckApi.prototype.check_2 = function (options) {
414
- var _this = this;
415
- return (0, exports.HealthCheckApiFp)(this.configuration).check_2(options).then(function (request) { return request(_this.axios, _this.basePath); });
416
- };
417
275
  return HealthCheckApi;
418
276
  }(base_1.BaseAPI));
419
277
  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
@@ -132,7 +132,6 @@ var Environment;
132
132
  Environment["Staging"] = "https://apiv2-staging.emil.de";
133
133
  Environment["Development"] = "https://apiv2-dev.emil.de";
134
134
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
135
- Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
136
135
  })(Environment = exports.Environment || (exports.Environment = {}));
137
136
  var _retry_count = 0;
138
137
  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
  * Applied amount of the calculation step.
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";
@@ -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
  * Applied amount of the calculation step.
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 = {
@@ -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-node",
3
- "version": "1.41.1-beta.11",
3
+ "version": "1.41.1-beta.12",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [