@emilgroup/claim-sdk-node 1.41.1-beta.0 → 1.41.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
|
@@ -46,10 +46,10 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
createClaimRegulation: async (createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
50
|
// verify required parameter 'createRegulationItemRequestDto' is not null or undefined
|
|
51
|
-
assertParamExists('
|
|
52
|
-
const localVarPath = `/v1/
|
|
51
|
+
assertParamExists('createClaimRegulation', 'createRegulationItemRequestDto', createRegulationItemRequestDto)
|
|
52
|
+
const localVarPath = `/claimservice/v1/regulations`;
|
|
53
53
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
54
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
55
|
let baseOptions;
|
|
@@ -86,17 +86,18 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
89
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
90
90
|
* @summary Create the claim regulation item
|
|
91
91
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
92
92
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
93
93
|
* @param {*} [options] Override http request option.
|
|
94
|
+
* @deprecated
|
|
94
95
|
* @throws {RequiredError}
|
|
95
96
|
*/
|
|
96
97
|
createClaimRegulation1: async (createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
97
98
|
// verify required parameter 'createRegulationItemRequestDto' is not null or undefined
|
|
98
99
|
assertParamExists('createClaimRegulation1', 'createRegulationItemRequestDto', createRegulationItemRequestDto)
|
|
99
|
-
const localVarPath = `/
|
|
100
|
+
const localVarPath = `/v1/claims/regulations`;
|
|
100
101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
102
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102
103
|
let baseOptions;
|
|
@@ -140,10 +141,10 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
140
141
|
* @param {*} [options] Override http request option.
|
|
141
142
|
* @throws {RequiredError}
|
|
142
143
|
*/
|
|
143
|
-
|
|
144
|
+
deleteClaimRegulations: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
145
|
// verify required parameter 'code' is not null or undefined
|
|
145
|
-
assertParamExists('
|
|
146
|
-
const localVarPath = `/v1/
|
|
146
|
+
assertParamExists('deleteClaimRegulations', 'code', code)
|
|
147
|
+
const localVarPath = `/claimservice/v1/regulations/{code}`
|
|
147
148
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
148
149
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
149
150
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -178,17 +179,18 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
178
179
|
};
|
|
179
180
|
},
|
|
180
181
|
/**
|
|
181
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
182
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
182
183
|
* @summary Delete the claim regulation item
|
|
183
184
|
* @param {string} code Unique identifier for the object.
|
|
184
185
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
186
|
* @param {*} [options] Override http request option.
|
|
187
|
+
* @deprecated
|
|
186
188
|
* @throws {RequiredError}
|
|
187
189
|
*/
|
|
188
190
|
deleteClaimRegulations1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
189
191
|
// verify required parameter 'code' is not null or undefined
|
|
190
192
|
assertParamExists('deleteClaimRegulations1', 'code', code)
|
|
191
|
-
const localVarPath = `/
|
|
193
|
+
const localVarPath = `/v1/claims/regulations/{code}`
|
|
192
194
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
193
195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
194
196
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -231,10 +233,10 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
231
233
|
* @param {*} [options] Override http request option.
|
|
232
234
|
* @throws {RequiredError}
|
|
233
235
|
*/
|
|
234
|
-
|
|
236
|
+
getClaimRegulation: async (code: string, authorization?: string, expand?: 'claim', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
235
237
|
// verify required parameter 'code' is not null or undefined
|
|
236
|
-
assertParamExists('
|
|
237
|
-
const localVarPath = `/v1/
|
|
238
|
+
assertParamExists('getClaimRegulation', 'code', code)
|
|
239
|
+
const localVarPath = `/claimservice/v1/regulations/{code}`
|
|
238
240
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
239
241
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
240
242
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -273,18 +275,19 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
273
275
|
};
|
|
274
276
|
},
|
|
275
277
|
/**
|
|
276
|
-
* 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\"
|
|
278
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
277
279
|
* @summary Retrieve the claim regulation item
|
|
278
280
|
* @param {string} code
|
|
279
281
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
280
282
|
* @param {'claim'} [expand]
|
|
281
283
|
* @param {*} [options] Override http request option.
|
|
284
|
+
* @deprecated
|
|
282
285
|
* @throws {RequiredError}
|
|
283
286
|
*/
|
|
284
287
|
getClaimRegulation1: async (code: string, authorization?: string, expand?: 'claim', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
285
288
|
// verify required parameter 'code' is not null or undefined
|
|
286
289
|
assertParamExists('getClaimRegulation1', 'code', code)
|
|
287
|
-
const localVarPath = `/
|
|
290
|
+
const localVarPath = `/v1/claims/regulations/{code}`
|
|
288
291
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
289
292
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
290
293
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -336,8 +339,8 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
336
339
|
* @param {*} [options] Override http request option.
|
|
337
340
|
* @throws {RequiredError}
|
|
338
341
|
*/
|
|
339
|
-
|
|
340
|
-
const localVarPath = `/v1/
|
|
342
|
+
listClaimRegulations: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
343
|
+
const localVarPath = `/claimservice/v1/regulations`;
|
|
341
344
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
342
345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
343
346
|
let baseOptions;
|
|
@@ -399,7 +402,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
399
402
|
};
|
|
400
403
|
},
|
|
401
404
|
/**
|
|
402
|
-
* 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\"
|
|
405
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
403
406
|
* @summary List claim regulation items
|
|
404
407
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
405
408
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -410,10 +413,11 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
410
413
|
* @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>
|
|
411
414
|
* @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, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
412
415
|
* @param {*} [options] Override http request option.
|
|
416
|
+
* @deprecated
|
|
413
417
|
* @throws {RequiredError}
|
|
414
418
|
*/
|
|
415
419
|
listClaimRegulations1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
416
|
-
const localVarPath = `/
|
|
420
|
+
const localVarPath = `/v1/claims/regulations`;
|
|
417
421
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
418
422
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
419
423
|
let baseOptions;
|
|
@@ -483,12 +487,12 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
483
487
|
* @param {*} [options] Override http request option.
|
|
484
488
|
* @throws {RequiredError}
|
|
485
489
|
*/
|
|
486
|
-
|
|
490
|
+
updateClaimRegulation: async (code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
487
491
|
// verify required parameter 'code' is not null or undefined
|
|
488
|
-
assertParamExists('
|
|
492
|
+
assertParamExists('updateClaimRegulation', 'code', code)
|
|
489
493
|
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
490
|
-
assertParamExists('
|
|
491
|
-
const localVarPath = `/v1/
|
|
494
|
+
assertParamExists('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto)
|
|
495
|
+
const localVarPath = `/claimservice/v1/regulations/{code}`
|
|
492
496
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
493
497
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
494
498
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -526,12 +530,13 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
526
530
|
};
|
|
527
531
|
},
|
|
528
532
|
/**
|
|
529
|
-
* 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\"
|
|
533
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
530
534
|
* @summary Update the claim regulation item
|
|
531
535
|
* @param {string} code Unique identifier for the object.
|
|
532
536
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
533
537
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
534
538
|
* @param {*} [options] Override http request option.
|
|
539
|
+
* @deprecated
|
|
535
540
|
* @throws {RequiredError}
|
|
536
541
|
*/
|
|
537
542
|
updateClaimRegulation1: async (code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -539,7 +544,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
539
544
|
assertParamExists('updateClaimRegulation1', 'code', code)
|
|
540
545
|
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
541
546
|
assertParamExists('updateClaimRegulation1', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto)
|
|
542
|
-
const localVarPath = `/
|
|
547
|
+
const localVarPath = `/v1/claims/regulations/{code}`
|
|
543
548
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
544
549
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
545
550
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -594,16 +599,17 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
594
599
|
* @param {*} [options] Override http request option.
|
|
595
600
|
* @throws {RequiredError}
|
|
596
601
|
*/
|
|
597
|
-
async
|
|
598
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
602
|
+
async createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
603
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimRegulation(createRegulationItemRequestDto, authorization, options);
|
|
599
604
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
600
605
|
},
|
|
601
606
|
/**
|
|
602
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
607
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
603
608
|
* @summary Create the claim regulation item
|
|
604
609
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
605
610
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
606
611
|
* @param {*} [options] Override http request option.
|
|
612
|
+
* @deprecated
|
|
607
613
|
* @throws {RequiredError}
|
|
608
614
|
*/
|
|
609
615
|
async createClaimRegulation1(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
@@ -618,16 +624,17 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
618
624
|
* @param {*} [options] Override http request option.
|
|
619
625
|
* @throws {RequiredError}
|
|
620
626
|
*/
|
|
621
|
-
async
|
|
622
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
627
|
+
async deleteClaimRegulations(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
628
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimRegulations(code, authorization, options);
|
|
623
629
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
624
630
|
},
|
|
625
631
|
/**
|
|
626
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
632
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
627
633
|
* @summary Delete the claim regulation item
|
|
628
634
|
* @param {string} code Unique identifier for the object.
|
|
629
635
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
630
636
|
* @param {*} [options] Override http request option.
|
|
637
|
+
* @deprecated
|
|
631
638
|
* @throws {RequiredError}
|
|
632
639
|
*/
|
|
633
640
|
async deleteClaimRegulations1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -643,17 +650,18 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
643
650
|
* @param {*} [options] Override http request option.
|
|
644
651
|
* @throws {RequiredError}
|
|
645
652
|
*/
|
|
646
|
-
async
|
|
647
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
653
|
+
async getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
654
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulation(code, authorization, expand, options);
|
|
648
655
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
649
656
|
},
|
|
650
657
|
/**
|
|
651
|
-
* 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\"
|
|
658
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
652
659
|
* @summary Retrieve the claim regulation item
|
|
653
660
|
* @param {string} code
|
|
654
661
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
655
662
|
* @param {'claim'} [expand]
|
|
656
663
|
* @param {*} [options] Override http request option.
|
|
664
|
+
* @deprecated
|
|
657
665
|
* @throws {RequiredError}
|
|
658
666
|
*/
|
|
659
667
|
async getClaimRegulation1(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
@@ -674,12 +682,12 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
674
682
|
* @param {*} [options] Override http request option.
|
|
675
683
|
* @throws {RequiredError}
|
|
676
684
|
*/
|
|
677
|
-
async
|
|
678
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
685
|
+
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>> {
|
|
686
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
679
687
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
680
688
|
},
|
|
681
689
|
/**
|
|
682
|
-
* 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\"
|
|
690
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
683
691
|
* @summary List claim regulation items
|
|
684
692
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
685
693
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -690,6 +698,7 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
690
698
|
* @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>
|
|
691
699
|
* @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, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
692
700
|
* @param {*} [options] Override http request option.
|
|
701
|
+
* @deprecated
|
|
693
702
|
* @throws {RequiredError}
|
|
694
703
|
*/
|
|
695
704
|
async listClaimRegulations1(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>> {
|
|
@@ -705,17 +714,18 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
705
714
|
* @param {*} [options] Override http request option.
|
|
706
715
|
* @throws {RequiredError}
|
|
707
716
|
*/
|
|
708
|
-
async
|
|
709
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
717
|
+
async updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
718
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options);
|
|
710
719
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
711
720
|
},
|
|
712
721
|
/**
|
|
713
|
-
* 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\"
|
|
722
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
714
723
|
* @summary Update the claim regulation item
|
|
715
724
|
* @param {string} code Unique identifier for the object.
|
|
716
725
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
717
726
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
718
727
|
* @param {*} [options] Override http request option.
|
|
728
|
+
* @deprecated
|
|
719
729
|
* @throws {RequiredError}
|
|
720
730
|
*/
|
|
721
731
|
async updateClaimRegulation1(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
@@ -740,15 +750,16 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
740
750
|
* @param {*} [options] Override http request option.
|
|
741
751
|
* @throws {RequiredError}
|
|
742
752
|
*/
|
|
743
|
-
|
|
744
|
-
return localVarFp.
|
|
753
|
+
createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
754
|
+
return localVarFp.createClaimRegulation(createRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
745
755
|
},
|
|
746
756
|
/**
|
|
747
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
757
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
748
758
|
* @summary Create the claim regulation item
|
|
749
759
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
750
760
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
751
761
|
* @param {*} [options] Override http request option.
|
|
762
|
+
* @deprecated
|
|
752
763
|
* @throws {RequiredError}
|
|
753
764
|
*/
|
|
754
765
|
createClaimRegulation1(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
@@ -762,15 +773,16 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
762
773
|
* @param {*} [options] Override http request option.
|
|
763
774
|
* @throws {RequiredError}
|
|
764
775
|
*/
|
|
765
|
-
|
|
766
|
-
return localVarFp.
|
|
776
|
+
deleteClaimRegulations(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
777
|
+
return localVarFp.deleteClaimRegulations(code, authorization, options).then((request) => request(axios, basePath));
|
|
767
778
|
},
|
|
768
779
|
/**
|
|
769
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
780
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
770
781
|
* @summary Delete the claim regulation item
|
|
771
782
|
* @param {string} code Unique identifier for the object.
|
|
772
783
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
773
784
|
* @param {*} [options] Override http request option.
|
|
785
|
+
* @deprecated
|
|
774
786
|
* @throws {RequiredError}
|
|
775
787
|
*/
|
|
776
788
|
deleteClaimRegulations1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
@@ -785,16 +797,17 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
785
797
|
* @param {*} [options] Override http request option.
|
|
786
798
|
* @throws {RequiredError}
|
|
787
799
|
*/
|
|
788
|
-
|
|
789
|
-
return localVarFp.
|
|
800
|
+
getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
801
|
+
return localVarFp.getClaimRegulation(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
790
802
|
},
|
|
791
803
|
/**
|
|
792
|
-
* 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\"
|
|
804
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
793
805
|
* @summary Retrieve the claim regulation item
|
|
794
806
|
* @param {string} code
|
|
795
807
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
796
808
|
* @param {'claim'} [expand]
|
|
797
809
|
* @param {*} [options] Override http request option.
|
|
810
|
+
* @deprecated
|
|
798
811
|
* @throws {RequiredError}
|
|
799
812
|
*/
|
|
800
813
|
getClaimRegulation1(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
@@ -814,11 +827,11 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
814
827
|
* @param {*} [options] Override http request option.
|
|
815
828
|
* @throws {RequiredError}
|
|
816
829
|
*/
|
|
817
|
-
|
|
818
|
-
return localVarFp.
|
|
830
|
+
listClaimRegulations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
|
|
831
|
+
return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
819
832
|
},
|
|
820
833
|
/**
|
|
821
|
-
* 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\"
|
|
834
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
822
835
|
* @summary List claim regulation items
|
|
823
836
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
824
837
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -829,6 +842,7 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
829
842
|
* @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>
|
|
830
843
|
* @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, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
831
844
|
* @param {*} [options] Override http request option.
|
|
845
|
+
* @deprecated
|
|
832
846
|
* @throws {RequiredError}
|
|
833
847
|
*/
|
|
834
848
|
listClaimRegulations1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
|
|
@@ -843,16 +857,17 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
843
857
|
* @param {*} [options] Override http request option.
|
|
844
858
|
* @throws {RequiredError}
|
|
845
859
|
*/
|
|
846
|
-
|
|
847
|
-
return localVarFp.
|
|
860
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
861
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
848
862
|
},
|
|
849
863
|
/**
|
|
850
|
-
* 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\"
|
|
864
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
851
865
|
* @summary Update the claim regulation item
|
|
852
866
|
* @param {string} code Unique identifier for the object.
|
|
853
867
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
854
868
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
855
869
|
* @param {*} [options] Override http request option.
|
|
870
|
+
* @deprecated
|
|
856
871
|
* @throws {RequiredError}
|
|
857
872
|
*/
|
|
858
873
|
updateClaimRegulation1(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
@@ -862,22 +877,22 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
862
877
|
};
|
|
863
878
|
|
|
864
879
|
/**
|
|
865
|
-
* Request parameters for
|
|
880
|
+
* Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
|
|
866
881
|
* @export
|
|
867
|
-
* @interface
|
|
882
|
+
* @interface ClaimRegulationsApiCreateClaimRegulationRequest
|
|
868
883
|
*/
|
|
869
|
-
export interface
|
|
884
|
+
export interface ClaimRegulationsApiCreateClaimRegulationRequest {
|
|
870
885
|
/**
|
|
871
886
|
*
|
|
872
887
|
* @type {CreateRegulationItemRequestDto}
|
|
873
|
-
* @memberof
|
|
888
|
+
* @memberof ClaimRegulationsApiCreateClaimRegulation
|
|
874
889
|
*/
|
|
875
890
|
readonly createRegulationItemRequestDto: CreateRegulationItemRequestDto
|
|
876
891
|
|
|
877
892
|
/**
|
|
878
893
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
879
894
|
* @type {string}
|
|
880
|
-
* @memberof
|
|
895
|
+
* @memberof ClaimRegulationsApiCreateClaimRegulation
|
|
881
896
|
*/
|
|
882
897
|
readonly authorization?: string
|
|
883
898
|
}
|
|
@@ -904,22 +919,22 @@ export interface ClaimRegulationsApiCreateClaimRegulation1Request {
|
|
|
904
919
|
}
|
|
905
920
|
|
|
906
921
|
/**
|
|
907
|
-
* Request parameters for
|
|
922
|
+
* Request parameters for deleteClaimRegulations operation in ClaimRegulationsApi.
|
|
908
923
|
* @export
|
|
909
|
-
* @interface
|
|
924
|
+
* @interface ClaimRegulationsApiDeleteClaimRegulationsRequest
|
|
910
925
|
*/
|
|
911
|
-
export interface
|
|
926
|
+
export interface ClaimRegulationsApiDeleteClaimRegulationsRequest {
|
|
912
927
|
/**
|
|
913
928
|
* Unique identifier for the object.
|
|
914
929
|
* @type {string}
|
|
915
|
-
* @memberof
|
|
930
|
+
* @memberof ClaimRegulationsApiDeleteClaimRegulations
|
|
916
931
|
*/
|
|
917
932
|
readonly code: string
|
|
918
933
|
|
|
919
934
|
/**
|
|
920
935
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
921
936
|
* @type {string}
|
|
922
|
-
* @memberof
|
|
937
|
+
* @memberof ClaimRegulationsApiDeleteClaimRegulations
|
|
923
938
|
*/
|
|
924
939
|
readonly authorization?: string
|
|
925
940
|
}
|
|
@@ -946,29 +961,29 @@ export interface ClaimRegulationsApiDeleteClaimRegulations1Request {
|
|
|
946
961
|
}
|
|
947
962
|
|
|
948
963
|
/**
|
|
949
|
-
* Request parameters for
|
|
964
|
+
* Request parameters for getClaimRegulation operation in ClaimRegulationsApi.
|
|
950
965
|
* @export
|
|
951
|
-
* @interface
|
|
966
|
+
* @interface ClaimRegulationsApiGetClaimRegulationRequest
|
|
952
967
|
*/
|
|
953
|
-
export interface
|
|
968
|
+
export interface ClaimRegulationsApiGetClaimRegulationRequest {
|
|
954
969
|
/**
|
|
955
970
|
*
|
|
956
971
|
* @type {string}
|
|
957
|
-
* @memberof
|
|
972
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
958
973
|
*/
|
|
959
974
|
readonly code: string
|
|
960
975
|
|
|
961
976
|
/**
|
|
962
977
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
963
978
|
* @type {string}
|
|
964
|
-
* @memberof
|
|
979
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
965
980
|
*/
|
|
966
981
|
readonly authorization?: string
|
|
967
982
|
|
|
968
983
|
/**
|
|
969
984
|
*
|
|
970
985
|
* @type {'claim'}
|
|
971
|
-
* @memberof
|
|
986
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
972
987
|
*/
|
|
973
988
|
readonly expand?: 'claim'
|
|
974
989
|
}
|
|
@@ -1002,64 +1017,64 @@ export interface ClaimRegulationsApiGetClaimRegulation1Request {
|
|
|
1002
1017
|
}
|
|
1003
1018
|
|
|
1004
1019
|
/**
|
|
1005
|
-
* Request parameters for
|
|
1020
|
+
* Request parameters for listClaimRegulations operation in ClaimRegulationsApi.
|
|
1006
1021
|
* @export
|
|
1007
|
-
* @interface
|
|
1022
|
+
* @interface ClaimRegulationsApiListClaimRegulationsRequest
|
|
1008
1023
|
*/
|
|
1009
|
-
export interface
|
|
1024
|
+
export interface ClaimRegulationsApiListClaimRegulationsRequest {
|
|
1010
1025
|
/**
|
|
1011
1026
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1012
1027
|
* @type {string}
|
|
1013
|
-
* @memberof
|
|
1028
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1014
1029
|
*/
|
|
1015
1030
|
readonly authorization?: string
|
|
1016
1031
|
|
|
1017
1032
|
/**
|
|
1018
1033
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1019
1034
|
* @type {number}
|
|
1020
|
-
* @memberof
|
|
1035
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1021
1036
|
*/
|
|
1022
1037
|
readonly pageSize?: number
|
|
1023
1038
|
|
|
1024
1039
|
/**
|
|
1025
1040
|
* 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.
|
|
1026
1041
|
* @type {string}
|
|
1027
|
-
* @memberof
|
|
1042
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1028
1043
|
*/
|
|
1029
1044
|
readonly pageToken?: string
|
|
1030
1045
|
|
|
1031
1046
|
/**
|
|
1032
1047
|
* 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, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
1033
1048
|
* @type {string}
|
|
1034
|
-
* @memberof
|
|
1049
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1035
1050
|
*/
|
|
1036
1051
|
readonly filter?: string
|
|
1037
1052
|
|
|
1038
1053
|
/**
|
|
1039
1054
|
* 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>
|
|
1040
1055
|
* @type {string}
|
|
1041
|
-
* @memberof
|
|
1056
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1042
1057
|
*/
|
|
1043
1058
|
readonly search?: string
|
|
1044
1059
|
|
|
1045
1060
|
/**
|
|
1046
1061
|
* 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>
|
|
1047
1062
|
* @type {string}
|
|
1048
|
-
* @memberof
|
|
1063
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1049
1064
|
*/
|
|
1050
1065
|
readonly order?: string
|
|
1051
1066
|
|
|
1052
1067
|
/**
|
|
1053
1068
|
* 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>
|
|
1054
1069
|
* @type {string}
|
|
1055
|
-
* @memberof
|
|
1070
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1056
1071
|
*/
|
|
1057
1072
|
readonly expand?: string
|
|
1058
1073
|
|
|
1059
1074
|
/**
|
|
1060
1075
|
* 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, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
1061
1076
|
* @type {string}
|
|
1062
|
-
* @memberof
|
|
1077
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1063
1078
|
*/
|
|
1064
1079
|
readonly filters?: string
|
|
1065
1080
|
}
|
|
@@ -1128,29 +1143,29 @@ export interface ClaimRegulationsApiListClaimRegulations1Request {
|
|
|
1128
1143
|
}
|
|
1129
1144
|
|
|
1130
1145
|
/**
|
|
1131
|
-
* Request parameters for
|
|
1146
|
+
* Request parameters for updateClaimRegulation operation in ClaimRegulationsApi.
|
|
1132
1147
|
* @export
|
|
1133
|
-
* @interface
|
|
1148
|
+
* @interface ClaimRegulationsApiUpdateClaimRegulationRequest
|
|
1134
1149
|
*/
|
|
1135
|
-
export interface
|
|
1150
|
+
export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
1136
1151
|
/**
|
|
1137
1152
|
* Unique identifier for the object.
|
|
1138
1153
|
* @type {string}
|
|
1139
|
-
* @memberof
|
|
1154
|
+
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
1140
1155
|
*/
|
|
1141
1156
|
readonly code: string
|
|
1142
1157
|
|
|
1143
1158
|
/**
|
|
1144
1159
|
*
|
|
1145
1160
|
* @type {UpdateRegulationItemRequestDto}
|
|
1146
|
-
* @memberof
|
|
1161
|
+
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
1147
1162
|
*/
|
|
1148
1163
|
readonly updateRegulationItemRequestDto: UpdateRegulationItemRequestDto
|
|
1149
1164
|
|
|
1150
1165
|
/**
|
|
1151
1166
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1152
1167
|
* @type {string}
|
|
1153
|
-
* @memberof
|
|
1168
|
+
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
1154
1169
|
*/
|
|
1155
1170
|
readonly authorization?: string
|
|
1156
1171
|
}
|
|
@@ -1193,20 +1208,21 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
1193
1208
|
/**
|
|
1194
1209
|
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
1195
1210
|
* @summary Create the claim regulation item
|
|
1196
|
-
* @param {
|
|
1211
|
+
* @param {ClaimRegulationsApiCreateClaimRegulationRequest} requestParameters Request parameters.
|
|
1197
1212
|
* @param {*} [options] Override http request option.
|
|
1198
1213
|
* @throws {RequiredError}
|
|
1199
1214
|
* @memberof ClaimRegulationsApi
|
|
1200
1215
|
*/
|
|
1201
|
-
public
|
|
1202
|
-
return ClaimRegulationsApiFp(this.configuration).
|
|
1216
|
+
public createClaimRegulation(requestParameters: ClaimRegulationsApiCreateClaimRegulationRequest, options?: AxiosRequestConfig) {
|
|
1217
|
+
return ClaimRegulationsApiFp(this.configuration).createClaimRegulation(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1203
1218
|
}
|
|
1204
1219
|
|
|
1205
1220
|
/**
|
|
1206
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
1221
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1207
1222
|
* @summary Create the claim regulation item
|
|
1208
1223
|
* @param {ClaimRegulationsApiCreateClaimRegulation1Request} requestParameters Request parameters.
|
|
1209
1224
|
* @param {*} [options] Override http request option.
|
|
1225
|
+
* @deprecated
|
|
1210
1226
|
* @throws {RequiredError}
|
|
1211
1227
|
* @memberof ClaimRegulationsApi
|
|
1212
1228
|
*/
|
|
@@ -1217,20 +1233,21 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
1217
1233
|
/**
|
|
1218
1234
|
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
1219
1235
|
* @summary Delete the claim regulation item
|
|
1220
|
-
* @param {
|
|
1236
|
+
* @param {ClaimRegulationsApiDeleteClaimRegulationsRequest} requestParameters Request parameters.
|
|
1221
1237
|
* @param {*} [options] Override http request option.
|
|
1222
1238
|
* @throws {RequiredError}
|
|
1223
1239
|
* @memberof ClaimRegulationsApi
|
|
1224
1240
|
*/
|
|
1225
|
-
public
|
|
1226
|
-
return ClaimRegulationsApiFp(this.configuration).
|
|
1241
|
+
public deleteClaimRegulations(requestParameters: ClaimRegulationsApiDeleteClaimRegulationsRequest, options?: AxiosRequestConfig) {
|
|
1242
|
+
return ClaimRegulationsApiFp(this.configuration).deleteClaimRegulations(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1227
1243
|
}
|
|
1228
1244
|
|
|
1229
1245
|
/**
|
|
1230
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
1246
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1231
1247
|
* @summary Delete the claim regulation item
|
|
1232
1248
|
* @param {ClaimRegulationsApiDeleteClaimRegulations1Request} requestParameters Request parameters.
|
|
1233
1249
|
* @param {*} [options] Override http request option.
|
|
1250
|
+
* @deprecated
|
|
1234
1251
|
* @throws {RequiredError}
|
|
1235
1252
|
* @memberof ClaimRegulationsApi
|
|
1236
1253
|
*/
|
|
@@ -1241,20 +1258,21 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
1241
1258
|
/**
|
|
1242
1259
|
* 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\"
|
|
1243
1260
|
* @summary Retrieve the claim regulation item
|
|
1244
|
-
* @param {
|
|
1261
|
+
* @param {ClaimRegulationsApiGetClaimRegulationRequest} requestParameters Request parameters.
|
|
1245
1262
|
* @param {*} [options] Override http request option.
|
|
1246
1263
|
* @throws {RequiredError}
|
|
1247
1264
|
* @memberof ClaimRegulationsApi
|
|
1248
1265
|
*/
|
|
1249
|
-
public
|
|
1250
|
-
return ClaimRegulationsApiFp(this.configuration).
|
|
1266
|
+
public getClaimRegulation(requestParameters: ClaimRegulationsApiGetClaimRegulationRequest, options?: AxiosRequestConfig) {
|
|
1267
|
+
return ClaimRegulationsApiFp(this.configuration).getClaimRegulation(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1251
1268
|
}
|
|
1252
1269
|
|
|
1253
1270
|
/**
|
|
1254
|
-
* 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\"
|
|
1271
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1255
1272
|
* @summary Retrieve the claim regulation item
|
|
1256
1273
|
* @param {ClaimRegulationsApiGetClaimRegulation1Request} requestParameters Request parameters.
|
|
1257
1274
|
* @param {*} [options] Override http request option.
|
|
1275
|
+
* @deprecated
|
|
1258
1276
|
* @throws {RequiredError}
|
|
1259
1277
|
* @memberof ClaimRegulationsApi
|
|
1260
1278
|
*/
|
|
@@ -1265,20 +1283,21 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
1265
1283
|
/**
|
|
1266
1284
|
* 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\"
|
|
1267
1285
|
* @summary List claim regulation items
|
|
1268
|
-
* @param {
|
|
1286
|
+
* @param {ClaimRegulationsApiListClaimRegulationsRequest} requestParameters Request parameters.
|
|
1269
1287
|
* @param {*} [options] Override http request option.
|
|
1270
1288
|
* @throws {RequiredError}
|
|
1271
1289
|
* @memberof ClaimRegulationsApi
|
|
1272
1290
|
*/
|
|
1273
|
-
public
|
|
1274
|
-
return ClaimRegulationsApiFp(this.configuration).
|
|
1291
|
+
public listClaimRegulations(requestParameters: ClaimRegulationsApiListClaimRegulationsRequest = {}, options?: AxiosRequestConfig) {
|
|
1292
|
+
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));
|
|
1275
1293
|
}
|
|
1276
1294
|
|
|
1277
1295
|
/**
|
|
1278
|
-
* 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\"
|
|
1296
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1279
1297
|
* @summary List claim regulation items
|
|
1280
1298
|
* @param {ClaimRegulationsApiListClaimRegulations1Request} requestParameters Request parameters.
|
|
1281
1299
|
* @param {*} [options] Override http request option.
|
|
1300
|
+
* @deprecated
|
|
1282
1301
|
* @throws {RequiredError}
|
|
1283
1302
|
* @memberof ClaimRegulationsApi
|
|
1284
1303
|
*/
|
|
@@ -1289,20 +1308,21 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
1289
1308
|
/**
|
|
1290
1309
|
* 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\"
|
|
1291
1310
|
* @summary Update the claim regulation item
|
|
1292
|
-
* @param {
|
|
1311
|
+
* @param {ClaimRegulationsApiUpdateClaimRegulationRequest} requestParameters Request parameters.
|
|
1293
1312
|
* @param {*} [options] Override http request option.
|
|
1294
1313
|
* @throws {RequiredError}
|
|
1295
1314
|
* @memberof ClaimRegulationsApi
|
|
1296
1315
|
*/
|
|
1297
|
-
public
|
|
1298
|
-
return ClaimRegulationsApiFp(this.configuration).
|
|
1316
|
+
public updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig) {
|
|
1317
|
+
return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1299
1318
|
}
|
|
1300
1319
|
|
|
1301
1320
|
/**
|
|
1302
|
-
* 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\"
|
|
1321
|
+
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1303
1322
|
* @summary Update the claim regulation item
|
|
1304
1323
|
* @param {ClaimRegulationsApiUpdateClaimRegulation1Request} requestParameters Request parameters.
|
|
1305
1324
|
* @param {*} [options] Override http request option.
|
|
1325
|
+
* @deprecated
|
|
1306
1326
|
* @throws {RequiredError}
|
|
1307
1327
|
* @memberof ClaimRegulationsApi
|
|
1308
1328
|
*/
|