@emilgroup/claim-sdk-node 1.3.0 → 1.4.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 (75) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/claims-api.ts +182 -61
  4. package/api/settlements-api.ts +760 -0
  5. package/api.ts +3 -1
  6. package/base.ts +1 -1
  7. package/common.ts +2 -2
  8. package/configuration.ts +1 -1
  9. package/dist/api/claims-api.d.ts +110 -50
  10. package/dist/api/claims-api.js +145 -44
  11. package/dist/api/settlements-api.d.ts +430 -0
  12. package/dist/api/settlements-api.js +681 -0
  13. package/dist/api.d.ts +2 -1
  14. package/dist/api.js +2 -1
  15. package/dist/base.d.ts +1 -1
  16. package/dist/base.js +1 -1
  17. package/dist/common.d.ts +2 -2
  18. package/dist/common.js +1 -1
  19. package/dist/configuration.d.ts +1 -1
  20. package/dist/configuration.js +1 -1
  21. package/dist/index.d.ts +1 -1
  22. package/dist/index.js +1 -1
  23. package/dist/models/claim-class.d.ts +144 -0
  24. package/dist/models/claim-class.js +15 -0
  25. package/dist/models/create-claim-request-dto.d.ts +7 -7
  26. package/dist/models/create-claim-request-dto.js +1 -1
  27. package/dist/models/create-claim-response-class.d.ts +25 -0
  28. package/dist/models/create-claim-response-class.js +15 -0
  29. package/dist/models/create-settlement-request-dto.d.ts +48 -0
  30. package/dist/models/create-settlement-request-dto.js +15 -0
  31. package/dist/models/create-settlement-response-class.d.ts +25 -0
  32. package/dist/models/create-settlement-response-class.js +15 -0
  33. package/dist/models/delete-response-class.d.ts +24 -0
  34. package/dist/models/delete-response-class.js +15 -0
  35. package/dist/models/delete-settlement-request-dto.d.ts +30 -0
  36. package/dist/models/delete-settlement-request-dto.js +15 -0
  37. package/dist/models/get-claim-response-class.d.ts +25 -0
  38. package/dist/models/get-claim-response-class.js +15 -0
  39. package/dist/models/get-settlement-response-class.d.ts +25 -0
  40. package/dist/models/get-settlement-response-class.js +15 -0
  41. package/dist/models/index.d.ts +14 -0
  42. package/dist/models/index.js +14 -0
  43. package/dist/models/list-claim-response-class.d.ts +31 -0
  44. package/dist/models/list-claim-response-class.js +15 -0
  45. package/dist/models/list-settlements-response-class.d.ts +31 -0
  46. package/dist/models/list-settlements-response-class.js +15 -0
  47. package/dist/models/settlement-class.d.ts +72 -0
  48. package/dist/models/settlement-class.js +15 -0
  49. package/dist/models/update-claim-request-dto.d.ts +7 -7
  50. package/dist/models/update-claim-request-dto.js +1 -1
  51. package/dist/models/update-claim-response-class.d.ts +25 -0
  52. package/dist/models/update-claim-response-class.js +15 -0
  53. package/dist/models/update-settlement-request-dto.d.ts +48 -0
  54. package/dist/models/update-settlement-request-dto.js +15 -0
  55. package/dist/models/update-settlement-response-class.d.ts +25 -0
  56. package/dist/models/update-settlement-response-class.js +15 -0
  57. package/index.ts +1 -1
  58. package/models/claim-class.ts +150 -0
  59. package/models/create-claim-request-dto.ts +7 -7
  60. package/models/create-claim-response-class.ts +31 -0
  61. package/models/create-settlement-request-dto.ts +54 -0
  62. package/models/create-settlement-response-class.ts +31 -0
  63. package/models/delete-response-class.ts +30 -0
  64. package/models/delete-settlement-request-dto.ts +36 -0
  65. package/models/get-claim-response-class.ts +31 -0
  66. package/models/get-settlement-response-class.ts +31 -0
  67. package/models/index.ts +14 -0
  68. package/models/list-claim-response-class.ts +37 -0
  69. package/models/list-settlements-response-class.ts +37 -0
  70. package/models/settlement-class.ts +78 -0
  71. package/models/update-claim-request-dto.ts +7 -7
  72. package/models/update-claim-response-class.ts +31 -0
  73. package/models/update-settlement-request-dto.ts +54 -0
  74. package/models/update-settlement-response-class.ts +31 -0
  75. package/package.json +1 -1
package/api.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL ClaimService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -25,7 +25,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
27
  import { ClaimsApi } from './api';
28
+ import { SettlementsApi } from './api';
28
29
 
29
30
 
30
31
  export * from './api/claims-api';
32
+ export * from './api/settlements-api';
31
33
 
package/base.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL ClaimService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
package/common.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL ClaimService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -144,7 +144,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
144
144
  * The EMIL ClaimService API description
145
145
  *
146
146
  * The version of the OpenAPI document: 1.0
147
- *
147
+ * Contact: kontakt@emil.de
148
148
  *
149
149
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
150
150
  * https://openapi-generator.tech
package/configuration.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * The EMIL ClaimService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
3
  * The EMIL ClaimService API description
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
- *
6
+ * Contact: kontakt@emil.de
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -13,7 +13,12 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateClaimRequestDto } from '../models';
16
+ import { CreateClaimResponseClass } from '../models';
17
+ import { DeleteResponseClass } from '../models';
18
+ import { GetClaimResponseClass } from '../models';
19
+ import { ListClaimResponseClass } from '../models';
16
20
  import { UpdateClaimRequestDto } from '../models';
21
+ import { UpdateClaimResponseClass } from '../models';
17
22
  /**
18
23
  * ClaimsApi - axios parameter creator
19
24
  * @export
@@ -22,25 +27,34 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
22
27
  /**
23
28
  * This will create a claim in the database
24
29
  * @summary Create the claim
30
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
25
31
  * @param {CreateClaimRequestDto} createClaimRequestDto
26
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
27
32
  * @param {*} [options] Override http request option.
28
33
  * @throws {RequiredError}
29
34
  */
30
- createClaim: (createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ createClaim: (authorization: string, createClaimRequestDto: CreateClaimRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ * This will delete the requested claim from the database.
38
+ * @summary Delete the claim
39
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
40
+ * @param {string} code
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ deleteClaim: (authorization: string, code: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
45
  /**
32
46
  * This will fetch the identified claim from the database by code
33
47
  * @summary Retrieve the claim
48
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
34
49
  * @param {string} code
35
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
36
50
  * @param {*} [options] Override http request option.
37
51
  * @throws {RequiredError}
38
52
  */
39
- getClaim: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ getClaim: (authorization: string, code: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40
54
  /**
41
- * This will fetch list of claims from the database
42
- * @summary Retrieve the claim
43
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
55
+ * 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.
56
+ * @summary List claims
57
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
44
58
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
45
59
  * @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.
46
60
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -50,17 +64,17 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
50
64
  * @param {*} [options] Override http request option.
51
65
  * @throws {RequiredError}
52
66
  */
53
- listClaims: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
+ listClaims: (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
68
  /**
55
69
  * This will update the identified claim in the database
56
70
  * @summary Update the claim
71
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
57
72
  * @param {string} code
58
73
  * @param {UpdateClaimRequestDto} updateClaimRequestDto
59
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
60
74
  * @param {*} [options] Override http request option.
61
75
  * @throws {RequiredError}
62
76
  */
63
- updateClaim: (code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
+ updateClaim: (authorization: string, code: string, updateClaimRequestDto: UpdateClaimRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
78
  };
65
79
  /**
66
80
  * ClaimsApi - functional programming interface
@@ -70,25 +84,34 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
70
84
  /**
71
85
  * This will create a claim in the database
72
86
  * @summary Create the claim
87
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
73
88
  * @param {CreateClaimRequestDto} createClaimRequestDto
74
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
75
89
  * @param {*} [options] Override http request option.
76
90
  * @throws {RequiredError}
77
91
  */
78
- createClaim(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
92
+ createClaim(authorization: string, createClaimRequestDto: CreateClaimRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimResponseClass>>;
93
+ /**
94
+ * This will delete the requested claim from the database.
95
+ * @summary Delete the claim
96
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
97
+ * @param {string} code
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ deleteClaim(authorization: string, code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
79
102
  /**
80
103
  * This will fetch the identified claim from the database by code
81
104
  * @summary Retrieve the claim
105
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
82
106
  * @param {string} code
83
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
84
107
  * @param {*} [options] Override http request option.
85
108
  * @throws {RequiredError}
86
109
  */
87
- getClaim(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
110
+ getClaim(authorization: string, code: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimResponseClass>>;
88
111
  /**
89
- * This will fetch list of claims from the database
90
- * @summary Retrieve the claim
91
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
112
+ * 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.
113
+ * @summary List claims
114
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
92
115
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
93
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.
94
117
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -98,17 +121,17 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
98
121
  * @param {*} [options] Override http request option.
99
122
  * @throws {RequiredError}
100
123
  */
101
- listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
124
+ listClaims(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimResponseClass>>;
102
125
  /**
103
126
  * This will update the identified claim in the database
104
127
  * @summary Update the claim
128
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
105
129
  * @param {string} code
106
130
  * @param {UpdateClaimRequestDto} updateClaimRequestDto
107
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
108
131
  * @param {*} [options] Override http request option.
109
132
  * @throws {RequiredError}
110
133
  */
111
- updateClaim(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
134
+ updateClaim(authorization: string, code: string, updateClaimRequestDto: UpdateClaimRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimResponseClass>>;
112
135
  };
113
136
  /**
114
137
  * ClaimsApi - factory interface
@@ -118,25 +141,34 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
118
141
  /**
119
142
  * This will create a claim in the database
120
143
  * @summary Create the claim
144
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
121
145
  * @param {CreateClaimRequestDto} createClaimRequestDto
122
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
123
146
  * @param {*} [options] Override http request option.
124
147
  * @throws {RequiredError}
125
148
  */
126
- createClaim(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
149
+ createClaim(authorization: string, createClaimRequestDto: CreateClaimRequestDto, options?: any): AxiosPromise<CreateClaimResponseClass>;
150
+ /**
151
+ * This will delete the requested claim from the database.
152
+ * @summary Delete the claim
153
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
154
+ * @param {string} code
155
+ * @param {*} [options] Override http request option.
156
+ * @throws {RequiredError}
157
+ */
158
+ deleteClaim(authorization: string, code: string, options?: any): AxiosPromise<DeleteResponseClass>;
127
159
  /**
128
160
  * This will fetch the identified claim from the database by code
129
161
  * @summary Retrieve the claim
162
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
130
163
  * @param {string} code
131
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
132
164
  * @param {*} [options] Override http request option.
133
165
  * @throws {RequiredError}
134
166
  */
135
- getClaim(code: string, authorization?: string, options?: any): AxiosPromise<object>;
167
+ getClaim(authorization: string, code: string, options?: any): AxiosPromise<GetClaimResponseClass>;
136
168
  /**
137
- * This will fetch list of claims from the database
138
- * @summary Retrieve the claim
139
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
169
+ * 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.
170
+ * @summary List claims
171
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
140
172
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
141
173
  * @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.
142
174
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -146,17 +178,17 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
146
178
  * @param {*} [options] Override http request option.
147
179
  * @throws {RequiredError}
148
180
  */
149
- listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<object>;
181
+ listClaims(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListClaimResponseClass>;
150
182
  /**
151
183
  * This will update the identified claim in the database
152
184
  * @summary Update the claim
185
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
153
186
  * @param {string} code
154
187
  * @param {UpdateClaimRequestDto} updateClaimRequestDto
155
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
156
188
  * @param {*} [options] Override http request option.
157
189
  * @throws {RequiredError}
158
190
  */
159
- updateClaim(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
191
+ updateClaim(authorization: string, code: string, updateClaimRequestDto: UpdateClaimRequestDto, options?: any): AxiosPromise<UpdateClaimResponseClass>;
160
192
  };
161
193
  /**
162
194
  * Request parameters for createClaim operation in ClaimsApi.
@@ -164,18 +196,37 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
164
196
  * @interface ClaimsApiCreateClaimRequest
165
197
  */
166
198
  export interface ClaimsApiCreateClaimRequest {
199
+ /**
200
+ * Bearer Token: provided by the login endpoint under the name accessToken.
201
+ * @type {string}
202
+ * @memberof ClaimsApiCreateClaim
203
+ */
204
+ readonly authorization: string;
167
205
  /**
168
206
  *
169
207
  * @type {CreateClaimRequestDto}
170
208
  * @memberof ClaimsApiCreateClaim
171
209
  */
172
210
  readonly createClaimRequestDto: CreateClaimRequestDto;
211
+ }
212
+ /**
213
+ * Request parameters for deleteClaim operation in ClaimsApi.
214
+ * @export
215
+ * @interface ClaimsApiDeleteClaimRequest
216
+ */
217
+ export interface ClaimsApiDeleteClaimRequest {
173
218
  /**
174
219
  * Bearer Token: provided by the login endpoint under the name accessToken.
175
220
  * @type {string}
176
- * @memberof ClaimsApiCreateClaim
221
+ * @memberof ClaimsApiDeleteClaim
177
222
  */
178
- readonly authorization?: string;
223
+ readonly authorization: string;
224
+ /**
225
+ *
226
+ * @type {string}
227
+ * @memberof ClaimsApiDeleteClaim
228
+ */
229
+ readonly code: string;
179
230
  }
180
231
  /**
181
232
  * Request parameters for getClaim operation in ClaimsApi.
@@ -184,17 +235,17 @@ export interface ClaimsApiCreateClaimRequest {
184
235
  */
185
236
  export interface ClaimsApiGetClaimRequest {
186
237
  /**
187
- *
238
+ * Bearer Token: provided by the login endpoint under the name accessToken.
188
239
  * @type {string}
189
240
  * @memberof ClaimsApiGetClaim
190
241
  */
191
- readonly code: string;
242
+ readonly authorization: string;
192
243
  /**
193
- * Bearer Token: provided by the login endpoint under the name accessToken.
244
+ *
194
245
  * @type {string}
195
246
  * @memberof ClaimsApiGetClaim
196
247
  */
197
- readonly authorization?: string;
248
+ readonly code: string;
198
249
  }
199
250
  /**
200
251
  * Request parameters for listClaims operation in ClaimsApi.
@@ -207,7 +258,7 @@ export interface ClaimsApiListClaimsRequest {
207
258
  * @type {string}
208
259
  * @memberof ClaimsApiListClaims
209
260
  */
210
- readonly authorization?: string;
261
+ readonly authorization: string;
211
262
  /**
212
263
  * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
213
264
  * @type {any}
@@ -251,6 +302,12 @@ export interface ClaimsApiListClaimsRequest {
251
302
  * @interface ClaimsApiUpdateClaimRequest
252
303
  */
253
304
  export interface ClaimsApiUpdateClaimRequest {
305
+ /**
306
+ * Bearer Token: provided by the login endpoint under the name accessToken.
307
+ * @type {string}
308
+ * @memberof ClaimsApiUpdateClaim
309
+ */
310
+ readonly authorization: string;
254
311
  /**
255
312
  *
256
313
  * @type {string}
@@ -263,12 +320,6 @@ export interface ClaimsApiUpdateClaimRequest {
263
320
  * @memberof ClaimsApiUpdateClaim
264
321
  */
265
322
  readonly updateClaimRequestDto: UpdateClaimRequestDto;
266
- /**
267
- * Bearer Token: provided by the login endpoint under the name accessToken.
268
- * @type {string}
269
- * @memberof ClaimsApiUpdateClaim
270
- */
271
- readonly authorization?: string;
272
323
  }
273
324
  /**
274
325
  * ClaimsApi - object-oriented interface
@@ -285,7 +336,16 @@ export declare class ClaimsApi extends BaseAPI {
285
336
  * @throws {RequiredError}
286
337
  * @memberof ClaimsApi
287
338
  */
288
- createClaim(requestParameters: ClaimsApiCreateClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
339
+ createClaim(requestParameters: ClaimsApiCreateClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateClaimResponseClass, any>>;
340
+ /**
341
+ * This will delete the requested claim from the database.
342
+ * @summary Delete the claim
343
+ * @param {ClaimsApiDeleteClaimRequest} requestParameters Request parameters.
344
+ * @param {*} [options] Override http request option.
345
+ * @throws {RequiredError}
346
+ * @memberof ClaimsApi
347
+ */
348
+ deleteClaim(requestParameters: ClaimsApiDeleteClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
289
349
  /**
290
350
  * This will fetch the identified claim from the database by code
291
351
  * @summary Retrieve the claim
@@ -294,16 +354,16 @@ export declare class ClaimsApi extends BaseAPI {
294
354
  * @throws {RequiredError}
295
355
  * @memberof ClaimsApi
296
356
  */
297
- getClaim(requestParameters: ClaimsApiGetClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
357
+ getClaim(requestParameters: ClaimsApiGetClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClaimResponseClass, any>>;
298
358
  /**
299
- * This will fetch list of claims from the database
300
- * @summary Retrieve the claim
359
+ * 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.
360
+ * @summary List claims
301
361
  * @param {ClaimsApiListClaimsRequest} requestParameters Request parameters.
302
362
  * @param {*} [options] Override http request option.
303
363
  * @throws {RequiredError}
304
364
  * @memberof ClaimsApi
305
365
  */
306
- listClaims(requestParameters?: ClaimsApiListClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
366
+ listClaims(requestParameters: ClaimsApiListClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListClaimResponseClass, any>>;
307
367
  /**
308
368
  * This will update the identified claim in the database
309
369
  * @summary Update the claim
@@ -312,5 +372,5 @@ export declare class ClaimsApi extends BaseAPI {
312
372
  * @throws {RequiredError}
313
373
  * @memberof ClaimsApi
314
374
  */
315
- updateClaim(requestParameters: ClaimsApiUpdateClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
375
+ updateClaim(requestParameters: ClaimsApiUpdateClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateClaimResponseClass, any>>;
316
376
  }