@emilgroup/claim-sdk 1.43.1-beta.10 → 1.43.1-beta.13

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