@emilgroup/claim-sdk-node 1.41.0 → 1.41.1-beta.1

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.0 --save
20
+ npm install @emilgroup/claim-sdk-node@1.41.1-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk-node@1.41.0
24
+ yarn add @emilgroup/claim-sdk-node@1.41.1-beta.1
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -90,6 +90,71 @@ 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
+
93
158
  setSearchParams(localVarUrlObj, localVarQueryParameter);
94
159
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
95
160
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -130,6 +195,27 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
130
195
  const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
131
196
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
132
197
  },
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
+ },
133
219
  }
134
220
  };
135
221
 
@@ -159,6 +245,25 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
159
245
  check1(options?: any): AxiosPromise<InlineResponse200> {
160
246
  return localVarFp.check1(options).then((request) => request(axios, basePath));
161
247
  },
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
+ },
162
267
  };
163
268
  };
164
269
 
@@ -191,4 +296,27 @@ export class HealthCheckApi extends BaseAPI {
191
296
  public check1(options?: AxiosRequestConfig) {
192
297
  return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
193
298
  }
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
+ }
194
322
  }
@@ -33,6 +33,21 @@ 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>;
36
51
  };
37
52
  /**
38
53
  * HealthCheckApi - functional programming interface
@@ -54,6 +69,21 @@ export declare const HealthCheckApiFp: (configuration?: Configuration) => {
54
69
  * @throws {RequiredError}
55
70
  */
56
71
  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>>;
57
87
  };
58
88
  /**
59
89
  * HealthCheckApi - factory interface
@@ -75,6 +105,21 @@ export declare const HealthCheckApiFactory: (configuration?: Configuration, base
75
105
  * @throws {RequiredError}
76
106
  */
77
107
  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>;
78
123
  };
79
124
  /**
80
125
  * HealthCheckApi - object-oriented interface
@@ -100,4 +145,21 @@ export declare class HealthCheckApi extends BaseAPI {
100
145
  * @memberof HealthCheckApi
101
146
  */
102
147
  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, {}>>;
103
165
  }
@@ -157,6 +157,67 @@ 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
+ },
160
221
  };
161
222
  };
162
223
  exports.HealthCheckApiAxiosParamCreator = HealthCheckApiAxiosParamCreator;
@@ -206,6 +267,45 @@ var HealthCheckApiFp = function (configuration) {
206
267
  });
207
268
  });
208
269
  },
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
+ },
209
309
  };
210
310
  };
211
311
  exports.HealthCheckApiFp = HealthCheckApiFp;
@@ -235,6 +335,25 @@ var HealthCheckApiFactory = function (configuration, basePath, axios) {
235
335
  check1: function (options) {
236
336
  return localVarFp.check1(options).then(function (request) { return request(axios, basePath); });
237
337
  },
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
+ },
238
357
  };
239
358
  };
240
359
  exports.HealthCheckApiFactory = HealthCheckApiFactory;
@@ -272,6 +391,29 @@ var HealthCheckApi = /** @class */ (function (_super) {
272
391
  var _this = this;
273
392
  return (0, exports.HealthCheckApiFp)(this.configuration).check1(options).then(function (request) { return request(_this.axios, _this.basePath); });
274
393
  };
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
+ };
275
417
  return HealthCheckApi;
276
418
  }(base_1.BaseAPI));
277
419
  exports.HealthCheckApi = HealthCheckApi;
@@ -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,12 +16,6 @@ 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>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
@@ -40,4 +34,10 @@ export interface ListClaimLimitUsagesResponseClass {
40
34
  * @memberof ListClaimLimitUsagesResponseClass
41
35
  */
42
36
  'itemsPerPage': number;
37
+ /**
38
+ * List of claim limit usages
39
+ * @type {Array<ClaimLimitUsageClass>}
40
+ * @memberof ListClaimLimitUsagesResponseClass
41
+ */
42
+ 'items': Array<ClaimLimitUsageClass>;
43
43
  }
@@ -16,12 +16,6 @@ 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>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
@@ -40,4 +34,10 @@ export interface ListClaimPartnerRolesResponseClass {
40
34
  * @memberof ListClaimPartnerRolesResponseClass
41
35
  */
42
36
  '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,12 +16,6 @@ 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>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
@@ -40,4 +34,10 @@ export interface ListClaimPartnersResponseClass {
40
34
  * @memberof ListClaimPartnersResponseClass
41
35
  */
42
36
  'itemsPerPage': number;
37
+ /**
38
+ * The list of claim partners.
39
+ * @type {Array<ClaimPartnerClass>}
40
+ * @memberof ListClaimPartnersResponseClass
41
+ */
42
+ 'items': Array<ClaimPartnerClass>;
43
43
  }
@@ -16,12 +16,6 @@ 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>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
@@ -40,4 +34,10 @@ export interface ListClaimPositionsResponseClass {
40
34
  * @memberof ListClaimPositionsResponseClass
41
35
  */
42
36
  'itemsPerPage': number;
37
+ /**
38
+ * The claim positions.
39
+ * @type {Array<ClaimPositionClass>}
40
+ * @memberof ListClaimPositionsResponseClass
41
+ */
42
+ 'items': Array<ClaimPositionClass>;
43
43
  }
@@ -16,12 +16,6 @@ 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>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
@@ -40,4 +34,10 @@ export interface ListClaimStatusesResponseClass {
40
34
  * @memberof ListClaimStatusesResponseClass
41
35
  */
42
36
  'itemsPerPage': number;
37
+ /**
38
+ * The list of claim statusess.
39
+ * @type {Array<ClaimStatusClass>}
40
+ * @memberof ListClaimStatusesResponseClass
41
+ */
42
+ 'items': Array<ClaimStatusClass>;
43
43
  }
@@ -16,12 +16,6 @@ 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>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
@@ -40,4 +34,10 @@ export interface ListClaimsResponseClass {
40
34
  * @memberof ListClaimsResponseClass
41
35
  */
42
36
  'itemsPerPage': number;
37
+ /**
38
+ * The list of claims.
39
+ * @type {Array<ClaimClass>}
40
+ * @memberof ListClaimsResponseClass
41
+ */
42
+ 'items': Array<ClaimClass>;
43
43
  }
@@ -16,12 +16,6 @@ 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>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
@@ -40,4 +34,10 @@ export interface ListRegulationsResponseClass {
40
34
  * @memberof ListRegulationsResponseClass
41
35
  */
42
36
  'itemsPerPage': number;
37
+ /**
38
+ * The list of claim regulations.
39
+ * @type {Array<RegulationItemClass>}
40
+ * @memberof ListRegulationsResponseClass
41
+ */
42
+ 'items': Array<RegulationItemClass>;
43
43
  }
@@ -16,16 +16,28 @@ import { SettlementClass } from './settlement-class';
16
16
  * @interface ListSettlementsResponseClass
17
17
  */
18
18
  export interface ListSettlementsResponseClass {
19
- /**
20
- * The list of settlements.
21
- * @type {Array<SettlementClass>}
22
- * @memberof ListSettlementsResponseClass
23
- */
24
- 'items': Array<SettlementClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListSettlementsResponseClass
29
23
  */
30
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
+ /**
38
+ * The list of settlements.
39
+ * @type {Array<SettlementClass>}
40
+ * @memberof ListSettlementsResponseClass
41
+ */
42
+ 'items': Array<SettlementClass>;
31
43
  }
@@ -77,10 +77,12 @@ 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 {object}
80
+ * @type {{ [key: string]: object; }}
81
81
  * @memberof PayoutDetailsClass
82
82
  */
83
- 'customFields'?: object;
83
+ 'customFields'?: {
84
+ [key: string]: object;
85
+ };
84
86
  /**
85
87
  * Date on which the payout took place or scheduled to take place.
86
88
  * @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,12 +21,6 @@ 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>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
@@ -45,5 +39,11 @@ export interface ListClaimLimitUsagesResponseClass {
45
39
  * @memberof ListClaimLimitUsagesResponseClass
46
40
  */
47
41
  '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,12 +21,6 @@ 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>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
@@ -45,5 +39,11 @@ export interface ListClaimPartnerRolesResponseClass {
45
39
  * @memberof ListClaimPartnerRolesResponseClass
46
40
  */
47
41
  '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,12 +21,6 @@ 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>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
@@ -45,5 +39,11 @@ export interface ListClaimPartnersResponseClass {
45
39
  * @memberof ListClaimPartnersResponseClass
46
40
  */
47
41
  '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,12 +21,6 @@ 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>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
@@ -45,5 +39,11 @@ export interface ListClaimPositionsResponseClass {
45
39
  * @memberof ListClaimPositionsResponseClass
46
40
  */
47
41
  'itemsPerPage': number;
42
+ /**
43
+ * The claim positions.
44
+ * @type {Array<ClaimPositionClass>}
45
+ * @memberof ListClaimPositionsResponseClass
46
+ */
47
+ 'items': Array<ClaimPositionClass>;
48
48
  }
49
49
 
@@ -21,12 +21,6 @@ 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>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
@@ -45,5 +39,11 @@ export interface ListClaimStatusesResponseClass {
45
39
  * @memberof ListClaimStatusesResponseClass
46
40
  */
47
41
  '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,12 +21,6 @@ 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>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
@@ -45,5 +39,11 @@ export interface ListClaimsResponseClass {
45
39
  * @memberof ListClaimsResponseClass
46
40
  */
47
41
  '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,12 +21,6 @@ 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>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
@@ -45,5 +39,11 @@ export interface ListRegulationsResponseClass {
45
39
  * @memberof ListRegulationsResponseClass
46
40
  */
47
41
  '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,17 +21,29 @@ import { SettlementClass } from './settlement-class';
21
21
  * @interface ListSettlementsResponseClass
22
22
  */
23
23
  export interface ListSettlementsResponseClass {
24
- /**
25
- * The list of settlements.
26
- * @type {Array<SettlementClass>}
27
- * @memberof ListSettlementsResponseClass
28
- */
29
- 'items': Array<SettlementClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListSettlementsResponseClass
34
28
  */
35
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
+ /**
43
+ * The list of settlements.
44
+ * @type {Array<SettlementClass>}
45
+ * @memberof ListSettlementsResponseClass
46
+ */
47
+ 'items': Array<SettlementClass>;
36
48
  }
37
49
 
@@ -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 {object}
85
+ * @type {{ [key: string]: object; }}
86
86
  * @memberof PayoutDetailsClass
87
87
  */
88
- 'customFields'?: object;
88
+ 'customFields'?: { [key: string]: 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.0",
3
+ "version": "1.41.1-beta.1",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [