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