@emilgroup/claim-sdk 1.36.1-beta.2 → 1.36.1-beta.3
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/health-check-api.ts +0 -62
- package/dist/api/health-check-api.d.ts +0 -29
- package/dist/api/health-check-api.js +0 -69
- package/package.json +1 -1
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.1-beta.
|
|
20
|
+
npm install @emilgroup/claim-sdk@1.36.1-beta.3 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk@1.36.1-beta.
|
|
24
|
+
yarn add @emilgroup/claim-sdk@1.36.1-beta.3
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
package/api/health-check-api.ts
CHANGED
|
@@ -53,38 +53,6 @@ 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
|
-
|
|
88
56
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
89
57
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
58
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -114,16 +82,6 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
|
|
|
114
82
|
const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
|
|
115
83
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
116
84
|
},
|
|
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
|
-
},
|
|
127
85
|
}
|
|
128
86
|
};
|
|
129
87
|
|
|
@@ -143,15 +101,6 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
143
101
|
check(options?: any): AxiosPromise<InlineResponse200> {
|
|
144
102
|
return localVarFp.check(options).then((request) => request(axios, basePath));
|
|
145
103
|
},
|
|
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
|
-
},
|
|
155
104
|
};
|
|
156
105
|
};
|
|
157
106
|
|
|
@@ -172,15 +121,4 @@ export class HealthCheckApi extends BaseAPI {
|
|
|
172
121
|
public check(options?: AxiosRequestConfig) {
|
|
173
122
|
return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
174
123
|
}
|
|
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
|
-
}
|
|
186
124
|
}
|
|
@@ -25,13 +25,6 @@ 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>;
|
|
35
28
|
};
|
|
36
29
|
/**
|
|
37
30
|
* HealthCheckApi - functional programming interface
|
|
@@ -45,13 +38,6 @@ export declare const HealthCheckApiFp: (configuration?: Configuration) => {
|
|
|
45
38
|
* @throws {RequiredError}
|
|
46
39
|
*/
|
|
47
40
|
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>>;
|
|
55
41
|
};
|
|
56
42
|
/**
|
|
57
43
|
* HealthCheckApi - factory interface
|
|
@@ -65,13 +51,6 @@ export declare const HealthCheckApiFactory: (configuration?: Configuration, base
|
|
|
65
51
|
* @throws {RequiredError}
|
|
66
52
|
*/
|
|
67
53
|
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>;
|
|
75
54
|
};
|
|
76
55
|
/**
|
|
77
56
|
* HealthCheckApi - object-oriented interface
|
|
@@ -88,12 +67,4 @@ export declare class HealthCheckApi extends BaseAPI {
|
|
|
88
67
|
* @memberof HealthCheckApi
|
|
89
68
|
*/
|
|
90
69
|
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>>;
|
|
99
70
|
}
|
|
@@ -122,36 +122,6 @@ 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
|
-
},
|
|
155
125
|
};
|
|
156
126
|
};
|
|
157
127
|
exports.HealthCheckApiAxiosParamCreator = HealthCheckApiAxiosParamCreator;
|
|
@@ -181,25 +151,6 @@ var HealthCheckApiFp = function (configuration) {
|
|
|
181
151
|
});
|
|
182
152
|
});
|
|
183
153
|
},
|
|
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
|
-
},
|
|
203
154
|
};
|
|
204
155
|
};
|
|
205
156
|
exports.HealthCheckApiFp = HealthCheckApiFp;
|
|
@@ -219,15 +170,6 @@ var HealthCheckApiFactory = function (configuration, basePath, axios) {
|
|
|
219
170
|
check: function (options) {
|
|
220
171
|
return localVarFp.check(options).then(function (request) { return request(axios, basePath); });
|
|
221
172
|
},
|
|
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
|
-
},
|
|
231
173
|
};
|
|
232
174
|
};
|
|
233
175
|
exports.HealthCheckApiFactory = HealthCheckApiFactory;
|
|
@@ -253,17 +195,6 @@ var HealthCheckApi = /** @class */ (function (_super) {
|
|
|
253
195
|
var _this = this;
|
|
254
196
|
return (0, exports.HealthCheckApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
255
197
|
};
|
|
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
|
-
};
|
|
267
198
|
return HealthCheckApi;
|
|
268
199
|
}(base_1.BaseAPI));
|
|
269
200
|
exports.HealthCheckApi = HealthCheckApi;
|