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