@emilgroup/claim-sdk-node 1.41.1-beta.0 → 1.41.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
|
@@ -50,10 +50,10 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
createSettlement: async (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
54
|
// verify required parameter 'createSettlementRequestDto' is not null or undefined
|
|
55
|
-
assertParamExists('
|
|
56
|
-
const localVarPath = `/v1/settlements`;
|
|
55
|
+
assertParamExists('createSettlement', 'createSettlementRequestDto', createSettlementRequestDto)
|
|
56
|
+
const localVarPath = `/claimservice/v1/settlements`;
|
|
57
57
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
58
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59
59
|
let baseOptions;
|
|
@@ -90,17 +90,18 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
90
90
|
};
|
|
91
91
|
},
|
|
92
92
|
/**
|
|
93
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
93
|
+
* 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.
|
|
94
94
|
* @summary Create the settlement
|
|
95
95
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
96
96
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
98
|
+
* @deprecated
|
|
98
99
|
* @throws {RequiredError}
|
|
99
100
|
*/
|
|
100
101
|
createSettlement1: async (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101
102
|
// verify required parameter 'createSettlementRequestDto' is not null or undefined
|
|
102
103
|
assertParamExists('createSettlement1', 'createSettlementRequestDto', createSettlementRequestDto)
|
|
103
|
-
const localVarPath = `/
|
|
104
|
+
const localVarPath = `/v1/settlements`;
|
|
104
105
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
105
106
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
106
107
|
let baseOptions;
|
|
@@ -144,10 +145,10 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
144
145
|
* @param {*} [options] Override http request option.
|
|
145
146
|
* @throws {RequiredError}
|
|
146
147
|
*/
|
|
147
|
-
|
|
148
|
+
deleteSettlement: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148
149
|
// verify required parameter 'code' is not null or undefined
|
|
149
|
-
assertParamExists('
|
|
150
|
-
const localVarPath = `/v1/settlements/{code}`
|
|
150
|
+
assertParamExists('deleteSettlement', 'code', code)
|
|
151
|
+
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
151
152
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
152
153
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
153
154
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -182,17 +183,18 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
182
183
|
};
|
|
183
184
|
},
|
|
184
185
|
/**
|
|
185
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
186
|
+
* 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.
|
|
186
187
|
* @summary Delete the settlement
|
|
187
188
|
* @param {string} code
|
|
188
189
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
190
|
* @param {*} [options] Override http request option.
|
|
191
|
+
* @deprecated
|
|
190
192
|
* @throws {RequiredError}
|
|
191
193
|
*/
|
|
192
194
|
deleteSettlement1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
195
|
// verify required parameter 'code' is not null or undefined
|
|
194
196
|
assertParamExists('deleteSettlement1', 'code', code)
|
|
195
|
-
const localVarPath = `/
|
|
197
|
+
const localVarPath = `/v1/settlements/{code}`
|
|
196
198
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
197
199
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
200
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -234,10 +236,10 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
234
236
|
* @param {*} [options] Override http request option.
|
|
235
237
|
* @throws {RequiredError}
|
|
236
238
|
*/
|
|
237
|
-
|
|
239
|
+
getSettlement: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
238
240
|
// verify required parameter 'code' is not null or undefined
|
|
239
|
-
assertParamExists('
|
|
240
|
-
const localVarPath = `/v1/settlements/{code}`
|
|
241
|
+
assertParamExists('getSettlement', 'code', code)
|
|
242
|
+
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
241
243
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
242
244
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
243
245
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -272,17 +274,18 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
272
274
|
};
|
|
273
275
|
},
|
|
274
276
|
/**
|
|
275
|
-
* 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\"
|
|
277
|
+
* 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.
|
|
276
278
|
* @summary Retrieve the settlement
|
|
277
279
|
* @param {string} code
|
|
278
280
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
279
281
|
* @param {*} [options] Override http request option.
|
|
282
|
+
* @deprecated
|
|
280
283
|
* @throws {RequiredError}
|
|
281
284
|
*/
|
|
282
285
|
getSettlement1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
283
286
|
// verify required parameter 'code' is not null or undefined
|
|
284
287
|
assertParamExists('getSettlement1', 'code', code)
|
|
285
|
-
const localVarPath = `/
|
|
288
|
+
const localVarPath = `/v1/settlements/{code}`
|
|
286
289
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
287
290
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
288
291
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -330,8 +333,8 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
330
333
|
* @param {*} [options] Override http request option.
|
|
331
334
|
* @throws {RequiredError}
|
|
332
335
|
*/
|
|
333
|
-
|
|
334
|
-
const localVarPath = `/v1/settlements`;
|
|
336
|
+
listSettlements: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
337
|
+
const localVarPath = `/claimservice/v1/settlements`;
|
|
335
338
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
336
339
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
337
340
|
let baseOptions;
|
|
@@ -393,7 +396,7 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
393
396
|
};
|
|
394
397
|
},
|
|
395
398
|
/**
|
|
396
|
-
* 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\"
|
|
399
|
+
* 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.
|
|
397
400
|
* @summary List settlements
|
|
398
401
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
399
402
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -404,10 +407,11 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
404
407
|
* @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>
|
|
405
408
|
* @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>
|
|
406
409
|
* @param {*} [options] Override http request option.
|
|
410
|
+
* @deprecated
|
|
407
411
|
* @throws {RequiredError}
|
|
408
412
|
*/
|
|
409
413
|
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 = `/
|
|
414
|
+
const localVarPath = `/v1/settlements`;
|
|
411
415
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
412
416
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
413
417
|
let baseOptions;
|
|
@@ -477,12 +481,12 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
477
481
|
* @param {*} [options] Override http request option.
|
|
478
482
|
* @throws {RequiredError}
|
|
479
483
|
*/
|
|
480
|
-
|
|
484
|
+
updateSettlement: async (code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
481
485
|
// verify required parameter 'code' is not null or undefined
|
|
482
|
-
assertParamExists('
|
|
486
|
+
assertParamExists('updateSettlement', 'code', code)
|
|
483
487
|
// verify required parameter 'updateSettlementRequestDto' is not null or undefined
|
|
484
|
-
assertParamExists('
|
|
485
|
-
const localVarPath = `/v1/settlements/{code}`
|
|
488
|
+
assertParamExists('updateSettlement', 'updateSettlementRequestDto', updateSettlementRequestDto)
|
|
489
|
+
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
486
490
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
487
491
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
488
492
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -520,12 +524,13 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
520
524
|
};
|
|
521
525
|
},
|
|
522
526
|
/**
|
|
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\"
|
|
527
|
+
* 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.
|
|
524
528
|
* @summary Update the settlement
|
|
525
529
|
* @param {string} code
|
|
526
530
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
527
531
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
528
532
|
* @param {*} [options] Override http request option.
|
|
533
|
+
* @deprecated
|
|
529
534
|
* @throws {RequiredError}
|
|
530
535
|
*/
|
|
531
536
|
updateSettlement1: async (code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -533,7 +538,7 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
533
538
|
assertParamExists('updateSettlement1', 'code', code)
|
|
534
539
|
// verify required parameter 'updateSettlementRequestDto' is not null or undefined
|
|
535
540
|
assertParamExists('updateSettlement1', 'updateSettlementRequestDto', updateSettlementRequestDto)
|
|
536
|
-
const localVarPath = `/
|
|
541
|
+
const localVarPath = `/v1/settlements/{code}`
|
|
537
542
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
538
543
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
539
544
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -588,16 +593,17 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
588
593
|
* @param {*} [options] Override http request option.
|
|
589
594
|
* @throws {RequiredError}
|
|
590
595
|
*/
|
|
591
|
-
async
|
|
592
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
596
|
+
async createSettlement(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettlementResponseClass>> {
|
|
597
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSettlement(createSettlementRequestDto, authorization, options);
|
|
593
598
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
594
599
|
},
|
|
595
600
|
/**
|
|
596
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
601
|
+
* 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.
|
|
597
602
|
* @summary Create the settlement
|
|
598
603
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
599
604
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
600
605
|
* @param {*} [options] Override http request option.
|
|
606
|
+
* @deprecated
|
|
601
607
|
* @throws {RequiredError}
|
|
602
608
|
*/
|
|
603
609
|
async createSettlement1(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettlementResponseClass>> {
|
|
@@ -612,16 +618,17 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
612
618
|
* @param {*} [options] Override http request option.
|
|
613
619
|
* @throws {RequiredError}
|
|
614
620
|
*/
|
|
615
|
-
async
|
|
616
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
621
|
+
async deleteSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
622
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettlement(code, authorization, options);
|
|
617
623
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
618
624
|
},
|
|
619
625
|
/**
|
|
620
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
626
|
+
* 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.
|
|
621
627
|
* @summary Delete the settlement
|
|
622
628
|
* @param {string} code
|
|
623
629
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
624
630
|
* @param {*} [options] Override http request option.
|
|
631
|
+
* @deprecated
|
|
625
632
|
* @throws {RequiredError}
|
|
626
633
|
*/
|
|
627
634
|
async deleteSettlement1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -636,16 +643,17 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
636
643
|
* @param {*} [options] Override http request option.
|
|
637
644
|
* @throws {RequiredError}
|
|
638
645
|
*/
|
|
639
|
-
async
|
|
640
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
646
|
+
async getSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettlementResponseClass>> {
|
|
647
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettlement(code, authorization, options);
|
|
641
648
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
642
649
|
},
|
|
643
650
|
/**
|
|
644
|
-
* 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\"
|
|
651
|
+
* 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.
|
|
645
652
|
* @summary Retrieve the settlement
|
|
646
653
|
* @param {string} code
|
|
647
654
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
648
655
|
* @param {*} [options] Override http request option.
|
|
656
|
+
* @deprecated
|
|
649
657
|
* @throws {RequiredError}
|
|
650
658
|
*/
|
|
651
659
|
async getSettlement1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettlementResponseClass>> {
|
|
@@ -666,12 +674,12 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
666
674
|
* @param {*} [options] Override http request option.
|
|
667
675
|
* @throws {RequiredError}
|
|
668
676
|
*/
|
|
669
|
-
async
|
|
670
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
677
|
+
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>> {
|
|
678
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
671
679
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
672
680
|
},
|
|
673
681
|
/**
|
|
674
|
-
* 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\"
|
|
682
|
+
* 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.
|
|
675
683
|
* @summary List settlements
|
|
676
684
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
677
685
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -682,6 +690,7 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
682
690
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims<i>
|
|
683
691
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
684
692
|
* @param {*} [options] Override http request option.
|
|
693
|
+
* @deprecated
|
|
685
694
|
* @throws {RequiredError}
|
|
686
695
|
*/
|
|
687
696
|
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>> {
|
|
@@ -697,17 +706,18 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
697
706
|
* @param {*} [options] Override http request option.
|
|
698
707
|
* @throws {RequiredError}
|
|
699
708
|
*/
|
|
700
|
-
async
|
|
701
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
709
|
+
async updateSettlement(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSettlementResponseClass>> {
|
|
710
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSettlement(code, updateSettlementRequestDto, authorization, options);
|
|
702
711
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
703
712
|
},
|
|
704
713
|
/**
|
|
705
|
-
* 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\"
|
|
714
|
+
* 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.
|
|
706
715
|
* @summary Update the settlement
|
|
707
716
|
* @param {string} code
|
|
708
717
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
709
718
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
710
719
|
* @param {*} [options] Override http request option.
|
|
720
|
+
* @deprecated
|
|
711
721
|
* @throws {RequiredError}
|
|
712
722
|
*/
|
|
713
723
|
async updateSettlement1(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSettlementResponseClass>> {
|
|
@@ -732,15 +742,16 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
732
742
|
* @param {*} [options] Override http request option.
|
|
733
743
|
* @throws {RequiredError}
|
|
734
744
|
*/
|
|
735
|
-
|
|
736
|
-
return localVarFp.
|
|
745
|
+
createSettlement(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
|
|
746
|
+
return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
737
747
|
},
|
|
738
748
|
/**
|
|
739
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
749
|
+
* 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.
|
|
740
750
|
* @summary Create the settlement
|
|
741
751
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
742
752
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
743
753
|
* @param {*} [options] Override http request option.
|
|
754
|
+
* @deprecated
|
|
744
755
|
* @throws {RequiredError}
|
|
745
756
|
*/
|
|
746
757
|
createSettlement1(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
|
|
@@ -754,15 +765,16 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
754
765
|
* @param {*} [options] Override http request option.
|
|
755
766
|
* @throws {RequiredError}
|
|
756
767
|
*/
|
|
757
|
-
|
|
758
|
-
return localVarFp.
|
|
768
|
+
deleteSettlement(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
769
|
+
return localVarFp.deleteSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
759
770
|
},
|
|
760
771
|
/**
|
|
761
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
772
|
+
* 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.
|
|
762
773
|
* @summary Delete the settlement
|
|
763
774
|
* @param {string} code
|
|
764
775
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
765
776
|
* @param {*} [options] Override http request option.
|
|
777
|
+
* @deprecated
|
|
766
778
|
* @throws {RequiredError}
|
|
767
779
|
*/
|
|
768
780
|
deleteSettlement1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
@@ -776,15 +788,16 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
776
788
|
* @param {*} [options] Override http request option.
|
|
777
789
|
* @throws {RequiredError}
|
|
778
790
|
*/
|
|
779
|
-
|
|
780
|
-
return localVarFp.
|
|
791
|
+
getSettlement(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
|
|
792
|
+
return localVarFp.getSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
781
793
|
},
|
|
782
794
|
/**
|
|
783
|
-
* 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\"
|
|
795
|
+
* 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.
|
|
784
796
|
* @summary Retrieve the settlement
|
|
785
797
|
* @param {string} code
|
|
786
798
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
787
799
|
* @param {*} [options] Override http request option.
|
|
800
|
+
* @deprecated
|
|
788
801
|
* @throws {RequiredError}
|
|
789
802
|
*/
|
|
790
803
|
getSettlement1(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
|
|
@@ -804,11 +817,11 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
804
817
|
* @param {*} [options] Override http request option.
|
|
805
818
|
* @throws {RequiredError}
|
|
806
819
|
*/
|
|
807
|
-
|
|
808
|
-
return localVarFp.
|
|
820
|
+
listSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
821
|
+
return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
809
822
|
},
|
|
810
823
|
/**
|
|
811
|
-
* 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\"
|
|
824
|
+
* 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.
|
|
812
825
|
* @summary List settlements
|
|
813
826
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
814
827
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -819,6 +832,7 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
819
832
|
* @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>
|
|
820
833
|
* @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>
|
|
821
834
|
* @param {*} [options] Override http request option.
|
|
835
|
+
* @deprecated
|
|
822
836
|
* @throws {RequiredError}
|
|
823
837
|
*/
|
|
824
838
|
listSettlements1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
@@ -833,16 +847,17 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
833
847
|
* @param {*} [options] Override http request option.
|
|
834
848
|
* @throws {RequiredError}
|
|
835
849
|
*/
|
|
836
|
-
|
|
837
|
-
return localVarFp.
|
|
850
|
+
updateSettlement(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
|
|
851
|
+
return localVarFp.updateSettlement(code, updateSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
838
852
|
},
|
|
839
853
|
/**
|
|
840
|
-
* 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\"
|
|
854
|
+
* 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.
|
|
841
855
|
* @summary Update the settlement
|
|
842
856
|
* @param {string} code
|
|
843
857
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
844
858
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
845
859
|
* @param {*} [options] Override http request option.
|
|
860
|
+
* @deprecated
|
|
846
861
|
* @throws {RequiredError}
|
|
847
862
|
*/
|
|
848
863
|
updateSettlement1(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
|
|
@@ -852,22 +867,22 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
852
867
|
};
|
|
853
868
|
|
|
854
869
|
/**
|
|
855
|
-
* Request parameters for
|
|
870
|
+
* Request parameters for createSettlement operation in SettlementsApi.
|
|
856
871
|
* @export
|
|
857
|
-
* @interface
|
|
872
|
+
* @interface SettlementsApiCreateSettlementRequest
|
|
858
873
|
*/
|
|
859
|
-
export interface
|
|
874
|
+
export interface SettlementsApiCreateSettlementRequest {
|
|
860
875
|
/**
|
|
861
876
|
*
|
|
862
877
|
* @type {CreateSettlementRequestDto}
|
|
863
|
-
* @memberof
|
|
878
|
+
* @memberof SettlementsApiCreateSettlement
|
|
864
879
|
*/
|
|
865
880
|
readonly createSettlementRequestDto: CreateSettlementRequestDto
|
|
866
881
|
|
|
867
882
|
/**
|
|
868
883
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
869
884
|
* @type {string}
|
|
870
|
-
* @memberof
|
|
885
|
+
* @memberof SettlementsApiCreateSettlement
|
|
871
886
|
*/
|
|
872
887
|
readonly authorization?: string
|
|
873
888
|
}
|
|
@@ -894,22 +909,22 @@ export interface SettlementsApiCreateSettlement1Request {
|
|
|
894
909
|
}
|
|
895
910
|
|
|
896
911
|
/**
|
|
897
|
-
* Request parameters for
|
|
912
|
+
* Request parameters for deleteSettlement operation in SettlementsApi.
|
|
898
913
|
* @export
|
|
899
|
-
* @interface
|
|
914
|
+
* @interface SettlementsApiDeleteSettlementRequest
|
|
900
915
|
*/
|
|
901
|
-
export interface
|
|
916
|
+
export interface SettlementsApiDeleteSettlementRequest {
|
|
902
917
|
/**
|
|
903
918
|
*
|
|
904
919
|
* @type {string}
|
|
905
|
-
* @memberof
|
|
920
|
+
* @memberof SettlementsApiDeleteSettlement
|
|
906
921
|
*/
|
|
907
922
|
readonly code: string
|
|
908
923
|
|
|
909
924
|
/**
|
|
910
925
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
911
926
|
* @type {string}
|
|
912
|
-
* @memberof
|
|
927
|
+
* @memberof SettlementsApiDeleteSettlement
|
|
913
928
|
*/
|
|
914
929
|
readonly authorization?: string
|
|
915
930
|
}
|
|
@@ -936,22 +951,22 @@ export interface SettlementsApiDeleteSettlement1Request {
|
|
|
936
951
|
}
|
|
937
952
|
|
|
938
953
|
/**
|
|
939
|
-
* Request parameters for
|
|
954
|
+
* Request parameters for getSettlement operation in SettlementsApi.
|
|
940
955
|
* @export
|
|
941
|
-
* @interface
|
|
956
|
+
* @interface SettlementsApiGetSettlementRequest
|
|
942
957
|
*/
|
|
943
|
-
export interface
|
|
958
|
+
export interface SettlementsApiGetSettlementRequest {
|
|
944
959
|
/**
|
|
945
960
|
*
|
|
946
961
|
* @type {string}
|
|
947
|
-
* @memberof
|
|
962
|
+
* @memberof SettlementsApiGetSettlement
|
|
948
963
|
*/
|
|
949
964
|
readonly code: string
|
|
950
965
|
|
|
951
966
|
/**
|
|
952
967
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
953
968
|
* @type {string}
|
|
954
|
-
* @memberof
|
|
969
|
+
* @memberof SettlementsApiGetSettlement
|
|
955
970
|
*/
|
|
956
971
|
readonly authorization?: string
|
|
957
972
|
}
|
|
@@ -978,64 +993,64 @@ export interface SettlementsApiGetSettlement1Request {
|
|
|
978
993
|
}
|
|
979
994
|
|
|
980
995
|
/**
|
|
981
|
-
* Request parameters for
|
|
996
|
+
* Request parameters for listSettlements operation in SettlementsApi.
|
|
982
997
|
* @export
|
|
983
|
-
* @interface
|
|
998
|
+
* @interface SettlementsApiListSettlementsRequest
|
|
984
999
|
*/
|
|
985
|
-
export interface
|
|
1000
|
+
export interface SettlementsApiListSettlementsRequest {
|
|
986
1001
|
/**
|
|
987
1002
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
988
1003
|
* @type {string}
|
|
989
|
-
* @memberof
|
|
1004
|
+
* @memberof SettlementsApiListSettlements
|
|
990
1005
|
*/
|
|
991
1006
|
readonly authorization?: string
|
|
992
1007
|
|
|
993
1008
|
/**
|
|
994
1009
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
995
1010
|
* @type {number}
|
|
996
|
-
* @memberof
|
|
1011
|
+
* @memberof SettlementsApiListSettlements
|
|
997
1012
|
*/
|
|
998
1013
|
readonly pageSize?: number
|
|
999
1014
|
|
|
1000
1015
|
/**
|
|
1001
1016
|
* 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.
|
|
1002
1017
|
* @type {string}
|
|
1003
|
-
* @memberof
|
|
1018
|
+
* @memberof SettlementsApiListSettlements
|
|
1004
1019
|
*/
|
|
1005
1020
|
readonly pageToken?: string
|
|
1006
1021
|
|
|
1007
1022
|
/**
|
|
1008
1023
|
* 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>
|
|
1009
1024
|
* @type {string}
|
|
1010
|
-
* @memberof
|
|
1025
|
+
* @memberof SettlementsApiListSettlements
|
|
1011
1026
|
*/
|
|
1012
1027
|
readonly filter?: string
|
|
1013
1028
|
|
|
1014
1029
|
/**
|
|
1015
1030
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1016
1031
|
* @type {string}
|
|
1017
|
-
* @memberof
|
|
1032
|
+
* @memberof SettlementsApiListSettlements
|
|
1018
1033
|
*/
|
|
1019
1034
|
readonly search?: string
|
|
1020
1035
|
|
|
1021
1036
|
/**
|
|
1022
1037
|
* 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>
|
|
1023
1038
|
* @type {string}
|
|
1024
|
-
* @memberof
|
|
1039
|
+
* @memberof SettlementsApiListSettlements
|
|
1025
1040
|
*/
|
|
1026
1041
|
readonly order?: string
|
|
1027
1042
|
|
|
1028
1043
|
/**
|
|
1029
1044
|
* 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>
|
|
1030
1045
|
* @type {string}
|
|
1031
|
-
* @memberof
|
|
1046
|
+
* @memberof SettlementsApiListSettlements
|
|
1032
1047
|
*/
|
|
1033
1048
|
readonly expand?: string
|
|
1034
1049
|
|
|
1035
1050
|
/**
|
|
1036
1051
|
* 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>
|
|
1037
1052
|
* @type {string}
|
|
1038
|
-
* @memberof
|
|
1053
|
+
* @memberof SettlementsApiListSettlements
|
|
1039
1054
|
*/
|
|
1040
1055
|
readonly filters?: string
|
|
1041
1056
|
}
|
|
@@ -1104,29 +1119,29 @@ export interface SettlementsApiListSettlements1Request {
|
|
|
1104
1119
|
}
|
|
1105
1120
|
|
|
1106
1121
|
/**
|
|
1107
|
-
* Request parameters for
|
|
1122
|
+
* Request parameters for updateSettlement operation in SettlementsApi.
|
|
1108
1123
|
* @export
|
|
1109
|
-
* @interface
|
|
1124
|
+
* @interface SettlementsApiUpdateSettlementRequest
|
|
1110
1125
|
*/
|
|
1111
|
-
export interface
|
|
1126
|
+
export interface SettlementsApiUpdateSettlementRequest {
|
|
1112
1127
|
/**
|
|
1113
1128
|
*
|
|
1114
1129
|
* @type {string}
|
|
1115
|
-
* @memberof
|
|
1130
|
+
* @memberof SettlementsApiUpdateSettlement
|
|
1116
1131
|
*/
|
|
1117
1132
|
readonly code: string
|
|
1118
1133
|
|
|
1119
1134
|
/**
|
|
1120
1135
|
*
|
|
1121
1136
|
* @type {UpdateSettlementRequestDto}
|
|
1122
|
-
* @memberof
|
|
1137
|
+
* @memberof SettlementsApiUpdateSettlement
|
|
1123
1138
|
*/
|
|
1124
1139
|
readonly updateSettlementRequestDto: UpdateSettlementRequestDto
|
|
1125
1140
|
|
|
1126
1141
|
/**
|
|
1127
1142
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1128
1143
|
* @type {string}
|
|
1129
|
-
* @memberof
|
|
1144
|
+
* @memberof SettlementsApiUpdateSettlement
|
|
1130
1145
|
*/
|
|
1131
1146
|
readonly authorization?: string
|
|
1132
1147
|
}
|
|
@@ -1169,20 +1184,21 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1169
1184
|
/**
|
|
1170
1185
|
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1171
1186
|
* @summary Create the settlement
|
|
1172
|
-
* @param {
|
|
1187
|
+
* @param {SettlementsApiCreateSettlementRequest} requestParameters Request parameters.
|
|
1173
1188
|
* @param {*} [options] Override http request option.
|
|
1174
1189
|
* @throws {RequiredError}
|
|
1175
1190
|
* @memberof SettlementsApi
|
|
1176
1191
|
*/
|
|
1177
|
-
public
|
|
1178
|
-
return SettlementsApiFp(this.configuration).
|
|
1192
|
+
public createSettlement(requestParameters: SettlementsApiCreateSettlementRequest, options?: AxiosRequestConfig) {
|
|
1193
|
+
return SettlementsApiFp(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1179
1194
|
}
|
|
1180
1195
|
|
|
1181
1196
|
/**
|
|
1182
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1197
|
+
* 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.
|
|
1183
1198
|
* @summary Create the settlement
|
|
1184
1199
|
* @param {SettlementsApiCreateSettlement1Request} requestParameters Request parameters.
|
|
1185
1200
|
* @param {*} [options] Override http request option.
|
|
1201
|
+
* @deprecated
|
|
1186
1202
|
* @throws {RequiredError}
|
|
1187
1203
|
* @memberof SettlementsApi
|
|
1188
1204
|
*/
|
|
@@ -1193,20 +1209,21 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1193
1209
|
/**
|
|
1194
1210
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1195
1211
|
* @summary Delete the settlement
|
|
1196
|
-
* @param {
|
|
1212
|
+
* @param {SettlementsApiDeleteSettlementRequest} requestParameters Request parameters.
|
|
1197
1213
|
* @param {*} [options] Override http request option.
|
|
1198
1214
|
* @throws {RequiredError}
|
|
1199
1215
|
* @memberof SettlementsApi
|
|
1200
1216
|
*/
|
|
1201
|
-
public
|
|
1202
|
-
return SettlementsApiFp(this.configuration).
|
|
1217
|
+
public deleteSettlement(requestParameters: SettlementsApiDeleteSettlementRequest, options?: AxiosRequestConfig) {
|
|
1218
|
+
return SettlementsApiFp(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1203
1219
|
}
|
|
1204
1220
|
|
|
1205
1221
|
/**
|
|
1206
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1222
|
+
* 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.
|
|
1207
1223
|
* @summary Delete the settlement
|
|
1208
1224
|
* @param {SettlementsApiDeleteSettlement1Request} requestParameters Request parameters.
|
|
1209
1225
|
* @param {*} [options] Override http request option.
|
|
1226
|
+
* @deprecated
|
|
1210
1227
|
* @throws {RequiredError}
|
|
1211
1228
|
* @memberof SettlementsApi
|
|
1212
1229
|
*/
|
|
@@ -1217,20 +1234,21 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1217
1234
|
/**
|
|
1218
1235
|
* 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\"
|
|
1219
1236
|
* @summary Retrieve the settlement
|
|
1220
|
-
* @param {
|
|
1237
|
+
* @param {SettlementsApiGetSettlementRequest} requestParameters Request parameters.
|
|
1221
1238
|
* @param {*} [options] Override http request option.
|
|
1222
1239
|
* @throws {RequiredError}
|
|
1223
1240
|
* @memberof SettlementsApi
|
|
1224
1241
|
*/
|
|
1225
|
-
public
|
|
1226
|
-
return SettlementsApiFp(this.configuration).
|
|
1242
|
+
public getSettlement(requestParameters: SettlementsApiGetSettlementRequest, options?: AxiosRequestConfig) {
|
|
1243
|
+
return SettlementsApiFp(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1227
1244
|
}
|
|
1228
1245
|
|
|
1229
1246
|
/**
|
|
1230
|
-
* 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\"
|
|
1247
|
+
* 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.
|
|
1231
1248
|
* @summary Retrieve the settlement
|
|
1232
1249
|
* @param {SettlementsApiGetSettlement1Request} requestParameters Request parameters.
|
|
1233
1250
|
* @param {*} [options] Override http request option.
|
|
1251
|
+
* @deprecated
|
|
1234
1252
|
* @throws {RequiredError}
|
|
1235
1253
|
* @memberof SettlementsApi
|
|
1236
1254
|
*/
|
|
@@ -1241,20 +1259,21 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1241
1259
|
/**
|
|
1242
1260
|
* 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\"
|
|
1243
1261
|
* @summary List settlements
|
|
1244
|
-
* @param {
|
|
1262
|
+
* @param {SettlementsApiListSettlementsRequest} requestParameters Request parameters.
|
|
1245
1263
|
* @param {*} [options] Override http request option.
|
|
1246
1264
|
* @throws {RequiredError}
|
|
1247
1265
|
* @memberof SettlementsApi
|
|
1248
1266
|
*/
|
|
1249
|
-
public
|
|
1250
|
-
return SettlementsApiFp(this.configuration).
|
|
1267
|
+
public listSettlements(requestParameters: SettlementsApiListSettlementsRequest = {}, options?: AxiosRequestConfig) {
|
|
1268
|
+
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));
|
|
1251
1269
|
}
|
|
1252
1270
|
|
|
1253
1271
|
/**
|
|
1254
|
-
* 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\"
|
|
1272
|
+
* 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.
|
|
1255
1273
|
* @summary List settlements
|
|
1256
1274
|
* @param {SettlementsApiListSettlements1Request} requestParameters Request parameters.
|
|
1257
1275
|
* @param {*} [options] Override http request option.
|
|
1276
|
+
* @deprecated
|
|
1258
1277
|
* @throws {RequiredError}
|
|
1259
1278
|
* @memberof SettlementsApi
|
|
1260
1279
|
*/
|
|
@@ -1265,20 +1284,21 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1265
1284
|
/**
|
|
1266
1285
|
* 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\"
|
|
1267
1286
|
* @summary Update the settlement
|
|
1268
|
-
* @param {
|
|
1287
|
+
* @param {SettlementsApiUpdateSettlementRequest} requestParameters Request parameters.
|
|
1269
1288
|
* @param {*} [options] Override http request option.
|
|
1270
1289
|
* @throws {RequiredError}
|
|
1271
1290
|
* @memberof SettlementsApi
|
|
1272
1291
|
*/
|
|
1273
|
-
public
|
|
1274
|
-
return SettlementsApiFp(this.configuration).
|
|
1292
|
+
public updateSettlement(requestParameters: SettlementsApiUpdateSettlementRequest, options?: AxiosRequestConfig) {
|
|
1293
|
+
return SettlementsApiFp(this.configuration).updateSettlement(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1275
1294
|
}
|
|
1276
1295
|
|
|
1277
1296
|
/**
|
|
1278
|
-
* 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\"
|
|
1297
|
+
* 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.
|
|
1279
1298
|
* @summary Update the settlement
|
|
1280
1299
|
* @param {SettlementsApiUpdateSettlement1Request} requestParameters Request parameters.
|
|
1281
1300
|
* @param {*} [options] Override http request option.
|
|
1301
|
+
* @deprecated
|
|
1282
1302
|
* @throws {RequiredError}
|
|
1283
1303
|
* @memberof SettlementsApi
|
|
1284
1304
|
*/
|