@emilgroup/claim-sdk 1.40.1-beta.7 → 1.41.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.
Files changed (72) hide show
  1. package/.openapi-generator/FILES +0 -10
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +6 -613
  4. package/api/claim-partners-api.ts +0 -504
  5. package/api/claim-regulations-api.ts +3 -624
  6. package/api/claim-statuses-api.ts +5 -728
  7. package/api/claims-api.ts +4 -828
  8. package/api/health-check-api.ts +0 -62
  9. package/api/settlements-api.ts +6 -613
  10. package/api.ts +0 -2
  11. package/dist/api/claim-partner-roles-api.d.ts +0 -338
  12. package/dist/api/claim-partner-roles-api.js +0 -505
  13. package/dist/api/claim-partners-api.d.ts +0 -283
  14. package/dist/api/claim-partners-api.js +0 -412
  15. package/dist/api/claim-regulations-api.d.ts +0 -347
  16. package/dist/api/claim-regulations-api.js +0 -511
  17. package/dist/api/claim-statuses-api.d.ts +0 -402
  18. package/dist/api/claim-statuses-api.js +11 -615
  19. package/dist/api/claims-api.d.ts +0 -457
  20. package/dist/api/claims-api.js +30 -726
  21. package/dist/api/health-check-api.d.ts +0 -29
  22. package/dist/api/health-check-api.js +0 -69
  23. package/dist/api/settlements-api.d.ts +0 -338
  24. package/dist/api/settlements-api.js +0 -505
  25. package/dist/api.d.ts +0 -1
  26. package/dist/api.js +0 -1
  27. package/dist/models/claim-class.d.ts +0 -6
  28. package/dist/models/index.d.ts +0 -9
  29. package/dist/models/index.js +0 -9
  30. package/dist/models/list-claim-partner-roles-response-class.d.ts +0 -12
  31. package/dist/models/list-claim-partners-response-class.d.ts +0 -12
  32. package/dist/models/list-claim-statuses-response-class.d.ts +1 -13
  33. package/dist/models/list-claims-response-class.d.ts +0 -12
  34. package/dist/models/list-regulations-response-class.d.ts +0 -12
  35. package/models/claim-class.ts +0 -6
  36. package/models/index.ts +0 -9
  37. package/models/list-claim-partner-roles-response-class.ts +0 -12
  38. package/models/list-claim-partners-response-class.ts +0 -12
  39. package/models/list-claim-statuses-response-class.ts +1 -13
  40. package/models/list-claims-response-class.ts +0 -12
  41. package/models/list-regulations-response-class.ts +0 -12
  42. package/package.json +1 -1
  43. package/api/claim-positions-api.ts +0 -1316
  44. package/dist/api/claim-positions-api.d.ts +0 -740
  45. package/dist/api/claim-positions-api.js +0 -1157
  46. package/dist/models/claim-position-class.d.ts +0 -121
  47. package/dist/models/claim-position-class.js +0 -15
  48. package/dist/models/coverage-class.d.ts +0 -72
  49. package/dist/models/coverage-class.js +0 -21
  50. package/dist/models/coverage-request-dto.d.ts +0 -41
  51. package/dist/models/coverage-request-dto.js +0 -20
  52. package/dist/models/create-claim-position-request-dto.d.ts +0 -73
  53. package/dist/models/create-claim-position-request-dto.js +0 -15
  54. package/dist/models/create-claim-position-response-class.d.ts +0 -25
  55. package/dist/models/create-claim-position-response-class.js +0 -15
  56. package/dist/models/get-claim-position-response-class.d.ts +0 -25
  57. package/dist/models/get-claim-position-response-class.js +0 -15
  58. package/dist/models/list-claim-positions-response-class.d.ts +0 -43
  59. package/dist/models/list-claim-positions-response-class.js +0 -15
  60. package/dist/models/update-claim-position-request-dto.d.ts +0 -73
  61. package/dist/models/update-claim-position-request-dto.js +0 -15
  62. package/dist/models/update-claim-position-response-class.d.ts +0 -25
  63. package/dist/models/update-claim-position-response-class.js +0 -15
  64. package/models/claim-position-class.ts +0 -127
  65. package/models/coverage-class.ts +0 -81
  66. package/models/coverage-request-dto.ts +0 -50
  67. package/models/create-claim-position-request-dto.ts +0 -79
  68. package/models/create-claim-position-response-class.ts +0 -31
  69. package/models/get-claim-position-response-class.ts +0 -31
  70. package/models/list-claim-positions-response-class.ts +0 -49
  71. package/models/update-claim-position-request-dto.ts +0 -79
  72. package/models/update-claim-position-response-class.ts +0 -31
@@ -141,55 +141,6 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
141
141
  });
142
142
  });
143
143
  },
144
- /**
145
- * This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
146
- * @summary Create the claim partner role
147
- * @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
148
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- createClaimPartnerRole1: function (createClaimPartnerRoleRequestDto, authorization, options) {
153
- if (options === void 0) { options = {}; }
154
- return __awaiter(_this, void 0, void 0, function () {
155
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
- return __generator(this, function (_a) {
157
- switch (_a.label) {
158
- case 0:
159
- // verify required parameter 'createClaimPartnerRoleRequestDto' is not null or undefined
160
- (0, common_1.assertParamExists)('createClaimPartnerRole1', 'createClaimPartnerRoleRequestDto', createClaimPartnerRoleRequestDto);
161
- localVarPath = "/claimservice/v1/claim-partner-roles";
162
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
163
- if (configuration) {
164
- baseOptions = configuration.baseOptions;
165
- baseAccessToken = configuration.accessToken;
166
- }
167
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
168
- localVarHeaderParameter = {};
169
- localVarQueryParameter = {};
170
- // authentication bearer required
171
- // http bearer authentication required
172
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
173
- case 1:
174
- // authentication bearer required
175
- // http bearer authentication required
176
- _a.sent();
177
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
178
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
179
- }
180
- localVarHeaderParameter['Content-Type'] = 'application/json';
181
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimPartnerRoleRequestDto, localVarRequestOptions, configuration);
185
- return [2 /*return*/, {
186
- url: (0, common_1.toPathString)(localVarUrlObj),
187
- options: localVarRequestOptions,
188
- }];
189
- }
190
- });
191
- });
192
- },
193
144
  /**
194
145
  * 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\"
195
146
  * @summary Delete the claim partner role
@@ -238,54 +189,6 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
238
189
  });
239
190
  });
240
191
  },
241
- /**
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\"
243
- * @summary Delete the claim partner role
244
- * @param {string} code Unique identifier for the object.
245
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
246
- * @param {*} [options] Override http request option.
247
- * @throws {RequiredError}
248
- */
249
- deleteClaimPartnerRole1: function (code, authorization, options) {
250
- if (options === void 0) { options = {}; }
251
- return __awaiter(_this, void 0, void 0, function () {
252
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
253
- return __generator(this, function (_a) {
254
- switch (_a.label) {
255
- case 0:
256
- // verify required parameter 'code' is not null or undefined
257
- (0, common_1.assertParamExists)('deleteClaimPartnerRole1', 'code', code);
258
- localVarPath = "/claimservice/v1/claim-partner-roles/{code}"
259
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
260
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
261
- if (configuration) {
262
- baseOptions = configuration.baseOptions;
263
- baseAccessToken = configuration.accessToken;
264
- }
265
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
266
- localVarHeaderParameter = {};
267
- localVarQueryParameter = {};
268
- // authentication bearer required
269
- // http bearer authentication required
270
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
271
- case 1:
272
- // authentication bearer required
273
- // http bearer authentication required
274
- _a.sent();
275
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
276
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
277
- }
278
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
279
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
280
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
281
- return [2 /*return*/, {
282
- url: (0, common_1.toPathString)(localVarUrlObj),
283
- options: localVarRequestOptions,
284
- }];
285
- }
286
- });
287
- });
288
- },
289
192
  /**
290
193
  * 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\"
291
194
  * @summary Retrieve the claim partner role
@@ -334,54 +237,6 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
334
237
  });
335
238
  });
336
239
  },
337
- /**
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\"
339
- * @summary Retrieve the claim partner role
340
- * @param {string} code Unique identifier for the object.
341
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
342
- * @param {*} [options] Override http request option.
343
- * @throws {RequiredError}
344
- */
345
- getClaimPartnerRole1: function (code, authorization, options) {
346
- if (options === void 0) { options = {}; }
347
- return __awaiter(_this, void 0, void 0, function () {
348
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
349
- return __generator(this, function (_a) {
350
- switch (_a.label) {
351
- case 0:
352
- // verify required parameter 'code' is not null or undefined
353
- (0, common_1.assertParamExists)('getClaimPartnerRole1', 'code', code);
354
- localVarPath = "/claimservice/v1/claim-partner-roles/{code}"
355
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
356
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
357
- if (configuration) {
358
- baseOptions = configuration.baseOptions;
359
- baseAccessToken = configuration.accessToken;
360
- }
361
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
362
- localVarHeaderParameter = {};
363
- localVarQueryParameter = {};
364
- // authentication bearer required
365
- // http bearer authentication required
366
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
367
- case 1:
368
- // authentication bearer required
369
- // http bearer authentication required
370
- _a.sent();
371
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
372
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
373
- }
374
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
375
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
376
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
377
- return [2 /*return*/, {
378
- url: (0, common_1.toPathString)(localVarUrlObj),
379
- options: localVarRequestOptions,
380
- }];
381
- }
382
- });
383
- });
384
- },
385
240
  /**
386
241
  * 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\"
387
242
  * @summary List claim partner roles
@@ -454,78 +309,6 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
454
309
  });
455
310
  });
456
311
  },
457
- /**
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\"
459
- * @summary List claim partner roles
460
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
461
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
462
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
463
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: name, productSlug</i>
464
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, productSlug</i>
465
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
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/>
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>
468
- * @param {*} [options] Override http request option.
469
- * @throws {RequiredError}
470
- */
471
- listClaimPartnerRole1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
472
- if (options === void 0) { options = {}; }
473
- return __awaiter(_this, void 0, void 0, function () {
474
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
475
- return __generator(this, function (_a) {
476
- switch (_a.label) {
477
- case 0:
478
- localVarPath = "/claimservice/v1/claim-partner-roles";
479
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
480
- if (configuration) {
481
- baseOptions = configuration.baseOptions;
482
- baseAccessToken = configuration.accessToken;
483
- }
484
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
485
- localVarHeaderParameter = {};
486
- localVarQueryParameter = {};
487
- // authentication bearer required
488
- // http bearer authentication required
489
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
490
- case 1:
491
- // authentication bearer required
492
- // http bearer authentication required
493
- _a.sent();
494
- if (pageSize !== undefined) {
495
- localVarQueryParameter['pageSize'] = pageSize;
496
- }
497
- if (pageToken !== undefined) {
498
- localVarQueryParameter['pageToken'] = pageToken;
499
- }
500
- if (filter !== undefined) {
501
- localVarQueryParameter['filter'] = filter;
502
- }
503
- if (search !== undefined) {
504
- localVarQueryParameter['search'] = search;
505
- }
506
- if (order !== undefined) {
507
- localVarQueryParameter['order'] = order;
508
- }
509
- if (expand !== undefined) {
510
- localVarQueryParameter['expand'] = expand;
511
- }
512
- if (filters !== undefined) {
513
- localVarQueryParameter['filters'] = filters;
514
- }
515
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
516
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
517
- }
518
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
519
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
520
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
521
- return [2 /*return*/, {
522
- url: (0, common_1.toPathString)(localVarUrlObj),
523
- options: localVarRequestOptions,
524
- }];
525
- }
526
- });
527
- });
528
- },
529
312
  /**
530
313
  * 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\"
531
314
  * @summary Update the claim partner role
@@ -579,59 +362,6 @@ var ClaimPartnerRolesApiAxiosParamCreator = function (configuration) {
579
362
  });
580
363
  });
581
364
  },
582
- /**
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\"
584
- * @summary Update the claim partner role
585
- * @param {string} code Unique identifier for the object.
586
- * @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
587
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
588
- * @param {*} [options] Override http request option.
589
- * @throws {RequiredError}
590
- */
591
- updateClaimPartnerRole1: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
592
- if (options === void 0) { options = {}; }
593
- return __awaiter(_this, void 0, void 0, function () {
594
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
595
- return __generator(this, function (_a) {
596
- switch (_a.label) {
597
- case 0:
598
- // verify required parameter 'code' is not null or undefined
599
- (0, common_1.assertParamExists)('updateClaimPartnerRole1', 'code', code);
600
- // verify required parameter 'updateClaimPartnerRoleRequestDto' is not null or undefined
601
- (0, common_1.assertParamExists)('updateClaimPartnerRole1', 'updateClaimPartnerRoleRequestDto', updateClaimPartnerRoleRequestDto);
602
- localVarPath = "/claimservice/v1/claim-partner-roles/{code}"
603
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
604
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
605
- if (configuration) {
606
- baseOptions = configuration.baseOptions;
607
- baseAccessToken = configuration.accessToken;
608
- }
609
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
610
- localVarHeaderParameter = {};
611
- localVarQueryParameter = {};
612
- // authentication bearer required
613
- // http bearer authentication required
614
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
615
- case 1:
616
- // authentication bearer required
617
- // http bearer authentication required
618
- _a.sent();
619
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
620
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
621
- }
622
- localVarHeaderParameter['Content-Type'] = 'application/json';
623
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
624
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
625
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
626
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimPartnerRoleRequestDto, localVarRequestOptions, configuration);
627
- return [2 /*return*/, {
628
- url: (0, common_1.toPathString)(localVarUrlObj),
629
- options: localVarRequestOptions,
630
- }];
631
- }
632
- });
633
- });
634
- },
635
365
  };
636
366
  };
637
367
  exports.ClaimPartnerRolesApiAxiosParamCreator = ClaimPartnerRolesApiAxiosParamCreator;
@@ -663,27 +393,6 @@ var ClaimPartnerRolesApiFp = function (configuration) {
663
393
  });
664
394
  });
665
395
  },
666
- /**
667
- * This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
668
- * @summary Create the claim partner role
669
- * @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
670
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
671
- * @param {*} [options] Override http request option.
672
- * @throws {RequiredError}
673
- */
674
- createClaimPartnerRole1: function (createClaimPartnerRoleRequestDto, authorization, options) {
675
- return __awaiter(this, void 0, void 0, function () {
676
- var localVarAxiosArgs;
677
- return __generator(this, function (_a) {
678
- switch (_a.label) {
679
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPartnerRole1(createClaimPartnerRoleRequestDto, authorization, options)];
680
- case 1:
681
- localVarAxiosArgs = _a.sent();
682
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
683
- }
684
- });
685
- });
686
- },
687
396
  /**
688
397
  * 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\"
689
398
  * @summary Delete the claim partner role
@@ -705,27 +414,6 @@ var ClaimPartnerRolesApiFp = function (configuration) {
705
414
  });
706
415
  });
707
416
  },
708
- /**
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\"
710
- * @summary Delete the claim partner role
711
- * @param {string} code Unique identifier for the object.
712
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
713
- * @param {*} [options] Override http request option.
714
- * @throws {RequiredError}
715
- */
716
- deleteClaimPartnerRole1: function (code, authorization, options) {
717
- return __awaiter(this, void 0, void 0, function () {
718
- var localVarAxiosArgs;
719
- return __generator(this, function (_a) {
720
- switch (_a.label) {
721
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPartnerRole1(code, authorization, options)];
722
- case 1:
723
- localVarAxiosArgs = _a.sent();
724
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
725
- }
726
- });
727
- });
728
- },
729
417
  /**
730
418
  * 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\"
731
419
  * @summary Retrieve the claim partner role
@@ -747,27 +435,6 @@ var ClaimPartnerRolesApiFp = function (configuration) {
747
435
  });
748
436
  });
749
437
  },
750
- /**
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\"
752
- * @summary Retrieve the claim partner role
753
- * @param {string} code Unique identifier for the object.
754
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
755
- * @param {*} [options] Override http request option.
756
- * @throws {RequiredError}
757
- */
758
- getClaimPartnerRole1: function (code, authorization, options) {
759
- return __awaiter(this, void 0, void 0, function () {
760
- var localVarAxiosArgs;
761
- return __generator(this, function (_a) {
762
- switch (_a.label) {
763
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPartnerRole1(code, authorization, options)];
764
- case 1:
765
- localVarAxiosArgs = _a.sent();
766
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
767
- }
768
- });
769
- });
770
- },
771
438
  /**
772
439
  * 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\"
773
440
  * @summary List claim partner roles
@@ -795,33 +462,6 @@ var ClaimPartnerRolesApiFp = function (configuration) {
795
462
  });
796
463
  });
797
464
  },
798
- /**
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\"
800
- * @summary List claim partner roles
801
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
802
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
803
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
804
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: name, productSlug</i>
805
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, productSlug</i>
806
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
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/>
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>
809
- * @param {*} [options] Override http request option.
810
- * @throws {RequiredError}
811
- */
812
- listClaimPartnerRole1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
813
- return __awaiter(this, void 0, void 0, function () {
814
- var localVarAxiosArgs;
815
- return __generator(this, function (_a) {
816
- switch (_a.label) {
817
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPartnerRole1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
818
- case 1:
819
- localVarAxiosArgs = _a.sent();
820
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
821
- }
822
- });
823
- });
824
- },
825
465
  /**
826
466
  * 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\"
827
467
  * @summary Update the claim partner role
@@ -844,28 +484,6 @@ var ClaimPartnerRolesApiFp = function (configuration) {
844
484
  });
845
485
  });
846
486
  },
847
- /**
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\"
849
- * @summary Update the claim partner role
850
- * @param {string} code Unique identifier for the object.
851
- * @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
852
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
853
- * @param {*} [options] Override http request option.
854
- * @throws {RequiredError}
855
- */
856
- updateClaimPartnerRole1: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
857
- return __awaiter(this, void 0, void 0, function () {
858
- var localVarAxiosArgs;
859
- return __generator(this, function (_a) {
860
- switch (_a.label) {
861
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimPartnerRole1(code, updateClaimPartnerRoleRequestDto, authorization, options)];
862
- case 1:
863
- localVarAxiosArgs = _a.sent();
864
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
865
- }
866
- });
867
- });
868
- },
869
487
  };
870
488
  };
871
489
  exports.ClaimPartnerRolesApiFp = ClaimPartnerRolesApiFp;
@@ -887,17 +505,6 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
887
505
  createClaimPartnerRole: function (createClaimPartnerRoleRequestDto, authorization, options) {
888
506
  return localVarFp.createClaimPartnerRole(createClaimPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
889
507
  },
890
- /**
891
- * This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
892
- * @summary Create the claim partner role
893
- * @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
894
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
895
- * @param {*} [options] Override http request option.
896
- * @throws {RequiredError}
897
- */
898
- createClaimPartnerRole1: function (createClaimPartnerRoleRequestDto, authorization, options) {
899
- return localVarFp.createClaimPartnerRole1(createClaimPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
900
- },
901
508
  /**
902
509
  * 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\"
903
510
  * @summary Delete the claim partner role
@@ -909,17 +516,6 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
909
516
  deleteClaimPartnerRole: function (code, authorization, options) {
910
517
  return localVarFp.deleteClaimPartnerRole(code, authorization, options).then(function (request) { return request(axios, basePath); });
911
518
  },
912
- /**
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\"
914
- * @summary Delete the claim partner role
915
- * @param {string} code Unique identifier for the object.
916
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
917
- * @param {*} [options] Override http request option.
918
- * @throws {RequiredError}
919
- */
920
- deleteClaimPartnerRole1: function (code, authorization, options) {
921
- return localVarFp.deleteClaimPartnerRole1(code, authorization, options).then(function (request) { return request(axios, basePath); });
922
- },
923
519
  /**
924
520
  * 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\"
925
521
  * @summary Retrieve the claim partner role
@@ -931,17 +527,6 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
931
527
  getClaimPartnerRole: function (code, authorization, options) {
932
528
  return localVarFp.getClaimPartnerRole(code, authorization, options).then(function (request) { return request(axios, basePath); });
933
529
  },
934
- /**
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\"
936
- * @summary Retrieve the claim partner role
937
- * @param {string} code Unique identifier for the object.
938
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
939
- * @param {*} [options] Override http request option.
940
- * @throws {RequiredError}
941
- */
942
- getClaimPartnerRole1: function (code, authorization, options) {
943
- return localVarFp.getClaimPartnerRole1(code, authorization, options).then(function (request) { return request(axios, basePath); });
944
- },
945
530
  /**
946
531
  * 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\"
947
532
  * @summary List claim partner roles
@@ -959,23 +544,6 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
959
544
  listClaimPartnerRole: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
960
545
  return localVarFp.listClaimPartnerRole(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
961
546
  },
962
- /**
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\"
964
- * @summary List claim partner roles
965
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
966
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
967
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
968
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: name, productSlug</i>
969
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: name, productSlug</i>
970
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, name, productSlug, createdAt, updatedAt</i>
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/>
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>
973
- * @param {*} [options] Override http request option.
974
- * @throws {RequiredError}
975
- */
976
- listClaimPartnerRole1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
977
- return localVarFp.listClaimPartnerRole1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
978
- },
979
547
  /**
980
548
  * 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\"
981
549
  * @summary Update the claim partner role
@@ -988,18 +556,6 @@ var ClaimPartnerRolesApiFactory = function (configuration, basePath, axios) {
988
556
  updateClaimPartnerRole: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
989
557
  return localVarFp.updateClaimPartnerRole(code, updateClaimPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
990
558
  },
991
- /**
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\"
993
- * @summary Update the claim partner role
994
- * @param {string} code Unique identifier for the object.
995
- * @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
996
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
997
- * @param {*} [options] Override http request option.
998
- * @throws {RequiredError}
999
- */
1000
- updateClaimPartnerRole1: function (code, updateClaimPartnerRoleRequestDto, authorization, options) {
1001
- return localVarFp.updateClaimPartnerRole1(code, updateClaimPartnerRoleRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1002
- },
1003
559
  };
1004
560
  };
1005
561
  exports.ClaimPartnerRolesApiFactory = ClaimPartnerRolesApiFactory;
@@ -1026,18 +582,6 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
1026
582
  var _this = this;
1027
583
  return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).createClaimPartnerRole(requestParameters.createClaimPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1028
584
  };
1029
- /**
1030
- * This will create a claim partner role. **Required Permissions** \"claim-management.partner-roles.create\"
1031
- * @summary Create the claim partner role
1032
- * @param {ClaimPartnerRolesApiCreateClaimPartnerRole1Request} requestParameters Request parameters.
1033
- * @param {*} [options] Override http request option.
1034
- * @throws {RequiredError}
1035
- * @memberof ClaimPartnerRolesApi
1036
- */
1037
- ClaimPartnerRolesApi.prototype.createClaimPartnerRole1 = function (requestParameters, options) {
1038
- var _this = this;
1039
- return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).createClaimPartnerRole1(requestParameters.createClaimPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1040
- };
1041
585
  /**
1042
586
  * 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\"
1043
587
  * @summary Delete the claim partner role
@@ -1050,18 +594,6 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
1050
594
  var _this = this;
1051
595
  return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).deleteClaimPartnerRole(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1052
596
  };
1053
- /**
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\"
1055
- * @summary Delete the claim partner role
1056
- * @param {ClaimPartnerRolesApiDeleteClaimPartnerRole1Request} requestParameters Request parameters.
1057
- * @param {*} [options] Override http request option.
1058
- * @throws {RequiredError}
1059
- * @memberof ClaimPartnerRolesApi
1060
- */
1061
- ClaimPartnerRolesApi.prototype.deleteClaimPartnerRole1 = function (requestParameters, options) {
1062
- var _this = this;
1063
- return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).deleteClaimPartnerRole1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1064
- };
1065
597
  /**
1066
598
  * 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\"
1067
599
  * @summary Retrieve the claim partner role
@@ -1074,18 +606,6 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
1074
606
  var _this = this;
1075
607
  return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).getClaimPartnerRole(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1076
608
  };
1077
- /**
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\"
1079
- * @summary Retrieve the claim partner role
1080
- * @param {ClaimPartnerRolesApiGetClaimPartnerRole1Request} requestParameters Request parameters.
1081
- * @param {*} [options] Override http request option.
1082
- * @throws {RequiredError}
1083
- * @memberof ClaimPartnerRolesApi
1084
- */
1085
- ClaimPartnerRolesApi.prototype.getClaimPartnerRole1 = function (requestParameters, options) {
1086
- var _this = this;
1087
- return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).getClaimPartnerRole1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1088
- };
1089
609
  /**
1090
610
  * 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\"
1091
611
  * @summary List claim partner roles
@@ -1099,19 +619,6 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
1099
619
  if (requestParameters === void 0) { requestParameters = {}; }
1100
620
  return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).listClaimPartnerRole(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); });
1101
621
  };
1102
- /**
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\"
1104
- * @summary List claim partner roles
1105
- * @param {ClaimPartnerRolesApiListClaimPartnerRole1Request} requestParameters Request parameters.
1106
- * @param {*} [options] Override http request option.
1107
- * @throws {RequiredError}
1108
- * @memberof ClaimPartnerRolesApi
1109
- */
1110
- ClaimPartnerRolesApi.prototype.listClaimPartnerRole1 = function (requestParameters, options) {
1111
- var _this = this;
1112
- if (requestParameters === void 0) { requestParameters = {}; }
1113
- return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).listClaimPartnerRole1(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); });
1114
- };
1115
622
  /**
1116
623
  * 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\"
1117
624
  * @summary Update the claim partner role
@@ -1124,18 +631,6 @@ var ClaimPartnerRolesApi = /** @class */ (function (_super) {
1124
631
  var _this = this;
1125
632
  return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).updateClaimPartnerRole(requestParameters.code, requestParameters.updateClaimPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1126
633
  };
1127
- /**
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\"
1129
- * @summary Update the claim partner role
1130
- * @param {ClaimPartnerRolesApiUpdateClaimPartnerRole1Request} requestParameters Request parameters.
1131
- * @param {*} [options] Override http request option.
1132
- * @throws {RequiredError}
1133
- * @memberof ClaimPartnerRolesApi
1134
- */
1135
- ClaimPartnerRolesApi.prototype.updateClaimPartnerRole1 = function (requestParameters, options) {
1136
- var _this = this;
1137
- return (0, exports.ClaimPartnerRolesApiFp)(this.configuration).updateClaimPartnerRole1(requestParameters.code, requestParameters.updateClaimPartnerRoleRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1138
- };
1139
634
  return ClaimPartnerRolesApi;
1140
635
  }(base_1.BaseAPI));
1141
636
  exports.ClaimPartnerRolesApi = ClaimPartnerRolesApi;