@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
|
@@ -101,7 +101,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
102
|
* @throws {RequiredError}
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
105
105
|
if (options === void 0) { options = {}; }
|
|
106
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
107
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -109,10 +109,10 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
switch (_a.label) {
|
|
110
110
|
case 0:
|
|
111
111
|
// verify required parameter 'claimCode' is not null or undefined
|
|
112
|
-
(0, common_1.assertParamExists)('
|
|
112
|
+
(0, common_1.assertParamExists)('createClaimPartner', 'claimCode', claimCode);
|
|
113
113
|
// verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
|
|
114
|
-
(0, common_1.assertParamExists)('
|
|
115
|
-
localVarPath = "/v1/claims/{claimCode}/partner"
|
|
114
|
+
(0, common_1.assertParamExists)('createClaimPartner', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto);
|
|
115
|
+
localVarPath = "/claimservice/v1/claims/{claimCode}/partner"
|
|
116
116
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
117
117
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
@@ -146,12 +146,13 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
149
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
150
150
|
* @summary Create the claim partner
|
|
151
151
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
152
152
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
153
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
154
|
* @param {*} [options] Override http request option.
|
|
155
|
+
* @deprecated
|
|
155
156
|
* @throws {RequiredError}
|
|
156
157
|
*/
|
|
157
158
|
createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
@@ -165,7 +166,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
165
166
|
(0, common_1.assertParamExists)('createClaimPartner1', 'claimCode', claimCode);
|
|
166
167
|
// verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
|
|
167
168
|
(0, common_1.assertParamExists)('createClaimPartner1', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto);
|
|
168
|
-
localVarPath = "/
|
|
169
|
+
localVarPath = "/v1/claims/{claimCode}/partner"
|
|
169
170
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
170
171
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
171
172
|
if (configuration) {
|
|
@@ -206,7 +207,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
206
207
|
* @param {*} [options] Override http request option.
|
|
207
208
|
* @throws {RequiredError}
|
|
208
209
|
*/
|
|
209
|
-
|
|
210
|
+
deleteClaimPartner: function (id, authorization, options) {
|
|
210
211
|
if (options === void 0) { options = {}; }
|
|
211
212
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
213
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -214,8 +215,8 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
214
215
|
switch (_a.label) {
|
|
215
216
|
case 0:
|
|
216
217
|
// verify required parameter 'id' is not null or undefined
|
|
217
|
-
(0, common_1.assertParamExists)('
|
|
218
|
-
localVarPath = "/v1/claim-partners/{id}"
|
|
218
|
+
(0, common_1.assertParamExists)('deleteClaimPartner', 'id', id);
|
|
219
|
+
localVarPath = "/claimservice/v1/claim-partners/{id}"
|
|
219
220
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
220
221
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
221
222
|
if (configuration) {
|
|
@@ -247,11 +248,12 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
247
248
|
});
|
|
248
249
|
},
|
|
249
250
|
/**
|
|
250
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
251
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
251
252
|
* @summary Delete the claim partner
|
|
252
253
|
* @param {number} id
|
|
253
254
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
255
|
* @param {*} [options] Override http request option.
|
|
256
|
+
* @deprecated
|
|
255
257
|
* @throws {RequiredError}
|
|
256
258
|
*/
|
|
257
259
|
deleteClaimPartner1: function (id, authorization, options) {
|
|
@@ -263,7 +265,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
263
265
|
case 0:
|
|
264
266
|
// verify required parameter 'id' is not null or undefined
|
|
265
267
|
(0, common_1.assertParamExists)('deleteClaimPartner1', 'id', id);
|
|
266
|
-
localVarPath = "/
|
|
268
|
+
localVarPath = "/v1/claim-partners/{id}"
|
|
267
269
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
268
270
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
269
271
|
if (configuration) {
|
|
@@ -302,7 +304,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
302
304
|
* @param {*} [options] Override http request option.
|
|
303
305
|
* @throws {RequiredError}
|
|
304
306
|
*/
|
|
305
|
-
|
|
307
|
+
getClaimPartner: function (id, authorization, options) {
|
|
306
308
|
if (options === void 0) { options = {}; }
|
|
307
309
|
return __awaiter(_this, void 0, void 0, function () {
|
|
308
310
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -310,8 +312,8 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
310
312
|
switch (_a.label) {
|
|
311
313
|
case 0:
|
|
312
314
|
// verify required parameter 'id' is not null or undefined
|
|
313
|
-
(0, common_1.assertParamExists)('
|
|
314
|
-
localVarPath = "/v1/claim-partners/{id}"
|
|
315
|
+
(0, common_1.assertParamExists)('getClaimPartner', 'id', id);
|
|
316
|
+
localVarPath = "/claimservice/v1/claim-partners/{id}"
|
|
315
317
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
316
318
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
317
319
|
if (configuration) {
|
|
@@ -343,11 +345,12 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
343
345
|
});
|
|
344
346
|
},
|
|
345
347
|
/**
|
|
346
|
-
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
348
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
347
349
|
* @summary Retrieve the claim partner
|
|
348
350
|
* @param {number} id
|
|
349
351
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
350
352
|
* @param {*} [options] Override http request option.
|
|
353
|
+
* @deprecated
|
|
351
354
|
* @throws {RequiredError}
|
|
352
355
|
*/
|
|
353
356
|
getClaimPartner1: function (id, authorization, options) {
|
|
@@ -359,7 +362,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
359
362
|
case 0:
|
|
360
363
|
// verify required parameter 'id' is not null or undefined
|
|
361
364
|
(0, common_1.assertParamExists)('getClaimPartner1', 'id', id);
|
|
362
|
-
localVarPath = "/
|
|
365
|
+
localVarPath = "/v1/claim-partners/{id}"
|
|
363
366
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
364
367
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
365
368
|
if (configuration) {
|
|
@@ -404,14 +407,14 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
404
407
|
* @param {*} [options] Override http request option.
|
|
405
408
|
* @throws {RequiredError}
|
|
406
409
|
*/
|
|
407
|
-
|
|
410
|
+
listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
408
411
|
if (options === void 0) { options = {}; }
|
|
409
412
|
return __awaiter(_this, void 0, void 0, function () {
|
|
410
413
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
411
414
|
return __generator(this, function (_a) {
|
|
412
415
|
switch (_a.label) {
|
|
413
416
|
case 0:
|
|
414
|
-
localVarPath = "/v1/claim-partners";
|
|
417
|
+
localVarPath = "/claimservice/v1/claim-partners";
|
|
415
418
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
416
419
|
if (configuration) {
|
|
417
420
|
baseOptions = configuration.baseOptions;
|
|
@@ -463,7 +466,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
463
466
|
});
|
|
464
467
|
},
|
|
465
468
|
/**
|
|
466
|
-
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
469
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
467
470
|
* @summary List claim partners
|
|
468
471
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
469
472
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -474,6 +477,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
474
477
|
* @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: role, partner<i>
|
|
475
478
|
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
476
479
|
* @param {*} [options] Override http request option.
|
|
480
|
+
* @deprecated
|
|
477
481
|
* @throws {RequiredError}
|
|
478
482
|
*/
|
|
479
483
|
listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -483,7 +487,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
483
487
|
return __generator(this, function (_a) {
|
|
484
488
|
switch (_a.label) {
|
|
485
489
|
case 0:
|
|
486
|
-
localVarPath = "/
|
|
490
|
+
localVarPath = "/v1/claim-partners";
|
|
487
491
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
488
492
|
if (configuration) {
|
|
489
493
|
baseOptions = configuration.baseOptions;
|
|
@@ -553,12 +557,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
553
557
|
* @param {*} [options] Override http request option.
|
|
554
558
|
* @throws {RequiredError}
|
|
555
559
|
*/
|
|
556
|
-
|
|
560
|
+
createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
557
561
|
return __awaiter(this, void 0, void 0, function () {
|
|
558
562
|
var localVarAxiosArgs;
|
|
559
563
|
return __generator(this, function (_a) {
|
|
560
564
|
switch (_a.label) {
|
|
561
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
565
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options)];
|
|
562
566
|
case 1:
|
|
563
567
|
localVarAxiosArgs = _a.sent();
|
|
564
568
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -567,12 +571,13 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
567
571
|
});
|
|
568
572
|
},
|
|
569
573
|
/**
|
|
570
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
574
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
571
575
|
* @summary Create the claim partner
|
|
572
576
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
573
577
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
574
578
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
575
579
|
* @param {*} [options] Override http request option.
|
|
580
|
+
* @deprecated
|
|
576
581
|
* @throws {RequiredError}
|
|
577
582
|
*/
|
|
578
583
|
createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
@@ -596,12 +601,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
596
601
|
* @param {*} [options] Override http request option.
|
|
597
602
|
* @throws {RequiredError}
|
|
598
603
|
*/
|
|
599
|
-
|
|
604
|
+
deleteClaimPartner: function (id, authorization, options) {
|
|
600
605
|
return __awaiter(this, void 0, void 0, function () {
|
|
601
606
|
var localVarAxiosArgs;
|
|
602
607
|
return __generator(this, function (_a) {
|
|
603
608
|
switch (_a.label) {
|
|
604
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
609
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPartner(id, authorization, options)];
|
|
605
610
|
case 1:
|
|
606
611
|
localVarAxiosArgs = _a.sent();
|
|
607
612
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -610,11 +615,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
610
615
|
});
|
|
611
616
|
},
|
|
612
617
|
/**
|
|
613
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
618
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
614
619
|
* @summary Delete the claim partner
|
|
615
620
|
* @param {number} id
|
|
616
621
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
617
622
|
* @param {*} [options] Override http request option.
|
|
623
|
+
* @deprecated
|
|
618
624
|
* @throws {RequiredError}
|
|
619
625
|
*/
|
|
620
626
|
deleteClaimPartner1: function (id, authorization, options) {
|
|
@@ -638,12 +644,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
638
644
|
* @param {*} [options] Override http request option.
|
|
639
645
|
* @throws {RequiredError}
|
|
640
646
|
*/
|
|
641
|
-
|
|
647
|
+
getClaimPartner: function (id, authorization, options) {
|
|
642
648
|
return __awaiter(this, void 0, void 0, function () {
|
|
643
649
|
var localVarAxiosArgs;
|
|
644
650
|
return __generator(this, function (_a) {
|
|
645
651
|
switch (_a.label) {
|
|
646
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
652
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPartner(id, authorization, options)];
|
|
647
653
|
case 1:
|
|
648
654
|
localVarAxiosArgs = _a.sent();
|
|
649
655
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -652,11 +658,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
652
658
|
});
|
|
653
659
|
},
|
|
654
660
|
/**
|
|
655
|
-
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
661
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
656
662
|
* @summary Retrieve the claim partner
|
|
657
663
|
* @param {number} id
|
|
658
664
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
659
665
|
* @param {*} [options] Override http request option.
|
|
666
|
+
* @deprecated
|
|
660
667
|
* @throws {RequiredError}
|
|
661
668
|
*/
|
|
662
669
|
getClaimPartner1: function (id, authorization, options) {
|
|
@@ -686,12 +693,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
686
693
|
* @param {*} [options] Override http request option.
|
|
687
694
|
* @throws {RequiredError}
|
|
688
695
|
*/
|
|
689
|
-
|
|
696
|
+
listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
690
697
|
return __awaiter(this, void 0, void 0, function () {
|
|
691
698
|
var localVarAxiosArgs;
|
|
692
699
|
return __generator(this, function (_a) {
|
|
693
700
|
switch (_a.label) {
|
|
694
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
701
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
695
702
|
case 1:
|
|
696
703
|
localVarAxiosArgs = _a.sent();
|
|
697
704
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -700,7 +707,7 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
700
707
|
});
|
|
701
708
|
},
|
|
702
709
|
/**
|
|
703
|
-
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
710
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
704
711
|
* @summary List claim partners
|
|
705
712
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
706
713
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -711,6 +718,7 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
711
718
|
* @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: role, partner<i>
|
|
712
719
|
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
713
720
|
* @param {*} [options] Override http request option.
|
|
721
|
+
* @deprecated
|
|
714
722
|
* @throws {RequiredError}
|
|
715
723
|
*/
|
|
716
724
|
listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -745,16 +753,17 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
745
753
|
* @param {*} [options] Override http request option.
|
|
746
754
|
* @throws {RequiredError}
|
|
747
755
|
*/
|
|
748
|
-
|
|
749
|
-
return localVarFp.
|
|
756
|
+
createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
757
|
+
return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
750
758
|
},
|
|
751
759
|
/**
|
|
752
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
760
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
753
761
|
* @summary Create the claim partner
|
|
754
762
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
755
763
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
756
764
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
757
765
|
* @param {*} [options] Override http request option.
|
|
766
|
+
* @deprecated
|
|
758
767
|
* @throws {RequiredError}
|
|
759
768
|
*/
|
|
760
769
|
createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
@@ -768,15 +777,16 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
768
777
|
* @param {*} [options] Override http request option.
|
|
769
778
|
* @throws {RequiredError}
|
|
770
779
|
*/
|
|
771
|
-
|
|
772
|
-
return localVarFp.
|
|
780
|
+
deleteClaimPartner: function (id, authorization, options) {
|
|
781
|
+
return localVarFp.deleteClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
773
782
|
},
|
|
774
783
|
/**
|
|
775
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
784
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
776
785
|
* @summary Delete the claim partner
|
|
777
786
|
* @param {number} id
|
|
778
787
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
779
788
|
* @param {*} [options] Override http request option.
|
|
789
|
+
* @deprecated
|
|
780
790
|
* @throws {RequiredError}
|
|
781
791
|
*/
|
|
782
792
|
deleteClaimPartner1: function (id, authorization, options) {
|
|
@@ -790,15 +800,16 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
790
800
|
* @param {*} [options] Override http request option.
|
|
791
801
|
* @throws {RequiredError}
|
|
792
802
|
*/
|
|
793
|
-
|
|
794
|
-
return localVarFp.
|
|
803
|
+
getClaimPartner: function (id, authorization, options) {
|
|
804
|
+
return localVarFp.getClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
795
805
|
},
|
|
796
806
|
/**
|
|
797
|
-
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
807
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
798
808
|
* @summary Retrieve the claim partner
|
|
799
809
|
* @param {number} id
|
|
800
810
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
801
811
|
* @param {*} [options] Override http request option.
|
|
812
|
+
* @deprecated
|
|
802
813
|
* @throws {RequiredError}
|
|
803
814
|
*/
|
|
804
815
|
getClaimPartner1: function (id, authorization, options) {
|
|
@@ -818,11 +829,11 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
818
829
|
* @param {*} [options] Override http request option.
|
|
819
830
|
* @throws {RequiredError}
|
|
820
831
|
*/
|
|
821
|
-
|
|
822
|
-
return localVarFp.
|
|
832
|
+
listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
833
|
+
return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
823
834
|
},
|
|
824
835
|
/**
|
|
825
|
-
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
836
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
826
837
|
* @summary List claim partners
|
|
827
838
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
828
839
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -833,6 +844,7 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
833
844
|
* @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: role, partner<i>
|
|
834
845
|
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
835
846
|
* @param {*} [options] Override http request option.
|
|
847
|
+
* @deprecated
|
|
836
848
|
* @throws {RequiredError}
|
|
837
849
|
*/
|
|
838
850
|
listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -855,20 +867,21 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
855
867
|
/**
|
|
856
868
|
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
857
869
|
* @summary Create the claim partner
|
|
858
|
-
* @param {
|
|
870
|
+
* @param {ClaimPartnersApiCreateClaimPartnerRequest} requestParameters Request parameters.
|
|
859
871
|
* @param {*} [options] Override http request option.
|
|
860
872
|
* @throws {RequiredError}
|
|
861
873
|
* @memberof ClaimPartnersApi
|
|
862
874
|
*/
|
|
863
|
-
ClaimPartnersApi.prototype.
|
|
875
|
+
ClaimPartnersApi.prototype.createClaimPartner = function (requestParameters, options) {
|
|
864
876
|
var _this = this;
|
|
865
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).
|
|
877
|
+
return (0, exports.ClaimPartnersApiFp)(this.configuration).createClaimPartner(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
866
878
|
};
|
|
867
879
|
/**
|
|
868
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
880
|
+
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
869
881
|
* @summary Create the claim partner
|
|
870
882
|
* @param {ClaimPartnersApiCreateClaimPartner1Request} requestParameters Request parameters.
|
|
871
883
|
* @param {*} [options] Override http request option.
|
|
884
|
+
* @deprecated
|
|
872
885
|
* @throws {RequiredError}
|
|
873
886
|
* @memberof ClaimPartnersApi
|
|
874
887
|
*/
|
|
@@ -879,20 +892,21 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
879
892
|
/**
|
|
880
893
|
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
881
894
|
* @summary Delete the claim partner
|
|
882
|
-
* @param {
|
|
895
|
+
* @param {ClaimPartnersApiDeleteClaimPartnerRequest} requestParameters Request parameters.
|
|
883
896
|
* @param {*} [options] Override http request option.
|
|
884
897
|
* @throws {RequiredError}
|
|
885
898
|
* @memberof ClaimPartnersApi
|
|
886
899
|
*/
|
|
887
|
-
ClaimPartnersApi.prototype.
|
|
900
|
+
ClaimPartnersApi.prototype.deleteClaimPartner = function (requestParameters, options) {
|
|
888
901
|
var _this = this;
|
|
889
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).
|
|
902
|
+
return (0, exports.ClaimPartnersApiFp)(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
890
903
|
};
|
|
891
904
|
/**
|
|
892
|
-
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
|
|
905
|
+
* Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
893
906
|
* @summary Delete the claim partner
|
|
894
907
|
* @param {ClaimPartnersApiDeleteClaimPartner1Request} requestParameters Request parameters.
|
|
895
908
|
* @param {*} [options] Override http request option.
|
|
909
|
+
* @deprecated
|
|
896
910
|
* @throws {RequiredError}
|
|
897
911
|
* @memberof ClaimPartnersApi
|
|
898
912
|
*/
|
|
@@ -903,20 +917,21 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
903
917
|
/**
|
|
904
918
|
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
905
919
|
* @summary Retrieve the claim partner
|
|
906
|
-
* @param {
|
|
920
|
+
* @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
|
|
907
921
|
* @param {*} [options] Override http request option.
|
|
908
922
|
* @throws {RequiredError}
|
|
909
923
|
* @memberof ClaimPartnersApi
|
|
910
924
|
*/
|
|
911
|
-
ClaimPartnersApi.prototype.
|
|
925
|
+
ClaimPartnersApi.prototype.getClaimPartner = function (requestParameters, options) {
|
|
912
926
|
var _this = this;
|
|
913
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).
|
|
927
|
+
return (0, exports.ClaimPartnersApiFp)(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
914
928
|
};
|
|
915
929
|
/**
|
|
916
|
-
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
|
|
930
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
917
931
|
* @summary Retrieve the claim partner
|
|
918
932
|
* @param {ClaimPartnersApiGetClaimPartner1Request} requestParameters Request parameters.
|
|
919
933
|
* @param {*} [options] Override http request option.
|
|
934
|
+
* @deprecated
|
|
920
935
|
* @throws {RequiredError}
|
|
921
936
|
* @memberof ClaimPartnersApi
|
|
922
937
|
*/
|
|
@@ -927,21 +942,22 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
927
942
|
/**
|
|
928
943
|
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
929
944
|
* @summary List claim partners
|
|
930
|
-
* @param {
|
|
945
|
+
* @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
|
|
931
946
|
* @param {*} [options] Override http request option.
|
|
932
947
|
* @throws {RequiredError}
|
|
933
948
|
* @memberof ClaimPartnersApi
|
|
934
949
|
*/
|
|
935
|
-
ClaimPartnersApi.prototype.
|
|
950
|
+
ClaimPartnersApi.prototype.listClaimPartners = function (requestParameters, options) {
|
|
936
951
|
var _this = this;
|
|
937
952
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
938
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).
|
|
953
|
+
return (0, exports.ClaimPartnersApiFp)(this.configuration).listClaimPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
939
954
|
};
|
|
940
955
|
/**
|
|
941
|
-
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
|
|
956
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
942
957
|
* @summary List claim partners
|
|
943
958
|
* @param {ClaimPartnersApiListClaimPartners1Request} requestParameters Request parameters.
|
|
944
959
|
* @param {*} [options] Override http request option.
|
|
960
|
+
* @deprecated
|
|
945
961
|
* @throws {RequiredError}
|
|
946
962
|
* @memberof ClaimPartnersApi
|
|
947
963
|
*/
|