@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
@@ -245,15 +245,17 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
245
245
  * 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.
246
246
  * @summary List claim regulation items
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
+ * @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.
248
250
  * @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>
249
- * @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>
250
251
  * @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>
251
252
  * @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>
252
253
  * @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>
254
+ * @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>
253
255
  * @param {*} [options] Override http request option.
254
256
  * @throws {RequiredError}
255
257
  */
256
- listClaimRegulations: function (authorization, filter, filters, search, order, expand, options) {
258
+ listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
257
259
  if (options === void 0) { options = {}; }
258
260
  return __awaiter(_this, void 0, void 0, function () {
259
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -276,12 +278,15 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
276
278
  // authentication bearer required
277
279
  // http bearer authentication required
278
280
  _a.sent();
281
+ if (pageSize !== undefined) {
282
+ localVarQueryParameter['pageSize'] = pageSize;
283
+ }
284
+ if (pageToken !== undefined) {
285
+ localVarQueryParameter['pageToken'] = pageToken;
286
+ }
279
287
  if (filter !== undefined) {
280
288
  localVarQueryParameter['filter'] = filter;
281
289
  }
282
- if (filters !== undefined) {
283
- localVarQueryParameter['filters'] = filters;
284
- }
285
290
  if (search !== undefined) {
286
291
  localVarQueryParameter['search'] = search;
287
292
  }
@@ -291,6 +296,9 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
291
296
  if (expand !== undefined) {
292
297
  localVarQueryParameter['expand'] = expand;
293
298
  }
299
+ if (filters !== undefined) {
300
+ localVarQueryParameter['filters'] = filters;
301
+ }
294
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
296
304
  }
@@ -309,12 +317,12 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
309
317
  * 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.
310
318
  * @summary Update the claim regulation item
311
319
  * @param {string} code Unique identifier for the object.
312
- * @param {object} body
320
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
313
321
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
314
322
  * @param {*} [options] Override http request option.
315
323
  * @throws {RequiredError}
316
324
  */
317
- updateClaimRegulation: function (code, body, authorization, options) {
325
+ updateClaimRegulation: function (code, updateRegulationItemRequestDtoRest, authorization, options) {
318
326
  if (options === void 0) { options = {}; }
319
327
  return __awaiter(_this, void 0, void 0, function () {
320
328
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -323,8 +331,8 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
323
331
  case 0:
324
332
  // verify required parameter 'code' is not null or undefined
325
333
  (0, common_1.assertParamExists)('updateClaimRegulation', 'code', code);
326
- // verify required parameter 'body' is not null or undefined
327
- (0, common_1.assertParamExists)('updateClaimRegulation', 'body', body);
334
+ // verify required parameter 'updateRegulationItemRequestDtoRest' is not null or undefined
335
+ (0, common_1.assertParamExists)('updateClaimRegulation', 'updateRegulationItemRequestDtoRest', updateRegulationItemRequestDtoRest);
328
336
  localVarPath = "/v1/claims/regulations/{code}"
329
337
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
330
338
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -349,7 +357,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
349
357
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
350
358
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
351
359
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
352
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
360
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateRegulationItemRequestDtoRest, localVarRequestOptions, configuration);
353
361
  return [2 /*return*/, {
354
362
  url: (0, common_1.toPathString)(localVarUrlObj),
355
363
  options: localVarRequestOptions,
@@ -436,20 +444,22 @@ var ClaimRegulationsApiFp = function (configuration) {
436
444
  * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
437
445
  * @summary List claim regulation items
438
446
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
447
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
448
+ * @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.
439
449
  * @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>
440
- * @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>
441
450
  * @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>
442
451
  * @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>
443
452
  * @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>
453
+ * @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>
444
454
  * @param {*} [options] Override http request option.
445
455
  * @throws {RequiredError}
446
456
  */
447
- listClaimRegulations: function (authorization, filter, filters, search, order, expand, options) {
457
+ listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
448
458
  return __awaiter(this, void 0, void 0, function () {
449
459
  var localVarAxiosArgs;
450
460
  return __generator(this, function (_a) {
451
461
  switch (_a.label) {
452
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimRegulations(authorization, filter, filters, search, order, expand, options)];
462
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
453
463
  case 1:
454
464
  localVarAxiosArgs = _a.sent();
455
465
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -461,17 +471,17 @@ var ClaimRegulationsApiFp = function (configuration) {
461
471
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
462
472
  * @summary Update the claim regulation item
463
473
  * @param {string} code Unique identifier for the object.
464
- * @param {object} body
474
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
465
475
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
466
476
  * @param {*} [options] Override http request option.
467
477
  * @throws {RequiredError}
468
478
  */
469
- updateClaimRegulation: function (code, body, authorization, options) {
479
+ updateClaimRegulation: function (code, updateRegulationItemRequestDtoRest, authorization, options) {
470
480
  return __awaiter(this, void 0, void 0, function () {
471
481
  var localVarAxiosArgs;
472
482
  return __generator(this, function (_a) {
473
483
  switch (_a.label) {
474
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation(code, body, authorization, options)];
484
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options)];
475
485
  case 1:
476
486
  localVarAxiosArgs = _a.sent();
477
487
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -527,28 +537,30 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
527
537
  * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
528
538
  * @summary List claim regulation items
529
539
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
540
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
541
+ * @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.
530
542
  * @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>
531
- * @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>
532
543
  * @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>
533
544
  * @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>
534
545
  * @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>
546
+ * @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>
535
547
  * @param {*} [options] Override http request option.
536
548
  * @throws {RequiredError}
537
549
  */
538
- listClaimRegulations: function (authorization, filter, filters, search, order, expand, options) {
539
- return localVarFp.listClaimRegulations(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
550
+ listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
551
+ return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
540
552
  },
541
553
  /**
542
554
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
543
555
  * @summary Update the claim regulation item
544
556
  * @param {string} code Unique identifier for the object.
545
- * @param {object} body
557
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
546
558
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
547
559
  * @param {*} [options] Override http request option.
548
560
  * @throws {RequiredError}
549
561
  */
550
- updateClaimRegulation: function (code, body, authorization, options) {
551
- return localVarFp.updateClaimRegulation(code, body, authorization, options).then(function (request) { return request(axios, basePath); });
562
+ updateClaimRegulation: function (code, updateRegulationItemRequestDtoRest, authorization, options) {
563
+ return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
552
564
  },
553
565
  };
554
566
  };
@@ -611,7 +623,7 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
611
623
  ClaimRegulationsApi.prototype.listClaimRegulations = function (requestParameters, options) {
612
624
  var _this = this;
613
625
  if (requestParameters === void 0) { requestParameters = {}; }
614
- return (0, exports.ClaimRegulationsApiFp)(this.configuration).listClaimRegulations(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
626
+ return (0, exports.ClaimRegulationsApiFp)(this.configuration).listClaimRegulations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
615
627
  };
616
628
  /**
617
629
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
@@ -623,7 +635,7 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
623
635
  */
624
636
  ClaimRegulationsApi.prototype.updateClaimRegulation = function (requestParameters, options) {
625
637
  var _this = this;
626
- return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
638
+ return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
627
639
  };
628
640
  return ClaimRegulationsApi;
629
641
  }(base_1.BaseAPI));
@@ -19,7 +19,7 @@ import { InlineResponse200 } from '../models';
19
19
  */
20
20
  export declare const HealthCheckApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
- * 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.
22
+ * 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.
23
23
  * @summary Health Check
24
24
  * @param {*} [options] Override http request option.
25
25
  * @throws {RequiredError}
@@ -32,7 +32,7 @@ export declare const HealthCheckApiAxiosParamCreator: (configuration?: Configura
32
32
  */
33
33
  export declare const HealthCheckApiFp: (configuration?: Configuration) => {
34
34
  /**
35
- * 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.
35
+ * 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.
36
36
  * @summary Health Check
37
37
  * @param {*} [options] Override http request option.
38
38
  * @throws {RequiredError}
@@ -45,7 +45,7 @@ export declare const HealthCheckApiFp: (configuration?: Configuration) => {
45
45
  */
46
46
  export declare const HealthCheckApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
47
47
  /**
48
- * 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.
48
+ * 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.
49
49
  * @summary Health Check
50
50
  * @param {*} [options] Override http request option.
51
51
  * @throws {RequiredError}
@@ -60,7 +60,7 @@ export declare const HealthCheckApiFactory: (configuration?: Configuration, base
60
60
  */
61
61
  export declare class HealthCheckApi extends BaseAPI {
62
62
  /**
63
- * 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.
63
+ * 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.
64
64
  * @summary Health Check
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
@@ -93,7 +93,7 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
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}
@@ -103,7 +103,7 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
103
103
  return __awaiter(_this, void 0, void 0, function () {
104
104
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
105
105
  return __generator(this, function (_a) {
106
- localVarPath = "/claimservice/health";
106
+ localVarPath = "/v1/claims/health";
107
107
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
108
108
  if (configuration) {
109
109
  baseOptions = configuration.baseOptions;
@@ -133,7 +133,7 @@ var HealthCheckApiFp = function (configuration) {
133
133
  var localVarAxiosParamCreator = (0, exports.HealthCheckApiAxiosParamCreator)(configuration);
134
134
  return {
135
135
  /**
136
- * 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.
136
+ * 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.
137
137
  * @summary Health Check
138
138
  * @param {*} [options] Override http request option.
139
139
  * @throws {RequiredError}
@@ -162,7 +162,7 @@ var HealthCheckApiFactory = function (configuration, basePath, axios) {
162
162
  var localVarFp = (0, exports.HealthCheckApiFp)(configuration);
163
163
  return {
164
164
  /**
165
- * 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.
165
+ * 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.
166
166
  * @summary Health Check
167
167
  * @param {*} [options] Override http request option.
168
168
  * @throws {RequiredError}
@@ -185,7 +185,7 @@ var HealthCheckApi = /** @class */ (function (_super) {
185
185
  return _super !== null && _super.apply(this, arguments) || this;
186
186
  }
187
187
  /**
188
- * 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.
188
+ * 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.
189
189
  * @summary Health Check
190
190
  * @param {*} [options] Override http request option.
191
191
  * @throws {RequiredError}
@@ -21,5 +21,5 @@ export interface CreateClaimPartnerResponseClass {
21
21
  * @type {ClaimPartnerClass}
22
22
  * @memberof CreateClaimPartnerResponseClass
23
23
  */
24
- 'claimPartner'?: ClaimPartnerClass;
24
+ 'claimPartner': ClaimPartnerClass;
25
25
  }
@@ -21,5 +21,5 @@ export interface CreateClaimPartnerRoleResponseClass {
21
21
  * @type {ClaimPartnerRoleClass}
22
22
  * @memberof CreateClaimPartnerRoleResponseClass
23
23
  */
24
- 'claimPartnerRole'?: ClaimPartnerRoleClass;
24
+ 'claimPartnerRole': ClaimPartnerRoleClass;
25
25
  }
@@ -20,97 +20,97 @@ export interface CreateClaimRequestDto {
20
20
  * @type {string}
21
21
  * @memberof CreateClaimRequestDto
22
22
  */
23
- 'claimNumber'?: string;
23
+ 'claimNumber': string;
24
24
  /**
25
25
  * Field to enter the claim title.
26
26
  * @type {string}
27
27
  * @memberof CreateClaimRequestDto
28
28
  */
29
- 'title'?: string;
29
+ 'title': string;
30
30
  /**
31
31
  * The current status of the claim.
32
32
  * @type {string}
33
33
  * @memberof CreateClaimRequestDto
34
34
  */
35
- 'status'?: string;
35
+ 'status': string;
36
36
  /**
37
37
  * Unique identifier of the account that the claim belongs to.
38
38
  * @type {string}
39
39
  * @memberof CreateClaimRequestDto
40
40
  */
41
- 'accountCode'?: string;
41
+ 'accountCode': string;
42
42
  /**
43
43
  * Field for the policy number that the claim belongs to.
44
44
  * @type {string}
45
45
  * @memberof CreateClaimRequestDto
46
46
  */
47
- 'policyNumber'?: string;
47
+ 'policyNumber': string;
48
48
  /**
49
49
  * Field for the policy code that the claim belongs to.
50
50
  * @type {string}
51
51
  * @memberof CreateClaimRequestDto
52
52
  */
53
- 'policyCode'?: string;
53
+ 'policyCode': string;
54
54
  /**
55
55
  * Unique identifier referencing the product.
56
56
  * @type {number}
57
57
  * @memberof CreateClaimRequestDto
58
58
  */
59
- 'productId'?: number;
59
+ 'productId': number;
60
60
  /**
61
61
  * Unique identifier referencing the product version.
62
62
  * @type {number}
63
63
  * @memberof CreateClaimRequestDto
64
64
  */
65
- 'productVersionId'?: number;
65
+ 'productVersionId': number;
66
66
  /**
67
67
  * The name of the product.
68
68
  * @type {string}
69
69
  * @memberof CreateClaimRequestDto
70
70
  */
71
- 'productName'?: string;
71
+ 'productName': string;
72
72
  /**
73
73
  * The insured object identifier that the claim is made for.
74
74
  * @type {number}
75
75
  * @memberof CreateClaimRequestDto
76
76
  */
77
- 'insuredObjectId'?: number;
77
+ 'insuredObjectId': number;
78
78
  /**
79
79
  * The policy object code that the claim is made for.
80
80
  * @type {string}
81
81
  * @memberof CreateClaimRequestDto
82
82
  */
83
- 'policyObjectCode'?: string;
83
+ 'policyObjectCode': string;
84
84
  /**
85
85
  * The claim\'s description in 5000 characters.
86
86
  * @type {string}
87
87
  * @memberof CreateClaimRequestDto
88
88
  */
89
- 'description'?: string;
89
+ 'description': string;
90
90
  /**
91
91
  * The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
92
92
  * @type {string}
93
93
  * @memberof CreateClaimRequestDto
94
94
  */
95
- 'adjuster'?: string;
95
+ 'adjuster': string;
96
96
  /**
97
97
  * A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
98
98
  * @type {string}
99
99
  * @memberof CreateClaimRequestDto
100
100
  */
101
- 'reporter'?: string;
101
+ 'reporter': string;
102
102
  /**
103
103
  * The contact email of the policyholder.
104
104
  * @type {string}
105
105
  * @memberof CreateClaimRequestDto
106
106
  */
107
- 'contactEmail'?: string;
107
+ 'contactEmail': string;
108
108
  /**
109
109
  * The contact phone of the policyholder.
110
110
  * @type {string}
111
111
  * @memberof CreateClaimRequestDto
112
112
  */
113
- 'contactPhone'?: string;
113
+ 'contactPhone': string;
114
114
  /**
115
115
  * The claim\'s damage date.
116
116
  * @type {string}
@@ -128,5 +128,5 @@ export interface CreateClaimRequestDto {
128
128
  * @type {object}
129
129
  * @memberof CreateClaimRequestDto
130
130
  */
131
- 'customFields'?: object;
131
+ 'customFields': object;
132
132
  }
@@ -25,7 +25,7 @@ export interface CreateRegulationItemRequestDto {
25
25
  */
26
26
  'regulationItemType': CreateRegulationItemRequestDtoRegulationItemTypeEnum;
27
27
  /**
28
- * The amount of the regulation item
28
+ * The amount for the regulation item
29
29
  * @type {number}
30
30
  * @memberof CreateRegulationItemRequestDto
31
31
  */
@@ -49,19 +49,19 @@ export interface CreateRegulationItemRequestDto {
49
49
  */
50
50
  'claimCode': string;
51
51
  /**
52
- *
52
+ * Details of the payout. Required if the regulation item type is payout.
53
53
  * @type {PayoutDetailsDto}
54
54
  * @memberof CreateRegulationItemRequestDto
55
55
  */
56
56
  'payoutDetails'?: PayoutDetailsDto;
57
57
  /**
58
- *
58
+ * Details of the reserve. Required if the regulation item type is reserve.
59
59
  * @type {ReserveDetailsDto}
60
60
  * @memberof CreateRegulationItemRequestDto
61
61
  */
62
62
  'reserveDetails'?: ReserveDetailsDto;
63
63
  /**
64
- *
64
+ * Details of the regress. Required if the regulation item type is regress.
65
65
  * @type {RegressDetailsDto}
66
66
  * @memberof CreateRegulationItemRequestDto
67
67
  */
@@ -21,5 +21,5 @@ export interface GetClaimPartnerResponseClass {
21
21
  * @type {ClaimPartnerClass}
22
22
  * @memberof GetClaimPartnerResponseClass
23
23
  */
24
- 'claimPartner'?: ClaimPartnerClass;
24
+ 'claimPartner': ClaimPartnerClass;
25
25
  }
@@ -21,5 +21,5 @@ export interface GetClaimPartnerRoleResponseClass {
21
21
  * @type {ClaimPartnerRoleClass}
22
22
  * @memberof GetClaimPartnerRoleResponseClass
23
23
  */
24
- 'claimPartnerRole'?: ClaimPartnerRoleClass;
24
+ 'claimPartnerRole': ClaimPartnerRoleClass;
25
25
  }
@@ -41,5 +41,9 @@ export * from './update-claim-partner-role-request-dto';
41
41
  export * from './update-claim-partner-role-response-class';
42
42
  export * from './update-claim-request-dto';
43
43
  export * from './update-claim-response-class';
44
+ export * from './update-payout-details-dto';
45
+ export * from './update-regress-details-dto';
46
+ export * from './update-regulation-item-request-dto-rest';
47
+ export * from './update-reserve-details-dto';
44
48
  export * from './update-settlement-request-dto';
45
49
  export * from './update-settlement-response-class';
@@ -57,5 +57,9 @@ __exportStar(require("./update-claim-partner-role-request-dto"), exports);
57
57
  __exportStar(require("./update-claim-partner-role-response-class"), exports);
58
58
  __exportStar(require("./update-claim-request-dto"), exports);
59
59
  __exportStar(require("./update-claim-response-class"), exports);
60
+ __exportStar(require("./update-payout-details-dto"), exports);
61
+ __exportStar(require("./update-regress-details-dto"), exports);
62
+ __exportStar(require("./update-regulation-item-request-dto-rest"), exports);
63
+ __exportStar(require("./update-reserve-details-dto"), exports);
60
64
  __exportStar(require("./update-settlement-request-dto"), exports);
61
65
  __exportStar(require("./update-settlement-response-class"), exports);
@@ -20,107 +20,107 @@ export interface PatchClaimRequestDto {
20
20
  * @type {string}
21
21
  * @memberof PatchClaimRequestDto
22
22
  */
23
- 'title'?: string;
23
+ 'title': string;
24
24
  /**
25
25
  * The current status of the claim.
26
26
  * @type {string}
27
27
  * @memberof PatchClaimRequestDto
28
28
  */
29
- 'status'?: string;
29
+ 'status': string;
30
30
  /**
31
31
  * Unique identifier of the account that the claim belongs to.
32
32
  * @type {string}
33
33
  * @memberof PatchClaimRequestDto
34
34
  */
35
- 'accountCode'?: string;
35
+ 'accountCode': string;
36
36
  /**
37
37
  * Field for the policy number that the claim belongs to.
38
38
  * @type {string}
39
39
  * @memberof PatchClaimRequestDto
40
40
  */
41
- 'policyNumber'?: string;
41
+ 'policyNumber': string;
42
42
  /**
43
43
  * Field for the policy code that the claim belongs to.
44
44
  * @type {string}
45
45
  * @memberof PatchClaimRequestDto
46
46
  */
47
- 'policyCode'?: string;
47
+ 'policyCode': string;
48
48
  /**
49
49
  * Unique identifier referencing the product.
50
50
  * @type {number}
51
51
  * @memberof PatchClaimRequestDto
52
52
  */
53
- 'productId'?: number;
53
+ 'productId': number;
54
54
  /**
55
55
  * Unique identifier referencing the product version.
56
56
  * @type {number}
57
57
  * @memberof PatchClaimRequestDto
58
58
  */
59
- 'productVersionId'?: number;
59
+ 'productVersionId': number;
60
60
  /**
61
61
  * The name of the product.
62
62
  * @type {string}
63
63
  * @memberof PatchClaimRequestDto
64
64
  */
65
- 'productName'?: string;
65
+ 'productName': string;
66
66
  /**
67
67
  * The insured object identifier that the claim is made for.
68
68
  * @type {number}
69
69
  * @memberof PatchClaimRequestDto
70
70
  */
71
- 'insuredObjectId'?: number;
71
+ 'insuredObjectId': number;
72
72
  /**
73
73
  * The policy object code that the claim is made for.
74
74
  * @type {string}
75
75
  * @memberof PatchClaimRequestDto
76
76
  */
77
- 'policyObjectCode'?: string;
77
+ 'policyObjectCode': string;
78
78
  /**
79
79
  * The claim\'s description in 5000 characters.
80
80
  * @type {string}
81
81
  * @memberof PatchClaimRequestDto
82
82
  */
83
- 'description'?: string;
83
+ 'description': string;
84
84
  /**
85
85
  * The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
86
86
  * @type {string}
87
87
  * @memberof PatchClaimRequestDto
88
88
  */
89
- 'adjuster'?: string;
89
+ 'adjuster': string;
90
90
  /**
91
91
  * A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
92
92
  * @type {string}
93
93
  * @memberof PatchClaimRequestDto
94
94
  */
95
- 'reporter'?: string;
95
+ 'reporter': string;
96
96
  /**
97
97
  * The contact email of the policyholder.
98
98
  * @type {string}
99
99
  * @memberof PatchClaimRequestDto
100
100
  */
101
- 'contactEmail'?: string;
101
+ 'contactEmail': string;
102
102
  /**
103
103
  * The contact phone of the policyholder.
104
104
  * @type {string}
105
105
  * @memberof PatchClaimRequestDto
106
106
  */
107
- 'contactPhone'?: string;
107
+ 'contactPhone': string;
108
108
  /**
109
109
  * The claim\'s damage date.
110
110
  * @type {string}
111
111
  * @memberof PatchClaimRequestDto
112
112
  */
113
- 'damageDate'?: string;
113
+ 'damageDate': string;
114
114
  /**
115
115
  * The date on which the claim is reported.
116
116
  * @type {string}
117
117
  * @memberof PatchClaimRequestDto
118
118
  */
119
- 'notificationDate'?: string;
119
+ 'notificationDate': string;
120
120
  /**
121
121
  * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
122
122
  * @type {object}
123
123
  * @memberof PatchClaimRequestDto
124
124
  */
125
- 'customFields'?: object;
125
+ 'customFields': object;
126
126
  }
@@ -21,5 +21,5 @@ export interface UpdateClaimPartnerRoleResponseClass {
21
21
  * @type {ClaimPartnerRoleClass}
22
22
  * @memberof UpdateClaimPartnerRoleResponseClass
23
23
  */
24
- 'claimPartnerRole'?: ClaimPartnerRoleClass;
24
+ 'claimPartnerRole': ClaimPartnerRoleClass;
25
25
  }