@emilgroup/claim-sdk 1.40.1-beta.8 → 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 +0 -627
  4. package/api/claim-partners-api.ts +0 -520
  5. package/api/claim-regulations-api.ts +5 -646
  6. package/api/claim-statuses-api.ts +6 -753
  7. package/api/claims-api.ts +6 -858
  8. package/api/health-check-api.ts +0 -66
  9. package/api/settlements-api.ts +0 -627
  10. package/api.ts +0 -2
  11. package/dist/api/claim-partner-roles-api.d.ts +0 -358
  12. package/dist/api/claim-partner-roles-api.js +0 -525
  13. package/dist/api/claim-partners-api.d.ts +0 -299
  14. package/dist/api/claim-partners-api.js +0 -428
  15. package/dist/api/claim-regulations-api.d.ts +0 -367
  16. package/dist/api/claim-regulations-api.js +0 -531
  17. package/dist/api/claim-statuses-api.d.ts +0 -426
  18. package/dist/api/claim-statuses-api.js +14 -642
  19. package/dist/api/claims-api.d.ts +0 -485
  20. package/dist/api/claims-api.js +1 -725
  21. package/dist/api/health-check-api.d.ts +0 -33
  22. package/dist/api/health-check-api.js +0 -73
  23. package/dist/api/settlements-api.d.ts +0 -358
  24. package/dist/api/settlements-api.js +0 -525
  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 -1336
  44. package/dist/api/claim-positions-api.d.ts +0 -760
  45. package/dist/api/claim-positions-api.js +0 -1177
  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
@@ -109,56 +109,6 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
109
109
  case 0:
110
110
  // verify required parameter 'createClaimStatusRequestDto' is not null or undefined
111
111
  (0, common_1.assertParamExists)('createClaimStatus', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
112
- localVarPath = "/claimservice/v1/claim-statuses";
113
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
- if (configuration) {
115
- baseOptions = configuration.baseOptions;
116
- baseAccessToken = configuration.accessToken;
117
- }
118
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
119
- localVarHeaderParameter = {};
120
- localVarQueryParameter = {};
121
- // authentication bearer required
122
- // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
- case 1:
125
- // authentication bearer required
126
- // http bearer authentication required
127
- _a.sent();
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
130
- }
131
- localVarHeaderParameter['Content-Type'] = 'application/json';
132
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimStatusRequestDto, localVarRequestOptions, configuration);
136
- return [2 /*return*/, {
137
- url: (0, common_1.toPathString)(localVarUrlObj),
138
- options: localVarRequestOptions,
139
- }];
140
- }
141
- });
142
- });
143
- },
144
- /**
145
- * This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
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
- * @deprecated
151
- * @throws {RequiredError}
152
- */
153
- createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
154
- if (options === void 0) { options = {}; }
155
- return __awaiter(_this, void 0, void 0, function () {
156
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
157
- return __generator(this, function (_a) {
158
- switch (_a.label) {
159
- case 0:
160
- // verify required parameter 'createClaimStatusRequestDto' is not null or undefined
161
- (0, common_1.assertParamExists)('createClaimStatus1', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
162
112
  localVarPath = "/v1/claim-statuses";
163
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
164
114
  if (configuration) {
@@ -208,55 +158,6 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
208
158
  case 0:
209
159
  // verify required parameter 'id' is not null or undefined
210
160
  (0, common_1.assertParamExists)('deleteClaimStatus', 'id', id);
211
- localVarPath = "/claimservice/v1/claim-statuses/{id}"
212
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
213
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
214
- if (configuration) {
215
- baseOptions = configuration.baseOptions;
216
- baseAccessToken = configuration.accessToken;
217
- }
218
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
219
- localVarHeaderParameter = {};
220
- localVarQueryParameter = {};
221
- // authentication bearer required
222
- // http bearer authentication required
223
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
224
- case 1:
225
- // authentication bearer required
226
- // http bearer authentication required
227
- _a.sent();
228
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
229
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
230
- }
231
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
232
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
233
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
234
- return [2 /*return*/, {
235
- url: (0, common_1.toPathString)(localVarUrlObj),
236
- options: localVarRequestOptions,
237
- }];
238
- }
239
- });
240
- });
241
- },
242
- /**
243
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
244
- * @summary Delete the claim status
245
- * @param {number} id
246
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
247
- * @param {*} [options] Override http request option.
248
- * @deprecated
249
- * @throws {RequiredError}
250
- */
251
- deleteClaimStatus1: function (id, authorization, options) {
252
- if (options === void 0) { options = {}; }
253
- return __awaiter(_this, void 0, void 0, function () {
254
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
255
- return __generator(this, function (_a) {
256
- switch (_a.label) {
257
- case 0:
258
- // verify required parameter 'id' is not null or undefined
259
- (0, common_1.assertParamExists)('deleteClaimStatus1', 'id', id);
260
161
  localVarPath = "/v1/claim-statuses/{id}"
261
162
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
262
163
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -305,55 +206,6 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
305
206
  case 0:
306
207
  // verify required parameter 'id' is not null or undefined
307
208
  (0, common_1.assertParamExists)('getClaimStatus', 'id', id);
308
- localVarPath = "/claimservice/v1/claim-statuses/{id}"
309
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
310
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
311
- if (configuration) {
312
- baseOptions = configuration.baseOptions;
313
- baseAccessToken = configuration.accessToken;
314
- }
315
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
316
- localVarHeaderParameter = {};
317
- localVarQueryParameter = {};
318
- // authentication bearer required
319
- // http bearer authentication required
320
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
321
- case 1:
322
- // authentication bearer required
323
- // http bearer authentication required
324
- _a.sent();
325
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
326
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
327
- }
328
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
329
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
330
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
331
- return [2 /*return*/, {
332
- url: (0, common_1.toPathString)(localVarUrlObj),
333
- options: localVarRequestOptions,
334
- }];
335
- }
336
- });
337
- });
338
- },
339
- /**
340
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
341
- * @summary Retrieve the claim status
342
- * @param {number} id
343
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
344
- * @param {*} [options] Override http request option.
345
- * @deprecated
346
- * @throws {RequiredError}
347
- */
348
- getClaimStatus1: function (id, authorization, options) {
349
- if (options === void 0) { options = {}; }
350
- return __awaiter(_this, void 0, void 0, function () {
351
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
352
- return __generator(this, function (_a) {
353
- switch (_a.label) {
354
- case 0:
355
- // verify required parameter 'id' is not null or undefined
356
- (0, common_1.assertParamExists)('getClaimStatus1', 'id', id);
357
209
  localVarPath = "/v1/claim-statuses/{id}"
358
210
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
359
211
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -400,79 +252,6 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
400
252
  * @throws {RequiredError}
401
253
  */
402
254
  listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
403
- if (options === void 0) { options = {}; }
404
- return __awaiter(_this, void 0, void 0, function () {
405
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
406
- return __generator(this, function (_a) {
407
- switch (_a.label) {
408
- case 0:
409
- localVarPath = "/claimservice/v1/claim-statuses";
410
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
411
- if (configuration) {
412
- baseOptions = configuration.baseOptions;
413
- baseAccessToken = configuration.accessToken;
414
- }
415
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
416
- localVarHeaderParameter = {};
417
- localVarQueryParameter = {};
418
- // authentication bearer required
419
- // http bearer authentication required
420
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
421
- case 1:
422
- // authentication bearer required
423
- // http bearer authentication required
424
- _a.sent();
425
- if (pageSize !== undefined) {
426
- localVarQueryParameter['pageSize'] = pageSize;
427
- }
428
- if (pageToken !== undefined) {
429
- localVarQueryParameter['pageToken'] = pageToken;
430
- }
431
- if (filter !== undefined) {
432
- localVarQueryParameter['filter'] = filter;
433
- }
434
- if (search !== undefined) {
435
- localVarQueryParameter['search'] = search;
436
- }
437
- if (order !== undefined) {
438
- localVarQueryParameter['order'] = order;
439
- }
440
- if (expand !== undefined) {
441
- localVarQueryParameter['expand'] = expand;
442
- }
443
- if (filters !== undefined) {
444
- localVarQueryParameter['filters'] = filters;
445
- }
446
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
447
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
448
- }
449
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
450
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
451
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
452
- return [2 /*return*/, {
453
- url: (0, common_1.toPathString)(localVarUrlObj),
454
- options: localVarRequestOptions,
455
- }];
456
- }
457
- });
458
- });
459
- },
460
- /**
461
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
462
- * @summary List claim statuses
463
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
464
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
465
- * @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.
466
- * @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>
467
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
468
- * @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>
469
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
470
- * @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>
471
- * @param {*} [options] Override http request option.
472
- * @deprecated
473
- * @throws {RequiredError}
474
- */
475
- listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
476
255
  if (options === void 0) { options = {}; }
477
256
  return __awaiter(_this, void 0, void 0, function () {
478
257
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -531,122 +310,15 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
531
310
  });
532
311
  },
533
312
  /**
534
- * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
535
- * @summary Patch claim status
536
- * @param {number} id
537
- * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
538
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
539
- * @param {*} [options] Override http request option.
540
- * @throws {RequiredError}
541
- */
542
- patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
543
- if (options === void 0) { options = {}; }
544
- return __awaiter(_this, void 0, void 0, function () {
545
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
546
- return __generator(this, function (_a) {
547
- switch (_a.label) {
548
- case 0:
549
- // verify required parameter 'id' is not null or undefined
550
- (0, common_1.assertParamExists)('patchClaimStatus', 'id', id);
551
- // verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
552
- (0, common_1.assertParamExists)('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
553
- localVarPath = "/claimservice/v1/claim-statuses/{id}"
554
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
555
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
556
- if (configuration) {
557
- baseOptions = configuration.baseOptions;
558
- baseAccessToken = configuration.accessToken;
559
- }
560
- localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
561
- localVarHeaderParameter = {};
562
- localVarQueryParameter = {};
563
- // authentication bearer required
564
- // http bearer authentication required
565
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
566
- case 1:
567
- // authentication bearer required
568
- // http bearer authentication required
569
- _a.sent();
570
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
571
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
572
- }
573
- localVarHeaderParameter['Content-Type'] = 'application/json';
574
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
575
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
576
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
577
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
578
- return [2 /*return*/, {
579
- url: (0, common_1.toPathString)(localVarUrlObj),
580
- options: localVarRequestOptions,
581
- }];
582
- }
583
- });
584
- });
585
- },
586
- /**
587
- * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
588
- * @summary Patch claim status
589
- * @param {number} id
590
- * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
591
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
592
- * @param {*} [options] Override http request option.
593
- * @deprecated
594
- * @throws {RequiredError}
595
- */
596
- patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
597
- if (options === void 0) { options = {}; }
598
- return __awaiter(_this, void 0, void 0, function () {
599
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
600
- return __generator(this, function (_a) {
601
- switch (_a.label) {
602
- case 0:
603
- // verify required parameter 'id' is not null or undefined
604
- (0, common_1.assertParamExists)('patchClaimStatus1', 'id', id);
605
- // verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
606
- (0, common_1.assertParamExists)('patchClaimStatus1', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
607
- localVarPath = "/v1/claim-statuses/{id}"
608
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
609
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
610
- if (configuration) {
611
- baseOptions = configuration.baseOptions;
612
- baseAccessToken = configuration.accessToken;
613
- }
614
- localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
615
- localVarHeaderParameter = {};
616
- localVarQueryParameter = {};
617
- // authentication bearer required
618
- // http bearer authentication required
619
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
620
- case 1:
621
- // authentication bearer required
622
- // http bearer authentication required
623
- _a.sent();
624
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
625
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
626
- }
627
- localVarHeaderParameter['Content-Type'] = 'application/json';
628
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
629
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
630
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
631
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
632
- return [2 /*return*/, {
633
- url: (0, common_1.toPathString)(localVarUrlObj),
634
- options: localVarRequestOptions,
635
- }];
636
- }
637
- });
638
- });
639
- },
640
- /**
641
- * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
642
- * @summary Update the claim status
313
+ * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
314
+ * @summary Patch claim status
643
315
  * @param {number} id
644
- * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
316
+ * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
645
317
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
646
318
  * @param {*} [options] Override http request option.
647
319
  * @throws {RequiredError}
648
320
  */
649
- updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
321
+ patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
650
322
  if (options === void 0) { options = {}; }
651
323
  return __awaiter(_this, void 0, void 0, function () {
652
324
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -654,17 +326,17 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
654
326
  switch (_a.label) {
655
327
  case 0:
656
328
  // verify required parameter 'id' is not null or undefined
657
- (0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
658
- // verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
659
- (0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
660
- localVarPath = "/claimservice/v1/claim-statuses/{id}"
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);
332
+ localVarPath = "/v1/claim-statuses/{id}"
661
333
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
662
334
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
663
335
  if (configuration) {
664
336
  baseOptions = configuration.baseOptions;
665
337
  baseAccessToken = configuration.accessToken;
666
338
  }
667
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
339
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
668
340
  localVarHeaderParameter = {};
669
341
  localVarQueryParameter = {};
670
342
  // authentication bearer required
@@ -681,7 +353,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
681
353
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
682
354
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
683
355
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
684
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimStatusRequestDto, localVarRequestOptions, configuration);
356
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
685
357
  return [2 /*return*/, {
686
358
  url: (0, common_1.toPathString)(localVarUrlObj),
687
359
  options: localVarRequestOptions,
@@ -691,16 +363,15 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
691
363
  });
692
364
  },
693
365
  /**
694
- * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
366
+ * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
695
367
  * @summary Update the claim status
696
368
  * @param {number} id
697
369
  * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
698
370
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
699
371
  * @param {*} [options] Override http request option.
700
- * @deprecated
701
372
  * @throws {RequiredError}
702
373
  */
703
- updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
374
+ updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
704
375
  if (options === void 0) { options = {}; }
705
376
  return __awaiter(_this, void 0, void 0, function () {
706
377
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -708,9 +379,9 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
708
379
  switch (_a.label) {
709
380
  case 0:
710
381
  // verify required parameter 'id' is not null or undefined
711
- (0, common_1.assertParamExists)('updateClaimStatus1', 'id', id);
382
+ (0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
712
383
  // verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
713
- (0, common_1.assertParamExists)('updateClaimStatus1', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
384
+ (0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
714
385
  localVarPath = "/v1/claim-statuses/{id}"
715
386
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
716
387
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -775,28 +446,6 @@ var ClaimStatusesApiFp = function (configuration) {
775
446
  });
776
447
  });
777
448
  },
778
- /**
779
- * This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
780
- * @summary Create the claim status
781
- * @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
782
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
783
- * @param {*} [options] Override http request option.
784
- * @deprecated
785
- * @throws {RequiredError}
786
- */
787
- createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
788
- return __awaiter(this, void 0, void 0, function () {
789
- var localVarAxiosArgs;
790
- return __generator(this, function (_a) {
791
- switch (_a.label) {
792
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimStatus1(createClaimStatusRequestDto, authorization, options)];
793
- case 1:
794
- localVarAxiosArgs = _a.sent();
795
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
796
- }
797
- });
798
- });
799
- },
800
449
  /**
801
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\"
802
451
  * @summary Delete the claim status
@@ -818,28 +467,6 @@ var ClaimStatusesApiFp = function (configuration) {
818
467
  });
819
468
  });
820
469
  },
821
- /**
822
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
823
- * @summary Delete the claim status
824
- * @param {number} id
825
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
826
- * @param {*} [options] Override http request option.
827
- * @deprecated
828
- * @throws {RequiredError}
829
- */
830
- deleteClaimStatus1: function (id, authorization, options) {
831
- return __awaiter(this, void 0, void 0, function () {
832
- var localVarAxiosArgs;
833
- return __generator(this, function (_a) {
834
- switch (_a.label) {
835
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimStatus1(id, authorization, options)];
836
- case 1:
837
- localVarAxiosArgs = _a.sent();
838
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
839
- }
840
- });
841
- });
842
- },
843
470
  /**
844
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\"
845
472
  * @summary Retrieve the claim status
@@ -861,28 +488,6 @@ var ClaimStatusesApiFp = function (configuration) {
861
488
  });
862
489
  });
863
490
  },
864
- /**
865
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
866
- * @summary Retrieve the claim status
867
- * @param {number} id
868
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
869
- * @param {*} [options] Override http request option.
870
- * @deprecated
871
- * @throws {RequiredError}
872
- */
873
- getClaimStatus1: function (id, authorization, options) {
874
- return __awaiter(this, void 0, void 0, function () {
875
- var localVarAxiosArgs;
876
- return __generator(this, function (_a) {
877
- switch (_a.label) {
878
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimStatus1(id, authorization, options)];
879
- case 1:
880
- localVarAxiosArgs = _a.sent();
881
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
882
- }
883
- });
884
- });
885
- },
886
491
  /**
887
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\"
888
493
  * @summary List claim statuses
@@ -910,34 +515,6 @@ var ClaimStatusesApiFp = function (configuration) {
910
515
  });
911
516
  });
912
517
  },
913
- /**
914
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
915
- * @summary List claim statuses
916
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
917
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
918
- * @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.
919
- * @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>
920
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
921
- * @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>
922
- * @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/>
923
- * @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>
924
- * @param {*} [options] Override http request option.
925
- * @deprecated
926
- * @throws {RequiredError}
927
- */
928
- listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
929
- return __awaiter(this, void 0, void 0, function () {
930
- var localVarAxiosArgs;
931
- return __generator(this, function (_a) {
932
- switch (_a.label) {
933
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
934
- case 1:
935
- localVarAxiosArgs = _a.sent();
936
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
937
- }
938
- });
939
- });
940
- },
941
518
  /**
942
519
  * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
943
520
  * @summary Patch claim status
@@ -960,29 +537,6 @@ var ClaimStatusesApiFp = function (configuration) {
960
537
  });
961
538
  });
962
539
  },
963
- /**
964
- * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
965
- * @summary Patch claim status
966
- * @param {number} id
967
- * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
968
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
969
- * @param {*} [options] Override http request option.
970
- * @deprecated
971
- * @throws {RequiredError}
972
- */
973
- patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
974
- return __awaiter(this, void 0, void 0, function () {
975
- var localVarAxiosArgs;
976
- return __generator(this, function (_a) {
977
- switch (_a.label) {
978
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options)];
979
- case 1:
980
- localVarAxiosArgs = _a.sent();
981
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
982
- }
983
- });
984
- });
985
- },
986
540
  /**
987
541
  * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
988
542
  * @summary Update the claim status
@@ -1005,29 +559,6 @@ var ClaimStatusesApiFp = function (configuration) {
1005
559
  });
1006
560
  });
1007
561
  },
1008
- /**
1009
- * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1010
- * @summary Update the claim status
1011
- * @param {number} id
1012
- * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
1013
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1014
- * @param {*} [options] Override http request option.
1015
- * @deprecated
1016
- * @throws {RequiredError}
1017
- */
1018
- updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
1019
- return __awaiter(this, void 0, void 0, function () {
1020
- var localVarAxiosArgs;
1021
- return __generator(this, function (_a) {
1022
- switch (_a.label) {
1023
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options)];
1024
- case 1:
1025
- localVarAxiosArgs = _a.sent();
1026
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1027
- }
1028
- });
1029
- });
1030
- },
1031
562
  };
1032
563
  };
1033
564
  exports.ClaimStatusesApiFp = ClaimStatusesApiFp;
@@ -1049,18 +580,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1049
580
  createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
1050
581
  return localVarFp.createClaimStatus(createClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1051
582
  },
1052
- /**
1053
- * This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1054
- * @summary Create the claim status
1055
- * @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
1056
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1057
- * @param {*} [options] Override http request option.
1058
- * @deprecated
1059
- * @throws {RequiredError}
1060
- */
1061
- createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
1062
- return localVarFp.createClaimStatus1(createClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1063
- },
1064
583
  /**
1065
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\"
1066
585
  * @summary Delete the claim status
@@ -1072,18 +591,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1072
591
  deleteClaimStatus: function (id, authorization, options) {
1073
592
  return localVarFp.deleteClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
1074
593
  },
1075
- /**
1076
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1077
- * @summary Delete the claim status
1078
- * @param {number} id
1079
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1080
- * @param {*} [options] Override http request option.
1081
- * @deprecated
1082
- * @throws {RequiredError}
1083
- */
1084
- deleteClaimStatus1: function (id, authorization, options) {
1085
- return localVarFp.deleteClaimStatus1(id, authorization, options).then(function (request) { return request(axios, basePath); });
1086
- },
1087
594
  /**
1088
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\"
1089
596
  * @summary Retrieve the claim status
@@ -1095,18 +602,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1095
602
  getClaimStatus: function (id, authorization, options) {
1096
603
  return localVarFp.getClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
1097
604
  },
1098
- /**
1099
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1100
- * @summary Retrieve the claim status
1101
- * @param {number} id
1102
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1103
- * @param {*} [options] Override http request option.
1104
- * @deprecated
1105
- * @throws {RequiredError}
1106
- */
1107
- getClaimStatus1: function (id, authorization, options) {
1108
- return localVarFp.getClaimStatus1(id, authorization, options).then(function (request) { return request(axios, basePath); });
1109
- },
1110
605
  /**
1111
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\"
1112
607
  * @summary List claim statuses
@@ -1124,24 +619,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1124
619
  listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1125
620
  return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1126
621
  },
1127
- /**
1128
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1129
- * @summary List claim statuses
1130
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1131
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1132
- * @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.
1133
- * @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>
1134
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
1135
- * @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>
1136
- * @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/>
1137
- * @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>
1138
- * @param {*} [options] Override http request option.
1139
- * @deprecated
1140
- * @throws {RequiredError}
1141
- */
1142
- listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1143
- return localVarFp.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1144
- },
1145
622
  /**
1146
623
  * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1147
624
  * @summary Patch claim status
@@ -1154,19 +631,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1154
631
  patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
1155
632
  return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1156
633
  },
1157
- /**
1158
- * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1159
- * @summary Patch claim status
1160
- * @param {number} id
1161
- * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
1162
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1163
- * @param {*} [options] Override http request option.
1164
- * @deprecated
1165
- * @throws {RequiredError}
1166
- */
1167
- patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
1168
- return localVarFp.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1169
- },
1170
634
  /**
1171
635
  * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1172
636
  * @summary Update the claim status
@@ -1179,19 +643,6 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
1179
643
  updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
1180
644
  return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1181
645
  },
1182
- /**
1183
- * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1184
- * @summary Update the claim status
1185
- * @param {number} id
1186
- * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
1187
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1188
- * @param {*} [options] Override http request option.
1189
- * @deprecated
1190
- * @throws {RequiredError}
1191
- */
1192
- updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
1193
- return localVarFp.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1194
- },
1195
646
  };
1196
647
  };
1197
648
  exports.ClaimStatusesApiFactory = ClaimStatusesApiFactory;
@@ -1218,19 +669,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1218
669
  var _this = this;
1219
670
  return (0, exports.ClaimStatusesApiFp)(this.configuration).createClaimStatus(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1220
671
  };
1221
- /**
1222
- * This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1223
- * @summary Create the claim status
1224
- * @param {ClaimStatusesApiCreateClaimStatus1Request} requestParameters Request parameters.
1225
- * @param {*} [options] Override http request option.
1226
- * @deprecated
1227
- * @throws {RequiredError}
1228
- * @memberof ClaimStatusesApi
1229
- */
1230
- ClaimStatusesApi.prototype.createClaimStatus1 = function (requestParameters, options) {
1231
- var _this = this;
1232
- return (0, exports.ClaimStatusesApiFp)(this.configuration).createClaimStatus1(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1233
- };
1234
672
  /**
1235
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\"
1236
674
  * @summary Delete the claim status
@@ -1243,19 +681,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1243
681
  var _this = this;
1244
682
  return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1245
683
  };
1246
- /**
1247
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1248
- * @summary Delete the claim status
1249
- * @param {ClaimStatusesApiDeleteClaimStatus1Request} requestParameters Request parameters.
1250
- * @param {*} [options] Override http request option.
1251
- * @deprecated
1252
- * @throws {RequiredError}
1253
- * @memberof ClaimStatusesApi
1254
- */
1255
- ClaimStatusesApi.prototype.deleteClaimStatus1 = function (requestParameters, options) {
1256
- var _this = this;
1257
- return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1258
- };
1259
684
  /**
1260
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\"
1261
686
  * @summary Retrieve the claim status
@@ -1268,19 +693,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1268
693
  var _this = this;
1269
694
  return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1270
695
  };
1271
- /**
1272
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1273
- * @summary Retrieve the claim status
1274
- * @param {ClaimStatusesApiGetClaimStatus1Request} requestParameters Request parameters.
1275
- * @param {*} [options] Override http request option.
1276
- * @deprecated
1277
- * @throws {RequiredError}
1278
- * @memberof ClaimStatusesApi
1279
- */
1280
- ClaimStatusesApi.prototype.getClaimStatus1 = function (requestParameters, options) {
1281
- var _this = this;
1282
- return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1283
- };
1284
696
  /**
1285
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\"
1286
698
  * @summary List claim statuses
@@ -1294,20 +706,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1294
706
  if (requestParameters === void 0) { requestParameters = {}; }
1295
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); });
1296
708
  };
1297
- /**
1298
- * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1299
- * @summary List claim statuses
1300
- * @param {ClaimStatusesApiListClaimStatuses1Request} requestParameters Request parameters.
1301
- * @param {*} [options] Override http request option.
1302
- * @deprecated
1303
- * @throws {RequiredError}
1304
- * @memberof ClaimStatusesApi
1305
- */
1306
- ClaimStatusesApi.prototype.listClaimStatuses1 = function (requestParameters, options) {
1307
- var _this = this;
1308
- if (requestParameters === void 0) { requestParameters = {}; }
1309
- 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); });
1310
- };
1311
709
  /**
1312
710
  * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1313
711
  * @summary Patch claim status
@@ -1320,19 +718,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1320
718
  var _this = this;
1321
719
  return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1322
720
  };
1323
- /**
1324
- * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1325
- * @summary Patch claim status
1326
- * @param {ClaimStatusesApiPatchClaimStatus1Request} requestParameters Request parameters.
1327
- * @param {*} [options] Override http request option.
1328
- * @deprecated
1329
- * @throws {RequiredError}
1330
- * @memberof ClaimStatusesApi
1331
- */
1332
- ClaimStatusesApi.prototype.patchClaimStatus1 = function (requestParameters, options) {
1333
- var _this = this;
1334
- return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus1(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1335
- };
1336
721
  /**
1337
722
  * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
1338
723
  * @summary Update the claim status
@@ -1345,19 +730,6 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
1345
730
  var _this = this;
1346
731
  return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1347
732
  };
1348
- /**
1349
- * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1350
- * @summary Update the claim status
1351
- * @param {ClaimStatusesApiUpdateClaimStatus1Request} requestParameters Request parameters.
1352
- * @param {*} [options] Override http request option.
1353
- * @deprecated
1354
- * @throws {RequiredError}
1355
- * @memberof ClaimStatusesApi
1356
- */
1357
- ClaimStatusesApi.prototype.updateClaimStatus1 = function (requestParameters, options) {
1358
- var _this = this;
1359
- return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus1(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1360
- };
1361
733
  return ClaimStatusesApi;
1362
734
  }(base_1.BaseAPI));
1363
735
  exports.ClaimStatusesApi = ClaimStatusesApi;