@emilgroup/claim-sdk 1.43.1-beta.0 → 1.43.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.
@@ -36,8 +36,8 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
36
36
  * @param {*} [options] Override http request option.
37
37
  * @throws {RequiredError}
38
38
  */
39
- check0: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40
- const localVarPath = `/v1/claims/health`;
39
+ check: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40
+ const localVarPath = `/claimservice/v1/health`;
41
41
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42
42
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43
43
  let baseOptions;
@@ -63,12 +63,13 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
63
63
  };
64
64
  },
65
65
  /**
66
- * 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.
66
+ * 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.
67
67
  * @summary Health Check
68
68
  * @param {*} [options] Override http request option.
69
+ * @deprecated
69
70
  * @throws {RequiredError}
70
71
  */
71
- check0_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
72
+ check1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
72
73
  const localVarPath = `/v1/claims/health`;
73
74
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
74
75
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -95,13 +96,14 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
95
96
  };
96
97
  },
97
98
  /**
98
- * 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.
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.
99
100
  * @summary Health Check
100
101
  * @param {*} [options] Override http request option.
102
+ * @deprecated
101
103
  * @throws {RequiredError}
102
104
  */
103
- check1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
104
- const localVarPath = `/claimservice/v1/health`;
105
+ check1_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
106
+ const localVarPath = `/v1/claims/health`;
105
107
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
106
108
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
107
109
  let baseOptions;
@@ -132,7 +134,7 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
132
134
  * @param {*} [options] Override http request option.
133
135
  * @throws {RequiredError}
134
136
  */
135
- check1_2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
137
+ check_2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
136
138
  const localVarPath = `/claimservice/v1/health`;
137
139
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
138
140
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -174,28 +176,30 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
174
176
  * @param {*} [options] Override http request option.
175
177
  * @throws {RequiredError}
176
178
  */
177
- async check0(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
178
- const localVarAxiosArgs = await localVarAxiosParamCreator.check0(options);
179
+ async check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
180
+ const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
179
181
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
180
182
  },
181
183
  /**
182
- * 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.
184
+ * 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.
183
185
  * @summary Health Check
184
186
  * @param {*} [options] Override http request option.
187
+ * @deprecated
185
188
  * @throws {RequiredError}
186
189
  */
187
- async check0_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
188
- const localVarAxiosArgs = await localVarAxiosParamCreator.check0_1(options);
190
+ async check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
191
+ const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
189
192
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
190
193
  },
191
194
  /**
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.
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.
193
196
  * @summary Health Check
194
197
  * @param {*} [options] Override http request option.
198
+ * @deprecated
195
199
  * @throws {RequiredError}
196
200
  */
197
- async check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
198
- const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
201
+ async check1_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
202
+ const localVarAxiosArgs = await localVarAxiosParamCreator.check1_1(options);
199
203
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
200
204
  },
201
205
  /**
@@ -204,8 +208,8 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
204
208
  * @param {*} [options] Override http request option.
205
209
  * @throws {RequiredError}
206
210
  */
207
- async check1_2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
208
- const localVarAxiosArgs = await localVarAxiosParamCreator.check1_2(options);
211
+ async check_2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
212
+ const localVarAxiosArgs = await localVarAxiosParamCreator.check_2(options);
209
213
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
210
214
  },
211
215
  }
@@ -224,26 +228,28 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
224
228
  * @param {*} [options] Override http request option.
225
229
  * @throws {RequiredError}
226
230
  */
227
- check0(options?: any): AxiosPromise<InlineResponse200> {
228
- return localVarFp.check0(options).then((request) => request(axios, basePath));
231
+ check(options?: any): AxiosPromise<InlineResponse200> {
232
+ return localVarFp.check(options).then((request) => request(axios, basePath));
229
233
  },
230
234
  /**
231
- * 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.
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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
232
236
  * @summary Health Check
233
237
  * @param {*} [options] Override http request option.
238
+ * @deprecated
234
239
  * @throws {RequiredError}
235
240
  */
236
- check0_1(options?: any): AxiosPromise<InlineResponse200> {
237
- return localVarFp.check0_1(options).then((request) => request(axios, basePath));
241
+ check1(options?: any): AxiosPromise<InlineResponse200> {
242
+ return localVarFp.check1(options).then((request) => request(axios, basePath));
238
243
  },
239
244
  /**
240
- * 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.
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.
241
246
  * @summary Health Check
242
247
  * @param {*} [options] Override http request option.
248
+ * @deprecated
243
249
  * @throws {RequiredError}
244
250
  */
245
- check1(options?: any): AxiosPromise<InlineResponse200> {
246
- return localVarFp.check1(options).then((request) => request(axios, basePath));
251
+ check1_1(options?: any): AxiosPromise<InlineResponse200> {
252
+ return localVarFp.check1_1(options).then((request) => request(axios, basePath));
247
253
  },
248
254
  /**
249
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.
@@ -251,8 +257,8 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
251
257
  * @param {*} [options] Override http request option.
252
258
  * @throws {RequiredError}
253
259
  */
254
- check1_2(options?: any): AxiosPromise<InlineResponse200> {
255
- return localVarFp.check1_2(options).then((request) => request(axios, basePath));
260
+ check_2(options?: any): AxiosPromise<InlineResponse200> {
261
+ return localVarFp.check_2(options).then((request) => request(axios, basePath));
256
262
  },
257
263
  };
258
264
  };
@@ -271,30 +277,32 @@ export class HealthCheckApi extends BaseAPI {
271
277
  * @throws {RequiredError}
272
278
  * @memberof HealthCheckApi
273
279
  */
274
- public check0(options?: AxiosRequestConfig) {
275
- return HealthCheckApiFp(this.configuration).check0(options).then((request) => request(this.axios, this.basePath));
280
+ public check(options?: AxiosRequestConfig) {
281
+ return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
276
282
  }
277
283
 
278
284
  /**
279
- * 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.
285
+ * 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.
280
286
  * @summary Health Check
281
287
  * @param {*} [options] Override http request option.
288
+ * @deprecated
282
289
  * @throws {RequiredError}
283
290
  * @memberof HealthCheckApi
284
291
  */
285
- public check0_1(options?: AxiosRequestConfig) {
286
- return HealthCheckApiFp(this.configuration).check0_1(options).then((request) => request(this.axios, this.basePath));
292
+ public check1(options?: AxiosRequestConfig) {
293
+ return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
287
294
  }
288
295
 
289
296
  /**
290
- * 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.
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.
291
298
  * @summary Health Check
292
299
  * @param {*} [options] Override http request option.
300
+ * @deprecated
293
301
  * @throws {RequiredError}
294
302
  * @memberof HealthCheckApi
295
303
  */
296
- public check1(options?: AxiosRequestConfig) {
297
- return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
304
+ public check1_1(options?: AxiosRequestConfig) {
305
+ return HealthCheckApiFp(this.configuration).check1_1(options).then((request) => request(this.axios, this.basePath));
298
306
  }
299
307
 
300
308
  /**
@@ -304,7 +312,7 @@ export class HealthCheckApi extends BaseAPI {
304
312
  * @throws {RequiredError}
305
313
  * @memberof HealthCheckApi
306
314
  */
307
- public check1_2(options?: AxiosRequestConfig) {
308
- return HealthCheckApiFp(this.configuration).check1_2(options).then((request) => request(this.axios, this.basePath));
315
+ public check_2(options?: AxiosRequestConfig) {
316
+ return HealthCheckApiFp(this.configuration).check_2(options).then((request) => request(this.axios, this.basePath));
309
317
  }
310
318
  }