@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
package/api/settlements-api.ts
CHANGED
|
@@ -46,10 +46,10 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
createSettlement0: async (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
50
|
// verify required parameter 'createSettlementRequestDto' is not null or undefined
|
|
51
|
-
assertParamExists('
|
|
52
|
-
const localVarPath = `/
|
|
51
|
+
assertParamExists('createSettlement0', 'createSettlementRequestDto', createSettlementRequestDto)
|
|
52
|
+
const localVarPath = `/v1/settlements`;
|
|
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 SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
86
86
|
};
|
|
87
87
|
},
|
|
88
88
|
/**
|
|
89
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
89
|
+
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
90
90
|
* @summary Create the settlement
|
|
91
91
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
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
|
createSettlement1: async (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
97
|
// verify required parameter 'createSettlementRequestDto' is not null or undefined
|
|
99
98
|
assertParamExists('createSettlement1', 'createSettlementRequestDto', createSettlementRequestDto)
|
|
100
|
-
const localVarPath = `/v1/settlements`;
|
|
99
|
+
const localVarPath = `/claimservice/v1/settlements`;
|
|
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 SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
141
140
|
* @param {*} [options] Override http request option.
|
|
142
141
|
* @throws {RequiredError}
|
|
143
142
|
*/
|
|
144
|
-
|
|
143
|
+
deleteSettlement0: 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('deleteSettlement0', 'code', code)
|
|
146
|
+
const localVarPath = `/v1/settlements/{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 SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
179
178
|
};
|
|
180
179
|
},
|
|
181
180
|
/**
|
|
182
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
181
|
+
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
183
182
|
* @summary Delete the settlement
|
|
184
183
|
* @param {string} code
|
|
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
|
deleteSettlement1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
189
|
// verify required parameter 'code' is not null or undefined
|
|
192
190
|
assertParamExists('deleteSettlement1', 'code', code)
|
|
193
|
-
const localVarPath = `/v1/settlements/{code}`
|
|
191
|
+
const localVarPath = `/claimservice/v1/settlements/{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);
|
|
@@ -232,10 +230,10 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
232
230
|
* @param {*} [options] Override http request option.
|
|
233
231
|
* @throws {RequiredError}
|
|
234
232
|
*/
|
|
235
|
-
|
|
233
|
+
getSettlement0: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
236
234
|
// verify required parameter 'code' is not null or undefined
|
|
237
|
-
assertParamExists('
|
|
238
|
-
const localVarPath = `/
|
|
235
|
+
assertParamExists('getSettlement0', 'code', code)
|
|
236
|
+
const localVarPath = `/v1/settlements/{code}`
|
|
239
237
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
240
238
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
241
239
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -270,18 +268,17 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
270
268
|
};
|
|
271
269
|
},
|
|
272
270
|
/**
|
|
273
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
271
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
274
272
|
* @summary Retrieve the settlement
|
|
275
273
|
* @param {string} code
|
|
276
274
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
277
275
|
* @param {*} [options] Override http request option.
|
|
278
|
-
* @deprecated
|
|
279
276
|
* @throws {RequiredError}
|
|
280
277
|
*/
|
|
281
278
|
getSettlement1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
282
279
|
// verify required parameter 'code' is not null or undefined
|
|
283
280
|
assertParamExists('getSettlement1', 'code', code)
|
|
284
|
-
const localVarPath = `/v1/settlements/{code}`
|
|
281
|
+
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
285
282
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
286
283
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
287
284
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -329,8 +326,8 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
329
326
|
* @param {*} [options] Override http request option.
|
|
330
327
|
* @throws {RequiredError}
|
|
331
328
|
*/
|
|
332
|
-
|
|
333
|
-
const localVarPath = `/
|
|
329
|
+
listSettlements0: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
330
|
+
const localVarPath = `/v1/settlements`;
|
|
334
331
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
335
332
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
336
333
|
let baseOptions;
|
|
@@ -392,7 +389,7 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
392
389
|
};
|
|
393
390
|
},
|
|
394
391
|
/**
|
|
395
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
392
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
396
393
|
* @summary List settlements
|
|
397
394
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
398
395
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -403,11 +400,10 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
403
400
|
* @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: claims<i>
|
|
404
401
|
* @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: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
405
402
|
* @param {*} [options] Override http request option.
|
|
406
|
-
* @deprecated
|
|
407
403
|
* @throws {RequiredError}
|
|
408
404
|
*/
|
|
409
405
|
listSettlements1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
410
|
-
const localVarPath = `/v1/settlements`;
|
|
406
|
+
const localVarPath = `/claimservice/v1/settlements`;
|
|
411
407
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
412
408
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
413
409
|
let baseOptions;
|
|
@@ -477,12 +473,12 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
477
473
|
* @param {*} [options] Override http request option.
|
|
478
474
|
* @throws {RequiredError}
|
|
479
475
|
*/
|
|
480
|
-
|
|
476
|
+
updateSettlement0: async (code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
481
477
|
// verify required parameter 'code' is not null or undefined
|
|
482
|
-
assertParamExists('
|
|
478
|
+
assertParamExists('updateSettlement0', 'code', code)
|
|
483
479
|
// verify required parameter 'updateSettlementRequestDto' is not null or undefined
|
|
484
|
-
assertParamExists('
|
|
485
|
-
const localVarPath = `/
|
|
480
|
+
assertParamExists('updateSettlement0', 'updateSettlementRequestDto', updateSettlementRequestDto)
|
|
481
|
+
const localVarPath = `/v1/settlements/{code}`
|
|
486
482
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
487
483
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
488
484
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -520,13 +516,12 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
520
516
|
};
|
|
521
517
|
},
|
|
522
518
|
/**
|
|
523
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
519
|
+
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
524
520
|
* @summary Update the settlement
|
|
525
521
|
* @param {string} code
|
|
526
522
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
527
523
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
528
524
|
* @param {*} [options] Override http request option.
|
|
529
|
-
* @deprecated
|
|
530
525
|
* @throws {RequiredError}
|
|
531
526
|
*/
|
|
532
527
|
updateSettlement1: async (code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -534,7 +529,7 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
534
529
|
assertParamExists('updateSettlement1', 'code', code)
|
|
535
530
|
// verify required parameter 'updateSettlementRequestDto' is not null or undefined
|
|
536
531
|
assertParamExists('updateSettlement1', 'updateSettlementRequestDto', updateSettlementRequestDto)
|
|
537
|
-
const localVarPath = `/v1/settlements/{code}`
|
|
532
|
+
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
538
533
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
539
534
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
540
535
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -589,17 +584,16 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
589
584
|
* @param {*} [options] Override http request option.
|
|
590
585
|
* @throws {RequiredError}
|
|
591
586
|
*/
|
|
592
|
-
async
|
|
593
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
587
|
+
async createSettlement0(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettlementResponseClass>> {
|
|
588
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSettlement0(createSettlementRequestDto, authorization, options);
|
|
594
589
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
595
590
|
},
|
|
596
591
|
/**
|
|
597
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
592
|
+
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
598
593
|
* @summary Create the settlement
|
|
599
594
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
600
595
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
601
596
|
* @param {*} [options] Override http request option.
|
|
602
|
-
* @deprecated
|
|
603
597
|
* @throws {RequiredError}
|
|
604
598
|
*/
|
|
605
599
|
async createSettlement1(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettlementResponseClass>> {
|
|
@@ -614,17 +608,16 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
614
608
|
* @param {*} [options] Override http request option.
|
|
615
609
|
* @throws {RequiredError}
|
|
616
610
|
*/
|
|
617
|
-
async
|
|
618
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
611
|
+
async deleteSettlement0(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettlement0(code, authorization, options);
|
|
619
613
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
620
614
|
},
|
|
621
615
|
/**
|
|
622
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
616
|
+
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
623
617
|
* @summary Delete the settlement
|
|
624
618
|
* @param {string} code
|
|
625
619
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
626
620
|
* @param {*} [options] Override http request option.
|
|
627
|
-
* @deprecated
|
|
628
621
|
* @throws {RequiredError}
|
|
629
622
|
*/
|
|
630
623
|
async deleteSettlement1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -639,17 +632,16 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
639
632
|
* @param {*} [options] Override http request option.
|
|
640
633
|
* @throws {RequiredError}
|
|
641
634
|
*/
|
|
642
|
-
async
|
|
643
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
635
|
+
async getSettlement0(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettlementResponseClass>> {
|
|
636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettlement0(code, authorization, options);
|
|
644
637
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
645
638
|
},
|
|
646
639
|
/**
|
|
647
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
640
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
648
641
|
* @summary Retrieve the settlement
|
|
649
642
|
* @param {string} code
|
|
650
643
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
651
644
|
* @param {*} [options] Override http request option.
|
|
652
|
-
* @deprecated
|
|
653
645
|
* @throws {RequiredError}
|
|
654
646
|
*/
|
|
655
647
|
async getSettlement1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettlementResponseClass>> {
|
|
@@ -670,12 +662,12 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
670
662
|
* @param {*} [options] Override http request option.
|
|
671
663
|
* @throws {RequiredError}
|
|
672
664
|
*/
|
|
673
|
-
async
|
|
674
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
665
|
+
async listSettlements0(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>> {
|
|
666
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements0(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
675
667
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
676
668
|
},
|
|
677
669
|
/**
|
|
678
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
670
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
679
671
|
* @summary List settlements
|
|
680
672
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
681
673
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -686,7 +678,6 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
686
678
|
* @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: claims<i>
|
|
687
679
|
* @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: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
688
680
|
* @param {*} [options] Override http request option.
|
|
689
|
-
* @deprecated
|
|
690
681
|
* @throws {RequiredError}
|
|
691
682
|
*/
|
|
692
683
|
async listSettlements1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>> {
|
|
@@ -702,18 +693,17 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
702
693
|
* @param {*} [options] Override http request option.
|
|
703
694
|
* @throws {RequiredError}
|
|
704
695
|
*/
|
|
705
|
-
async
|
|
706
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
696
|
+
async updateSettlement0(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSettlementResponseClass>> {
|
|
697
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSettlement0(code, updateSettlementRequestDto, authorization, options);
|
|
707
698
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
708
699
|
},
|
|
709
700
|
/**
|
|
710
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
701
|
+
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
711
702
|
* @summary Update the settlement
|
|
712
703
|
* @param {string} code
|
|
713
704
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
714
705
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
715
706
|
* @param {*} [options] Override http request option.
|
|
716
|
-
* @deprecated
|
|
717
707
|
* @throws {RequiredError}
|
|
718
708
|
*/
|
|
719
709
|
async updateSettlement1(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSettlementResponseClass>> {
|
|
@@ -738,16 +728,15 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
738
728
|
* @param {*} [options] Override http request option.
|
|
739
729
|
* @throws {RequiredError}
|
|
740
730
|
*/
|
|
741
|
-
|
|
742
|
-
return localVarFp.
|
|
731
|
+
createSettlement0(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
|
|
732
|
+
return localVarFp.createSettlement0(createSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
743
733
|
},
|
|
744
734
|
/**
|
|
745
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
735
|
+
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
746
736
|
* @summary Create the settlement
|
|
747
737
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
748
738
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
749
739
|
* @param {*} [options] Override http request option.
|
|
750
|
-
* @deprecated
|
|
751
740
|
* @throws {RequiredError}
|
|
752
741
|
*/
|
|
753
742
|
createSettlement1(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
|
|
@@ -761,16 +750,15 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
761
750
|
* @param {*} [options] Override http request option.
|
|
762
751
|
* @throws {RequiredError}
|
|
763
752
|
*/
|
|
764
|
-
|
|
765
|
-
return localVarFp.
|
|
753
|
+
deleteSettlement0(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
754
|
+
return localVarFp.deleteSettlement0(code, authorization, options).then((request) => request(axios, basePath));
|
|
766
755
|
},
|
|
767
756
|
/**
|
|
768
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
757
|
+
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
769
758
|
* @summary Delete the settlement
|
|
770
759
|
* @param {string} code
|
|
771
760
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
772
761
|
* @param {*} [options] Override http request option.
|
|
773
|
-
* @deprecated
|
|
774
762
|
* @throws {RequiredError}
|
|
775
763
|
*/
|
|
776
764
|
deleteSettlement1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
@@ -784,16 +772,15 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
784
772
|
* @param {*} [options] Override http request option.
|
|
785
773
|
* @throws {RequiredError}
|
|
786
774
|
*/
|
|
787
|
-
|
|
788
|
-
return localVarFp.
|
|
775
|
+
getSettlement0(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
|
|
776
|
+
return localVarFp.getSettlement0(code, authorization, options).then((request) => request(axios, basePath));
|
|
789
777
|
},
|
|
790
778
|
/**
|
|
791
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
779
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
792
780
|
* @summary Retrieve the settlement
|
|
793
781
|
* @param {string} code
|
|
794
782
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
795
783
|
* @param {*} [options] Override http request option.
|
|
796
|
-
* @deprecated
|
|
797
784
|
* @throws {RequiredError}
|
|
798
785
|
*/
|
|
799
786
|
getSettlement1(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
|
|
@@ -813,11 +800,11 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
813
800
|
* @param {*} [options] Override http request option.
|
|
814
801
|
* @throws {RequiredError}
|
|
815
802
|
*/
|
|
816
|
-
|
|
817
|
-
return localVarFp.
|
|
803
|
+
listSettlements0(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
804
|
+
return localVarFp.listSettlements0(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
818
805
|
},
|
|
819
806
|
/**
|
|
820
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
807
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
821
808
|
* @summary List settlements
|
|
822
809
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
823
810
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -828,7 +815,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
828
815
|
* @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: claims<i>
|
|
829
816
|
* @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: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
830
817
|
* @param {*} [options] Override http request option.
|
|
831
|
-
* @deprecated
|
|
832
818
|
* @throws {RequiredError}
|
|
833
819
|
*/
|
|
834
820
|
listSettlements1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
@@ -843,17 +829,16 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
843
829
|
* @param {*} [options] Override http request option.
|
|
844
830
|
* @throws {RequiredError}
|
|
845
831
|
*/
|
|
846
|
-
|
|
847
|
-
return localVarFp.
|
|
832
|
+
updateSettlement0(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
|
|
833
|
+
return localVarFp.updateSettlement0(code, updateSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
848
834
|
},
|
|
849
835
|
/**
|
|
850
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
836
|
+
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
851
837
|
* @summary Update the settlement
|
|
852
838
|
* @param {string} code
|
|
853
839
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
854
840
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
855
841
|
* @param {*} [options] Override http request option.
|
|
856
|
-
* @deprecated
|
|
857
842
|
* @throws {RequiredError}
|
|
858
843
|
*/
|
|
859
844
|
updateSettlement1(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
|
|
@@ -863,22 +848,22 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
863
848
|
};
|
|
864
849
|
|
|
865
850
|
/**
|
|
866
|
-
* Request parameters for
|
|
851
|
+
* Request parameters for createSettlement0 operation in SettlementsApi.
|
|
867
852
|
* @export
|
|
868
|
-
* @interface
|
|
853
|
+
* @interface SettlementsApiCreateSettlement0Request
|
|
869
854
|
*/
|
|
870
|
-
export interface
|
|
855
|
+
export interface SettlementsApiCreateSettlement0Request {
|
|
871
856
|
/**
|
|
872
857
|
*
|
|
873
858
|
* @type {CreateSettlementRequestDto}
|
|
874
|
-
* @memberof
|
|
859
|
+
* @memberof SettlementsApiCreateSettlement0
|
|
875
860
|
*/
|
|
876
861
|
readonly createSettlementRequestDto: CreateSettlementRequestDto
|
|
877
862
|
|
|
878
863
|
/**
|
|
879
864
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
880
865
|
* @type {string}
|
|
881
|
-
* @memberof
|
|
866
|
+
* @memberof SettlementsApiCreateSettlement0
|
|
882
867
|
*/
|
|
883
868
|
readonly authorization?: string
|
|
884
869
|
}
|
|
@@ -905,22 +890,22 @@ export interface SettlementsApiCreateSettlement1Request {
|
|
|
905
890
|
}
|
|
906
891
|
|
|
907
892
|
/**
|
|
908
|
-
* Request parameters for
|
|
893
|
+
* Request parameters for deleteSettlement0 operation in SettlementsApi.
|
|
909
894
|
* @export
|
|
910
|
-
* @interface
|
|
895
|
+
* @interface SettlementsApiDeleteSettlement0Request
|
|
911
896
|
*/
|
|
912
|
-
export interface
|
|
897
|
+
export interface SettlementsApiDeleteSettlement0Request {
|
|
913
898
|
/**
|
|
914
899
|
*
|
|
915
900
|
* @type {string}
|
|
916
|
-
* @memberof
|
|
901
|
+
* @memberof SettlementsApiDeleteSettlement0
|
|
917
902
|
*/
|
|
918
903
|
readonly code: string
|
|
919
904
|
|
|
920
905
|
/**
|
|
921
906
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
922
907
|
* @type {string}
|
|
923
|
-
* @memberof
|
|
908
|
+
* @memberof SettlementsApiDeleteSettlement0
|
|
924
909
|
*/
|
|
925
910
|
readonly authorization?: string
|
|
926
911
|
}
|
|
@@ -947,22 +932,22 @@ export interface SettlementsApiDeleteSettlement1Request {
|
|
|
947
932
|
}
|
|
948
933
|
|
|
949
934
|
/**
|
|
950
|
-
* Request parameters for
|
|
935
|
+
* Request parameters for getSettlement0 operation in SettlementsApi.
|
|
951
936
|
* @export
|
|
952
|
-
* @interface
|
|
937
|
+
* @interface SettlementsApiGetSettlement0Request
|
|
953
938
|
*/
|
|
954
|
-
export interface
|
|
939
|
+
export interface SettlementsApiGetSettlement0Request {
|
|
955
940
|
/**
|
|
956
941
|
*
|
|
957
942
|
* @type {string}
|
|
958
|
-
* @memberof
|
|
943
|
+
* @memberof SettlementsApiGetSettlement0
|
|
959
944
|
*/
|
|
960
945
|
readonly code: string
|
|
961
946
|
|
|
962
947
|
/**
|
|
963
948
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
964
949
|
* @type {string}
|
|
965
|
-
* @memberof
|
|
950
|
+
* @memberof SettlementsApiGetSettlement0
|
|
966
951
|
*/
|
|
967
952
|
readonly authorization?: string
|
|
968
953
|
}
|
|
@@ -989,64 +974,64 @@ export interface SettlementsApiGetSettlement1Request {
|
|
|
989
974
|
}
|
|
990
975
|
|
|
991
976
|
/**
|
|
992
|
-
* Request parameters for
|
|
977
|
+
* Request parameters for listSettlements0 operation in SettlementsApi.
|
|
993
978
|
* @export
|
|
994
|
-
* @interface
|
|
979
|
+
* @interface SettlementsApiListSettlements0Request
|
|
995
980
|
*/
|
|
996
|
-
export interface
|
|
981
|
+
export interface SettlementsApiListSettlements0Request {
|
|
997
982
|
/**
|
|
998
983
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
999
984
|
* @type {string}
|
|
1000
|
-
* @memberof
|
|
985
|
+
* @memberof SettlementsApiListSettlements0
|
|
1001
986
|
*/
|
|
1002
987
|
readonly authorization?: string
|
|
1003
988
|
|
|
1004
989
|
/**
|
|
1005
990
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1006
991
|
* @type {number}
|
|
1007
|
-
* @memberof
|
|
992
|
+
* @memberof SettlementsApiListSettlements0
|
|
1008
993
|
*/
|
|
1009
994
|
readonly pageSize?: number
|
|
1010
995
|
|
|
1011
996
|
/**
|
|
1012
997
|
* 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.
|
|
1013
998
|
* @type {string}
|
|
1014
|
-
* @memberof
|
|
999
|
+
* @memberof SettlementsApiListSettlements0
|
|
1015
1000
|
*/
|
|
1016
1001
|
readonly pageToken?: string
|
|
1017
1002
|
|
|
1018
1003
|
/**
|
|
1019
1004
|
* 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: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
1020
1005
|
* @type {string}
|
|
1021
|
-
* @memberof
|
|
1006
|
+
* @memberof SettlementsApiListSettlements0
|
|
1022
1007
|
*/
|
|
1023
1008
|
readonly filter?: string
|
|
1024
1009
|
|
|
1025
1010
|
/**
|
|
1026
1011
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1027
1012
|
* @type {string}
|
|
1028
|
-
* @memberof
|
|
1013
|
+
* @memberof SettlementsApiListSettlements0
|
|
1029
1014
|
*/
|
|
1030
1015
|
readonly search?: string
|
|
1031
1016
|
|
|
1032
1017
|
/**
|
|
1033
1018
|
* 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: insuredObject, reserve, payment, recourse</i>
|
|
1034
1019
|
* @type {string}
|
|
1035
|
-
* @memberof
|
|
1020
|
+
* @memberof SettlementsApiListSettlements0
|
|
1036
1021
|
*/
|
|
1037
1022
|
readonly order?: string
|
|
1038
1023
|
|
|
1039
1024
|
/**
|
|
1040
1025
|
* 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: claims<i>
|
|
1041
1026
|
* @type {string}
|
|
1042
|
-
* @memberof
|
|
1027
|
+
* @memberof SettlementsApiListSettlements0
|
|
1043
1028
|
*/
|
|
1044
1029
|
readonly expand?: string
|
|
1045
1030
|
|
|
1046
1031
|
/**
|
|
1047
1032
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
1048
1033
|
* @type {string}
|
|
1049
|
-
* @memberof
|
|
1034
|
+
* @memberof SettlementsApiListSettlements0
|
|
1050
1035
|
*/
|
|
1051
1036
|
readonly filters?: string
|
|
1052
1037
|
}
|
|
@@ -1115,29 +1100,29 @@ export interface SettlementsApiListSettlements1Request {
|
|
|
1115
1100
|
}
|
|
1116
1101
|
|
|
1117
1102
|
/**
|
|
1118
|
-
* Request parameters for
|
|
1103
|
+
* Request parameters for updateSettlement0 operation in SettlementsApi.
|
|
1119
1104
|
* @export
|
|
1120
|
-
* @interface
|
|
1105
|
+
* @interface SettlementsApiUpdateSettlement0Request
|
|
1121
1106
|
*/
|
|
1122
|
-
export interface
|
|
1107
|
+
export interface SettlementsApiUpdateSettlement0Request {
|
|
1123
1108
|
/**
|
|
1124
1109
|
*
|
|
1125
1110
|
* @type {string}
|
|
1126
|
-
* @memberof
|
|
1111
|
+
* @memberof SettlementsApiUpdateSettlement0
|
|
1127
1112
|
*/
|
|
1128
1113
|
readonly code: string
|
|
1129
1114
|
|
|
1130
1115
|
/**
|
|
1131
1116
|
*
|
|
1132
1117
|
* @type {UpdateSettlementRequestDto}
|
|
1133
|
-
* @memberof
|
|
1118
|
+
* @memberof SettlementsApiUpdateSettlement0
|
|
1134
1119
|
*/
|
|
1135
1120
|
readonly updateSettlementRequestDto: UpdateSettlementRequestDto
|
|
1136
1121
|
|
|
1137
1122
|
/**
|
|
1138
1123
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1139
1124
|
* @type {string}
|
|
1140
|
-
* @memberof
|
|
1125
|
+
* @memberof SettlementsApiUpdateSettlement0
|
|
1141
1126
|
*/
|
|
1142
1127
|
readonly authorization?: string
|
|
1143
1128
|
}
|
|
@@ -1180,21 +1165,20 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1180
1165
|
/**
|
|
1181
1166
|
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1182
1167
|
* @summary Create the settlement
|
|
1183
|
-
* @param {
|
|
1168
|
+
* @param {SettlementsApiCreateSettlement0Request} requestParameters Request parameters.
|
|
1184
1169
|
* @param {*} [options] Override http request option.
|
|
1185
1170
|
* @throws {RequiredError}
|
|
1186
1171
|
* @memberof SettlementsApi
|
|
1187
1172
|
*/
|
|
1188
|
-
public
|
|
1189
|
-
return SettlementsApiFp(this.configuration).
|
|
1173
|
+
public createSettlement0(requestParameters: SettlementsApiCreateSettlement0Request, options?: AxiosRequestConfig) {
|
|
1174
|
+
return SettlementsApiFp(this.configuration).createSettlement0(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1190
1175
|
}
|
|
1191
1176
|
|
|
1192
1177
|
/**
|
|
1193
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1178
|
+
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1194
1179
|
* @summary Create the settlement
|
|
1195
1180
|
* @param {SettlementsApiCreateSettlement1Request} requestParameters Request parameters.
|
|
1196
1181
|
* @param {*} [options] Override http request option.
|
|
1197
|
-
* @deprecated
|
|
1198
1182
|
* @throws {RequiredError}
|
|
1199
1183
|
* @memberof SettlementsApi
|
|
1200
1184
|
*/
|
|
@@ -1205,21 +1189,20 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1205
1189
|
/**
|
|
1206
1190
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1207
1191
|
* @summary Delete the settlement
|
|
1208
|
-
* @param {
|
|
1192
|
+
* @param {SettlementsApiDeleteSettlement0Request} requestParameters Request parameters.
|
|
1209
1193
|
* @param {*} [options] Override http request option.
|
|
1210
1194
|
* @throws {RequiredError}
|
|
1211
1195
|
* @memberof SettlementsApi
|
|
1212
1196
|
*/
|
|
1213
|
-
public
|
|
1214
|
-
return SettlementsApiFp(this.configuration).
|
|
1197
|
+
public deleteSettlement0(requestParameters: SettlementsApiDeleteSettlement0Request, options?: AxiosRequestConfig) {
|
|
1198
|
+
return SettlementsApiFp(this.configuration).deleteSettlement0(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1215
1199
|
}
|
|
1216
1200
|
|
|
1217
1201
|
/**
|
|
1218
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1202
|
+
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1219
1203
|
* @summary Delete the settlement
|
|
1220
1204
|
* @param {SettlementsApiDeleteSettlement1Request} requestParameters Request parameters.
|
|
1221
1205
|
* @param {*} [options] Override http request option.
|
|
1222
|
-
* @deprecated
|
|
1223
1206
|
* @throws {RequiredError}
|
|
1224
1207
|
* @memberof SettlementsApi
|
|
1225
1208
|
*/
|
|
@@ -1230,21 +1213,20 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1230
1213
|
/**
|
|
1231
1214
|
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
1232
1215
|
* @summary Retrieve the settlement
|
|
1233
|
-
* @param {
|
|
1216
|
+
* @param {SettlementsApiGetSettlement0Request} requestParameters Request parameters.
|
|
1234
1217
|
* @param {*} [options] Override http request option.
|
|
1235
1218
|
* @throws {RequiredError}
|
|
1236
1219
|
* @memberof SettlementsApi
|
|
1237
1220
|
*/
|
|
1238
|
-
public
|
|
1239
|
-
return SettlementsApiFp(this.configuration).
|
|
1221
|
+
public getSettlement0(requestParameters: SettlementsApiGetSettlement0Request, options?: AxiosRequestConfig) {
|
|
1222
|
+
return SettlementsApiFp(this.configuration).getSettlement0(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1240
1223
|
}
|
|
1241
1224
|
|
|
1242
1225
|
/**
|
|
1243
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
1226
|
+
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
1244
1227
|
* @summary Retrieve the settlement
|
|
1245
1228
|
* @param {SettlementsApiGetSettlement1Request} requestParameters Request parameters.
|
|
1246
1229
|
* @param {*} [options] Override http request option.
|
|
1247
|
-
* @deprecated
|
|
1248
1230
|
* @throws {RequiredError}
|
|
1249
1231
|
* @memberof SettlementsApi
|
|
1250
1232
|
*/
|
|
@@ -1255,21 +1237,20 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1255
1237
|
/**
|
|
1256
1238
|
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
1257
1239
|
* @summary List settlements
|
|
1258
|
-
* @param {
|
|
1240
|
+
* @param {SettlementsApiListSettlements0Request} requestParameters Request parameters.
|
|
1259
1241
|
* @param {*} [options] Override http request option.
|
|
1260
1242
|
* @throws {RequiredError}
|
|
1261
1243
|
* @memberof SettlementsApi
|
|
1262
1244
|
*/
|
|
1263
|
-
public
|
|
1264
|
-
return SettlementsApiFp(this.configuration).
|
|
1245
|
+
public listSettlements0(requestParameters: SettlementsApiListSettlements0Request = {}, options?: AxiosRequestConfig) {
|
|
1246
|
+
return SettlementsApiFp(this.configuration).listSettlements0(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1265
1247
|
}
|
|
1266
1248
|
|
|
1267
1249
|
/**
|
|
1268
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
1250
|
+
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
1269
1251
|
* @summary List settlements
|
|
1270
1252
|
* @param {SettlementsApiListSettlements1Request} requestParameters Request parameters.
|
|
1271
1253
|
* @param {*} [options] Override http request option.
|
|
1272
|
-
* @deprecated
|
|
1273
1254
|
* @throws {RequiredError}
|
|
1274
1255
|
* @memberof SettlementsApi
|
|
1275
1256
|
*/
|
|
@@ -1280,21 +1261,20 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1280
1261
|
/**
|
|
1281
1262
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
1282
1263
|
* @summary Update the settlement
|
|
1283
|
-
* @param {
|
|
1264
|
+
* @param {SettlementsApiUpdateSettlement0Request} requestParameters Request parameters.
|
|
1284
1265
|
* @param {*} [options] Override http request option.
|
|
1285
1266
|
* @throws {RequiredError}
|
|
1286
1267
|
* @memberof SettlementsApi
|
|
1287
1268
|
*/
|
|
1288
|
-
public
|
|
1289
|
-
return SettlementsApiFp(this.configuration).
|
|
1269
|
+
public updateSettlement0(requestParameters: SettlementsApiUpdateSettlement0Request, options?: AxiosRequestConfig) {
|
|
1270
|
+
return SettlementsApiFp(this.configuration).updateSettlement0(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1290
1271
|
}
|
|
1291
1272
|
|
|
1292
1273
|
/**
|
|
1293
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
1274
|
+
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
1294
1275
|
* @summary Update the settlement
|
|
1295
1276
|
* @param {SettlementsApiUpdateSettlement1Request} requestParameters Request parameters.
|
|
1296
1277
|
* @param {*} [options] Override http request option.
|
|
1297
|
-
* @deprecated
|
|
1298
1278
|
* @throws {RequiredError}
|
|
1299
1279
|
* @memberof SettlementsApi
|
|
1300
1280
|
*/
|