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