@emilgroup/claim-sdk 1.40.1-beta.8 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/.openapi-generator/FILES +0 -10
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +0 -627
  4. package/api/claim-partners-api.ts +0 -520
  5. package/api/claim-regulations-api.ts +5 -646
  6. package/api/claim-statuses-api.ts +6 -753
  7. package/api/claims-api.ts +6 -858
  8. package/api/health-check-api.ts +0 -66
  9. package/api/settlements-api.ts +0 -627
  10. package/api.ts +0 -2
  11. package/dist/api/claim-partner-roles-api.d.ts +0 -358
  12. package/dist/api/claim-partner-roles-api.js +0 -525
  13. package/dist/api/claim-partners-api.d.ts +0 -299
  14. package/dist/api/claim-partners-api.js +0 -428
  15. package/dist/api/claim-regulations-api.d.ts +0 -367
  16. package/dist/api/claim-regulations-api.js +0 -531
  17. package/dist/api/claim-statuses-api.d.ts +0 -426
  18. package/dist/api/claim-statuses-api.js +14 -642
  19. package/dist/api/claims-api.d.ts +0 -485
  20. package/dist/api/claims-api.js +1 -725
  21. package/dist/api/health-check-api.d.ts +0 -33
  22. package/dist/api/health-check-api.js +0 -73
  23. package/dist/api/settlements-api.d.ts +0 -358
  24. package/dist/api/settlements-api.js +0 -525
  25. package/dist/api.d.ts +0 -1
  26. package/dist/api.js +0 -1
  27. package/dist/models/claim-class.d.ts +0 -6
  28. package/dist/models/index.d.ts +0 -9
  29. package/dist/models/index.js +0 -9
  30. package/dist/models/list-claim-partner-roles-response-class.d.ts +0 -12
  31. package/dist/models/list-claim-partners-response-class.d.ts +0 -12
  32. package/dist/models/list-claim-statuses-response-class.d.ts +1 -13
  33. package/dist/models/list-claims-response-class.d.ts +0 -12
  34. package/dist/models/list-regulations-response-class.d.ts +0 -12
  35. package/models/claim-class.ts +0 -6
  36. package/models/index.ts +0 -9
  37. package/models/list-claim-partner-roles-response-class.ts +0 -12
  38. package/models/list-claim-partners-response-class.ts +0 -12
  39. package/models/list-claim-statuses-response-class.ts +1 -13
  40. package/models/list-claims-response-class.ts +0 -12
  41. package/models/list-regulations-response-class.ts +0 -12
  42. package/package.json +1 -1
  43. package/api/claim-positions-api.ts +0 -1336
  44. package/dist/api/claim-positions-api.d.ts +0 -760
  45. package/dist/api/claim-positions-api.js +0 -1177
  46. package/dist/models/claim-position-class.d.ts +0 -121
  47. package/dist/models/claim-position-class.js +0 -15
  48. package/dist/models/coverage-class.d.ts +0 -72
  49. package/dist/models/coverage-class.js +0 -21
  50. package/dist/models/coverage-request-dto.d.ts +0 -41
  51. package/dist/models/coverage-request-dto.js +0 -20
  52. package/dist/models/create-claim-position-request-dto.d.ts +0 -73
  53. package/dist/models/create-claim-position-request-dto.js +0 -15
  54. package/dist/models/create-claim-position-response-class.d.ts +0 -25
  55. package/dist/models/create-claim-position-response-class.js +0 -15
  56. package/dist/models/get-claim-position-response-class.d.ts +0 -25
  57. package/dist/models/get-claim-position-response-class.js +0 -15
  58. package/dist/models/list-claim-positions-response-class.d.ts +0 -43
  59. package/dist/models/list-claim-positions-response-class.js +0 -15
  60. package/dist/models/update-claim-position-request-dto.d.ts +0 -73
  61. package/dist/models/update-claim-position-request-dto.js +0 -15
  62. package/dist/models/update-claim-position-response-class.d.ts +0 -25
  63. package/dist/models/update-claim-position-response-class.js +0 -15
  64. package/models/claim-position-class.ts +0 -127
  65. package/models/coverage-class.ts +0 -81
  66. package/models/coverage-request-dto.ts +0 -50
  67. package/models/create-claim-position-request-dto.ts +0 -79
  68. package/models/create-claim-position-response-class.ts +0 -31
  69. package/models/get-claim-position-response-class.ts +0 -31
  70. package/models/list-claim-positions-response-class.ts +0 -49
  71. package/models/update-claim-position-request-dto.ts +0 -79
  72. package/models/update-claim-position-response-class.ts +0 -31
@@ -109,56 +109,6 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
109
109
  case 0:
110
110
  // verify required parameter 'createRegulationItemRequestDto' is not null or undefined
111
111
  (0, common_1.assertParamExists)('createClaimRegulation', 'createRegulationItemRequestDto', createRegulationItemRequestDto);
112
- localVarPath = "/claimservice/v1/regulations";
113
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
- if (configuration) {
115
- baseOptions = configuration.baseOptions;
116
- baseAccessToken = configuration.accessToken;
117
- }
118
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
119
- localVarHeaderParameter = {};
120
- localVarQueryParameter = {};
121
- // authentication bearer required
122
- // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
- case 1:
125
- // authentication bearer required
126
- // http bearer authentication required
127
- _a.sent();
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
130
- }
131
- localVarHeaderParameter['Content-Type'] = 'application/json';
132
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createRegulationItemRequestDto, localVarRequestOptions, configuration);
136
- return [2 /*return*/, {
137
- url: (0, common_1.toPathString)(localVarUrlObj),
138
- options: localVarRequestOptions,
139
- }];
140
- }
141
- });
142
- });
143
- },
144
- /**
145
- * This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
146
- * @summary Create the claim regulation item
147
- * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
148
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
- * @param {*} [options] Override http request option.
150
- * @deprecated
151
- * @throws {RequiredError}
152
- */
153
- createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
154
- if (options === void 0) { options = {}; }
155
- return __awaiter(_this, void 0, void 0, function () {
156
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
157
- return __generator(this, function (_a) {
158
- switch (_a.label) {
159
- case 0:
160
- // verify required parameter 'createRegulationItemRequestDto' is not null or undefined
161
- (0, common_1.assertParamExists)('createClaimRegulation1', 'createRegulationItemRequestDto', createRegulationItemRequestDto);
162
112
  localVarPath = "/v1/claims/regulations";
163
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
164
114
  if (configuration) {
@@ -208,55 +158,6 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
208
158
  case 0:
209
159
  // verify required parameter 'code' is not null or undefined
210
160
  (0, common_1.assertParamExists)('deleteClaimRegulations', 'code', code);
211
- localVarPath = "/claimservice/v1/regulations/{code}"
212
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
213
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
214
- if (configuration) {
215
- baseOptions = configuration.baseOptions;
216
- baseAccessToken = configuration.accessToken;
217
- }
218
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
219
- localVarHeaderParameter = {};
220
- localVarQueryParameter = {};
221
- // authentication bearer required
222
- // http bearer authentication required
223
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
224
- case 1:
225
- // authentication bearer required
226
- // http bearer authentication required
227
- _a.sent();
228
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
229
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
230
- }
231
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
232
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
233
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
234
- return [2 /*return*/, {
235
- url: (0, common_1.toPathString)(localVarUrlObj),
236
- options: localVarRequestOptions,
237
- }];
238
- }
239
- });
240
- });
241
- },
242
- /**
243
- * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
244
- * @summary Delete the claim regulation item
245
- * @param {string} code Unique identifier for the object.
246
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
247
- * @param {*} [options] Override http request option.
248
- * @deprecated
249
- * @throws {RequiredError}
250
- */
251
- deleteClaimRegulations1: function (code, authorization, options) {
252
- if (options === void 0) { options = {}; }
253
- return __awaiter(_this, void 0, void 0, function () {
254
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
255
- return __generator(this, function (_a) {
256
- switch (_a.label) {
257
- case 0:
258
- // verify required parameter 'code' is not null or undefined
259
- (0, common_1.assertParamExists)('deleteClaimRegulations1', 'code', code);
260
161
  localVarPath = "/v1/claims/regulations/{code}"
261
162
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
262
163
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -306,59 +207,6 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
306
207
  case 0:
307
208
  // verify required parameter 'code' is not null or undefined
308
209
  (0, common_1.assertParamExists)('getClaimRegulation', 'code', code);
309
- localVarPath = "/claimservice/v1/regulations/{code}"
310
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
311
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
312
- if (configuration) {
313
- baseOptions = configuration.baseOptions;
314
- baseAccessToken = configuration.accessToken;
315
- }
316
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
317
- localVarHeaderParameter = {};
318
- localVarQueryParameter = {};
319
- // authentication bearer required
320
- // http bearer authentication required
321
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
322
- case 1:
323
- // authentication bearer required
324
- // http bearer authentication required
325
- _a.sent();
326
- if (expand !== undefined) {
327
- localVarQueryParameter['expand'] = expand;
328
- }
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 regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.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 regulation item
346
- * @param {string} code
347
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
348
- * @param {'claim'} [expand]
349
- * @param {*} [options] Override http request option.
350
- * @deprecated
351
- * @throws {RequiredError}
352
- */
353
- getClaimRegulation1: function (code, authorization, expand, options) {
354
- if (options === void 0) { options = {}; }
355
- return __awaiter(_this, void 0, void 0, function () {
356
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
357
- return __generator(this, function (_a) {
358
- switch (_a.label) {
359
- case 0:
360
- // verify required parameter 'code' is not null or undefined
361
- (0, common_1.assertParamExists)('getClaimRegulation1', 'code', code);
362
210
  localVarPath = "/v1/claims/regulations/{code}"
363
211
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
364
212
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -408,79 +256,6 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
408
256
  * @throws {RequiredError}
409
257
  */
410
258
  listClaimRegulations: 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/regulations";
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 regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.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 regulation items
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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</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: code, claimCode, currency</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: amount, bookingDate, 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: claim<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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
479
- * @param {*} [options] Override http request option.
480
- * @deprecated
481
- * @throws {RequiredError}
482
- */
483
- listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
484
259
  if (options === void 0) { options = {}; }
485
260
  return __awaiter(_this, void 0, void 0, function () {
486
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -558,60 +333,6 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
558
333
  (0, common_1.assertParamExists)('updateClaimRegulation', 'code', code);
559
334
  // verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
560
335
  (0, common_1.assertParamExists)('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto);
561
- localVarPath = "/claimservice/v1/regulations/{code}"
562
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
563
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
564
- if (configuration) {
565
- baseOptions = configuration.baseOptions;
566
- baseAccessToken = configuration.accessToken;
567
- }
568
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
569
- localVarHeaderParameter = {};
570
- localVarQueryParameter = {};
571
- // authentication bearer required
572
- // http bearer authentication required
573
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
574
- case 1:
575
- // authentication bearer required
576
- // http bearer authentication required
577
- _a.sent();
578
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
579
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
580
- }
581
- localVarHeaderParameter['Content-Type'] = 'application/json';
582
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
583
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
584
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
585
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateRegulationItemRequestDto, localVarRequestOptions, configuration);
586
- return [2 /*return*/, {
587
- url: (0, common_1.toPathString)(localVarUrlObj),
588
- options: localVarRequestOptions,
589
- }];
590
- }
591
- });
592
- });
593
- },
594
- /**
595
- * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
596
- * @summary Update the claim regulation item
597
- * @param {string} code Unique identifier for the object.
598
- * @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
599
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
600
- * @param {*} [options] Override http request option.
601
- * @deprecated
602
- * @throws {RequiredError}
603
- */
604
- updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
605
- if (options === void 0) { options = {}; }
606
- return __awaiter(_this, void 0, void 0, function () {
607
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
608
- return __generator(this, function (_a) {
609
- switch (_a.label) {
610
- case 0:
611
- // verify required parameter 'code' is not null or undefined
612
- (0, common_1.assertParamExists)('updateClaimRegulation1', 'code', code);
613
- // verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
614
- (0, common_1.assertParamExists)('updateClaimRegulation1', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto);
615
336
  localVarPath = "/v1/claims/regulations/{code}"
616
337
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
617
338
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -676,28 +397,6 @@ var ClaimRegulationsApiFp = function (configuration) {
676
397
  });
677
398
  });
678
399
  },
679
- /**
680
- * This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
681
- * @summary Create the claim regulation item
682
- * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
683
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
684
- * @param {*} [options] Override http request option.
685
- * @deprecated
686
- * @throws {RequiredError}
687
- */
688
- createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
689
- return __awaiter(this, void 0, void 0, function () {
690
- var localVarAxiosArgs;
691
- return __generator(this, function (_a) {
692
- switch (_a.label) {
693
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimRegulation1(createRegulationItemRequestDto, authorization, options)];
694
- case 1:
695
- localVarAxiosArgs = _a.sent();
696
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
697
- }
698
- });
699
- });
700
- },
701
400
  /**
702
401
  * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
703
402
  * @summary Delete the claim regulation item
@@ -719,28 +418,6 @@ var ClaimRegulationsApiFp = function (configuration) {
719
418
  });
720
419
  });
721
420
  },
722
- /**
723
- * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
724
- * @summary Delete the claim regulation item
725
- * @param {string} code Unique identifier for the object.
726
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
727
- * @param {*} [options] Override http request option.
728
- * @deprecated
729
- * @throws {RequiredError}
730
- */
731
- deleteClaimRegulations1: function (code, authorization, options) {
732
- return __awaiter(this, void 0, void 0, function () {
733
- var localVarAxiosArgs;
734
- return __generator(this, function (_a) {
735
- switch (_a.label) {
736
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimRegulations1(code, authorization, options)];
737
- case 1:
738
- localVarAxiosArgs = _a.sent();
739
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
740
- }
741
- });
742
- });
743
- },
744
421
  /**
745
422
  * Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
746
423
  * @summary Retrieve the claim regulation item
@@ -763,29 +440,6 @@ var ClaimRegulationsApiFp = function (configuration) {
763
440
  });
764
441
  });
765
442
  },
766
- /**
767
- * Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
768
- * @summary Retrieve the claim regulation item
769
- * @param {string} code
770
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
771
- * @param {'claim'} [expand]
772
- * @param {*} [options] Override http request option.
773
- * @deprecated
774
- * @throws {RequiredError}
775
- */
776
- getClaimRegulation1: function (code, authorization, expand, options) {
777
- return __awaiter(this, void 0, void 0, function () {
778
- var localVarAxiosArgs;
779
- return __generator(this, function (_a) {
780
- switch (_a.label) {
781
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulation1(code, authorization, expand, options)];
782
- case 1:
783
- localVarAxiosArgs = _a.sent();
784
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
785
- }
786
- });
787
- });
788
- },
789
443
  /**
790
444
  * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
791
445
  * @summary List claim regulation items
@@ -813,34 +467,6 @@ var ClaimRegulationsApiFp = function (configuration) {
813
467
  });
814
468
  });
815
469
  },
816
- /**
817
- * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
818
- * @summary List claim regulation items
819
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
820
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
821
- * @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.
822
- * @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
823
- * @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: code, claimCode, currency</i>
824
- * @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: amount, bookingDate, createdAt, updatedAt</i>
825
- * @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: claim<i>
826
- * @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
827
- * @param {*} [options] Override http request option.
828
- * @deprecated
829
- * @throws {RequiredError}
830
- */
831
- listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
832
- return __awaiter(this, void 0, void 0, function () {
833
- var localVarAxiosArgs;
834
- return __generator(this, function (_a) {
835
- switch (_a.label) {
836
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimRegulations1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
837
- case 1:
838
- localVarAxiosArgs = _a.sent();
839
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
840
- }
841
- });
842
- });
843
- },
844
470
  /**
845
471
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\"
846
472
  * @summary Update the claim regulation item
@@ -863,29 +489,6 @@ var ClaimRegulationsApiFp = function (configuration) {
863
489
  });
864
490
  });
865
491
  },
866
- /**
867
- * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
868
- * @summary Update the claim regulation item
869
- * @param {string} code Unique identifier for the object.
870
- * @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
871
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
872
- * @param {*} [options] Override http request option.
873
- * @deprecated
874
- * @throws {RequiredError}
875
- */
876
- updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
877
- return __awaiter(this, void 0, void 0, function () {
878
- var localVarAxiosArgs;
879
- return __generator(this, function (_a) {
880
- switch (_a.label) {
881
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation1(code, updateRegulationItemRequestDto, authorization, options)];
882
- case 1:
883
- localVarAxiosArgs = _a.sent();
884
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
885
- }
886
- });
887
- });
888
- },
889
492
  };
890
493
  };
891
494
  exports.ClaimRegulationsApiFp = ClaimRegulationsApiFp;
@@ -907,18 +510,6 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
907
510
  createClaimRegulation: function (createRegulationItemRequestDto, authorization, options) {
908
511
  return localVarFp.createClaimRegulation(createRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
909
512
  },
910
- /**
911
- * This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
912
- * @summary Create the claim regulation item
913
- * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
914
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
915
- * @param {*} [options] Override http request option.
916
- * @deprecated
917
- * @throws {RequiredError}
918
- */
919
- createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
920
- return localVarFp.createClaimRegulation1(createRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
921
- },
922
513
  /**
923
514
  * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
924
515
  * @summary Delete the claim regulation item
@@ -930,18 +521,6 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
930
521
  deleteClaimRegulations: function (code, authorization, options) {
931
522
  return localVarFp.deleteClaimRegulations(code, authorization, options).then(function (request) { return request(axios, basePath); });
932
523
  },
933
- /**
934
- * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
935
- * @summary Delete the claim regulation item
936
- * @param {string} code Unique identifier for the object.
937
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
938
- * @param {*} [options] Override http request option.
939
- * @deprecated
940
- * @throws {RequiredError}
941
- */
942
- deleteClaimRegulations1: function (code, authorization, options) {
943
- return localVarFp.deleteClaimRegulations1(code, authorization, options).then(function (request) { return request(axios, basePath); });
944
- },
945
524
  /**
946
525
  * Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
947
526
  * @summary Retrieve the claim regulation item
@@ -954,19 +533,6 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
954
533
  getClaimRegulation: function (code, authorization, expand, options) {
955
534
  return localVarFp.getClaimRegulation(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
956
535
  },
957
- /**
958
- * Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
959
- * @summary Retrieve the claim regulation item
960
- * @param {string} code
961
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
962
- * @param {'claim'} [expand]
963
- * @param {*} [options] Override http request option.
964
- * @deprecated
965
- * @throws {RequiredError}
966
- */
967
- getClaimRegulation1: function (code, authorization, expand, options) {
968
- return localVarFp.getClaimRegulation1(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
969
- },
970
536
  /**
971
537
  * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
972
538
  * @summary List claim regulation items
@@ -984,24 +550,6 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
984
550
  listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
985
551
  return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
986
552
  },
987
- /**
988
- * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
989
- * @summary List claim regulation items
990
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
991
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
992
- * @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.
993
- * @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
994
- * @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: code, claimCode, currency</i>
995
- * @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: amount, bookingDate, createdAt, updatedAt</i>
996
- * @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: claim<i>
997
- * @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
998
- * @param {*} [options] Override http request option.
999
- * @deprecated
1000
- * @throws {RequiredError}
1001
- */
1002
- listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1003
- return localVarFp.listClaimRegulations1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1004
- },
1005
553
  /**
1006
554
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\"
1007
555
  * @summary Update the claim regulation item
@@ -1014,19 +562,6 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
1014
562
  updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
1015
563
  return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1016
564
  },
1017
- /**
1018
- * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1019
- * @summary Update the claim regulation item
1020
- * @param {string} code Unique identifier for the object.
1021
- * @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
1022
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1023
- * @param {*} [options] Override http request option.
1024
- * @deprecated
1025
- * @throws {RequiredError}
1026
- */
1027
- updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
1028
- return localVarFp.updateClaimRegulation1(code, updateRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1029
- },
1030
565
  };
1031
566
  };
1032
567
  exports.ClaimRegulationsApiFactory = ClaimRegulationsApiFactory;
@@ -1053,19 +588,6 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
1053
588
  var _this = this;
1054
589
  return (0, exports.ClaimRegulationsApiFp)(this.configuration).createClaimRegulation(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1055
590
  };
1056
- /**
1057
- * This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.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 regulation item
1059
- * @param {ClaimRegulationsApiCreateClaimRegulation1Request} requestParameters Request parameters.
1060
- * @param {*} [options] Override http request option.
1061
- * @deprecated
1062
- * @throws {RequiredError}
1063
- * @memberof ClaimRegulationsApi
1064
- */
1065
- ClaimRegulationsApi.prototype.createClaimRegulation1 = function (requestParameters, options) {
1066
- var _this = this;
1067
- return (0, exports.ClaimRegulationsApiFp)(this.configuration).createClaimRegulation1(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1068
- };
1069
591
  /**
1070
592
  * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
1071
593
  * @summary Delete the claim regulation item
@@ -1078,19 +600,6 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
1078
600
  var _this = this;
1079
601
  return (0, exports.ClaimRegulationsApiFp)(this.configuration).deleteClaimRegulations(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1080
602
  };
1081
- /**
1082
- * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1083
- * @summary Delete the claim regulation item
1084
- * @param {ClaimRegulationsApiDeleteClaimRegulations1Request} requestParameters Request parameters.
1085
- * @param {*} [options] Override http request option.
1086
- * @deprecated
1087
- * @throws {RequiredError}
1088
- * @memberof ClaimRegulationsApi
1089
- */
1090
- ClaimRegulationsApi.prototype.deleteClaimRegulations1 = function (requestParameters, options) {
1091
- var _this = this;
1092
- return (0, exports.ClaimRegulationsApiFp)(this.configuration).deleteClaimRegulations1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1093
- };
1094
603
  /**
1095
604
  * Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
1096
605
  * @summary Retrieve the claim regulation item
@@ -1103,19 +612,6 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
1103
612
  var _this = this;
1104
613
  return (0, exports.ClaimRegulationsApiFp)(this.configuration).getClaimRegulation(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1105
614
  };
1106
- /**
1107
- * Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1108
- * @summary Retrieve the claim regulation item
1109
- * @param {ClaimRegulationsApiGetClaimRegulation1Request} requestParameters Request parameters.
1110
- * @param {*} [options] Override http request option.
1111
- * @deprecated
1112
- * @throws {RequiredError}
1113
- * @memberof ClaimRegulationsApi
1114
- */
1115
- ClaimRegulationsApi.prototype.getClaimRegulation1 = function (requestParameters, options) {
1116
- var _this = this;
1117
- return (0, exports.ClaimRegulationsApiFp)(this.configuration).getClaimRegulation1(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1118
- };
1119
615
  /**
1120
616
  * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
1121
617
  * @summary List claim regulation items
@@ -1129,20 +625,6 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
1129
625
  if (requestParameters === void 0) { requestParameters = {}; }
1130
626
  return (0, exports.ClaimRegulationsApiFp)(this.configuration).listClaimRegulations(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); });
1131
627
  };
1132
- /**
1133
- * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1134
- * @summary List claim regulation items
1135
- * @param {ClaimRegulationsApiListClaimRegulations1Request} requestParameters Request parameters.
1136
- * @param {*} [options] Override http request option.
1137
- * @deprecated
1138
- * @throws {RequiredError}
1139
- * @memberof ClaimRegulationsApi
1140
- */
1141
- ClaimRegulationsApi.prototype.listClaimRegulations1 = function (requestParameters, options) {
1142
- var _this = this;
1143
- if (requestParameters === void 0) { requestParameters = {}; }
1144
- return (0, exports.ClaimRegulationsApiFp)(this.configuration).listClaimRegulations1(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); });
1145
- };
1146
628
  /**
1147
629
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\"
1148
630
  * @summary Update the claim regulation item
@@ -1155,19 +637,6 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
1155
637
  var _this = this;
1156
638
  return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1157
639
  };
1158
- /**
1159
- * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1160
- * @summary Update the claim regulation item
1161
- * @param {ClaimRegulationsApiUpdateClaimRegulation1Request} requestParameters Request parameters.
1162
- * @param {*} [options] Override http request option.
1163
- * @deprecated
1164
- * @throws {RequiredError}
1165
- * @memberof ClaimRegulationsApi
1166
- */
1167
- ClaimRegulationsApi.prototype.updateClaimRegulation1 = function (requestParameters, options) {
1168
- var _this = this;
1169
- return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation1(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1170
- };
1171
640
  return ClaimRegulationsApi;
1172
641
  }(base_1.BaseAPI));
1173
642
  exports.ClaimRegulationsApi = ClaimRegulationsApi;