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

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 (55) hide show
  1. package/.openapi-generator/FILES +12 -1
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +9 -9
  4. package/api/claim-regulations-api.ts +657 -0
  5. package/api/claim-statuses-api.ts +9 -9
  6. package/api/{default-api.ts → health-check-api.ts} +21 -17
  7. package/api.ts +4 -2
  8. package/base.ts +5 -1
  9. package/dist/api/claim-partner-roles-api.d.ts +9 -9
  10. package/dist/api/claim-partner-roles-api.js +3 -3
  11. package/dist/api/claim-regulations-api.d.ts +372 -0
  12. package/dist/api/claim-regulations-api.js +630 -0
  13. package/dist/api/claim-statuses-api.d.ts +9 -9
  14. package/dist/api/claim-statuses-api.js +3 -3
  15. package/dist/api/health-check-api.d.ts +70 -0
  16. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  17. package/dist/api.d.ts +2 -1
  18. package/dist/api.js +2 -1
  19. package/dist/base.d.ts +1 -0
  20. package/dist/base.js +4 -1
  21. package/dist/models/create-regulation-item-request-dto.d.ts +89 -0
  22. package/dist/models/create-regulation-item-request-dto.js +34 -0
  23. package/dist/models/index.d.ts +10 -0
  24. package/dist/models/index.js +10 -0
  25. package/dist/models/list-regulations-response-class.d.ts +31 -0
  26. package/dist/models/list-regulations-response-class.js +15 -0
  27. package/dist/models/payout-details-class.d.ts +90 -0
  28. package/dist/models/payout-details-class.js +26 -0
  29. package/dist/models/payout-details-dto.d.ts +60 -0
  30. package/dist/models/payout-details-dto.js +26 -0
  31. package/dist/models/regress-details-class.d.ts +81 -0
  32. package/dist/models/regress-details-class.js +29 -0
  33. package/dist/models/regress-details-dto.d.ts +51 -0
  34. package/dist/models/regress-details-dto.js +29 -0
  35. package/dist/models/regulation-item-class.d.ts +126 -0
  36. package/dist/models/regulation-item-class.js +34 -0
  37. package/dist/models/regulation-item-response-class.d.ts +25 -0
  38. package/dist/models/regulation-item-response-class.js +15 -0
  39. package/dist/models/reserve-details-class.d.ts +59 -0
  40. package/dist/models/reserve-details-class.js +20 -0
  41. package/dist/models/reserve-details-dto.d.ts +29 -0
  42. package/dist/models/reserve-details-dto.js +20 -0
  43. package/models/create-regulation-item-request-dto.ts +99 -0
  44. package/models/index.ts +10 -0
  45. package/models/list-regulations-response-class.ts +37 -0
  46. package/models/payout-details-class.ts +100 -0
  47. package/models/payout-details-dto.ts +70 -0
  48. package/models/regress-details-class.ts +91 -0
  49. package/models/regress-details-dto.ts +61 -0
  50. package/models/regulation-item-class.ts +136 -0
  51. package/models/regulation-item-response-class.ts +31 -0
  52. package/models/reserve-details-class.ts +68 -0
  53. package/models/reserve-details-dto.ts +38 -0
  54. package/package.json +1 -1
  55. package/dist/api/default-api.d.ts +0 -66
@@ -0,0 +1,372 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateRegulationItemRequestDto } from '../models';
16
+ import { ListRegulationsResponseClass } from '../models';
17
+ import { RegulationItemResponseClass } from '../models';
18
+ /**
19
+ * ClaimRegulationsApi - axios parameter creator
20
+ * @export
21
+ */
22
+ export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Configuration) => {
23
+ /**
24
+ * This endpoint will create a new regulation item for a claim
25
+ * @summary Create the claim regulation item
26
+ * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
27
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ createClaimRegulation: (createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ * This will delete the regulation item identified by the code.
34
+ * @summary Delete the claim regulation item
35
+ * @param {string} code Unique identifier for the object.
36
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
37
+ * @param {*} [options] Override http request option.
38
+ * @throws {RequiredError}
39
+ */
40
+ deleteClaimRegulations: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
+ /**
42
+ * Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
43
+ * @summary Retrieve the claim regulation item
44
+ * @param {string} code
45
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
46
+ * @param {'claim'} [expand]
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ getClaimRegulation: (code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
53
+ * @summary List claim regulation items
54
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
55
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
56
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
57
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, claimCode, amount, bookingDate, currency&lt;/i&gt;
58
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: amount, bookingDate, createdAt, updatedAt&lt;/i&gt;
59
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claim.&lt;i&gt;
60
+ * @param {*} [options] Override http request option.
61
+ * @throws {RequiredError}
62
+ */
63
+ listClaimRegulations: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
+ /**
65
+ * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
66
+ * @summary Update the claim regulation item
67
+ * @param {string} code Unique identifier for the object.
68
+ * @param {object} body
69
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ updateClaimRegulation: (code: string, body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ };
75
+ /**
76
+ * ClaimRegulationsApi - functional programming interface
77
+ * @export
78
+ */
79
+ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
80
+ /**
81
+ * This endpoint will create a new regulation item for a claim
82
+ * @summary Create the claim regulation item
83
+ * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
84
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
89
+ /**
90
+ * This will delete the regulation item identified by the code.
91
+ * @summary Delete the claim regulation item
92
+ * @param {string} code Unique identifier for the object.
93
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
94
+ * @param {*} [options] Override http request option.
95
+ * @throws {RequiredError}
96
+ */
97
+ deleteClaimRegulations(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
98
+ /**
99
+ * Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
100
+ * @summary Retrieve the claim regulation item
101
+ * @param {string} code
102
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
103
+ * @param {'claim'} [expand]
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
108
+ /**
109
+ * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
110
+ * @summary List claim regulation items
111
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
112
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
113
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
114
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, claimCode, amount, bookingDate, currency&lt;/i&gt;
115
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: amount, bookingDate, createdAt, updatedAt&lt;/i&gt;
116
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claim.&lt;i&gt;
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ listClaimRegulations(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>>;
121
+ /**
122
+ * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
123
+ * @summary Update the claim regulation item
124
+ * @param {string} code Unique identifier for the object.
125
+ * @param {object} body
126
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
127
+ * @param {*} [options] Override http request option.
128
+ * @throws {RequiredError}
129
+ */
130
+ updateClaimRegulation(code: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
131
+ };
132
+ /**
133
+ * ClaimRegulationsApi - factory interface
134
+ * @export
135
+ */
136
+ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
137
+ /**
138
+ * This endpoint will create a new regulation item for a claim
139
+ * @summary Create the claim regulation item
140
+ * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
141
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
146
+ /**
147
+ * This will delete the regulation item identified by the code.
148
+ * @summary Delete the claim regulation item
149
+ * @param {string} code Unique identifier for the object.
150
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ deleteClaimRegulations(code: string, authorization?: string, options?: any): AxiosPromise<void>;
155
+ /**
156
+ * Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
157
+ * @summary Retrieve the claim regulation item
158
+ * @param {string} code
159
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
160
+ * @param {'claim'} [expand]
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass>;
165
+ /**
166
+ * Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
167
+ * @summary List claim regulation items
168
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
169
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
170
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
171
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, claimCode, amount, bookingDate, currency&lt;/i&gt;
172
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: amount, bookingDate, createdAt, updatedAt&lt;/i&gt;
173
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claim.&lt;i&gt;
174
+ * @param {*} [options] Override http request option.
175
+ * @throws {RequiredError}
176
+ */
177
+ listClaimRegulations(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRegulationsResponseClass>;
178
+ /**
179
+ * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
180
+ * @summary Update the claim regulation item
181
+ * @param {string} code Unique identifier for the object.
182
+ * @param {object} body
183
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ updateClaimRegulation(code: string, body: object, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
188
+ };
189
+ /**
190
+ * Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
191
+ * @export
192
+ * @interface ClaimRegulationsApiCreateClaimRegulationRequest
193
+ */
194
+ export interface ClaimRegulationsApiCreateClaimRegulationRequest {
195
+ /**
196
+ *
197
+ * @type {CreateRegulationItemRequestDto}
198
+ * @memberof ClaimRegulationsApiCreateClaimRegulation
199
+ */
200
+ readonly createRegulationItemRequestDto: CreateRegulationItemRequestDto;
201
+ /**
202
+ * Bearer Token: provided by the login endpoint under the name accessToken.
203
+ * @type {string}
204
+ * @memberof ClaimRegulationsApiCreateClaimRegulation
205
+ */
206
+ readonly authorization?: string;
207
+ }
208
+ /**
209
+ * Request parameters for deleteClaimRegulations operation in ClaimRegulationsApi.
210
+ * @export
211
+ * @interface ClaimRegulationsApiDeleteClaimRegulationsRequest
212
+ */
213
+ export interface ClaimRegulationsApiDeleteClaimRegulationsRequest {
214
+ /**
215
+ * Unique identifier for the object.
216
+ * @type {string}
217
+ * @memberof ClaimRegulationsApiDeleteClaimRegulations
218
+ */
219
+ readonly code: string;
220
+ /**
221
+ * Bearer Token: provided by the login endpoint under the name accessToken.
222
+ * @type {string}
223
+ * @memberof ClaimRegulationsApiDeleteClaimRegulations
224
+ */
225
+ readonly authorization?: string;
226
+ }
227
+ /**
228
+ * Request parameters for getClaimRegulation operation in ClaimRegulationsApi.
229
+ * @export
230
+ * @interface ClaimRegulationsApiGetClaimRegulationRequest
231
+ */
232
+ export interface ClaimRegulationsApiGetClaimRegulationRequest {
233
+ /**
234
+ *
235
+ * @type {string}
236
+ * @memberof ClaimRegulationsApiGetClaimRegulation
237
+ */
238
+ readonly code: string;
239
+ /**
240
+ * Bearer Token: provided by the login endpoint under the name accessToken.
241
+ * @type {string}
242
+ * @memberof ClaimRegulationsApiGetClaimRegulation
243
+ */
244
+ readonly authorization?: string;
245
+ /**
246
+ *
247
+ * @type {'claim'}
248
+ * @memberof ClaimRegulationsApiGetClaimRegulation
249
+ */
250
+ readonly expand?: 'claim';
251
+ }
252
+ /**
253
+ * Request parameters for listClaimRegulations operation in ClaimRegulationsApi.
254
+ * @export
255
+ * @interface ClaimRegulationsApiListClaimRegulationsRequest
256
+ */
257
+ export interface ClaimRegulationsApiListClaimRegulationsRequest {
258
+ /**
259
+ * Bearer Token: provided by the login endpoint under the name accessToken.
260
+ * @type {string}
261
+ * @memberof ClaimRegulationsApiListClaimRegulations
262
+ */
263
+ readonly authorization?: string;
264
+ /**
265
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
266
+ * @type {string}
267
+ * @memberof ClaimRegulationsApiListClaimRegulations
268
+ */
269
+ readonly filter?: string;
270
+ /**
271
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus&lt;/i&gt;
272
+ * @type {string}
273
+ * @memberof ClaimRegulationsApiListClaimRegulations
274
+ */
275
+ readonly filters?: string;
276
+ /**
277
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, claimCode, amount, bookingDate, currency&lt;/i&gt;
278
+ * @type {string}
279
+ * @memberof ClaimRegulationsApiListClaimRegulations
280
+ */
281
+ readonly search?: string;
282
+ /**
283
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: amount, bookingDate, createdAt, updatedAt&lt;/i&gt;
284
+ * @type {string}
285
+ * @memberof ClaimRegulationsApiListClaimRegulations
286
+ */
287
+ readonly order?: string;
288
+ /**
289
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claim.&lt;i&gt;
290
+ * @type {string}
291
+ * @memberof ClaimRegulationsApiListClaimRegulations
292
+ */
293
+ readonly expand?: string;
294
+ }
295
+ /**
296
+ * Request parameters for updateClaimRegulation operation in ClaimRegulationsApi.
297
+ * @export
298
+ * @interface ClaimRegulationsApiUpdateClaimRegulationRequest
299
+ */
300
+ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
301
+ /**
302
+ * Unique identifier for the object.
303
+ * @type {string}
304
+ * @memberof ClaimRegulationsApiUpdateClaimRegulation
305
+ */
306
+ readonly code: string;
307
+ /**
308
+ *
309
+ * @type {object}
310
+ * @memberof ClaimRegulationsApiUpdateClaimRegulation
311
+ */
312
+ readonly body: object;
313
+ /**
314
+ * Bearer Token: provided by the login endpoint under the name accessToken.
315
+ * @type {string}
316
+ * @memberof ClaimRegulationsApiUpdateClaimRegulation
317
+ */
318
+ readonly authorization?: string;
319
+ }
320
+ /**
321
+ * ClaimRegulationsApi - object-oriented interface
322
+ * @export
323
+ * @class ClaimRegulationsApi
324
+ * @extends {BaseAPI}
325
+ */
326
+ export declare class ClaimRegulationsApi extends BaseAPI {
327
+ /**
328
+ * This endpoint will create a new regulation item for a claim
329
+ * @summary Create the claim regulation item
330
+ * @param {ClaimRegulationsApiCreateClaimRegulationRequest} requestParameters Request parameters.
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ * @memberof ClaimRegulationsApi
334
+ */
335
+ createClaimRegulation(requestParameters: ClaimRegulationsApiCreateClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
336
+ /**
337
+ * This will delete the regulation item identified by the code.
338
+ * @summary Delete the claim regulation item
339
+ * @param {ClaimRegulationsApiDeleteClaimRegulationsRequest} requestParameters Request parameters.
340
+ * @param {*} [options] Override http request option.
341
+ * @throws {RequiredError}
342
+ * @memberof ClaimRegulationsApi
343
+ */
344
+ deleteClaimRegulations(requestParameters: ClaimRegulationsApiDeleteClaimRegulationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
345
+ /**
346
+ * Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
347
+ * @summary Retrieve the claim regulation item
348
+ * @param {ClaimRegulationsApiGetClaimRegulationRequest} requestParameters Request parameters.
349
+ * @param {*} [options] Override http request option.
350
+ * @throws {RequiredError}
351
+ * @memberof ClaimRegulationsApi
352
+ */
353
+ getClaimRegulation(requestParameters: ClaimRegulationsApiGetClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
354
+ /**
355
+ * 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.
356
+ * @summary List claim regulation items
357
+ * @param {ClaimRegulationsApiListClaimRegulationsRequest} requestParameters Request parameters.
358
+ * @param {*} [options] Override http request option.
359
+ * @throws {RequiredError}
360
+ * @memberof ClaimRegulationsApi
361
+ */
362
+ listClaimRegulations(requestParameters?: ClaimRegulationsApiListClaimRegulationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRegulationsResponseClass, any>>;
363
+ /**
364
+ * 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.
365
+ * @summary Update the claim regulation item
366
+ * @param {ClaimRegulationsApiUpdateClaimRegulationRequest} requestParameters Request parameters.
367
+ * @param {*} [options] Override http request option.
368
+ * @throws {RequiredError}
369
+ * @memberof ClaimRegulationsApi
370
+ */
371
+ updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
372
+ }