@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
|
@@ -100,7 +100,7 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
createClaimPartnerRole0: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -108,8 +108,8 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createClaimPartnerRoleRequestDto' is not null or undefined
|
|
111
|
-
(0, common_1.assertParamExists)('
|
|
112
|
-
localVarPath = "/
|
|
111
|
+
(0, common_1.assertParamExists)('createClaimPartnerRole0', 'createClaimPartnerRoleRequestDto', createClaimPartnerRoleRequestDto);
|
|
112
|
+
localVarPath = "/v1/claim-partner-roles";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
115
115
|
baseOptions = configuration.baseOptions;
|
|
@@ -142,12 +142,11 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
145
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
146
146
|
* @summary Create the claim partner role
|
|
147
147
|
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
|
-
* @deprecated
|
|
151
150
|
* @throws {RequiredError}
|
|
152
151
|
*/
|
|
153
152
|
createClaimPartnerRole1: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
@@ -159,7 +158,7 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
159
158
|
case 0:
|
|
160
159
|
// verify required parameter 'createClaimPartnerRoleRequestDto' is not null or undefined
|
|
161
160
|
(0, common_1.assertParamExists)('createClaimPartnerRole1', 'createClaimPartnerRoleRequestDto', createClaimPartnerRoleRequestDto);
|
|
162
|
-
localVarPath = "/v1/claim-partner-roles";
|
|
161
|
+
localVarPath = "/claimservice/v1/claim-partner-roles";
|
|
163
162
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
164
163
|
if (configuration) {
|
|
165
164
|
baseOptions = configuration.baseOptions;
|
|
@@ -199,7 +198,7 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
199
198
|
* @param {*} [options] Override http request option.
|
|
200
199
|
* @throws {RequiredError}
|
|
201
200
|
*/
|
|
202
|
-
|
|
201
|
+
deleteClaimPartnerRole0: function (code, authorization, options) {
|
|
203
202
|
if (options === void 0) { options = {}; }
|
|
204
203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
205
204
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -207,8 +206,8 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
207
206
|
switch (_a.label) {
|
|
208
207
|
case 0:
|
|
209
208
|
// verify required parameter 'code' is not null or undefined
|
|
210
|
-
(0, common_1.assertParamExists)('
|
|
211
|
-
localVarPath = "/
|
|
209
|
+
(0, common_1.assertParamExists)('deleteClaimPartnerRole0', 'code', code);
|
|
210
|
+
localVarPath = "/v1/claim-partner-roles/{code}"
|
|
212
211
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
213
212
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
214
213
|
if (configuration) {
|
|
@@ -240,12 +239,11 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
240
239
|
});
|
|
241
240
|
},
|
|
242
241
|
/**
|
|
243
|
-
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
242
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
244
243
|
* @summary Delete the claim partner role
|
|
245
244
|
* @param {string} code Unique identifier for the object.
|
|
246
245
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
246
|
* @param {*} [options] Override http request option.
|
|
248
|
-
* @deprecated
|
|
249
247
|
* @throws {RequiredError}
|
|
250
248
|
*/
|
|
251
249
|
deleteClaimPartnerRole1: function (code, authorization, options) {
|
|
@@ -257,7 +255,7 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
257
255
|
case 0:
|
|
258
256
|
// verify required parameter 'code' is not null or undefined
|
|
259
257
|
(0, common_1.assertParamExists)('deleteClaimPartnerRole1', 'code', code);
|
|
260
|
-
localVarPath = "/v1/claim-partner-roles/{code}"
|
|
258
|
+
localVarPath = "/claimservice/v1/claim-partner-roles/{code}"
|
|
261
259
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
262
260
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
263
261
|
if (configuration) {
|
|
@@ -296,7 +294,7 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
296
294
|
* @param {*} [options] Override http request option.
|
|
297
295
|
* @throws {RequiredError}
|
|
298
296
|
*/
|
|
299
|
-
|
|
297
|
+
getClaimPartnerRole0: function (code, authorization, options) {
|
|
300
298
|
if (options === void 0) { options = {}; }
|
|
301
299
|
return __awaiter(_this, void 0, void 0, function () {
|
|
302
300
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -304,8 +302,8 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
304
302
|
switch (_a.label) {
|
|
305
303
|
case 0:
|
|
306
304
|
// verify required parameter 'code' is not null or undefined
|
|
307
|
-
(0, common_1.assertParamExists)('
|
|
308
|
-
localVarPath = "/
|
|
305
|
+
(0, common_1.assertParamExists)('getClaimPartnerRole0', 'code', code);
|
|
306
|
+
localVarPath = "/v1/claim-partner-roles/{code}"
|
|
309
307
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
310
308
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
311
309
|
if (configuration) {
|
|
@@ -337,12 +335,11 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
337
335
|
});
|
|
338
336
|
},
|
|
339
337
|
/**
|
|
340
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
338
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
341
339
|
* @summary Retrieve the claim partner role
|
|
342
340
|
* @param {string} code Unique identifier for the object.
|
|
343
341
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
344
342
|
* @param {*} [options] Override http request option.
|
|
345
|
-
* @deprecated
|
|
346
343
|
* @throws {RequiredError}
|
|
347
344
|
*/
|
|
348
345
|
getClaimPartnerRole1: function (code, authorization, options) {
|
|
@@ -354,7 +351,7 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
354
351
|
case 0:
|
|
355
352
|
// verify required parameter 'code' is not null or undefined
|
|
356
353
|
(0, common_1.assertParamExists)('getClaimPartnerRole1', 'code', code);
|
|
357
|
-
localVarPath = "/v1/claim-partner-roles/{code}"
|
|
354
|
+
localVarPath = "/claimservice/v1/claim-partner-roles/{code}"
|
|
358
355
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
359
356
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
360
357
|
if (configuration) {
|
|
@@ -399,14 +396,14 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
399
396
|
* @param {*} [options] Override http request option.
|
|
400
397
|
* @throws {RequiredError}
|
|
401
398
|
*/
|
|
402
|
-
|
|
399
|
+
listClaimPartnerRole0: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
403
400
|
if (options === void 0) { options = {}; }
|
|
404
401
|
return __awaiter(_this, void 0, void 0, function () {
|
|
405
402
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
406
403
|
return __generator(this, function (_a) {
|
|
407
404
|
switch (_a.label) {
|
|
408
405
|
case 0:
|
|
409
|
-
localVarPath = "/
|
|
406
|
+
localVarPath = "/v1/claim-partner-roles";
|
|
410
407
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
411
408
|
if (configuration) {
|
|
412
409
|
baseOptions = configuration.baseOptions;
|
|
@@ -458,7 +455,7 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
458
455
|
});
|
|
459
456
|
},
|
|
460
457
|
/**
|
|
461
|
-
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
458
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
462
459
|
* @summary List claim partner roles
|
|
463
460
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
464
461
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -469,7 +466,6 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
469
466
|
* @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/>
|
|
470
467
|
* @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: name, productSlug</i>
|
|
471
468
|
* @param {*} [options] Override http request option.
|
|
472
|
-
* @deprecated
|
|
473
469
|
* @throws {RequiredError}
|
|
474
470
|
*/
|
|
475
471
|
listClaimPartnerRole1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -479,7 +475,7 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
479
475
|
return __generator(this, function (_a) {
|
|
480
476
|
switch (_a.label) {
|
|
481
477
|
case 0:
|
|
482
|
-
localVarPath = "/v1/claim-partner-roles";
|
|
478
|
+
localVarPath = "/claimservice/v1/claim-partner-roles";
|
|
483
479
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
484
480
|
if (configuration) {
|
|
485
481
|
baseOptions = configuration.baseOptions;
|
|
@@ -539,7 +535,7 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
539
535
|
* @param {*} [options] Override http request option.
|
|
540
536
|
* @throws {RequiredError}
|
|
541
537
|
*/
|
|
542
|
-
|
|
538
|
+
updateClaimPartnerRole0: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
543
539
|
if (options === void 0) { options = {}; }
|
|
544
540
|
return __awaiter(_this, void 0, void 0, function () {
|
|
545
541
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -547,10 +543,10 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
547
543
|
switch (_a.label) {
|
|
548
544
|
case 0:
|
|
549
545
|
// verify required parameter 'code' is not null or undefined
|
|
550
|
-
(0, common_1.assertParamExists)('
|
|
546
|
+
(0, common_1.assertParamExists)('updateClaimPartnerRole0', 'code', code);
|
|
551
547
|
// verify required parameter 'updateClaimPartnerRoleRequestDto' is not null or undefined
|
|
552
|
-
(0, common_1.assertParamExists)('
|
|
553
|
-
localVarPath = "/
|
|
548
|
+
(0, common_1.assertParamExists)('updateClaimPartnerRole0', 'updateClaimPartnerRoleRequestDto', updateClaimPartnerRoleRequestDto);
|
|
549
|
+
localVarPath = "/v1/claim-partner-roles/{code}"
|
|
554
550
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
555
551
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
556
552
|
if (configuration) {
|
|
@@ -584,13 +580,12 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
584
580
|
});
|
|
585
581
|
},
|
|
586
582
|
/**
|
|
587
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
583
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
588
584
|
* @summary Update the claim partner role
|
|
589
585
|
* @param {string} code Unique identifier for the object.
|
|
590
586
|
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
591
587
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
592
588
|
* @param {*} [options] Override http request option.
|
|
593
|
-
* @deprecated
|
|
594
589
|
* @throws {RequiredError}
|
|
595
590
|
*/
|
|
596
591
|
updateClaimPartnerRole1: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
@@ -604,7 +599,7 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
|
|
|
604
599
|
(0, common_1.assertParamExists)('updateClaimPartnerRole1', 'code', code);
|
|
605
600
|
// verify required parameter 'updateClaimPartnerRoleRequestDto' is not null or undefined
|
|
606
601
|
(0, common_1.assertParamExists)('updateClaimPartnerRole1', 'updateClaimPartnerRoleRequestDto', updateClaimPartnerRoleRequestDto);
|
|
607
|
-
localVarPath = "/v1/claim-partner-roles/{code}"
|
|
602
|
+
localVarPath = "/claimservice/v1/claim-partner-roles/{code}"
|
|
608
603
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
609
604
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
610
605
|
if (configuration) {
|
|
@@ -655,12 +650,12 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
655
650
|
* @param {*} [options] Override http request option.
|
|
656
651
|
* @throws {RequiredError}
|
|
657
652
|
*/
|
|
658
|
-
|
|
653
|
+
createClaimPartnerRole0: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
659
654
|
return __awaiter(this, void 0, void 0, function () {
|
|
660
655
|
var localVarAxiosArgs;
|
|
661
656
|
return __generator(this, function (_a) {
|
|
662
657
|
switch (_a.label) {
|
|
663
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
658
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPartnerRole0(createClaimPartnerRoleRequestDto, authorization, options)];
|
|
664
659
|
case 1:
|
|
665
660
|
localVarAxiosArgs = _a.sent();
|
|
666
661
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -669,12 +664,11 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
669
664
|
});
|
|
670
665
|
},
|
|
671
666
|
/**
|
|
672
|
-
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
667
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
673
668
|
* @summary Create the claim partner role
|
|
674
669
|
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
675
670
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
676
671
|
* @param {*} [options] Override http request option.
|
|
677
|
-
* @deprecated
|
|
678
672
|
* @throws {RequiredError}
|
|
679
673
|
*/
|
|
680
674
|
createClaimPartnerRole1: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
@@ -698,12 +692,12 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
698
692
|
* @param {*} [options] Override http request option.
|
|
699
693
|
* @throws {RequiredError}
|
|
700
694
|
*/
|
|
701
|
-
|
|
695
|
+
deleteClaimPartnerRole0: function (code, authorization, options) {
|
|
702
696
|
return __awaiter(this, void 0, void 0, function () {
|
|
703
697
|
var localVarAxiosArgs;
|
|
704
698
|
return __generator(this, function (_a) {
|
|
705
699
|
switch (_a.label) {
|
|
706
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
700
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPartnerRole0(code, authorization, options)];
|
|
707
701
|
case 1:
|
|
708
702
|
localVarAxiosArgs = _a.sent();
|
|
709
703
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -712,12 +706,11 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
712
706
|
});
|
|
713
707
|
},
|
|
714
708
|
/**
|
|
715
|
-
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
709
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
716
710
|
* @summary Delete the claim partner role
|
|
717
711
|
* @param {string} code Unique identifier for the object.
|
|
718
712
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
719
713
|
* @param {*} [options] Override http request option.
|
|
720
|
-
* @deprecated
|
|
721
714
|
* @throws {RequiredError}
|
|
722
715
|
*/
|
|
723
716
|
deleteClaimPartnerRole1: function (code, authorization, options) {
|
|
@@ -741,12 +734,12 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
741
734
|
* @param {*} [options] Override http request option.
|
|
742
735
|
* @throws {RequiredError}
|
|
743
736
|
*/
|
|
744
|
-
|
|
737
|
+
getClaimPartnerRole0: function (code, authorization, options) {
|
|
745
738
|
return __awaiter(this, void 0, void 0, function () {
|
|
746
739
|
var localVarAxiosArgs;
|
|
747
740
|
return __generator(this, function (_a) {
|
|
748
741
|
switch (_a.label) {
|
|
749
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
742
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPartnerRole0(code, authorization, options)];
|
|
750
743
|
case 1:
|
|
751
744
|
localVarAxiosArgs = _a.sent();
|
|
752
745
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -755,12 +748,11 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
755
748
|
});
|
|
756
749
|
},
|
|
757
750
|
/**
|
|
758
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
751
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
759
752
|
* @summary Retrieve the claim partner role
|
|
760
753
|
* @param {string} code Unique identifier for the object.
|
|
761
754
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
762
755
|
* @param {*} [options] Override http request option.
|
|
763
|
-
* @deprecated
|
|
764
756
|
* @throws {RequiredError}
|
|
765
757
|
*/
|
|
766
758
|
getClaimPartnerRole1: function (code, authorization, options) {
|
|
@@ -790,12 +782,12 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
790
782
|
* @param {*} [options] Override http request option.
|
|
791
783
|
* @throws {RequiredError}
|
|
792
784
|
*/
|
|
793
|
-
|
|
785
|
+
listClaimPartnerRole0: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
794
786
|
return __awaiter(this, void 0, void 0, function () {
|
|
795
787
|
var localVarAxiosArgs;
|
|
796
788
|
return __generator(this, function (_a) {
|
|
797
789
|
switch (_a.label) {
|
|
798
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
790
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPartnerRole0(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
799
791
|
case 1:
|
|
800
792
|
localVarAxiosArgs = _a.sent();
|
|
801
793
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -804,7 +796,7 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
804
796
|
});
|
|
805
797
|
},
|
|
806
798
|
/**
|
|
807
|
-
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
799
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
808
800
|
* @summary List claim partner roles
|
|
809
801
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
810
802
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -815,7 +807,6 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
815
807
|
* @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/>
|
|
816
808
|
* @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: name, productSlug</i>
|
|
817
809
|
* @param {*} [options] Override http request option.
|
|
818
|
-
* @deprecated
|
|
819
810
|
* @throws {RequiredError}
|
|
820
811
|
*/
|
|
821
812
|
listClaimPartnerRole1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -840,12 +831,12 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
840
831
|
* @param {*} [options] Override http request option.
|
|
841
832
|
* @throws {RequiredError}
|
|
842
833
|
*/
|
|
843
|
-
|
|
834
|
+
updateClaimPartnerRole0: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
844
835
|
return __awaiter(this, void 0, void 0, function () {
|
|
845
836
|
var localVarAxiosArgs;
|
|
846
837
|
return __generator(this, function (_a) {
|
|
847
838
|
switch (_a.label) {
|
|
848
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
839
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimPartnerRole0(code, updateClaimPartnerRoleRequestDto, authorization, options)];
|
|
849
840
|
case 1:
|
|
850
841
|
localVarAxiosArgs = _a.sent();
|
|
851
842
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -854,13 +845,12 @@ var ClaimPartnerRolesApiFp = function (configuration) {
|
|
|
854
845
|
});
|
|
855
846
|
},
|
|
856
847
|
/**
|
|
857
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
848
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
858
849
|
* @summary Update the claim partner role
|
|
859
850
|
* @param {string} code Unique identifier for the object.
|
|
860
851
|
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
861
852
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
862
853
|
* @param {*} [options] Override http request option.
|
|
863
|
-
* @deprecated
|
|
864
854
|
* @throws {RequiredError}
|
|
865
855
|
*/
|
|
866
856
|
updateClaimPartnerRole1: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
@@ -894,16 +884,15 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
894
884
|
* @param {*} [options] Override http request option.
|
|
895
885
|
* @throws {RequiredError}
|
|
896
886
|
*/
|
|
897
|
-
|
|
898
|
-
return localVarFp.
|
|
887
|
+
createClaimPartnerRole0: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
888
|
+
return localVarFp.createClaimPartnerRole0(createClaimPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
899
889
|
},
|
|
900
890
|
/**
|
|
901
|
-
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
891
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
902
892
|
* @summary Create the claim partner role
|
|
903
893
|
* @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
|
|
904
894
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
905
895
|
* @param {*} [options] Override http request option.
|
|
906
|
-
* @deprecated
|
|
907
896
|
* @throws {RequiredError}
|
|
908
897
|
*/
|
|
909
898
|
createClaimPartnerRole1: function (createClaimPartnerRoleRequestDto, authorization, options) {
|
|
@@ -917,16 +906,15 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
917
906
|
* @param {*} [options] Override http request option.
|
|
918
907
|
* @throws {RequiredError}
|
|
919
908
|
*/
|
|
920
|
-
|
|
921
|
-
return localVarFp.
|
|
909
|
+
deleteClaimPartnerRole0: function (code, authorization, options) {
|
|
910
|
+
return localVarFp.deleteClaimPartnerRole0(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
922
911
|
},
|
|
923
912
|
/**
|
|
924
|
-
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
913
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
925
914
|
* @summary Delete the claim partner role
|
|
926
915
|
* @param {string} code Unique identifier for the object.
|
|
927
916
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
928
917
|
* @param {*} [options] Override http request option.
|
|
929
|
-
* @deprecated
|
|
930
918
|
* @throws {RequiredError}
|
|
931
919
|
*/
|
|
932
920
|
deleteClaimPartnerRole1: function (code, authorization, options) {
|
|
@@ -940,16 +928,15 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
940
928
|
* @param {*} [options] Override http request option.
|
|
941
929
|
* @throws {RequiredError}
|
|
942
930
|
*/
|
|
943
|
-
|
|
944
|
-
return localVarFp.
|
|
931
|
+
getClaimPartnerRole0: function (code, authorization, options) {
|
|
932
|
+
return localVarFp.getClaimPartnerRole0(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
945
933
|
},
|
|
946
934
|
/**
|
|
947
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
935
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
948
936
|
* @summary Retrieve the claim partner role
|
|
949
937
|
* @param {string} code Unique identifier for the object.
|
|
950
938
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
951
939
|
* @param {*} [options] Override http request option.
|
|
952
|
-
* @deprecated
|
|
953
940
|
* @throws {RequiredError}
|
|
954
941
|
*/
|
|
955
942
|
getClaimPartnerRole1: function (code, authorization, options) {
|
|
@@ -969,11 +956,11 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
969
956
|
* @param {*} [options] Override http request option.
|
|
970
957
|
* @throws {RequiredError}
|
|
971
958
|
*/
|
|
972
|
-
|
|
973
|
-
return localVarFp.
|
|
959
|
+
listClaimPartnerRole0: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
960
|
+
return localVarFp.listClaimPartnerRole0(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
974
961
|
},
|
|
975
962
|
/**
|
|
976
|
-
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
963
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
977
964
|
* @summary List claim partner roles
|
|
978
965
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
979
966
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -984,7 +971,6 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
984
971
|
* @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/>
|
|
985
972
|
* @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: name, productSlug</i>
|
|
986
973
|
* @param {*} [options] Override http request option.
|
|
987
|
-
* @deprecated
|
|
988
974
|
* @throws {RequiredError}
|
|
989
975
|
*/
|
|
990
976
|
listClaimPartnerRole1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -999,17 +985,16 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
|
|
|
999
985
|
* @param {*} [options] Override http request option.
|
|
1000
986
|
* @throws {RequiredError}
|
|
1001
987
|
*/
|
|
1002
|
-
|
|
1003
|
-
return localVarFp.
|
|
988
|
+
updateClaimPartnerRole0: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
989
|
+
return localVarFp.updateClaimPartnerRole0(code, updateClaimPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1004
990
|
},
|
|
1005
991
|
/**
|
|
1006
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
992
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
1007
993
|
* @summary Update the claim partner role
|
|
1008
994
|
* @param {string} code Unique identifier for the object.
|
|
1009
995
|
* @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
|
|
1010
996
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1011
997
|
* @param {*} [options] Override http request option.
|
|
1012
|
-
* @deprecated
|
|
1013
998
|
* @throws {RequiredError}
|
|
1014
999
|
*/
|
|
1015
1000
|
updateClaimPartnerRole1: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
|
|
@@ -1032,21 +1017,20 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
|
|
|
1032
1017
|
/**
|
|
1033
1018
|
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
1034
1019
|
* @summary Create the claim partner role
|
|
1035
|
-
* @param {
|
|
1020
|
+
* @param {ClaimPartnerRolesApiCreateClaimPartnerRole0Request} requestParameters Request parameters.
|
|
1036
1021
|
* @param {*} [options] Override http request option.
|
|
1037
1022
|
* @throws {RequiredError}
|
|
1038
1023
|
* @memberof ClaimPartnerRolesApi
|
|
1039
1024
|
*/
|
|
1040
|
-
ClaimPartnerRolesApi.prototype.
|
|
1025
|
+
ClaimPartnerRolesApi.prototype.createClaimPartnerRole0 = function (requestParameters, options) {
|
|
1041
1026
|
var _this = this;
|
|
1042
|
-
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).
|
|
1027
|
+
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).createClaimPartnerRole0(requestParameters.createClaimPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1043
1028
|
};
|
|
1044
1029
|
/**
|
|
1045
|
-
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
1030
|
+
* This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
|
|
1046
1031
|
* @summary Create the claim partner role
|
|
1047
1032
|
* @param {ClaimPartnerRolesApiCreateClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1048
1033
|
* @param {*} [options] Override http request option.
|
|
1049
|
-
* @deprecated
|
|
1050
1034
|
* @throws {RequiredError}
|
|
1051
1035
|
* @memberof ClaimPartnerRolesApi
|
|
1052
1036
|
*/
|
|
@@ -1057,21 +1041,20 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
|
|
|
1057
1041
|
/**
|
|
1058
1042
|
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
1059
1043
|
* @summary Delete the claim partner role
|
|
1060
|
-
* @param {
|
|
1044
|
+
* @param {ClaimPartnerRolesApiDeleteClaimPartnerRole0Request} requestParameters Request parameters.
|
|
1061
1045
|
* @param {*} [options] Override http request option.
|
|
1062
1046
|
* @throws {RequiredError}
|
|
1063
1047
|
* @memberof ClaimPartnerRolesApi
|
|
1064
1048
|
*/
|
|
1065
|
-
ClaimPartnerRolesApi.prototype.
|
|
1049
|
+
ClaimPartnerRolesApi.prototype.deleteClaimPartnerRole0 = function (requestParameters, options) {
|
|
1066
1050
|
var _this = this;
|
|
1067
|
-
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).
|
|
1051
|
+
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).deleteClaimPartnerRole0(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1068
1052
|
};
|
|
1069
1053
|
/**
|
|
1070
|
-
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
1054
|
+
* Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it. **Required Permissions** \"claim-management.partner-roles.delete\"
|
|
1071
1055
|
* @summary Delete the claim partner role
|
|
1072
1056
|
* @param {ClaimPartnerRolesApiDeleteClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1073
1057
|
* @param {*} [options] Override http request option.
|
|
1074
|
-
* @deprecated
|
|
1075
1058
|
* @throws {RequiredError}
|
|
1076
1059
|
* @memberof ClaimPartnerRolesApi
|
|
1077
1060
|
*/
|
|
@@ -1082,21 +1065,20 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
|
|
|
1082
1065
|
/**
|
|
1083
1066
|
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
1084
1067
|
* @summary Retrieve the claim partner role
|
|
1085
|
-
* @param {
|
|
1068
|
+
* @param {ClaimPartnerRolesApiGetClaimPartnerRole0Request} requestParameters Request parameters.
|
|
1086
1069
|
* @param {*} [options] Override http request option.
|
|
1087
1070
|
* @throws {RequiredError}
|
|
1088
1071
|
* @memberof ClaimPartnerRolesApi
|
|
1089
1072
|
*/
|
|
1090
|
-
ClaimPartnerRolesApi.prototype.
|
|
1073
|
+
ClaimPartnerRolesApi.prototype.getClaimPartnerRole0 = function (requestParameters, options) {
|
|
1091
1074
|
var _this = this;
|
|
1092
|
-
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).
|
|
1075
|
+
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).getClaimPartnerRole0(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1093
1076
|
};
|
|
1094
1077
|
/**
|
|
1095
|
-
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
1078
|
+
* Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
1096
1079
|
* @summary Retrieve the claim partner role
|
|
1097
1080
|
* @param {ClaimPartnerRolesApiGetClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1098
1081
|
* @param {*} [options] Override http request option.
|
|
1099
|
-
* @deprecated
|
|
1100
1082
|
* @throws {RequiredError}
|
|
1101
1083
|
* @memberof ClaimPartnerRolesApi
|
|
1102
1084
|
*/
|
|
@@ -1107,22 +1089,21 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
|
|
|
1107
1089
|
/**
|
|
1108
1090
|
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
1109
1091
|
* @summary List claim partner roles
|
|
1110
|
-
* @param {
|
|
1092
|
+
* @param {ClaimPartnerRolesApiListClaimPartnerRole0Request} requestParameters Request parameters.
|
|
1111
1093
|
* @param {*} [options] Override http request option.
|
|
1112
1094
|
* @throws {RequiredError}
|
|
1113
1095
|
* @memberof ClaimPartnerRolesApi
|
|
1114
1096
|
*/
|
|
1115
|
-
ClaimPartnerRolesApi.prototype.
|
|
1097
|
+
ClaimPartnerRolesApi.prototype.listClaimPartnerRole0 = function (requestParameters, options) {
|
|
1116
1098
|
var _this = this;
|
|
1117
1099
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1118
|
-
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).
|
|
1100
|
+
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).listClaimPartnerRole0(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); });
|
|
1119
1101
|
};
|
|
1120
1102
|
/**
|
|
1121
|
-
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
1103
|
+
* Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partner-roles.view\"
|
|
1122
1104
|
* @summary List claim partner roles
|
|
1123
1105
|
* @param {ClaimPartnerRolesApiListClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1124
1106
|
* @param {*} [options] Override http request option.
|
|
1125
|
-
* @deprecated
|
|
1126
1107
|
* @throws {RequiredError}
|
|
1127
1108
|
* @memberof ClaimPartnerRolesApi
|
|
1128
1109
|
*/
|
|
@@ -1134,21 +1115,20 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
|
|
|
1134
1115
|
/**
|
|
1135
1116
|
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
1136
1117
|
* @summary Update the claim partner role
|
|
1137
|
-
* @param {
|
|
1118
|
+
* @param {ClaimPartnerRolesApiUpdateClaimPartnerRole0Request} requestParameters Request parameters.
|
|
1138
1119
|
* @param {*} [options] Override http request option.
|
|
1139
1120
|
* @throws {RequiredError}
|
|
1140
1121
|
* @memberof ClaimPartnerRolesApi
|
|
1141
1122
|
*/
|
|
1142
|
-
ClaimPartnerRolesApi.prototype.
|
|
1123
|
+
ClaimPartnerRolesApi.prototype.updateClaimPartnerRole0 = function (requestParameters, options) {
|
|
1143
1124
|
var _this = this;
|
|
1144
|
-
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).
|
|
1125
|
+
return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).updateClaimPartnerRole0(requestParameters.code, requestParameters.updateClaimPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1145
1126
|
};
|
|
1146
1127
|
/**
|
|
1147
|
-
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
1128
|
+
* Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.partner-roles.update\"
|
|
1148
1129
|
* @summary Update the claim partner role
|
|
1149
1130
|
* @param {ClaimPartnerRolesApiUpdateClaimPartnerRole1Request} requestParameters Request parameters.
|
|
1150
1131
|
* @param {*} [options] Override http request option.
|
|
1151
|
-
* @deprecated
|
|
1152
1132
|
* @throws {RequiredError}
|
|
1153
1133
|
* @memberof ClaimPartnerRolesApi
|
|
1154
1134
|
*/
|