@emilgroup/claim-sdk-node 1.3.1 → 1.5.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 +8 -3
- package/README.md +2 -2
- package/api/claim-statuses-api.ts +547 -0
- package/api/claims-api.ts +189 -81
- package/api/settlements-api.ts +105 -198
- package/api.ts +2 -0
- package/base.ts +1 -1
- package/dist/api/claim-statuses-api.d.ts +309 -0
- package/dist/api/claim-statuses-api.js +535 -0
- package/dist/api/claims-api.d.ts +124 -59
- package/dist/api/claims-api.js +142 -52
- package/dist/api/settlements-api.d.ts +85 -140
- package/dist/api/settlements-api.js +70 -117
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +1 -1
- package/dist/models/claim-class.d.ts +18 -0
- package/dist/models/claim-status-class.d.ts +36 -0
- package/dist/models/create-claim-request-dto.d.ts +13 -1
- package/dist/models/create-claim-status-request-dto.d.ts +30 -0
- package/dist/models/{delete-settlement-request-dto.d.ts → create-claim-status-response-class.d.ts} +7 -12
- package/dist/models/index.d.ts +7 -3
- package/dist/models/index.js +7 -3
- package/dist/models/list-claim-statuses-response-class.d.ts +31 -0
- package/{models/delete-response-class.ts → dist/models/list-claim-statuses-response-class.js} +2 -17
- package/dist/models/{list-claim-response-class.d.ts → list-claims-response-class.d.ts} +4 -4
- package/dist/models/list-claims-response-class.js +15 -0
- package/dist/models/patch-claim-request-dto.d.ts +126 -0
- package/dist/models/patch-claim-request-dto.js +15 -0
- package/dist/models/{delete-response-class.d.ts → patch-claim-response-class.d.ts} +7 -6
- package/dist/models/patch-claim-response-class.js +15 -0
- package/dist/models/settlement-class.d.ts +6 -0
- package/dist/models/update-claim-request-dto.d.ts +8 -2
- package/dist/models/update-settlement-request-dto.d.ts +6 -0
- package/models/claim-class.ts +18 -0
- package/models/claim-status-class.ts +42 -0
- package/models/create-claim-request-dto.ts +13 -1
- package/models/create-claim-status-request-dto.ts +36 -0
- package/models/create-claim-status-response-class.ts +31 -0
- package/models/index.ts +7 -3
- package/models/list-claim-statuses-response-class.ts +37 -0
- package/models/{list-claim-response-class.ts → list-claims-response-class.ts} +4 -4
- package/models/patch-claim-request-dto.ts +132 -0
- package/models/{delete-settlement-request-dto.ts → patch-claim-response-class.ts} +7 -12
- package/models/settlement-class.ts +6 -0
- package/models/update-claim-request-dto.ts +8 -2
- package/models/update-settlement-request-dto.ts +6 -0
- package/package.json +2 -2
- /package/dist/models/{delete-response-class.js → claim-status-class.js} +0 -0
- /package/dist/models/{delete-settlement-request-dto.js → create-claim-status-request-dto.js} +0 -0
- /package/dist/models/{list-claim-response-class.js → create-claim-status-response-class.js} +0 -0
package/dist/api/claims-api.d.ts
CHANGED
|
@@ -14,9 +14,10 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateClaimRequestDto } from '../models';
|
|
16
16
|
import { CreateClaimResponseClass } from '../models';
|
|
17
|
-
import { DeleteResponseClass } from '../models';
|
|
18
17
|
import { GetClaimResponseClass } from '../models';
|
|
19
|
-
import {
|
|
18
|
+
import { ListClaimsResponseClass } from '../models';
|
|
19
|
+
import { PatchClaimRequestDto } from '../models';
|
|
20
|
+
import { PatchClaimResponseClass } from '../models';
|
|
20
21
|
import { UpdateClaimRequestDto } from '../models';
|
|
21
22
|
import { UpdateClaimResponseClass } from '../models';
|
|
22
23
|
/**
|
|
@@ -27,54 +28,64 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
27
28
|
/**
|
|
28
29
|
* This will create a claim in the database
|
|
29
30
|
* @summary Create the claim
|
|
30
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
31
31
|
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
32
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
32
33
|
* @param {*} [options] Override http request option.
|
|
33
34
|
* @throws {RequiredError}
|
|
34
35
|
*/
|
|
35
|
-
createClaim: (
|
|
36
|
+
createClaim: (createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
37
|
/**
|
|
37
38
|
* This will delete the requested claim from the database.
|
|
38
39
|
* @summary Delete the claim
|
|
39
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
40
|
* @param {string} code
|
|
41
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
41
42
|
* @param {*} [options] Override http request option.
|
|
42
43
|
* @throws {RequiredError}
|
|
43
44
|
*/
|
|
44
|
-
deleteClaim: (
|
|
45
|
+
deleteClaim: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
46
|
/**
|
|
46
47
|
* This will fetch the identified claim from the database by code
|
|
47
48
|
* @summary Retrieve the claim
|
|
48
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
49
49
|
* @param {string} code
|
|
50
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
51
|
* @param {*} [options] Override http request option.
|
|
51
52
|
* @throws {RequiredError}
|
|
52
53
|
*/
|
|
53
|
-
getClaim: (
|
|
54
|
+
getClaim: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
55
|
/**
|
|
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.
|
|
56
57
|
* @summary List claims
|
|
57
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
59
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
59
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
60
|
-
* @param {
|
|
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.
|
|
61
62
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
62
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.
|
|
63
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.
|
|
64
65
|
* @param {*} [options] Override http request option.
|
|
65
66
|
* @throws {RequiredError}
|
|
66
67
|
*/
|
|
67
|
-
listClaims: (authorization
|
|
68
|
+
listClaims: (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
|
|
71
|
+
* @summary Patch the claim
|
|
72
|
+
* @param {string} code
|
|
73
|
+
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
74
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
patchClaim: (code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
79
|
/**
|
|
69
80
|
* This will update the identified claim in the database
|
|
70
81
|
* @summary Update the claim
|
|
71
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
72
82
|
* @param {string} code
|
|
73
83
|
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
84
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
74
85
|
* @param {*} [options] Override http request option.
|
|
75
86
|
* @throws {RequiredError}
|
|
76
87
|
*/
|
|
77
|
-
updateClaim: (
|
|
88
|
+
updateClaim: (code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
89
|
};
|
|
79
90
|
/**
|
|
80
91
|
* ClaimsApi - functional programming interface
|
|
@@ -84,54 +95,64 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
84
95
|
/**
|
|
85
96
|
* This will create a claim in the database
|
|
86
97
|
* @summary Create the claim
|
|
87
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
88
98
|
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
99
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
100
|
* @param {*} [options] Override http request option.
|
|
90
101
|
* @throws {RequiredError}
|
|
91
102
|
*/
|
|
92
|
-
createClaim(
|
|
103
|
+
createClaim(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimResponseClass>>;
|
|
93
104
|
/**
|
|
94
105
|
* This will delete the requested claim from the database.
|
|
95
106
|
* @summary Delete the claim
|
|
96
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
97
107
|
* @param {string} code
|
|
108
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
98
109
|
* @param {*} [options] Override http request option.
|
|
99
110
|
* @throws {RequiredError}
|
|
100
111
|
*/
|
|
101
|
-
deleteClaim(
|
|
112
|
+
deleteClaim(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
102
113
|
/**
|
|
103
114
|
* This will fetch the identified claim from the database by code
|
|
104
115
|
* @summary Retrieve the claim
|
|
105
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
106
116
|
* @param {string} code
|
|
117
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
107
118
|
* @param {*} [options] Override http request option.
|
|
108
119
|
* @throws {RequiredError}
|
|
109
120
|
*/
|
|
110
|
-
getClaim(
|
|
121
|
+
getClaim(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimResponseClass>>;
|
|
111
122
|
/**
|
|
112
123
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
113
124
|
* @summary List claims
|
|
114
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
125
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
126
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
116
127
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
117
|
-
* @param {
|
|
128
|
+
* @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
118
129
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
119
130
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
120
131
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
121
132
|
* @param {*} [options] Override http request option.
|
|
122
133
|
* @throws {RequiredError}
|
|
123
134
|
*/
|
|
124
|
-
listClaims(authorization
|
|
135
|
+
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimsResponseClass>>;
|
|
136
|
+
/**
|
|
137
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
|
|
138
|
+
* @summary Patch the claim
|
|
139
|
+
* @param {string} code
|
|
140
|
+
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
141
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
patchClaim(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimResponseClass>>;
|
|
125
146
|
/**
|
|
126
147
|
* This will update the identified claim in the database
|
|
127
148
|
* @summary Update the claim
|
|
128
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
129
149
|
* @param {string} code
|
|
130
150
|
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
151
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
131
152
|
* @param {*} [options] Override http request option.
|
|
132
153
|
* @throws {RequiredError}
|
|
133
154
|
*/
|
|
134
|
-
updateClaim(
|
|
155
|
+
updateClaim(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimResponseClass>>;
|
|
135
156
|
};
|
|
136
157
|
/**
|
|
137
158
|
* ClaimsApi - factory interface
|
|
@@ -141,54 +162,64 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
141
162
|
/**
|
|
142
163
|
* This will create a claim in the database
|
|
143
164
|
* @summary Create the claim
|
|
144
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
145
165
|
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
166
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
167
|
* @param {*} [options] Override http request option.
|
|
147
168
|
* @throws {RequiredError}
|
|
148
169
|
*/
|
|
149
|
-
createClaim(
|
|
170
|
+
createClaim(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimResponseClass>;
|
|
150
171
|
/**
|
|
151
172
|
* This will delete the requested claim from the database.
|
|
152
173
|
* @summary Delete the claim
|
|
153
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
174
|
* @param {string} code
|
|
175
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
155
176
|
* @param {*} [options] Override http request option.
|
|
156
177
|
* @throws {RequiredError}
|
|
157
178
|
*/
|
|
158
|
-
deleteClaim(
|
|
179
|
+
deleteClaim(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
159
180
|
/**
|
|
160
181
|
* This will fetch the identified claim from the database by code
|
|
161
182
|
* @summary Retrieve the claim
|
|
162
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
163
183
|
* @param {string} code
|
|
184
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
164
185
|
* @param {*} [options] Override http request option.
|
|
165
186
|
* @throws {RequiredError}
|
|
166
187
|
*/
|
|
167
|
-
getClaim(
|
|
188
|
+
getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass>;
|
|
168
189
|
/**
|
|
169
190
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
170
191
|
* @summary List claims
|
|
171
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
192
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
172
193
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
173
194
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
174
|
-
* @param {
|
|
195
|
+
* @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
175
196
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
176
197
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
177
198
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
178
199
|
* @param {*} [options] Override http request option.
|
|
179
200
|
* @throws {RequiredError}
|
|
180
201
|
*/
|
|
181
|
-
listClaims(authorization
|
|
202
|
+
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListClaimsResponseClass>;
|
|
203
|
+
/**
|
|
204
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
|
|
205
|
+
* @summary Patch the claim
|
|
206
|
+
* @param {string} code
|
|
207
|
+
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
208
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
*/
|
|
212
|
+
patchClaim(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimResponseClass>;
|
|
182
213
|
/**
|
|
183
214
|
* This will update the identified claim in the database
|
|
184
215
|
* @summary Update the claim
|
|
185
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
216
|
* @param {string} code
|
|
187
217
|
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
218
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
188
219
|
* @param {*} [options] Override http request option.
|
|
189
220
|
* @throws {RequiredError}
|
|
190
221
|
*/
|
|
191
|
-
updateClaim(
|
|
222
|
+
updateClaim(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimResponseClass>;
|
|
192
223
|
};
|
|
193
224
|
/**
|
|
194
225
|
* Request parameters for createClaim operation in ClaimsApi.
|
|
@@ -196,18 +227,18 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
196
227
|
* @interface ClaimsApiCreateClaimRequest
|
|
197
228
|
*/
|
|
198
229
|
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;
|
|
205
230
|
/**
|
|
206
231
|
*
|
|
207
232
|
* @type {CreateClaimRequestDto}
|
|
208
233
|
* @memberof ClaimsApiCreateClaim
|
|
209
234
|
*/
|
|
210
235
|
readonly createClaimRequestDto: CreateClaimRequestDto;
|
|
236
|
+
/**
|
|
237
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof ClaimsApiCreateClaim
|
|
240
|
+
*/
|
|
241
|
+
readonly authorization?: string;
|
|
211
242
|
}
|
|
212
243
|
/**
|
|
213
244
|
* Request parameters for deleteClaim operation in ClaimsApi.
|
|
@@ -216,17 +247,17 @@ export interface ClaimsApiCreateClaimRequest {
|
|
|
216
247
|
*/
|
|
217
248
|
export interface ClaimsApiDeleteClaimRequest {
|
|
218
249
|
/**
|
|
219
|
-
*
|
|
250
|
+
*
|
|
220
251
|
* @type {string}
|
|
221
252
|
* @memberof ClaimsApiDeleteClaim
|
|
222
253
|
*/
|
|
223
|
-
readonly
|
|
254
|
+
readonly code: string;
|
|
224
255
|
/**
|
|
225
|
-
*
|
|
256
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
226
257
|
* @type {string}
|
|
227
258
|
* @memberof ClaimsApiDeleteClaim
|
|
228
259
|
*/
|
|
229
|
-
readonly
|
|
260
|
+
readonly authorization?: string;
|
|
230
261
|
}
|
|
231
262
|
/**
|
|
232
263
|
* Request parameters for getClaim operation in ClaimsApi.
|
|
@@ -235,17 +266,17 @@ export interface ClaimsApiDeleteClaimRequest {
|
|
|
235
266
|
*/
|
|
236
267
|
export interface ClaimsApiGetClaimRequest {
|
|
237
268
|
/**
|
|
238
|
-
*
|
|
269
|
+
*
|
|
239
270
|
* @type {string}
|
|
240
271
|
* @memberof ClaimsApiGetClaim
|
|
241
272
|
*/
|
|
242
|
-
readonly
|
|
273
|
+
readonly code: string;
|
|
243
274
|
/**
|
|
244
|
-
*
|
|
275
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
245
276
|
* @type {string}
|
|
246
277
|
* @memberof ClaimsApiGetClaim
|
|
247
278
|
*/
|
|
248
|
-
readonly
|
|
279
|
+
readonly authorization?: string;
|
|
249
280
|
}
|
|
250
281
|
/**
|
|
251
282
|
* Request parameters for listClaims operation in ClaimsApi.
|
|
@@ -258,7 +289,7 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
258
289
|
* @type {string}
|
|
259
290
|
* @memberof ClaimsApiListClaims
|
|
260
291
|
*/
|
|
261
|
-
readonly authorization
|
|
292
|
+
readonly authorization?: string;
|
|
262
293
|
/**
|
|
263
294
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
264
295
|
* @type {any}
|
|
@@ -273,10 +304,10 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
273
304
|
readonly pageToken?: any;
|
|
274
305
|
/**
|
|
275
306
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
276
|
-
* @type {
|
|
307
|
+
* @type {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'}
|
|
277
308
|
* @memberof ClaimsApiListClaims
|
|
278
309
|
*/
|
|
279
|
-
readonly filter?:
|
|
310
|
+
readonly filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode';
|
|
280
311
|
/**
|
|
281
312
|
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
282
313
|
* @type {any}
|
|
@@ -297,17 +328,36 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
297
328
|
readonly expand?: any;
|
|
298
329
|
}
|
|
299
330
|
/**
|
|
300
|
-
* Request parameters for
|
|
331
|
+
* Request parameters for patchClaim operation in ClaimsApi.
|
|
301
332
|
* @export
|
|
302
|
-
* @interface
|
|
333
|
+
* @interface ClaimsApiPatchClaimRequest
|
|
303
334
|
*/
|
|
304
|
-
export interface
|
|
335
|
+
export interface ClaimsApiPatchClaimRequest {
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @type {string}
|
|
339
|
+
* @memberof ClaimsApiPatchClaim
|
|
340
|
+
*/
|
|
341
|
+
readonly code: string;
|
|
342
|
+
/**
|
|
343
|
+
*
|
|
344
|
+
* @type {PatchClaimRequestDto}
|
|
345
|
+
* @memberof ClaimsApiPatchClaim
|
|
346
|
+
*/
|
|
347
|
+
readonly patchClaimRequestDto: PatchClaimRequestDto;
|
|
305
348
|
/**
|
|
306
349
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
307
350
|
* @type {string}
|
|
308
|
-
* @memberof
|
|
351
|
+
* @memberof ClaimsApiPatchClaim
|
|
309
352
|
*/
|
|
310
|
-
readonly authorization
|
|
353
|
+
readonly authorization?: string;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Request parameters for updateClaim operation in ClaimsApi.
|
|
357
|
+
* @export
|
|
358
|
+
* @interface ClaimsApiUpdateClaimRequest
|
|
359
|
+
*/
|
|
360
|
+
export interface ClaimsApiUpdateClaimRequest {
|
|
311
361
|
/**
|
|
312
362
|
*
|
|
313
363
|
* @type {string}
|
|
@@ -320,6 +370,12 @@ export interface ClaimsApiUpdateClaimRequest {
|
|
|
320
370
|
* @memberof ClaimsApiUpdateClaim
|
|
321
371
|
*/
|
|
322
372
|
readonly updateClaimRequestDto: UpdateClaimRequestDto;
|
|
373
|
+
/**
|
|
374
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
375
|
+
* @type {string}
|
|
376
|
+
* @memberof ClaimsApiUpdateClaim
|
|
377
|
+
*/
|
|
378
|
+
readonly authorization?: string;
|
|
323
379
|
}
|
|
324
380
|
/**
|
|
325
381
|
* ClaimsApi - object-oriented interface
|
|
@@ -345,7 +401,7 @@ export declare class ClaimsApi extends BaseAPI {
|
|
|
345
401
|
* @throws {RequiredError}
|
|
346
402
|
* @memberof ClaimsApi
|
|
347
403
|
*/
|
|
348
|
-
deleteClaim(requestParameters: ClaimsApiDeleteClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
404
|
+
deleteClaim(requestParameters: ClaimsApiDeleteClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
349
405
|
/**
|
|
350
406
|
* This will fetch the identified claim from the database by code
|
|
351
407
|
* @summary Retrieve the claim
|
|
@@ -363,7 +419,16 @@ export declare class ClaimsApi extends BaseAPI {
|
|
|
363
419
|
* @throws {RequiredError}
|
|
364
420
|
* @memberof ClaimsApi
|
|
365
421
|
*/
|
|
366
|
-
listClaims(requestParameters
|
|
422
|
+
listClaims(requestParameters?: ClaimsApiListClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListClaimsResponseClass, any>>;
|
|
423
|
+
/**
|
|
424
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
|
|
425
|
+
* @summary Patch the claim
|
|
426
|
+
* @param {ClaimsApiPatchClaimRequest} requestParameters Request parameters.
|
|
427
|
+
* @param {*} [options] Override http request option.
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
* @memberof ClaimsApi
|
|
430
|
+
*/
|
|
431
|
+
patchClaim(requestParameters: ClaimsApiPatchClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchClaimResponseClass, any>>;
|
|
367
432
|
/**
|
|
368
433
|
* This will update the identified claim in the database
|
|
369
434
|
* @summary Update the claim
|