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