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