@emilgroup/claim-sdk-node 1.11.0 → 1.17.1

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 (76) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +681 -0
  4. package/api/claim-partners-api.ts +574 -0
  5. package/api/claim-statuses-api.ts +24 -10
  6. package/api/claims-api.ts +24 -10
  7. package/api/settlements-api.ts +24 -10
  8. package/api.ts +4 -0
  9. package/dist/api/claim-partner-roles-api.d.ts +384 -0
  10. package/dist/api/claim-partner-roles-api.js +640 -0
  11. package/dist/api/claim-partners-api.d.ts +327 -0
  12. package/dist/api/claim-partners-api.js +547 -0
  13. package/dist/api/claim-statuses-api.d.ts +16 -7
  14. package/dist/api/claim-statuses-api.js +15 -9
  15. package/dist/api/claims-api.d.ts +16 -7
  16. package/dist/api/claims-api.js +15 -9
  17. package/dist/api/settlements-api.d.ts +16 -7
  18. package/dist/api/settlements-api.js +15 -9
  19. package/dist/api.d.ts +2 -0
  20. package/dist/api.js +2 -0
  21. package/dist/models/claim-class.d.ts +13 -1
  22. package/dist/models/claim-partner-class.d.ts +61 -0
  23. package/dist/models/claim-partner-class.js +15 -0
  24. package/dist/models/claim-partner-role-class.d.ts +54 -0
  25. package/dist/models/claim-partner-role-class.js +15 -0
  26. package/dist/models/claim-status-class.d.ts +1 -1
  27. package/dist/models/create-claim-partner-request-dto.d.ts +36 -0
  28. package/dist/models/create-claim-partner-request-dto.js +15 -0
  29. package/dist/models/create-claim-partner-response-class.d.ts +25 -0
  30. package/dist/models/create-claim-partner-response-class.js +15 -0
  31. package/dist/models/create-claim-partner-role-request-dto.d.ts +30 -0
  32. package/dist/models/create-claim-partner-role-request-dto.js +15 -0
  33. package/dist/models/create-claim-partner-role-response-class.d.ts +25 -0
  34. package/dist/models/create-claim-partner-role-response-class.js +15 -0
  35. package/dist/models/create-claim-request-dto.d.ts +9 -3
  36. package/dist/models/create-claim-status-request-dto.d.ts +1 -1
  37. package/dist/models/get-claim-partner-response-class.d.ts +25 -0
  38. package/dist/models/get-claim-partner-response-class.js +15 -0
  39. package/dist/models/get-claim-partner-role-response-class.d.ts +25 -0
  40. package/dist/models/get-claim-partner-role-response-class.js +15 -0
  41. package/dist/models/index.d.ts +12 -0
  42. package/dist/models/index.js +12 -0
  43. package/dist/models/inline-response200.d.ts +6 -6
  44. package/dist/models/inline-response503.d.ts +6 -6
  45. package/dist/models/list-claim-partner-roles-response-class.d.ts +31 -0
  46. package/dist/models/list-claim-partner-roles-response-class.js +15 -0
  47. package/dist/models/list-claim-partners-response-class.d.ts +31 -0
  48. package/dist/models/list-claim-partners-response-class.js +15 -0
  49. package/dist/models/patch-claim-request-dto.d.ts +8 -2
  50. package/dist/models/update-claim-partner-role-request-dto.d.ts +36 -0
  51. package/dist/models/update-claim-partner-role-request-dto.js +15 -0
  52. package/dist/models/update-claim-partner-role-response-class.d.ts +25 -0
  53. package/dist/models/update-claim-partner-role-response-class.js +15 -0
  54. package/dist/models/update-claim-request-dto.d.ts +8 -2
  55. package/models/claim-class.ts +13 -1
  56. package/models/claim-partner-class.ts +67 -0
  57. package/models/claim-partner-role-class.ts +60 -0
  58. package/models/claim-status-class.ts +1 -1
  59. package/models/create-claim-partner-request-dto.ts +42 -0
  60. package/models/create-claim-partner-response-class.ts +31 -0
  61. package/models/create-claim-partner-role-request-dto.ts +36 -0
  62. package/models/create-claim-partner-role-response-class.ts +31 -0
  63. package/models/create-claim-request-dto.ts +9 -3
  64. package/models/create-claim-status-request-dto.ts +1 -1
  65. package/models/get-claim-partner-response-class.ts +31 -0
  66. package/models/get-claim-partner-role-response-class.ts +31 -0
  67. package/models/index.ts +12 -0
  68. package/models/inline-response200.ts +6 -6
  69. package/models/inline-response503.ts +6 -6
  70. package/models/list-claim-partner-roles-response-class.ts +37 -0
  71. package/models/list-claim-partners-response-class.ts +37 -0
  72. package/models/patch-claim-request-dto.ts +8 -2
  73. package/models/update-claim-partner-role-request-dto.ts +42 -0
  74. package/models/update-claim-partner-role-response-class.ts +31 -0
  75. package/models/update-claim-request-dto.ts +8 -2
  76. package/package.json +2 -2
@@ -0,0 +1,384 @@
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 { CreateClaimPartnerRoleRequestDto } from '../models';
16
+ import { CreateClaimPartnerRoleResponseClass } from '../models';
17
+ import { GetClaimPartnerRoleResponseClass } from '../models';
18
+ import { ListClaimPartnerRolesResponseClass } from '../models';
19
+ import { UpdateClaimPartnerRoleRequestDto } from '../models';
20
+ import { UpdateClaimPartnerRoleResponseClass } from '../models';
21
+ /**
22
+ * ClaimPartnerRolesApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const ClaimPartnerRolesApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * This will create a claim partner role.
28
+ * @summary Create the claim partner role
29
+ * @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
30
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ createClaimPartnerRole: (createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it.
37
+ * @summary Delete the claim partner role
38
+ * @param {string} code Unique identifier for the object.
39
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ deleteClaimPartnerRole: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
46
+ * @summary Retrieve the claim partner role
47
+ * @param {string} code Unique identifier for the object.
48
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ getClaimPartnerRole: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ /**
54
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
55
+ * @summary List claim partner roles
56
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
+ * @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.
59
+ * @param {'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
60
+ * @param {'name' | 'productSlug'} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
61
+ * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [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.
62
+ * @param {number} [expand] This entity has no expand parameters
63
+ * @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.
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ listClaimPartnerRole: (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'name' | 'productSlug', search?: 'name' | 'productSlug', order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt', expand?: number, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ /**
69
+ * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
70
+ * @summary Update the claim partner role
71
+ * @param {string} code Unique identifier for the object.
72
+ * @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
73
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ updateClaimPartnerRole: (code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
+ };
79
+ /**
80
+ * ClaimPartnerRolesApi - functional programming interface
81
+ * @export
82
+ */
83
+ export declare const ClaimPartnerRolesApiFp: (configuration?: Configuration) => {
84
+ /**
85
+ * This will create a claim partner role.
86
+ * @summary Create the claim partner role
87
+ * @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
88
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ createClaimPartnerRole(createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPartnerRoleResponseClass>>;
93
+ /**
94
+ * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it.
95
+ * @summary Delete the claim partner role
96
+ * @param {string} code Unique identifier for the object.
97
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ deleteClaimPartnerRole(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
102
+ /**
103
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
104
+ * @summary Retrieve the claim partner role
105
+ * @param {string} code Unique identifier for the object.
106
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ getClaimPartnerRole(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerRoleResponseClass>>;
111
+ /**
112
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
113
+ * @summary List claim partner roles
114
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
116
+ * @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.
117
+ * @param {'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
118
+ * @param {'name' | 'productSlug'} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
119
+ * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [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.
120
+ * @param {number} [expand] This entity has no expand parameters
121
+ * @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.
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'name' | 'productSlug', search?: 'name' | 'productSlug', order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt', expand?: number, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnerRolesResponseClass>>;
126
+ /**
127
+ * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
128
+ * @summary Update the claim partner role
129
+ * @param {string} code Unique identifier for the object.
130
+ * @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
131
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ updateClaimPartnerRole(code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimPartnerRoleResponseClass>>;
136
+ };
137
+ /**
138
+ * ClaimPartnerRolesApi - factory interface
139
+ * @export
140
+ */
141
+ export declare const ClaimPartnerRolesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
142
+ /**
143
+ * This will create a claim partner role.
144
+ * @summary Create the claim partner role
145
+ * @param {CreateClaimPartnerRoleRequestDto} createClaimPartnerRoleRequestDto
146
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ createClaimPartnerRole(createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerRoleResponseClass>;
151
+ /**
152
+ * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it.
153
+ * @summary Delete the claim partner role
154
+ * @param {string} code Unique identifier for the object.
155
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ deleteClaimPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<void>;
160
+ /**
161
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
162
+ * @summary Retrieve the claim partner role
163
+ * @param {string} code Unique identifier for the object.
164
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ getClaimPartnerRole(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerRoleResponseClass>;
169
+ /**
170
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
171
+ * @summary List claim partner roles
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 {'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
176
+ * @param {'name' | 'productSlug'} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
177
+ * @param {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'} [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.
178
+ * @param {number} [expand] This entity has no expand parameters
179
+ * @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.
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ listClaimPartnerRole(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'name' | 'productSlug', search?: 'name' | 'productSlug', order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt', expand?: number, filters?: any, options?: any): AxiosPromise<ListClaimPartnerRolesResponseClass>;
184
+ /**
185
+ * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
186
+ * @summary Update the claim partner role
187
+ * @param {string} code Unique identifier for the object.
188
+ * @param {UpdateClaimPartnerRoleRequestDto} updateClaimPartnerRoleRequestDto
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
+ updateClaimPartnerRole(code: string, updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimPartnerRoleResponseClass>;
194
+ };
195
+ /**
196
+ * Request parameters for createClaimPartnerRole operation in ClaimPartnerRolesApi.
197
+ * @export
198
+ * @interface ClaimPartnerRolesApiCreateClaimPartnerRoleRequest
199
+ */
200
+ export interface ClaimPartnerRolesApiCreateClaimPartnerRoleRequest {
201
+ /**
202
+ *
203
+ * @type {CreateClaimPartnerRoleRequestDto}
204
+ * @memberof ClaimPartnerRolesApiCreateClaimPartnerRole
205
+ */
206
+ readonly createClaimPartnerRoleRequestDto: CreateClaimPartnerRoleRequestDto;
207
+ /**
208
+ * Bearer Token: provided by the login endpoint under the name accessToken.
209
+ * @type {string}
210
+ * @memberof ClaimPartnerRolesApiCreateClaimPartnerRole
211
+ */
212
+ readonly authorization?: string;
213
+ }
214
+ /**
215
+ * Request parameters for deleteClaimPartnerRole operation in ClaimPartnerRolesApi.
216
+ * @export
217
+ * @interface ClaimPartnerRolesApiDeleteClaimPartnerRoleRequest
218
+ */
219
+ export interface ClaimPartnerRolesApiDeleteClaimPartnerRoleRequest {
220
+ /**
221
+ * Unique identifier for the object.
222
+ * @type {string}
223
+ * @memberof ClaimPartnerRolesApiDeleteClaimPartnerRole
224
+ */
225
+ readonly code: string;
226
+ /**
227
+ * Bearer Token: provided by the login endpoint under the name accessToken.
228
+ * @type {string}
229
+ * @memberof ClaimPartnerRolesApiDeleteClaimPartnerRole
230
+ */
231
+ readonly authorization?: string;
232
+ }
233
+ /**
234
+ * Request parameters for getClaimPartnerRole operation in ClaimPartnerRolesApi.
235
+ * @export
236
+ * @interface ClaimPartnerRolesApiGetClaimPartnerRoleRequest
237
+ */
238
+ export interface ClaimPartnerRolesApiGetClaimPartnerRoleRequest {
239
+ /**
240
+ * Unique identifier for the object.
241
+ * @type {string}
242
+ * @memberof ClaimPartnerRolesApiGetClaimPartnerRole
243
+ */
244
+ readonly code: string;
245
+ /**
246
+ * Bearer Token: provided by the login endpoint under the name accessToken.
247
+ * @type {string}
248
+ * @memberof ClaimPartnerRolesApiGetClaimPartnerRole
249
+ */
250
+ readonly authorization?: string;
251
+ }
252
+ /**
253
+ * Request parameters for listClaimPartnerRole operation in ClaimPartnerRolesApi.
254
+ * @export
255
+ * @interface ClaimPartnerRolesApiListClaimPartnerRoleRequest
256
+ */
257
+ export interface ClaimPartnerRolesApiListClaimPartnerRoleRequest {
258
+ /**
259
+ * Bearer Token: provided by the login endpoint under the name accessToken.
260
+ * @type {string}
261
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole
262
+ */
263
+ readonly authorization?: string;
264
+ /**
265
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
266
+ * @type {any}
267
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole
268
+ */
269
+ readonly pageSize?: any;
270
+ /**
271
+ * 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.
272
+ * @type {any}
273
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole
274
+ */
275
+ readonly pageToken?: any;
276
+ /**
277
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
278
+ * @type {'name' | 'productSlug'}
279
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole
280
+ */
281
+ readonly filter?: 'name' | 'productSlug';
282
+ /**
283
+ * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
284
+ * @type {'name' | 'productSlug'}
285
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole
286
+ */
287
+ readonly search?: 'name' | 'productSlug';
288
+ /**
289
+ * 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.
290
+ * @type {'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt'}
291
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole
292
+ */
293
+ readonly order?: 'id' | 'name' | 'productSlug' | 'createdAt' | 'updatedAt';
294
+ /**
295
+ * This entity has no expand parameters
296
+ * @type {number}
297
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole
298
+ */
299
+ readonly expand?: number;
300
+ /**
301
+ * 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.
302
+ * @type {any}
303
+ * @memberof ClaimPartnerRolesApiListClaimPartnerRole
304
+ */
305
+ readonly filters?: any;
306
+ }
307
+ /**
308
+ * Request parameters for updateClaimPartnerRole operation in ClaimPartnerRolesApi.
309
+ * @export
310
+ * @interface ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest
311
+ */
312
+ export interface ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest {
313
+ /**
314
+ * Unique identifier for the object.
315
+ * @type {string}
316
+ * @memberof ClaimPartnerRolesApiUpdateClaimPartnerRole
317
+ */
318
+ readonly code: string;
319
+ /**
320
+ *
321
+ * @type {UpdateClaimPartnerRoleRequestDto}
322
+ * @memberof ClaimPartnerRolesApiUpdateClaimPartnerRole
323
+ */
324
+ readonly updateClaimPartnerRoleRequestDto: UpdateClaimPartnerRoleRequestDto;
325
+ /**
326
+ * Bearer Token: provided by the login endpoint under the name accessToken.
327
+ * @type {string}
328
+ * @memberof ClaimPartnerRolesApiUpdateClaimPartnerRole
329
+ */
330
+ readonly authorization?: string;
331
+ }
332
+ /**
333
+ * ClaimPartnerRolesApi - object-oriented interface
334
+ * @export
335
+ * @class ClaimPartnerRolesApi
336
+ * @extends {BaseAPI}
337
+ */
338
+ export declare class ClaimPartnerRolesApi extends BaseAPI {
339
+ /**
340
+ * This will create a claim partner role.
341
+ * @summary Create the claim partner role
342
+ * @param {ClaimPartnerRolesApiCreateClaimPartnerRoleRequest} requestParameters Request parameters.
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ * @memberof ClaimPartnerRolesApi
346
+ */
347
+ createClaimPartnerRole(requestParameters: ClaimPartnerRolesApiCreateClaimPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateClaimPartnerRoleResponseClass, any>>;
348
+ /**
349
+ * Permanently deletes the claim partner role. Supply the unique code that was returned when you created the claim partner role and this will delete it.
350
+ * @summary Delete the claim partner role
351
+ * @param {ClaimPartnerRolesApiDeleteClaimPartnerRoleRequest} requestParameters Request parameters.
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ * @memberof ClaimPartnerRolesApi
355
+ */
356
+ deleteClaimPartnerRole(requestParameters: ClaimPartnerRolesApiDeleteClaimPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
357
+ /**
358
+ * Retrieves the details of the claim partner role that was previously created. Supply the unique claim partner role code that was returned when you created it and Emil Api will return the corresponding claim partner role information.
359
+ * @summary Retrieve the claim partner role
360
+ * @param {ClaimPartnerRolesApiGetClaimPartnerRoleRequest} requestParameters Request parameters.
361
+ * @param {*} [options] Override http request option.
362
+ * @throws {RequiredError}
363
+ * @memberof ClaimPartnerRolesApi
364
+ */
365
+ getClaimPartnerRole(requestParameters: ClaimPartnerRolesApiGetClaimPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClaimPartnerRoleResponseClass, any>>;
366
+ /**
367
+ * Returns a list of claim partner roles you have previously created. The claim partner roles are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
368
+ * @summary List claim partner roles
369
+ * @param {ClaimPartnerRolesApiListClaimPartnerRoleRequest} requestParameters Request parameters.
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ * @memberof ClaimPartnerRolesApi
373
+ */
374
+ listClaimPartnerRole(requestParameters?: ClaimPartnerRolesApiListClaimPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListClaimPartnerRolesResponseClass, any>>;
375
+ /**
376
+ * Updates the specified claim partner role by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
377
+ * @summary Update the claim partner role
378
+ * @param {ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest} requestParameters Request parameters.
379
+ * @param {*} [options] Override http request option.
380
+ * @throws {RequiredError}
381
+ * @memberof ClaimPartnerRolesApi
382
+ */
383
+ updateClaimPartnerRole(requestParameters: ClaimPartnerRolesApiUpdateClaimPartnerRoleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateClaimPartnerRoleResponseClass, any>>;
384
+ }