@emilgroup/claim-sdk 1.17.2-beta.3 → 1.17.2-beta.5
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/.openapi-generator/FILES +4 -0
- package/README.md +2 -2
- package/api/claim-regulations-api.ts +62 -32
- package/api/health-check-api.ts +5 -5
- package/dist/api/claim-regulations-api.d.ts +38 -19
- package/dist/api/claim-regulations-api.js +36 -24
- package/dist/api/health-check-api.d.ts +4 -4
- package/dist/api/health-check-api.js +5 -5
- package/dist/models/create-claim-partner-response-class.d.ts +1 -1
- package/dist/models/create-claim-partner-role-response-class.d.ts +1 -1
- package/dist/models/create-claim-request-dto.d.ts +17 -17
- package/dist/models/create-regulation-item-request-dto.d.ts +4 -4
- package/dist/models/get-claim-partner-response-class.d.ts +1 -1
- package/dist/models/get-claim-partner-role-response-class.d.ts +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/patch-claim-request-dto.d.ts +18 -18
- package/dist/models/update-claim-partner-role-response-class.d.ts +1 -1
- package/dist/models/update-claim-request-dto.d.ts +15 -15
- package/dist/models/update-payout-details-dto.d.ts +60 -0
- package/dist/models/update-payout-details-dto.js +26 -0
- package/dist/models/update-regress-details-dto.d.ts +51 -0
- package/dist/models/update-regress-details-dto.js +29 -0
- package/dist/models/update-regulation-item-request-dto-rest.d.ts +69 -0
- package/dist/models/update-regulation-item-request-dto-rest.js +21 -0
- package/dist/models/update-reserve-details-dto.d.ts +29 -0
- package/dist/models/update-reserve-details-dto.js +20 -0
- package/models/create-claim-partner-response-class.ts +1 -1
- package/models/create-claim-partner-role-response-class.ts +1 -1
- package/models/create-claim-request-dto.ts +17 -17
- package/models/create-regulation-item-request-dto.ts +4 -4
- package/models/get-claim-partner-response-class.ts +1 -1
- package/models/get-claim-partner-role-response-class.ts +1 -1
- package/models/index.ts +4 -0
- package/models/patch-claim-request-dto.ts +18 -18
- package/models/update-claim-partner-role-response-class.ts +1 -1
- package/models/update-claim-request-dto.ts +15 -15
- package/models/update-payout-details-dto.ts +70 -0
- package/models/update-regress-details-dto.ts +61 -0
- package/models/update-regulation-item-request-dto-rest.ts +78 -0
- package/models/update-reserve-details-dto.ts +38 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -59,6 +59,10 @@ models/update-claim-partner-role-request-dto.ts
|
|
|
59
59
|
models/update-claim-partner-role-response-class.ts
|
|
60
60
|
models/update-claim-request-dto.ts
|
|
61
61
|
models/update-claim-response-class.ts
|
|
62
|
+
models/update-payout-details-dto.ts
|
|
63
|
+
models/update-regress-details-dto.ts
|
|
64
|
+
models/update-regulation-item-request-dto-rest.ts
|
|
65
|
+
models/update-reserve-details-dto.ts
|
|
62
66
|
models/update-settlement-request-dto.ts
|
|
63
67
|
models/update-settlement-response-class.ts
|
|
64
68
|
package.json
|
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.17.2-beta.
|
|
20
|
+
npm install @emilgroup/claim-sdk@1.17.2-beta.5 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk@1.17.2-beta.
|
|
24
|
+
yarn add @emilgroup/claim-sdk@1.17.2-beta.5
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -26,6 +26,8 @@ import { CreateRegulationItemRequestDto } from '../models';
|
|
|
26
26
|
import { ListRegulationsResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { RegulationItemResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UpdateRegulationItemRequestDtoRest } from '../models';
|
|
29
31
|
/**
|
|
30
32
|
* ClaimRegulationsApi - axios parameter creator
|
|
31
33
|
* @export
|
|
@@ -178,15 +180,17 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
178
180
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
179
181
|
* @summary List claim regulation items
|
|
180
182
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
183
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
184
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
181
185
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
182
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
183
186
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, amount, bookingDate, currency</i>
|
|
184
187
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: amount, bookingDate, createdAt, updatedAt</i>
|
|
185
188
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claim.<i>
|
|
189
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
186
190
|
* @param {*} [options] Override http request option.
|
|
187
191
|
* @throws {RequiredError}
|
|
188
192
|
*/
|
|
189
|
-
listClaimRegulations: async (authorization?: string,
|
|
193
|
+
listClaimRegulations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
190
194
|
const localVarPath = `/v1/claims/regulations`;
|
|
191
195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
192
196
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -205,12 +209,16 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
205
209
|
// http bearer authentication required
|
|
206
210
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
207
211
|
|
|
208
|
-
if (
|
|
209
|
-
localVarQueryParameter['
|
|
212
|
+
if (pageSize !== undefined) {
|
|
213
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
210
214
|
}
|
|
211
215
|
|
|
212
|
-
if (
|
|
213
|
-
localVarQueryParameter['
|
|
216
|
+
if (pageToken !== undefined) {
|
|
217
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
if (filter !== undefined) {
|
|
221
|
+
localVarQueryParameter['filter'] = filter;
|
|
214
222
|
}
|
|
215
223
|
|
|
216
224
|
if (search !== undefined) {
|
|
@@ -225,6 +233,10 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
225
233
|
localVarQueryParameter['expand'] = expand;
|
|
226
234
|
}
|
|
227
235
|
|
|
236
|
+
if (filters !== undefined) {
|
|
237
|
+
localVarQueryParameter['filters'] = filters;
|
|
238
|
+
}
|
|
239
|
+
|
|
228
240
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
229
241
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
230
242
|
}
|
|
@@ -244,16 +256,16 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
244
256
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
245
257
|
* @summary Update the claim regulation item
|
|
246
258
|
* @param {string} code Unique identifier for the object.
|
|
247
|
-
* @param {
|
|
259
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
248
260
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
249
261
|
* @param {*} [options] Override http request option.
|
|
250
262
|
* @throws {RequiredError}
|
|
251
263
|
*/
|
|
252
|
-
updateClaimRegulation: async (code: string,
|
|
264
|
+
updateClaimRegulation: async (code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
253
265
|
// verify required parameter 'code' is not null or undefined
|
|
254
266
|
assertParamExists('updateClaimRegulation', 'code', code)
|
|
255
|
-
// verify required parameter '
|
|
256
|
-
assertParamExists('updateClaimRegulation', '
|
|
267
|
+
// verify required parameter 'updateRegulationItemRequestDtoRest' is not null or undefined
|
|
268
|
+
assertParamExists('updateClaimRegulation', 'updateRegulationItemRequestDtoRest', updateRegulationItemRequestDtoRest)
|
|
257
269
|
const localVarPath = `/v1/claims/regulations/{code}`
|
|
258
270
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
259
271
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -284,7 +296,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
284
296
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
285
297
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
286
298
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
287
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
299
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateRegulationItemRequestDtoRest, localVarRequestOptions, configuration)
|
|
288
300
|
|
|
289
301
|
return {
|
|
290
302
|
url: toPathString(localVarUrlObj),
|
|
@@ -342,29 +354,31 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
342
354
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
343
355
|
* @summary List claim regulation items
|
|
344
356
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
357
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
358
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
345
359
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
346
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
347
360
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, amount, bookingDate, currency</i>
|
|
348
361
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: amount, bookingDate, createdAt, updatedAt</i>
|
|
349
362
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claim.<i>
|
|
363
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
350
364
|
* @param {*} [options] Override http request option.
|
|
351
365
|
* @throws {RequiredError}
|
|
352
366
|
*/
|
|
353
|
-
async listClaimRegulations(authorization?: string,
|
|
354
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations(authorization,
|
|
367
|
+
async listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>> {
|
|
368
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
355
369
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
356
370
|
},
|
|
357
371
|
/**
|
|
358
372
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
359
373
|
* @summary Update the claim regulation item
|
|
360
374
|
* @param {string} code Unique identifier for the object.
|
|
361
|
-
* @param {
|
|
375
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
362
376
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
363
377
|
* @param {*} [options] Override http request option.
|
|
364
378
|
* @throws {RequiredError}
|
|
365
379
|
*/
|
|
366
|
-
async updateClaimRegulation(code: string,
|
|
367
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code,
|
|
380
|
+
async updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
381
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options);
|
|
368
382
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
369
383
|
},
|
|
370
384
|
}
|
|
@@ -415,28 +429,30 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
415
429
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
416
430
|
* @summary List claim regulation items
|
|
417
431
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
432
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
433
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
418
434
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
419
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
420
435
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, amount, bookingDate, currency</i>
|
|
421
436
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: amount, bookingDate, createdAt, updatedAt</i>
|
|
422
437
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claim.<i>
|
|
438
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
423
439
|
* @param {*} [options] Override http request option.
|
|
424
440
|
* @throws {RequiredError}
|
|
425
441
|
*/
|
|
426
|
-
listClaimRegulations(authorization?: string,
|
|
427
|
-
return localVarFp.listClaimRegulations(authorization,
|
|
442
|
+
listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
|
|
443
|
+
return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
428
444
|
},
|
|
429
445
|
/**
|
|
430
446
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
431
447
|
* @summary Update the claim regulation item
|
|
432
448
|
* @param {string} code Unique identifier for the object.
|
|
433
|
-
* @param {
|
|
449
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
434
450
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
435
451
|
* @param {*} [options] Override http request option.
|
|
436
452
|
* @throws {RequiredError}
|
|
437
453
|
*/
|
|
438
|
-
updateClaimRegulation(code: string,
|
|
439
|
-
return localVarFp.updateClaimRegulation(code,
|
|
454
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
455
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
440
456
|
},
|
|
441
457
|
};
|
|
442
458
|
};
|
|
@@ -525,18 +541,25 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
|
|
|
525
541
|
readonly authorization?: string
|
|
526
542
|
|
|
527
543
|
/**
|
|
528
|
-
*
|
|
529
|
-
* @type {
|
|
544
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
545
|
+
* @type {any}
|
|
530
546
|
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
531
547
|
*/
|
|
532
|
-
readonly
|
|
548
|
+
readonly pageSize?: any
|
|
533
549
|
|
|
534
550
|
/**
|
|
535
|
-
*
|
|
551
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
552
|
+
* @type {any}
|
|
553
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
554
|
+
*/
|
|
555
|
+
readonly pageToken?: any
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
536
559
|
* @type {string}
|
|
537
560
|
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
538
561
|
*/
|
|
539
|
-
readonly
|
|
562
|
+
readonly filter?: string
|
|
540
563
|
|
|
541
564
|
/**
|
|
542
565
|
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, amount, bookingDate, currency</i>
|
|
@@ -558,6 +581,13 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
|
|
|
558
581
|
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
559
582
|
*/
|
|
560
583
|
readonly expand?: string
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
587
|
+
* @type {string}
|
|
588
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
589
|
+
*/
|
|
590
|
+
readonly filters?: string
|
|
561
591
|
}
|
|
562
592
|
|
|
563
593
|
/**
|
|
@@ -575,10 +605,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
|
575
605
|
|
|
576
606
|
/**
|
|
577
607
|
*
|
|
578
|
-
* @type {
|
|
608
|
+
* @type {UpdateRegulationItemRequestDtoRest}
|
|
579
609
|
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
580
610
|
*/
|
|
581
|
-
readonly
|
|
611
|
+
readonly updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest
|
|
582
612
|
|
|
583
613
|
/**
|
|
584
614
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -640,7 +670,7 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
640
670
|
* @memberof ClaimRegulationsApi
|
|
641
671
|
*/
|
|
642
672
|
public listClaimRegulations(requestParameters: ClaimRegulationsApiListClaimRegulationsRequest = {}, options?: AxiosRequestConfig) {
|
|
643
|
-
return ClaimRegulationsApiFp(this.configuration).listClaimRegulations(requestParameters.authorization, requestParameters.
|
|
673
|
+
return ClaimRegulationsApiFp(this.configuration).listClaimRegulations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
644
674
|
}
|
|
645
675
|
|
|
646
676
|
/**
|
|
@@ -652,6 +682,6 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
652
682
|
* @memberof ClaimRegulationsApi
|
|
653
683
|
*/
|
|
654
684
|
public updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig) {
|
|
655
|
-
return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.
|
|
685
|
+
return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
656
686
|
}
|
|
657
687
|
}
|
package/api/health-check-api.ts
CHANGED
|
@@ -31,13 +31,13 @@ import { InlineResponse503 } from '../models';
|
|
|
31
31
|
export const HealthCheckApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
|
-
* Returns the health status of the
|
|
34
|
+
* 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.
|
|
35
35
|
* @summary Health Check
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
39
|
check: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
40
|
-
const localVarPath = `/
|
|
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;
|
|
@@ -73,7 +73,7 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
|
|
|
73
73
|
const localVarAxiosParamCreator = HealthCheckApiAxiosParamCreator(configuration)
|
|
74
74
|
return {
|
|
75
75
|
/**
|
|
76
|
-
* Returns the health status of the
|
|
76
|
+
* 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.
|
|
77
77
|
* @summary Health Check
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
@@ -93,7 +93,7 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
93
93
|
const localVarFp = HealthCheckApiFp(configuration)
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* Returns the health status of the
|
|
96
|
+
* 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.
|
|
97
97
|
* @summary Health Check
|
|
98
98
|
* @param {*} [options] Override http request option.
|
|
99
99
|
* @throws {RequiredError}
|
|
@@ -112,7 +112,7 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
|
|
|
112
112
|
*/
|
|
113
113
|
export class HealthCheckApi extends BaseAPI {
|
|
114
114
|
/**
|
|
115
|
-
* Returns the health status of the
|
|
115
|
+
* 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.
|
|
116
116
|
* @summary Health Check
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
118
118
|
* @throws {RequiredError}
|
|
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { CreateRegulationItemRequestDto } from '../models';
|
|
16
16
|
import { ListRegulationsResponseClass } from '../models';
|
|
17
17
|
import { RegulationItemResponseClass } from '../models';
|
|
18
|
+
import { UpdateRegulationItemRequestDtoRest } from '../models';
|
|
18
19
|
/**
|
|
19
20
|
* ClaimRegulationsApi - axios parameter creator
|
|
20
21
|
* @export
|
|
@@ -52,25 +53,27 @@ export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
52
53
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
53
54
|
* @summary List claim regulation items
|
|
54
55
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
57
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
55
58
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
56
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
57
59
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, amount, bookingDate, currency</i>
|
|
58
60
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: amount, bookingDate, createdAt, updatedAt</i>
|
|
59
61
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claim.<i>
|
|
62
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
60
63
|
* @param {*} [options] Override http request option.
|
|
61
64
|
* @throws {RequiredError}
|
|
62
65
|
*/
|
|
63
|
-
listClaimRegulations: (authorization?: string,
|
|
66
|
+
listClaimRegulations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
67
|
/**
|
|
65
68
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
66
69
|
* @summary Update the claim regulation item
|
|
67
70
|
* @param {string} code Unique identifier for the object.
|
|
68
|
-
* @param {
|
|
71
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
69
72
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
70
73
|
* @param {*} [options] Override http request option.
|
|
71
74
|
* @throws {RequiredError}
|
|
72
75
|
*/
|
|
73
|
-
updateClaimRegulation: (code: string,
|
|
76
|
+
updateClaimRegulation: (code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
77
|
};
|
|
75
78
|
/**
|
|
76
79
|
* ClaimRegulationsApi - functional programming interface
|
|
@@ -109,25 +112,27 @@ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
|
|
|
109
112
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
110
113
|
* @summary List claim regulation items
|
|
111
114
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
116
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
112
117
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
113
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
114
118
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, amount, bookingDate, currency</i>
|
|
115
119
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: amount, bookingDate, createdAt, updatedAt</i>
|
|
116
120
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claim.<i>
|
|
121
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
117
122
|
* @param {*} [options] Override http request option.
|
|
118
123
|
* @throws {RequiredError}
|
|
119
124
|
*/
|
|
120
|
-
listClaimRegulations(authorization?: string,
|
|
125
|
+
listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>>;
|
|
121
126
|
/**
|
|
122
127
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
123
128
|
* @summary Update the claim regulation item
|
|
124
129
|
* @param {string} code Unique identifier for the object.
|
|
125
|
-
* @param {
|
|
130
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
126
131
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
127
132
|
* @param {*} [options] Override http request option.
|
|
128
133
|
* @throws {RequiredError}
|
|
129
134
|
*/
|
|
130
|
-
updateClaimRegulation(code: string,
|
|
135
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
|
|
131
136
|
};
|
|
132
137
|
/**
|
|
133
138
|
* ClaimRegulationsApi - factory interface
|
|
@@ -166,25 +171,27 @@ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration,
|
|
|
166
171
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
167
172
|
* @summary List claim regulation items
|
|
168
173
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
174
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
175
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
169
176
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
170
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
171
177
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, amount, bookingDate, currency</i>
|
|
172
178
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: amount, bookingDate, createdAt, updatedAt</i>
|
|
173
179
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claim.<i>
|
|
180
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
174
181
|
* @param {*} [options] Override http request option.
|
|
175
182
|
* @throws {RequiredError}
|
|
176
183
|
*/
|
|
177
|
-
listClaimRegulations(authorization?: string,
|
|
184
|
+
listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass>;
|
|
178
185
|
/**
|
|
179
186
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
180
187
|
* @summary Update the claim regulation item
|
|
181
188
|
* @param {string} code Unique identifier for the object.
|
|
182
|
-
* @param {
|
|
189
|
+
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
183
190
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
184
191
|
* @param {*} [options] Override http request option.
|
|
185
192
|
* @throws {RequiredError}
|
|
186
193
|
*/
|
|
187
|
-
updateClaimRegulation(code: string,
|
|
194
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
|
|
188
195
|
};
|
|
189
196
|
/**
|
|
190
197
|
* Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
|
|
@@ -262,17 +269,23 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
|
|
|
262
269
|
*/
|
|
263
270
|
readonly authorization?: string;
|
|
264
271
|
/**
|
|
265
|
-
*
|
|
266
|
-
* @type {
|
|
272
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
273
|
+
* @type {any}
|
|
267
274
|
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
268
275
|
*/
|
|
269
|
-
readonly
|
|
276
|
+
readonly pageSize?: any;
|
|
270
277
|
/**
|
|
271
|
-
*
|
|
278
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
279
|
+
* @type {any}
|
|
280
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
281
|
+
*/
|
|
282
|
+
readonly pageToken?: any;
|
|
283
|
+
/**
|
|
284
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
272
285
|
* @type {string}
|
|
273
286
|
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
274
287
|
*/
|
|
275
|
-
readonly
|
|
288
|
+
readonly filter?: string;
|
|
276
289
|
/**
|
|
277
290
|
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, amount, bookingDate, currency</i>
|
|
278
291
|
* @type {string}
|
|
@@ -291,6 +304,12 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
|
|
|
291
304
|
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
292
305
|
*/
|
|
293
306
|
readonly expand?: string;
|
|
307
|
+
/**
|
|
308
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
311
|
+
*/
|
|
312
|
+
readonly filters?: string;
|
|
294
313
|
}
|
|
295
314
|
/**
|
|
296
315
|
* Request parameters for updateClaimRegulation operation in ClaimRegulationsApi.
|
|
@@ -306,10 +325,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
|
306
325
|
readonly code: string;
|
|
307
326
|
/**
|
|
308
327
|
*
|
|
309
|
-
* @type {
|
|
328
|
+
* @type {UpdateRegulationItemRequestDtoRest}
|
|
310
329
|
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
311
330
|
*/
|
|
312
|
-
readonly
|
|
331
|
+
readonly updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest;
|
|
313
332
|
/**
|
|
314
333
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
315
334
|
* @type {string}
|