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