@emilgroup/claim-sdk-node 1.41.1-beta.8 → 1.42.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 +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +17 -137
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +12 -66
- package/dist/api/health-check-api.js +17 -151
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- 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 +6 -18
- package/dist/models/payout-details-class.d.ts +2 -4
- 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 +6 -18
- package/models/payout-details-class.ts +2 -2
- package/package.json +1 -1
package/api/health-check-api.ts
CHANGED
|
@@ -40,71 +40,7 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
|
|
|
40
40
|
* @param {*} [options] Override http request option.
|
|
41
41
|
* @throws {RequiredError}
|
|
42
42
|
*/
|
|
43
|
-
|
|
44
|
-
const localVarPath = `/v1/claims/health`;
|
|
45
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47
|
-
let baseOptions;
|
|
48
|
-
let baseAccessToken;
|
|
49
|
-
if (configuration) {
|
|
50
|
-
baseOptions = configuration.baseOptions;
|
|
51
|
-
baseAccessToken = configuration.accessToken;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
55
|
-
const localVarHeaderParameter = {} as any;
|
|
56
|
-
const localVarQueryParameter = {} as any;
|
|
57
|
-
|
|
58
|
-
|
|
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
|
-
check0_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
|
-
|
|
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> => {
|
|
43
|
+
check: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
108
44
|
const localVarPath = `/claimservice/v1/health`;
|
|
109
45
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
110
46
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -131,13 +67,14 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
|
|
|
131
67
|
};
|
|
132
68
|
},
|
|
133
69
|
/**
|
|
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.
|
|
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.
|
|
135
71
|
* @summary Health Check
|
|
136
72
|
* @param {*} [options] Override http request option.
|
|
73
|
+
* @deprecated
|
|
137
74
|
* @throws {RequiredError}
|
|
138
75
|
*/
|
|
139
|
-
|
|
140
|
-
const localVarPath = `/
|
|
76
|
+
check1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
77
|
+
const localVarPath = `/v1/claims/health`;
|
|
141
78
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
142
79
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
143
80
|
let baseOptions;
|
|
@@ -178,40 +115,21 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
|
|
|
178
115
|
* @param {*} [options] Override http request option.
|
|
179
116
|
* @throws {RequiredError}
|
|
180
117
|
*/
|
|
181
|
-
async
|
|
182
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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);
|
|
118
|
+
async check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
119
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
|
|
193
120
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
194
121
|
},
|
|
195
122
|
/**
|
|
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.
|
|
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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
197
124
|
* @summary Health Check
|
|
198
125
|
* @param {*} [options] Override http request option.
|
|
126
|
+
* @deprecated
|
|
199
127
|
* @throws {RequiredError}
|
|
200
128
|
*/
|
|
201
129
|
async check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
202
130
|
const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
|
|
203
131
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
204
132
|
},
|
|
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
|
-
},
|
|
215
133
|
}
|
|
216
134
|
};
|
|
217
135
|
|
|
@@ -228,36 +146,19 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
228
146
|
* @param {*} [options] Override http request option.
|
|
229
147
|
* @throws {RequiredError}
|
|
230
148
|
*/
|
|
231
|
-
|
|
232
|
-
return localVarFp.
|
|
149
|
+
check(options?: any): AxiosPromise<InlineResponse200> {
|
|
150
|
+
return localVarFp.check(options).then((request) => request(axios, basePath));
|
|
233
151
|
},
|
|
234
152
|
/**
|
|
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.
|
|
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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
245
154
|
* @summary Health Check
|
|
246
155
|
* @param {*} [options] Override http request option.
|
|
156
|
+
* @deprecated
|
|
247
157
|
* @throws {RequiredError}
|
|
248
158
|
*/
|
|
249
159
|
check1(options?: any): AxiosPromise<InlineResponse200> {
|
|
250
160
|
return localVarFp.check1(options).then((request) => request(axios, basePath));
|
|
251
161
|
},
|
|
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
|
-
},
|
|
261
162
|
};
|
|
262
163
|
};
|
|
263
164
|
|
|
@@ -275,40 +176,19 @@ export class HealthCheckApi extends BaseAPI {
|
|
|
275
176
|
* @throws {RequiredError}
|
|
276
177
|
* @memberof HealthCheckApi
|
|
277
178
|
*/
|
|
278
|
-
public
|
|
279
|
-
return HealthCheckApiFp(this.configuration).
|
|
179
|
+
public check(options?: AxiosRequestConfig) {
|
|
180
|
+
return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
280
181
|
}
|
|
281
182
|
|
|
282
183
|
/**
|
|
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.
|
|
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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
295
185
|
* @summary Health Check
|
|
296
186
|
* @param {*} [options] Override http request option.
|
|
187
|
+
* @deprecated
|
|
297
188
|
* @throws {RequiredError}
|
|
298
189
|
* @memberof HealthCheckApi
|
|
299
190
|
*/
|
|
300
191
|
public check1(options?: AxiosRequestConfig) {
|
|
301
192
|
return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
|
|
302
193
|
}
|
|
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
|
-
}
|
|
314
194
|
}
|