@emilgroup/claim-sdk-node 1.41.1-beta.0 → 1.41.1-beta.2
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 +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
package/api/health-check-api.ts
CHANGED
|
@@ -40,8 +40,8 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
|
|
|
40
40
|
* @param {*} [options] Override http request option.
|
|
41
41
|
* @throws {RequiredError}
|
|
42
42
|
*/
|
|
43
|
-
|
|
44
|
-
const localVarPath = `/v1/
|
|
43
|
+
check: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44
|
+
const localVarPath = `/claimservice/v1/health`;
|
|
45
45
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
46
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47
47
|
let baseOptions;
|
|
@@ -67,12 +67,13 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
|
|
|
67
67
|
};
|
|
68
68
|
},
|
|
69
69
|
/**
|
|
70
|
-
* 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.
|
|
70
|
+
* 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.
|
|
71
71
|
* @summary Health Check
|
|
72
72
|
* @param {*} [options] Override http request option.
|
|
73
|
+
* @deprecated
|
|
73
74
|
* @throws {RequiredError}
|
|
74
75
|
*/
|
|
75
|
-
|
|
76
|
+
check1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
76
77
|
const localVarPath = `/v1/claims/health`;
|
|
77
78
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
78
79
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -99,13 +100,14 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
|
|
|
99
100
|
};
|
|
100
101
|
},
|
|
101
102
|
/**
|
|
102
|
-
* 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.
|
|
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.
|
|
103
104
|
* @summary Health Check
|
|
104
105
|
* @param {*} [options] Override http request option.
|
|
106
|
+
* @deprecated
|
|
105
107
|
* @throws {RequiredError}
|
|
106
108
|
*/
|
|
107
|
-
|
|
108
|
-
const localVarPath = `/
|
|
109
|
+
check1_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
110
|
+
const localVarPath = `/v1/claims/health`;
|
|
109
111
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
110
112
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
111
113
|
let baseOptions;
|
|
@@ -136,7 +138,7 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
|
|
|
136
138
|
* @param {*} [options] Override http request option.
|
|
137
139
|
* @throws {RequiredError}
|
|
138
140
|
*/
|
|
139
|
-
|
|
141
|
+
check_2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140
142
|
const localVarPath = `/claimservice/v1/health`;
|
|
141
143
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
142
144
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -178,28 +180,30 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
|
|
|
178
180
|
* @param {*} [options] Override http request option.
|
|
179
181
|
* @throws {RequiredError}
|
|
180
182
|
*/
|
|
181
|
-
async
|
|
182
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
183
|
+
async check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
184
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
|
|
183
185
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
184
186
|
},
|
|
185
187
|
/**
|
|
186
|
-
* 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.
|
|
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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
187
189
|
* @summary Health Check
|
|
188
190
|
* @param {*} [options] Override http request option.
|
|
191
|
+
* @deprecated
|
|
189
192
|
* @throws {RequiredError}
|
|
190
193
|
*/
|
|
191
|
-
async
|
|
192
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
194
|
+
async check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
195
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
|
|
193
196
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
194
197
|
},
|
|
195
198
|
/**
|
|
196
|
-
* 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.
|
|
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.
|
|
197
200
|
* @summary Health Check
|
|
198
201
|
* @param {*} [options] Override http request option.
|
|
202
|
+
* @deprecated
|
|
199
203
|
* @throws {RequiredError}
|
|
200
204
|
*/
|
|
201
|
-
async
|
|
202
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
205
|
+
async check1_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
206
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check1_1(options);
|
|
203
207
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
204
208
|
},
|
|
205
209
|
/**
|
|
@@ -208,8 +212,8 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
|
|
|
208
212
|
* @param {*} [options] Override http request option.
|
|
209
213
|
* @throws {RequiredError}
|
|
210
214
|
*/
|
|
211
|
-
async
|
|
212
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
215
|
+
async check_2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
216
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check_2(options);
|
|
213
217
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
214
218
|
},
|
|
215
219
|
}
|
|
@@ -228,26 +232,28 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
228
232
|
* @param {*} [options] Override http request option.
|
|
229
233
|
* @throws {RequiredError}
|
|
230
234
|
*/
|
|
231
|
-
|
|
232
|
-
return localVarFp.
|
|
235
|
+
check(options?: any): AxiosPromise<InlineResponse200> {
|
|
236
|
+
return localVarFp.check(options).then((request) => request(axios, basePath));
|
|
233
237
|
},
|
|
234
238
|
/**
|
|
235
|
-
* 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.
|
|
239
|
+
* 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.
|
|
236
240
|
* @summary Health Check
|
|
237
241
|
* @param {*} [options] Override http request option.
|
|
242
|
+
* @deprecated
|
|
238
243
|
* @throws {RequiredError}
|
|
239
244
|
*/
|
|
240
|
-
|
|
241
|
-
return localVarFp.
|
|
245
|
+
check1(options?: any): AxiosPromise<InlineResponse200> {
|
|
246
|
+
return localVarFp.check1(options).then((request) => request(axios, basePath));
|
|
242
247
|
},
|
|
243
248
|
/**
|
|
244
|
-
* 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.
|
|
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.
|
|
245
250
|
* @summary Health Check
|
|
246
251
|
* @param {*} [options] Override http request option.
|
|
252
|
+
* @deprecated
|
|
247
253
|
* @throws {RequiredError}
|
|
248
254
|
*/
|
|
249
|
-
|
|
250
|
-
return localVarFp.
|
|
255
|
+
check1_1(options?: any): AxiosPromise<InlineResponse200> {
|
|
256
|
+
return localVarFp.check1_1(options).then((request) => request(axios, basePath));
|
|
251
257
|
},
|
|
252
258
|
/**
|
|
253
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.
|
|
@@ -255,8 +261,8 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
255
261
|
* @param {*} [options] Override http request option.
|
|
256
262
|
* @throws {RequiredError}
|
|
257
263
|
*/
|
|
258
|
-
|
|
259
|
-
return localVarFp.
|
|
264
|
+
check_2(options?: any): AxiosPromise<InlineResponse200> {
|
|
265
|
+
return localVarFp.check_2(options).then((request) => request(axios, basePath));
|
|
260
266
|
},
|
|
261
267
|
};
|
|
262
268
|
};
|
|
@@ -275,30 +281,32 @@ export class HealthCheckApi extends BaseAPI {
|
|
|
275
281
|
* @throws {RequiredError}
|
|
276
282
|
* @memberof HealthCheckApi
|
|
277
283
|
*/
|
|
278
|
-
public
|
|
279
|
-
return HealthCheckApiFp(this.configuration).
|
|
284
|
+
public check(options?: AxiosRequestConfig) {
|
|
285
|
+
return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
280
286
|
}
|
|
281
287
|
|
|
282
288
|
/**
|
|
283
|
-
* 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.
|
|
289
|
+
* 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.
|
|
284
290
|
* @summary Health Check
|
|
285
291
|
* @param {*} [options] Override http request option.
|
|
292
|
+
* @deprecated
|
|
286
293
|
* @throws {RequiredError}
|
|
287
294
|
* @memberof HealthCheckApi
|
|
288
295
|
*/
|
|
289
|
-
public
|
|
290
|
-
return HealthCheckApiFp(this.configuration).
|
|
296
|
+
public check1(options?: AxiosRequestConfig) {
|
|
297
|
+
return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
|
|
291
298
|
}
|
|
292
299
|
|
|
293
300
|
/**
|
|
294
|
-
* 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.
|
|
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.
|
|
295
302
|
* @summary Health Check
|
|
296
303
|
* @param {*} [options] Override http request option.
|
|
304
|
+
* @deprecated
|
|
297
305
|
* @throws {RequiredError}
|
|
298
306
|
* @memberof HealthCheckApi
|
|
299
307
|
*/
|
|
300
|
-
public
|
|
301
|
-
return HealthCheckApiFp(this.configuration).
|
|
308
|
+
public check1_1(options?: AxiosRequestConfig) {
|
|
309
|
+
return HealthCheckApiFp(this.configuration).check1_1(options).then((request) => request(this.axios, this.basePath));
|
|
302
310
|
}
|
|
303
311
|
|
|
304
312
|
/**
|
|
@@ -308,7 +316,7 @@ export class HealthCheckApi extends BaseAPI {
|
|
|
308
316
|
* @throws {RequiredError}
|
|
309
317
|
* @memberof HealthCheckApi
|
|
310
318
|
*/
|
|
311
|
-
public
|
|
312
|
-
return HealthCheckApiFp(this.configuration).
|
|
319
|
+
public check_2(options?: AxiosRequestConfig) {
|
|
320
|
+
return HealthCheckApiFp(this.configuration).check_2(options).then((request) => request(this.axios, this.basePath));
|
|
313
321
|
}
|
|
314
322
|
}
|