@emilgroup/claim-sdk 1.17.2-beta.3 → 1.17.2-beta.5

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 (42) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +2 -2
  3. package/api/claim-regulations-api.ts +62 -32
  4. package/api/health-check-api.ts +5 -5
  5. package/dist/api/claim-regulations-api.d.ts +38 -19
  6. package/dist/api/claim-regulations-api.js +36 -24
  7. package/dist/api/health-check-api.d.ts +4 -4
  8. package/dist/api/health-check-api.js +5 -5
  9. package/dist/models/create-claim-partner-response-class.d.ts +1 -1
  10. package/dist/models/create-claim-partner-role-response-class.d.ts +1 -1
  11. package/dist/models/create-claim-request-dto.d.ts +17 -17
  12. package/dist/models/create-regulation-item-request-dto.d.ts +4 -4
  13. package/dist/models/get-claim-partner-response-class.d.ts +1 -1
  14. package/dist/models/get-claim-partner-role-response-class.d.ts +1 -1
  15. package/dist/models/index.d.ts +4 -0
  16. package/dist/models/index.js +4 -0
  17. package/dist/models/patch-claim-request-dto.d.ts +18 -18
  18. package/dist/models/update-claim-partner-role-response-class.d.ts +1 -1
  19. package/dist/models/update-claim-request-dto.d.ts +15 -15
  20. package/dist/models/update-payout-details-dto.d.ts +60 -0
  21. package/dist/models/update-payout-details-dto.js +26 -0
  22. package/dist/models/update-regress-details-dto.d.ts +51 -0
  23. package/dist/models/update-regress-details-dto.js +29 -0
  24. package/dist/models/update-regulation-item-request-dto-rest.d.ts +69 -0
  25. package/dist/models/update-regulation-item-request-dto-rest.js +21 -0
  26. package/dist/models/update-reserve-details-dto.d.ts +29 -0
  27. package/dist/models/update-reserve-details-dto.js +20 -0
  28. package/models/create-claim-partner-response-class.ts +1 -1
  29. package/models/create-claim-partner-role-response-class.ts +1 -1
  30. package/models/create-claim-request-dto.ts +17 -17
  31. package/models/create-regulation-item-request-dto.ts +4 -4
  32. package/models/get-claim-partner-response-class.ts +1 -1
  33. package/models/get-claim-partner-role-response-class.ts +1 -1
  34. package/models/index.ts +4 -0
  35. package/models/patch-claim-request-dto.ts +18 -18
  36. package/models/update-claim-partner-role-response-class.ts +1 -1
  37. package/models/update-claim-request-dto.ts +15 -15
  38. package/models/update-payout-details-dto.ts +70 -0
  39. package/models/update-regress-details-dto.ts +61 -0
  40. package/models/update-regulation-item-request-dto-rest.ts +78 -0
  41. package/models/update-reserve-details-dto.ts +38 -0
  42. package/package.json +1 -1
@@ -59,6 +59,10 @@ models/update-claim-partner-role-request-dto.ts
59
59
  models/update-claim-partner-role-response-class.ts
60
60
  models/update-claim-request-dto.ts
61
61
  models/update-claim-response-class.ts
62
+ models/update-payout-details-dto.ts
63
+ models/update-regress-details-dto.ts
64
+ models/update-regulation-item-request-dto-rest.ts
65
+ models/update-reserve-details-dto.ts
62
66
  models/update-settlement-request-dto.ts
63
67
  models/update-settlement-response-class.ts
64
68
  package.json
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/claim-sdk@1.17.2-beta.3 --save
20
+ npm install @emilgroup/claim-sdk@1.17.2-beta.5 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk@1.17.2-beta.3
24
+ yarn add @emilgroup/claim-sdk@1.17.2-beta.5
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -26,6 +26,8 @@ import { CreateRegulationItemRequestDto } from '../models';
26
26
  import { ListRegulationsResponseClass } from '../models';
27
27
  // @ts-ignore
28
28
  import { RegulationItemResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { UpdateRegulationItemRequestDtoRest } from '../models';
29
31
  /**
30
32
  * ClaimRegulationsApi - axios parameter creator
31
33
  * @export
@@ -178,15 +180,17 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
178
180
  * 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.
179
181
  * @summary List claim regulation items
180
182
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
183
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
184
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
181
185
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
182
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
183
186
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, amount, bookingDate, currency</i>
184
187
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: amount, bookingDate, createdAt, updatedAt</i>
185
188
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claim.<i>
189
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
186
190
  * @param {*} [options] Override http request option.
187
191
  * @throws {RequiredError}
188
192
  */
189
- listClaimRegulations: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
+ listClaimRegulations: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
190
194
  const localVarPath = `/v1/claims/regulations`;
191
195
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
192
196
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -205,12 +209,16 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
205
209
  // http bearer authentication required
206
210
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
207
211
 
208
- if (filter !== undefined) {
209
- localVarQueryParameter['filter'] = filter;
212
+ if (pageSize !== undefined) {
213
+ localVarQueryParameter['pageSize'] = pageSize;
210
214
  }
211
215
 
212
- if (filters !== undefined) {
213
- localVarQueryParameter['filters'] = filters;
216
+ if (pageToken !== undefined) {
217
+ localVarQueryParameter['pageToken'] = pageToken;
218
+ }
219
+
220
+ if (filter !== undefined) {
221
+ localVarQueryParameter['filter'] = filter;
214
222
  }
215
223
 
216
224
  if (search !== undefined) {
@@ -225,6 +233,10 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
225
233
  localVarQueryParameter['expand'] = expand;
226
234
  }
227
235
 
236
+ if (filters !== undefined) {
237
+ localVarQueryParameter['filters'] = filters;
238
+ }
239
+
228
240
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
229
241
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
230
242
  }
@@ -244,16 +256,16 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
244
256
  * 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.
245
257
  * @summary Update the claim regulation item
246
258
  * @param {string} code Unique identifier for the object.
247
- * @param {object} body
259
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
248
260
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
249
261
  * @param {*} [options] Override http request option.
250
262
  * @throws {RequiredError}
251
263
  */
252
- updateClaimRegulation: async (code: string, body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
264
+ updateClaimRegulation: async (code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
253
265
  // verify required parameter 'code' is not null or undefined
254
266
  assertParamExists('updateClaimRegulation', 'code', code)
255
- // verify required parameter 'body' is not null or undefined
256
- assertParamExists('updateClaimRegulation', 'body', body)
267
+ // verify required parameter 'updateRegulationItemRequestDtoRest' is not null or undefined
268
+ assertParamExists('updateClaimRegulation', 'updateRegulationItemRequestDtoRest', updateRegulationItemRequestDtoRest)
257
269
  const localVarPath = `/v1/claims/regulations/{code}`
258
270
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
259
271
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -284,7 +296,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
284
296
  setSearchParams(localVarUrlObj, localVarQueryParameter);
285
297
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
286
298
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
287
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
299
+ localVarRequestOptions.data = serializeDataIfNeeded(updateRegulationItemRequestDtoRest, localVarRequestOptions, configuration)
288
300
 
289
301
  return {
290
302
  url: toPathString(localVarUrlObj),
@@ -342,29 +354,31 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
342
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.
343
355
  * @summary List claim regulation items
344
356
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
357
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
358
+ * @param {any} [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.
345
359
  * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
346
- * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
347
360
  * @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, amount, bookingDate, currency&lt;/i&gt;
348
361
  * @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;
349
362
  * @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;
363
+ * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
350
364
  * @param {*} [options] Override http request option.
351
365
  * @throws {RequiredError}
352
366
  */
353
- async listClaimRegulations(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>> {
354
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations(authorization, filter, filters, search, order, expand, options);
367
+ async listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>> {
368
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
355
369
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
356
370
  },
357
371
  /**
358
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.
359
373
  * @summary Update the claim regulation item
360
374
  * @param {string} code Unique identifier for the object.
361
- * @param {object} body
375
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
362
376
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
363
377
  * @param {*} [options] Override http request option.
364
378
  * @throws {RequiredError}
365
379
  */
366
- async updateClaimRegulation(code: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
367
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, body, authorization, options);
380
+ async updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options);
368
382
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
369
383
  },
370
384
  }
@@ -415,28 +429,30 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
415
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.
416
430
  * @summary List claim regulation items
417
431
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
432
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
433
+ * @param {any} [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.
418
434
  * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
419
- * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
420
435
  * @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, amount, bookingDate, currency&lt;/i&gt;
421
436
  * @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;
422
437
  * @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;
438
+ * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
423
439
  * @param {*} [options] Override http request option.
424
440
  * @throws {RequiredError}
425
441
  */
426
- listClaimRegulations(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
427
- return localVarFp.listClaimRegulations(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
442
+ listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass> {
443
+ return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
428
444
  },
429
445
  /**
430
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.
431
447
  * @summary Update the claim regulation item
432
448
  * @param {string} code Unique identifier for the object.
433
- * @param {object} body
449
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
434
450
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
435
451
  * @param {*} [options] Override http request option.
436
452
  * @throws {RequiredError}
437
453
  */
438
- updateClaimRegulation(code: string, body: object, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
439
- return localVarFp.updateClaimRegulation(code, body, authorization, options).then((request) => request(axios, basePath));
454
+ updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
455
+ return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
440
456
  },
441
457
  };
442
458
  };
@@ -525,18 +541,25 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
525
541
  readonly authorization?: string
526
542
 
527
543
  /**
528
- * 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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
529
- * @type {string}
544
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
545
+ * @type {any}
530
546
  * @memberof ClaimRegulationsApiListClaimRegulations
531
547
  */
532
- readonly filter?: string
548
+ readonly pageSize?: any
533
549
 
534
550
  /**
535
- * 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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
551
+ * 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.
552
+ * @type {any}
553
+ * @memberof ClaimRegulationsApiListClaimRegulations
554
+ */
555
+ readonly pageToken?: any
556
+
557
+ /**
558
+ * 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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
536
559
  * @type {string}
537
560
  * @memberof ClaimRegulationsApiListClaimRegulations
538
561
  */
539
- readonly filters?: string
562
+ readonly filter?: string
540
563
 
541
564
  /**
542
565
  * 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, amount, bookingDate, currency&lt;/i&gt;
@@ -558,6 +581,13 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
558
581
  * @memberof ClaimRegulationsApiListClaimRegulations
559
582
  */
560
583
  readonly expand?: string
584
+
585
+ /**
586
+ * 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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
587
+ * @type {string}
588
+ * @memberof ClaimRegulationsApiListClaimRegulations
589
+ */
590
+ readonly filters?: string
561
591
  }
562
592
 
563
593
  /**
@@ -575,10 +605,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
575
605
 
576
606
  /**
577
607
  *
578
- * @type {object}
608
+ * @type {UpdateRegulationItemRequestDtoRest}
579
609
  * @memberof ClaimRegulationsApiUpdateClaimRegulation
580
610
  */
581
- readonly body: object
611
+ readonly updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest
582
612
 
583
613
  /**
584
614
  * Bearer Token: provided by the login endpoint under the name accessToken.
@@ -640,7 +670,7 @@ export class ClaimRegulationsApi extends BaseAPI {
640
670
  * @memberof ClaimRegulationsApi
641
671
  */
642
672
  public listClaimRegulations(requestParameters: ClaimRegulationsApiListClaimRegulationsRequest = {}, options?: AxiosRequestConfig) {
643
- return ClaimRegulationsApiFp(this.configuration).listClaimRegulations(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
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));
644
674
  }
645
675
 
646
676
  /**
@@ -652,6 +682,6 @@ export class ClaimRegulationsApi extends BaseAPI {
652
682
  * @memberof ClaimRegulationsApi
653
683
  */
654
684
  public updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig) {
655
- return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
685
+ return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
656
686
  }
657
687
  }
@@ -31,13 +31,13 @@ import { InlineResponse503 } from '../models';
31
31
  export const HealthCheckApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
- * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
34
+ * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
35
35
  * @summary Health Check
36
36
  * @param {*} [options] Override http request option.
37
37
  * @throws {RequiredError}
38
38
  */
39
39
  check: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40
- const localVarPath = `/claimservice/health`;
40
+ const localVarPath = `/v1/claims/health`;
41
41
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42
42
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43
43
  let baseOptions;
@@ -73,7 +73,7 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
73
73
  const localVarAxiosParamCreator = HealthCheckApiAxiosParamCreator(configuration)
74
74
  return {
75
75
  /**
76
- * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
76
+ * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
77
77
  * @summary Health Check
78
78
  * @param {*} [options] Override http request option.
79
79
  * @throws {RequiredError}
@@ -93,7 +93,7 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
93
93
  const localVarFp = HealthCheckApiFp(configuration)
94
94
  return {
95
95
  /**
96
- * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
96
+ * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
97
97
  * @summary Health Check
98
98
  * @param {*} [options] Override http request option.
99
99
  * @throws {RequiredError}
@@ -112,7 +112,7 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
112
112
  */
113
113
  export class HealthCheckApi extends BaseAPI {
114
114
  /**
115
- * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
115
+ * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
116
116
  * @summary Health Check
117
117
  * @param {*} [options] Override http request option.
118
118
  * @throws {RequiredError}
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateRegulationItemRequestDto } from '../models';
16
16
  import { ListRegulationsResponseClass } from '../models';
17
17
  import { RegulationItemResponseClass } from '../models';
18
+ import { UpdateRegulationItemRequestDtoRest } from '../models';
18
19
  /**
19
20
  * ClaimRegulationsApi - axios parameter creator
20
21
  * @export
@@ -52,25 +53,27 @@ export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Conf
52
53
  * 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.
53
54
  * @summary List claim regulation items
54
55
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
+ * @param {any} [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.
55
58
  * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
56
- * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
57
59
  * @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, amount, bookingDate, currency&lt;/i&gt;
58
60
  * @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;
59
61
  * @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;
62
+ * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
60
63
  * @param {*} [options] Override http request option.
61
64
  * @throws {RequiredError}
62
65
  */
63
- listClaimRegulations: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ listClaimRegulations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
67
  /**
65
68
  * 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.
66
69
  * @summary Update the claim regulation item
67
70
  * @param {string} code Unique identifier for the object.
68
- * @param {object} body
71
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
69
72
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
70
73
  * @param {*} [options] Override http request option.
71
74
  * @throws {RequiredError}
72
75
  */
73
- updateClaimRegulation: (code: string, body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ updateClaimRegulation: (code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
77
  };
75
78
  /**
76
79
  * ClaimRegulationsApi - functional programming interface
@@ -109,25 +112,27 @@ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
109
112
  * 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.
110
113
  * @summary List claim regulation items
111
114
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
116
+ * @param {any} [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.
112
117
  * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
113
- * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
114
118
  * @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, amount, bookingDate, currency&lt;/i&gt;
115
119
  * @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;
116
120
  * @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;
121
+ * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
117
122
  * @param {*} [options] Override http request option.
118
123
  * @throws {RequiredError}
119
124
  */
120
- listClaimRegulations(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>>;
125
+ listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>>;
121
126
  /**
122
127
  * 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.
123
128
  * @summary Update the claim regulation item
124
129
  * @param {string} code Unique identifier for the object.
125
- * @param {object} body
130
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
126
131
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
127
132
  * @param {*} [options] Override http request option.
128
133
  * @throws {RequiredError}
129
134
  */
130
- updateClaimRegulation(code: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
135
+ updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
131
136
  };
132
137
  /**
133
138
  * ClaimRegulationsApi - factory interface
@@ -166,25 +171,27 @@ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration,
166
171
  * 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.
167
172
  * @summary List claim regulation items
168
173
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
174
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
175
+ * @param {any} [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.
169
176
  * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
170
- * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
171
177
  * @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, amount, bookingDate, currency&lt;/i&gt;
172
178
  * @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;
173
179
  * @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;
180
+ * @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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
174
181
  * @param {*} [options] Override http request option.
175
182
  * @throws {RequiredError}
176
183
  */
177
- listClaimRegulations(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRegulationsResponseClass>;
184
+ listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass>;
178
185
  /**
179
186
  * 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.
180
187
  * @summary Update the claim regulation item
181
188
  * @param {string} code Unique identifier for the object.
182
- * @param {object} body
189
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
183
190
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
184
191
  * @param {*} [options] Override http request option.
185
192
  * @throws {RequiredError}
186
193
  */
187
- updateClaimRegulation(code: string, body: object, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
194
+ updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
188
195
  };
189
196
  /**
190
197
  * Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
@@ -262,17 +269,23 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
262
269
  */
263
270
  readonly authorization?: string;
264
271
  /**
265
- * 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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
266
- * @type {string}
272
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
273
+ * @type {any}
267
274
  * @memberof ClaimRegulationsApiListClaimRegulations
268
275
  */
269
- readonly filter?: string;
276
+ readonly pageSize?: any;
270
277
  /**
271
- * 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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
278
+ * 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.
279
+ * @type {any}
280
+ * @memberof ClaimRegulationsApiListClaimRegulations
281
+ */
282
+ readonly pageToken?: any;
283
+ /**
284
+ * 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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
272
285
  * @type {string}
273
286
  * @memberof ClaimRegulationsApiListClaimRegulations
274
287
  */
275
- readonly filters?: string;
288
+ readonly filter?: string;
276
289
  /**
277
290
  * 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, amount, bookingDate, currency&lt;/i&gt;
278
291
  * @type {string}
@@ -291,6 +304,12 @@ export interface ClaimRegulationsApiListClaimRegulationsRequest {
291
304
  * @memberof ClaimRegulationsApiListClaimRegulations
292
305
  */
293
306
  readonly expand?: string;
307
+ /**
308
+ * 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, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
309
+ * @type {string}
310
+ * @memberof ClaimRegulationsApiListClaimRegulations
311
+ */
312
+ readonly filters?: string;
294
313
  }
295
314
  /**
296
315
  * Request parameters for updateClaimRegulation operation in ClaimRegulationsApi.
@@ -306,10 +325,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
306
325
  readonly code: string;
307
326
  /**
308
327
  *
309
- * @type {object}
328
+ * @type {UpdateRegulationItemRequestDtoRest}
310
329
  * @memberof ClaimRegulationsApiUpdateClaimRegulation
311
330
  */
312
- readonly body: object;
331
+ readonly updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest;
313
332
  /**
314
333
  * Bearer Token: provided by the login endpoint under the name accessToken.
315
334
  * @type {string}