@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.
@@ -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
- check0: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44
- const localVarPath = `/v1/claims/health`;
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
- check0_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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
- check1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
108
- const localVarPath = `/claimservice/v1/health`;
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
- check1_2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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 check0(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
182
- const localVarAxiosArgs = await localVarAxiosParamCreator.check0(options);
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 check0_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
192
- const localVarAxiosArgs = await localVarAxiosParamCreator.check0_1(options);
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 check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
202
- const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
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 check1_2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
212
- const localVarAxiosArgs = await localVarAxiosParamCreator.check1_2(options);
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
- check0(options?: any): AxiosPromise<InlineResponse200> {
232
- return localVarFp.check0(options).then((request) => request(axios, basePath));
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
- check0_1(options?: any): AxiosPromise<InlineResponse200> {
241
- return localVarFp.check0_1(options).then((request) => request(axios, basePath));
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
- check1(options?: any): AxiosPromise<InlineResponse200> {
250
- return localVarFp.check1(options).then((request) => request(axios, basePath));
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
- check1_2(options?: any): AxiosPromise<InlineResponse200> {
259
- return localVarFp.check1_2(options).then((request) => request(axios, basePath));
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 check0(options?: AxiosRequestConfig) {
279
- return HealthCheckApiFp(this.configuration).check0(options).then((request) => request(this.axios, this.basePath));
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 check0_1(options?: AxiosRequestConfig) {
290
- return HealthCheckApiFp(this.configuration).check0_1(options).then((request) => request(this.axios, this.basePath));
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 check1(options?: AxiosRequestConfig) {
301
- return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
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 check1_2(options?: AxiosRequestConfig) {
312
- return HealthCheckApiFp(this.configuration).check1_2(options).then((request) => request(this.axios, this.basePath));
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
  }