@emilgroup/claim-sdk 1.34.0 → 1.34.1-beta.1
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-partner-roles-api.ts +34 -34
- package/api/claim-partners-api.ts +30 -30
- package/api/claim-regulations-api.ts +34 -34
- package/api/claim-statuses-api.ts +35 -35
- package/api/claims-api.ts +42 -42
- package/api/settlements-api.ts +39 -39
- package/dist/api/claim-partner-roles-api.d.ts +34 -34
- package/dist/api/claim-partner-roles-api.js +26 -26
- package/dist/api/claim-partners-api.d.ts +30 -30
- package/dist/api/claim-partners-api.js +22 -22
- package/dist/api/claim-regulations-api.d.ts +34 -34
- package/dist/api/claim-regulations-api.js +26 -26
- package/dist/api/claim-statuses-api.d.ts +35 -35
- package/dist/api/claim-statuses-api.js +25 -25
- package/dist/api/claims-api.d.ts +42 -42
- package/dist/api/claims-api.js +34 -34
- package/dist/api/settlements-api.d.ts +39 -39
- package/dist/api/settlements-api.js +29 -29
- package/package.json +1 -1
|
@@ -35,7 +35,7 @@ import { UpdateRegulationItemRequestDtoRest } from '../models';
|
|
|
35
35
|
export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* This endpoint will create a new regulation item for a claim
|
|
38
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
39
39
|
* @summary Create the claim regulation item
|
|
40
40
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
41
41
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -82,7 +82,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
82
82
|
};
|
|
83
83
|
},
|
|
84
84
|
/**
|
|
85
|
-
* This will delete the regulation item identified by the code.
|
|
85
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
86
86
|
* @summary Delete the claim regulation item
|
|
87
87
|
* @param {string} code Unique identifier for the object.
|
|
88
88
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -127,7 +127,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
127
127
|
};
|
|
128
128
|
},
|
|
129
129
|
/**
|
|
130
|
-
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
130
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
131
131
|
* @summary Retrieve the claim regulation item
|
|
132
132
|
* @param {string} code
|
|
133
133
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -177,11 +177,11 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
177
177
|
};
|
|
178
178
|
},
|
|
179
179
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.regulations.view\"
|
|
181
181
|
* @summary List claim regulation items
|
|
182
182
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
183
|
-
* @param {
|
|
184
|
-
* @param {
|
|
183
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
184
|
+
* @param {string} [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.
|
|
185
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>
|
|
186
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, currency</i>
|
|
187
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>
|
|
@@ -190,7 +190,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
190
190
|
* @param {*} [options] Override http request option.
|
|
191
191
|
* @throws {RequiredError}
|
|
192
192
|
*/
|
|
193
|
-
listClaimRegulations: async (authorization?: string, pageSize?:
|
|
193
|
+
listClaimRegulations: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
194
|
const localVarPath = `/v1/claims/regulations`;
|
|
195
195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
196
196
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -253,7 +253,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
253
253
|
};
|
|
254
254
|
},
|
|
255
255
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.regulations.update\"
|
|
257
257
|
* @summary Update the claim regulation item
|
|
258
258
|
* @param {string} code Unique identifier for the object.
|
|
259
259
|
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
@@ -314,7 +314,7 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
314
314
|
const localVarAxiosParamCreator = ClaimRegulationsApiAxiosParamCreator(configuration)
|
|
315
315
|
return {
|
|
316
316
|
/**
|
|
317
|
-
* This endpoint will create a new regulation item for a claim
|
|
317
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
318
318
|
* @summary Create the claim regulation item
|
|
319
319
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
320
320
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -326,7 +326,7 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
326
326
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
327
327
|
},
|
|
328
328
|
/**
|
|
329
|
-
* This will delete the regulation item identified by the code.
|
|
329
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
330
330
|
* @summary Delete the claim regulation item
|
|
331
331
|
* @param {string} code Unique identifier for the object.
|
|
332
332
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -338,7 +338,7 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
338
338
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
339
339
|
},
|
|
340
340
|
/**
|
|
341
|
-
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
341
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
342
342
|
* @summary Retrieve the claim regulation item
|
|
343
343
|
* @param {string} code
|
|
344
344
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -351,11 +351,11 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
351
351
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
352
352
|
},
|
|
353
353
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.regulations.view\"
|
|
355
355
|
* @summary List claim regulation items
|
|
356
356
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
357
|
-
* @param {
|
|
358
|
-
* @param {
|
|
357
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
358
|
+
* @param {string} [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.
|
|
359
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>
|
|
360
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, currency</i>
|
|
361
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>
|
|
@@ -364,12 +364,12 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
364
364
|
* @param {*} [options] Override http request option.
|
|
365
365
|
* @throws {RequiredError}
|
|
366
366
|
*/
|
|
367
|
-
async listClaimRegulations(authorization?: string, pageSize?:
|
|
367
|
+
async listClaimRegulations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>> {
|
|
368
368
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
369
369
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
370
370
|
},
|
|
371
371
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.regulations.update\"
|
|
373
373
|
* @summary Update the claim regulation item
|
|
374
374
|
* @param {string} code Unique identifier for the object.
|
|
375
375
|
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
@@ -392,7 +392,7 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
392
392
|
const localVarFp = ClaimRegulationsApiFp(configuration)
|
|
393
393
|
return {
|
|
394
394
|
/**
|
|
395
|
-
* This endpoint will create a new regulation item for a claim
|
|
395
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
396
396
|
* @summary Create the claim regulation item
|
|
397
397
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
398
398
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -403,7 +403,7 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
403
403
|
return localVarFp.createClaimRegulation(createRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
404
404
|
},
|
|
405
405
|
/**
|
|
406
|
-
* This will delete the regulation item identified by the code.
|
|
406
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
407
407
|
* @summary Delete the claim regulation item
|
|
408
408
|
* @param {string} code Unique identifier for the object.
|
|
409
409
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -414,7 +414,7 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
414
414
|
return localVarFp.deleteClaimRegulations(code, authorization, options).then((request) => request(axios, basePath));
|
|
415
415
|
},
|
|
416
416
|
/**
|
|
417
|
-
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
417
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
418
418
|
* @summary Retrieve the claim regulation item
|
|
419
419
|
* @param {string} code
|
|
420
420
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -426,11 +426,11 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
426
426
|
return localVarFp.getClaimRegulation(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
427
427
|
},
|
|
428
428
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.regulations.view\"
|
|
430
430
|
* @summary List claim regulation items
|
|
431
431
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
432
|
-
* @param {
|
|
433
|
-
* @param {
|
|
432
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
433
|
+
* @param {string} [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.
|
|
434
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>
|
|
435
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, currency</i>
|
|
436
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>
|
|
@@ -439,11 +439,11 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
439
439
|
* @param {*} [options] Override http request option.
|
|
440
440
|
* @throws {RequiredError}
|
|
441
441
|
*/
|
|
442
|
-
listClaimRegulations(authorization?: string, pageSize?:
|
|
442
|
+
listClaimRegulations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
|
|
443
443
|
return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
444
444
|
},
|
|
445
445
|
/**
|
|
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.
|
|
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. **Required Permissions** \"claim-management.regulations.update\"
|
|
447
447
|
* @summary Update the claim regulation item
|
|
448
448
|
* @param {string} code Unique identifier for the object.
|
|
449
449
|
* @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
|
|
@@ -542,17 +542,17 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
|
|
|
542
542
|
|
|
543
543
|
/**
|
|
544
544
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
545
|
-
* @type {
|
|
545
|
+
* @type {number}
|
|
546
546
|
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
547
547
|
*/
|
|
548
|
-
readonly pageSize?:
|
|
548
|
+
readonly pageSize?: number
|
|
549
549
|
|
|
550
550
|
/**
|
|
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,
|
|
552
|
-
* @type {
|
|
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 {string}
|
|
553
553
|
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
554
554
|
*/
|
|
555
|
-
readonly pageToken?:
|
|
555
|
+
readonly pageToken?: string
|
|
556
556
|
|
|
557
557
|
/**
|
|
558
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>
|
|
@@ -626,7 +626,7 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
|
626
626
|
*/
|
|
627
627
|
export class ClaimRegulationsApi extends BaseAPI {
|
|
628
628
|
/**
|
|
629
|
-
* This endpoint will create a new regulation item for a claim
|
|
629
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
630
630
|
* @summary Create the claim regulation item
|
|
631
631
|
* @param {ClaimRegulationsApiCreateClaimRegulationRequest} requestParameters Request parameters.
|
|
632
632
|
* @param {*} [options] Override http request option.
|
|
@@ -638,7 +638,7 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
/**
|
|
641
|
-
* This will delete the regulation item identified by the code.
|
|
641
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
642
642
|
* @summary Delete the claim regulation item
|
|
643
643
|
* @param {ClaimRegulationsApiDeleteClaimRegulationsRequest} requestParameters Request parameters.
|
|
644
644
|
* @param {*} [options] Override http request option.
|
|
@@ -650,7 +650,7 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
650
650
|
}
|
|
651
651
|
|
|
652
652
|
/**
|
|
653
|
-
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
653
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
654
654
|
* @summary Retrieve the claim regulation item
|
|
655
655
|
* @param {ClaimRegulationsApiGetClaimRegulationRequest} requestParameters Request parameters.
|
|
656
656
|
* @param {*} [options] Override http request option.
|
|
@@ -662,7 +662,7 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
|
-
* 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.
|
|
665
|
+
* 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. **Required Permissions** \"claim-management.regulations.view\"
|
|
666
666
|
* @summary List claim regulation items
|
|
667
667
|
* @param {ClaimRegulationsApiListClaimRegulationsRequest} requestParameters Request parameters.
|
|
668
668
|
* @param {*} [options] Override http request option.
|
|
@@ -674,7 +674,7 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
674
674
|
}
|
|
675
675
|
|
|
676
676
|
/**
|
|
677
|
-
* 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.
|
|
677
|
+
* 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. **Required Permissions** \"claim-management.regulations.update\"
|
|
678
678
|
* @summary Update the claim regulation item
|
|
679
679
|
* @param {ClaimRegulationsApiUpdateClaimRegulationRequest} requestParameters Request parameters.
|
|
680
680
|
* @param {*} [options] Override http request option.
|
|
@@ -35,7 +35,7 @@ import { ListClaimStatusesResponseClass } from '../models';
|
|
|
35
35
|
export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
|
-
* This creates a claim status in the database
|
|
38
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
39
39
|
* @summary Create the claim status
|
|
40
40
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
41
41
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -82,7 +82,7 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
82
82
|
};
|
|
83
83
|
},
|
|
84
84
|
/**
|
|
85
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it.
|
|
85
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
86
86
|
* @summary Delete the claim status
|
|
87
87
|
* @param {number} id
|
|
88
88
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -127,7 +127,7 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
127
127
|
};
|
|
128
128
|
},
|
|
129
129
|
/**
|
|
130
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
|
|
130
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
131
131
|
* @summary Retrieve the claim status
|
|
132
132
|
* @param {number} id
|
|
133
133
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -172,20 +172,20 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
172
172
|
};
|
|
173
173
|
},
|
|
174
174
|
/**
|
|
175
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
175
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
176
176
|
* @summary List claim statuses
|
|
177
177
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
178
|
-
* @param {
|
|
179
|
-
* @param {
|
|
178
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
179
|
+
* @param {string} [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.
|
|
180
180
|
* @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: id, name, productSlug</i>
|
|
181
|
-
* @param {
|
|
181
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
182
182
|
* @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: id</i>
|
|
183
183
|
* @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: <i>
|
|
184
184
|
* @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: id, name, productSlug</i>
|
|
185
185
|
* @param {*} [options] Override http request option.
|
|
186
186
|
* @throws {RequiredError}
|
|
187
187
|
*/
|
|
188
|
-
listClaimStatuses: async (authorization?: string, pageSize?:
|
|
188
|
+
listClaimStatuses: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
189
189
|
const localVarPath = `/v1/claim-statuses`;
|
|
190
190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
191
191
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -258,7 +258,7 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
258
258
|
const localVarAxiosParamCreator = ClaimStatusesApiAxiosParamCreator(configuration)
|
|
259
259
|
return {
|
|
260
260
|
/**
|
|
261
|
-
* This creates a claim status in the database
|
|
261
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
262
262
|
* @summary Create the claim status
|
|
263
263
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
264
264
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -270,7 +270,7 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
270
270
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
271
271
|
},
|
|
272
272
|
/**
|
|
273
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it.
|
|
273
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
274
274
|
* @summary Delete the claim status
|
|
275
275
|
* @param {number} id
|
|
276
276
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -282,7 +282,7 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
282
282
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
283
283
|
},
|
|
284
284
|
/**
|
|
285
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
|
|
285
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
286
286
|
* @summary Retrieve the claim status
|
|
287
287
|
* @param {number} id
|
|
288
288
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -294,20 +294,20 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
294
294
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
295
295
|
},
|
|
296
296
|
/**
|
|
297
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
297
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
298
298
|
* @summary List claim statuses
|
|
299
299
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
300
|
-
* @param {
|
|
301
|
-
* @param {
|
|
300
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
301
|
+
* @param {string} [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.
|
|
302
302
|
* @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: id, name, productSlug</i>
|
|
303
|
-
* @param {
|
|
303
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
304
304
|
* @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: id</i>
|
|
305
305
|
* @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: <i>
|
|
306
306
|
* @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: id, name, productSlug</i>
|
|
307
307
|
* @param {*} [options] Override http request option.
|
|
308
308
|
* @throws {RequiredError}
|
|
309
309
|
*/
|
|
310
|
-
async listClaimStatuses(authorization?: string, pageSize?:
|
|
310
|
+
async listClaimStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>> {
|
|
311
311
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
312
312
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
313
313
|
},
|
|
@@ -322,7 +322,7 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
322
322
|
const localVarFp = ClaimStatusesApiFp(configuration)
|
|
323
323
|
return {
|
|
324
324
|
/**
|
|
325
|
-
* This creates a claim status in the database
|
|
325
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
326
326
|
* @summary Create the claim status
|
|
327
327
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
328
328
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -333,7 +333,7 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
333
333
|
return localVarFp.createClaimStatus(createClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
334
334
|
},
|
|
335
335
|
/**
|
|
336
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it.
|
|
336
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
337
337
|
* @summary Delete the claim status
|
|
338
338
|
* @param {number} id
|
|
339
339
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -344,7 +344,7 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
344
344
|
return localVarFp.deleteClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
345
345
|
},
|
|
346
346
|
/**
|
|
347
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
|
|
347
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
348
348
|
* @summary Retrieve the claim status
|
|
349
349
|
* @param {number} id
|
|
350
350
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -355,20 +355,20 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
355
355
|
return localVarFp.getClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
356
356
|
},
|
|
357
357
|
/**
|
|
358
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
358
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
359
359
|
* @summary List claim statuses
|
|
360
360
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
361
|
-
* @param {
|
|
362
|
-
* @param {
|
|
361
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
362
|
+
* @param {string} [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.
|
|
363
363
|
* @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: id, name, productSlug</i>
|
|
364
|
-
* @param {
|
|
364
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
365
365
|
* @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: id</i>
|
|
366
366
|
* @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: <i>
|
|
367
367
|
* @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: id, name, productSlug</i>
|
|
368
368
|
* @param {*} [options] Override http request option.
|
|
369
369
|
* @throws {RequiredError}
|
|
370
370
|
*/
|
|
371
|
-
listClaimStatuses(authorization?: string, pageSize?:
|
|
371
|
+
listClaimStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
372
372
|
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
373
373
|
},
|
|
374
374
|
};
|
|
@@ -452,17 +452,17 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
452
452
|
|
|
453
453
|
/**
|
|
454
454
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
455
|
-
* @type {
|
|
455
|
+
* @type {number}
|
|
456
456
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
457
457
|
*/
|
|
458
|
-
readonly pageSize?:
|
|
458
|
+
readonly pageSize?: number
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
|
-
* 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,
|
|
462
|
-
* @type {
|
|
461
|
+
* 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.
|
|
462
|
+
* @type {string}
|
|
463
463
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
464
464
|
*/
|
|
465
|
-
readonly pageToken?:
|
|
465
|
+
readonly pageToken?: string
|
|
466
466
|
|
|
467
467
|
/**
|
|
468
468
|
* 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: id, name, productSlug</i>
|
|
@@ -473,10 +473,10 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
473
473
|
|
|
474
474
|
/**
|
|
475
475
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
476
|
-
* @type {
|
|
476
|
+
* @type {string}
|
|
477
477
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
478
478
|
*/
|
|
479
|
-
readonly search?:
|
|
479
|
+
readonly search?: string
|
|
480
480
|
|
|
481
481
|
/**
|
|
482
482
|
* 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: id</i>
|
|
@@ -508,7 +508,7 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
508
508
|
*/
|
|
509
509
|
export class ClaimStatusesApi extends BaseAPI {
|
|
510
510
|
/**
|
|
511
|
-
* This creates a claim status in the database
|
|
511
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
512
512
|
* @summary Create the claim status
|
|
513
513
|
* @param {ClaimStatusesApiCreateClaimStatusRequest} requestParameters Request parameters.
|
|
514
514
|
* @param {*} [options] Override http request option.
|
|
@@ -520,7 +520,7 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
520
520
|
}
|
|
521
521
|
|
|
522
522
|
/**
|
|
523
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it.
|
|
523
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
524
524
|
* @summary Delete the claim status
|
|
525
525
|
* @param {ClaimStatusesApiDeleteClaimStatusRequest} requestParameters Request parameters.
|
|
526
526
|
* @param {*} [options] Override http request option.
|
|
@@ -532,7 +532,7 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
|
|
535
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
536
536
|
* @summary Retrieve the claim status
|
|
537
537
|
* @param {ClaimStatusesApiGetClaimStatusRequest} requestParameters Request parameters.
|
|
538
538
|
* @param {*} [options] Override http request option.
|
|
@@ -544,7 +544,7 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
/**
|
|
547
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
547
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
548
548
|
* @summary List claim statuses
|
|
549
549
|
* @param {ClaimStatusesApiListClaimStatusesRequest} requestParameters Request parameters.
|
|
550
550
|
* @param {*} [options] Override http request option.
|