@emilgroup/claim-sdk-node 1.41.0 → 1.41.1-beta.0
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/claim-limit-usages-api.ts +45 -53
- package/api/claim-partner-roles-api.ts +107 -127
- package/api/claim-partners-api.ts +87 -103
- package/api/claim-positions-api.ts +153 -181
- package/api/claim-regulations-api.ts +108 -128
- package/api/claim-statuses-api.ts +129 -153
- package/api/claims-api.ts +149 -177
- package/api/health-check-api.ts +137 -17
- package/api/settlements-api.ts +107 -127
- package/dist/api/claim-limit-usages-api.d.ts +34 -42
- package/dist/api/claim-limit-usages-api.js +29 -37
- package/dist/api/claim-partner-roles-api.d.ts +77 -97
- package/dist/api/claim-partner-roles-api.js +75 -95
- package/dist/api/claim-partners-api.d.ts +63 -79
- package/dist/api/claim-partners-api.js +60 -76
- package/dist/api/claim-positions-api.d.ts +108 -136
- package/dist/api/claim-positions-api.js +108 -136
- package/dist/api/claim-regulations-api.d.ts +78 -98
- package/dist/api/claim-regulations-api.js +75 -95
- package/dist/api/claim-statuses-api.d.ts +92 -116
- package/dist/api/claim-statuses-api.js +91 -115
- package/dist/api/claims-api.d.ts +106 -134
- package/dist/api/claims-api.js +106 -134
- package/dist/api/health-check-api.d.ts +66 -12
- package/dist/api/health-check-api.js +151 -17
- package/dist/api/settlements-api.d.ts +77 -97
- package/dist/api/settlements-api.js +75 -95
- package/dist/models/calculation-step-result-class.d.ts +3 -3
- package/dist/models/list-claim-limit-usages-response-class.d.ts +6 -6
- package/dist/models/list-claim-partner-roles-response-class.d.ts +6 -6
- package/dist/models/list-claim-partners-response-class.d.ts +6 -6
- package/dist/models/list-claim-positions-response-class.d.ts +6 -6
- package/dist/models/list-claim-statuses-response-class.d.ts +6 -6
- package/dist/models/list-claims-response-class.d.ts +6 -6
- package/dist/models/list-regulations-response-class.d.ts +6 -6
- package/dist/models/list-settlements-response-class.d.ts +18 -6
- package/dist/models/payout-details-class.d.ts +4 -2
- package/models/calculation-step-result-class.ts +3 -3
- package/models/list-claim-limit-usages-response-class.ts +6 -6
- package/models/list-claim-partner-roles-response-class.ts +6 -6
- package/models/list-claim-partners-response-class.ts +6 -6
- package/models/list-claim-positions-response-class.ts +6 -6
- package/models/list-claim-statuses-response-class.ts +6 -6
- package/models/list-claims-response-class.ts +6 -6
- package/models/list-regulations-response-class.ts +6 -6
- package/models/list-settlements-response-class.ts +18 -6
- package/models/payout-details-class.ts +2 -2
- package/package.json +1 -1
package/api/health-check-api.ts
CHANGED
|
@@ -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
|
-
|
|
44
|
-
const localVarPath = `/
|
|
43
|
+
check0: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44
|
+
const localVarPath = `/v1/claims/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,13 +67,12 @@ 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.
|
|
71
71
|
* @summary Health Check
|
|
72
72
|
* @param {*} [options] Override http request option.
|
|
73
|
-
* @deprecated
|
|
74
73
|
* @throws {RequiredError}
|
|
75
74
|
*/
|
|
76
|
-
|
|
75
|
+
check0_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
77
76
|
const localVarPath = `/v1/claims/health`;
|
|
78
77
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
79
78
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -90,6 +89,70 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
|
|
|
90
89
|
|
|
91
90
|
|
|
92
91
|
|
|
92
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
95
|
+
|
|
96
|
+
return {
|
|
97
|
+
url: toPathString(localVarUrlObj),
|
|
98
|
+
options: localVarRequestOptions,
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
/**
|
|
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
|
+
* @summary Health Check
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
check1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108
|
+
const localVarPath = `/claimservice/v1/health`;
|
|
109
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
110
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
111
|
+
let baseOptions;
|
|
112
|
+
let baseAccessToken;
|
|
113
|
+
if (configuration) {
|
|
114
|
+
baseOptions = configuration.baseOptions;
|
|
115
|
+
baseAccessToken = configuration.accessToken;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
119
|
+
const localVarHeaderParameter = {} as any;
|
|
120
|
+
const localVarQueryParameter = {} as any;
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
125
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
127
|
+
|
|
128
|
+
return {
|
|
129
|
+
url: toPathString(localVarUrlObj),
|
|
130
|
+
options: localVarRequestOptions,
|
|
131
|
+
};
|
|
132
|
+
},
|
|
133
|
+
/**
|
|
134
|
+
* 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.
|
|
135
|
+
* @summary Health Check
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
check1_2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140
|
+
const localVarPath = `/claimservice/v1/health`;
|
|
141
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
142
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
143
|
+
let baseOptions;
|
|
144
|
+
let baseAccessToken;
|
|
145
|
+
if (configuration) {
|
|
146
|
+
baseOptions = configuration.baseOptions;
|
|
147
|
+
baseAccessToken = configuration.accessToken;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
151
|
+
const localVarHeaderParameter = {} as any;
|
|
152
|
+
const localVarQueryParameter = {} as any;
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
93
156
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
94
157
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
95
158
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -115,21 +178,40 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
|
|
|
115
178
|
* @param {*} [options] Override http request option.
|
|
116
179
|
* @throws {RequiredError}
|
|
117
180
|
*/
|
|
118
|
-
async
|
|
119
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
181
|
+
async check0(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
182
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check0(options);
|
|
183
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
184
|
+
},
|
|
185
|
+
/**
|
|
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.
|
|
187
|
+
* @summary Health Check
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
async check0_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
192
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check0_1(options);
|
|
120
193
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
121
194
|
},
|
|
122
195
|
/**
|
|
123
|
-
* 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.
|
|
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.
|
|
124
197
|
* @summary Health Check
|
|
125
198
|
* @param {*} [options] Override http request option.
|
|
126
|
-
* @deprecated
|
|
127
199
|
* @throws {RequiredError}
|
|
128
200
|
*/
|
|
129
201
|
async check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
130
202
|
const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
|
|
131
203
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
132
204
|
},
|
|
205
|
+
/**
|
|
206
|
+
* 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.
|
|
207
|
+
* @summary Health Check
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
async check1_2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
212
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check1_2(options);
|
|
213
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
214
|
+
},
|
|
133
215
|
}
|
|
134
216
|
};
|
|
135
217
|
|
|
@@ -146,19 +228,36 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
146
228
|
* @param {*} [options] Override http request option.
|
|
147
229
|
* @throws {RequiredError}
|
|
148
230
|
*/
|
|
149
|
-
|
|
150
|
-
return localVarFp.
|
|
231
|
+
check0(options?: any): AxiosPromise<InlineResponse200> {
|
|
232
|
+
return localVarFp.check0(options).then((request) => request(axios, basePath));
|
|
151
233
|
},
|
|
152
234
|
/**
|
|
153
|
-
* 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.
|
|
236
|
+
* @summary Health Check
|
|
237
|
+
* @param {*} [options] Override http request option.
|
|
238
|
+
* @throws {RequiredError}
|
|
239
|
+
*/
|
|
240
|
+
check0_1(options?: any): AxiosPromise<InlineResponse200> {
|
|
241
|
+
return localVarFp.check0_1(options).then((request) => request(axios, basePath));
|
|
242
|
+
},
|
|
243
|
+
/**
|
|
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.
|
|
154
245
|
* @summary Health Check
|
|
155
246
|
* @param {*} [options] Override http request option.
|
|
156
|
-
* @deprecated
|
|
157
247
|
* @throws {RequiredError}
|
|
158
248
|
*/
|
|
159
249
|
check1(options?: any): AxiosPromise<InlineResponse200> {
|
|
160
250
|
return localVarFp.check1(options).then((request) => request(axios, basePath));
|
|
161
251
|
},
|
|
252
|
+
/**
|
|
253
|
+
* 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.
|
|
254
|
+
* @summary Health Check
|
|
255
|
+
* @param {*} [options] Override http request option.
|
|
256
|
+
* @throws {RequiredError}
|
|
257
|
+
*/
|
|
258
|
+
check1_2(options?: any): AxiosPromise<InlineResponse200> {
|
|
259
|
+
return localVarFp.check1_2(options).then((request) => request(axios, basePath));
|
|
260
|
+
},
|
|
162
261
|
};
|
|
163
262
|
};
|
|
164
263
|
|
|
@@ -176,19 +275,40 @@ export class HealthCheckApi extends BaseAPI {
|
|
|
176
275
|
* @throws {RequiredError}
|
|
177
276
|
* @memberof HealthCheckApi
|
|
178
277
|
*/
|
|
179
|
-
public
|
|
180
|
-
return HealthCheckApiFp(this.configuration).
|
|
278
|
+
public check0(options?: AxiosRequestConfig) {
|
|
279
|
+
return HealthCheckApiFp(this.configuration).check0(options).then((request) => request(this.axios, this.basePath));
|
|
181
280
|
}
|
|
182
281
|
|
|
183
282
|
/**
|
|
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.
|
|
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.
|
|
284
|
+
* @summary Health Check
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
* @memberof HealthCheckApi
|
|
288
|
+
*/
|
|
289
|
+
public check0_1(options?: AxiosRequestConfig) {
|
|
290
|
+
return HealthCheckApiFp(this.configuration).check0_1(options).then((request) => request(this.axios, this.basePath));
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
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.
|
|
185
295
|
* @summary Health Check
|
|
186
296
|
* @param {*} [options] Override http request option.
|
|
187
|
-
* @deprecated
|
|
188
297
|
* @throws {RequiredError}
|
|
189
298
|
* @memberof HealthCheckApi
|
|
190
299
|
*/
|
|
191
300
|
public check1(options?: AxiosRequestConfig) {
|
|
192
301
|
return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
|
|
193
302
|
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* 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.
|
|
306
|
+
* @summary Health Check
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
* @memberof HealthCheckApi
|
|
310
|
+
*/
|
|
311
|
+
public check1_2(options?: AxiosRequestConfig) {
|
|
312
|
+
return HealthCheckApiFp(this.configuration).check1_2(options).then((request) => request(this.axios, this.basePath));
|
|
313
|
+
}
|
|
194
314
|
}
|