@emilgroup/claim-sdk-node 1.41.1-beta.8 → 1.42.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 (49) hide show
  1. package/README.md +2 -2
  2. package/api/claim-limit-usages-api.ts +53 -45
  3. package/api/claim-partner-roles-api.ts +127 -107
  4. package/api/claim-partners-api.ts +103 -87
  5. package/api/claim-positions-api.ts +181 -153
  6. package/api/claim-regulations-api.ts +128 -108
  7. package/api/claim-statuses-api.ts +153 -129
  8. package/api/claims-api.ts +177 -149
  9. package/api/health-check-api.ts +17 -137
  10. package/api/settlements-api.ts +127 -107
  11. package/dist/api/claim-limit-usages-api.d.ts +42 -34
  12. package/dist/api/claim-limit-usages-api.js +37 -29
  13. package/dist/api/claim-partner-roles-api.d.ts +97 -77
  14. package/dist/api/claim-partner-roles-api.js +95 -75
  15. package/dist/api/claim-partners-api.d.ts +79 -63
  16. package/dist/api/claim-partners-api.js +76 -60
  17. package/dist/api/claim-positions-api.d.ts +136 -108
  18. package/dist/api/claim-positions-api.js +136 -108
  19. package/dist/api/claim-regulations-api.d.ts +98 -78
  20. package/dist/api/claim-regulations-api.js +95 -75
  21. package/dist/api/claim-statuses-api.d.ts +116 -92
  22. package/dist/api/claim-statuses-api.js +115 -91
  23. package/dist/api/claims-api.d.ts +134 -106
  24. package/dist/api/claims-api.js +134 -106
  25. package/dist/api/health-check-api.d.ts +12 -66
  26. package/dist/api/health-check-api.js +17 -151
  27. package/dist/api/settlements-api.d.ts +97 -77
  28. package/dist/api/settlements-api.js +95 -75
  29. package/dist/models/calculation-step-result-class.d.ts +3 -3
  30. package/dist/models/list-claim-limit-usages-response-class.d.ts +6 -6
  31. package/dist/models/list-claim-partner-roles-response-class.d.ts +6 -6
  32. package/dist/models/list-claim-partners-response-class.d.ts +6 -6
  33. package/dist/models/list-claim-positions-response-class.d.ts +6 -6
  34. package/dist/models/list-claim-statuses-response-class.d.ts +6 -6
  35. package/dist/models/list-claims-response-class.d.ts +6 -6
  36. package/dist/models/list-regulations-response-class.d.ts +6 -6
  37. package/dist/models/list-settlements-response-class.d.ts +6 -18
  38. package/dist/models/payout-details-class.d.ts +2 -4
  39. package/models/calculation-step-result-class.ts +3 -3
  40. package/models/list-claim-limit-usages-response-class.ts +6 -6
  41. package/models/list-claim-partner-roles-response-class.ts +6 -6
  42. package/models/list-claim-partners-response-class.ts +6 -6
  43. package/models/list-claim-positions-response-class.ts +6 -6
  44. package/models/list-claim-statuses-response-class.ts +6 -6
  45. package/models/list-claims-response-class.ts +6 -6
  46. package/models/list-regulations-response-class.ts +6 -6
  47. package/models/list-settlements-response-class.ts +6 -18
  48. package/models/payout-details-class.ts +2 -2
  49. package/package.json +1 -1
@@ -40,71 +40,7 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
40
40
  * @param {*} [options] Override http request option.
41
41
  * @throws {RequiredError}
42
42
  */
43
- check0: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44
- const localVarPath = `/v1/claims/health`;
45
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
46
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
47
- let baseOptions;
48
- let baseAccessToken;
49
- if (configuration) {
50
- baseOptions = configuration.baseOptions;
51
- baseAccessToken = configuration.accessToken;
52
- }
53
-
54
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
55
- const localVarHeaderParameter = {} as any;
56
- const localVarQueryParameter = {} as any;
57
-
58
-
59
-
60
- setSearchParams(localVarUrlObj, localVarQueryParameter);
61
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63
-
64
- return {
65
- url: toPathString(localVarUrlObj),
66
- options: localVarRequestOptions,
67
- };
68
- },
69
- /**
70
- * 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.
71
- * @summary Health Check
72
- * @param {*} [options] Override http request option.
73
- * @throws {RequiredError}
74
- */
75
- check0_1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
76
- const localVarPath = `/v1/claims/health`;
77
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
78
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
79
- let baseOptions;
80
- let baseAccessToken;
81
- if (configuration) {
82
- baseOptions = configuration.baseOptions;
83
- baseAccessToken = configuration.accessToken;
84
- }
85
-
86
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
87
- const localVarHeaderParameter = {} as any;
88
- const localVarQueryParameter = {} as any;
89
-
90
-
91
-
92
- setSearchParams(localVarUrlObj, localVarQueryParameter);
93
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
95
-
96
- return {
97
- url: toPathString(localVarUrlObj),
98
- options: localVarRequestOptions,
99
- };
100
- },
101
- /**
102
- * 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.
103
- * @summary Health Check
104
- * @param {*} [options] Override http request option.
105
- * @throws {RequiredError}
106
- */
107
- check1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
+ check: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
108
44
  const localVarPath = `/claimservice/v1/health`;
109
45
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
110
46
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -131,13 +67,14 @@ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configu
131
67
  };
132
68
  },
133
69
  /**
134
- * 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.
70
+ * 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.
135
71
  * @summary Health Check
136
72
  * @param {*} [options] Override http request option.
73
+ * @deprecated
137
74
  * @throws {RequiredError}
138
75
  */
139
- check1_2: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
140
- const localVarPath = `/claimservice/v1/health`;
76
+ check1: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
77
+ const localVarPath = `/v1/claims/health`;
141
78
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
142
79
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
143
80
  let baseOptions;
@@ -178,40 +115,21 @@ export const HealthCheckApiFp = function(configuration?: Configuration) {
178
115
  * @param {*} [options] Override http request option.
179
116
  * @throws {RequiredError}
180
117
  */
181
- async check0(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
182
- const localVarAxiosArgs = await localVarAxiosParamCreator.check0(options);
183
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
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.
187
- * @summary Health Check
188
- * @param {*} [options] Override http request option.
189
- * @throws {RequiredError}
190
- */
191
- async check0_1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
192
- const localVarAxiosArgs = await localVarAxiosParamCreator.check0_1(options);
118
+ async check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
119
+ const localVarAxiosArgs = await localVarAxiosParamCreator.check(options);
193
120
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
194
121
  },
195
122
  /**
196
- * 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.
123
+ * 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.
197
124
  * @summary Health Check
198
125
  * @param {*} [options] Override http request option.
126
+ * @deprecated
199
127
  * @throws {RequiredError}
200
128
  */
201
129
  async check1(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
202
130
  const localVarAxiosArgs = await localVarAxiosParamCreator.check1(options);
203
131
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
204
132
  },
205
- /**
206
- * 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.
207
- * @summary Health Check
208
- * @param {*} [options] Override http request option.
209
- * @throws {RequiredError}
210
- */
211
- async check1_2(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>> {
212
- const localVarAxiosArgs = await localVarAxiosParamCreator.check1_2(options);
213
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
214
- },
215
133
  }
216
134
  };
217
135
 
@@ -228,36 +146,19 @@ export const HealthCheckApiFactory = function (configuration?: Configuration, ba
228
146
  * @param {*} [options] Override http request option.
229
147
  * @throws {RequiredError}
230
148
  */
231
- check0(options?: any): AxiosPromise<InlineResponse200> {
232
- return localVarFp.check0(options).then((request) => request(axios, basePath));
149
+ check(options?: any): AxiosPromise<InlineResponse200> {
150
+ return localVarFp.check(options).then((request) => request(axios, basePath));
233
151
  },
234
152
  /**
235
- * 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.
236
- * @summary Health Check
237
- * @param {*} [options] Override http request option.
238
- * @throws {RequiredError}
239
- */
240
- check0_1(options?: any): AxiosPromise<InlineResponse200> {
241
- return localVarFp.check0_1(options).then((request) => request(axios, basePath));
242
- },
243
- /**
244
- * 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.
153
+ * 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.
245
154
  * @summary Health Check
246
155
  * @param {*} [options] Override http request option.
156
+ * @deprecated
247
157
  * @throws {RequiredError}
248
158
  */
249
159
  check1(options?: any): AxiosPromise<InlineResponse200> {
250
160
  return localVarFp.check1(options).then((request) => request(axios, basePath));
251
161
  },
252
- /**
253
- * 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.
254
- * @summary Health Check
255
- * @param {*} [options] Override http request option.
256
- * @throws {RequiredError}
257
- */
258
- check1_2(options?: any): AxiosPromise<InlineResponse200> {
259
- return localVarFp.check1_2(options).then((request) => request(axios, basePath));
260
- },
261
162
  };
262
163
  };
263
164
 
@@ -275,40 +176,19 @@ export class HealthCheckApi extends BaseAPI {
275
176
  * @throws {RequiredError}
276
177
  * @memberof HealthCheckApi
277
178
  */
278
- public check0(options?: AxiosRequestConfig) {
279
- return HealthCheckApiFp(this.configuration).check0(options).then((request) => request(this.axios, this.basePath));
179
+ public check(options?: AxiosRequestConfig) {
180
+ return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
280
181
  }
281
182
 
282
183
  /**
283
- * 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.
284
- * @summary Health Check
285
- * @param {*} [options] Override http request option.
286
- * @throws {RequiredError}
287
- * @memberof HealthCheckApi
288
- */
289
- public check0_1(options?: AxiosRequestConfig) {
290
- return HealthCheckApiFp(this.configuration).check0_1(options).then((request) => request(this.axios, this.basePath));
291
- }
292
-
293
- /**
294
- * 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.
184
+ * 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.
295
185
  * @summary Health Check
296
186
  * @param {*} [options] Override http request option.
187
+ * @deprecated
297
188
  * @throws {RequiredError}
298
189
  * @memberof HealthCheckApi
299
190
  */
300
191
  public check1(options?: AxiosRequestConfig) {
301
192
  return HealthCheckApiFp(this.configuration).check1(options).then((request) => request(this.axios, this.basePath));
302
193
  }
303
-
304
- /**
305
- * 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.
306
- * @summary Health Check
307
- * @param {*} [options] Override http request option.
308
- * @throws {RequiredError}
309
- * @memberof HealthCheckApi
310
- */
311
- public check1_2(options?: AxiosRequestConfig) {
312
- return HealthCheckApiFp(this.configuration).check1_2(options).then((request) => request(this.axios, this.basePath));
313
- }
314
194
  }