@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.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 (102) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/claim-limit-usages-api.ts +644 -0
  4. package/api/claim-partner-roles-api.ts +627 -0
  5. package/api/claim-partners-api.ts +520 -0
  6. package/api/claim-positions-api.ts +1336 -0
  7. package/api/claim-regulations-api.ts +644 -3
  8. package/api/claim-statuses-api.ts +752 -5
  9. package/api/claims-api.ts +863 -11
  10. package/api/health-check-api.ts +66 -0
  11. package/api/settlements-api.ts +627 -0
  12. package/api.ts +4 -0
  13. package/dist/api/claim-limit-usages-api.d.ts +378 -0
  14. package/dist/api/claim-limit-usages-api.js +581 -0
  15. package/dist/api/claim-partner-roles-api.d.ts +358 -0
  16. package/dist/api/claim-partner-roles-api.js +525 -0
  17. package/dist/api/claim-partners-api.d.ts +299 -0
  18. package/dist/api/claim-partners-api.js +428 -0
  19. package/dist/api/claim-positions-api.d.ts +760 -0
  20. package/dist/api/claim-positions-api.js +1177 -0
  21. package/dist/api/claim-regulations-api.d.ts +367 -0
  22. package/dist/api/claim-regulations-api.js +531 -0
  23. package/dist/api/claim-statuses-api.d.ts +426 -0
  24. package/dist/api/claim-statuses-api.js +642 -14
  25. package/dist/api/claims-api.d.ts +493 -8
  26. package/dist/api/claims-api.js +734 -10
  27. package/dist/api/health-check-api.d.ts +33 -0
  28. package/dist/api/health-check-api.js +73 -0
  29. package/dist/api/settlements-api.d.ts +358 -0
  30. package/dist/api/settlements-api.js +525 -0
  31. package/dist/api.d.ts +2 -0
  32. package/dist/api.js +2 -0
  33. package/dist/models/calculation-step-result-class.d.ts +72 -0
  34. package/dist/models/calculation-step-result-class.js +21 -0
  35. package/dist/models/claim-applied-deductible-class.d.ts +95 -0
  36. package/dist/models/claim-applied-deductible-class.js +20 -0
  37. package/dist/models/claim-class.d.ts +25 -0
  38. package/dist/models/claim-limit-usage-class.d.ts +143 -0
  39. package/dist/models/claim-limit-usage-class.js +30 -0
  40. package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
  41. package/dist/models/claim-limit-usage-result-class.js +21 -0
  42. package/dist/models/claim-position-class.d.ts +151 -0
  43. package/dist/models/claim-position-class.js +20 -0
  44. package/dist/models/create-claim-position-request-dto.d.ts +66 -0
  45. package/dist/models/create-claim-position-request-dto.js +15 -0
  46. package/dist/models/create-claim-position-response-class.d.ts +25 -0
  47. package/dist/models/create-claim-position-response-class.js +15 -0
  48. package/dist/models/create-claim-request-dto.d.ts +6 -0
  49. package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
  50. package/dist/models/create-regulation-item-request-dto.js +5 -1
  51. package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
  52. package/dist/models/get-claim-limit-usage-response-class.js +15 -0
  53. package/dist/models/get-claim-position-response-class.d.ts +25 -0
  54. package/dist/models/get-claim-position-response-class.js +15 -0
  55. package/dist/models/index.d.ts +13 -0
  56. package/dist/models/index.js +13 -0
  57. package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
  58. package/dist/models/list-claim-limit-usages-response-class.js +15 -0
  59. package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
  60. package/dist/models/list-claim-partners-response-class.d.ts +12 -0
  61. package/dist/models/list-claim-positions-response-class.d.ts +43 -0
  62. package/dist/models/list-claim-positions-response-class.js +15 -0
  63. package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
  64. package/dist/models/list-claims-response-class.d.ts +12 -0
  65. package/dist/models/list-regulations-response-class.d.ts +12 -0
  66. package/dist/models/patch-claim-request-dto.d.ts +39 -33
  67. package/dist/models/regulation-item-class.d.ts +35 -0
  68. package/dist/models/regulation-item-class.js +10 -1
  69. package/dist/models/update-claim-position-request-dto.d.ts +60 -0
  70. package/dist/models/update-claim-position-request-dto.js +15 -0
  71. package/dist/models/update-claim-position-response-class.d.ts +25 -0
  72. package/dist/models/update-claim-position-response-class.js +15 -0
  73. package/dist/models/update-claim-request-dto.d.ts +39 -33
  74. package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
  75. package/dist/models/update-regulation-item-request-dto.js +6 -1
  76. package/models/calculation-step-result-class.ts +81 -0
  77. package/models/claim-applied-deductible-class.ts +104 -0
  78. package/models/claim-class.ts +25 -0
  79. package/models/claim-limit-usage-class.ts +154 -0
  80. package/models/claim-limit-usage-result-class.ts +57 -0
  81. package/models/claim-position-class.ts +160 -0
  82. package/models/create-claim-position-request-dto.ts +72 -0
  83. package/models/create-claim-position-response-class.ts +31 -0
  84. package/models/create-claim-request-dto.ts +6 -0
  85. package/models/create-regulation-item-request-dto.ts +27 -3
  86. package/models/get-claim-limit-usage-response-class.ts +31 -0
  87. package/models/get-claim-position-response-class.ts +31 -0
  88. package/models/index.ts +13 -0
  89. package/models/list-claim-limit-usages-response-class.ts +49 -0
  90. package/models/list-claim-partner-roles-response-class.ts +12 -0
  91. package/models/list-claim-partners-response-class.ts +12 -0
  92. package/models/list-claim-positions-response-class.ts +49 -0
  93. package/models/list-claim-statuses-response-class.ts +13 -1
  94. package/models/list-claims-response-class.ts +12 -0
  95. package/models/list-regulations-response-class.ts +12 -0
  96. package/models/patch-claim-request-dto.ts +39 -33
  97. package/models/regulation-item-class.ts +37 -0
  98. package/models/update-claim-position-request-dto.ts +66 -0
  99. package/models/update-claim-position-response-class.ts +31 -0
  100. package/models/update-claim-request-dto.ts +39 -33
  101. package/models/update-regulation-item-request-dto.ts +13 -0
  102. package/package.json +1 -1
@@ -25,6 +25,14 @@ export declare const HealthCheckApiAxiosParamCreator: (configuration?: Configura
25
25
  * @throws {RequiredError}
26
26
  */
27
27
  check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ /**
29
+ * 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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
30
+ * @summary Health Check
31
+ * @param {*} [options] Override http request option.
32
+ * @deprecated
33
+ * @throws {RequiredError}
34
+ */
35
+ check1: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
36
  };
29
37
  /**
30
38
  * HealthCheckApi - functional programming interface
@@ -38,6 +46,14 @@ export declare const HealthCheckApiFp: (configuration?: Configuration) => {
38
46
  * @throws {RequiredError}
39
47
  */
40
48
  check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
49
+ /**
50
+ * 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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
51
+ * @summary Health Check
52
+ * @param {*} [options] Override http request option.
53
+ * @deprecated
54
+ * @throws {RequiredError}
55
+ */
56
+ check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
41
57
  };
42
58
  /**
43
59
  * HealthCheckApi - factory interface
@@ -51,6 +67,14 @@ export declare const HealthCheckApiFactory: (configuration?: Configuration, base
51
67
  * @throws {RequiredError}
52
68
  */
53
69
  check(options?: any): AxiosPromise<InlineResponse200>;
70
+ /**
71
+ * 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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
72
+ * @summary Health Check
73
+ * @param {*} [options] Override http request option.
74
+ * @deprecated
75
+ * @throws {RequiredError}
76
+ */
77
+ check1(options?: any): AxiosPromise<InlineResponse200>;
54
78
  };
55
79
  /**
56
80
  * HealthCheckApi - object-oriented interface
@@ -67,4 +91,13 @@ export declare class HealthCheckApi extends BaseAPI {
67
91
  * @memberof HealthCheckApi
68
92
  */
69
93
  check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
94
+ /**
95
+ * 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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
96
+ * @summary Health Check
97
+ * @param {*} [options] Override http request option.
98
+ * @deprecated
99
+ * @throws {RequiredError}
100
+ * @memberof HealthCheckApi
101
+ */
102
+ check1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
70
103
  }
@@ -99,6 +99,37 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
99
99
  * @throws {RequiredError}
100
100
  */
101
101
  check: function (options) {
102
+ if (options === void 0) { options = {}; }
103
+ return __awaiter(_this, void 0, void 0, function () {
104
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
105
+ return __generator(this, function (_a) {
106
+ localVarPath = "/claimservice/v1/health";
107
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
108
+ if (configuration) {
109
+ baseOptions = configuration.baseOptions;
110
+ baseAccessToken = configuration.accessToken;
111
+ }
112
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
113
+ localVarHeaderParameter = {};
114
+ localVarQueryParameter = {};
115
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
116
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
117
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
118
+ return [2 /*return*/, {
119
+ url: (0, common_1.toPathString)(localVarUrlObj),
120
+ options: localVarRequestOptions,
121
+ }];
122
+ });
123
+ });
124
+ },
125
+ /**
126
+ * 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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
127
+ * @summary Health Check
128
+ * @param {*} [options] Override http request option.
129
+ * @deprecated
130
+ * @throws {RequiredError}
131
+ */
132
+ check1: function (options) {
102
133
  if (options === void 0) { options = {}; }
103
134
  return __awaiter(_this, void 0, void 0, function () {
104
135
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -151,6 +182,26 @@ var HealthCheckApiFp = function (configuration) {
151
182
  });
152
183
  });
153
184
  },
185
+ /**
186
+ * 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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
187
+ * @summary Health Check
188
+ * @param {*} [options] Override http request option.
189
+ * @deprecated
190
+ * @throws {RequiredError}
191
+ */
192
+ check1: function (options) {
193
+ return __awaiter(this, void 0, void 0, function () {
194
+ var localVarAxiosArgs;
195
+ return __generator(this, function (_a) {
196
+ switch (_a.label) {
197
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.check1(options)];
198
+ case 1:
199
+ localVarAxiosArgs = _a.sent();
200
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
201
+ }
202
+ });
203
+ });
204
+ },
154
205
  };
155
206
  };
156
207
  exports.HealthCheckApiFp = HealthCheckApiFp;
@@ -170,6 +221,16 @@ var HealthCheckApiFactory = function (configuration, basePath, axios) {
170
221
  check: function (options) {
171
222
  return localVarFp.check(options).then(function (request) { return request(axios, basePath); });
172
223
  },
224
+ /**
225
+ * 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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
226
+ * @summary Health Check
227
+ * @param {*} [options] Override http request option.
228
+ * @deprecated
229
+ * @throws {RequiredError}
230
+ */
231
+ check1: function (options) {
232
+ return localVarFp.check1(options).then(function (request) { return request(axios, basePath); });
233
+ },
173
234
  };
174
235
  };
175
236
  exports.HealthCheckApiFactory = HealthCheckApiFactory;
@@ -195,6 +256,18 @@ var HealthCheckApi = /** @class */ (function (_super) {
195
256
  var _this = this;
196
257
  return (0, exports.HealthCheckApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
197
258
  };
259
+ /**
260
+ * 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. **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
261
+ * @summary Health Check
262
+ * @param {*} [options] Override http request option.
263
+ * @deprecated
264
+ * @throws {RequiredError}
265
+ * @memberof HealthCheckApi
266
+ */
267
+ HealthCheckApi.prototype.check1 = function (options) {
268
+ var _this = this;
269
+ return (0, exports.HealthCheckApiFp)(this.configuration).check1(options).then(function (request) { return request(_this.axios, _this.basePath); });
270
+ };
198
271
  return HealthCheckApi;
199
272
  }(base_1.BaseAPI));
200
273
  exports.HealthCheckApi = HealthCheckApi;