@emilgroup/claim-sdk-node 1.41.1-beta.0 → 1.41.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
|
@@ -105,7 +105,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
109
109
|
if (options === void 0) { options = {}; }
|
|
110
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
111
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -113,10 +113,10 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
113
113
|
switch (_a.label) {
|
|
114
114
|
case 0:
|
|
115
115
|
// verify required parameter 'claimCode' is not null or undefined
|
|
116
|
-
(0, common_1.assertParamExists)('
|
|
116
|
+
(0, common_1.assertParamExists)('createClaimPartner', 'claimCode', claimCode);
|
|
117
117
|
// verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
|
|
118
|
-
(0, common_1.assertParamExists)('
|
|
119
|
-
localVarPath = "/v1/claims/{claimCode}/partner"
|
|
118
|
+
(0, common_1.assertParamExists)('createClaimPartner', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto);
|
|
119
|
+
localVarPath = "/claimservice/v1/claims/{claimCode}/partner"
|
|
120
120
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
121
121
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
122
122
|
if (configuration) {
|
|
@@ -150,12 +150,13 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
150
150
|
});
|
|
151
151
|
},
|
|
152
152
|
/**
|
|
153
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
153
|
+
* 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.
|
|
154
154
|
* @summary Create the claim partner
|
|
155
155
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
156
156
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
157
157
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
|
+
* @deprecated
|
|
159
160
|
* @throws {RequiredError}
|
|
160
161
|
*/
|
|
161
162
|
createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
@@ -169,7 +170,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
169
170
|
(0, common_1.assertParamExists)('createClaimPartner1', 'claimCode', claimCode);
|
|
170
171
|
// verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
|
|
171
172
|
(0, common_1.assertParamExists)('createClaimPartner1', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto);
|
|
172
|
-
localVarPath = "/
|
|
173
|
+
localVarPath = "/v1/claims/{claimCode}/partner"
|
|
173
174
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
174
175
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
175
176
|
if (configuration) {
|
|
@@ -210,7 +211,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
210
211
|
* @param {*} [options] Override http request option.
|
|
211
212
|
* @throws {RequiredError}
|
|
212
213
|
*/
|
|
213
|
-
|
|
214
|
+
deleteClaimPartner: function (id, authorization, options) {
|
|
214
215
|
if (options === void 0) { options = {}; }
|
|
215
216
|
return __awaiter(_this, void 0, void 0, function () {
|
|
216
217
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -218,8 +219,8 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
218
219
|
switch (_a.label) {
|
|
219
220
|
case 0:
|
|
220
221
|
// verify required parameter 'id' is not null or undefined
|
|
221
|
-
(0, common_1.assertParamExists)('
|
|
222
|
-
localVarPath = "/v1/claim-partners/{id}"
|
|
222
|
+
(0, common_1.assertParamExists)('deleteClaimPartner', 'id', id);
|
|
223
|
+
localVarPath = "/claimservice/v1/claim-partners/{id}"
|
|
223
224
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
224
225
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
225
226
|
if (configuration) {
|
|
@@ -251,11 +252,12 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
251
252
|
});
|
|
252
253
|
},
|
|
253
254
|
/**
|
|
254
|
-
* 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\"
|
|
255
|
+
* 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.
|
|
255
256
|
* @summary Delete the claim partner
|
|
256
257
|
* @param {number} id
|
|
257
258
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
258
259
|
* @param {*} [options] Override http request option.
|
|
260
|
+
* @deprecated
|
|
259
261
|
* @throws {RequiredError}
|
|
260
262
|
*/
|
|
261
263
|
deleteClaimPartner1: function (id, authorization, options) {
|
|
@@ -267,7 +269,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
267
269
|
case 0:
|
|
268
270
|
// verify required parameter 'id' is not null or undefined
|
|
269
271
|
(0, common_1.assertParamExists)('deleteClaimPartner1', 'id', id);
|
|
270
|
-
localVarPath = "/
|
|
272
|
+
localVarPath = "/v1/claim-partners/{id}"
|
|
271
273
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
272
274
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
273
275
|
if (configuration) {
|
|
@@ -306,7 +308,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
306
308
|
* @param {*} [options] Override http request option.
|
|
307
309
|
* @throws {RequiredError}
|
|
308
310
|
*/
|
|
309
|
-
|
|
311
|
+
getClaimPartner: function (id, authorization, options) {
|
|
310
312
|
if (options === void 0) { options = {}; }
|
|
311
313
|
return __awaiter(_this, void 0, void 0, function () {
|
|
312
314
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -314,8 +316,8 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
314
316
|
switch (_a.label) {
|
|
315
317
|
case 0:
|
|
316
318
|
// verify required parameter 'id' is not null or undefined
|
|
317
|
-
(0, common_1.assertParamExists)('
|
|
318
|
-
localVarPath = "/v1/claim-partners/{id}"
|
|
319
|
+
(0, common_1.assertParamExists)('getClaimPartner', 'id', id);
|
|
320
|
+
localVarPath = "/claimservice/v1/claim-partners/{id}"
|
|
319
321
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
320
322
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
321
323
|
if (configuration) {
|
|
@@ -347,11 +349,12 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
347
349
|
});
|
|
348
350
|
},
|
|
349
351
|
/**
|
|
350
|
-
* 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\"
|
|
352
|
+
* 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.
|
|
351
353
|
* @summary Retrieve the claim partner
|
|
352
354
|
* @param {number} id
|
|
353
355
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
354
356
|
* @param {*} [options] Override http request option.
|
|
357
|
+
* @deprecated
|
|
355
358
|
* @throws {RequiredError}
|
|
356
359
|
*/
|
|
357
360
|
getClaimPartner1: function (id, authorization, options) {
|
|
@@ -363,7 +366,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
363
366
|
case 0:
|
|
364
367
|
// verify required parameter 'id' is not null or undefined
|
|
365
368
|
(0, common_1.assertParamExists)('getClaimPartner1', 'id', id);
|
|
366
|
-
localVarPath = "/
|
|
369
|
+
localVarPath = "/v1/claim-partners/{id}"
|
|
367
370
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
368
371
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
369
372
|
if (configuration) {
|
|
@@ -408,14 +411,14 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
408
411
|
* @param {*} [options] Override http request option.
|
|
409
412
|
* @throws {RequiredError}
|
|
410
413
|
*/
|
|
411
|
-
|
|
414
|
+
listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
412
415
|
if (options === void 0) { options = {}; }
|
|
413
416
|
return __awaiter(_this, void 0, void 0, function () {
|
|
414
417
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
415
418
|
return __generator(this, function (_a) {
|
|
416
419
|
switch (_a.label) {
|
|
417
420
|
case 0:
|
|
418
|
-
localVarPath = "/v1/claim-partners";
|
|
421
|
+
localVarPath = "/claimservice/v1/claim-partners";
|
|
419
422
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
420
423
|
if (configuration) {
|
|
421
424
|
baseOptions = configuration.baseOptions;
|
|
@@ -467,7 +470,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
467
470
|
});
|
|
468
471
|
},
|
|
469
472
|
/**
|
|
470
|
-
* 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\"
|
|
473
|
+
* 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.
|
|
471
474
|
* @summary List claim partners
|
|
472
475
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
473
476
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -478,6 +481,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
478
481
|
* @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>
|
|
479
482
|
* @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>
|
|
480
483
|
* @param {*} [options] Override http request option.
|
|
484
|
+
* @deprecated
|
|
481
485
|
* @throws {RequiredError}
|
|
482
486
|
*/
|
|
483
487
|
listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -487,7 +491,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
487
491
|
return __generator(this, function (_a) {
|
|
488
492
|
switch (_a.label) {
|
|
489
493
|
case 0:
|
|
490
|
-
localVarPath = "/
|
|
494
|
+
localVarPath = "/v1/claim-partners";
|
|
491
495
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
492
496
|
if (configuration) {
|
|
493
497
|
baseOptions = configuration.baseOptions;
|
|
@@ -557,12 +561,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
557
561
|
* @param {*} [options] Override http request option.
|
|
558
562
|
* @throws {RequiredError}
|
|
559
563
|
*/
|
|
560
|
-
|
|
564
|
+
createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
561
565
|
return __awaiter(this, void 0, void 0, function () {
|
|
562
566
|
var localVarAxiosArgs;
|
|
563
567
|
return __generator(this, function (_a) {
|
|
564
568
|
switch (_a.label) {
|
|
565
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
569
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options)];
|
|
566
570
|
case 1:
|
|
567
571
|
localVarAxiosArgs = _a.sent();
|
|
568
572
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -571,12 +575,13 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
571
575
|
});
|
|
572
576
|
},
|
|
573
577
|
/**
|
|
574
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
578
|
+
* 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.
|
|
575
579
|
* @summary Create the claim partner
|
|
576
580
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
577
581
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
578
582
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
579
583
|
* @param {*} [options] Override http request option.
|
|
584
|
+
* @deprecated
|
|
580
585
|
* @throws {RequiredError}
|
|
581
586
|
*/
|
|
582
587
|
createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
@@ -600,12 +605,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
600
605
|
* @param {*} [options] Override http request option.
|
|
601
606
|
* @throws {RequiredError}
|
|
602
607
|
*/
|
|
603
|
-
|
|
608
|
+
deleteClaimPartner: function (id, authorization, options) {
|
|
604
609
|
return __awaiter(this, void 0, void 0, function () {
|
|
605
610
|
var localVarAxiosArgs;
|
|
606
611
|
return __generator(this, function (_a) {
|
|
607
612
|
switch (_a.label) {
|
|
608
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
613
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPartner(id, authorization, options)];
|
|
609
614
|
case 1:
|
|
610
615
|
localVarAxiosArgs = _a.sent();
|
|
611
616
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -614,11 +619,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
614
619
|
});
|
|
615
620
|
},
|
|
616
621
|
/**
|
|
617
|
-
* 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\"
|
|
622
|
+
* 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.
|
|
618
623
|
* @summary Delete the claim partner
|
|
619
624
|
* @param {number} id
|
|
620
625
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
621
626
|
* @param {*} [options] Override http request option.
|
|
627
|
+
* @deprecated
|
|
622
628
|
* @throws {RequiredError}
|
|
623
629
|
*/
|
|
624
630
|
deleteClaimPartner1: function (id, authorization, options) {
|
|
@@ -642,12 +648,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
642
648
|
* @param {*} [options] Override http request option.
|
|
643
649
|
* @throws {RequiredError}
|
|
644
650
|
*/
|
|
645
|
-
|
|
651
|
+
getClaimPartner: function (id, authorization, options) {
|
|
646
652
|
return __awaiter(this, void 0, void 0, function () {
|
|
647
653
|
var localVarAxiosArgs;
|
|
648
654
|
return __generator(this, function (_a) {
|
|
649
655
|
switch (_a.label) {
|
|
650
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
656
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPartner(id, authorization, options)];
|
|
651
657
|
case 1:
|
|
652
658
|
localVarAxiosArgs = _a.sent();
|
|
653
659
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -656,11 +662,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
656
662
|
});
|
|
657
663
|
},
|
|
658
664
|
/**
|
|
659
|
-
* 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\"
|
|
665
|
+
* 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.
|
|
660
666
|
* @summary Retrieve the claim partner
|
|
661
667
|
* @param {number} id
|
|
662
668
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
663
669
|
* @param {*} [options] Override http request option.
|
|
670
|
+
* @deprecated
|
|
664
671
|
* @throws {RequiredError}
|
|
665
672
|
*/
|
|
666
673
|
getClaimPartner1: function (id, authorization, options) {
|
|
@@ -690,12 +697,12 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
690
697
|
* @param {*} [options] Override http request option.
|
|
691
698
|
* @throws {RequiredError}
|
|
692
699
|
*/
|
|
693
|
-
|
|
700
|
+
listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
694
701
|
return __awaiter(this, void 0, void 0, function () {
|
|
695
702
|
var localVarAxiosArgs;
|
|
696
703
|
return __generator(this, function (_a) {
|
|
697
704
|
switch (_a.label) {
|
|
698
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
705
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
699
706
|
case 1:
|
|
700
707
|
localVarAxiosArgs = _a.sent();
|
|
701
708
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -704,7 +711,7 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
704
711
|
});
|
|
705
712
|
},
|
|
706
713
|
/**
|
|
707
|
-
* 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\"
|
|
714
|
+
* 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.
|
|
708
715
|
* @summary List claim partners
|
|
709
716
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
710
717
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -715,6 +722,7 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
715
722
|
* @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>
|
|
716
723
|
* @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>
|
|
717
724
|
* @param {*} [options] Override http request option.
|
|
725
|
+
* @deprecated
|
|
718
726
|
* @throws {RequiredError}
|
|
719
727
|
*/
|
|
720
728
|
listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -749,16 +757,17 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
749
757
|
* @param {*} [options] Override http request option.
|
|
750
758
|
* @throws {RequiredError}
|
|
751
759
|
*/
|
|
752
|
-
|
|
753
|
-
return localVarFp.
|
|
760
|
+
createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
761
|
+
return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
754
762
|
},
|
|
755
763
|
/**
|
|
756
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
764
|
+
* 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.
|
|
757
765
|
* @summary Create the claim partner
|
|
758
766
|
* @param {string} claimCode Unique identifier for the claim object.
|
|
759
767
|
* @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
|
|
760
768
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
761
769
|
* @param {*} [options] Override http request option.
|
|
770
|
+
* @deprecated
|
|
762
771
|
* @throws {RequiredError}
|
|
763
772
|
*/
|
|
764
773
|
createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
|
|
@@ -772,15 +781,16 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
772
781
|
* @param {*} [options] Override http request option.
|
|
773
782
|
* @throws {RequiredError}
|
|
774
783
|
*/
|
|
775
|
-
|
|
776
|
-
return localVarFp.
|
|
784
|
+
deleteClaimPartner: function (id, authorization, options) {
|
|
785
|
+
return localVarFp.deleteClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
777
786
|
},
|
|
778
787
|
/**
|
|
779
|
-
* 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\"
|
|
788
|
+
* 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.
|
|
780
789
|
* @summary Delete the claim partner
|
|
781
790
|
* @param {number} id
|
|
782
791
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
783
792
|
* @param {*} [options] Override http request option.
|
|
793
|
+
* @deprecated
|
|
784
794
|
* @throws {RequiredError}
|
|
785
795
|
*/
|
|
786
796
|
deleteClaimPartner1: function (id, authorization, options) {
|
|
@@ -794,15 +804,16 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
794
804
|
* @param {*} [options] Override http request option.
|
|
795
805
|
* @throws {RequiredError}
|
|
796
806
|
*/
|
|
797
|
-
|
|
798
|
-
return localVarFp.
|
|
807
|
+
getClaimPartner: function (id, authorization, options) {
|
|
808
|
+
return localVarFp.getClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
799
809
|
},
|
|
800
810
|
/**
|
|
801
|
-
* 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\"
|
|
811
|
+
* 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.
|
|
802
812
|
* @summary Retrieve the claim partner
|
|
803
813
|
* @param {number} id
|
|
804
814
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
805
815
|
* @param {*} [options] Override http request option.
|
|
816
|
+
* @deprecated
|
|
806
817
|
* @throws {RequiredError}
|
|
807
818
|
*/
|
|
808
819
|
getClaimPartner1: function (id, authorization, options) {
|
|
@@ -822,11 +833,11 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
822
833
|
* @param {*} [options] Override http request option.
|
|
823
834
|
* @throws {RequiredError}
|
|
824
835
|
*/
|
|
825
|
-
|
|
826
|
-
return localVarFp.
|
|
836
|
+
listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
837
|
+
return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
827
838
|
},
|
|
828
839
|
/**
|
|
829
|
-
* 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\"
|
|
840
|
+
* 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.
|
|
830
841
|
* @summary List claim partners
|
|
831
842
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
832
843
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -837,6 +848,7 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
837
848
|
* @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>
|
|
838
849
|
* @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>
|
|
839
850
|
* @param {*} [options] Override http request option.
|
|
851
|
+
* @deprecated
|
|
840
852
|
* @throws {RequiredError}
|
|
841
853
|
*/
|
|
842
854
|
listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -859,20 +871,21 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
859
871
|
/**
|
|
860
872
|
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
861
873
|
* @summary Create the claim partner
|
|
862
|
-
* @param {
|
|
874
|
+
* @param {ClaimPartnersApiCreateClaimPartnerRequest} requestParameters Request parameters.
|
|
863
875
|
* @param {*} [options] Override http request option.
|
|
864
876
|
* @throws {RequiredError}
|
|
865
877
|
* @memberof ClaimPartnersApi
|
|
866
878
|
*/
|
|
867
|
-
ClaimPartnersApi.prototype.
|
|
879
|
+
ClaimPartnersApi.prototype.createClaimPartner = function (requestParameters, options) {
|
|
868
880
|
var _this = this;
|
|
869
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).
|
|
881
|
+
return (0, exports.ClaimPartnersApiFp)(this.configuration).createClaimPartner(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
870
882
|
};
|
|
871
883
|
/**
|
|
872
|
-
* This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
|
|
884
|
+
* 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.
|
|
873
885
|
* @summary Create the claim partner
|
|
874
886
|
* @param {ClaimPartnersApiCreateClaimPartner1Request} requestParameters Request parameters.
|
|
875
887
|
* @param {*} [options] Override http request option.
|
|
888
|
+
* @deprecated
|
|
876
889
|
* @throws {RequiredError}
|
|
877
890
|
* @memberof ClaimPartnersApi
|
|
878
891
|
*/
|
|
@@ -883,20 +896,21 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
883
896
|
/**
|
|
884
897
|
* 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\"
|
|
885
898
|
* @summary Delete the claim partner
|
|
886
|
-
* @param {
|
|
899
|
+
* @param {ClaimPartnersApiDeleteClaimPartnerRequest} requestParameters Request parameters.
|
|
887
900
|
* @param {*} [options] Override http request option.
|
|
888
901
|
* @throws {RequiredError}
|
|
889
902
|
* @memberof ClaimPartnersApi
|
|
890
903
|
*/
|
|
891
|
-
ClaimPartnersApi.prototype.
|
|
904
|
+
ClaimPartnersApi.prototype.deleteClaimPartner = function (requestParameters, options) {
|
|
892
905
|
var _this = this;
|
|
893
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).
|
|
906
|
+
return (0, exports.ClaimPartnersApiFp)(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
894
907
|
};
|
|
895
908
|
/**
|
|
896
|
-
* 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\"
|
|
909
|
+
* 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.
|
|
897
910
|
* @summary Delete the claim partner
|
|
898
911
|
* @param {ClaimPartnersApiDeleteClaimPartner1Request} requestParameters Request parameters.
|
|
899
912
|
* @param {*} [options] Override http request option.
|
|
913
|
+
* @deprecated
|
|
900
914
|
* @throws {RequiredError}
|
|
901
915
|
* @memberof ClaimPartnersApi
|
|
902
916
|
*/
|
|
@@ -907,20 +921,21 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
907
921
|
/**
|
|
908
922
|
* 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\"
|
|
909
923
|
* @summary Retrieve the claim partner
|
|
910
|
-
* @param {
|
|
924
|
+
* @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
|
|
911
925
|
* @param {*} [options] Override http request option.
|
|
912
926
|
* @throws {RequiredError}
|
|
913
927
|
* @memberof ClaimPartnersApi
|
|
914
928
|
*/
|
|
915
|
-
ClaimPartnersApi.prototype.
|
|
929
|
+
ClaimPartnersApi.prototype.getClaimPartner = function (requestParameters, options) {
|
|
916
930
|
var _this = this;
|
|
917
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).
|
|
931
|
+
return (0, exports.ClaimPartnersApiFp)(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
918
932
|
};
|
|
919
933
|
/**
|
|
920
|
-
* 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\"
|
|
934
|
+
* 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.
|
|
921
935
|
* @summary Retrieve the claim partner
|
|
922
936
|
* @param {ClaimPartnersApiGetClaimPartner1Request} requestParameters Request parameters.
|
|
923
937
|
* @param {*} [options] Override http request option.
|
|
938
|
+
* @deprecated
|
|
924
939
|
* @throws {RequiredError}
|
|
925
940
|
* @memberof ClaimPartnersApi
|
|
926
941
|
*/
|
|
@@ -931,21 +946,22 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
931
946
|
/**
|
|
932
947
|
* 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\"
|
|
933
948
|
* @summary List claim partners
|
|
934
|
-
* @param {
|
|
949
|
+
* @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
|
|
935
950
|
* @param {*} [options] Override http request option.
|
|
936
951
|
* @throws {RequiredError}
|
|
937
952
|
* @memberof ClaimPartnersApi
|
|
938
953
|
*/
|
|
939
|
-
ClaimPartnersApi.prototype.
|
|
954
|
+
ClaimPartnersApi.prototype.listClaimPartners = function (requestParameters, options) {
|
|
940
955
|
var _this = this;
|
|
941
956
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
942
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).
|
|
957
|
+
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); });
|
|
943
958
|
};
|
|
944
959
|
/**
|
|
945
|
-
* 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\"
|
|
960
|
+
* 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.
|
|
946
961
|
* @summary List claim partners
|
|
947
962
|
* @param {ClaimPartnersApiListClaimPartners1Request} requestParameters Request parameters.
|
|
948
963
|
* @param {*} [options] Override http request option.
|
|
964
|
+
* @deprecated
|
|
949
965
|
* @throws {RequiredError}
|
|
950
966
|
* @memberof ClaimPartnersApi
|
|
951
967
|
*/
|