@emilgroup/claim-sdk-node 1.17.2-beta.0 → 1.17.2-beta.4

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 (68) hide show
  1. package/.openapi-generator/FILES +9 -1
  2. package/README.md +18 -2
  3. package/api/claim-partner-roles-api.ts +41 -41
  4. package/api/claim-partners-api.ts +55 -55
  5. package/api/claim-regulations-api.ts +689 -0
  6. package/api/claim-statuses-api.ts +39 -39
  7. package/api/claims-api.ts +37 -37
  8. package/api/{default-api.ts → health-check-api.ts} +22 -18
  9. package/api/settlements-api.ts +39 -39
  10. package/api.ts +4 -2
  11. package/dist/api/claim-partner-roles-api.d.ts +41 -41
  12. package/dist/api/claim-partner-roles-api.js +23 -23
  13. package/dist/api/claim-partners-api.d.ts +51 -51
  14. package/dist/api/claim-partners-api.js +32 -32
  15. package/dist/api/claim-regulations-api.d.ts +390 -0
  16. package/dist/api/claim-regulations-api.js +646 -0
  17. package/dist/api/claim-statuses-api.d.ts +39 -39
  18. package/dist/api/claim-statuses-api.js +23 -23
  19. package/dist/api/claims-api.d.ts +37 -37
  20. package/dist/api/claims-api.js +19 -19
  21. package/dist/api/health-check-api.d.ts +70 -0
  22. package/dist/api/{default-api.js → health-check-api.js} +31 -27
  23. package/dist/api/settlements-api.d.ts +39 -39
  24. package/dist/api/settlements-api.js +23 -23
  25. package/dist/api.d.ts +2 -1
  26. package/dist/api.js +2 -1
  27. package/dist/models/create-claim-partner-response-class.d.ts +1 -1
  28. package/dist/models/create-claim-partner-role-response-class.d.ts +1 -1
  29. package/dist/models/create-claim-request-dto.d.ts +17 -17
  30. package/dist/models/create-regulation-item-request-dto.d.ts +68 -0
  31. package/dist/models/create-regulation-item-request-dto.js +34 -0
  32. package/dist/models/get-claim-partner-response-class.d.ts +1 -1
  33. package/dist/models/get-claim-partner-role-response-class.d.ts +1 -1
  34. package/dist/models/index.d.ts +7 -0
  35. package/dist/models/index.js +7 -0
  36. package/dist/models/list-regulations-response-class.d.ts +31 -0
  37. package/dist/models/list-regulations-response-class.js +15 -0
  38. package/dist/models/patch-claim-request-dto.d.ts +18 -18
  39. package/dist/models/payout-details-class.d.ts +90 -0
  40. package/dist/models/payout-details-class.js +26 -0
  41. package/dist/models/regress-details-class.d.ts +81 -0
  42. package/dist/models/regress-details-class.js +29 -0
  43. package/dist/models/regulation-item-class.d.ts +126 -0
  44. package/dist/models/regulation-item-class.js +34 -0
  45. package/dist/models/regulation-item-response-class.d.ts +25 -0
  46. package/dist/models/regulation-item-response-class.js +15 -0
  47. package/dist/models/reserve-details-class.d.ts +59 -0
  48. package/dist/models/reserve-details-class.js +20 -0
  49. package/dist/models/update-claim-partner-role-response-class.d.ts +1 -1
  50. package/dist/models/update-claim-request-dto.d.ts +15 -15
  51. package/models/create-claim-partner-response-class.ts +1 -1
  52. package/models/create-claim-partner-role-response-class.ts +1 -1
  53. package/models/create-claim-request-dto.ts +17 -17
  54. package/models/create-regulation-item-request-dto.ts +78 -0
  55. package/models/get-claim-partner-response-class.ts +1 -1
  56. package/models/get-claim-partner-role-response-class.ts +1 -1
  57. package/models/index.ts +7 -0
  58. package/models/list-regulations-response-class.ts +37 -0
  59. package/models/patch-claim-request-dto.ts +18 -18
  60. package/models/payout-details-class.ts +100 -0
  61. package/models/regress-details-class.ts +91 -0
  62. package/models/regulation-item-class.ts +136 -0
  63. package/models/regulation-item-response-class.ts +31 -0
  64. package/models/reserve-details-class.ts +68 -0
  65. package/models/update-claim-partner-role-response-class.ts +1 -1
  66. package/models/update-claim-request-dto.ts +15 -15
  67. package/package.json +1 -1
  68. package/dist/api/default-api.d.ts +0 -66
@@ -0,0 +1,390 @@
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 {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
56
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
57
+ * @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;
58
+ * @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;
59
+ * @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;
60
+ * @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;
61
+ * @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;
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ listClaimRegulations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ /**
67
+ * 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.
68
+ * @summary Update the claim regulation item
69
+ * @param {string} code Unique identifier for the object.
70
+ * @param {object} body
71
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
72
+ * @param {*} [options] Override http request option.
73
+ * @throws {RequiredError}
74
+ */
75
+ updateClaimRegulation: (code: string, body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ };
77
+ /**
78
+ * ClaimRegulationsApi - functional programming interface
79
+ * @export
80
+ */
81
+ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
82
+ /**
83
+ * This endpoint will create a new regulation item for a claim
84
+ * @summary Create the claim regulation item
85
+ * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
86
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
91
+ /**
92
+ * This will delete the regulation item identified by the code.
93
+ * @summary Delete the claim regulation item
94
+ * @param {string} code Unique identifier for the object.
95
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ deleteClaimRegulations(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
100
+ /**
101
+ * 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.
102
+ * @summary Retrieve the claim regulation item
103
+ * @param {string} code
104
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
+ * @param {'claim'} [expand]
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
110
+ /**
111
+ * 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.
112
+ * @summary List claim regulation items
113
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
114
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
115
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
116
+ * @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;
117
+ * @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;
118
+ * @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;
119
+ * @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;
120
+ * @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;
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>>;
125
+ /**
126
+ * 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.
127
+ * @summary Update the claim regulation item
128
+ * @param {string} code Unique identifier for the object.
129
+ * @param {object} body
130
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ updateClaimRegulation(code: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
135
+ };
136
+ /**
137
+ * ClaimRegulationsApi - factory interface
138
+ * @export
139
+ */
140
+ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
141
+ /**
142
+ * This endpoint will create a new regulation item for a claim
143
+ * @summary Create the claim regulation item
144
+ * @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
145
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ */
149
+ createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
150
+ /**
151
+ * This will delete the regulation item identified by the code.
152
+ * @summary Delete the claim regulation item
153
+ * @param {string} code Unique identifier for the object.
154
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
155
+ * @param {*} [options] Override http request option.
156
+ * @throws {RequiredError}
157
+ */
158
+ deleteClaimRegulations(code: string, authorization?: string, options?: any): AxiosPromise<void>;
159
+ /**
160
+ * 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.
161
+ * @summary Retrieve the claim regulation item
162
+ * @param {string} code
163
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
164
+ * @param {'claim'} [expand]
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass>;
169
+ /**
170
+ * 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.
171
+ * @summary List claim regulation items
172
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
173
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
174
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
175
+ * @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;
176
+ * @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;
177
+ * @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;
178
+ * @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;
179
+ * @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;
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass>;
184
+ /**
185
+ * 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.
186
+ * @summary Update the claim regulation item
187
+ * @param {string} code Unique identifier for the object.
188
+ * @param {object} body
189
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
190
+ * @param {*} [options] Override http request option.
191
+ * @throws {RequiredError}
192
+ */
193
+ updateClaimRegulation(code: string, body: object, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
194
+ };
195
+ /**
196
+ * Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
197
+ * @export
198
+ * @interface ClaimRegulationsApiCreateClaimRegulationRequest
199
+ */
200
+ export interface ClaimRegulationsApiCreateClaimRegulationRequest {
201
+ /**
202
+ *
203
+ * @type {CreateRegulationItemRequestDto}
204
+ * @memberof ClaimRegulationsApiCreateClaimRegulation
205
+ */
206
+ readonly createRegulationItemRequestDto: CreateRegulationItemRequestDto;
207
+ /**
208
+ * Bearer Token: provided by the login endpoint under the name accessToken.
209
+ * @type {string}
210
+ * @memberof ClaimRegulationsApiCreateClaimRegulation
211
+ */
212
+ readonly authorization?: string;
213
+ }
214
+ /**
215
+ * Request parameters for deleteClaimRegulations operation in ClaimRegulationsApi.
216
+ * @export
217
+ * @interface ClaimRegulationsApiDeleteClaimRegulationsRequest
218
+ */
219
+ export interface ClaimRegulationsApiDeleteClaimRegulationsRequest {
220
+ /**
221
+ * Unique identifier for the object.
222
+ * @type {string}
223
+ * @memberof ClaimRegulationsApiDeleteClaimRegulations
224
+ */
225
+ readonly code: string;
226
+ /**
227
+ * Bearer Token: provided by the login endpoint under the name accessToken.
228
+ * @type {string}
229
+ * @memberof ClaimRegulationsApiDeleteClaimRegulations
230
+ */
231
+ readonly authorization?: string;
232
+ }
233
+ /**
234
+ * Request parameters for getClaimRegulation operation in ClaimRegulationsApi.
235
+ * @export
236
+ * @interface ClaimRegulationsApiGetClaimRegulationRequest
237
+ */
238
+ export interface ClaimRegulationsApiGetClaimRegulationRequest {
239
+ /**
240
+ *
241
+ * @type {string}
242
+ * @memberof ClaimRegulationsApiGetClaimRegulation
243
+ */
244
+ readonly code: string;
245
+ /**
246
+ * Bearer Token: provided by the login endpoint under the name accessToken.
247
+ * @type {string}
248
+ * @memberof ClaimRegulationsApiGetClaimRegulation
249
+ */
250
+ readonly authorization?: string;
251
+ /**
252
+ *
253
+ * @type {'claim'}
254
+ * @memberof ClaimRegulationsApiGetClaimRegulation
255
+ */
256
+ readonly expand?: 'claim';
257
+ }
258
+ /**
259
+ * Request parameters for listClaimRegulations operation in ClaimRegulationsApi.
260
+ * @export
261
+ * @interface ClaimRegulationsApiListClaimRegulationsRequest
262
+ */
263
+ export interface ClaimRegulationsApiListClaimRegulationsRequest {
264
+ /**
265
+ * Bearer Token: provided by the login endpoint under the name accessToken.
266
+ * @type {string}
267
+ * @memberof ClaimRegulationsApiListClaimRegulations
268
+ */
269
+ readonly authorization?: string;
270
+ /**
271
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
272
+ * @type {any}
273
+ * @memberof ClaimRegulationsApiListClaimRegulations
274
+ */
275
+ readonly pageSize?: any;
276
+ /**
277
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
278
+ * @type {any}
279
+ * @memberof ClaimRegulationsApiListClaimRegulations
280
+ */
281
+ readonly pageToken?: any;
282
+ /**
283
+ * 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;
284
+ * @type {string}
285
+ * @memberof ClaimRegulationsApiListClaimRegulations
286
+ */
287
+ readonly filter?: string;
288
+ /**
289
+ * 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;
290
+ * @type {string}
291
+ * @memberof ClaimRegulationsApiListClaimRegulations
292
+ */
293
+ readonly search?: string;
294
+ /**
295
+ * 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;
296
+ * @type {string}
297
+ * @memberof ClaimRegulationsApiListClaimRegulations
298
+ */
299
+ readonly order?: string;
300
+ /**
301
+ * 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;
302
+ * @type {string}
303
+ * @memberof ClaimRegulationsApiListClaimRegulations
304
+ */
305
+ readonly expand?: string;
306
+ /**
307
+ * 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;
308
+ * @type {string}
309
+ * @memberof ClaimRegulationsApiListClaimRegulations
310
+ */
311
+ readonly filters?: string;
312
+ }
313
+ /**
314
+ * Request parameters for updateClaimRegulation operation in ClaimRegulationsApi.
315
+ * @export
316
+ * @interface ClaimRegulationsApiUpdateClaimRegulationRequest
317
+ */
318
+ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
319
+ /**
320
+ * Unique identifier for the object.
321
+ * @type {string}
322
+ * @memberof ClaimRegulationsApiUpdateClaimRegulation
323
+ */
324
+ readonly code: string;
325
+ /**
326
+ *
327
+ * @type {object}
328
+ * @memberof ClaimRegulationsApiUpdateClaimRegulation
329
+ */
330
+ readonly body: object;
331
+ /**
332
+ * Bearer Token: provided by the login endpoint under the name accessToken.
333
+ * @type {string}
334
+ * @memberof ClaimRegulationsApiUpdateClaimRegulation
335
+ */
336
+ readonly authorization?: string;
337
+ }
338
+ /**
339
+ * ClaimRegulationsApi - object-oriented interface
340
+ * @export
341
+ * @class ClaimRegulationsApi
342
+ * @extends {BaseAPI}
343
+ */
344
+ export declare class ClaimRegulationsApi extends BaseAPI {
345
+ /**
346
+ * This endpoint will create a new regulation item for a claim
347
+ * @summary Create the claim regulation item
348
+ * @param {ClaimRegulationsApiCreateClaimRegulationRequest} requestParameters Request parameters.
349
+ * @param {*} [options] Override http request option.
350
+ * @throws {RequiredError}
351
+ * @memberof ClaimRegulationsApi
352
+ */
353
+ createClaimRegulation(requestParameters: ClaimRegulationsApiCreateClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
354
+ /**
355
+ * This will delete the regulation item identified by the code.
356
+ * @summary Delete the claim regulation item
357
+ * @param {ClaimRegulationsApiDeleteClaimRegulationsRequest} requestParameters Request parameters.
358
+ * @param {*} [options] Override http request option.
359
+ * @throws {RequiredError}
360
+ * @memberof ClaimRegulationsApi
361
+ */
362
+ deleteClaimRegulations(requestParameters: ClaimRegulationsApiDeleteClaimRegulationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
363
+ /**
364
+ * 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.
365
+ * @summary Retrieve the claim regulation item
366
+ * @param {ClaimRegulationsApiGetClaimRegulationRequest} requestParameters Request parameters.
367
+ * @param {*} [options] Override http request option.
368
+ * @throws {RequiredError}
369
+ * @memberof ClaimRegulationsApi
370
+ */
371
+ getClaimRegulation(requestParameters: ClaimRegulationsApiGetClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
372
+ /**
373
+ * 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.
374
+ * @summary List claim regulation items
375
+ * @param {ClaimRegulationsApiListClaimRegulationsRequest} requestParameters Request parameters.
376
+ * @param {*} [options] Override http request option.
377
+ * @throws {RequiredError}
378
+ * @memberof ClaimRegulationsApi
379
+ */
380
+ listClaimRegulations(requestParameters?: ClaimRegulationsApiListClaimRegulationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRegulationsResponseClass, any>>;
381
+ /**
382
+ * 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.
383
+ * @summary Update the claim regulation item
384
+ * @param {ClaimRegulationsApiUpdateClaimRegulationRequest} requestParameters Request parameters.
385
+ * @param {*} [options] Override http request option.
386
+ * @throws {RequiredError}
387
+ * @memberof ClaimRegulationsApi
388
+ */
389
+ updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
390
+ }