@emilgroup/claim-sdk 1.43.1-beta.0 → 1.43.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
|
@@ -50,10 +50,10 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
createClaimStatus: async (createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
54
|
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
55
|
-
assertParamExists('
|
|
56
|
-
const localVarPath = `/v1/claim-statuses`;
|
|
55
|
+
assertParamExists('createClaimStatus', 'createClaimStatusRequestDto', createClaimStatusRequestDto)
|
|
56
|
+
const localVarPath = `/claimservice/v1/claim-statuses`;
|
|
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 ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
90
90
|
};
|
|
91
91
|
},
|
|
92
92
|
/**
|
|
93
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
93
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.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 claim status
|
|
95
95
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
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
|
createClaimStatus1: async (createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101
102
|
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
102
103
|
assertParamExists('createClaimStatus1', 'createClaimStatusRequestDto', createClaimStatusRequestDto)
|
|
103
|
-
const localVarPath = `/
|
|
104
|
+
const localVarPath = `/v1/claim-statuses`;
|
|
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 ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
144
145
|
* @param {*} [options] Override http request option.
|
|
145
146
|
* @throws {RequiredError}
|
|
146
147
|
*/
|
|
147
|
-
|
|
148
|
+
deleteClaimStatus: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148
149
|
// verify required parameter 'id' is not null or undefined
|
|
149
|
-
assertParamExists('
|
|
150
|
-
const localVarPath = `/v1/claim-statuses/{id}`
|
|
150
|
+
assertParamExists('deleteClaimStatus', 'id', id)
|
|
151
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
151
152
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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 ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
182
183
|
};
|
|
183
184
|
},
|
|
184
185
|
/**
|
|
185
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
186
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.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 claim status
|
|
187
188
|
* @param {number} id
|
|
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
|
deleteClaimStatus1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
195
|
// verify required parameter 'id' is not null or undefined
|
|
194
196
|
assertParamExists('deleteClaimStatus1', 'id', id)
|
|
195
|
-
const localVarPath = `/
|
|
197
|
+
const localVarPath = `/v1/claim-statuses/{id}`
|
|
196
198
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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 ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
234
236
|
* @param {*} [options] Override http request option.
|
|
235
237
|
* @throws {RequiredError}
|
|
236
238
|
*/
|
|
237
|
-
|
|
239
|
+
getClaimStatus: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
238
240
|
// verify required parameter 'id' is not null or undefined
|
|
239
|
-
assertParamExists('
|
|
240
|
-
const localVarPath = `/v1/claim-statuses/{id}`
|
|
241
|
+
assertParamExists('getClaimStatus', 'id', id)
|
|
242
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
241
243
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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 ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
272
274
|
};
|
|
273
275
|
},
|
|
274
276
|
/**
|
|
275
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
277
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.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 claim status
|
|
277
279
|
* @param {number} id
|
|
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
|
getClaimStatus1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
283
286
|
// verify required parameter 'id' is not null or undefined
|
|
284
287
|
assertParamExists('getClaimStatus1', 'id', id)
|
|
285
|
-
const localVarPath = `/
|
|
288
|
+
const localVarPath = `/v1/claim-statuses/{id}`
|
|
286
289
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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 ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
330
333
|
* @param {*} [options] Override http request option.
|
|
331
334
|
* @throws {RequiredError}
|
|
332
335
|
*/
|
|
333
|
-
|
|
334
|
-
const localVarPath = `/v1/claim-statuses`;
|
|
336
|
+
listClaimStatuses: 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/claim-statuses`;
|
|
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 ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
393
396
|
};
|
|
394
397
|
},
|
|
395
398
|
/**
|
|
396
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
399
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.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 claim statuses
|
|
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 ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
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/>
|
|
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: id, name, productSlug</i>
|
|
406
409
|
* @param {*} [options] Override http request option.
|
|
410
|
+
* @deprecated
|
|
407
411
|
* @throws {RequiredError}
|
|
408
412
|
*/
|
|
409
413
|
listClaimStatuses1: 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/claim-statuses`;
|
|
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 ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
477
481
|
* @param {*} [options] Override http request option.
|
|
478
482
|
* @throws {RequiredError}
|
|
479
483
|
*/
|
|
480
|
-
|
|
484
|
+
patchClaimStatus: async (id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
481
485
|
// verify required parameter 'id' is not null or undefined
|
|
482
|
-
assertParamExists('
|
|
486
|
+
assertParamExists('patchClaimStatus', 'id', id)
|
|
483
487
|
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
484
|
-
assertParamExists('
|
|
485
|
-
const localVarPath = `/v1/claim-statuses/{id}`
|
|
488
|
+
assertParamExists('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto)
|
|
489
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
486
490
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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 ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
520
524
|
};
|
|
521
525
|
},
|
|
522
526
|
/**
|
|
523
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
527
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
524
528
|
* @summary Patch claim status
|
|
525
529
|
* @param {number} id
|
|
526
530
|
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
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
|
patchClaimStatus1: async (id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -533,7 +538,7 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
533
538
|
assertParamExists('patchClaimStatus1', 'id', id)
|
|
534
539
|
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
535
540
|
assertParamExists('patchClaimStatus1', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto)
|
|
536
|
-
const localVarPath = `/
|
|
541
|
+
const localVarPath = `/v1/claim-statuses/{id}`
|
|
537
542
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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);
|
|
@@ -579,12 +584,12 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
579
584
|
* @param {*} [options] Override http request option.
|
|
580
585
|
* @throws {RequiredError}
|
|
581
586
|
*/
|
|
582
|
-
|
|
587
|
+
updateClaimStatus: async (id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
583
588
|
// verify required parameter 'id' is not null or undefined
|
|
584
|
-
assertParamExists('
|
|
589
|
+
assertParamExists('updateClaimStatus', 'id', id)
|
|
585
590
|
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
586
|
-
assertParamExists('
|
|
587
|
-
const localVarPath = `/v1/claim-statuses/{id}`
|
|
591
|
+
assertParamExists('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto)
|
|
592
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
588
593
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
589
594
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
590
595
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -622,12 +627,13 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
622
627
|
};
|
|
623
628
|
},
|
|
624
629
|
/**
|
|
625
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
630
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
626
631
|
* @summary Update the claim status
|
|
627
632
|
* @param {number} id
|
|
628
633
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
629
634
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
630
635
|
* @param {*} [options] Override http request option.
|
|
636
|
+
* @deprecated
|
|
631
637
|
* @throws {RequiredError}
|
|
632
638
|
*/
|
|
633
639
|
updateClaimStatus1: async (id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -635,7 +641,7 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
635
641
|
assertParamExists('updateClaimStatus1', 'id', id)
|
|
636
642
|
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
637
643
|
assertParamExists('updateClaimStatus1', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto)
|
|
638
|
-
const localVarPath = `/
|
|
644
|
+
const localVarPath = `/v1/claim-statuses/{id}`
|
|
639
645
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
640
646
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
641
647
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -690,16 +696,17 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
690
696
|
* @param {*} [options] Override http request option.
|
|
691
697
|
* @throws {RequiredError}
|
|
692
698
|
*/
|
|
693
|
-
async
|
|
694
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
699
|
+
async createClaimStatus(createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimStatusResponseClass>> {
|
|
700
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimStatus(createClaimStatusRequestDto, authorization, options);
|
|
695
701
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
696
702
|
},
|
|
697
703
|
/**
|
|
698
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
704
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
699
705
|
* @summary Create the claim status
|
|
700
706
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
701
707
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
702
708
|
* @param {*} [options] Override http request option.
|
|
709
|
+
* @deprecated
|
|
703
710
|
* @throws {RequiredError}
|
|
704
711
|
*/
|
|
705
712
|
async createClaimStatus1(createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimStatusResponseClass>> {
|
|
@@ -714,16 +721,17 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
714
721
|
* @param {*} [options] Override http request option.
|
|
715
722
|
* @throws {RequiredError}
|
|
716
723
|
*/
|
|
717
|
-
async
|
|
718
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
724
|
+
async deleteClaimStatus(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
725
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimStatus(id, authorization, options);
|
|
719
726
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
720
727
|
},
|
|
721
728
|
/**
|
|
722
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
729
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
723
730
|
* @summary Delete the claim status
|
|
724
731
|
* @param {number} id
|
|
725
732
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
726
733
|
* @param {*} [options] Override http request option.
|
|
734
|
+
* @deprecated
|
|
727
735
|
* @throws {RequiredError}
|
|
728
736
|
*/
|
|
729
737
|
async deleteClaimStatus1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -738,16 +746,17 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
738
746
|
* @param {*} [options] Override http request option.
|
|
739
747
|
* @throws {RequiredError}
|
|
740
748
|
*/
|
|
741
|
-
async
|
|
742
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
749
|
+
async getClaimStatus(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimStatusResponseClass>> {
|
|
750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimStatus(id, authorization, options);
|
|
743
751
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
744
752
|
},
|
|
745
753
|
/**
|
|
746
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
754
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
747
755
|
* @summary Retrieve the claim status
|
|
748
756
|
* @param {number} id
|
|
749
757
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
750
758
|
* @param {*} [options] Override http request option.
|
|
759
|
+
* @deprecated
|
|
751
760
|
* @throws {RequiredError}
|
|
752
761
|
*/
|
|
753
762
|
async getClaimStatus1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimStatusResponseClass>> {
|
|
@@ -768,12 +777,12 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
768
777
|
* @param {*} [options] Override http request option.
|
|
769
778
|
* @throws {RequiredError}
|
|
770
779
|
*/
|
|
771
|
-
async
|
|
772
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
780
|
+
async listClaimStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>> {
|
|
781
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
773
782
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
774
783
|
},
|
|
775
784
|
/**
|
|
776
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
785
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
777
786
|
* @summary List claim statuses
|
|
778
787
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
779
788
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -784,6 +793,7 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
784
793
|
* @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/>
|
|
785
794
|
* @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: id, name, productSlug</i>
|
|
786
795
|
* @param {*} [options] Override http request option.
|
|
796
|
+
* @deprecated
|
|
787
797
|
* @throws {RequiredError}
|
|
788
798
|
*/
|
|
789
799
|
async listClaimStatuses1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>> {
|
|
@@ -799,17 +809,18 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
799
809
|
* @param {*} [options] Override http request option.
|
|
800
810
|
* @throws {RequiredError}
|
|
801
811
|
*/
|
|
802
|
-
async
|
|
803
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
812
|
+
async patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimStatusResponseClass>> {
|
|
813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options);
|
|
804
814
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
805
815
|
},
|
|
806
816
|
/**
|
|
807
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
817
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
808
818
|
* @summary Patch claim status
|
|
809
819
|
* @param {number} id
|
|
810
820
|
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
811
821
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
812
822
|
* @param {*} [options] Override http request option.
|
|
823
|
+
* @deprecated
|
|
813
824
|
* @throws {RequiredError}
|
|
814
825
|
*/
|
|
815
826
|
async patchClaimStatus1(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimStatusResponseClass>> {
|
|
@@ -825,17 +836,18 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
825
836
|
* @param {*} [options] Override http request option.
|
|
826
837
|
* @throws {RequiredError}
|
|
827
838
|
*/
|
|
828
|
-
async
|
|
829
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
839
|
+
async updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimStatusResponseClass>> {
|
|
840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options);
|
|
830
841
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
831
842
|
},
|
|
832
843
|
/**
|
|
833
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
844
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
834
845
|
* @summary Update the claim status
|
|
835
846
|
* @param {number} id
|
|
836
847
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
837
848
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
838
849
|
* @param {*} [options] Override http request option.
|
|
850
|
+
* @deprecated
|
|
839
851
|
* @throws {RequiredError}
|
|
840
852
|
*/
|
|
841
853
|
async updateClaimStatus1(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimStatusResponseClass>> {
|
|
@@ -860,15 +872,16 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
860
872
|
* @param {*} [options] Override http request option.
|
|
861
873
|
* @throws {RequiredError}
|
|
862
874
|
*/
|
|
863
|
-
|
|
864
|
-
return localVarFp.
|
|
875
|
+
createClaimStatus(createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimStatusResponseClass> {
|
|
876
|
+
return localVarFp.createClaimStatus(createClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
865
877
|
},
|
|
866
878
|
/**
|
|
867
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
879
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
868
880
|
* @summary Create the claim status
|
|
869
881
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
870
882
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
871
883
|
* @param {*} [options] Override http request option.
|
|
884
|
+
* @deprecated
|
|
872
885
|
* @throws {RequiredError}
|
|
873
886
|
*/
|
|
874
887
|
createClaimStatus1(createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimStatusResponseClass> {
|
|
@@ -882,15 +895,16 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
882
895
|
* @param {*} [options] Override http request option.
|
|
883
896
|
* @throws {RequiredError}
|
|
884
897
|
*/
|
|
885
|
-
|
|
886
|
-
return localVarFp.
|
|
898
|
+
deleteClaimStatus(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
899
|
+
return localVarFp.deleteClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
887
900
|
},
|
|
888
901
|
/**
|
|
889
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
902
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
890
903
|
* @summary Delete the claim status
|
|
891
904
|
* @param {number} id
|
|
892
905
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
893
906
|
* @param {*} [options] Override http request option.
|
|
907
|
+
* @deprecated
|
|
894
908
|
* @throws {RequiredError}
|
|
895
909
|
*/
|
|
896
910
|
deleteClaimStatus1(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
@@ -904,15 +918,16 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
904
918
|
* @param {*} [options] Override http request option.
|
|
905
919
|
* @throws {RequiredError}
|
|
906
920
|
*/
|
|
907
|
-
|
|
908
|
-
return localVarFp.
|
|
921
|
+
getClaimStatus(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimStatusResponseClass> {
|
|
922
|
+
return localVarFp.getClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
909
923
|
},
|
|
910
924
|
/**
|
|
911
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
925
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
912
926
|
* @summary Retrieve the claim status
|
|
913
927
|
* @param {number} id
|
|
914
928
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
915
929
|
* @param {*} [options] Override http request option.
|
|
930
|
+
* @deprecated
|
|
916
931
|
* @throws {RequiredError}
|
|
917
932
|
*/
|
|
918
933
|
getClaimStatus1(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimStatusResponseClass> {
|
|
@@ -932,11 +947,11 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
932
947
|
* @param {*} [options] Override http request option.
|
|
933
948
|
* @throws {RequiredError}
|
|
934
949
|
*/
|
|
935
|
-
|
|
936
|
-
return localVarFp.
|
|
950
|
+
listClaimStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
951
|
+
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
937
952
|
},
|
|
938
953
|
/**
|
|
939
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
954
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
940
955
|
* @summary List claim statuses
|
|
941
956
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
942
957
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -947,6 +962,7 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
947
962
|
* @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/>
|
|
948
963
|
* @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: id, name, productSlug</i>
|
|
949
964
|
* @param {*} [options] Override http request option.
|
|
965
|
+
* @deprecated
|
|
950
966
|
* @throws {RequiredError}
|
|
951
967
|
*/
|
|
952
968
|
listClaimStatuses1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
@@ -961,16 +977,17 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
961
977
|
* @param {*} [options] Override http request option.
|
|
962
978
|
* @throws {RequiredError}
|
|
963
979
|
*/
|
|
964
|
-
|
|
965
|
-
return localVarFp.
|
|
980
|
+
patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimStatusResponseClass> {
|
|
981
|
+
return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
966
982
|
},
|
|
967
983
|
/**
|
|
968
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
984
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
969
985
|
* @summary Patch claim status
|
|
970
986
|
* @param {number} id
|
|
971
987
|
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
972
988
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
973
989
|
* @param {*} [options] Override http request option.
|
|
990
|
+
* @deprecated
|
|
974
991
|
* @throws {RequiredError}
|
|
975
992
|
*/
|
|
976
993
|
patchClaimStatus1(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimStatusResponseClass> {
|
|
@@ -985,16 +1002,17 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
985
1002
|
* @param {*} [options] Override http request option.
|
|
986
1003
|
* @throws {RequiredError}
|
|
987
1004
|
*/
|
|
988
|
-
|
|
989
|
-
return localVarFp.
|
|
1005
|
+
updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimStatusResponseClass> {
|
|
1006
|
+
return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
990
1007
|
},
|
|
991
1008
|
/**
|
|
992
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1009
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
993
1010
|
* @summary Update the claim status
|
|
994
1011
|
* @param {number} id
|
|
995
1012
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
996
1013
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
997
1014
|
* @param {*} [options] Override http request option.
|
|
1015
|
+
* @deprecated
|
|
998
1016
|
* @throws {RequiredError}
|
|
999
1017
|
*/
|
|
1000
1018
|
updateClaimStatus1(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimStatusResponseClass> {
|
|
@@ -1004,22 +1022,22 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
1004
1022
|
};
|
|
1005
1023
|
|
|
1006
1024
|
/**
|
|
1007
|
-
* Request parameters for
|
|
1025
|
+
* Request parameters for createClaimStatus operation in ClaimStatusesApi.
|
|
1008
1026
|
* @export
|
|
1009
|
-
* @interface
|
|
1027
|
+
* @interface ClaimStatusesApiCreateClaimStatusRequest
|
|
1010
1028
|
*/
|
|
1011
|
-
export interface
|
|
1029
|
+
export interface ClaimStatusesApiCreateClaimStatusRequest {
|
|
1012
1030
|
/**
|
|
1013
1031
|
*
|
|
1014
1032
|
* @type {CreateClaimStatusRequestDto}
|
|
1015
|
-
* @memberof
|
|
1033
|
+
* @memberof ClaimStatusesApiCreateClaimStatus
|
|
1016
1034
|
*/
|
|
1017
1035
|
readonly createClaimStatusRequestDto: CreateClaimStatusRequestDto
|
|
1018
1036
|
|
|
1019
1037
|
/**
|
|
1020
1038
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1021
1039
|
* @type {string}
|
|
1022
|
-
* @memberof
|
|
1040
|
+
* @memberof ClaimStatusesApiCreateClaimStatus
|
|
1023
1041
|
*/
|
|
1024
1042
|
readonly authorization?: string
|
|
1025
1043
|
}
|
|
@@ -1046,22 +1064,22 @@ export interface ClaimStatusesApiCreateClaimStatus1Request {
|
|
|
1046
1064
|
}
|
|
1047
1065
|
|
|
1048
1066
|
/**
|
|
1049
|
-
* Request parameters for
|
|
1067
|
+
* Request parameters for deleteClaimStatus operation in ClaimStatusesApi.
|
|
1050
1068
|
* @export
|
|
1051
|
-
* @interface
|
|
1069
|
+
* @interface ClaimStatusesApiDeleteClaimStatusRequest
|
|
1052
1070
|
*/
|
|
1053
|
-
export interface
|
|
1071
|
+
export interface ClaimStatusesApiDeleteClaimStatusRequest {
|
|
1054
1072
|
/**
|
|
1055
1073
|
*
|
|
1056
1074
|
* @type {number}
|
|
1057
|
-
* @memberof
|
|
1075
|
+
* @memberof ClaimStatusesApiDeleteClaimStatus
|
|
1058
1076
|
*/
|
|
1059
1077
|
readonly id: number
|
|
1060
1078
|
|
|
1061
1079
|
/**
|
|
1062
1080
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1063
1081
|
* @type {string}
|
|
1064
|
-
* @memberof
|
|
1082
|
+
* @memberof ClaimStatusesApiDeleteClaimStatus
|
|
1065
1083
|
*/
|
|
1066
1084
|
readonly authorization?: string
|
|
1067
1085
|
}
|
|
@@ -1088,22 +1106,22 @@ export interface ClaimStatusesApiDeleteClaimStatus1Request {
|
|
|
1088
1106
|
}
|
|
1089
1107
|
|
|
1090
1108
|
/**
|
|
1091
|
-
* Request parameters for
|
|
1109
|
+
* Request parameters for getClaimStatus operation in ClaimStatusesApi.
|
|
1092
1110
|
* @export
|
|
1093
|
-
* @interface
|
|
1111
|
+
* @interface ClaimStatusesApiGetClaimStatusRequest
|
|
1094
1112
|
*/
|
|
1095
|
-
export interface
|
|
1113
|
+
export interface ClaimStatusesApiGetClaimStatusRequest {
|
|
1096
1114
|
/**
|
|
1097
1115
|
*
|
|
1098
1116
|
* @type {number}
|
|
1099
|
-
* @memberof
|
|
1117
|
+
* @memberof ClaimStatusesApiGetClaimStatus
|
|
1100
1118
|
*/
|
|
1101
1119
|
readonly id: number
|
|
1102
1120
|
|
|
1103
1121
|
/**
|
|
1104
1122
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1105
1123
|
* @type {string}
|
|
1106
|
-
* @memberof
|
|
1124
|
+
* @memberof ClaimStatusesApiGetClaimStatus
|
|
1107
1125
|
*/
|
|
1108
1126
|
readonly authorization?: string
|
|
1109
1127
|
}
|
|
@@ -1130,64 +1148,64 @@ export interface ClaimStatusesApiGetClaimStatus1Request {
|
|
|
1130
1148
|
}
|
|
1131
1149
|
|
|
1132
1150
|
/**
|
|
1133
|
-
* Request parameters for
|
|
1151
|
+
* Request parameters for listClaimStatuses operation in ClaimStatusesApi.
|
|
1134
1152
|
* @export
|
|
1135
|
-
* @interface
|
|
1153
|
+
* @interface ClaimStatusesApiListClaimStatusesRequest
|
|
1136
1154
|
*/
|
|
1137
|
-
export interface
|
|
1155
|
+
export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
1138
1156
|
/**
|
|
1139
1157
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1140
1158
|
* @type {string}
|
|
1141
|
-
* @memberof
|
|
1159
|
+
* @memberof ClaimStatusesApiListClaimStatuses
|
|
1142
1160
|
*/
|
|
1143
1161
|
readonly authorization?: string
|
|
1144
1162
|
|
|
1145
1163
|
/**
|
|
1146
1164
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1147
1165
|
* @type {number}
|
|
1148
|
-
* @memberof
|
|
1166
|
+
* @memberof ClaimStatusesApiListClaimStatuses
|
|
1149
1167
|
*/
|
|
1150
1168
|
readonly pageSize?: number
|
|
1151
1169
|
|
|
1152
1170
|
/**
|
|
1153
1171
|
* 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.
|
|
1154
1172
|
* @type {string}
|
|
1155
|
-
* @memberof
|
|
1173
|
+
* @memberof ClaimStatusesApiListClaimStatuses
|
|
1156
1174
|
*/
|
|
1157
1175
|
readonly pageToken?: string
|
|
1158
1176
|
|
|
1159
1177
|
/**
|
|
1160
1178
|
* 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: id, name, productSlug</i>
|
|
1161
1179
|
* @type {string}
|
|
1162
|
-
* @memberof
|
|
1180
|
+
* @memberof ClaimStatusesApiListClaimStatuses
|
|
1163
1181
|
*/
|
|
1164
1182
|
readonly filter?: string
|
|
1165
1183
|
|
|
1166
1184
|
/**
|
|
1167
1185
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1168
1186
|
* @type {string}
|
|
1169
|
-
* @memberof
|
|
1187
|
+
* @memberof ClaimStatusesApiListClaimStatuses
|
|
1170
1188
|
*/
|
|
1171
1189
|
readonly search?: string
|
|
1172
1190
|
|
|
1173
1191
|
/**
|
|
1174
1192
|
* 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: id</i>
|
|
1175
1193
|
* @type {string}
|
|
1176
|
-
* @memberof
|
|
1194
|
+
* @memberof ClaimStatusesApiListClaimStatuses
|
|
1177
1195
|
*/
|
|
1178
1196
|
readonly order?: string
|
|
1179
1197
|
|
|
1180
1198
|
/**
|
|
1181
1199
|
* 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/>
|
|
1182
1200
|
* @type {string}
|
|
1183
|
-
* @memberof
|
|
1201
|
+
* @memberof ClaimStatusesApiListClaimStatuses
|
|
1184
1202
|
*/
|
|
1185
1203
|
readonly expand?: string
|
|
1186
1204
|
|
|
1187
1205
|
/**
|
|
1188
1206
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
1189
1207
|
* @type {string}
|
|
1190
|
-
* @memberof
|
|
1208
|
+
* @memberof ClaimStatusesApiListClaimStatuses
|
|
1191
1209
|
*/
|
|
1192
1210
|
readonly filters?: string
|
|
1193
1211
|
}
|
|
@@ -1256,29 +1274,29 @@ export interface ClaimStatusesApiListClaimStatuses1Request {
|
|
|
1256
1274
|
}
|
|
1257
1275
|
|
|
1258
1276
|
/**
|
|
1259
|
-
* Request parameters for
|
|
1277
|
+
* Request parameters for patchClaimStatus operation in ClaimStatusesApi.
|
|
1260
1278
|
* @export
|
|
1261
|
-
* @interface
|
|
1279
|
+
* @interface ClaimStatusesApiPatchClaimStatusRequest
|
|
1262
1280
|
*/
|
|
1263
|
-
export interface
|
|
1281
|
+
export interface ClaimStatusesApiPatchClaimStatusRequest {
|
|
1264
1282
|
/**
|
|
1265
1283
|
*
|
|
1266
1284
|
* @type {number}
|
|
1267
|
-
* @memberof
|
|
1285
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
1268
1286
|
*/
|
|
1269
1287
|
readonly id: number
|
|
1270
1288
|
|
|
1271
1289
|
/**
|
|
1272
1290
|
*
|
|
1273
1291
|
* @type {PatchClaimStatusRequestDto}
|
|
1274
|
-
* @memberof
|
|
1292
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
1275
1293
|
*/
|
|
1276
1294
|
readonly patchClaimStatusRequestDto: PatchClaimStatusRequestDto
|
|
1277
1295
|
|
|
1278
1296
|
/**
|
|
1279
1297
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1280
1298
|
* @type {string}
|
|
1281
|
-
* @memberof
|
|
1299
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
1282
1300
|
*/
|
|
1283
1301
|
readonly authorization?: string
|
|
1284
1302
|
}
|
|
@@ -1312,29 +1330,29 @@ export interface ClaimStatusesApiPatchClaimStatus1Request {
|
|
|
1312
1330
|
}
|
|
1313
1331
|
|
|
1314
1332
|
/**
|
|
1315
|
-
* Request parameters for
|
|
1333
|
+
* Request parameters for updateClaimStatus operation in ClaimStatusesApi.
|
|
1316
1334
|
* @export
|
|
1317
|
-
* @interface
|
|
1335
|
+
* @interface ClaimStatusesApiUpdateClaimStatusRequest
|
|
1318
1336
|
*/
|
|
1319
|
-
export interface
|
|
1337
|
+
export interface ClaimStatusesApiUpdateClaimStatusRequest {
|
|
1320
1338
|
/**
|
|
1321
1339
|
*
|
|
1322
1340
|
* @type {number}
|
|
1323
|
-
* @memberof
|
|
1341
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
1324
1342
|
*/
|
|
1325
1343
|
readonly id: number
|
|
1326
1344
|
|
|
1327
1345
|
/**
|
|
1328
1346
|
*
|
|
1329
1347
|
* @type {UpdateClaimStatusRequestDto}
|
|
1330
|
-
* @memberof
|
|
1348
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
1331
1349
|
*/
|
|
1332
1350
|
readonly updateClaimStatusRequestDto: UpdateClaimStatusRequestDto
|
|
1333
1351
|
|
|
1334
1352
|
/**
|
|
1335
1353
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1336
1354
|
* @type {string}
|
|
1337
|
-
* @memberof
|
|
1355
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
1338
1356
|
*/
|
|
1339
1357
|
readonly authorization?: string
|
|
1340
1358
|
}
|
|
@@ -1377,20 +1395,21 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
1377
1395
|
/**
|
|
1378
1396
|
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
1379
1397
|
* @summary Create the claim status
|
|
1380
|
-
* @param {
|
|
1398
|
+
* @param {ClaimStatusesApiCreateClaimStatusRequest} requestParameters Request parameters.
|
|
1381
1399
|
* @param {*} [options] Override http request option.
|
|
1382
1400
|
* @throws {RequiredError}
|
|
1383
1401
|
* @memberof ClaimStatusesApi
|
|
1384
1402
|
*/
|
|
1385
|
-
public
|
|
1386
|
-
return ClaimStatusesApiFp(this.configuration).
|
|
1403
|
+
public createClaimStatus(requestParameters: ClaimStatusesApiCreateClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
1404
|
+
return ClaimStatusesApiFp(this.configuration).createClaimStatus(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1387
1405
|
}
|
|
1388
1406
|
|
|
1389
1407
|
/**
|
|
1390
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
1408
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1391
1409
|
* @summary Create the claim status
|
|
1392
1410
|
* @param {ClaimStatusesApiCreateClaimStatus1Request} requestParameters Request parameters.
|
|
1393
1411
|
* @param {*} [options] Override http request option.
|
|
1412
|
+
* @deprecated
|
|
1394
1413
|
* @throws {RequiredError}
|
|
1395
1414
|
* @memberof ClaimStatusesApi
|
|
1396
1415
|
*/
|
|
@@ -1401,20 +1420,21 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
1401
1420
|
/**
|
|
1402
1421
|
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
1403
1422
|
* @summary Delete the claim status
|
|
1404
|
-
* @param {
|
|
1423
|
+
* @param {ClaimStatusesApiDeleteClaimStatusRequest} requestParameters Request parameters.
|
|
1405
1424
|
* @param {*} [options] Override http request option.
|
|
1406
1425
|
* @throws {RequiredError}
|
|
1407
1426
|
* @memberof ClaimStatusesApi
|
|
1408
1427
|
*/
|
|
1409
|
-
public
|
|
1410
|
-
return ClaimStatusesApiFp(this.configuration).
|
|
1428
|
+
public deleteClaimStatus(requestParameters: ClaimStatusesApiDeleteClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
1429
|
+
return ClaimStatusesApiFp(this.configuration).deleteClaimStatus(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1411
1430
|
}
|
|
1412
1431
|
|
|
1413
1432
|
/**
|
|
1414
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
1433
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1415
1434
|
* @summary Delete the claim status
|
|
1416
1435
|
* @param {ClaimStatusesApiDeleteClaimStatus1Request} requestParameters Request parameters.
|
|
1417
1436
|
* @param {*} [options] Override http request option.
|
|
1437
|
+
* @deprecated
|
|
1418
1438
|
* @throws {RequiredError}
|
|
1419
1439
|
* @memberof ClaimStatusesApi
|
|
1420
1440
|
*/
|
|
@@ -1425,20 +1445,21 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
1425
1445
|
/**
|
|
1426
1446
|
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
1427
1447
|
* @summary Retrieve the claim status
|
|
1428
|
-
* @param {
|
|
1448
|
+
* @param {ClaimStatusesApiGetClaimStatusRequest} requestParameters Request parameters.
|
|
1429
1449
|
* @param {*} [options] Override http request option.
|
|
1430
1450
|
* @throws {RequiredError}
|
|
1431
1451
|
* @memberof ClaimStatusesApi
|
|
1432
1452
|
*/
|
|
1433
|
-
public
|
|
1434
|
-
return ClaimStatusesApiFp(this.configuration).
|
|
1453
|
+
public getClaimStatus(requestParameters: ClaimStatusesApiGetClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
1454
|
+
return ClaimStatusesApiFp(this.configuration).getClaimStatus(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1435
1455
|
}
|
|
1436
1456
|
|
|
1437
1457
|
/**
|
|
1438
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
1458
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1439
1459
|
* @summary Retrieve the claim status
|
|
1440
1460
|
* @param {ClaimStatusesApiGetClaimStatus1Request} requestParameters Request parameters.
|
|
1441
1461
|
* @param {*} [options] Override http request option.
|
|
1462
|
+
* @deprecated
|
|
1442
1463
|
* @throws {RequiredError}
|
|
1443
1464
|
* @memberof ClaimStatusesApi
|
|
1444
1465
|
*/
|
|
@@ -1449,20 +1470,21 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
1449
1470
|
/**
|
|
1450
1471
|
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
1451
1472
|
* @summary List claim statuses
|
|
1452
|
-
* @param {
|
|
1473
|
+
* @param {ClaimStatusesApiListClaimStatusesRequest} requestParameters Request parameters.
|
|
1453
1474
|
* @param {*} [options] Override http request option.
|
|
1454
1475
|
* @throws {RequiredError}
|
|
1455
1476
|
* @memberof ClaimStatusesApi
|
|
1456
1477
|
*/
|
|
1457
|
-
public
|
|
1458
|
-
return ClaimStatusesApiFp(this.configuration).
|
|
1478
|
+
public listClaimStatuses(requestParameters: ClaimStatusesApiListClaimStatusesRequest = {}, options?: AxiosRequestConfig) {
|
|
1479
|
+
return ClaimStatusesApiFp(this.configuration).listClaimStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1459
1480
|
}
|
|
1460
1481
|
|
|
1461
1482
|
/**
|
|
1462
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
1483
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1463
1484
|
* @summary List claim statuses
|
|
1464
1485
|
* @param {ClaimStatusesApiListClaimStatuses1Request} requestParameters Request parameters.
|
|
1465
1486
|
* @param {*} [options] Override http request option.
|
|
1487
|
+
* @deprecated
|
|
1466
1488
|
* @throws {RequiredError}
|
|
1467
1489
|
* @memberof ClaimStatusesApi
|
|
1468
1490
|
*/
|
|
@@ -1473,20 +1495,21 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
1473
1495
|
/**
|
|
1474
1496
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1475
1497
|
* @summary Patch claim status
|
|
1476
|
-
* @param {
|
|
1498
|
+
* @param {ClaimStatusesApiPatchClaimStatusRequest} requestParameters Request parameters.
|
|
1477
1499
|
* @param {*} [options] Override http request option.
|
|
1478
1500
|
* @throws {RequiredError}
|
|
1479
1501
|
* @memberof ClaimStatusesApi
|
|
1480
1502
|
*/
|
|
1481
|
-
public
|
|
1482
|
-
return ClaimStatusesApiFp(this.configuration).
|
|
1503
|
+
public patchClaimStatus(requestParameters: ClaimStatusesApiPatchClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
1504
|
+
return ClaimStatusesApiFp(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1483
1505
|
}
|
|
1484
1506
|
|
|
1485
1507
|
/**
|
|
1486
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1508
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1487
1509
|
* @summary Patch claim status
|
|
1488
1510
|
* @param {ClaimStatusesApiPatchClaimStatus1Request} requestParameters Request parameters.
|
|
1489
1511
|
* @param {*} [options] Override http request option.
|
|
1512
|
+
* @deprecated
|
|
1490
1513
|
* @throws {RequiredError}
|
|
1491
1514
|
* @memberof ClaimStatusesApi
|
|
1492
1515
|
*/
|
|
@@ -1497,20 +1520,21 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
1497
1520
|
/**
|
|
1498
1521
|
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1499
1522
|
* @summary Update the claim status
|
|
1500
|
-
* @param {
|
|
1523
|
+
* @param {ClaimStatusesApiUpdateClaimStatusRequest} requestParameters Request parameters.
|
|
1501
1524
|
* @param {*} [options] Override http request option.
|
|
1502
1525
|
* @throws {RequiredError}
|
|
1503
1526
|
* @memberof ClaimStatusesApi
|
|
1504
1527
|
*/
|
|
1505
|
-
public
|
|
1506
|
-
return ClaimStatusesApiFp(this.configuration).
|
|
1528
|
+
public updateClaimStatus(requestParameters: ClaimStatusesApiUpdateClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
1529
|
+
return ClaimStatusesApiFp(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1507
1530
|
}
|
|
1508
1531
|
|
|
1509
1532
|
/**
|
|
1510
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1533
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1511
1534
|
* @summary Update the claim status
|
|
1512
1535
|
* @param {ClaimStatusesApiUpdateClaimStatus1Request} requestParameters Request parameters.
|
|
1513
1536
|
* @param {*} [options] Override http request option.
|
|
1537
|
+
* @deprecated
|
|
1514
1538
|
* @throws {RequiredError}
|
|
1515
1539
|
* @memberof ClaimStatusesApi
|
|
1516
1540
|
*/
|