@emilgroup/claim-sdk 1.43.0 → 1.43.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
|
@@ -36,8 +36,8 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
|
|
40
|
-
const localVarPath = `/
|
|
39
|
+
check0: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40
|
+
const localVarPath = `/v1/claims/health`;
|
|
41
41
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42
42
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43
43
|
let baseOptions;
|
|
@@ -63,13 +63,12 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
|
|
|
63
63
|
};
|
|
64
64
|
},
|
|
65
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.
|
|
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
67
|
* @summary Health Check
|
|
68
68
|
* @param {*} [options] Override http request option.
|
|
69
|
-
* @deprecated
|
|
70
69
|
* @throws {RequiredError}
|
|
71
70
|
*/
|
|
72
|
-
|
|
71
|
+
check0_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
73
72
|
const localVarPath = `/v1/claims/health`;
|
|
74
73
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75
74
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -86,6 +85,70 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
|
|
|
86
85
|
|
|
87
86
|
|
|
88
87
|
|
|
88
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
89
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
url: toPathString(localVarUrlObj),
|
|
94
|
+
options: localVarRequestOptions,
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
/**
|
|
98
|
+
* 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.
|
|
99
|
+
* @summary Health Check
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
check1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104
|
+
const localVarPath = `/claimservice/v1/health`;
|
|
105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107
|
+
let baseOptions;
|
|
108
|
+
let baseAccessToken;
|
|
109
|
+
if (configuration) {
|
|
110
|
+
baseOptions = configuration.baseOptions;
|
|
111
|
+
baseAccessToken = configuration.accessToken;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
115
|
+
const localVarHeaderParameter = {} as any;
|
|
116
|
+
const localVarQueryParameter = {} as any;
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
123
|
+
|
|
124
|
+
return {
|
|
125
|
+
url: toPathString(localVarUrlObj),
|
|
126
|
+
options: localVarRequestOptions,
|
|
127
|
+
};
|
|
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
|
+
check1_2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
136
|
+
const localVarPath = `/claimservice/v1/health`;
|
|
137
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
139
|
+
let baseOptions;
|
|
140
|
+
let baseAccessToken;
|
|
141
|
+
if (configuration) {
|
|
142
|
+
baseOptions = configuration.baseOptions;
|
|
143
|
+
baseAccessToken = configuration.accessToken;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
147
|
+
const localVarHeaderParameter = {} as any;
|
|
148
|
+
const localVarQueryParameter = {} as any;
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
89
152
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
90
153
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
91
154
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -111,21 +174,40 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
|
|
|
111
174
|
* @param {*} [options] Override http request option.
|
|
112
175
|
* @throws {RequiredError}
|
|
113
176
|
*/
|
|
114
|
-
async
|
|
115
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
177
|
+
async check0(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
178
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check0(options);
|
|
179
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
180
|
+
},
|
|
181
|
+
/**
|
|
182
|
+
* 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.
|
|
183
|
+
* @summary Health Check
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
async check0_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check0_1(options);
|
|
116
189
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
117
190
|
},
|
|
118
191
|
/**
|
|
119
|
-
* 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.
|
|
192
|
+
* 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.
|
|
120
193
|
* @summary Health Check
|
|
121
194
|
* @param {*} [options] Override http request option.
|
|
122
|
-
* @deprecated
|
|
123
195
|
* @throws {RequiredError}
|
|
124
196
|
*/
|
|
125
197
|
async check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
126
198
|
const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
|
|
127
199
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
128
200
|
},
|
|
201
|
+
/**
|
|
202
|
+
* 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.
|
|
203
|
+
* @summary Health Check
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
*/
|
|
207
|
+
async check1_2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
|
|
208
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.check1_2(options);
|
|
209
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
210
|
+
},
|
|
129
211
|
}
|
|
130
212
|
};
|
|
131
213
|
|
|
@@ -142,19 +224,36 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
142
224
|
* @param {*} [options] Override http request option.
|
|
143
225
|
* @throws {RequiredError}
|
|
144
226
|
*/
|
|
145
|
-
|
|
146
|
-
return localVarFp.
|
|
227
|
+
check0(options?: any): AxiosPromise<InlineResponse200> {
|
|
228
|
+
return localVarFp.check0(options).then((request) => request(axios, basePath));
|
|
147
229
|
},
|
|
148
230
|
/**
|
|
149
|
-
* 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.
|
|
231
|
+
* 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.
|
|
232
|
+
* @summary Health Check
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
check0_1(options?: any): AxiosPromise<InlineResponse200> {
|
|
237
|
+
return localVarFp.check0_1(options).then((request) => request(axios, basePath));
|
|
238
|
+
},
|
|
239
|
+
/**
|
|
240
|
+
* 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.
|
|
150
241
|
* @summary Health Check
|
|
151
242
|
* @param {*} [options] Override http request option.
|
|
152
|
-
* @deprecated
|
|
153
243
|
* @throws {RequiredError}
|
|
154
244
|
*/
|
|
155
245
|
check1(options?: any): AxiosPromise<InlineResponse200> {
|
|
156
246
|
return localVarFp.check1(options).then((request) => request(axios, basePath));
|
|
157
247
|
},
|
|
248
|
+
/**
|
|
249
|
+
* 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.
|
|
250
|
+
* @summary Health Check
|
|
251
|
+
* @param {*} [options] Override http request option.
|
|
252
|
+
* @throws {RequiredError}
|
|
253
|
+
*/
|
|
254
|
+
check1_2(options?: any): AxiosPromise<InlineResponse200> {
|
|
255
|
+
return localVarFp.check1_2(options).then((request) => request(axios, basePath));
|
|
256
|
+
},
|
|
158
257
|
};
|
|
159
258
|
};
|
|
160
259
|
|
|
@@ -172,19 +271,40 @@ export class HealthCheckApi extends BaseAPI {
|
|
|
172
271
|
* @throws {RequiredError}
|
|
173
272
|
* @memberof HealthCheckApi
|
|
174
273
|
*/
|
|
175
|
-
public
|
|
176
|
-
return HealthCheckApiFp(this.configuration).
|
|
274
|
+
public check0(options?: AxiosRequestConfig) {
|
|
275
|
+
return HealthCheckApiFp(this.configuration).check0(options).then((request) => request(this.axios, this.basePath));
|
|
177
276
|
}
|
|
178
277
|
|
|
179
278
|
/**
|
|
180
|
-
* 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.
|
|
279
|
+
* 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.
|
|
280
|
+
* @summary Health Check
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
* @memberof HealthCheckApi
|
|
284
|
+
*/
|
|
285
|
+
public check0_1(options?: AxiosRequestConfig) {
|
|
286
|
+
return HealthCheckApiFp(this.configuration).check0_1(options).then((request) => request(this.axios, this.basePath));
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* 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.
|
|
181
291
|
* @summary Health Check
|
|
182
292
|
* @param {*} [options] Override http request option.
|
|
183
|
-
* @deprecated
|
|
184
293
|
* @throws {RequiredError}
|
|
185
294
|
* @memberof HealthCheckApi
|
|
186
295
|
*/
|
|
187
296
|
public check1(options?: AxiosRequestConfig) {
|
|
188
297
|
return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
|
|
189
298
|
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* 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.
|
|
302
|
+
* @summary Health Check
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
* @memberof HealthCheckApi
|
|
306
|
+
*/
|
|
307
|
+
public check1_2(options?: AxiosRequestConfig) {
|
|
308
|
+
return HealthCheckApiFp(this.configuration).check1_2(options).then((request) => request(this.axios, this.basePath));
|
|
309
|
+
}
|
|
190
310
|
}
|