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