@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
@@ -45,54 +45,6 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
45
45
  createClaimRegulation: async (createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
46
  // verify required parameter 'createRegulationItemRequestDto' is not null or undefined
47
47
  assertParamExists('createClaimRegulation', 'createRegulationItemRequestDto', createRegulationItemRequestDto)
48
- const localVarPath = `/claimservice/v1/regulations`;
49
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51
- let baseOptions;
52
- let baseAccessToken;
53
- if (configuration) {
54
- baseOptions = configuration.baseOptions;
55
- baseAccessToken = configuration.accessToken;
56
- }
57
-
58
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
59
- const localVarHeaderParameter = {} as any;
60
- const localVarQueryParameter = {} as any;
61
-
62
- // authentication bearer required
63
- // http bearer authentication required
64
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
65
-
66
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
67
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
68
- }
69
-
70
-
71
-
72
- localVarHeaderParameter['Content-Type'] = 'application/json';
73
-
74
- setSearchParams(localVarUrlObj, localVarQueryParameter);
75
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
76
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
77
- localVarRequestOptions.data = serializeDataIfNeeded(createRegulationItemRequestDto, localVarRequestOptions, configuration)
78
-
79
- return {
80
- url: toPathString(localVarUrlObj),
81
- options: localVarRequestOptions,
82
- };
83
- },
84
- /**
85
- * 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.
86
- * @summary Create the claim regulation item
87
- * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
88
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
89
- * @param {*} [options] Override http request option.
90
- * @deprecated
91
- * @throws {RequiredError}
92
- */
93
- createClaimRegulation1: async (createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
94
- // verify required parameter 'createRegulationItemRequestDto' is not null or undefined
95
- assertParamExists('createClaimRegulation1', 'createRegulationItemRequestDto', createRegulationItemRequestDto)
96
48
  const localVarPath = `/v1/claims/regulations`;
97
49
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
98
50
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -140,52 +92,6 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
140
92
  deleteClaimRegulations: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
141
93
  // verify required parameter 'code' is not null or undefined
142
94
  assertParamExists('deleteClaimRegulations', 'code', code)
143
- const localVarPath = `/claimservice/v1/regulations/{code}`
144
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
145
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
146
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
147
- let baseOptions;
148
- let baseAccessToken;
149
- if (configuration) {
150
- baseOptions = configuration.baseOptions;
151
- baseAccessToken = configuration.accessToken;
152
- }
153
-
154
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
155
- const localVarHeaderParameter = {} as any;
156
- const localVarQueryParameter = {} as any;
157
-
158
- // authentication bearer required
159
- // http bearer authentication required
160
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
161
-
162
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
163
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
164
- }
165
-
166
-
167
-
168
- setSearchParams(localVarUrlObj, localVarQueryParameter);
169
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
170
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
171
-
172
- return {
173
- url: toPathString(localVarUrlObj),
174
- options: localVarRequestOptions,
175
- };
176
- },
177
- /**
178
- * 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.
179
- * @summary Delete the claim regulation item
180
- * @param {string} code Unique identifier for the object.
181
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
182
- * @param {*} [options] Override http request option.
183
- * @deprecated
184
- * @throws {RequiredError}
185
- */
186
- deleteClaimRegulations1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
187
- // verify required parameter 'code' is not null or undefined
188
- assertParamExists('deleteClaimRegulations1', 'code', code)
189
95
  const localVarPath = `/v1/claims/regulations/{code}`
190
96
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
191
97
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -232,57 +138,6 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
232
138
  getClaimRegulation: async (code: string, authorization?: string, expand?: 'claim', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
233
139
  // verify required parameter 'code' is not null or undefined
234
140
  assertParamExists('getClaimRegulation', 'code', code)
235
- const localVarPath = `/claimservice/v1/regulations/{code}`
236
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
237
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
238
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
239
- let baseOptions;
240
- let baseAccessToken;
241
- if (configuration) {
242
- baseOptions = configuration.baseOptions;
243
- baseAccessToken = configuration.accessToken;
244
- }
245
-
246
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
247
- const localVarHeaderParameter = {} as any;
248
- const localVarQueryParameter = {} as any;
249
-
250
- // authentication bearer required
251
- // http bearer authentication required
252
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
253
-
254
- if (expand !== undefined) {
255
- localVarQueryParameter['expand'] = expand;
256
- }
257
-
258
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
259
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
260
- }
261
-
262
-
263
-
264
- setSearchParams(localVarUrlObj, localVarQueryParameter);
265
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
266
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
267
-
268
- return {
269
- url: toPathString(localVarUrlObj),
270
- options: localVarRequestOptions,
271
- };
272
- },
273
- /**
274
- * 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.
275
- * @summary Retrieve the claim regulation item
276
- * @param {string} code
277
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
278
- * @param {'claim'} [expand]
279
- * @param {*} [options] Override http request option.
280
- * @deprecated
281
- * @throws {RequiredError}
282
- */
283
- getClaimRegulation1: async (code: string, authorization?: string, expand?: 'claim', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
284
- // verify required parameter 'code' is not null or undefined
285
- assertParamExists('getClaimRegulation1', 'code', code)
286
141
  const localVarPath = `/v1/claims/regulations/{code}`
287
142
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
288
143
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -336,83 +191,6 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
336
191
  * @throws {RequiredError}
337
192
  */
338
193
  listClaimRegulations: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
339
- const localVarPath = `/claimservice/v1/regulations`;
340
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
341
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
342
- let baseOptions;
343
- let baseAccessToken;
344
- if (configuration) {
345
- baseOptions = configuration.baseOptions;
346
- baseAccessToken = configuration.accessToken;
347
- }
348
-
349
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
350
- const localVarHeaderParameter = {} as any;
351
- const localVarQueryParameter = {} as any;
352
-
353
- // authentication bearer required
354
- // http bearer authentication required
355
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
356
-
357
- if (pageSize !== undefined) {
358
- localVarQueryParameter['pageSize'] = pageSize;
359
- }
360
-
361
- if (pageToken !== undefined) {
362
- localVarQueryParameter['pageToken'] = pageToken;
363
- }
364
-
365
- if (filter !== undefined) {
366
- localVarQueryParameter['filter'] = filter;
367
- }
368
-
369
- if (search !== undefined) {
370
- localVarQueryParameter['search'] = search;
371
- }
372
-
373
- if (order !== undefined) {
374
- localVarQueryParameter['order'] = order;
375
- }
376
-
377
- if (expand !== undefined) {
378
- localVarQueryParameter['expand'] = expand;
379
- }
380
-
381
- if (filters !== undefined) {
382
- localVarQueryParameter['filters'] = filters;
383
- }
384
-
385
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
386
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
387
- }
388
-
389
-
390
-
391
- setSearchParams(localVarUrlObj, localVarQueryParameter);
392
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
393
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
394
-
395
- return {
396
- url: toPathString(localVarUrlObj),
397
- options: localVarRequestOptions,
398
- };
399
- },
400
- /**
401
- * 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.
402
- * @summary List claim regulation items
403
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
404
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
405
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
406
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType&lt;/i&gt;
407
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, claimCode, currency&lt;/i&gt;
408
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: amount, bookingDate, createdAt, updatedAt&lt;/i&gt;
409
- * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claim&lt;i&gt;
410
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType&lt;/i&gt;
411
- * @param {*} [options] Override http request option.
412
- * @deprecated
413
- * @throws {RequiredError}
414
- */
415
- listClaimRegulations1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
416
194
  const localVarPath = `/v1/claims/regulations`;
417
195
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
418
196
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -488,58 +266,6 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
488
266
  assertParamExists('updateClaimRegulation', 'code', code)
489
267
  // verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
490
268
  assertParamExists('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto)
491
- const localVarPath = `/claimservice/v1/regulations/{code}`
492
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
493
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
494
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
495
- let baseOptions;
496
- let baseAccessToken;
497
- if (configuration) {
498
- baseOptions = configuration.baseOptions;
499
- baseAccessToken = configuration.accessToken;
500
- }
501
-
502
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
503
- const localVarHeaderParameter = {} as any;
504
- const localVarQueryParameter = {} as any;
505
-
506
- // authentication bearer required
507
- // http bearer authentication required
508
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
509
-
510
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
511
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
512
- }
513
-
514
-
515
-
516
- localVarHeaderParameter['Content-Type'] = 'application/json';
517
-
518
- setSearchParams(localVarUrlObj, localVarQueryParameter);
519
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
520
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
521
- localVarRequestOptions.data = serializeDataIfNeeded(updateRegulationItemRequestDto, localVarRequestOptions, configuration)
522
-
523
- return {
524
- url: toPathString(localVarUrlObj),
525
- options: localVarRequestOptions,
526
- };
527
- },
528
- /**
529
- * 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.
530
- * @summary Update the claim regulation item
531
- * @param {string} code Unique identifier for the object.
532
- * @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
533
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
534
- * @param {*} [options] Override http request option.
535
- * @deprecated
536
- * @throws {RequiredError}
537
- */
538
- updateClaimRegulation1: async (code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
539
- // verify required parameter 'code' is not null or undefined
540
- assertParamExists('updateClaimRegulation1', 'code', code)
541
- // verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
542
- assertParamExists('updateClaimRegulation1', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto)
543
269
  const localVarPath = `/v1/claims/regulations/{code}`
544
270
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
545
271
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -595,46 +321,20 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
595
321
  * @param {*} [options] Override http request option.
596
322
  * @throws {RequiredError}
597
323
  */
598
- async createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
599
- const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimRegulation(createRegulationItemRequestDto, authorization, options);
600
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
601
- },
602
- /**
603
- * 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.
604
- * @summary Create the claim regulation item
605
- * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
606
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
607
- * @param {*} [options] Override http request option.
608
- * @deprecated
609
- * @throws {RequiredError}
610
- */
611
- async createClaimRegulation1(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
612
- const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimRegulation1(createRegulationItemRequestDto, authorization, options);
613
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
614
- },
615
- /**
616
- * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
617
- * @summary Delete the claim regulation item
618
- * @param {string} code Unique identifier for the object.
619
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
620
- * @param {*} [options] Override http request option.
621
- * @throws {RequiredError}
622
- */
623
- async deleteClaimRegulations(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
624
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimRegulations(code, authorization, options);
324
+ async createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
325
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimRegulation(createRegulationItemRequestDto, authorization, options);
625
326
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
626
327
  },
627
328
  /**
628
- * 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.
329
+ * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
629
330
  * @summary Delete the claim regulation item
630
331
  * @param {string} code Unique identifier for the object.
631
332
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
632
333
  * @param {*} [options] Override http request option.
633
- * @deprecated
634
334
  * @throws {RequiredError}
635
335
  */
636
- async deleteClaimRegulations1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
637
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimRegulations1(code, authorization, options);
336
+ async deleteClaimRegulations(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
337
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimRegulations(code, authorization, options);
638
338
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
639
339
  },
640
340
  /**
@@ -650,20 +350,6 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
650
350
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulation(code, authorization, expand, options);
651
351
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
652
352
  },
653
- /**
654
- * 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.
655
- * @summary Retrieve the claim regulation item
656
- * @param {string} code
657
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
658
- * @param {'claim'} [expand]
659
- * @param {*} [options] Override http request option.
660
- * @deprecated
661
- * @throws {RequiredError}
662
- */
663
- async getClaimRegulation1(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
664
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulation1(code, authorization, expand, options);
665
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
666
- },
667
353
  /**
668
354
  * 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\"
669
355
  * @summary List claim regulation items
@@ -682,25 +368,6 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
682
368
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
683
369
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
684
370
  },
685
- /**
686
- * 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.
687
- * @summary List claim regulation items
688
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
689
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
690
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
691
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType&lt;/i&gt;
692
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, claimCode, currency&lt;/i&gt;
693
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: amount, bookingDate, createdAt, updatedAt&lt;/i&gt;
694
- * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claim&lt;i&gt;
695
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType&lt;/i&gt;
696
- * @param {*} [options] Override http request option.
697
- * @deprecated
698
- * @throws {RequiredError}
699
- */
700
- async listClaimRegulations1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>> {
701
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
702
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
703
- },
704
371
  /**
705
372
  * 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\"
706
373
  * @summary Update the claim regulation item
@@ -714,20 +381,6 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
714
381
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options);
715
382
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
716
383
  },
717
- /**
718
- * 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.
719
- * @summary Update the claim regulation item
720
- * @param {string} code Unique identifier for the object.
721
- * @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
722
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
723
- * @param {*} [options] Override http request option.
724
- * @deprecated
725
- * @throws {RequiredError}
726
- */
727
- async updateClaimRegulation1(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
728
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation1(code, updateRegulationItemRequestDto, authorization, options);
729
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
730
- },
731
384
  }
732
385
  };
733
386
 
@@ -749,18 +402,6 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
749
402
  createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
750
403
  return localVarFp.createClaimRegulation(createRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
751
404
  },
752
- /**
753
- * 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.
754
- * @summary Create the claim regulation item
755
- * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
756
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
757
- * @param {*} [options] Override http request option.
758
- * @deprecated
759
- * @throws {RequiredError}
760
- */
761
- createClaimRegulation1(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
762
- return localVarFp.createClaimRegulation1(createRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
763
- },
764
405
  /**
765
406
  * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
766
407
  * @summary Delete the claim regulation item
@@ -772,18 +413,6 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
772
413
  deleteClaimRegulations(code: string, authorization?: string, options?: any): AxiosPromise<void> {
773
414
  return localVarFp.deleteClaimRegulations(code, authorization, options).then((request) => request(axios, basePath));
774
415
  },
775
- /**
776
- * 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.
777
- * @summary Delete the claim regulation item
778
- * @param {string} code Unique identifier for the object.
779
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
780
- * @param {*} [options] Override http request option.
781
- * @deprecated
782
- * @throws {RequiredError}
783
- */
784
- deleteClaimRegulations1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
785
- return localVarFp.deleteClaimRegulations1(code, authorization, options).then((request) => request(axios, basePath));
786
- },
787
416
  /**
788
417
  * 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\"
789
418
  * @summary Retrieve the claim regulation item
@@ -796,19 +425,6 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
796
425
  getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass> {
797
426
  return localVarFp.getClaimRegulation(code, authorization, expand, options).then((request) => request(axios, basePath));
798
427
  },
799
- /**
800
- * 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.
801
- * @summary Retrieve the claim regulation item
802
- * @param {string} code
803
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
804
- * @param {'claim'} [expand]
805
- * @param {*} [options] Override http request option.
806
- * @deprecated
807
- * @throws {RequiredError}
808
- */
809
- getClaimRegulation1(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass> {
810
- return localVarFp.getClaimRegulation1(code, authorization, expand, options).then((request) => request(axios, basePath));
811
- },
812
428
  /**
813
429
  * 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\"
814
430
  * @summary List claim regulation items
@@ -826,24 +442,6 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
826
442
  listClaimRegulations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
827
443
  return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
828
444
  },
829
- /**
830
- * 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.
831
- * @summary List claim regulation items
832
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
833
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
834
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
835
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType&lt;/i&gt;
836
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, claimCode, currency&lt;/i&gt;
837
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: amount, bookingDate, createdAt, updatedAt&lt;/i&gt;
838
- * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claim&lt;i&gt;
839
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType&lt;/i&gt;
840
- * @param {*} [options] Override http request option.
841
- * @deprecated
842
- * @throws {RequiredError}
843
- */
844
- listClaimRegulations1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
845
- return localVarFp.listClaimRegulations1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
846
- },
847
445
  /**
848
446
  * 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\"
849
447
  * @summary Update the claim regulation item
@@ -856,19 +454,6 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
856
454
  updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
857
455
  return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
858
456
  },
859
- /**
860
- * 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.
861
- * @summary Update the claim regulation item
862
- * @param {string} code Unique identifier for the object.
863
- * @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
864
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
865
- * @param {*} [options] Override http request option.
866
- * @deprecated
867
- * @throws {RequiredError}
868
- */
869
- updateClaimRegulation1(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
870
- return localVarFp.updateClaimRegulation1(code, updateRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
871
- },
872
457
  };
873
458
  };
874
459
 
@@ -893,27 +478,6 @@ export interface ClaimRegulationsApiCreateClaimRegulationRequest {
893
478
  readonly authorization?: string
894
479
  }
895
480
 
896
- /**
897
- * Request parameters for createClaimRegulation1 operation in ClaimRegulationsApi.
898
- * @export
899
- * @interface ClaimRegulationsApiCreateClaimRegulation1Request
900
- */
901
- export interface ClaimRegulationsApiCreateClaimRegulation1Request {
902
- /**
903
- *
904
- * @type {CreateRegulationItemRequestDto}
905
- * @memberof ClaimRegulationsApiCreateClaimRegulation1
906
- */
907
- readonly createRegulationItemRequestDto: CreateRegulationItemRequestDto
908
-
909
- /**
910
- * Bearer Token: provided by the login endpoint under the name accessToken.
911
- * @type {string}
912
- * @memberof ClaimRegulationsApiCreateClaimRegulation1
913
- */
914
- readonly authorization?: string
915
- }
916
-
917
481
  /**
918
482
  * Request parameters for deleteClaimRegulations operation in ClaimRegulationsApi.
919
483
  * @export
@@ -935,27 +499,6 @@ export interface ClaimRegulationsApiDeleteClaimRegulationsRequest {
935
499
  readonly authorization?: string
936
500
  }
937
501
 
938
- /**
939
- * Request parameters for deleteClaimRegulations1 operation in ClaimRegulationsApi.
940
- * @export
941
- * @interface ClaimRegulationsApiDeleteClaimRegulations1Request
942
- */
943
- export interface ClaimRegulationsApiDeleteClaimRegulations1Request {
944
- /**
945
- * Unique identifier for the object.
946
- * @type {string}
947
- * @memberof ClaimRegulationsApiDeleteClaimRegulations1
948
- */
949
- readonly code: string
950
-
951
- /**
952
- * Bearer Token: provided by the login endpoint under the name accessToken.
953
- * @type {string}
954
- * @memberof ClaimRegulationsApiDeleteClaimRegulations1
955
- */
956
- readonly authorization?: string
957
- }
958
-
959
502
  /**
960
503
  * Request parameters for getClaimRegulation operation in ClaimRegulationsApi.
961
504
  * @export
@@ -984,34 +527,6 @@ export interface ClaimRegulationsApiGetClaimRegulationRequest {
984
527
  readonly expand?: 'claim'
985
528
  }
986
529
 
987
- /**
988
- * Request parameters for getClaimRegulation1 operation in ClaimRegulationsApi.
989
- * @export
990
- * @interface ClaimRegulationsApiGetClaimRegulation1Request
991
- */
992
- export interface ClaimRegulationsApiGetClaimRegulation1Request {
993
- /**
994
- *
995
- * @type {string}
996
- * @memberof ClaimRegulationsApiGetClaimRegulation1
997
- */
998
- readonly code: string
999
-
1000
- /**
1001
- * Bearer Token: provided by the login endpoint under the name accessToken.
1002
- * @type {string}
1003
- * @memberof ClaimRegulationsApiGetClaimRegulation1
1004
- */
1005
- readonly authorization?: string
1006
-
1007
- /**
1008
- *
1009
- * @type {'claim'}
1010
- * @memberof ClaimRegulationsApiGetClaimRegulation1
1011
- */
1012
- readonly expand?: 'claim'
1013
- }
1014
-
1015
530
  /**
1016
531
  * Request parameters for listClaimRegulations operation in ClaimRegulationsApi.
1017
532
  * @export
@@ -1075,69 +590,6 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
1075
590
  readonly filters?: string
1076
591
  }
1077
592
 
1078
- /**
1079
- * Request parameters for listClaimRegulations1 operation in ClaimRegulationsApi.
1080
- * @export
1081
- * @interface ClaimRegulationsApiListClaimRegulations1Request
1082
- */
1083
- export interface ClaimRegulationsApiListClaimRegulations1Request {
1084
- /**
1085
- * Bearer Token: provided by the login endpoint under the name accessToken.
1086
- * @type {string}
1087
- * @memberof ClaimRegulationsApiListClaimRegulations1
1088
- */
1089
- readonly authorization?: string
1090
-
1091
- /**
1092
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1093
- * @type {number}
1094
- * @memberof ClaimRegulationsApiListClaimRegulations1
1095
- */
1096
- readonly pageSize?: number
1097
-
1098
- /**
1099
- * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1100
- * @type {string}
1101
- * @memberof ClaimRegulationsApiListClaimRegulations1
1102
- */
1103
- readonly pageToken?: string
1104
-
1105
- /**
1106
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType&lt;/i&gt;
1107
- * @type {string}
1108
- * @memberof ClaimRegulationsApiListClaimRegulations1
1109
- */
1110
- readonly filter?: string
1111
-
1112
- /**
1113
- * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, claimCode, currency&lt;/i&gt;
1114
- * @type {string}
1115
- * @memberof ClaimRegulationsApiListClaimRegulations1
1116
- */
1117
- readonly search?: string
1118
-
1119
- /**
1120
- * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: amount, bookingDate, createdAt, updatedAt&lt;/i&gt;
1121
- * @type {string}
1122
- * @memberof ClaimRegulationsApiListClaimRegulations1
1123
- */
1124
- readonly order?: string
1125
-
1126
- /**
1127
- * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claim&lt;i&gt;
1128
- * @type {string}
1129
- * @memberof ClaimRegulationsApiListClaimRegulations1
1130
- */
1131
- readonly expand?: string
1132
-
1133
- /**
1134
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType&lt;/i&gt;
1135
- * @type {string}
1136
- * @memberof ClaimRegulationsApiListClaimRegulations1
1137
- */
1138
- readonly filters?: string
1139
- }
1140
-
1141
593
  /**
1142
594
  * Request parameters for updateClaimRegulation operation in ClaimRegulationsApi.
1143
595
  * @export
@@ -1166,34 +618,6 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
1166
618
  readonly authorization?: string
1167
619
  }
1168
620
 
1169
- /**
1170
- * Request parameters for updateClaimRegulation1 operation in ClaimRegulationsApi.
1171
- * @export
1172
- * @interface ClaimRegulationsApiUpdateClaimRegulation1Request
1173
- */
1174
- export interface ClaimRegulationsApiUpdateClaimRegulation1Request {
1175
- /**
1176
- * Unique identifier for the object.
1177
- * @type {string}
1178
- * @memberof ClaimRegulationsApiUpdateClaimRegulation1
1179
- */
1180
- readonly code: string
1181
-
1182
- /**
1183
- *
1184
- * @type {UpdateRegulationItemRequestDto}
1185
- * @memberof ClaimRegulationsApiUpdateClaimRegulation1
1186
- */
1187
- readonly updateRegulationItemRequestDto: UpdateRegulationItemRequestDto
1188
-
1189
- /**
1190
- * Bearer Token: provided by the login endpoint under the name accessToken.
1191
- * @type {string}
1192
- * @memberof ClaimRegulationsApiUpdateClaimRegulation1
1193
- */
1194
- readonly authorization?: string
1195
- }
1196
-
1197
621
  /**
1198
622
  * ClaimRegulationsApi - object-oriented interface
1199
623
  * @export
@@ -1213,19 +637,6 @@ export class ClaimRegulationsApi extends BaseAPI {
1213
637
  return ClaimRegulationsApiFp(this.configuration).createClaimRegulation(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1214
638
  }
1215
639
 
1216
- /**
1217
- * 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.
1218
- * @summary Create the claim regulation item
1219
- * @param {ClaimRegulationsApiCreateClaimRegulation1Request} requestParameters Request parameters.
1220
- * @param {*} [options] Override http request option.
1221
- * @deprecated
1222
- * @throws {RequiredError}
1223
- * @memberof ClaimRegulationsApi
1224
- */
1225
- public createClaimRegulation1(requestParameters: ClaimRegulationsApiCreateClaimRegulation1Request, options?: AxiosRequestConfig) {
1226
- return ClaimRegulationsApiFp(this.configuration).createClaimRegulation1(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1227
- }
1228
-
1229
640
  /**
1230
641
  * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
1231
642
  * @summary Delete the claim regulation item
@@ -1238,19 +649,6 @@ export class ClaimRegulationsApi extends BaseAPI {
1238
649
  return ClaimRegulationsApiFp(this.configuration).deleteClaimRegulations(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1239
650
  }
1240
651
 
1241
- /**
1242
- * 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.
1243
- * @summary Delete the claim regulation item
1244
- * @param {ClaimRegulationsApiDeleteClaimRegulations1Request} requestParameters Request parameters.
1245
- * @param {*} [options] Override http request option.
1246
- * @deprecated
1247
- * @throws {RequiredError}
1248
- * @memberof ClaimRegulationsApi
1249
- */
1250
- public deleteClaimRegulations1(requestParameters: ClaimRegulationsApiDeleteClaimRegulations1Request, options?: AxiosRequestConfig) {
1251
- return ClaimRegulationsApiFp(this.configuration).deleteClaimRegulations1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1252
- }
1253
-
1254
652
  /**
1255
653
  * 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\"
1256
654
  * @summary Retrieve the claim regulation item
@@ -1263,19 +661,6 @@ export class ClaimRegulationsApi extends BaseAPI {
1263
661
  return ClaimRegulationsApiFp(this.configuration).getClaimRegulation(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1264
662
  }
1265
663
 
1266
- /**
1267
- * 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.
1268
- * @summary Retrieve the claim regulation item
1269
- * @param {ClaimRegulationsApiGetClaimRegulation1Request} requestParameters Request parameters.
1270
- * @param {*} [options] Override http request option.
1271
- * @deprecated
1272
- * @throws {RequiredError}
1273
- * @memberof ClaimRegulationsApi
1274
- */
1275
- public getClaimRegulation1(requestParameters: ClaimRegulationsApiGetClaimRegulation1Request, options?: AxiosRequestConfig) {
1276
- return ClaimRegulationsApiFp(this.configuration).getClaimRegulation1(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1277
- }
1278
-
1279
664
  /**
1280
665
  * 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\"
1281
666
  * @summary List claim regulation items
@@ -1288,19 +673,6 @@ export class ClaimRegulationsApi extends BaseAPI {
1288
673
  return ClaimRegulationsApiFp(this.configuration).listClaimRegulations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1289
674
  }
1290
675
 
1291
- /**
1292
- * 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.
1293
- * @summary List claim regulation items
1294
- * @param {ClaimRegulationsApiListClaimRegulations1Request} requestParameters Request parameters.
1295
- * @param {*} [options] Override http request option.
1296
- * @deprecated
1297
- * @throws {RequiredError}
1298
- * @memberof ClaimRegulationsApi
1299
- */
1300
- public listClaimRegulations1(requestParameters: ClaimRegulationsApiListClaimRegulations1Request = {}, options?: AxiosRequestConfig) {
1301
- return ClaimRegulationsApiFp(this.configuration).listClaimRegulations1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1302
- }
1303
-
1304
676
  /**
1305
677
  * 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\"
1306
678
  * @summary Update the claim regulation item
@@ -1312,17 +684,4 @@ export class ClaimRegulationsApi extends BaseAPI {
1312
684
  public updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig) {
1313
685
  return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1314
686
  }
1315
-
1316
- /**
1317
- * 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.
1318
- * @summary Update the claim regulation item
1319
- * @param {ClaimRegulationsApiUpdateClaimRegulation1Request} requestParameters Request parameters.
1320
- * @param {*} [options] Override http request option.
1321
- * @deprecated
1322
- * @throws {RequiredError}
1323
- * @memberof ClaimRegulationsApi
1324
- */
1325
- public updateClaimRegulation1(requestParameters: ClaimRegulationsApiUpdateClaimRegulation1Request, options?: AxiosRequestConfig) {
1326
- return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation1(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1327
- }
1328
687
  }