@emilgroup/claim-sdk 1.36.0 → 1.36.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.36.0 --save
20
+ npm install @emilgroup/claim-sdk@1.36.1-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk@1.36.0
24
+ yarn add @emilgroup/claim-sdk@1.36.1-beta.1
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -53,6 +53,38 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
53
53
 
54
54
 
55
55
 
56
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
57
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
59
+
60
+ return {
61
+ url: toPathString(localVarUrlObj),
62
+ options: localVarRequestOptions,
63
+ };
64
+ },
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.
67
+ * @summary Health Check
68
+ * @param {*} [options] Override http request option.
69
+ * @throws {RequiredError}
70
+ */
71
+ check_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
72
+ const localVarPath = `/v1/claims/health`;
73
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
74
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
75
+ let baseOptions;
76
+ let baseAccessToken;
77
+ if (configuration) {
78
+ baseOptions = configuration.baseOptions;
79
+ baseAccessToken = configuration.accessToken;
80
+ }
81
+
82
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
83
+ const localVarHeaderParameter = {} as any;
84
+ const localVarQueryParameter = {} as any;
85
+
86
+
87
+
56
88
  setSearchParams(localVarUrlObj, localVarQueryParameter);
57
89
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
58
90
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -82,6 +114,16 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
82
114
  const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
83
115
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
84
116
  },
117
+ /**
118
+ * 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.
119
+ * @summary Health Check
120
+ * @param {*} [options] Override http request option.
121
+ * @throws {RequiredError}
122
+ */
123
+ async check_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
124
+ const localVarAxiosArgs = await localVarAxiosParamCreator.check_1(options);
125
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
126
+ },
85
127
  }
86
128
  };
87
129
 
@@ -101,6 +143,15 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
101
143
  check(options?: any): AxiosPromise<InlineResponse200> {
102
144
  return localVarFp.check(options).then((request) => request(axios, basePath));
103
145
  },
146
+ /**
147
+ * 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.
148
+ * @summary Health Check
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ check_1(options?: any): AxiosPromise<InlineResponse200> {
153
+ return localVarFp.check_1(options).then((request) => request(axios, basePath));
154
+ },
104
155
  };
105
156
  };
106
157
 
@@ -121,4 +172,15 @@ export class HealthCheckApi extends BaseAPI {
121
172
  public check(options?: AxiosRequestConfig) {
122
173
  return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
123
174
  }
175
+
176
+ /**
177
+ * 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.
178
+ * @summary Health Check
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ * @memberof HealthCheckApi
182
+ */
183
+ public check_1(options?: AxiosRequestConfig) {
184
+ return HealthCheckApiFp(this.configuration).check_1(options).then((request) => request(this.axios, this.basePath));
185
+ }
124
186
  }
@@ -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
  }
@@ -122,6 +122,36 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
122
122
  });
123
123
  });
124
124
  },
125
+ /**
126
+ * 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.
127
+ * @summary Health Check
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ */
131
+ check_1: function (options) {
132
+ if (options === void 0) { options = {}; }
133
+ return __awaiter(_this, void 0, void 0, function () {
134
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
135
+ return __generator(this, function (_a) {
136
+ localVarPath = "/v1/claims/health";
137
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
138
+ if (configuration) {
139
+ baseOptions = configuration.baseOptions;
140
+ baseAccessToken = configuration.accessToken;
141
+ }
142
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
143
+ localVarHeaderParameter = {};
144
+ localVarQueryParameter = {};
145
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
146
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
147
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
148
+ return [2 /*return*/, {
149
+ url: (0, common_1.toPathString)(localVarUrlObj),
150
+ options: localVarRequestOptions,
151
+ }];
152
+ });
153
+ });
154
+ },
125
155
  };
126
156
  };
127
157
  exports.HealthCheckApiAxiosParamCreator = HealthCheckApiAxiosParamCreator;
@@ -151,6 +181,25 @@ var HealthCheckApiFp = function (configuration) {
151
181
  });
152
182
  });
153
183
  },
184
+ /**
185
+ * 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.
186
+ * @summary Health Check
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ check_1: function (options) {
191
+ return __awaiter(this, void 0, void 0, function () {
192
+ var localVarAxiosArgs;
193
+ return __generator(this, function (_a) {
194
+ switch (_a.label) {
195
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.check_1(options)];
196
+ case 1:
197
+ localVarAxiosArgs = _a.sent();
198
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
199
+ }
200
+ });
201
+ });
202
+ },
154
203
  };
155
204
  };
156
205
  exports.HealthCheckApiFp = HealthCheckApiFp;
@@ -170,6 +219,15 @@ var HealthCheckApiFactory = function (configuration, basePath, axios) {
170
219
  check: function (options) {
171
220
  return localVarFp.check(options).then(function (request) { return request(axios, basePath); });
172
221
  },
222
+ /**
223
+ * 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.
224
+ * @summary Health Check
225
+ * @param {*} [options] Override http request option.
226
+ * @throws {RequiredError}
227
+ */
228
+ check_1: function (options) {
229
+ return localVarFp.check_1(options).then(function (request) { return request(axios, basePath); });
230
+ },
173
231
  };
174
232
  };
175
233
  exports.HealthCheckApiFactory = HealthCheckApiFactory;
@@ -195,6 +253,17 @@ var HealthCheckApi = /** @class */ (function (_super) {
195
253
  var _this = this;
196
254
  return (0, exports.HealthCheckApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
197
255
  };
256
+ /**
257
+ * 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.
258
+ * @summary Health Check
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ * @memberof HealthCheckApi
262
+ */
263
+ HealthCheckApi.prototype.check_1 = function (options) {
264
+ var _this = this;
265
+ return (0, exports.HealthCheckApiFp)(this.configuration).check_1(options).then(function (request) { return request(_this.axios, _this.basePath); });
266
+ };
198
267
  return HealthCheckApi;
199
268
  }(base_1.BaseAPI));
200
269
  exports.HealthCheckApi = HealthCheckApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/claim-sdk",
3
- "version": "1.36.0",
3
+ "version": "1.36.1-beta.1",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [