@emilgroup/claim-sdk 1.40.1-beta.7 → 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 +6 -613
  4. package/api/claim-partners-api.ts +0 -504
  5. package/api/claim-regulations-api.ts +3 -624
  6. package/api/claim-statuses-api.ts +5 -728
  7. package/api/claims-api.ts +4 -828
  8. package/api/health-check-api.ts +0 -62
  9. package/api/settlements-api.ts +6 -613
  10. package/api.ts +0 -2
  11. package/dist/api/claim-partner-roles-api.d.ts +0 -338
  12. package/dist/api/claim-partner-roles-api.js +0 -505
  13. package/dist/api/claim-partners-api.d.ts +0 -283
  14. package/dist/api/claim-partners-api.js +0 -412
  15. package/dist/api/claim-regulations-api.d.ts +0 -347
  16. package/dist/api/claim-regulations-api.js +0 -511
  17. package/dist/api/claim-statuses-api.d.ts +0 -402
  18. package/dist/api/claim-statuses-api.js +11 -615
  19. package/dist/api/claims-api.d.ts +0 -457
  20. package/dist/api/claims-api.js +30 -726
  21. package/dist/api/health-check-api.d.ts +0 -29
  22. package/dist/api/health-check-api.js +0 -69
  23. package/dist/api/settlements-api.d.ts +0 -338
  24. package/dist/api/settlements-api.js +0 -505
  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 -1316
  44. package/dist/api/claim-positions-api.d.ts +0 -740
  45. package/dist/api/claim-positions-api.js +0 -1157
  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
@@ -69,53 +69,6 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
69
69
 
70
70
 
71
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\"
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
- * @throws {RequiredError}
91
- */
92
- createClaimRegulation1: async (createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
93
- // verify required parameter 'createRegulationItemRequestDto' is not null or undefined
94
- assertParamExists('createClaimRegulation1', 'createRegulationItemRequestDto', createRegulationItemRequestDto)
95
- const localVarPath = `/claimservice/v1/regulations`;
96
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
97
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
98
- let baseOptions;
99
- let baseAccessToken;
100
- if (configuration) {
101
- baseOptions = configuration.baseOptions;
102
- baseAccessToken = configuration.accessToken;
103
- }
104
-
105
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
106
- const localVarHeaderParameter = {} as any;
107
- const localVarQueryParameter = {} as any;
108
-
109
- // authentication bearer required
110
- // http bearer authentication required
111
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
112
-
113
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
114
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
115
- }
116
-
117
-
118
-
119
72
  localVarHeaderParameter['Content-Type'] = 'application/json';
120
73
 
121
74
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -164,51 +117,6 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
164
117
 
165
118
 
166
119
 
167
- setSearchParams(localVarUrlObj, localVarQueryParameter);
168
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
169
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
170
-
171
- return {
172
- url: toPathString(localVarUrlObj),
173
- options: localVarRequestOptions,
174
- };
175
- },
176
- /**
177
- * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
178
- * @summary Delete the claim regulation item
179
- * @param {string} code Unique identifier for the object.
180
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
181
- * @param {*} [options] Override http request option.
182
- * @throws {RequiredError}
183
- */
184
- deleteClaimRegulations1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
185
- // verify required parameter 'code' is not null or undefined
186
- assertParamExists('deleteClaimRegulations1', 'code', code)
187
- const localVarPath = `/claimservice/v1/regulations/{code}`
188
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
189
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
190
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
191
- let baseOptions;
192
- let baseAccessToken;
193
- if (configuration) {
194
- baseOptions = configuration.baseOptions;
195
- baseAccessToken = configuration.accessToken;
196
- }
197
-
198
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
199
- const localVarHeaderParameter = {} as any;
200
- const localVarQueryParameter = {} as any;
201
-
202
- // authentication bearer required
203
- // http bearer authentication required
204
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
205
-
206
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
207
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
208
- }
209
-
210
-
211
-
212
120
  setSearchParams(localVarUrlObj, localVarQueryParameter);
213
121
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
214
122
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -259,56 +167,6 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
259
167
 
260
168
 
261
169
 
262
- setSearchParams(localVarUrlObj, localVarQueryParameter);
263
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
264
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
265
-
266
- return {
267
- url: toPathString(localVarUrlObj),
268
- options: localVarRequestOptions,
269
- };
270
- },
271
- /**
272
- * 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\"
273
- * @summary Retrieve the claim regulation item
274
- * @param {string} code
275
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
276
- * @param {'claim'} [expand]
277
- * @param {*} [options] Override http request option.
278
- * @throws {RequiredError}
279
- */
280
- getClaimRegulation1: async (code: string, authorization?: string, expand?: 'claim', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
281
- // verify required parameter 'code' is not null or undefined
282
- assertParamExists('getClaimRegulation1', 'code', code)
283
- const localVarPath = `/claimservice/v1/regulations/{code}`
284
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
285
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
286
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
287
- let baseOptions;
288
- let baseAccessToken;
289
- if (configuration) {
290
- baseOptions = configuration.baseOptions;
291
- baseAccessToken = configuration.accessToken;
292
- }
293
-
294
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
295
- const localVarHeaderParameter = {} as any;
296
- const localVarQueryParameter = {} as any;
297
-
298
- // authentication bearer required
299
- // http bearer authentication required
300
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
301
-
302
- if (expand !== undefined) {
303
- localVarQueryParameter['expand'] = expand;
304
- }
305
-
306
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
307
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
308
- }
309
-
310
-
311
-
312
170
  setSearchParams(localVarUrlObj, localVarQueryParameter);
313
171
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
314
172
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -385,82 +243,6 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
385
243
 
386
244
 
387
245
 
388
- setSearchParams(localVarUrlObj, localVarQueryParameter);
389
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
390
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
391
-
392
- return {
393
- url: toPathString(localVarUrlObj),
394
- options: localVarRequestOptions,
395
- };
396
- },
397
- /**
398
- * 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\"
399
- * @summary List claim regulation items
400
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
401
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
402
- * @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.
403
- * @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;
404
- * @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;
405
- * @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;
406
- * @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;
407
- * @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;
408
- * @param {*} [options] Override http request option.
409
- * @throws {RequiredError}
410
- */
411
- listClaimRegulations1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
412
- const localVarPath = `/claimservice/v1/regulations`;
413
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
414
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
415
- let baseOptions;
416
- let baseAccessToken;
417
- if (configuration) {
418
- baseOptions = configuration.baseOptions;
419
- baseAccessToken = configuration.accessToken;
420
- }
421
-
422
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
423
- const localVarHeaderParameter = {} as any;
424
- const localVarQueryParameter = {} as any;
425
-
426
- // authentication bearer required
427
- // http bearer authentication required
428
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
429
-
430
- if (pageSize !== undefined) {
431
- localVarQueryParameter['pageSize'] = pageSize;
432
- }
433
-
434
- if (pageToken !== undefined) {
435
- localVarQueryParameter['pageToken'] = pageToken;
436
- }
437
-
438
- if (filter !== undefined) {
439
- localVarQueryParameter['filter'] = filter;
440
- }
441
-
442
- if (search !== undefined) {
443
- localVarQueryParameter['search'] = search;
444
- }
445
-
446
- if (order !== undefined) {
447
- localVarQueryParameter['order'] = order;
448
- }
449
-
450
- if (expand !== undefined) {
451
- localVarQueryParameter['expand'] = expand;
452
- }
453
-
454
- if (filters !== undefined) {
455
- localVarQueryParameter['filters'] = filters;
456
- }
457
-
458
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
459
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
460
- }
461
-
462
-
463
-
464
246
  setSearchParams(localVarUrlObj, localVarQueryParameter);
465
247
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
466
248
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -509,57 +291,6 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
509
291
 
510
292
 
511
293
 
512
- localVarHeaderParameter['Content-Type'] = 'application/json';
513
-
514
- setSearchParams(localVarUrlObj, localVarQueryParameter);
515
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
516
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
517
- localVarRequestOptions.data = serializeDataIfNeeded(updateRegulationItemRequestDto, localVarRequestOptions, configuration)
518
-
519
- return {
520
- url: toPathString(localVarUrlObj),
521
- options: localVarRequestOptions,
522
- };
523
- },
524
- /**
525
- * 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\"
526
- * @summary Update the claim regulation item
527
- * @param {string} code Unique identifier for the object.
528
- * @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
529
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
530
- * @param {*} [options] Override http request option.
531
- * @throws {RequiredError}
532
- */
533
- updateClaimRegulation1: async (code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
534
- // verify required parameter 'code' is not null or undefined
535
- assertParamExists('updateClaimRegulation1', 'code', code)
536
- // verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
537
- assertParamExists('updateClaimRegulation1', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto)
538
- const localVarPath = `/claimservice/v1/regulations/{code}`
539
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
540
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
541
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
542
- let baseOptions;
543
- let baseAccessToken;
544
- if (configuration) {
545
- baseOptions = configuration.baseOptions;
546
- baseAccessToken = configuration.accessToken;
547
- }
548
-
549
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
550
- const localVarHeaderParameter = {} as any;
551
- const localVarQueryParameter = {} as any;
552
-
553
- // authentication bearer required
554
- // http bearer authentication required
555
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
556
-
557
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
558
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
559
- }
560
-
561
-
562
-
563
294
  localVarHeaderParameter['Content-Type'] = 'application/json';
564
295
 
565
296
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -594,18 +325,6 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
594
325
  const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimRegulation(createRegulationItemRequestDto, authorization, options);
595
326
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
596
327
  },
597
- /**
598
- * This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
599
- * @summary Create the claim regulation item
600
- * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
601
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
602
- * @param {*} [options] Override http request option.
603
- * @throws {RequiredError}
604
- */
605
- async createClaimRegulation1(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
606
- const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimRegulation1(createRegulationItemRequestDto, authorization, options);
607
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
608
- },
609
328
  /**
610
329
  * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
611
330
  * @summary Delete the claim regulation item
@@ -615,32 +334,7 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
615
334
  * @throws {RequiredError}
616
335
  */
617
336
  async deleteClaimRegulations(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
618
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimRegulations(code, authorization, options);
619
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
620
- },
621
- /**
622
- * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
623
- * @summary Delete the claim regulation item
624
- * @param {string} code Unique identifier for the object.
625
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
626
- * @param {*} [options] Override http request option.
627
- * @throws {RequiredError}
628
- */
629
- async deleteClaimRegulations1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
630
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimRegulations1(code, authorization, options);
631
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
632
- },
633
- /**
634
- * 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\"
635
- * @summary Retrieve the claim regulation item
636
- * @param {string} code
637
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
638
- * @param {'claim'} [expand]
639
- * @param {*} [options] Override http request option.
640
- * @throws {RequiredError}
641
- */
642
- async getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
643
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulation(code, authorization, expand, options);
337
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimRegulations(code, authorization, options);
644
338
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
645
339
  },
646
340
  /**
@@ -652,8 +346,8 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
652
346
  * @param {*} [options] Override http request option.
653
347
  * @throws {RequiredError}
654
348
  */
655
- async getClaimRegulation1(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
656
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulation1(code, authorization, expand, options);
349
+ async getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
350
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulation(code, authorization, expand, options);
657
351
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
658
352
  },
659
353
  /**
@@ -674,24 +368,6 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
674
368
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
675
369
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
676
370
  },
677
- /**
678
- * 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\"
679
- * @summary List claim regulation items
680
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
681
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
682
- * @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.
683
- * @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;
684
- * @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;
685
- * @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;
686
- * @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;
687
- * @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;
688
- * @param {*} [options] Override http request option.
689
- * @throws {RequiredError}
690
- */
691
- 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>> {
692
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
693
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
694
- },
695
371
  /**
696
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\"
697
373
  * @summary Update the claim regulation item
@@ -705,19 +381,6 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
705
381
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options);
706
382
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
707
383
  },
708
- /**
709
- * 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\"
710
- * @summary Update the claim regulation item
711
- * @param {string} code Unique identifier for the object.
712
- * @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
713
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
714
- * @param {*} [options] Override http request option.
715
- * @throws {RequiredError}
716
- */
717
- async updateClaimRegulation1(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
718
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation1(code, updateRegulationItemRequestDto, authorization, options);
719
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
720
- },
721
384
  }
722
385
  };
723
386
 
@@ -739,17 +402,6 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
739
402
  createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
740
403
  return localVarFp.createClaimRegulation(createRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
741
404
  },
742
- /**
743
- * This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
744
- * @summary Create the claim regulation item
745
- * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
746
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
747
- * @param {*} [options] Override http request option.
748
- * @throws {RequiredError}
749
- */
750
- createClaimRegulation1(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
751
- return localVarFp.createClaimRegulation1(createRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
752
- },
753
405
  /**
754
406
  * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
755
407
  * @summary Delete the claim regulation item
@@ -761,17 +413,6 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
761
413
  deleteClaimRegulations(code: string, authorization?: string, options?: any): AxiosPromise<void> {
762
414
  return localVarFp.deleteClaimRegulations(code, authorization, options).then((request) => request(axios, basePath));
763
415
  },
764
- /**
765
- * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
766
- * @summary Delete the claim regulation item
767
- * @param {string} code Unique identifier for the object.
768
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
769
- * @param {*} [options] Override http request option.
770
- * @throws {RequiredError}
771
- */
772
- deleteClaimRegulations1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
773
- return localVarFp.deleteClaimRegulations1(code, authorization, options).then((request) => request(axios, basePath));
774
- },
775
416
  /**
776
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\"
777
418
  * @summary Retrieve the claim regulation item
@@ -784,18 +425,6 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
784
425
  getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass> {
785
426
  return localVarFp.getClaimRegulation(code, authorization, expand, options).then((request) => request(axios, basePath));
786
427
  },
787
- /**
788
- * 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
- * @summary Retrieve the claim regulation item
790
- * @param {string} code
791
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
792
- * @param {'claim'} [expand]
793
- * @param {*} [options] Override http request option.
794
- * @throws {RequiredError}
795
- */
796
- getClaimRegulation1(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass> {
797
- return localVarFp.getClaimRegulation1(code, authorization, expand, options).then((request) => request(axios, basePath));
798
- },
799
428
  /**
800
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\"
801
430
  * @summary List claim regulation items
@@ -813,23 +442,6 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
813
442
  listClaimRegulations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
814
443
  return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
815
444
  },
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\"
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&#x3D;1, your subsequent call can include pageToken&#x3D;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.&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;
823
- * @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;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: amount, bookingDate, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claim&lt;i&gt;
826
- * @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;
827
- * @param {*} [options] Override http request option.
828
- * @throws {RequiredError}
829
- */
830
- listClaimRegulations1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
831
- return localVarFp.listClaimRegulations1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
832
- },
833
445
  /**
834
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\"
835
447
  * @summary Update the claim regulation item
@@ -842,18 +454,6 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
842
454
  updateClaimRegulation(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
843
455
  return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
844
456
  },
845
- /**
846
- * 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\"
847
- * @summary Update the claim regulation item
848
- * @param {string} code Unique identifier for the object.
849
- * @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
850
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
851
- * @param {*} [options] Override http request option.
852
- * @throws {RequiredError}
853
- */
854
- updateClaimRegulation1(code: string, updateRegulationItemRequestDto: UpdateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
855
- return localVarFp.updateClaimRegulation1(code, updateRegulationItemRequestDto, authorization, options).then((request) => request(axios, basePath));
856
- },
857
457
  };
858
458
  };
859
459
 
@@ -878,27 +478,6 @@ export interface ClaimRegulationsApiCreateClaimRegulationRequest {
878
478
  readonly authorization?: string
879
479
  }
880
480
 
881
- /**
882
- * Request parameters for createClaimRegulation1 operation in ClaimRegulationsApi.
883
- * @export
884
- * @interface ClaimRegulationsApiCreateClaimRegulation1Request
885
- */
886
- export interface ClaimRegulationsApiCreateClaimRegulation1Request {
887
- /**
888
- *
889
- * @type {CreateRegulationItemRequestDto}
890
- * @memberof ClaimRegulationsApiCreateClaimRegulation1
891
- */
892
- readonly createRegulationItemRequestDto: CreateRegulationItemRequestDto
893
-
894
- /**
895
- * Bearer Token: provided by the login endpoint under the name accessToken.
896
- * @type {string}
897
- * @memberof ClaimRegulationsApiCreateClaimRegulation1
898
- */
899
- readonly authorization?: string
900
- }
901
-
902
481
  /**
903
482
  * Request parameters for deleteClaimRegulations operation in ClaimRegulationsApi.
904
483
  * @export
@@ -920,27 +499,6 @@ export interface ClaimRegulationsApiDeleteClaimRegulationsRequest {
920
499
  readonly authorization?: string
921
500
  }
922
501
 
923
- /**
924
- * Request parameters for deleteClaimRegulations1 operation in ClaimRegulationsApi.
925
- * @export
926
- * @interface ClaimRegulationsApiDeleteClaimRegulations1Request
927
- */
928
- export interface ClaimRegulationsApiDeleteClaimRegulations1Request {
929
- /**
930
- * Unique identifier for the object.
931
- * @type {string}
932
- * @memberof ClaimRegulationsApiDeleteClaimRegulations1
933
- */
934
- readonly code: string
935
-
936
- /**
937
- * Bearer Token: provided by the login endpoint under the name accessToken.
938
- * @type {string}
939
- * @memberof ClaimRegulationsApiDeleteClaimRegulations1
940
- */
941
- readonly authorization?: string
942
- }
943
-
944
502
  /**
945
503
  * Request parameters for getClaimRegulation operation in ClaimRegulationsApi.
946
504
  * @export
@@ -969,34 +527,6 @@ export interface ClaimRegulationsApiGetClaimRegulationRequest {
969
527
  readonly expand?: 'claim'
970
528
  }
971
529
 
972
- /**
973
- * Request parameters for getClaimRegulation1 operation in ClaimRegulationsApi.
974
- * @export
975
- * @interface ClaimRegulationsApiGetClaimRegulation1Request
976
- */
977
- export interface ClaimRegulationsApiGetClaimRegulation1Request {
978
- /**
979
- *
980
- * @type {string}
981
- * @memberof ClaimRegulationsApiGetClaimRegulation1
982
- */
983
- readonly code: string
984
-
985
- /**
986
- * Bearer Token: provided by the login endpoint under the name accessToken.
987
- * @type {string}
988
- * @memberof ClaimRegulationsApiGetClaimRegulation1
989
- */
990
- readonly authorization?: string
991
-
992
- /**
993
- *
994
- * @type {'claim'}
995
- * @memberof ClaimRegulationsApiGetClaimRegulation1
996
- */
997
- readonly expand?: 'claim'
998
- }
999
-
1000
530
  /**
1001
531
  * Request parameters for listClaimRegulations operation in ClaimRegulationsApi.
1002
532
  * @export
@@ -1060,69 +590,6 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
1060
590
  readonly filters?: string
1061
591
  }
1062
592
 
1063
- /**
1064
- * Request parameters for listClaimRegulations1 operation in ClaimRegulationsApi.
1065
- * @export
1066
- * @interface ClaimRegulationsApiListClaimRegulations1Request
1067
- */
1068
- export interface ClaimRegulationsApiListClaimRegulations1Request {
1069
- /**
1070
- * Bearer Token: provided by the login endpoint under the name accessToken.
1071
- * @type {string}
1072
- * @memberof ClaimRegulationsApiListClaimRegulations1
1073
- */
1074
- readonly authorization?: string
1075
-
1076
- /**
1077
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1078
- * @type {number}
1079
- * @memberof ClaimRegulationsApiListClaimRegulations1
1080
- */
1081
- readonly pageSize?: number
1082
-
1083
- /**
1084
- * 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.
1085
- * @type {string}
1086
- * @memberof ClaimRegulationsApiListClaimRegulations1
1087
- */
1088
- readonly pageToken?: string
1089
-
1090
- /**
1091
- * 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;
1092
- * @type {string}
1093
- * @memberof ClaimRegulationsApiListClaimRegulations1
1094
- */
1095
- readonly filter?: string
1096
-
1097
- /**
1098
- * 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;
1099
- * @type {string}
1100
- * @memberof ClaimRegulationsApiListClaimRegulations1
1101
- */
1102
- readonly search?: string
1103
-
1104
- /**
1105
- * 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;
1106
- * @type {string}
1107
- * @memberof ClaimRegulationsApiListClaimRegulations1
1108
- */
1109
- readonly order?: string
1110
-
1111
- /**
1112
- * 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;
1113
- * @type {string}
1114
- * @memberof ClaimRegulationsApiListClaimRegulations1
1115
- */
1116
- readonly expand?: string
1117
-
1118
- /**
1119
- * 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;
1120
- * @type {string}
1121
- * @memberof ClaimRegulationsApiListClaimRegulations1
1122
- */
1123
- readonly filters?: string
1124
- }
1125
-
1126
593
  /**
1127
594
  * Request parameters for updateClaimRegulation operation in ClaimRegulationsApi.
1128
595
  * @export
@@ -1151,34 +618,6 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
1151
618
  readonly authorization?: string
1152
619
  }
1153
620
 
1154
- /**
1155
- * Request parameters for updateClaimRegulation1 operation in ClaimRegulationsApi.
1156
- * @export
1157
- * @interface ClaimRegulationsApiUpdateClaimRegulation1Request
1158
- */
1159
- export interface ClaimRegulationsApiUpdateClaimRegulation1Request {
1160
- /**
1161
- * Unique identifier for the object.
1162
- * @type {string}
1163
- * @memberof ClaimRegulationsApiUpdateClaimRegulation1
1164
- */
1165
- readonly code: string
1166
-
1167
- /**
1168
- *
1169
- * @type {UpdateRegulationItemRequestDto}
1170
- * @memberof ClaimRegulationsApiUpdateClaimRegulation1
1171
- */
1172
- readonly updateRegulationItemRequestDto: UpdateRegulationItemRequestDto
1173
-
1174
- /**
1175
- * Bearer Token: provided by the login endpoint under the name accessToken.
1176
- * @type {string}
1177
- * @memberof ClaimRegulationsApiUpdateClaimRegulation1
1178
- */
1179
- readonly authorization?: string
1180
- }
1181
-
1182
621
  /**
1183
622
  * ClaimRegulationsApi - object-oriented interface
1184
623
  * @export
@@ -1198,18 +637,6 @@ export class ClaimRegulationsApi extends BaseAPI {
1198
637
  return ClaimRegulationsApiFp(this.configuration).createClaimRegulation(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1199
638
  }
1200
639
 
1201
- /**
1202
- * This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
1203
- * @summary Create the claim regulation item
1204
- * @param {ClaimRegulationsApiCreateClaimRegulation1Request} requestParameters Request parameters.
1205
- * @param {*} [options] Override http request option.
1206
- * @throws {RequiredError}
1207
- * @memberof ClaimRegulationsApi
1208
- */
1209
- public createClaimRegulation1(requestParameters: ClaimRegulationsApiCreateClaimRegulation1Request, options?: AxiosRequestConfig) {
1210
- return ClaimRegulationsApiFp(this.configuration).createClaimRegulation1(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1211
- }
1212
-
1213
640
  /**
1214
641
  * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
1215
642
  * @summary Delete the claim regulation item
@@ -1222,18 +649,6 @@ export class ClaimRegulationsApi extends BaseAPI {
1222
649
  return ClaimRegulationsApiFp(this.configuration).deleteClaimRegulations(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1223
650
  }
1224
651
 
1225
- /**
1226
- * This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
1227
- * @summary Delete the claim regulation item
1228
- * @param {ClaimRegulationsApiDeleteClaimRegulations1Request} requestParameters Request parameters.
1229
- * @param {*} [options] Override http request option.
1230
- * @throws {RequiredError}
1231
- * @memberof ClaimRegulationsApi
1232
- */
1233
- public deleteClaimRegulations1(requestParameters: ClaimRegulationsApiDeleteClaimRegulations1Request, options?: AxiosRequestConfig) {
1234
- return ClaimRegulationsApiFp(this.configuration).deleteClaimRegulations1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1235
- }
1236
-
1237
652
  /**
1238
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\"
1239
654
  * @summary Retrieve the claim regulation item
@@ -1246,18 +661,6 @@ export class ClaimRegulationsApi extends BaseAPI {
1246
661
  return ClaimRegulationsApiFp(this.configuration).getClaimRegulation(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1247
662
  }
1248
663
 
1249
- /**
1250
- * 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\"
1251
- * @summary Retrieve the claim regulation item
1252
- * @param {ClaimRegulationsApiGetClaimRegulation1Request} requestParameters Request parameters.
1253
- * @param {*} [options] Override http request option.
1254
- * @throws {RequiredError}
1255
- * @memberof ClaimRegulationsApi
1256
- */
1257
- public getClaimRegulation1(requestParameters: ClaimRegulationsApiGetClaimRegulation1Request, options?: AxiosRequestConfig) {
1258
- return ClaimRegulationsApiFp(this.configuration).getClaimRegulation1(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
1259
- }
1260
-
1261
664
  /**
1262
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\"
1263
666
  * @summary List claim regulation items
@@ -1270,18 +673,6 @@ export class ClaimRegulationsApi extends BaseAPI {
1270
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));
1271
674
  }
1272
675
 
1273
- /**
1274
- * 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\"
1275
- * @summary List claim regulation items
1276
- * @param {ClaimRegulationsApiListClaimRegulations1Request} requestParameters Request parameters.
1277
- * @param {*} [options] Override http request option.
1278
- * @throws {RequiredError}
1279
- * @memberof ClaimRegulationsApi
1280
- */
1281
- public listClaimRegulations1(requestParameters: ClaimRegulationsApiListClaimRegulations1Request = {}, options?: AxiosRequestConfig) {
1282
- 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));
1283
- }
1284
-
1285
676
  /**
1286
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\"
1287
678
  * @summary Update the claim regulation item
@@ -1293,16 +684,4 @@ export class ClaimRegulationsApi extends BaseAPI {
1293
684
  public updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig) {
1294
685
  return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1295
686
  }
1296
-
1297
- /**
1298
- * 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\"
1299
- * @summary Update the claim regulation item
1300
- * @param {ClaimRegulationsApiUpdateClaimRegulation1Request} requestParameters Request parameters.
1301
- * @param {*} [options] Override http request option.
1302
- * @throws {RequiredError}
1303
- * @memberof ClaimRegulationsApi
1304
- */
1305
- public updateClaimRegulation1(requestParameters: ClaimRegulationsApiUpdateClaimRegulation1Request, options?: AxiosRequestConfig) {
1306
- return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation1(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1307
- }
1308
687
  }