@emilgroup/claim-sdk 1.43.0 → 1.43.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@1.43.0 --save
20
+ npm install @emilgroup/claim-sdk@1.43.1-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk@1.43.0
24
+ yarn add @emilgroup/claim-sdk@1.43.1-beta.1
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -86,6 +86,71 @@ 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
+
89
154
  setSearchParams(localVarUrlObj, localVarQueryParameter);
90
155
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
91
156
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -126,6 +191,27 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
126
191
  const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
127
192
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
128
193
  },
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
+ },
129
215
  }
130
216
  };
131
217
 
@@ -155,6 +241,25 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
155
241
  check1(options?: any): AxiosPromise<InlineResponse200> {
156
242
  return localVarFp.check1(options).then((request) => request(axios, basePath));
157
243
  },
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
+ },
158
263
  };
159
264
  };
160
265
 
@@ -187,4 +292,27 @@ export class HealthCheckApi extends BaseAPI {
187
292
  public check1(options?: AxiosRequestConfig) {
188
293
  return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
189
294
  }
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
+ }
190
318
  }
@@ -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
  }
@@ -153,6 +153,67 @@ 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
+ },
156
217
  };
157
218
  };
158
219
  exports.HealthCheckApiAxiosParamCreator = HealthCheckApiAxiosParamCreator;
@@ -202,6 +263,45 @@ var HealthCheckApiFp = function (configuration) {
202
263
  });
203
264
  });
204
265
  },
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
+ },
205
305
  };
206
306
  };
207
307
  exports.HealthCheckApiFp = HealthCheckApiFp;
@@ -231,6 +331,25 @@ var HealthCheckApiFactory = function (configuration, basePath, axios) {
231
331
  check1: function (options) {
232
332
  return localVarFp.check1(options).then(function (request) { return request(axios, basePath); });
233
333
  },
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
+ },
234
353
  };
235
354
  };
236
355
  exports.HealthCheckApiFactory = HealthCheckApiFactory;
@@ -268,6 +387,29 @@ var HealthCheckApi = /** @class */ (function (_super) {
268
387
  var _this = this;
269
388
  return (0, exports.HealthCheckApiFp)(this.configuration).check1(options).then(function (request) { return request(_this.axios, _this.basePath); });
270
389
  };
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
+ };
271
413
  return HealthCheckApi;
272
414
  }(base_1.BaseAPI));
273
415
  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",
3
- "version": "1.43.0",
3
+ "version": "1.43.1-beta.1",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [