@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
@@ -116,6 +116,60 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
116
116
  (0, common_1.assertParamExists)('createClaimPartner', 'claimCode', claimCode);
117
117
  // verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
118
118
  (0, common_1.assertParamExists)('createClaimPartner', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto);
119
+ localVarPath = "/claimservice/v1/claims/{claimCode}/partner"
120
+ .replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
121
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
122
+ if (configuration) {
123
+ baseOptions = configuration.baseOptions;
124
+ baseAccessToken = configuration.accessToken;
125
+ }
126
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
127
+ localVarHeaderParameter = {};
128
+ localVarQueryParameter = {};
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
132
+ case 1:
133
+ // authentication bearer required
134
+ // http bearer authentication required
135
+ _a.sent();
136
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
137
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
138
+ }
139
+ localVarHeaderParameter['Content-Type'] = 'application/json';
140
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
141
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
142
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
143
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimPartnerRequestDto, localVarRequestOptions, configuration);
144
+ return [2 /*return*/, {
145
+ url: (0, common_1.toPathString)(localVarUrlObj),
146
+ options: localVarRequestOptions,
147
+ }];
148
+ }
149
+ });
150
+ });
151
+ },
152
+ /**
153
+ * 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.
154
+ * @summary Create the claim partner
155
+ * @param {string} claimCode Unique identifier for the claim object.
156
+ * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
157
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
158
+ * @param {*} [options] Override http request option.
159
+ * @deprecated
160
+ * @throws {RequiredError}
161
+ */
162
+ createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
163
+ if (options === void 0) { options = {}; }
164
+ return __awaiter(_this, void 0, void 0, function () {
165
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
166
+ return __generator(this, function (_a) {
167
+ switch (_a.label) {
168
+ case 0:
169
+ // verify required parameter 'claimCode' is not null or undefined
170
+ (0, common_1.assertParamExists)('createClaimPartner1', 'claimCode', claimCode);
171
+ // verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
172
+ (0, common_1.assertParamExists)('createClaimPartner1', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto);
119
173
  localVarPath = "/v1/claims/{claimCode}/partner"
120
174
  .replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
121
175
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -166,6 +220,55 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
166
220
  case 0:
167
221
  // verify required parameter 'id' is not null or undefined
168
222
  (0, common_1.assertParamExists)('deleteClaimPartner', 'id', id);
223
+ localVarPath = "/claimservice/v1/claim-partners/{id}"
224
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
225
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
226
+ if (configuration) {
227
+ baseOptions = configuration.baseOptions;
228
+ baseAccessToken = configuration.accessToken;
229
+ }
230
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
231
+ localVarHeaderParameter = {};
232
+ localVarQueryParameter = {};
233
+ // authentication bearer required
234
+ // http bearer authentication required
235
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
236
+ case 1:
237
+ // authentication bearer required
238
+ // http bearer authentication required
239
+ _a.sent();
240
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
241
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
242
+ }
243
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
244
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
245
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
246
+ return [2 /*return*/, {
247
+ url: (0, common_1.toPathString)(localVarUrlObj),
248
+ options: localVarRequestOptions,
249
+ }];
250
+ }
251
+ });
252
+ });
253
+ },
254
+ /**
255
+ * 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.
256
+ * @summary Delete the claim partner
257
+ * @param {number} id
258
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
259
+ * @param {*} [options] Override http request option.
260
+ * @deprecated
261
+ * @throws {RequiredError}
262
+ */
263
+ deleteClaimPartner1: function (id, authorization, options) {
264
+ if (options === void 0) { options = {}; }
265
+ return __awaiter(_this, void 0, void 0, function () {
266
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
267
+ return __generator(this, function (_a) {
268
+ switch (_a.label) {
269
+ case 0:
270
+ // verify required parameter 'id' is not null or undefined
271
+ (0, common_1.assertParamExists)('deleteClaimPartner1', 'id', id);
169
272
  localVarPath = "/v1/claim-partners/{id}"
170
273
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
171
274
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -214,6 +317,55 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
214
317
  case 0:
215
318
  // verify required parameter 'id' is not null or undefined
216
319
  (0, common_1.assertParamExists)('getClaimPartner', 'id', id);
320
+ localVarPath = "/claimservice/v1/claim-partners/{id}"
321
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
322
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
323
+ if (configuration) {
324
+ baseOptions = configuration.baseOptions;
325
+ baseAccessToken = configuration.accessToken;
326
+ }
327
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
328
+ localVarHeaderParameter = {};
329
+ localVarQueryParameter = {};
330
+ // authentication bearer required
331
+ // http bearer authentication required
332
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
333
+ case 1:
334
+ // authentication bearer required
335
+ // http bearer authentication required
336
+ _a.sent();
337
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
338
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
339
+ }
340
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
341
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
342
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
343
+ return [2 /*return*/, {
344
+ url: (0, common_1.toPathString)(localVarUrlObj),
345
+ options: localVarRequestOptions,
346
+ }];
347
+ }
348
+ });
349
+ });
350
+ },
351
+ /**
352
+ * 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.
353
+ * @summary Retrieve the claim partner
354
+ * @param {number} id
355
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
356
+ * @param {*} [options] Override http request option.
357
+ * @deprecated
358
+ * @throws {RequiredError}
359
+ */
360
+ getClaimPartner1: function (id, authorization, options) {
361
+ if (options === void 0) { options = {}; }
362
+ return __awaiter(_this, void 0, void 0, function () {
363
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
364
+ return __generator(this, function (_a) {
365
+ switch (_a.label) {
366
+ case 0:
367
+ // verify required parameter 'id' is not null or undefined
368
+ (0, common_1.assertParamExists)('getClaimPartner1', 'id', id);
217
369
  localVarPath = "/v1/claim-partners/{id}"
218
370
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
219
371
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -260,6 +412,79 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
260
412
  * @throws {RequiredError}
261
413
  */
262
414
  listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
415
+ if (options === void 0) { options = {}; }
416
+ return __awaiter(_this, void 0, void 0, function () {
417
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
418
+ return __generator(this, function (_a) {
419
+ switch (_a.label) {
420
+ case 0:
421
+ localVarPath = "/claimservice/v1/claim-partners";
422
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
423
+ if (configuration) {
424
+ baseOptions = configuration.baseOptions;
425
+ baseAccessToken = configuration.accessToken;
426
+ }
427
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
428
+ localVarHeaderParameter = {};
429
+ localVarQueryParameter = {};
430
+ // authentication bearer required
431
+ // http bearer authentication required
432
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
433
+ case 1:
434
+ // authentication bearer required
435
+ // http bearer authentication required
436
+ _a.sent();
437
+ if (pageSize !== undefined) {
438
+ localVarQueryParameter['pageSize'] = pageSize;
439
+ }
440
+ if (pageToken !== undefined) {
441
+ localVarQueryParameter['pageToken'] = pageToken;
442
+ }
443
+ if (filter !== undefined) {
444
+ localVarQueryParameter['filter'] = filter;
445
+ }
446
+ if (search !== undefined) {
447
+ localVarQueryParameter['search'] = search;
448
+ }
449
+ if (order !== undefined) {
450
+ localVarQueryParameter['order'] = order;
451
+ }
452
+ if (expand !== undefined) {
453
+ localVarQueryParameter['expand'] = expand;
454
+ }
455
+ if (filters !== undefined) {
456
+ localVarQueryParameter['filters'] = filters;
457
+ }
458
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
459
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
460
+ }
461
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
462
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
463
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
464
+ return [2 /*return*/, {
465
+ url: (0, common_1.toPathString)(localVarUrlObj),
466
+ options: localVarRequestOptions,
467
+ }];
468
+ }
469
+ });
470
+ });
471
+ },
472
+ /**
473
+ * 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.
474
+ * @summary List claim partners
475
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
476
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
477
+ * @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.
478
+ * @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>
479
+ * @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>
480
+ * @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>
481
+ * @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>
482
+ * @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>
483
+ * @param {*} [options] Override http request option.
484
+ * @deprecated
485
+ * @throws {RequiredError}
486
+ */
487
+ listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
263
488
  if (options === void 0) { options = {}; }
264
489
  return __awaiter(_this, void 0, void 0, function () {
265
490
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -349,6 +574,29 @@ var ClaimPartnersApiFp = function (configuration) {
349
574
  });
350
575
  });
351
576
  },
577
+ /**
578
+ * 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.
579
+ * @summary Create the claim partner
580
+ * @param {string} claimCode Unique identifier for the claim object.
581
+ * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
582
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
583
+ * @param {*} [options] Override http request option.
584
+ * @deprecated
585
+ * @throws {RequiredError}
586
+ */
587
+ createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
588
+ return __awaiter(this, void 0, void 0, function () {
589
+ var localVarAxiosArgs;
590
+ return __generator(this, function (_a) {
591
+ switch (_a.label) {
592
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options)];
593
+ case 1:
594
+ localVarAxiosArgs = _a.sent();
595
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
596
+ }
597
+ });
598
+ });
599
+ },
352
600
  /**
353
601
  * 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\"
354
602
  * @summary Delete the claim partner
@@ -370,6 +618,28 @@ var ClaimPartnersApiFp = function (configuration) {
370
618
  });
371
619
  });
372
620
  },
621
+ /**
622
+ * 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.
623
+ * @summary Delete the claim partner
624
+ * @param {number} id
625
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
626
+ * @param {*} [options] Override http request option.
627
+ * @deprecated
628
+ * @throws {RequiredError}
629
+ */
630
+ deleteClaimPartner1: function (id, authorization, options) {
631
+ return __awaiter(this, void 0, void 0, function () {
632
+ var localVarAxiosArgs;
633
+ return __generator(this, function (_a) {
634
+ switch (_a.label) {
635
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPartner1(id, authorization, options)];
636
+ case 1:
637
+ localVarAxiosArgs = _a.sent();
638
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
639
+ }
640
+ });
641
+ });
642
+ },
373
643
  /**
374
644
  * 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\"
375
645
  * @summary Retrieve the claim partner
@@ -391,6 +661,28 @@ var ClaimPartnersApiFp = function (configuration) {
391
661
  });
392
662
  });
393
663
  },
664
+ /**
665
+ * 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.
666
+ * @summary Retrieve the claim partner
667
+ * @param {number} id
668
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
669
+ * @param {*} [options] Override http request option.
670
+ * @deprecated
671
+ * @throws {RequiredError}
672
+ */
673
+ getClaimPartner1: function (id, authorization, options) {
674
+ return __awaiter(this, void 0, void 0, function () {
675
+ var localVarAxiosArgs;
676
+ return __generator(this, function (_a) {
677
+ switch (_a.label) {
678
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPartner1(id, authorization, options)];
679
+ case 1:
680
+ localVarAxiosArgs = _a.sent();
681
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
682
+ }
683
+ });
684
+ });
685
+ },
394
686
  /**
395
687
  * 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\"
396
688
  * @summary List claim partners
@@ -418,6 +710,34 @@ var ClaimPartnersApiFp = function (configuration) {
418
710
  });
419
711
  });
420
712
  },
713
+ /**
714
+ * 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.
715
+ * @summary List claim partners
716
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
717
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
718
+ * @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.
719
+ * @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>
720
+ * @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>
721
+ * @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>
722
+ * @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>
723
+ * @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>
724
+ * @param {*} [options] Override http request option.
725
+ * @deprecated
726
+ * @throws {RequiredError}
727
+ */
728
+ listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
729
+ return __awaiter(this, void 0, void 0, function () {
730
+ var localVarAxiosArgs;
731
+ return __generator(this, function (_a) {
732
+ switch (_a.label) {
733
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
734
+ case 1:
735
+ localVarAxiosArgs = _a.sent();
736
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
737
+ }
738
+ });
739
+ });
740
+ },
421
741
  };
422
742
  };
423
743
  exports.ClaimPartnersApiFp = ClaimPartnersApiFp;
@@ -440,6 +760,19 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
440
760
  createClaimPartner: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
441
761
  return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
442
762
  },
763
+ /**
764
+ * 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.
765
+ * @summary Create the claim partner
766
+ * @param {string} claimCode Unique identifier for the claim object.
767
+ * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
768
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
769
+ * @param {*} [options] Override http request option.
770
+ * @deprecated
771
+ * @throws {RequiredError}
772
+ */
773
+ createClaimPartner1: function (claimCode, createClaimPartnerRequestDto, authorization, options) {
774
+ return localVarFp.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
775
+ },
443
776
  /**
444
777
  * 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\"
445
778
  * @summary Delete the claim partner
@@ -451,6 +784,18 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
451
784
  deleteClaimPartner: function (id, authorization, options) {
452
785
  return localVarFp.deleteClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
453
786
  },
787
+ /**
788
+ * 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.
789
+ * @summary Delete the claim partner
790
+ * @param {number} id
791
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
792
+ * @param {*} [options] Override http request option.
793
+ * @deprecated
794
+ * @throws {RequiredError}
795
+ */
796
+ deleteClaimPartner1: function (id, authorization, options) {
797
+ return localVarFp.deleteClaimPartner1(id, authorization, options).then(function (request) { return request(axios, basePath); });
798
+ },
454
799
  /**
455
800
  * 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\"
456
801
  * @summary Retrieve the claim partner
@@ -462,6 +807,18 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
462
807
  getClaimPartner: function (id, authorization, options) {
463
808
  return localVarFp.getClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
464
809
  },
810
+ /**
811
+ * 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.
812
+ * @summary Retrieve the claim partner
813
+ * @param {number} id
814
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
815
+ * @param {*} [options] Override http request option.
816
+ * @deprecated
817
+ * @throws {RequiredError}
818
+ */
819
+ getClaimPartner1: function (id, authorization, options) {
820
+ return localVarFp.getClaimPartner1(id, authorization, options).then(function (request) { return request(axios, basePath); });
821
+ },
465
822
  /**
466
823
  * 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\"
467
824
  * @summary List claim partners
@@ -479,6 +836,24 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
479
836
  listClaimPartners: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
480
837
  return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
481
838
  },
839
+ /**
840
+ * 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.
841
+ * @summary List claim partners
842
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
843
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
844
+ * @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.
845
+ * @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>
846
+ * @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>
847
+ * @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>
848
+ * @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>
849
+ * @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>
850
+ * @param {*} [options] Override http request option.
851
+ * @deprecated
852
+ * @throws {RequiredError}
853
+ */
854
+ listClaimPartners1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
855
+ return localVarFp.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
856
+ },
482
857
  };
483
858
  };
484
859
  exports.ClaimPartnersApiFactory = ClaimPartnersApiFactory;
@@ -505,6 +880,19 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
505
880
  var _this = this;
506
881
  return (0, exports.ClaimPartnersApiFp)(this.configuration).createClaimPartner(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
507
882
  };
883
+ /**
884
+ * 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.
885
+ * @summary Create the claim partner
886
+ * @param {ClaimPartnersApiCreateClaimPartner1Request} requestParameters Request parameters.
887
+ * @param {*} [options] Override http request option.
888
+ * @deprecated
889
+ * @throws {RequiredError}
890
+ * @memberof ClaimPartnersApi
891
+ */
892
+ ClaimPartnersApi.prototype.createClaimPartner1 = function (requestParameters, options) {
893
+ var _this = this;
894
+ return (0, exports.ClaimPartnersApiFp)(this.configuration).createClaimPartner1(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
895
+ };
508
896
  /**
509
897
  * 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\"
510
898
  * @summary Delete the claim partner
@@ -517,6 +905,19 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
517
905
  var _this = this;
518
906
  return (0, exports.ClaimPartnersApiFp)(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
519
907
  };
908
+ /**
909
+ * 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.
910
+ * @summary Delete the claim partner
911
+ * @param {ClaimPartnersApiDeleteClaimPartner1Request} requestParameters Request parameters.
912
+ * @param {*} [options] Override http request option.
913
+ * @deprecated
914
+ * @throws {RequiredError}
915
+ * @memberof ClaimPartnersApi
916
+ */
917
+ ClaimPartnersApi.prototype.deleteClaimPartner1 = function (requestParameters, options) {
918
+ var _this = this;
919
+ return (0, exports.ClaimPartnersApiFp)(this.configuration).deleteClaimPartner1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
920
+ };
520
921
  /**
521
922
  * 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\"
522
923
  * @summary Retrieve the claim partner
@@ -529,6 +930,19 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
529
930
  var _this = this;
530
931
  return (0, exports.ClaimPartnersApiFp)(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
531
932
  };
933
+ /**
934
+ * 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.
935
+ * @summary Retrieve the claim partner
936
+ * @param {ClaimPartnersApiGetClaimPartner1Request} requestParameters Request parameters.
937
+ * @param {*} [options] Override http request option.
938
+ * @deprecated
939
+ * @throws {RequiredError}
940
+ * @memberof ClaimPartnersApi
941
+ */
942
+ ClaimPartnersApi.prototype.getClaimPartner1 = function (requestParameters, options) {
943
+ var _this = this;
944
+ return (0, exports.ClaimPartnersApiFp)(this.configuration).getClaimPartner1(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
945
+ };
532
946
  /**
533
947
  * 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\"
534
948
  * @summary List claim partners
@@ -542,6 +956,20 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
542
956
  if (requestParameters === void 0) { requestParameters = {}; }
543
957
  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); });
544
958
  };
959
+ /**
960
+ * 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.
961
+ * @summary List claim partners
962
+ * @param {ClaimPartnersApiListClaimPartners1Request} requestParameters Request parameters.
963
+ * @param {*} [options] Override http request option.
964
+ * @deprecated
965
+ * @throws {RequiredError}
966
+ * @memberof ClaimPartnersApi
967
+ */
968
+ ClaimPartnersApi.prototype.listClaimPartners1 = function (requestParameters, options) {
969
+ var _this = this;
970
+ if (requestParameters === void 0) { requestParameters = {}; }
971
+ 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); });
972
+ };
545
973
  return ClaimPartnersApi;
546
974
  }(base_1.BaseAPI));
547
975
  exports.ClaimPartnersApi = ClaimPartnersApi;