@emilgroup/claim-sdk-node 1.35.0 → 1.35.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.35.0 --save
20
+ npm install @emilgroup/claim-sdk-node@1.35.1-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk-node@1.35.0
24
+ yarn add @emilgroup/claim-sdk-node@1.35.1-beta.1
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -57,6 +57,38 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
57
57
 
58
58
 
59
59
 
60
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
61
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63
+
64
+ return {
65
+ url: toPathString(localVarUrlObj),
66
+ options: localVarRequestOptions,
67
+ };
68
+ },
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.
71
+ * @summary Health Check
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ check_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
76
+ const localVarPath = `/v1/claims/health`;
77
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
78
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
79
+ let baseOptions;
80
+ let baseAccessToken;
81
+ if (configuration) {
82
+ baseOptions = configuration.baseOptions;
83
+ baseAccessToken = configuration.accessToken;
84
+ }
85
+
86
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
87
+ const localVarHeaderParameter = {} as any;
88
+ const localVarQueryParameter = {} as any;
89
+
90
+
91
+
60
92
  setSearchParams(localVarUrlObj, localVarQueryParameter);
61
93
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62
94
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -86,6 +118,16 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
86
118
  const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
87
119
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
88
120
  },
121
+ /**
122
+ * 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.
123
+ * @summary Health Check
124
+ * @param {*} [options] Override http request option.
125
+ * @throws {RequiredError}
126
+ */
127
+ async check_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
128
+ const localVarAxiosArgs = await localVarAxiosParamCreator.check_1(options);
129
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
130
+ },
89
131
  }
90
132
  };
91
133
 
@@ -105,6 +147,15 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
105
147
  check(options?: any): AxiosPromise<InlineResponse200> {
106
148
  return localVarFp.check(options).then((request) => request(axios, basePath));
107
149
  },
150
+ /**
151
+ * 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.
152
+ * @summary Health Check
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ check_1(options?: any): AxiosPromise<InlineResponse200> {
157
+ return localVarFp.check_1(options).then((request) => request(axios, basePath));
158
+ },
108
159
  };
109
160
  };
110
161
 
@@ -125,4 +176,15 @@ export class HealthCheckApi extends BaseAPI {
125
176
  public check(options?: AxiosRequestConfig) {
126
177
  return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
127
178
  }
179
+
180
+ /**
181
+ * 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.
182
+ * @summary Health Check
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ * @memberof HealthCheckApi
186
+ */
187
+ public check_1(options?: AxiosRequestConfig) {
188
+ return HealthCheckApiFp(this.configuration).check_1(options).then((request) => request(this.axios, this.basePath));
189
+ }
128
190
  }
@@ -25,6 +25,13 @@ export declare const HealthCheckApiAxiosParamCreator: (configuration?: Configura
25
25
  * @throws {RequiredError}
26
26
  */
27
27
  check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ /**
29
+ * 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.
30
+ * @summary Health Check
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ check_1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
35
  };
29
36
  /**
30
37
  * HealthCheckApi - functional programming interface
@@ -38,6 +45,13 @@ export declare const HealthCheckApiFp: (configuration?: Configuration) => {
38
45
  * @throws {RequiredError}
39
46
  */
40
47
  check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
48
+ /**
49
+ * 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.
50
+ * @summary Health Check
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ check_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
41
55
  };
42
56
  /**
43
57
  * HealthCheckApi - factory interface
@@ -51,6 +65,13 @@ export declare const HealthCheckApiFactory: (configuration?: Configuration, base
51
65
  * @throws {RequiredError}
52
66
  */
53
67
  check(options?: any): AxiosPromise<InlineResponse200>;
68
+ /**
69
+ * 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
+ * @summary Health Check
71
+ * @param {*} [options] Override http request option.
72
+ * @throws {RequiredError}
73
+ */
74
+ check_1(options?: any): AxiosPromise<InlineResponse200>;
54
75
  };
55
76
  /**
56
77
  * HealthCheckApi - object-oriented interface
@@ -67,4 +88,12 @@ export declare class HealthCheckApi extends BaseAPI {
67
88
  * @memberof HealthCheckApi
68
89
  */
69
90
  check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
91
+ /**
92
+ * 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.
93
+ * @summary Health Check
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ * @memberof HealthCheckApi
97
+ */
98
+ check_1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
70
99
  }
@@ -126,6 +126,36 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
126
126
  });
127
127
  });
128
128
  },
129
+ /**
130
+ * 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.
131
+ * @summary Health Check
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ check_1: function (options) {
136
+ if (options === void 0) { options = {}; }
137
+ return __awaiter(_this, void 0, void 0, function () {
138
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
139
+ return __generator(this, function (_a) {
140
+ localVarPath = "/v1/claims/health";
141
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
142
+ if (configuration) {
143
+ baseOptions = configuration.baseOptions;
144
+ baseAccessToken = configuration.accessToken;
145
+ }
146
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
147
+ localVarHeaderParameter = {};
148
+ localVarQueryParameter = {};
149
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
150
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
151
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
152
+ return [2 /*return*/, {
153
+ url: (0, common_1.toPathString)(localVarUrlObj),
154
+ options: localVarRequestOptions,
155
+ }];
156
+ });
157
+ });
158
+ },
129
159
  };
130
160
  };
131
161
  exports.HealthCheckApiAxiosParamCreator = HealthCheckApiAxiosParamCreator;
@@ -155,6 +185,25 @@ var HealthCheckApiFp = function (configuration) {
155
185
  });
156
186
  });
157
187
  },
188
+ /**
189
+ * 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.
190
+ * @summary Health Check
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ check_1: function (options) {
195
+ return __awaiter(this, void 0, void 0, function () {
196
+ var localVarAxiosArgs;
197
+ return __generator(this, function (_a) {
198
+ switch (_a.label) {
199
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.check_1(options)];
200
+ case 1:
201
+ localVarAxiosArgs = _a.sent();
202
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
203
+ }
204
+ });
205
+ });
206
+ },
158
207
  };
159
208
  };
160
209
  exports.HealthCheckApiFp = HealthCheckApiFp;
@@ -174,6 +223,15 @@ var HealthCheckApiFactory = function (configuration, basePath, axios) {
174
223
  check: function (options) {
175
224
  return localVarFp.check(options).then(function (request) { return request(axios, basePath); });
176
225
  },
226
+ /**
227
+ * 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.
228
+ * @summary Health Check
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ check_1: function (options) {
233
+ return localVarFp.check_1(options).then(function (request) { return request(axios, basePath); });
234
+ },
177
235
  };
178
236
  };
179
237
  exports.HealthCheckApiFactory = HealthCheckApiFactory;
@@ -199,6 +257,17 @@ var HealthCheckApi = /** @class */ (function (_super) {
199
257
  var _this = this;
200
258
  return (0, exports.HealthCheckApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
201
259
  };
260
+ /**
261
+ * 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.
262
+ * @summary Health Check
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ * @memberof HealthCheckApi
266
+ */
267
+ HealthCheckApi.prototype.check_1 = function (options) {
268
+ var _this = this;
269
+ return (0, exports.HealthCheckApiFp)(this.configuration).check_1(options).then(function (request) { return request(_this.axios, _this.basePath); });
270
+ };
202
271
  return HealthCheckApi;
203
272
  }(base_1.BaseAPI));
204
273
  exports.HealthCheckApi = HealthCheckApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/claim-sdk-node",
3
- "version": "1.35.0",
3
+ "version": "1.35.1-beta.1",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [