@emilgroup/claim-sdk 1.0.0

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 (106) hide show
  1. package/.openapi-generator/FILES +40 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/claim-statuses-api.ts +543 -0
  6. package/api/claims-api.ts +783 -0
  7. package/api/default-api.ts +120 -0
  8. package/api/settlements-api.ts +663 -0
  9. package/api.ts +33 -0
  10. package/base.ts +250 -0
  11. package/common.ts +198 -0
  12. package/configuration.ts +101 -0
  13. package/dist/api/claim-statuses-api.d.ts +309 -0
  14. package/dist/api/claim-statuses-api.js +531 -0
  15. package/dist/api/claims-api.d.ts +441 -0
  16. package/dist/api/claims-api.js +729 -0
  17. package/dist/api/default-api.d.ts +66 -0
  18. package/dist/api/default-api.js +196 -0
  19. package/dist/api/settlements-api.d.ts +375 -0
  20. package/dist/api/settlements-api.js +630 -0
  21. package/dist/api.d.ts +15 -0
  22. package/dist/api.js +33 -0
  23. package/dist/base.d.ts +73 -0
  24. package/dist/base.js +297 -0
  25. package/dist/common.d.ts +91 -0
  26. package/dist/common.js +276 -0
  27. package/dist/configuration.d.ts +83 -0
  28. package/dist/configuration.js +44 -0
  29. package/dist/index.d.ts +15 -0
  30. package/dist/index.js +36 -0
  31. package/dist/models/claim-class.d.ts +156 -0
  32. package/dist/models/claim-class.js +15 -0
  33. package/dist/models/claim-status-class.d.ts +36 -0
  34. package/dist/models/claim-status-class.js +15 -0
  35. package/dist/models/create-claim-request-dto.d.ts +126 -0
  36. package/dist/models/create-claim-request-dto.js +15 -0
  37. package/dist/models/create-claim-response-class.d.ts +25 -0
  38. package/dist/models/create-claim-response-class.js +15 -0
  39. package/dist/models/create-claim-status-request-dto.d.ts +30 -0
  40. package/dist/models/create-claim-status-request-dto.js +15 -0
  41. package/dist/models/create-claim-status-response-class.d.ts +25 -0
  42. package/dist/models/create-claim-status-response-class.js +15 -0
  43. package/dist/models/create-settlement-request-dto.d.ts +48 -0
  44. package/dist/models/create-settlement-request-dto.js +15 -0
  45. package/dist/models/create-settlement-response-class.d.ts +25 -0
  46. package/dist/models/create-settlement-response-class.js +15 -0
  47. package/dist/models/get-claim-response-class.d.ts +25 -0
  48. package/dist/models/get-claim-response-class.js +15 -0
  49. package/dist/models/get-claim-status-response-class.d.ts +25 -0
  50. package/dist/models/get-claim-status-response-class.js +15 -0
  51. package/dist/models/get-settlement-response-class.d.ts +25 -0
  52. package/dist/models/get-settlement-response-class.js +15 -0
  53. package/dist/models/index.d.ts +23 -0
  54. package/dist/models/index.js +39 -0
  55. package/dist/models/inline-response200.d.ts +54 -0
  56. package/dist/models/inline-response200.js +15 -0
  57. package/dist/models/inline-response503.d.ts +54 -0
  58. package/dist/models/inline-response503.js +15 -0
  59. package/dist/models/list-claim-statuses-response-class.d.ts +31 -0
  60. package/dist/models/list-claim-statuses-response-class.js +15 -0
  61. package/dist/models/list-claims-response-class.d.ts +31 -0
  62. package/dist/models/list-claims-response-class.js +15 -0
  63. package/dist/models/list-settlements-response-class.d.ts +31 -0
  64. package/dist/models/list-settlements-response-class.js +15 -0
  65. package/dist/models/patch-claim-request-dto.d.ts +126 -0
  66. package/dist/models/patch-claim-request-dto.js +15 -0
  67. package/dist/models/patch-claim-response-class.d.ts +25 -0
  68. package/dist/models/patch-claim-response-class.js +15 -0
  69. package/dist/models/settlement-class.d.ts +78 -0
  70. package/dist/models/settlement-class.js +15 -0
  71. package/dist/models/update-claim-request-dto.d.ts +126 -0
  72. package/dist/models/update-claim-request-dto.js +15 -0
  73. package/dist/models/update-claim-response-class.d.ts +25 -0
  74. package/dist/models/update-claim-response-class.js +15 -0
  75. package/dist/models/update-settlement-request-dto.d.ts +54 -0
  76. package/dist/models/update-settlement-request-dto.js +15 -0
  77. package/dist/models/update-settlement-response-class.d.ts +25 -0
  78. package/dist/models/update-settlement-response-class.js +15 -0
  79. package/git_push.sh +57 -0
  80. package/index.ts +19 -0
  81. package/models/claim-class.ts +162 -0
  82. package/models/claim-status-class.ts +42 -0
  83. package/models/create-claim-request-dto.ts +132 -0
  84. package/models/create-claim-response-class.ts +31 -0
  85. package/models/create-claim-status-request-dto.ts +36 -0
  86. package/models/create-claim-status-response-class.ts +31 -0
  87. package/models/create-settlement-request-dto.ts +54 -0
  88. package/models/create-settlement-response-class.ts +31 -0
  89. package/models/get-claim-response-class.ts +31 -0
  90. package/models/get-claim-status-response-class.ts +31 -0
  91. package/models/get-settlement-response-class.ts +31 -0
  92. package/models/index.ts +23 -0
  93. package/models/inline-response200.ts +48 -0
  94. package/models/inline-response503.ts +48 -0
  95. package/models/list-claim-statuses-response-class.ts +37 -0
  96. package/models/list-claims-response-class.ts +37 -0
  97. package/models/list-settlements-response-class.ts +37 -0
  98. package/models/patch-claim-request-dto.ts +132 -0
  99. package/models/patch-claim-response-class.ts +31 -0
  100. package/models/settlement-class.ts +84 -0
  101. package/models/update-claim-request-dto.ts +132 -0
  102. package/models/update-claim-response-class.ts +31 -0
  103. package/models/update-settlement-request-dto.ts +60 -0
  104. package/models/update-settlement-response-class.ts +31 -0
  105. package/package.json +27 -0
  106. package/tsconfig.json +22 -0
@@ -0,0 +1,441 @@
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 { CreateClaimRequestDto } from '../models';
16
+ import { CreateClaimResponseClass } from '../models';
17
+ import { GetClaimResponseClass } from '../models';
18
+ import { ListClaimsResponseClass } from '../models';
19
+ import { PatchClaimRequestDto } from '../models';
20
+ import { PatchClaimResponseClass } from '../models';
21
+ import { UpdateClaimRequestDto } from '../models';
22
+ import { UpdateClaimResponseClass } from '../models';
23
+ /**
24
+ * ClaimsApi - axios parameter creator
25
+ * @export
26
+ */
27
+ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration) => {
28
+ /**
29
+ * This will create a claim in the database
30
+ * @summary Create the claim
31
+ * @param {CreateClaimRequestDto} createClaimRequestDto
32
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ createClaim: (createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ * This will delete the requested claim from the database.
39
+ * @summary Delete the claim
40
+ * @param {string} code
41
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ deleteClaim: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
+ /**
47
+ * This will fetch the identified claim from the database by code
48
+ * @summary Retrieve the claim
49
+ * @param {string} code
50
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
51
+ * @param {*} [options] Override http request option.
52
+ * @throws {RequiredError}
53
+ */
54
+ getClaim: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
+ /**
56
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
57
+ * @summary List claims
58
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
59
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
60
+ * @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.
61
+ * @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
62
+ * @param {any} [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.
63
+ * @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.
64
+ * @param {any} [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.
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ listClaims: (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ /**
70
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
71
+ * @summary Patch the claim
72
+ * @param {string} code
73
+ * @param {PatchClaimRequestDto} patchClaimRequestDto
74
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ patchClaim: (code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
+ /**
80
+ * This will update the identified claim in the database
81
+ * @summary Update the claim
82
+ * @param {string} code
83
+ * @param {UpdateClaimRequestDto} updateClaimRequestDto
84
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ updateClaim: (code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
89
+ };
90
+ /**
91
+ * ClaimsApi - functional programming interface
92
+ * @export
93
+ */
94
+ export declare const ClaimsApiFp: (configuration?: Configuration) => {
95
+ /**
96
+ * This will create a claim in the database
97
+ * @summary Create the claim
98
+ * @param {CreateClaimRequestDto} createClaimRequestDto
99
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ createClaim(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimResponseClass>>;
104
+ /**
105
+ * This will delete the requested claim from the database.
106
+ * @summary Delete the claim
107
+ * @param {string} code
108
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ deleteClaim(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
113
+ /**
114
+ * This will fetch the identified claim from the database by code
115
+ * @summary Retrieve the claim
116
+ * @param {string} code
117
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
118
+ * @param {*} [options] Override http request option.
119
+ * @throws {RequiredError}
120
+ */
121
+ getClaim(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimResponseClass>>;
122
+ /**
123
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
124
+ * @summary List claims
125
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
126
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
127
+ * @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.
128
+ * @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
129
+ * @param {any} [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.
130
+ * @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.
131
+ * @param {any} [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.
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimsResponseClass>>;
136
+ /**
137
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
138
+ * @summary Patch the claim
139
+ * @param {string} code
140
+ * @param {PatchClaimRequestDto} patchClaimRequestDto
141
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ patchClaim(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimResponseClass>>;
146
+ /**
147
+ * This will update the identified claim in the database
148
+ * @summary Update the claim
149
+ * @param {string} code
150
+ * @param {UpdateClaimRequestDto} updateClaimRequestDto
151
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ updateClaim(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimResponseClass>>;
156
+ };
157
+ /**
158
+ * ClaimsApi - factory interface
159
+ * @export
160
+ */
161
+ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
162
+ /**
163
+ * This will create a claim in the database
164
+ * @summary Create the claim
165
+ * @param {CreateClaimRequestDto} createClaimRequestDto
166
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ createClaim(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimResponseClass>;
171
+ /**
172
+ * This will delete the requested claim from the database.
173
+ * @summary Delete the claim
174
+ * @param {string} code
175
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
+ * @param {*} [options] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ deleteClaim(code: string, authorization?: string, options?: any): AxiosPromise<void>;
180
+ /**
181
+ * This will fetch the identified claim from the database by code
182
+ * @summary Retrieve the claim
183
+ * @param {string} code
184
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass>;
189
+ /**
190
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
191
+ * @summary List claims
192
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
194
+ * @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.
195
+ * @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
196
+ * @param {any} [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.
197
+ * @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.
198
+ * @param {any} [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.
199
+ * @param {*} [options] Override http request option.
200
+ * @throws {RequiredError}
201
+ */
202
+ listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListClaimsResponseClass>;
203
+ /**
204
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
205
+ * @summary Patch the claim
206
+ * @param {string} code
207
+ * @param {PatchClaimRequestDto} patchClaimRequestDto
208
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
209
+ * @param {*} [options] Override http request option.
210
+ * @throws {RequiredError}
211
+ */
212
+ patchClaim(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimResponseClass>;
213
+ /**
214
+ * This will update the identified claim in the database
215
+ * @summary Update the claim
216
+ * @param {string} code
217
+ * @param {UpdateClaimRequestDto} updateClaimRequestDto
218
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
219
+ * @param {*} [options] Override http request option.
220
+ * @throws {RequiredError}
221
+ */
222
+ updateClaim(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimResponseClass>;
223
+ };
224
+ /**
225
+ * Request parameters for createClaim operation in ClaimsApi.
226
+ * @export
227
+ * @interface ClaimsApiCreateClaimRequest
228
+ */
229
+ export interface ClaimsApiCreateClaimRequest {
230
+ /**
231
+ *
232
+ * @type {CreateClaimRequestDto}
233
+ * @memberof ClaimsApiCreateClaim
234
+ */
235
+ readonly createClaimRequestDto: CreateClaimRequestDto;
236
+ /**
237
+ * Bearer Token: provided by the login endpoint under the name accessToken.
238
+ * @type {string}
239
+ * @memberof ClaimsApiCreateClaim
240
+ */
241
+ readonly authorization?: string;
242
+ }
243
+ /**
244
+ * Request parameters for deleteClaim operation in ClaimsApi.
245
+ * @export
246
+ * @interface ClaimsApiDeleteClaimRequest
247
+ */
248
+ export interface ClaimsApiDeleteClaimRequest {
249
+ /**
250
+ *
251
+ * @type {string}
252
+ * @memberof ClaimsApiDeleteClaim
253
+ */
254
+ readonly code: string;
255
+ /**
256
+ * Bearer Token: provided by the login endpoint under the name accessToken.
257
+ * @type {string}
258
+ * @memberof ClaimsApiDeleteClaim
259
+ */
260
+ readonly authorization?: string;
261
+ }
262
+ /**
263
+ * Request parameters for getClaim operation in ClaimsApi.
264
+ * @export
265
+ * @interface ClaimsApiGetClaimRequest
266
+ */
267
+ export interface ClaimsApiGetClaimRequest {
268
+ /**
269
+ *
270
+ * @type {string}
271
+ * @memberof ClaimsApiGetClaim
272
+ */
273
+ readonly code: string;
274
+ /**
275
+ * Bearer Token: provided by the login endpoint under the name accessToken.
276
+ * @type {string}
277
+ * @memberof ClaimsApiGetClaim
278
+ */
279
+ readonly authorization?: string;
280
+ }
281
+ /**
282
+ * Request parameters for listClaims operation in ClaimsApi.
283
+ * @export
284
+ * @interface ClaimsApiListClaimsRequest
285
+ */
286
+ export interface ClaimsApiListClaimsRequest {
287
+ /**
288
+ * Bearer Token: provided by the login endpoint under the name accessToken.
289
+ * @type {string}
290
+ * @memberof ClaimsApiListClaims
291
+ */
292
+ readonly authorization?: string;
293
+ /**
294
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
295
+ * @type {any}
296
+ * @memberof ClaimsApiListClaims
297
+ */
298
+ readonly pageSize?: any;
299
+ /**
300
+ * 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.
301
+ * @type {any}
302
+ * @memberof ClaimsApiListClaims
303
+ */
304
+ readonly pageToken?: any;
305
+ /**
306
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
307
+ * @type {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'}
308
+ * @memberof ClaimsApiListClaims
309
+ */
310
+ readonly filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode';
311
+ /**
312
+ * 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.
313
+ * @type {any}
314
+ * @memberof ClaimsApiListClaims
315
+ */
316
+ readonly search?: any;
317
+ /**
318
+ * 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.
319
+ * @type {any}
320
+ * @memberof ClaimsApiListClaims
321
+ */
322
+ readonly order?: any;
323
+ /**
324
+ * 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.
325
+ * @type {any}
326
+ * @memberof ClaimsApiListClaims
327
+ */
328
+ readonly expand?: any;
329
+ }
330
+ /**
331
+ * Request parameters for patchClaim operation in ClaimsApi.
332
+ * @export
333
+ * @interface ClaimsApiPatchClaimRequest
334
+ */
335
+ export interface ClaimsApiPatchClaimRequest {
336
+ /**
337
+ *
338
+ * @type {string}
339
+ * @memberof ClaimsApiPatchClaim
340
+ */
341
+ readonly code: string;
342
+ /**
343
+ *
344
+ * @type {PatchClaimRequestDto}
345
+ * @memberof ClaimsApiPatchClaim
346
+ */
347
+ readonly patchClaimRequestDto: PatchClaimRequestDto;
348
+ /**
349
+ * Bearer Token: provided by the login endpoint under the name accessToken.
350
+ * @type {string}
351
+ * @memberof ClaimsApiPatchClaim
352
+ */
353
+ readonly authorization?: string;
354
+ }
355
+ /**
356
+ * Request parameters for updateClaim operation in ClaimsApi.
357
+ * @export
358
+ * @interface ClaimsApiUpdateClaimRequest
359
+ */
360
+ export interface ClaimsApiUpdateClaimRequest {
361
+ /**
362
+ *
363
+ * @type {string}
364
+ * @memberof ClaimsApiUpdateClaim
365
+ */
366
+ readonly code: string;
367
+ /**
368
+ *
369
+ * @type {UpdateClaimRequestDto}
370
+ * @memberof ClaimsApiUpdateClaim
371
+ */
372
+ readonly updateClaimRequestDto: UpdateClaimRequestDto;
373
+ /**
374
+ * Bearer Token: provided by the login endpoint under the name accessToken.
375
+ * @type {string}
376
+ * @memberof ClaimsApiUpdateClaim
377
+ */
378
+ readonly authorization?: string;
379
+ }
380
+ /**
381
+ * ClaimsApi - object-oriented interface
382
+ * @export
383
+ * @class ClaimsApi
384
+ * @extends {BaseAPI}
385
+ */
386
+ export declare class ClaimsApi extends BaseAPI {
387
+ /**
388
+ * This will create a claim in the database
389
+ * @summary Create the claim
390
+ * @param {ClaimsApiCreateClaimRequest} requestParameters Request parameters.
391
+ * @param {*} [options] Override http request option.
392
+ * @throws {RequiredError}
393
+ * @memberof ClaimsApi
394
+ */
395
+ createClaim(requestParameters: ClaimsApiCreateClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateClaimResponseClass, any>>;
396
+ /**
397
+ * This will delete the requested claim from the database.
398
+ * @summary Delete the claim
399
+ * @param {ClaimsApiDeleteClaimRequest} requestParameters Request parameters.
400
+ * @param {*} [options] Override http request option.
401
+ * @throws {RequiredError}
402
+ * @memberof ClaimsApi
403
+ */
404
+ deleteClaim(requestParameters: ClaimsApiDeleteClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
405
+ /**
406
+ * This will fetch the identified claim from the database by code
407
+ * @summary Retrieve the claim
408
+ * @param {ClaimsApiGetClaimRequest} requestParameters Request parameters.
409
+ * @param {*} [options] Override http request option.
410
+ * @throws {RequiredError}
411
+ * @memberof ClaimsApi
412
+ */
413
+ getClaim(requestParameters: ClaimsApiGetClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClaimResponseClass, any>>;
414
+ /**
415
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
416
+ * @summary List claims
417
+ * @param {ClaimsApiListClaimsRequest} requestParameters Request parameters.
418
+ * @param {*} [options] Override http request option.
419
+ * @throws {RequiredError}
420
+ * @memberof ClaimsApi
421
+ */
422
+ listClaims(requestParameters?: ClaimsApiListClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListClaimsResponseClass, any>>;
423
+ /**
424
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
425
+ * @summary Patch the claim
426
+ * @param {ClaimsApiPatchClaimRequest} requestParameters Request parameters.
427
+ * @param {*} [options] Override http request option.
428
+ * @throws {RequiredError}
429
+ * @memberof ClaimsApi
430
+ */
431
+ patchClaim(requestParameters: ClaimsApiPatchClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchClaimResponseClass, any>>;
432
+ /**
433
+ * This will update the identified claim in the database
434
+ * @summary Update the claim
435
+ * @param {ClaimsApiUpdateClaimRequest} requestParameters Request parameters.
436
+ * @param {*} [options] Override http request option.
437
+ * @throws {RequiredError}
438
+ * @memberof ClaimsApi
439
+ */
440
+ updateClaim(requestParameters: ClaimsApiUpdateClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateClaimResponseClass, any>>;
441
+ }