@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +644 -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 +1336 -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 +581 -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 +1177 -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
@@ -112,6 +112,60 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
112
112
  (0, common_1.assertParamExists)('createClaimPartner', 'claimCode', claimCode);
113
113
  // verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
114
114
  (0, common_1.assertParamExists)('createClaimPartner', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto);
115
+ localVarPath = "/claimservice/v1/claims/{claimCode}/partner"
116
+ .replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
117
+ localVarUrlObj = new 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)(createClaimPartnerRequestDto, localVarRequestOptions, configuration);
140
+ return [2 /*return*/, {
141
+ url: (0, common_1.toPathString)(localVarUrlObj),
142
+ options: localVarRequestOptions,
143
+ }];
144
+ }
145
+ });
146
+ });
147
+ },
148
+ /**
149
+ * This will create a claim partner. **Required Permissions** \"claim-management.partners.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 partner
151
+ * @param {string} claimCode Unique identifier for the claim object.
152
+ * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
153
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
+ * @param {*} [options] Override http request option.
155
+ * @deprecated
156
+ * @throws {RequiredError}
157
+ */
158
+ createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
159
+ if (options === void 0) { options = {}; }
160
+ return __awaiter(_this, void 0, void 0, function () {
161
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
162
+ return __generator(this, function (_a) {
163
+ switch (_a.label) {
164
+ case 0:
165
+ // verify required parameter 'claimCode' is not null or undefined
166
+ (0, common_1.assertParamExists)('createClaimPartner1', 'claimCode', claimCode);
167
+ // verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
168
+ (0, common_1.assertParamExists)('createClaimPartner1', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto);
115
169
  localVarPath = "/v1/claims/{claimCode}/partner"
116
170
  .replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
117
171
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -162,6 +216,55 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
162
216
  case 0:
163
217
  // verify required parameter 'id' is not null or undefined
164
218
  (0, common_1.assertParamExists)('deleteClaimPartner', 'id', id);
219
+ localVarPath = "/claimservice/v1/claim-partners/{id}"
220
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
221
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
222
+ if (configuration) {
223
+ baseOptions = configuration.baseOptions;
224
+ baseAccessToken = configuration.accessToken;
225
+ }
226
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
227
+ localVarHeaderParameter = {};
228
+ localVarQueryParameter = {};
229
+ // authentication bearer required
230
+ // http bearer authentication required
231
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
232
+ case 1:
233
+ // authentication bearer required
234
+ // http bearer authentication required
235
+ _a.sent();
236
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
237
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
238
+ }
239
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
240
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
241
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
242
+ return [2 /*return*/, {
243
+ url: (0, common_1.toPathString)(localVarUrlObj),
244
+ options: localVarRequestOptions,
245
+ }];
246
+ }
247
+ });
248
+ });
249
+ },
250
+ /**
251
+ * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
252
+ * @summary Delete the claim partner
253
+ * @param {number} id
254
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
255
+ * @param {*} [options] Override http request option.
256
+ * @deprecated
257
+ * @throws {RequiredError}
258
+ */
259
+ deleteClaimPartner1: function (id, authorization, options) {
260
+ if (options === void 0) { options = {}; }
261
+ return __awaiter(_this, void 0, void 0, function () {
262
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
263
+ return __generator(this, function (_a) {
264
+ switch (_a.label) {
265
+ case 0:
266
+ // verify required parameter 'id' is not null or undefined
267
+ (0, common_1.assertParamExists)('deleteClaimPartner1', 'id', id);
165
268
  localVarPath = "/v1/claim-partners/{id}"
166
269
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
167
270
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -210,6 +313,55 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
210
313
  case 0:
211
314
  // verify required parameter 'id' is not null or undefined
212
315
  (0, common_1.assertParamExists)('getClaimPartner', 'id', id);
316
+ localVarPath = "/claimservice/v1/claim-partners/{id}"
317
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
318
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
319
+ if (configuration) {
320
+ baseOptions = configuration.baseOptions;
321
+ baseAccessToken = configuration.accessToken;
322
+ }
323
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
324
+ localVarHeaderParameter = {};
325
+ localVarQueryParameter = {};
326
+ // authentication bearer required
327
+ // http bearer authentication required
328
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
329
+ case 1:
330
+ // authentication bearer required
331
+ // http bearer authentication required
332
+ _a.sent();
333
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
334
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
335
+ }
336
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
337
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
338
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
339
+ return [2 /*return*/, {
340
+ url: (0, common_1.toPathString)(localVarUrlObj),
341
+ options: localVarRequestOptions,
342
+ }];
343
+ }
344
+ });
345
+ });
346
+ },
347
+ /**
348
+ * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
349
+ * @summary Retrieve the claim partner
350
+ * @param {number} id
351
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
352
+ * @param {*} [options] Override http request option.
353
+ * @deprecated
354
+ * @throws {RequiredError}
355
+ */
356
+ getClaimPartner1: function (id, authorization, options) {
357
+ if (options === void 0) { options = {}; }
358
+ return __awaiter(_this, void 0, void 0, function () {
359
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
360
+ return __generator(this, function (_a) {
361
+ switch (_a.label) {
362
+ case 0:
363
+ // verify required parameter 'id' is not null or undefined
364
+ (0, common_1.assertParamExists)('getClaimPartner1', 'id', id);
213
365
  localVarPath = "/v1/claim-partners/{id}"
214
366
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
215
367
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -256,6 +408,79 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
256
408
  * @throws {RequiredError}
257
409
  */
258
410
  listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
411
+ if (options === void 0) { options = {}; }
412
+ return __awaiter(_this, void 0, void 0, function () {
413
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
414
+ return __generator(this, function (_a) {
415
+ switch (_a.label) {
416
+ case 0:
417
+ localVarPath = "/claimservice/v1/claim-partners";
418
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
419
+ if (configuration) {
420
+ baseOptions = configuration.baseOptions;
421
+ baseAccessToken = configuration.accessToken;
422
+ }
423
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
424
+ localVarHeaderParameter = {};
425
+ localVarQueryParameter = {};
426
+ // authentication bearer required
427
+ // http bearer authentication required
428
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
429
+ case 1:
430
+ // authentication bearer required
431
+ // http bearer authentication required
432
+ _a.sent();
433
+ if (pageSize !== undefined) {
434
+ localVarQueryParameter['pageSize'] = pageSize;
435
+ }
436
+ if (pageToken !== undefined) {
437
+ localVarQueryParameter['pageToken'] = pageToken;
438
+ }
439
+ if (filter !== undefined) {
440
+ localVarQueryParameter['filter'] = filter;
441
+ }
442
+ if (search !== undefined) {
443
+ localVarQueryParameter['search'] = search;
444
+ }
445
+ if (order !== undefined) {
446
+ localVarQueryParameter['order'] = order;
447
+ }
448
+ if (expand !== undefined) {
449
+ localVarQueryParameter['expand'] = expand;
450
+ }
451
+ if (filters !== undefined) {
452
+ localVarQueryParameter['filters'] = filters;
453
+ }
454
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
455
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
456
+ }
457
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
458
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
459
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
460
+ return [2 /*return*/, {
461
+ url: (0, common_1.toPathString)(localVarUrlObj),
462
+ options: localVarRequestOptions,
463
+ }];
464
+ }
465
+ });
466
+ });
467
+ },
468
+ /**
469
+ * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
470
+ * @summary List claim partners
471
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
472
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
473
+ * @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.
474
+ * @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: partnerCode, claimPartnerRoleCode, claimCode</i>
475
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: partnerCode, claimPartnerRoleCode, claimCode</i>
476
+ * @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, createdAt, updatedAt</i>
477
+ * @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/> <i>Allowed values: role, partner<i>
478
+ * @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: partnerCode, claimPartnerRoleCode, claimCode</i>
479
+ * @param {*} [options] Override http request option.
480
+ * @deprecated
481
+ * @throws {RequiredError}
482
+ */
483
+ listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
259
484
  if (options === void 0) { options = {}; }
260
485
  return __awaiter(_this, void 0, void 0, function () {
261
486
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -345,6 +570,29 @@ var ClaimPartnersApiFp = function (configuration) {
345
570
  });
346
571
  });
347
572
  },
573
+ /**
574
+ * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
575
+ * @summary Create the claim partner
576
+ * @param {string} claimCode Unique identifier for the claim object.
577
+ * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
578
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
579
+ * @param {*} [options] Override http request option.
580
+ * @deprecated
581
+ * @throws {RequiredError}
582
+ */
583
+ createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
584
+ return __awaiter(this, void 0, void 0, function () {
585
+ var localVarAxiosArgs;
586
+ return __generator(this, function (_a) {
587
+ switch (_a.label) {
588
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options)];
589
+ case 1:
590
+ localVarAxiosArgs = _a.sent();
591
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
592
+ }
593
+ });
594
+ });
595
+ },
348
596
  /**
349
597
  * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
350
598
  * @summary Delete the claim partner
@@ -366,6 +614,28 @@ var ClaimPartnersApiFp = function (configuration) {
366
614
  });
367
615
  });
368
616
  },
617
+ /**
618
+ * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
619
+ * @summary Delete the claim partner
620
+ * @param {number} id
621
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
622
+ * @param {*} [options] Override http request option.
623
+ * @deprecated
624
+ * @throws {RequiredError}
625
+ */
626
+ deleteClaimPartner1: function (id, authorization, options) {
627
+ return __awaiter(this, void 0, void 0, function () {
628
+ var localVarAxiosArgs;
629
+ return __generator(this, function (_a) {
630
+ switch (_a.label) {
631
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPartner1(id, authorization, options)];
632
+ case 1:
633
+ localVarAxiosArgs = _a.sent();
634
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
635
+ }
636
+ });
637
+ });
638
+ },
369
639
  /**
370
640
  * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
371
641
  * @summary Retrieve the claim partner
@@ -387,6 +657,28 @@ var ClaimPartnersApiFp = function (configuration) {
387
657
  });
388
658
  });
389
659
  },
660
+ /**
661
+ * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
662
+ * @summary Retrieve the claim partner
663
+ * @param {number} id
664
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
665
+ * @param {*} [options] Override http request option.
666
+ * @deprecated
667
+ * @throws {RequiredError}
668
+ */
669
+ getClaimPartner1: function (id, authorization, options) {
670
+ return __awaiter(this, void 0, void 0, function () {
671
+ var localVarAxiosArgs;
672
+ return __generator(this, function (_a) {
673
+ switch (_a.label) {
674
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPartner1(id, authorization, options)];
675
+ case 1:
676
+ localVarAxiosArgs = _a.sent();
677
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
678
+ }
679
+ });
680
+ });
681
+ },
390
682
  /**
391
683
  * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
392
684
  * @summary List claim partners
@@ -414,6 +706,34 @@ var ClaimPartnersApiFp = function (configuration) {
414
706
  });
415
707
  });
416
708
  },
709
+ /**
710
+ * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
711
+ * @summary List claim partners
712
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
713
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
714
+ * @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.
715
+ * @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: partnerCode, claimPartnerRoleCode, claimCode</i>
716
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: partnerCode, claimPartnerRoleCode, claimCode</i>
717
+ * @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, createdAt, updatedAt</i>
718
+ * @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/> <i>Allowed values: role, partner<i>
719
+ * @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: partnerCode, claimPartnerRoleCode, claimCode</i>
720
+ * @param {*} [options] Override http request option.
721
+ * @deprecated
722
+ * @throws {RequiredError}
723
+ */
724
+ listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
725
+ return __awaiter(this, void 0, void 0, function () {
726
+ var localVarAxiosArgs;
727
+ return __generator(this, function (_a) {
728
+ switch (_a.label) {
729
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
730
+ case 1:
731
+ localVarAxiosArgs = _a.sent();
732
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
733
+ }
734
+ });
735
+ });
736
+ },
417
737
  };
418
738
  };
419
739
  exports.ClaimPartnersApiFp = ClaimPartnersApiFp;
@@ -436,6 +756,19 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
436
756
  createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
437
757
  return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
438
758
  },
759
+ /**
760
+ * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
761
+ * @summary Create the claim partner
762
+ * @param {string} claimCode Unique identifier for the claim object.
763
+ * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
764
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
765
+ * @param {*} [options] Override http request option.
766
+ * @deprecated
767
+ * @throws {RequiredError}
768
+ */
769
+ createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
770
+ return localVarFp.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
771
+ },
439
772
  /**
440
773
  * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
441
774
  * @summary Delete the claim partner
@@ -447,6 +780,18 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
447
780
  deleteClaimPartner: function (id, authorization, options) {
448
781
  return localVarFp.deleteClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
449
782
  },
783
+ /**
784
+ * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
785
+ * @summary Delete the claim partner
786
+ * @param {number} id
787
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
788
+ * @param {*} [options] Override http request option.
789
+ * @deprecated
790
+ * @throws {RequiredError}
791
+ */
792
+ deleteClaimPartner1: function (id, authorization, options) {
793
+ return localVarFp.deleteClaimPartner1(id, authorization, options).then(function (request) { return request(axios, basePath); });
794
+ },
450
795
  /**
451
796
  * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
452
797
  * @summary Retrieve the claim partner
@@ -458,6 +803,18 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
458
803
  getClaimPartner: function (id, authorization, options) {
459
804
  return localVarFp.getClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
460
805
  },
806
+ /**
807
+ * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
808
+ * @summary Retrieve the claim partner
809
+ * @param {number} id
810
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
811
+ * @param {*} [options] Override http request option.
812
+ * @deprecated
813
+ * @throws {RequiredError}
814
+ */
815
+ getClaimPartner1: function (id, authorization, options) {
816
+ return localVarFp.getClaimPartner1(id, authorization, options).then(function (request) { return request(axios, basePath); });
817
+ },
461
818
  /**
462
819
  * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
463
820
  * @summary List claim partners
@@ -475,6 +832,24 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
475
832
  listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
476
833
  return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
477
834
  },
835
+ /**
836
+ * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
837
+ * @summary List claim partners
838
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
839
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
840
+ * @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.
841
+ * @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: partnerCode, claimPartnerRoleCode, claimCode</i>
842
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: partnerCode, claimPartnerRoleCode, claimCode</i>
843
+ * @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, createdAt, updatedAt</i>
844
+ * @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/> <i>Allowed values: role, partner<i>
845
+ * @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: partnerCode, claimPartnerRoleCode, claimCode</i>
846
+ * @param {*} [options] Override http request option.
847
+ * @deprecated
848
+ * @throws {RequiredError}
849
+ */
850
+ listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
851
+ return localVarFp.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
852
+ },
478
853
  };
479
854
  };
480
855
  exports.ClaimPartnersApiFactory = ClaimPartnersApiFactory;
@@ -501,6 +876,19 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
501
876
  var _this = this;
502
877
  return (0, exports.ClaimPartnersApiFp)(this.configuration).createClaimPartner(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
503
878
  };
879
+ /**
880
+ * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
881
+ * @summary Create the claim partner
882
+ * @param {ClaimPartnersApiCreateClaimPartner1Request} requestParameters Request parameters.
883
+ * @param {*} [options] Override http request option.
884
+ * @deprecated
885
+ * @throws {RequiredError}
886
+ * @memberof ClaimPartnersApi
887
+ */
888
+ ClaimPartnersApi.prototype.createClaimPartner1 = function (requestParameters, options) {
889
+ var _this = this;
890
+ return (0, exports.ClaimPartnersApiFp)(this.configuration).createClaimPartner1(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
891
+ };
504
892
  /**
505
893
  * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
506
894
  * @summary Delete the claim partner
@@ -513,6 +901,19 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
513
901
  var _this = this;
514
902
  return (0, exports.ClaimPartnersApiFp)(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
515
903
  };
904
+ /**
905
+ * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
906
+ * @summary Delete the claim partner
907
+ * @param {ClaimPartnersApiDeleteClaimPartner1Request} requestParameters Request parameters.
908
+ * @param {*} [options] Override http request option.
909
+ * @deprecated
910
+ * @throws {RequiredError}
911
+ * @memberof ClaimPartnersApi
912
+ */
913
+ ClaimPartnersApi.prototype.deleteClaimPartner1 = function (requestParameters, options) {
914
+ var _this = this;
915
+ return (0, exports.ClaimPartnersApiFp)(this.configuration).deleteClaimPartner1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
916
+ };
516
917
  /**
517
918
  * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
518
919
  * @summary Retrieve the claim partner
@@ -525,6 +926,19 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
525
926
  var _this = this;
526
927
  return (0, exports.ClaimPartnersApiFp)(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
527
928
  };
929
+ /**
930
+ * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
931
+ * @summary Retrieve the claim partner
932
+ * @param {ClaimPartnersApiGetClaimPartner1Request} requestParameters Request parameters.
933
+ * @param {*} [options] Override http request option.
934
+ * @deprecated
935
+ * @throws {RequiredError}
936
+ * @memberof ClaimPartnersApi
937
+ */
938
+ ClaimPartnersApi.prototype.getClaimPartner1 = function (requestParameters, options) {
939
+ var _this = this;
940
+ return (0, exports.ClaimPartnersApiFp)(this.configuration).getClaimPartner1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
941
+ };
528
942
  /**
529
943
  * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
530
944
  * @summary List claim partners
@@ -538,6 +952,20 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
538
952
  if (requestParameters === void 0) { requestParameters = {}; }
539
953
  return (0, exports.ClaimPartnersApiFp)(this.configuration).listClaimPartners(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); });
540
954
  };
955
+ /**
956
+ * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
957
+ * @summary List claim partners
958
+ * @param {ClaimPartnersApiListClaimPartners1Request} requestParameters Request parameters.
959
+ * @param {*} [options] Override http request option.
960
+ * @deprecated
961
+ * @throws {RequiredError}
962
+ * @memberof ClaimPartnersApi
963
+ */
964
+ ClaimPartnersApi.prototype.listClaimPartners1 = function (requestParameters, options) {
965
+ var _this = this;
966
+ if (requestParameters === void 0) { requestParameters = {}; }
967
+ return (0, exports.ClaimPartnersApiFp)(this.configuration).listClaimPartners1(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); });
968
+ };
541
969
  return ClaimPartnersApi;
542
970
  }(base_1.BaseAPI));
543
971
  exports.ClaimPartnersApi = ClaimPartnersApi;