@emilgroup/claim-sdk 1.17.2-beta.2 → 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.
@@ -25,13 +25,14 @@ import { InlineResponse200 } from '../models';
25
25
  // @ts-ignore
26
26
  import { InlineResponse503 } from '../models';
27
27
  /**
28
- * DefaultApi - axios parameter creator
28
+ * HealthCheckApi - axios parameter creator
29
29
  * @export
30
30
  */
31
- export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
31
+ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
- *
34
+ * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
35
+ * @summary Health Check
35
36
  * @param {*} [options] Override http request option.
36
37
  * @throws {RequiredError}
37
38
  */
@@ -65,14 +66,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
65
66
  };
66
67
 
67
68
  /**
68
- * DefaultApi - functional programming interface
69
+ * HealthCheckApi - functional programming interface
69
70
  * @export
70
71
  */
71
- export const DefaultApiFp = function(configuration?: Configuration) {
72
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
72
+ export const HealthCheckApiFp = function(configuration?: Configuration) {
73
+ const localVarAxiosParamCreator = HealthCheckApiAxiosParamCreator(configuration)
73
74
  return {
74
75
  /**
75
- *
76
+ * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
77
+ * @summary Health Check
76
78
  * @param {*} [options] Override http request option.
77
79
  * @throws {RequiredError}
78
80
  */
@@ -84,14 +86,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
84
86
  };
85
87
 
86
88
  /**
87
- * DefaultApi - factory interface
89
+ * HealthCheckApi - factory interface
88
90
  * @export
89
91
  */
90
- export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
91
- const localVarFp = DefaultApiFp(configuration)
92
+ export const HealthCheckApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
93
+ const localVarFp = HealthCheckApiFp(configuration)
92
94
  return {
93
95
  /**
94
- *
96
+ * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
97
+ * @summary Health Check
95
98
  * @param {*} [options] Override http request option.
96
99
  * @throws {RequiredError}
97
100
  */
@@ -102,19 +105,20 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
102
105
  };
103
106
 
104
107
  /**
105
- * DefaultApi - object-oriented interface
108
+ * HealthCheckApi - object-oriented interface
106
109
  * @export
107
- * @class DefaultApi
110
+ * @class HealthCheckApi
108
111
  * @extends {BaseAPI}
109
112
  */
110
- export class DefaultApi extends BaseAPI {
113
+ export class HealthCheckApi extends BaseAPI {
111
114
  /**
112
- *
115
+ * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
116
+ * @summary Health Check
113
117
  * @param {*} [options] Override http request option.
114
118
  * @throws {RequiredError}
115
- * @memberof DefaultApi
119
+ * @memberof HealthCheckApi
116
120
  */
117
121
  public check(options?: AxiosRequestConfig) {
118
- return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
122
+ return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
119
123
  }
120
124
  }
package/api.ts CHANGED
@@ -25,7 +25,7 @@ import { ClaimPartnersApi } from './api';
25
25
  import { ClaimRegulationsApi } from './api';
26
26
  import { ClaimStatusesApi } from './api';
27
27
  import { ClaimsApi } from './api';
28
- import { DefaultApi } from './api';
28
+ import { HealthCheckApi } from './api';
29
29
  import { SettlementsApi } from './api';
30
30
 
31
31
 
@@ -34,6 +34,6 @@ export * from './api/claim-partners-api';
34
34
  export * from './api/claim-regulations-api';
35
35
  export * from './api/claim-statuses-api';
36
36
  export * from './api/claims-api';
37
- export * from './api/default-api';
37
+ export * from './api/health-check-api';
38
38
  export * from './api/settlements-api';
39
39
 
@@ -13,6 +13,7 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateRegulationItemRequestDto } from '../models';
16
+ import { ListRegulationsResponseClass } from '../models';
16
17
  import { RegulationItemResponseClass } from '../models';
17
18
  /**
18
19
  * ClaimRegulationsApi - axios parameter creator
@@ -28,22 +29,48 @@ export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Conf
28
29
  * @throws {RequiredError}
29
30
  */
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>;
31
41
  /**
32
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.
33
43
  * @summary Retrieve the claim regulation item
34
44
  * @param {string} code
35
45
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
36
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
37
- * @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.
38
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
39
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
40
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
41
- * @param {'partners'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
42
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
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;
43
60
  * @param {*} [options] Override http request option.
44
61
  * @throws {RequiredError}
45
62
  */
46
- getClaimRegulation: (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'partners', filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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>;
47
74
  };
48
75
  /**
49
76
  * ClaimRegulationsApi - functional programming interface
@@ -59,22 +86,48 @@ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
59
86
  * @throws {RequiredError}
60
87
  */
61
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>>;
62
98
  /**
63
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.
64
100
  * @summary Retrieve the claim regulation item
65
101
  * @param {string} code
66
102
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
67
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
68
- * @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.
69
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
70
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
71
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
72
- * @param {'partners'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
73
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
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.
74
127
  * @param {*} [options] Override http request option.
75
128
  * @throws {RequiredError}
76
129
  */
77
- getClaimRegulation(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'partners', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
130
+ updateClaimRegulation(code: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
78
131
  };
79
132
  /**
80
133
  * ClaimRegulationsApi - factory interface
@@ -90,22 +143,48 @@ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration,
90
143
  * @throws {RequiredError}
91
144
  */
92
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>;
93
155
  /**
94
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.
95
157
  * @summary Retrieve the claim regulation item
96
158
  * @param {string} code
97
159
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
98
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
99
- * @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.
100
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
101
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
102
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
103
- * @param {'partners'} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
104
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
160
+ * @param {'claim'} [expand]
105
161
  * @param {*} [options] Override http request option.
106
162
  * @throws {RequiredError}
107
163
  */
108
- getClaimRegulation(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'partners', filters?: any, options?: any): AxiosPromise<RegulationItemResponseClass>;
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>;
109
188
  };
110
189
  /**
111
190
  * Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
@@ -126,6 +205,25 @@ export interface ClaimRegulationsApiCreateClaimRegulationRequest {
126
205
  */
127
206
  readonly authorization?: string;
128
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
+ }
129
227
  /**
130
228
  * Request parameters for getClaimRegulation operation in ClaimRegulationsApi.
131
229
  * @export
@@ -145,47 +243,79 @@ export interface ClaimRegulationsApiGetClaimRegulationRequest {
145
243
  */
146
244
  readonly authorization?: string;
147
245
  /**
148
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
149
- * @type {any}
246
+ *
247
+ * @type {'claim'}
150
248
  * @memberof ClaimRegulationsApiGetClaimRegulation
151
249
  */
152
- readonly pageSize?: any;
250
+ readonly expand?: 'claim';
251
+ }
252
+ /**
253
+ * Request parameters for listClaimRegulations operation in ClaimRegulationsApi.
254
+ * @export
255
+ * @interface ClaimRegulationsApiListClaimRegulationsRequest
256
+ */
257
+ export interface ClaimRegulationsApiListClaimRegulationsRequest {
153
258
  /**
154
- * 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.
155
- * @type {any}
156
- * @memberof ClaimRegulationsApiGetClaimRegulation
259
+ * Bearer Token: provided by the login endpoint under the name accessToken.
260
+ * @type {string}
261
+ * @memberof ClaimRegulationsApiListClaimRegulations
157
262
  */
158
- readonly pageToken?: any;
263
+ readonly authorization?: string;
159
264
  /**
160
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
161
- * @type {any}
162
- * @memberof ClaimRegulationsApiGetClaimRegulation
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
163
268
  */
164
- readonly filter?: any;
269
+ readonly filter?: string;
165
270
  /**
166
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
167
- * @type {any}
168
- * @memberof ClaimRegulationsApiGetClaimRegulation
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
169
274
  */
170
- readonly search?: any;
275
+ readonly filters?: string;
171
276
  /**
172
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
173
- * @type {any}
174
- * @memberof ClaimRegulationsApiGetClaimRegulation
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
175
280
  */
176
- readonly order?: any;
281
+ readonly search?: string;
177
282
  /**
178
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
179
- * @type {'partners'}
180
- * @memberof ClaimRegulationsApiGetClaimRegulation
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
181
286
  */
182
- readonly expand?: 'partners';
287
+ readonly order?: string;
183
288
  /**
184
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
185
- * @type {any}
186
- * @memberof ClaimRegulationsApiGetClaimRegulation
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
187
311
  */
188
- readonly filters?: any;
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;
189
319
  }
190
320
  /**
191
321
  * ClaimRegulationsApi - object-oriented interface
@@ -203,6 +333,15 @@ export declare class ClaimRegulationsApi extends BaseAPI {
203
333
  * @memberof ClaimRegulationsApi
204
334
  */
205
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>>;
206
345
  /**
207
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.
208
347
  * @summary Retrieve the claim regulation item
@@ -212,4 +351,22 @@ export declare class ClaimRegulationsApi extends BaseAPI {
212
351
  * @memberof ClaimRegulationsApi
213
352
  */
214
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>>;
215
372
  }