@emilgroup/claim-sdk-node 1.39.0 → 1.39.1-beta.1

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 (102) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/claim-limit-usages-api.ts +648 -0
  4. package/api/claim-partner-roles-api.ts +627 -0
  5. package/api/claim-partners-api.ts +520 -0
  6. package/api/claim-positions-api.ts +1340 -0
  7. package/api/claim-regulations-api.ts +644 -3
  8. package/api/claim-statuses-api.ts +752 -5
  9. package/api/claims-api.ts +863 -11
  10. package/api/health-check-api.ts +66 -0
  11. package/api/settlements-api.ts +627 -0
  12. package/api.ts +4 -0
  13. package/dist/api/claim-limit-usages-api.d.ts +378 -0
  14. package/dist/api/claim-limit-usages-api.js +585 -0
  15. package/dist/api/claim-partner-roles-api.d.ts +358 -0
  16. package/dist/api/claim-partner-roles-api.js +525 -0
  17. package/dist/api/claim-partners-api.d.ts +299 -0
  18. package/dist/api/claim-partners-api.js +428 -0
  19. package/dist/api/claim-positions-api.d.ts +760 -0
  20. package/dist/api/claim-positions-api.js +1181 -0
  21. package/dist/api/claim-regulations-api.d.ts +367 -0
  22. package/dist/api/claim-regulations-api.js +531 -0
  23. package/dist/api/claim-statuses-api.d.ts +426 -0
  24. package/dist/api/claim-statuses-api.js +642 -14
  25. package/dist/api/claims-api.d.ts +493 -8
  26. package/dist/api/claims-api.js +734 -10
  27. package/dist/api/health-check-api.d.ts +33 -0
  28. package/dist/api/health-check-api.js +73 -0
  29. package/dist/api/settlements-api.d.ts +358 -0
  30. package/dist/api/settlements-api.js +525 -0
  31. package/dist/api.d.ts +2 -0
  32. package/dist/api.js +2 -0
  33. package/dist/models/calculation-step-result-class.d.ts +72 -0
  34. package/dist/models/calculation-step-result-class.js +21 -0
  35. package/dist/models/claim-applied-deductible-class.d.ts +95 -0
  36. package/dist/models/claim-applied-deductible-class.js +20 -0
  37. package/dist/models/claim-class.d.ts +25 -0
  38. package/dist/models/claim-limit-usage-class.d.ts +143 -0
  39. package/dist/models/claim-limit-usage-class.js +30 -0
  40. package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
  41. package/dist/models/claim-limit-usage-result-class.js +21 -0
  42. package/dist/models/claim-position-class.d.ts +151 -0
  43. package/dist/models/claim-position-class.js +20 -0
  44. package/dist/models/create-claim-position-request-dto.d.ts +66 -0
  45. package/dist/models/create-claim-position-request-dto.js +15 -0
  46. package/dist/models/create-claim-position-response-class.d.ts +25 -0
  47. package/dist/models/create-claim-position-response-class.js +15 -0
  48. package/dist/models/create-claim-request-dto.d.ts +6 -0
  49. package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
  50. package/dist/models/create-regulation-item-request-dto.js +5 -1
  51. package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
  52. package/dist/models/get-claim-limit-usage-response-class.js +15 -0
  53. package/dist/models/get-claim-position-response-class.d.ts +25 -0
  54. package/dist/models/get-claim-position-response-class.js +15 -0
  55. package/dist/models/index.d.ts +13 -0
  56. package/dist/models/index.js +13 -0
  57. package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
  58. package/dist/models/list-claim-limit-usages-response-class.js +15 -0
  59. package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
  60. package/dist/models/list-claim-partners-response-class.d.ts +12 -0
  61. package/dist/models/list-claim-positions-response-class.d.ts +43 -0
  62. package/dist/models/list-claim-positions-response-class.js +15 -0
  63. package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
  64. package/dist/models/list-claims-response-class.d.ts +12 -0
  65. package/dist/models/list-regulations-response-class.d.ts +12 -0
  66. package/dist/models/patch-claim-request-dto.d.ts +39 -33
  67. package/dist/models/regulation-item-class.d.ts +35 -0
  68. package/dist/models/regulation-item-class.js +10 -1
  69. package/dist/models/update-claim-position-request-dto.d.ts +60 -0
  70. package/dist/models/update-claim-position-request-dto.js +15 -0
  71. package/dist/models/update-claim-position-response-class.d.ts +25 -0
  72. package/dist/models/update-claim-position-response-class.js +15 -0
  73. package/dist/models/update-claim-request-dto.d.ts +39 -33
  74. package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
  75. package/dist/models/update-regulation-item-request-dto.js +6 -1
  76. package/models/calculation-step-result-class.ts +81 -0
  77. package/models/claim-applied-deductible-class.ts +104 -0
  78. package/models/claim-class.ts +25 -0
  79. package/models/claim-limit-usage-class.ts +154 -0
  80. package/models/claim-limit-usage-result-class.ts +57 -0
  81. package/models/claim-position-class.ts +160 -0
  82. package/models/create-claim-position-request-dto.ts +72 -0
  83. package/models/create-claim-position-response-class.ts +31 -0
  84. package/models/create-claim-request-dto.ts +6 -0
  85. package/models/create-regulation-item-request-dto.ts +27 -3
  86. package/models/get-claim-limit-usage-response-class.ts +31 -0
  87. package/models/get-claim-position-response-class.ts +31 -0
  88. package/models/index.ts +13 -0
  89. package/models/list-claim-limit-usages-response-class.ts +49 -0
  90. package/models/list-claim-partner-roles-response-class.ts +12 -0
  91. package/models/list-claim-partners-response-class.ts +12 -0
  92. package/models/list-claim-positions-response-class.ts +49 -0
  93. package/models/list-claim-statuses-response-class.ts +13 -1
  94. package/models/list-claims-response-class.ts +12 -0
  95. package/models/list-regulations-response-class.ts +12 -0
  96. package/models/patch-claim-request-dto.ts +39 -33
  97. package/models/regulation-item-class.ts +37 -0
  98. package/models/update-claim-position-request-dto.ts +66 -0
  99. package/models/update-claim-position-response-class.ts +31 -0
  100. package/models/update-claim-request-dto.ts +39 -33
  101. package/models/update-regulation-item-request-dto.ts +13 -0
  102. package/package.json +1 -1
@@ -113,6 +113,56 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
113
113
  case 0:
114
114
  // verify required parameter 'createClaimStatusRequestDto' is not null or undefined
115
115
  (0, common_1.assertParamExists)('createClaimStatus', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
116
+ localVarPath = "/claimservice/v1/claim-statuses";
117
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ baseAccessToken = configuration.accessToken;
121
+ }
122
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
123
+ localVarHeaderParameter = {};
124
+ localVarQueryParameter = {};
125
+ // authentication bearer required
126
+ // http bearer authentication required
127
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
+ case 1:
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ _a.sent();
132
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
133
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
134
+ }
135
+ localVarHeaderParameter['Content-Type'] = 'application/json';
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimStatusRequestDto, localVarRequestOptions, configuration);
140
+ return [2 /*return*/, {
141
+ url: (0, common_1.toPathString)(localVarUrlObj),
142
+ options: localVarRequestOptions,
143
+ }];
144
+ }
145
+ });
146
+ });
147
+ },
148
+ /**
149
+ * 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.
150
+ * @summary Create the claim status
151
+ * @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
152
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
+ * @param {*} [options] Override http request option.
154
+ * @deprecated
155
+ * @throws {RequiredError}
156
+ */
157
+ createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
158
+ if (options === void 0) { options = {}; }
159
+ return __awaiter(_this, void 0, void 0, function () {
160
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
161
+ return __generator(this, function (_a) {
162
+ switch (_a.label) {
163
+ case 0:
164
+ // verify required parameter 'createClaimStatusRequestDto' is not null or undefined
165
+ (0, common_1.assertParamExists)('createClaimStatus1', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
116
166
  localVarPath = "/v1/claim-statuses";
117
167
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
168
  if (configuration) {
@@ -162,6 +212,55 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
162
212
  case 0:
163
213
  // verify required parameter 'id' is not null or undefined
164
214
  (0, common_1.assertParamExists)('deleteClaimStatus', 'id', id);
215
+ localVarPath = "/claimservice/v1/claim-statuses/{id}"
216
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
217
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
218
+ if (configuration) {
219
+ baseOptions = configuration.baseOptions;
220
+ baseAccessToken = configuration.accessToken;
221
+ }
222
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
223
+ localVarHeaderParameter = {};
224
+ localVarQueryParameter = {};
225
+ // authentication bearer required
226
+ // http bearer authentication required
227
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
228
+ case 1:
229
+ // authentication bearer required
230
+ // http bearer authentication required
231
+ _a.sent();
232
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
233
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
234
+ }
235
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
236
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
237
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
238
+ return [2 /*return*/, {
239
+ url: (0, common_1.toPathString)(localVarUrlObj),
240
+ options: localVarRequestOptions,
241
+ }];
242
+ }
243
+ });
244
+ });
245
+ },
246
+ /**
247
+ * 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.
248
+ * @summary Delete the claim status
249
+ * @param {number} id
250
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
251
+ * @param {*} [options] Override http request option.
252
+ * @deprecated
253
+ * @throws {RequiredError}
254
+ */
255
+ deleteClaimStatus1: function (id, authorization, options) {
256
+ if (options === void 0) { options = {}; }
257
+ return __awaiter(_this, void 0, void 0, function () {
258
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
259
+ return __generator(this, function (_a) {
260
+ switch (_a.label) {
261
+ case 0:
262
+ // verify required parameter 'id' is not null or undefined
263
+ (0, common_1.assertParamExists)('deleteClaimStatus1', 'id', id);
165
264
  localVarPath = "/v1/claim-statuses/{id}"
166
265
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
167
266
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -210,6 +309,55 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
210
309
  case 0:
211
310
  // verify required parameter 'id' is not null or undefined
212
311
  (0, common_1.assertParamExists)('getClaimStatus', 'id', id);
312
+ localVarPath = "/claimservice/v1/claim-statuses/{id}"
313
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
314
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
315
+ if (configuration) {
316
+ baseOptions = configuration.baseOptions;
317
+ baseAccessToken = configuration.accessToken;
318
+ }
319
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
320
+ localVarHeaderParameter = {};
321
+ localVarQueryParameter = {};
322
+ // authentication bearer required
323
+ // http bearer authentication required
324
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
325
+ case 1:
326
+ // authentication bearer required
327
+ // http bearer authentication required
328
+ _a.sent();
329
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
330
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
331
+ }
332
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
333
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
334
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
335
+ return [2 /*return*/, {
336
+ url: (0, common_1.toPathString)(localVarUrlObj),
337
+ options: localVarRequestOptions,
338
+ }];
339
+ }
340
+ });
341
+ });
342
+ },
343
+ /**
344
+ * 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.
345
+ * @summary Retrieve the claim status
346
+ * @param {number} id
347
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
348
+ * @param {*} [options] Override http request option.
349
+ * @deprecated
350
+ * @throws {RequiredError}
351
+ */
352
+ getClaimStatus1: function (id, authorization, options) {
353
+ if (options === void 0) { options = {}; }
354
+ return __awaiter(_this, void 0, void 0, function () {
355
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
356
+ return __generator(this, function (_a) {
357
+ switch (_a.label) {
358
+ case 0:
359
+ // verify required parameter 'id' is not null or undefined
360
+ (0, common_1.assertParamExists)('getClaimStatus1', 'id', id);
213
361
  localVarPath = "/v1/claim-statuses/{id}"
214
362
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
215
363
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -256,6 +404,79 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
256
404
  * @throws {RequiredError}
257
405
  */
258
406
  listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
407
+ if (options === void 0) { options = {}; }
408
+ return __awaiter(_this, void 0, void 0, function () {
409
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
410
+ return __generator(this, function (_a) {
411
+ switch (_a.label) {
412
+ case 0:
413
+ localVarPath = "/claimservice/v1/claim-statuses";
414
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
415
+ if (configuration) {
416
+ baseOptions = configuration.baseOptions;
417
+ baseAccessToken = configuration.accessToken;
418
+ }
419
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
420
+ localVarHeaderParameter = {};
421
+ localVarQueryParameter = {};
422
+ // authentication bearer required
423
+ // http bearer authentication required
424
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
425
+ case 1:
426
+ // authentication bearer required
427
+ // http bearer authentication required
428
+ _a.sent();
429
+ if (pageSize !== undefined) {
430
+ localVarQueryParameter['pageSize'] = pageSize;
431
+ }
432
+ if (pageToken !== undefined) {
433
+ localVarQueryParameter['pageToken'] = pageToken;
434
+ }
435
+ if (filter !== undefined) {
436
+ localVarQueryParameter['filter'] = filter;
437
+ }
438
+ if (search !== undefined) {
439
+ localVarQueryParameter['search'] = search;
440
+ }
441
+ if (order !== undefined) {
442
+ localVarQueryParameter['order'] = order;
443
+ }
444
+ if (expand !== undefined) {
445
+ localVarQueryParameter['expand'] = expand;
446
+ }
447
+ if (filters !== undefined) {
448
+ localVarQueryParameter['filters'] = filters;
449
+ }
450
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
451
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
452
+ }
453
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
454
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
455
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
456
+ return [2 /*return*/, {
457
+ url: (0, common_1.toPathString)(localVarUrlObj),
458
+ options: localVarRequestOptions,
459
+ }];
460
+ }
461
+ });
462
+ });
463
+ },
464
+ /**
465
+ * 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.
466
+ * @summary List claim statuses
467
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
468
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
469
+ * @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.
470
+ * @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>
471
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
472
+ * @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>
473
+ * @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/>
474
+ * @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>
475
+ * @param {*} [options] Override http request option.
476
+ * @deprecated
477
+ * @throws {RequiredError}
478
+ */
479
+ listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
259
480
  if (options === void 0) { options = {}; }
260
481
  return __awaiter(_this, void 0, void 0, function () {
261
482
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -314,15 +535,122 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
314
535
  });
315
536
  },
316
537
  /**
317
- * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
318
- * @summary Patch claim status
538
+ * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
539
+ * @summary Patch claim status
540
+ * @param {number} id
541
+ * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
542
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
543
+ * @param {*} [options] Override http request option.
544
+ * @throws {RequiredError}
545
+ */
546
+ patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
547
+ if (options === void 0) { options = {}; }
548
+ return __awaiter(_this, void 0, void 0, function () {
549
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
550
+ return __generator(this, function (_a) {
551
+ switch (_a.label) {
552
+ case 0:
553
+ // verify required parameter 'id' is not null or undefined
554
+ (0, common_1.assertParamExists)('patchClaimStatus', 'id', id);
555
+ // verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
556
+ (0, common_1.assertParamExists)('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
557
+ localVarPath = "/claimservice/v1/claim-statuses/{id}"
558
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
559
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
560
+ if (configuration) {
561
+ baseOptions = configuration.baseOptions;
562
+ baseAccessToken = configuration.accessToken;
563
+ }
564
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
565
+ localVarHeaderParameter = {};
566
+ localVarQueryParameter = {};
567
+ // authentication bearer required
568
+ // http bearer authentication required
569
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
570
+ case 1:
571
+ // authentication bearer required
572
+ // http bearer authentication required
573
+ _a.sent();
574
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
575
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
576
+ }
577
+ localVarHeaderParameter['Content-Type'] = 'application/json';
578
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
579
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
580
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
581
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
582
+ return [2 /*return*/, {
583
+ url: (0, common_1.toPathString)(localVarUrlObj),
584
+ options: localVarRequestOptions,
585
+ }];
586
+ }
587
+ });
588
+ });
589
+ },
590
+ /**
591
+ * 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.
592
+ * @summary Patch claim status
593
+ * @param {number} id
594
+ * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
595
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
596
+ * @param {*} [options] Override http request option.
597
+ * @deprecated
598
+ * @throws {RequiredError}
599
+ */
600
+ patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
601
+ if (options === void 0) { options = {}; }
602
+ return __awaiter(_this, void 0, void 0, function () {
603
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
604
+ return __generator(this, function (_a) {
605
+ switch (_a.label) {
606
+ case 0:
607
+ // verify required parameter 'id' is not null or undefined
608
+ (0, common_1.assertParamExists)('patchClaimStatus1', 'id', id);
609
+ // verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
610
+ (0, common_1.assertParamExists)('patchClaimStatus1', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
611
+ localVarPath = "/v1/claim-statuses/{id}"
612
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
613
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
614
+ if (configuration) {
615
+ baseOptions = configuration.baseOptions;
616
+ baseAccessToken = configuration.accessToken;
617
+ }
618
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
619
+ localVarHeaderParameter = {};
620
+ localVarQueryParameter = {};
621
+ // authentication bearer required
622
+ // http bearer authentication required
623
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
624
+ case 1:
625
+ // authentication bearer required
626
+ // http bearer authentication required
627
+ _a.sent();
628
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
629
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
630
+ }
631
+ localVarHeaderParameter['Content-Type'] = 'application/json';
632
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
633
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
634
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
635
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
636
+ return [2 /*return*/, {
637
+ url: (0, common_1.toPathString)(localVarUrlObj),
638
+ options: localVarRequestOptions,
639
+ }];
640
+ }
641
+ });
642
+ });
643
+ },
644
+ /**
645
+ * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
646
+ * @summary Update the claim status
319
647
  * @param {number} id
320
- * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
648
+ * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
321
649
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
322
650
  * @param {*} [options] Override http request option.
323
651
  * @throws {RequiredError}
324
652
  */
325
- patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
653
+ updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
326
654
  if (options === void 0) { options = {}; }
327
655
  return __awaiter(_this, void 0, void 0, function () {
328
656
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -330,17 +658,17 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
330
658
  switch (_a.label) {
331
659
  case 0:
332
660
  // verify required parameter 'id' is not null or undefined
333
- (0, common_1.assertParamExists)('patchClaimStatus', 'id', id);
334
- // verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
335
- (0, common_1.assertParamExists)('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
336
- localVarPath = "/v1/claim-statuses/{id}"
661
+ (0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
662
+ // verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
663
+ (0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
664
+ localVarPath = "/claimservice/v1/claim-statuses/{id}"
337
665
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
338
666
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
339
667
  if (configuration) {
340
668
  baseOptions = configuration.baseOptions;
341
669
  baseAccessToken = configuration.accessToken;
342
670
  }
343
- localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
671
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
344
672
  localVarHeaderParameter = {};
345
673
  localVarQueryParameter = {};
346
674
  // authentication bearer required
@@ -357,7 +685,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
357
685
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
358
686
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
359
687
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
360
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
688
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimStatusRequestDto, localVarRequestOptions, configuration);
361
689
  return [2 /*return*/, {
362
690
  url: (0, common_1.toPathString)(localVarUrlObj),
363
691
  options: localVarRequestOptions,
@@ -367,15 +695,16 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
367
695
  });
368
696
  },
369
697
  /**
370
- * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
698
+ * 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.
371
699
  * @summary Update the claim status
372
700
  * @param {number} id
373
701
  * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
374
702
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
375
703
  * @param {*} [options] Override http request option.
704
+ * @deprecated
376
705
  * @throws {RequiredError}
377
706
  */
378
- updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
707
+ updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
379
708
  if (options === void 0) { options = {}; }
380
709
  return __awaiter(_this, void 0, void 0, function () {
381
710
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -383,9 +712,9 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
383
712
  switch (_a.label) {
384
713
  case 0:
385
714
  // verify required parameter 'id' is not null or undefined
386
- (0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
715
+ (0, common_1.assertParamExists)('updateClaimStatus1', 'id', id);
387
716
  // verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
388
- (0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
717
+ (0, common_1.assertParamExists)('updateClaimStatus1', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
389
718
  localVarPath = "/v1/claim-statuses/{id}"
390
719
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
391
720
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -450,6 +779,28 @@ var ClaimStatusesApiFp = function (configuration) {
450
779
  });
451
780
  });
452
781
  },
782
+ /**
783
+ * 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.
784
+ * @summary Create the claim status
785
+ * @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
786
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
787
+ * @param {*} [options] Override http request option.
788
+ * @deprecated
789
+ * @throws {RequiredError}
790
+ */
791
+ createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
792
+ return __awaiter(this, void 0, void 0, function () {
793
+ var localVarAxiosArgs;
794
+ return __generator(this, function (_a) {
795
+ switch (_a.label) {
796
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimStatus1(createClaimStatusRequestDto, authorization, options)];
797
+ case 1:
798
+ localVarAxiosArgs = _a.sent();
799
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
800
+ }
801
+ });
802
+ });
803
+ },
453
804
  /**
454
805
  * 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\"
455
806
  * @summary Delete the claim status
@@ -471,6 +822,28 @@ var ClaimStatusesApiFp = function (configuration) {
471
822
  });
472
823
  });
473
824
  },
825
+ /**
826
+ * 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.
827
+ * @summary Delete the claim status
828
+ * @param {number} id
829
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
830
+ * @param {*} [options] Override http request option.
831
+ * @deprecated
832
+ * @throws {RequiredError}
833
+ */
834
+ deleteClaimStatus1: function (id, authorization, options) {
835
+ return __awaiter(this, void 0, void 0, function () {
836
+ var localVarAxiosArgs;
837
+ return __generator(this, function (_a) {
838
+ switch (_a.label) {
839
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimStatus1(id, authorization, options)];
840
+ case 1:
841
+ localVarAxiosArgs = _a.sent();
842
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
843
+ }
844
+ });
845
+ });
846
+ },
474
847
  /**
475
848
  * 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\"
476
849
  * @summary Retrieve the claim status
@@ -492,6 +865,28 @@ var ClaimStatusesApiFp = function (configuration) {
492
865
  });
493
866
  });
494
867
  },
868
+ /**
869
+ * 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.
870
+ * @summary Retrieve the claim status
871
+ * @param {number} id
872
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
873
+ * @param {*} [options] Override http request option.
874
+ * @deprecated
875
+ * @throws {RequiredError}
876
+ */
877
+ getClaimStatus1: function (id, authorization, options) {
878
+ return __awaiter(this, void 0, void 0, function () {
879
+ var localVarAxiosArgs;
880
+ return __generator(this, function (_a) {
881
+ switch (_a.label) {
882
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimStatus1(id, authorization, options)];
883
+ case 1:
884
+ localVarAxiosArgs = _a.sent();
885
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
886
+ }
887
+ });
888
+ });
889
+ },
495
890
  /**
496
891
  * 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\"
497
892
  * @summary List claim statuses
@@ -519,6 +914,34 @@ var ClaimStatusesApiFp = function (configuration) {
519
914
  });
520
915
  });
521
916
  },
917
+ /**
918
+ * 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.
919
+ * @summary List claim statuses
920
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
921
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
922
+ * @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.
923
+ * @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>
924
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
925
+ * @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>
926
+ * @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/>
927
+ * @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>
928
+ * @param {*} [options] Override http request option.
929
+ * @deprecated
930
+ * @throws {RequiredError}
931
+ */
932
+ listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
933
+ return __awaiter(this, void 0, void 0, function () {
934
+ var localVarAxiosArgs;
935
+ return __generator(this, function (_a) {
936
+ switch (_a.label) {
937
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
938
+ case 1:
939
+ localVarAxiosArgs = _a.sent();
940
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
941
+ }
942
+ });
943
+ });
944
+ },
522
945
  /**
523
946
  * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
524
947
  * @summary Patch claim status
@@ -541,6 +964,29 @@ var ClaimStatusesApiFp = function (configuration) {
541
964
  });
542
965
  });
543
966
  },
967
+ /**
968
+ * 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.
969
+ * @summary Patch claim status
970
+ * @param {number} id
971
+ * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
972
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
973
+ * @param {*} [options] Override http request option.
974
+ * @deprecated
975
+ * @throws {RequiredError}
976
+ */
977
+ patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
978
+ return __awaiter(this, void 0, void 0, function () {
979
+ var localVarAxiosArgs;
980
+ return __generator(this, function (_a) {
981
+ switch (_a.label) {
982
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options)];
983
+ case 1:
984
+ localVarAxiosArgs = _a.sent();
985
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
986
+ }
987
+ });
988
+ });
989
+ },
544
990
  /**
545
991
  * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
546
992
  * @summary Update the claim status
@@ -563,6 +1009,29 @@ var ClaimStatusesApiFp = function (configuration) {
563
1009
  });
564
1010
  });
565
1011
  },
1012
+ /**
1013
+ * 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.
1014
+ * @summary Update the claim status
1015
+ * @param {number} id
1016
+ * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
1017
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1018
+ * @param {*} [options] Override http request option.
1019
+ * @deprecated
1020
+ * @throws {RequiredError}
1021
+ */
1022
+ updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
1023
+ return __awaiter(this, void 0, void 0, function () {
1024
+ var localVarAxiosArgs;
1025
+ return __generator(this, function (_a) {
1026
+ switch (_a.label) {
1027
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options)];
1028
+ case 1:
1029
+ localVarAxiosArgs = _a.sent();
1030
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1031
+ }
1032
+ });
1033
+ });
1034
+ },
566
1035
  };
567
1036
  };
568
1037
  exports.ClaimStatusesApiFp = ClaimStatusesApiFp;
@@ -584,6 +1053,18 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
584
1053
  createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
585
1054
  return localVarFp.createClaimStatus(createClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
586
1055
  },
1056
+ /**
1057
+ * 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.
1058
+ * @summary Create the claim status
1059
+ * @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
1060
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1061
+ * @param {*} [options] Override http request option.
1062
+ * @deprecated
1063
+ * @throws {RequiredError}
1064
+ */
1065
+ createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
1066
+ return localVarFp.createClaimStatus1(createClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1067
+ },
587
1068
  /**
588
1069
  * 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\"
589
1070
  * @summary Delete the claim status
@@ -595,6 +1076,18 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
595
1076
  deleteClaimStatus: function (id, authorization, options) {
596
1077
  return localVarFp.deleteClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
597
1078
  },
1079
+ /**
1080
+ * 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.
1081
+ * @summary Delete the claim status
1082
+ * @param {number} id
1083
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1084
+ * @param {*} [options] Override http request option.
1085
+ * @deprecated
1086
+ * @throws {RequiredError}
1087
+ */
1088
+ deleteClaimStatus1: function (id, authorization, options) {
1089
+ return localVarFp.deleteClaimStatus1(id, authorization, options).then(function (request) { return request(axios, basePath); });
1090
+ },
598
1091
  /**
599
1092
  * 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\"
600
1093
  * @summary Retrieve the claim status
@@ -606,6 +1099,18 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
606
1099
  getClaimStatus: function (id, authorization, options) {
607
1100
  return localVarFp.getClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
608
1101
  },
1102
+ /**
1103
+ * 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.
1104
+ * @summary Retrieve the claim status
1105
+ * @param {number} id
1106
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1107
+ * @param {*} [options] Override http request option.
1108
+ * @deprecated
1109
+ * @throws {RequiredError}
1110
+ */
1111
+ getClaimStatus1: function (id, authorization, options) {
1112
+ return localVarFp.getClaimStatus1(id, authorization, options).then(function (request) { return request(axios, basePath); });
1113
+ },
609
1114
  /**
610
1115
  * 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\"
611
1116
  * @summary List claim statuses
@@ -623,6 +1128,24 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
623
1128
  listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
624
1129
  return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
625
1130
  },
1131
+ /**
1132
+ * 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.
1133
+ * @summary List claim statuses
1134
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1135
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1136
+ * @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.
1137
+ * @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>
1138
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
1139
+ * @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>
1140
+ * @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/>
1141
+ * @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>
1142
+ * @param {*} [options] Override http request option.
1143
+ * @deprecated
1144
+ * @throws {RequiredError}
1145
+ */
1146
+ listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1147
+ return localVarFp.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1148
+ },
626
1149
  /**
627
1150
  * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
628
1151
  * @summary Patch claim status
@@ -635,6 +1158,19 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
635
1158
  patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
636
1159
  return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
637
1160
  },
1161
+ /**
1162
+ * 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.
1163
+ * @summary Patch claim status
1164
+ * @param {number} id
1165
+ * @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
1166
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1167
+ * @param {*} [options] Override http request option.
1168
+ * @deprecated
1169
+ * @throws {RequiredError}
1170
+ */
1171
+ patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
1172
+ return localVarFp.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1173
+ },
638
1174
  /**
639
1175
  * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
640
1176
  * @summary Update the claim status
@@ -647,6 +1183,19 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
647
1183
  updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
648
1184
  return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
649
1185
  },
1186
+ /**
1187
+ * 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.
1188
+ * @summary Update the claim status
1189
+ * @param {number} id
1190
+ * @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
1191
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1192
+ * @param {*} [options] Override http request option.
1193
+ * @deprecated
1194
+ * @throws {RequiredError}
1195
+ */
1196
+ updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
1197
+ return localVarFp.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1198
+ },
650
1199
  };
651
1200
  };
652
1201
  exports.ClaimStatusesApiFactory = ClaimStatusesApiFactory;
@@ -673,6 +1222,19 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
673
1222
  var _this = this;
674
1223
  return (0, exports.ClaimStatusesApiFp)(this.configuration).createClaimStatus(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
675
1224
  };
1225
+ /**
1226
+ * 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.
1227
+ * @summary Create the claim status
1228
+ * @param {ClaimStatusesApiCreateClaimStatus1Request} requestParameters Request parameters.
1229
+ * @param {*} [options] Override http request option.
1230
+ * @deprecated
1231
+ * @throws {RequiredError}
1232
+ * @memberof ClaimStatusesApi
1233
+ */
1234
+ ClaimStatusesApi.prototype.createClaimStatus1 = function (requestParameters, options) {
1235
+ var _this = this;
1236
+ return (0, exports.ClaimStatusesApiFp)(this.configuration).createClaimStatus1(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1237
+ };
676
1238
  /**
677
1239
  * 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\"
678
1240
  * @summary Delete the claim status
@@ -685,6 +1247,19 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
685
1247
  var _this = this;
686
1248
  return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
687
1249
  };
1250
+ /**
1251
+ * 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.
1252
+ * @summary Delete the claim status
1253
+ * @param {ClaimStatusesApiDeleteClaimStatus1Request} requestParameters Request parameters.
1254
+ * @param {*} [options] Override http request option.
1255
+ * @deprecated
1256
+ * @throws {RequiredError}
1257
+ * @memberof ClaimStatusesApi
1258
+ */
1259
+ ClaimStatusesApi.prototype.deleteClaimStatus1 = function (requestParameters, options) {
1260
+ var _this = this;
1261
+ return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1262
+ };
688
1263
  /**
689
1264
  * 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\"
690
1265
  * @summary Retrieve the claim status
@@ -697,6 +1272,19 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
697
1272
  var _this = this;
698
1273
  return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
699
1274
  };
1275
+ /**
1276
+ * 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.
1277
+ * @summary Retrieve the claim status
1278
+ * @param {ClaimStatusesApiGetClaimStatus1Request} requestParameters Request parameters.
1279
+ * @param {*} [options] Override http request option.
1280
+ * @deprecated
1281
+ * @throws {RequiredError}
1282
+ * @memberof ClaimStatusesApi
1283
+ */
1284
+ ClaimStatusesApi.prototype.getClaimStatus1 = function (requestParameters, options) {
1285
+ var _this = this;
1286
+ return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1287
+ };
700
1288
  /**
701
1289
  * 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\"
702
1290
  * @summary List claim statuses
@@ -710,6 +1298,20 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
710
1298
  if (requestParameters === void 0) { requestParameters = {}; }
711
1299
  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); });
712
1300
  };
1301
+ /**
1302
+ * 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.
1303
+ * @summary List claim statuses
1304
+ * @param {ClaimStatusesApiListClaimStatuses1Request} requestParameters Request parameters.
1305
+ * @param {*} [options] Override http request option.
1306
+ * @deprecated
1307
+ * @throws {RequiredError}
1308
+ * @memberof ClaimStatusesApi
1309
+ */
1310
+ ClaimStatusesApi.prototype.listClaimStatuses1 = function (requestParameters, options) {
1311
+ var _this = this;
1312
+ if (requestParameters === void 0) { requestParameters = {}; }
1313
+ 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); });
1314
+ };
713
1315
  /**
714
1316
  * This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
715
1317
  * @summary Patch claim status
@@ -722,6 +1324,19 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
722
1324
  var _this = this;
723
1325
  return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
724
1326
  };
1327
+ /**
1328
+ * 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.
1329
+ * @summary Patch claim status
1330
+ * @param {ClaimStatusesApiPatchClaimStatus1Request} requestParameters Request parameters.
1331
+ * @param {*} [options] Override http request option.
1332
+ * @deprecated
1333
+ * @throws {RequiredError}
1334
+ * @memberof ClaimStatusesApi
1335
+ */
1336
+ ClaimStatusesApi.prototype.patchClaimStatus1 = function (requestParameters, options) {
1337
+ var _this = this;
1338
+ return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus1(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1339
+ };
725
1340
  /**
726
1341
  * This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
727
1342
  * @summary Update the claim status
@@ -734,6 +1349,19 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
734
1349
  var _this = this;
735
1350
  return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
736
1351
  };
1352
+ /**
1353
+ * 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.
1354
+ * @summary Update the claim status
1355
+ * @param {ClaimStatusesApiUpdateClaimStatus1Request} requestParameters Request parameters.
1356
+ * @param {*} [options] Override http request option.
1357
+ * @deprecated
1358
+ * @throws {RequiredError}
1359
+ * @memberof ClaimStatusesApi
1360
+ */
1361
+ ClaimStatusesApi.prototype.updateClaimStatus1 = function (requestParameters, options) {
1362
+ var _this = this;
1363
+ return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus1(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1364
+ };
737
1365
  return ClaimStatusesApi;
738
1366
  }(base_1.BaseAPI));
739
1367
  exports.ClaimStatusesApi = ClaimStatusesApi;