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