@emilgroup/claim-sdk 1.43.1-beta.0 → 1.43.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
|
@@ -42,10 +42,10 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
createClaimRegulation: async (createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
46
|
// verify required parameter 'createRegulationItemRequestDto' is not null or undefined
|
|
47
|
-
assertParamExists('
|
|
48
|
-
const localVarPath = `/v1/
|
|
47
|
+
assertParamExists('createClaimRegulation', 'createRegulationItemRequestDto', createRegulationItemRequestDto)
|
|
48
|
+
const localVarPath = `/claimservice/v1/regulations`;
|
|
49
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
50
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51
51
|
let baseOptions;
|
|
@@ -82,17 +82,18 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
82
82
|
};
|
|
83
83
|
},
|
|
84
84
|
/**
|
|
85
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
85
|
+
* 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.
|
|
86
86
|
* @summary Create the claim regulation item
|
|
87
87
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
88
88
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
|
+
* @deprecated
|
|
90
91
|
* @throws {RequiredError}
|
|
91
92
|
*/
|
|
92
93
|
createClaimRegulation1: async (createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
93
94
|
// verify required parameter 'createRegulationItemRequestDto' is not null or undefined
|
|
94
95
|
assertParamExists('createClaimRegulation1', 'createRegulationItemRequestDto', createRegulationItemRequestDto)
|
|
95
|
-
const localVarPath = `/
|
|
96
|
+
const localVarPath = `/v1/claims/regulations`;
|
|
96
97
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
97
98
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
98
99
|
let baseOptions;
|
|
@@ -136,10 +137,10 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
136
137
|
* @param {*} [options] Override http request option.
|
|
137
138
|
* @throws {RequiredError}
|
|
138
139
|
*/
|
|
139
|
-
|
|
140
|
+
deleteClaimRegulations: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140
141
|
// verify required parameter 'code' is not null or undefined
|
|
141
|
-
assertParamExists('
|
|
142
|
-
const localVarPath = `/v1/
|
|
142
|
+
assertParamExists('deleteClaimRegulations', 'code', code)
|
|
143
|
+
const localVarPath = `/claimservice/v1/regulations/{code}`
|
|
143
144
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
144
145
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
145
146
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -174,17 +175,18 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
174
175
|
};
|
|
175
176
|
},
|
|
176
177
|
/**
|
|
177
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
178
|
+
* 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.
|
|
178
179
|
* @summary Delete the claim regulation item
|
|
179
180
|
* @param {string} code Unique identifier for the object.
|
|
180
181
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
181
182
|
* @param {*} [options] Override http request option.
|
|
183
|
+
* @deprecated
|
|
182
184
|
* @throws {RequiredError}
|
|
183
185
|
*/
|
|
184
186
|
deleteClaimRegulations1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
185
187
|
// verify required parameter 'code' is not null or undefined
|
|
186
188
|
assertParamExists('deleteClaimRegulations1', 'code', code)
|
|
187
|
-
const localVarPath = `/
|
|
189
|
+
const localVarPath = `/v1/claims/regulations/{code}`
|
|
188
190
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
189
191
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
190
192
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -227,10 +229,10 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
227
229
|
* @param {*} [options] Override http request option.
|
|
228
230
|
* @throws {RequiredError}
|
|
229
231
|
*/
|
|
230
|
-
|
|
232
|
+
getClaimRegulation: async (code: string, authorization?: string, expand?: 'claim', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
231
233
|
// verify required parameter 'code' is not null or undefined
|
|
232
|
-
assertParamExists('
|
|
233
|
-
const localVarPath = `/v1/
|
|
234
|
+
assertParamExists('getClaimRegulation', 'code', code)
|
|
235
|
+
const localVarPath = `/claimservice/v1/regulations/{code}`
|
|
234
236
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
235
237
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
236
238
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -269,18 +271,19 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
269
271
|
};
|
|
270
272
|
},
|
|
271
273
|
/**
|
|
272
|
-
* 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\"
|
|
274
|
+
* 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.
|
|
273
275
|
* @summary Retrieve the claim regulation item
|
|
274
276
|
* @param {string} code
|
|
275
277
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
276
278
|
* @param {'claim'} [expand]
|
|
277
279
|
* @param {*} [options] Override http request option.
|
|
280
|
+
* @deprecated
|
|
278
281
|
* @throws {RequiredError}
|
|
279
282
|
*/
|
|
280
283
|
getClaimRegulation1: async (code: string, authorization?: string, expand?: 'claim', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
281
284
|
// verify required parameter 'code' is not null or undefined
|
|
282
285
|
assertParamExists('getClaimRegulation1', 'code', code)
|
|
283
|
-
const localVarPath = `/
|
|
286
|
+
const localVarPath = `/v1/claims/regulations/{code}`
|
|
284
287
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
285
288
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
286
289
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -332,8 +335,8 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
332
335
|
* @param {*} [options] Override http request option.
|
|
333
336
|
* @throws {RequiredError}
|
|
334
337
|
*/
|
|
335
|
-
|
|
336
|
-
const localVarPath = `/v1/
|
|
338
|
+
listClaimRegulations: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
339
|
+
const localVarPath = `/claimservice/v1/regulations`;
|
|
337
340
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
338
341
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
339
342
|
let baseOptions;
|
|
@@ -395,7 +398,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
395
398
|
};
|
|
396
399
|
},
|
|
397
400
|
/**
|
|
398
|
-
* 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\"
|
|
401
|
+
* 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.
|
|
399
402
|
* @summary List claim regulation items
|
|
400
403
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
401
404
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -406,10 +409,11 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
406
409
|
* @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>
|
|
407
410
|
* @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>
|
|
408
411
|
* @param {*} [options] Override http request option.
|
|
412
|
+
* @deprecated
|
|
409
413
|
* @throws {RequiredError}
|
|
410
414
|
*/
|
|
411
415
|
listClaimRegulations1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
412
|
-
const localVarPath = `/
|
|
416
|
+
const localVarPath = `/v1/claims/regulations`;
|
|
413
417
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
414
418
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
415
419
|
let baseOptions;
|
|
@@ -479,12 +483,12 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
479
483
|
* @param {*} [options] Override http request option.
|
|
480
484
|
* @throws {RequiredError}
|
|
481
485
|
*/
|
|
482
|
-
|
|
486
|
+
updateClaimRegulation: async (code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
483
487
|
// verify required parameter 'code' is not null or undefined
|
|
484
|
-
assertParamExists('
|
|
488
|
+
assertParamExists('updateClaimRegulation', 'code', code)
|
|
485
489
|
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
486
|
-
assertParamExists('
|
|
487
|
-
const localVarPath = `/v1/
|
|
490
|
+
assertParamExists('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto)
|
|
491
|
+
const localVarPath = `/claimservice/v1/regulations/{code}`
|
|
488
492
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
489
493
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
490
494
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -522,12 +526,13 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
522
526
|
};
|
|
523
527
|
},
|
|
524
528
|
/**
|
|
525
|
-
* 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\"
|
|
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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
526
530
|
* @summary Update the claim regulation item
|
|
527
531
|
* @param {string} code Unique identifier for the object.
|
|
528
532
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
529
533
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
530
534
|
* @param {*} [options] Override http request option.
|
|
535
|
+
* @deprecated
|
|
531
536
|
* @throws {RequiredError}
|
|
532
537
|
*/
|
|
533
538
|
updateClaimRegulation1: async (code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -535,7 +540,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
|
|
|
535
540
|
assertParamExists('updateClaimRegulation1', 'code', code)
|
|
536
541
|
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
537
542
|
assertParamExists('updateClaimRegulation1', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto)
|
|
538
|
-
const localVarPath = `/
|
|
543
|
+
const localVarPath = `/v1/claims/regulations/{code}`
|
|
539
544
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
540
545
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
541
546
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -590,16 +595,17 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
590
595
|
* @param {*} [options] Override http request option.
|
|
591
596
|
* @throws {RequiredError}
|
|
592
597
|
*/
|
|
593
|
-
async
|
|
594
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
598
|
+
async createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
599
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimRegulation(createRegulationItemRequestDto, authorization, options);
|
|
595
600
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
596
601
|
},
|
|
597
602
|
/**
|
|
598
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
603
|
+
* 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.
|
|
599
604
|
* @summary Create the claim regulation item
|
|
600
605
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
601
606
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
602
607
|
* @param {*} [options] Override http request option.
|
|
608
|
+
* @deprecated
|
|
603
609
|
* @throws {RequiredError}
|
|
604
610
|
*/
|
|
605
611
|
async createClaimRegulation1(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
@@ -614,16 +620,17 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
614
620
|
* @param {*} [options] Override http request option.
|
|
615
621
|
* @throws {RequiredError}
|
|
616
622
|
*/
|
|
617
|
-
async
|
|
618
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
623
|
+
async deleteClaimRegulations(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
624
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimRegulations(code, authorization, options);
|
|
619
625
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
620
626
|
},
|
|
621
627
|
/**
|
|
622
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
628
|
+
* 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.
|
|
623
629
|
* @summary Delete the claim regulation item
|
|
624
630
|
* @param {string} code Unique identifier for the object.
|
|
625
631
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
626
632
|
* @param {*} [options] Override http request option.
|
|
633
|
+
* @deprecated
|
|
627
634
|
* @throws {RequiredError}
|
|
628
635
|
*/
|
|
629
636
|
async deleteClaimRegulations1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -639,17 +646,18 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
639
646
|
* @param {*} [options] Override http request option.
|
|
640
647
|
* @throws {RequiredError}
|
|
641
648
|
*/
|
|
642
|
-
async
|
|
643
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
649
|
+
async getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
650
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulation(code, authorization, expand, options);
|
|
644
651
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
645
652
|
},
|
|
646
653
|
/**
|
|
647
|
-
* 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
|
+
* 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.
|
|
648
655
|
* @summary Retrieve the claim regulation item
|
|
649
656
|
* @param {string} code
|
|
650
657
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
651
658
|
* @param {'claim'} [expand]
|
|
652
659
|
* @param {*} [options] Override http request option.
|
|
660
|
+
* @deprecated
|
|
653
661
|
* @throws {RequiredError}
|
|
654
662
|
*/
|
|
655
663
|
async getClaimRegulation1(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
@@ -670,12 +678,12 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
670
678
|
* @param {*} [options] Override http request option.
|
|
671
679
|
* @throws {RequiredError}
|
|
672
680
|
*/
|
|
673
|
-
async
|
|
674
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
681
|
+
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>> {
|
|
682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
675
683
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
676
684
|
},
|
|
677
685
|
/**
|
|
678
|
-
* 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\"
|
|
686
|
+
* 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.
|
|
679
687
|
* @summary List claim regulation items
|
|
680
688
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
681
689
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -686,6 +694,7 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
686
694
|
* @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>
|
|
687
695
|
* @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>
|
|
688
696
|
* @param {*} [options] Override http request option.
|
|
697
|
+
* @deprecated
|
|
689
698
|
* @throws {RequiredError}
|
|
690
699
|
*/
|
|
691
700
|
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>> {
|
|
@@ -701,17 +710,18 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
|
|
|
701
710
|
* @param {*} [options] Override http request option.
|
|
702
711
|
* @throws {RequiredError}
|
|
703
712
|
*/
|
|
704
|
-
async
|
|
705
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
713
|
+
async updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options);
|
|
706
715
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
707
716
|
},
|
|
708
717
|
/**
|
|
709
|
-
* 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\"
|
|
718
|
+
* 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.
|
|
710
719
|
* @summary Update the claim regulation item
|
|
711
720
|
* @param {string} code Unique identifier for the object.
|
|
712
721
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
713
722
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
714
723
|
* @param {*} [options] Override http request option.
|
|
724
|
+
* @deprecated
|
|
715
725
|
* @throws {RequiredError}
|
|
716
726
|
*/
|
|
717
727
|
async updateClaimRegulation1(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
|
|
@@ -736,15 +746,16 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
736
746
|
* @param {*} [options] Override http request option.
|
|
737
747
|
* @throws {RequiredError}
|
|
738
748
|
*/
|
|
739
|
-
|
|
740
|
-
return localVarFp.
|
|
749
|
+
createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
750
|
+
return localVarFp.createClaimRegulation(createRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
741
751
|
},
|
|
742
752
|
/**
|
|
743
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
753
|
+
* 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.
|
|
744
754
|
* @summary Create the claim regulation item
|
|
745
755
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
746
756
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
747
757
|
* @param {*} [options] Override http request option.
|
|
758
|
+
* @deprecated
|
|
748
759
|
* @throws {RequiredError}
|
|
749
760
|
*/
|
|
750
761
|
createClaimRegulation1(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
@@ -758,15 +769,16 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
758
769
|
* @param {*} [options] Override http request option.
|
|
759
770
|
* @throws {RequiredError}
|
|
760
771
|
*/
|
|
761
|
-
|
|
762
|
-
return localVarFp.
|
|
772
|
+
deleteClaimRegulations(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
773
|
+
return localVarFp.deleteClaimRegulations(code, authorization, options).then((request) => request(axios, basePath));
|
|
763
774
|
},
|
|
764
775
|
/**
|
|
765
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
776
|
+
* 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.
|
|
766
777
|
* @summary Delete the claim regulation item
|
|
767
778
|
* @param {string} code Unique identifier for the object.
|
|
768
779
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
769
780
|
* @param {*} [options] Override http request option.
|
|
781
|
+
* @deprecated
|
|
770
782
|
* @throws {RequiredError}
|
|
771
783
|
*/
|
|
772
784
|
deleteClaimRegulations1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
@@ -781,16 +793,17 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
781
793
|
* @param {*} [options] Override http request option.
|
|
782
794
|
* @throws {RequiredError}
|
|
783
795
|
*/
|
|
784
|
-
|
|
785
|
-
return localVarFp.
|
|
796
|
+
getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
797
|
+
return localVarFp.getClaimRegulation(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
786
798
|
},
|
|
787
799
|
/**
|
|
788
|
-
* 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\"
|
|
800
|
+
* 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.
|
|
789
801
|
* @summary Retrieve the claim regulation item
|
|
790
802
|
* @param {string} code
|
|
791
803
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
792
804
|
* @param {'claim'} [expand]
|
|
793
805
|
* @param {*} [options] Override http request option.
|
|
806
|
+
* @deprecated
|
|
794
807
|
* @throws {RequiredError}
|
|
795
808
|
*/
|
|
796
809
|
getClaimRegulation1(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
@@ -810,11 +823,11 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
810
823
|
* @param {*} [options] Override http request option.
|
|
811
824
|
* @throws {RequiredError}
|
|
812
825
|
*/
|
|
813
|
-
|
|
814
|
-
return localVarFp.
|
|
826
|
+
listClaimRegulations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
|
|
827
|
+
return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
815
828
|
},
|
|
816
829
|
/**
|
|
817
|
-
* 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\"
|
|
830
|
+
* 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.
|
|
818
831
|
* @summary List claim regulation items
|
|
819
832
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
820
833
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -825,6 +838,7 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
825
838
|
* @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>
|
|
826
839
|
* @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>
|
|
827
840
|
* @param {*} [options] Override http request option.
|
|
841
|
+
* @deprecated
|
|
828
842
|
* @throws {RequiredError}
|
|
829
843
|
*/
|
|
830
844
|
listClaimRegulations1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
|
|
@@ -839,16 +853,17 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
839
853
|
* @param {*} [options] Override http request option.
|
|
840
854
|
* @throws {RequiredError}
|
|
841
855
|
*/
|
|
842
|
-
|
|
843
|
-
return localVarFp.
|
|
856
|
+
updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
857
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
844
858
|
},
|
|
845
859
|
/**
|
|
846
|
-
* 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\"
|
|
860
|
+
* 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.
|
|
847
861
|
* @summary Update the claim regulation item
|
|
848
862
|
* @param {string} code Unique identifier for the object.
|
|
849
863
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
850
864
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
851
865
|
* @param {*} [options] Override http request option.
|
|
866
|
+
* @deprecated
|
|
852
867
|
* @throws {RequiredError}
|
|
853
868
|
*/
|
|
854
869
|
updateClaimRegulation1(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
|
|
@@ -858,22 +873,22 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
|
|
|
858
873
|
};
|
|
859
874
|
|
|
860
875
|
/**
|
|
861
|
-
* Request parameters for
|
|
876
|
+
* Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
|
|
862
877
|
* @export
|
|
863
|
-
* @interface
|
|
878
|
+
* @interface ClaimRegulationsApiCreateClaimRegulationRequest
|
|
864
879
|
*/
|
|
865
|
-
export interface
|
|
880
|
+
export interface ClaimRegulationsApiCreateClaimRegulationRequest {
|
|
866
881
|
/**
|
|
867
882
|
*
|
|
868
883
|
* @type {CreateRegulationItemRequestDto}
|
|
869
|
-
* @memberof
|
|
884
|
+
* @memberof ClaimRegulationsApiCreateClaimRegulation
|
|
870
885
|
*/
|
|
871
886
|
readonly createRegulationItemRequestDto: CreateRegulationItemRequestDto
|
|
872
887
|
|
|
873
888
|
/**
|
|
874
889
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
875
890
|
* @type {string}
|
|
876
|
-
* @memberof
|
|
891
|
+
* @memberof ClaimRegulationsApiCreateClaimRegulation
|
|
877
892
|
*/
|
|
878
893
|
readonly authorization?: string
|
|
879
894
|
}
|
|
@@ -900,22 +915,22 @@ export interface ClaimRegulationsApiCreateClaimRegulation1Request {
|
|
|
900
915
|
}
|
|
901
916
|
|
|
902
917
|
/**
|
|
903
|
-
* Request parameters for
|
|
918
|
+
* Request parameters for deleteClaimRegulations operation in ClaimRegulationsApi.
|
|
904
919
|
* @export
|
|
905
|
-
* @interface
|
|
920
|
+
* @interface ClaimRegulationsApiDeleteClaimRegulationsRequest
|
|
906
921
|
*/
|
|
907
|
-
export interface
|
|
922
|
+
export interface ClaimRegulationsApiDeleteClaimRegulationsRequest {
|
|
908
923
|
/**
|
|
909
924
|
* Unique identifier for the object.
|
|
910
925
|
* @type {string}
|
|
911
|
-
* @memberof
|
|
926
|
+
* @memberof ClaimRegulationsApiDeleteClaimRegulations
|
|
912
927
|
*/
|
|
913
928
|
readonly code: string
|
|
914
929
|
|
|
915
930
|
/**
|
|
916
931
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
917
932
|
* @type {string}
|
|
918
|
-
* @memberof
|
|
933
|
+
* @memberof ClaimRegulationsApiDeleteClaimRegulations
|
|
919
934
|
*/
|
|
920
935
|
readonly authorization?: string
|
|
921
936
|
}
|
|
@@ -942,29 +957,29 @@ export interface ClaimRegulationsApiDeleteClaimRegulations1Request {
|
|
|
942
957
|
}
|
|
943
958
|
|
|
944
959
|
/**
|
|
945
|
-
* Request parameters for
|
|
960
|
+
* Request parameters for getClaimRegulation operation in ClaimRegulationsApi.
|
|
946
961
|
* @export
|
|
947
|
-
* @interface
|
|
962
|
+
* @interface ClaimRegulationsApiGetClaimRegulationRequest
|
|
948
963
|
*/
|
|
949
|
-
export interface
|
|
964
|
+
export interface ClaimRegulationsApiGetClaimRegulationRequest {
|
|
950
965
|
/**
|
|
951
966
|
*
|
|
952
967
|
* @type {string}
|
|
953
|
-
* @memberof
|
|
968
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
954
969
|
*/
|
|
955
970
|
readonly code: string
|
|
956
971
|
|
|
957
972
|
/**
|
|
958
973
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
959
974
|
* @type {string}
|
|
960
|
-
* @memberof
|
|
975
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
961
976
|
*/
|
|
962
977
|
readonly authorization?: string
|
|
963
978
|
|
|
964
979
|
/**
|
|
965
980
|
*
|
|
966
981
|
* @type {'claim'}
|
|
967
|
-
* @memberof
|
|
982
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
968
983
|
*/
|
|
969
984
|
readonly expand?: 'claim'
|
|
970
985
|
}
|
|
@@ -998,64 +1013,64 @@ export interface ClaimRegulationsApiGetClaimRegulation1Request {
|
|
|
998
1013
|
}
|
|
999
1014
|
|
|
1000
1015
|
/**
|
|
1001
|
-
* Request parameters for
|
|
1016
|
+
* Request parameters for listClaimRegulations operation in ClaimRegulationsApi.
|
|
1002
1017
|
* @export
|
|
1003
|
-
* @interface
|
|
1018
|
+
* @interface ClaimRegulationsApiListClaimRegulationsRequest
|
|
1004
1019
|
*/
|
|
1005
|
-
export interface
|
|
1020
|
+
export interface ClaimRegulationsApiListClaimRegulationsRequest {
|
|
1006
1021
|
/**
|
|
1007
1022
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1008
1023
|
* @type {string}
|
|
1009
|
-
* @memberof
|
|
1024
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1010
1025
|
*/
|
|
1011
1026
|
readonly authorization?: string
|
|
1012
1027
|
|
|
1013
1028
|
/**
|
|
1014
1029
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1015
1030
|
* @type {number}
|
|
1016
|
-
* @memberof
|
|
1031
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1017
1032
|
*/
|
|
1018
1033
|
readonly pageSize?: number
|
|
1019
1034
|
|
|
1020
1035
|
/**
|
|
1021
1036
|
* 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.
|
|
1022
1037
|
* @type {string}
|
|
1023
|
-
* @memberof
|
|
1038
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1024
1039
|
*/
|
|
1025
1040
|
readonly pageToken?: string
|
|
1026
1041
|
|
|
1027
1042
|
/**
|
|
1028
1043
|
* 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>
|
|
1029
1044
|
* @type {string}
|
|
1030
|
-
* @memberof
|
|
1045
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1031
1046
|
*/
|
|
1032
1047
|
readonly filter?: string
|
|
1033
1048
|
|
|
1034
1049
|
/**
|
|
1035
1050
|
* 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>
|
|
1036
1051
|
* @type {string}
|
|
1037
|
-
* @memberof
|
|
1052
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1038
1053
|
*/
|
|
1039
1054
|
readonly search?: string
|
|
1040
1055
|
|
|
1041
1056
|
/**
|
|
1042
1057
|
* 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>
|
|
1043
1058
|
* @type {string}
|
|
1044
|
-
* @memberof
|
|
1059
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1045
1060
|
*/
|
|
1046
1061
|
readonly order?: string
|
|
1047
1062
|
|
|
1048
1063
|
/**
|
|
1049
1064
|
* 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>
|
|
1050
1065
|
* @type {string}
|
|
1051
|
-
* @memberof
|
|
1066
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1052
1067
|
*/
|
|
1053
1068
|
readonly expand?: string
|
|
1054
1069
|
|
|
1055
1070
|
/**
|
|
1056
1071
|
* 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>
|
|
1057
1072
|
* @type {string}
|
|
1058
|
-
* @memberof
|
|
1073
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
1059
1074
|
*/
|
|
1060
1075
|
readonly filters?: string
|
|
1061
1076
|
}
|
|
@@ -1124,29 +1139,29 @@ export interface ClaimRegulationsApiListClaimRegulations1Request {
|
|
|
1124
1139
|
}
|
|
1125
1140
|
|
|
1126
1141
|
/**
|
|
1127
|
-
* Request parameters for
|
|
1142
|
+
* Request parameters for updateClaimRegulation operation in ClaimRegulationsApi.
|
|
1128
1143
|
* @export
|
|
1129
|
-
* @interface
|
|
1144
|
+
* @interface ClaimRegulationsApiUpdateClaimRegulationRequest
|
|
1130
1145
|
*/
|
|
1131
|
-
export interface
|
|
1146
|
+
export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
1132
1147
|
/**
|
|
1133
1148
|
* Unique identifier for the object.
|
|
1134
1149
|
* @type {string}
|
|
1135
|
-
* @memberof
|
|
1150
|
+
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
1136
1151
|
*/
|
|
1137
1152
|
readonly code: string
|
|
1138
1153
|
|
|
1139
1154
|
/**
|
|
1140
1155
|
*
|
|
1141
1156
|
* @type {UpdateRegulationItemRequestDto}
|
|
1142
|
-
* @memberof
|
|
1157
|
+
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
1143
1158
|
*/
|
|
1144
1159
|
readonly updateRegulationItemRequestDto: UpdateRegulationItemRequestDto
|
|
1145
1160
|
|
|
1146
1161
|
/**
|
|
1147
1162
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1148
1163
|
* @type {string}
|
|
1149
|
-
* @memberof
|
|
1164
|
+
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
1150
1165
|
*/
|
|
1151
1166
|
readonly authorization?: string
|
|
1152
1167
|
}
|
|
@@ -1189,20 +1204,21 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
1189
1204
|
/**
|
|
1190
1205
|
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
1191
1206
|
* @summary Create the claim regulation item
|
|
1192
|
-
* @param {
|
|
1207
|
+
* @param {ClaimRegulationsApiCreateClaimRegulationRequest} requestParameters Request parameters.
|
|
1193
1208
|
* @param {*} [options] Override http request option.
|
|
1194
1209
|
* @throws {RequiredError}
|
|
1195
1210
|
* @memberof ClaimRegulationsApi
|
|
1196
1211
|
*/
|
|
1197
|
-
public
|
|
1198
|
-
return ClaimRegulationsApiFp(this.configuration).
|
|
1212
|
+
public createClaimRegulation(requestParameters: ClaimRegulationsApiCreateClaimRegulationRequest, options?: AxiosRequestConfig) {
|
|
1213
|
+
return ClaimRegulationsApiFp(this.configuration).createClaimRegulation(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1199
1214
|
}
|
|
1200
1215
|
|
|
1201
1216
|
/**
|
|
1202
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
1217
|
+
* 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.
|
|
1203
1218
|
* @summary Create the claim regulation item
|
|
1204
1219
|
* @param {ClaimRegulationsApiCreateClaimRegulation1Request} requestParameters Request parameters.
|
|
1205
1220
|
* @param {*} [options] Override http request option.
|
|
1221
|
+
* @deprecated
|
|
1206
1222
|
* @throws {RequiredError}
|
|
1207
1223
|
* @memberof ClaimRegulationsApi
|
|
1208
1224
|
*/
|
|
@@ -1213,20 +1229,21 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
1213
1229
|
/**
|
|
1214
1230
|
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
1215
1231
|
* @summary Delete the claim regulation item
|
|
1216
|
-
* @param {
|
|
1232
|
+
* @param {ClaimRegulationsApiDeleteClaimRegulationsRequest} requestParameters Request parameters.
|
|
1217
1233
|
* @param {*} [options] Override http request option.
|
|
1218
1234
|
* @throws {RequiredError}
|
|
1219
1235
|
* @memberof ClaimRegulationsApi
|
|
1220
1236
|
*/
|
|
1221
|
-
public
|
|
1222
|
-
return ClaimRegulationsApiFp(this.configuration).
|
|
1237
|
+
public deleteClaimRegulations(requestParameters: ClaimRegulationsApiDeleteClaimRegulationsRequest, options?: AxiosRequestConfig) {
|
|
1238
|
+
return ClaimRegulationsApiFp(this.configuration).deleteClaimRegulations(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1223
1239
|
}
|
|
1224
1240
|
|
|
1225
1241
|
/**
|
|
1226
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
1242
|
+
* 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.
|
|
1227
1243
|
* @summary Delete the claim regulation item
|
|
1228
1244
|
* @param {ClaimRegulationsApiDeleteClaimRegulations1Request} requestParameters Request parameters.
|
|
1229
1245
|
* @param {*} [options] Override http request option.
|
|
1246
|
+
* @deprecated
|
|
1230
1247
|
* @throws {RequiredError}
|
|
1231
1248
|
* @memberof ClaimRegulationsApi
|
|
1232
1249
|
*/
|
|
@@ -1237,20 +1254,21 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
1237
1254
|
/**
|
|
1238
1255
|
* 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\"
|
|
1239
1256
|
* @summary Retrieve the claim regulation item
|
|
1240
|
-
* @param {
|
|
1257
|
+
* @param {ClaimRegulationsApiGetClaimRegulationRequest} requestParameters Request parameters.
|
|
1241
1258
|
* @param {*} [options] Override http request option.
|
|
1242
1259
|
* @throws {RequiredError}
|
|
1243
1260
|
* @memberof ClaimRegulationsApi
|
|
1244
1261
|
*/
|
|
1245
|
-
public
|
|
1246
|
-
return ClaimRegulationsApiFp(this.configuration).
|
|
1262
|
+
public getClaimRegulation(requestParameters: ClaimRegulationsApiGetClaimRegulationRequest, options?: AxiosRequestConfig) {
|
|
1263
|
+
return ClaimRegulationsApiFp(this.configuration).getClaimRegulation(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1247
1264
|
}
|
|
1248
1265
|
|
|
1249
1266
|
/**
|
|
1250
|
-
* 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\"
|
|
1267
|
+
* 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.
|
|
1251
1268
|
* @summary Retrieve the claim regulation item
|
|
1252
1269
|
* @param {ClaimRegulationsApiGetClaimRegulation1Request} requestParameters Request parameters.
|
|
1253
1270
|
* @param {*} [options] Override http request option.
|
|
1271
|
+
* @deprecated
|
|
1254
1272
|
* @throws {RequiredError}
|
|
1255
1273
|
* @memberof ClaimRegulationsApi
|
|
1256
1274
|
*/
|
|
@@ -1261,20 +1279,21 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
1261
1279
|
/**
|
|
1262
1280
|
* 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\"
|
|
1263
1281
|
* @summary List claim regulation items
|
|
1264
|
-
* @param {
|
|
1282
|
+
* @param {ClaimRegulationsApiListClaimRegulationsRequest} requestParameters Request parameters.
|
|
1265
1283
|
* @param {*} [options] Override http request option.
|
|
1266
1284
|
* @throws {RequiredError}
|
|
1267
1285
|
* @memberof ClaimRegulationsApi
|
|
1268
1286
|
*/
|
|
1269
|
-
public
|
|
1270
|
-
return ClaimRegulationsApiFp(this.configuration).
|
|
1287
|
+
public listClaimRegulations(requestParameters: ClaimRegulationsApiListClaimRegulationsRequest = {}, options?: AxiosRequestConfig) {
|
|
1288
|
+
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));
|
|
1271
1289
|
}
|
|
1272
1290
|
|
|
1273
1291
|
/**
|
|
1274
|
-
* 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\"
|
|
1292
|
+
* 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.
|
|
1275
1293
|
* @summary List claim regulation items
|
|
1276
1294
|
* @param {ClaimRegulationsApiListClaimRegulations1Request} requestParameters Request parameters.
|
|
1277
1295
|
* @param {*} [options] Override http request option.
|
|
1296
|
+
* @deprecated
|
|
1278
1297
|
* @throws {RequiredError}
|
|
1279
1298
|
* @memberof ClaimRegulationsApi
|
|
1280
1299
|
*/
|
|
@@ -1285,20 +1304,21 @@ export class ClaimRegulationsApi extends BaseAPI {
|
|
|
1285
1304
|
/**
|
|
1286
1305
|
* 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\"
|
|
1287
1306
|
* @summary Update the claim regulation item
|
|
1288
|
-
* @param {
|
|
1307
|
+
* @param {ClaimRegulationsApiUpdateClaimRegulationRequest} requestParameters Request parameters.
|
|
1289
1308
|
* @param {*} [options] Override http request option.
|
|
1290
1309
|
* @throws {RequiredError}
|
|
1291
1310
|
* @memberof ClaimRegulationsApi
|
|
1292
1311
|
*/
|
|
1293
|
-
public
|
|
1294
|
-
return ClaimRegulationsApiFp(this.configuration).
|
|
1312
|
+
public updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig) {
|
|
1313
|
+
return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1295
1314
|
}
|
|
1296
1315
|
|
|
1297
1316
|
/**
|
|
1298
|
-
* 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\"
|
|
1317
|
+
* 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.
|
|
1299
1318
|
* @summary Update the claim regulation item
|
|
1300
1319
|
* @param {ClaimRegulationsApiUpdateClaimRegulation1Request} requestParameters Request parameters.
|
|
1301
1320
|
* @param {*} [options] Override http request option.
|
|
1321
|
+
* @deprecated
|
|
1302
1322
|
* @throws {RequiredError}
|
|
1303
1323
|
* @memberof ClaimRegulationsApi
|
|
1304
1324
|
*/
|