@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 ClaimStatusesApiAxiosParamCreator = function (configuration) {
141
141
  });
142
142
  });
143
143
  },
144
- /**
145
- * This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
146
- * @summary Create the claim status
147
- * @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
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
- createClaimStatus1: function (createClaimStatusRequestDto, 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 'createClaimStatusRequestDto' is not null or undefined
160
- (0, common_1.assertParamExists)('createClaimStatus1', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
161
- localVarPath = "/claimservice/v1/claim-statuses";
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)(createClaimStatusRequestDto, 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 status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
195
146
  * @summary Delete the claim status
@@ -238,54 +189,6 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
238
189
  });
239
190
  });
240
191
  },
241
- /**
242
- * Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
243
- * @summary Delete the claim status
244
- * @param {number} id
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
- deleteClaimStatus1: function (id, 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 'id' is not null or undefined
257
- (0, common_1.assertParamExists)('deleteClaimStatus1', 'id', id);
258
- localVarPath = "/claimservice/v1/claim-statuses/{id}"
259
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
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 status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
291
194
  * @summary Retrieve the claim status
@@ -334,54 +237,6 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
334
237
  });
335
238
  });
336
239
  },
337
- /**
338
- * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
339
- * @summary Retrieve the claim status
340
- * @param {number} id
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
- getClaimStatus1: function (id, 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 'id' is not null or undefined
353
- (0, common_1.assertParamExists)('getClaimStatus1', 'id', id);
354
- localVarPath = "/claimservice/v1/claim-statuses/{id}"
355
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
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 statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
387
242
  * @summary List claim statuses
@@ -454,194 +309,16 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
454
309
  });
455
310
  });
456
311
  },
457
- /**
458
- * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
459
- * @summary List claim statuses
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: id, name, productSlug</i>
464
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
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</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: id, name, productSlug</i>
468
- * @param {*} [options] Override http request option.
469
- * @throws {RequiredError}
470
- */
471
- listClaimStatuses1: 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-statuses";
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
- /**
530
- * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
531
- * @summary Patch claim status
532
- * @param {number} id
533
- * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
534
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
535
- * @param {*} [options] Override http request option.
536
- * @throws {RequiredError}
537
- */
538
- patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
539
- if (options === void 0) { options = {}; }
540
- return __awaiter(_this, void 0, void 0, function () {
541
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
542
- return __generator(this, function (_a) {
543
- switch (_a.label) {
544
- case 0:
545
- // verify required parameter 'id' is not null or undefined
546
- (0, common_1.assertParamExists)('patchClaimStatus', 'id', id);
547
- // verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
548
- (0, common_1.assertParamExists)('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
549
- localVarPath = "/v1/claim-statuses/{id}"
550
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
551
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
552
- if (configuration) {
553
- baseOptions = configuration.baseOptions;
554
- baseAccessToken = configuration.accessToken;
555
- }
556
- localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
557
- localVarHeaderParameter = {};
558
- localVarQueryParameter = {};
559
- // authentication bearer required
560
- // http bearer authentication required
561
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
562
- case 1:
563
- // authentication bearer required
564
- // http bearer authentication required
565
- _a.sent();
566
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
567
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
568
- }
569
- localVarHeaderParameter['Content-Type'] = 'application/json';
570
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
571
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
572
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
573
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
574
- return [2 /*return*/, {
575
- url: (0, common_1.toPathString)(localVarUrlObj),
576
- options: localVarRequestOptions,
577
- }];
578
- }
579
- });
580
- });
581
- },
582
312
  /**
583
313
  * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
584
314
  * @summary Patch claim status
585
315
  * @param {number} id
586
- * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
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
- patchClaimStatus1: function (id, patchClaimStatusRequestDto, 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 'id' is not null or undefined
599
- (0, common_1.assertParamExists)('patchClaimStatus1', 'id', id);
600
- // verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
601
- (0, common_1.assertParamExists)('patchClaimStatus1', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
602
- localVarPath = "/claimservice/v1/claim-statuses/{id}"
603
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
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: 'PATCH' }, 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)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
627
- return [2 /*return*/, {
628
- url: (0, common_1.toPathString)(localVarUrlObj),
629
- options: localVarRequestOptions,
630
- }];
631
- }
632
- });
633
- });
634
- },
635
- /**
636
- * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
637
- * @summary Update the claim status
638
- * @param {number} id
639
- * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
316
+ * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
640
317
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
641
318
  * @param {*} [options] Override http request option.
642
319
  * @throws {RequiredError}
643
320
  */
644
- updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
321
+ patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
645
322
  if (options === void 0) { options = {}; }
646
323
  return __awaiter(_this, void 0, void 0, function () {
647
324
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -649,9 +326,9 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
649
326
  switch (_a.label) {
650
327
  case 0:
651
328
  // verify required parameter 'id' is not null or undefined
652
- (0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
653
- // verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
654
- (0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
329
+ (0, common_1.assertParamExists)('patchClaimStatus', 'id', id);
330
+ // verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
331
+ (0, common_1.assertParamExists)('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
655
332
  localVarPath = "/v1/claim-statuses/{id}"
656
333
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
657
334
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -659,7 +336,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
659
336
  baseOptions = configuration.baseOptions;
660
337
  baseAccessToken = configuration.accessToken;
661
338
  }
662
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
339
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
663
340
  localVarHeaderParameter = {};
664
341
  localVarQueryParameter = {};
665
342
  // authentication bearer required
@@ -676,7 +353,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
676
353
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
677
354
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
678
355
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
679
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimStatusRequestDto, localVarRequestOptions, configuration);
356
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
680
357
  return [2 /*return*/, {
681
358
  url: (0, common_1.toPathString)(localVarUrlObj),
682
359
  options: localVarRequestOptions,
@@ -694,7 +371,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
694
371
  * @param {*} [options] Override http request option.
695
372
  * @throws {RequiredError}
696
373
  */
697
- updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
374
+ updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
698
375
  if (options === void 0) { options = {}; }
699
376
  return __awaiter(_this, void 0, void 0, function () {
700
377
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -702,10 +379,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
702
379
  switch (_a.label) {
703
380
  case 0:
704
381
  // verify required parameter 'id' is not null or undefined
705
- (0, common_1.assertParamExists)('updateClaimStatus1', 'id', id);
382
+ (0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
706
383
  // verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
707
- (0, common_1.assertParamExists)('updateClaimStatus1', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
708
- localVarPath = "/claimservice/v1/claim-statuses/{id}"
384
+ (0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
385
+ localVarPath = "/v1/claim-statuses/{id}"
709
386
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
710
387
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
711
388
  if (configuration) {
@@ -769,27 +446,6 @@ var ClaimStatusesApiFp = function (configuration) {
769
446
  });
770
447
  });
771
448
  },
772
- /**
773
- * This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
774
- * @summary Create the claim status
775
- * @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
776
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
777
- * @param {*} [options] Override http request option.
778
- * @throws {RequiredError}
779
- */
780
- createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
781
- return __awaiter(this, void 0, void 0, function () {
782
- var localVarAxiosArgs;
783
- return __generator(this, function (_a) {
784
- switch (_a.label) {
785
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimStatus1(createClaimStatusRequestDto, authorization, options)];
786
- case 1:
787
- localVarAxiosArgs = _a.sent();
788
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
789
- }
790
- });
791
- });
792
- },
793
449
  /**
794
450
  * Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
795
451
  * @summary Delete the claim status
@@ -811,27 +467,6 @@ var ClaimStatusesApiFp = function (configuration) {
811
467
  });
812
468
  });
813
469
  },
814
- /**
815
- * Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
816
- * @summary Delete the claim status
817
- * @param {number} id
818
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
819
- * @param {*} [options] Override http request option.
820
- * @throws {RequiredError}
821
- */
822
- deleteClaimStatus1: function (id, authorization, options) {
823
- return __awaiter(this, void 0, void 0, function () {
824
- var localVarAxiosArgs;
825
- return __generator(this, function (_a) {
826
- switch (_a.label) {
827
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimStatus1(id, authorization, options)];
828
- case 1:
829
- localVarAxiosArgs = _a.sent();
830
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
831
- }
832
- });
833
- });
834
- },
835
470
  /**
836
471
  * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
837
472
  * @summary Retrieve the claim status
@@ -853,27 +488,6 @@ var ClaimStatusesApiFp = function (configuration) {
853
488
  });
854
489
  });
855
490
  },
856
- /**
857
- * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
858
- * @summary Retrieve the claim status
859
- * @param {number} id
860
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
861
- * @param {*} [options] Override http request option.
862
- * @throws {RequiredError}
863
- */
864
- getClaimStatus1: function (id, authorization, options) {
865
- return __awaiter(this, void 0, void 0, function () {
866
- var localVarAxiosArgs;
867
- return __generator(this, function (_a) {
868
- switch (_a.label) {
869
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimStatus1(id, authorization, options)];
870
- case 1:
871
- localVarAxiosArgs = _a.sent();
872
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
873
- }
874
- });
875
- });
876
- },
877
491
  /**
878
492
  * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
879
493
  * @summary List claim statuses
@@ -901,33 +515,6 @@ var ClaimStatusesApiFp = function (configuration) {
901
515
  });
902
516
  });
903
517
  },
904
- /**
905
- * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
906
- * @summary List claim statuses
907
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
908
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
909
- * @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.
910
- * @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: id, name, productSlug</i>
911
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
912
- * @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</i>
913
- * @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/>
914
- * @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: id, name, productSlug</i>
915
- * @param {*} [options] Override http request option.
916
- * @throws {RequiredError}
917
- */
918
- listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
919
- return __awaiter(this, void 0, void 0, function () {
920
- var localVarAxiosArgs;
921
- return __generator(this, function (_a) {
922
- switch (_a.label) {
923
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
924
- case 1:
925
- localVarAxiosArgs = _a.sent();
926
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
927
- }
928
- });
929
- });
930
- },
931
518
  /**
932
519
  * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
933
520
  * @summary Patch claim status
@@ -950,28 +537,6 @@ var ClaimStatusesApiFp = function (configuration) {
950
537
  });
951
538
  });
952
539
  },
953
- /**
954
- * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
955
- * @summary Patch claim status
956
- * @param {number} id
957
- * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
958
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
959
- * @param {*} [options] Override http request option.
960
- * @throws {RequiredError}
961
- */
962
- patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
963
- return __awaiter(this, void 0, void 0, function () {
964
- var localVarAxiosArgs;
965
- return __generator(this, function (_a) {
966
- switch (_a.label) {
967
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options)];
968
- case 1:
969
- localVarAxiosArgs = _a.sent();
970
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
971
- }
972
- });
973
- });
974
- },
975
540
  /**
976
541
  * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
977
542
  * @summary Update the claim status
@@ -994,28 +559,6 @@ var ClaimStatusesApiFp = function (configuration) {
994
559
  });
995
560
  });
996
561
  },
997
- /**
998
- * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
999
- * @summary Update the claim status
1000
- * @param {number} id
1001
- * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
1002
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1003
- * @param {*} [options] Override http request option.
1004
- * @throws {RequiredError}
1005
- */
1006
- updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
1007
- return __awaiter(this, void 0, void 0, function () {
1008
- var localVarAxiosArgs;
1009
- return __generator(this, function (_a) {
1010
- switch (_a.label) {
1011
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options)];
1012
- case 1:
1013
- localVarAxiosArgs = _a.sent();
1014
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1015
- }
1016
- });
1017
- });
1018
- },
1019
562
  };
1020
563
  };
1021
564
  exports.ClaimStatusesApiFp = ClaimStatusesApiFp;
@@ -1037,17 +580,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1037
580
  createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
1038
581
  return localVarFp.createClaimStatus(createClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1039
582
  },
1040
- /**
1041
- * This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
1042
- * @summary Create the claim status
1043
- * @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
1044
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1045
- * @param {*} [options] Override http request option.
1046
- * @throws {RequiredError}
1047
- */
1048
- createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
1049
- return localVarFp.createClaimStatus1(createClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1050
- },
1051
583
  /**
1052
584
  * Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
1053
585
  * @summary Delete the claim status
@@ -1059,17 +591,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1059
591
  deleteClaimStatus: function (id, authorization, options) {
1060
592
  return localVarFp.deleteClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
1061
593
  },
1062
- /**
1063
- * Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
1064
- * @summary Delete the claim status
1065
- * @param {number} id
1066
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1067
- * @param {*} [options] Override http request option.
1068
- * @throws {RequiredError}
1069
- */
1070
- deleteClaimStatus1: function (id, authorization, options) {
1071
- return localVarFp.deleteClaimStatus1(id, authorization, options).then(function (request) { return request(axios, basePath); });
1072
- },
1073
594
  /**
1074
595
  * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
1075
596
  * @summary Retrieve the claim status
@@ -1081,17 +602,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1081
602
  getClaimStatus: function (id, authorization, options) {
1082
603
  return localVarFp.getClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
1083
604
  },
1084
- /**
1085
- * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
1086
- * @summary Retrieve the claim status
1087
- * @param {number} id
1088
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1089
- * @param {*} [options] Override http request option.
1090
- * @throws {RequiredError}
1091
- */
1092
- getClaimStatus1: function (id, authorization, options) {
1093
- return localVarFp.getClaimStatus1(id, authorization, options).then(function (request) { return request(axios, basePath); });
1094
- },
1095
605
  /**
1096
606
  * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
1097
607
  * @summary List claim statuses
@@ -1109,23 +619,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1109
619
  listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1110
620
  return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1111
621
  },
1112
- /**
1113
- * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
1114
- * @summary List claim statuses
1115
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1116
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1117
- * @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.
1118
- * @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: id, name, productSlug</i>
1119
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
1120
- * @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</i>
1121
- * @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/>
1122
- * @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: id, name, productSlug</i>
1123
- * @param {*} [options] Override http request option.
1124
- * @throws {RequiredError}
1125
- */
1126
- listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1127
- return localVarFp.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1128
- },
1129
622
  /**
1130
623
  * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1131
624
  * @summary Patch claim status
@@ -1138,18 +631,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1138
631
  patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
1139
632
  return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1140
633
  },
1141
- /**
1142
- * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1143
- * @summary Patch claim status
1144
- * @param {number} id
1145
- * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
1146
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1147
- * @param {*} [options] Override http request option.
1148
- * @throws {RequiredError}
1149
- */
1150
- patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
1151
- return localVarFp.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1152
- },
1153
634
  /**
1154
635
  * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1155
636
  * @summary Update the claim status
@@ -1162,18 +643,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1162
643
  updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
1163
644
  return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1164
645
  },
1165
- /**
1166
- * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1167
- * @summary Update the claim status
1168
- * @param {number} id
1169
- * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
1170
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1171
- * @param {*} [options] Override http request option.
1172
- * @throws {RequiredError}
1173
- */
1174
- updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
1175
- return localVarFp.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1176
- },
1177
646
  };
1178
647
  };
1179
648
  exports.ClaimStatusesApiFactory = ClaimStatusesApiFactory;
@@ -1200,18 +669,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1200
669
  var _this = this;
1201
670
  return (0, exports.ClaimStatusesApiFp)(this.configuration).createClaimStatus(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1202
671
  };
1203
- /**
1204
- * This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
1205
- * @summary Create the claim status
1206
- * @param {ClaimStatusesApiCreateClaimStatus1Request} requestParameters Request parameters.
1207
- * @param {*} [options] Override http request option.
1208
- * @throws {RequiredError}
1209
- * @memberof ClaimStatusesApi
1210
- */
1211
- ClaimStatusesApi.prototype.createClaimStatus1 = function (requestParameters, options) {
1212
- var _this = this;
1213
- return (0, exports.ClaimStatusesApiFp)(this.configuration).createClaimStatus1(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1214
- };
1215
672
  /**
1216
673
  * Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
1217
674
  * @summary Delete the claim status
@@ -1224,18 +681,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1224
681
  var _this = this;
1225
682
  return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1226
683
  };
1227
- /**
1228
- * Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
1229
- * @summary Delete the claim status
1230
- * @param {ClaimStatusesApiDeleteClaimStatus1Request} requestParameters Request parameters.
1231
- * @param {*} [options] Override http request option.
1232
- * @throws {RequiredError}
1233
- * @memberof ClaimStatusesApi
1234
- */
1235
- ClaimStatusesApi.prototype.deleteClaimStatus1 = function (requestParameters, options) {
1236
- var _this = this;
1237
- return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1238
- };
1239
684
  /**
1240
685
  * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
1241
686
  * @summary Retrieve the claim status
@@ -1248,18 +693,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1248
693
  var _this = this;
1249
694
  return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1250
695
  };
1251
- /**
1252
- * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
1253
- * @summary Retrieve the claim status
1254
- * @param {ClaimStatusesApiGetClaimStatus1Request} requestParameters Request parameters.
1255
- * @param {*} [options] Override http request option.
1256
- * @throws {RequiredError}
1257
- * @memberof ClaimStatusesApi
1258
- */
1259
- ClaimStatusesApi.prototype.getClaimStatus1 = function (requestParameters, options) {
1260
- var _this = this;
1261
- return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1262
- };
1263
696
  /**
1264
697
  * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
1265
698
  * @summary List claim statuses
@@ -1273,19 +706,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1273
706
  if (requestParameters === void 0) { requestParameters = {}; }
1274
707
  return (0, exports.ClaimStatusesApiFp)(this.configuration).listClaimStatuses(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); });
1275
708
  };
1276
- /**
1277
- * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
1278
- * @summary List claim statuses
1279
- * @param {ClaimStatusesApiListClaimStatuses1Request} requestParameters Request parameters.
1280
- * @param {*} [options] Override http request option.
1281
- * @throws {RequiredError}
1282
- * @memberof ClaimStatusesApi
1283
- */
1284
- ClaimStatusesApi.prototype.listClaimStatuses1 = function (requestParameters, options) {
1285
- var _this = this;
1286
- if (requestParameters === void 0) { requestParameters = {}; }
1287
- return (0, exports.ClaimStatusesApiFp)(this.configuration).listClaimStatuses1(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); });
1288
- };
1289
709
  /**
1290
710
  * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1291
711
  * @summary Patch claim status
@@ -1298,18 +718,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1298
718
  var _this = this;
1299
719
  return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1300
720
  };
1301
- /**
1302
- * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1303
- * @summary Patch claim status
1304
- * @param {ClaimStatusesApiPatchClaimStatus1Request} requestParameters Request parameters.
1305
- * @param {*} [options] Override http request option.
1306
- * @throws {RequiredError}
1307
- * @memberof ClaimStatusesApi
1308
- */
1309
- ClaimStatusesApi.prototype.patchClaimStatus1 = function (requestParameters, options) {
1310
- var _this = this;
1311
- return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus1(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1312
- };
1313
721
  /**
1314
722
  * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1315
723
  * @summary Update the claim status
@@ -1322,18 +730,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1322
730
  var _this = this;
1323
731
  return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1324
732
  };
1325
- /**
1326
- * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1327
- * @summary Update the claim status
1328
- * @param {ClaimStatusesApiUpdateClaimStatus1Request} requestParameters Request parameters.
1329
- * @param {*} [options] Override http request option.
1330
- * @throws {RequiredError}
1331
- * @memberof ClaimStatusesApi
1332
- */
1333
- ClaimStatusesApi.prototype.updateClaimStatus1 = function (requestParameters, options) {
1334
- var _this = this;
1335
- return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus1(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1336
- };
1337
733
  return ClaimStatusesApi;
1338
734
  }(base_1.BaseAPI));
1339
735
  exports.ClaimStatusesApi = ClaimStatusesApi;