@emilgroup/claim-sdk-node 1.4.0 → 1.6.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 +12 -3
- package/README.md +2 -2
- package/api/claim-statuses-api.ts +547 -0
- package/api/claims-api.ts +189 -81
- package/api/default-api.ts +124 -0
- package/api/settlements-api.ts +105 -198
- package/api.ts +4 -0
- 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/default-api.d.ts +66 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/settlements-api.d.ts +85 -140
- package/dist/api/settlements-api.js +70 -117
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/claim-class.d.ts +13 -1
- 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/create-claim-status-response-class.d.ts +25 -0
- package/dist/models/{delete-settlement-request-dto.d.ts → get-claim-status-response-class.d.ts} +7 -12
- package/{models/delete-response-class.ts → dist/models/get-claim-status-response-class.js} +2 -17
- package/dist/models/index.d.ts +10 -3
- package/dist/models/index.js +10 -3
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-claim-statuses-response-class.d.ts +31 -0
- package/dist/models/list-claim-statuses-response-class.js +15 -0
- 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 +13 -1
- 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/{delete-settlement-request-dto.ts → get-claim-status-response-class.ts} +7 -12
- package/models/index.ts +10 -3
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- 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/patch-claim-response-class.ts +31 -0
- 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 +1 -1
- /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
|
@@ -14,7 +14,6 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateSettlementRequestDto } from '../models';
|
|
16
16
|
import { CreateSettlementResponseClass } from '../models';
|
|
17
|
-
import { DeleteResponseClass } from '../models';
|
|
18
17
|
import { GetSettlementResponseClass } from '../models';
|
|
19
18
|
import { ListSettlementsResponseClass } from '../models';
|
|
20
19
|
import { UpdateSettlementRequestDto } from '../models';
|
|
@@ -27,60 +26,54 @@ export declare const SettlementsApiAxiosParamCreator: (configuration?: Configura
|
|
|
27
26
|
/**
|
|
28
27
|
* This will create a settlement against a claim in the database
|
|
29
28
|
* @summary Create the settlement
|
|
30
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
31
|
-
* @param {string} claimCode
|
|
32
29
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
30
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
33
31
|
* @param {*} [options] Override http request option.
|
|
34
32
|
* @throws {RequiredError}
|
|
35
33
|
*/
|
|
36
|
-
createSettlement: (
|
|
34
|
+
createSettlement: (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
35
|
/**
|
|
38
36
|
* This will delete the requested settlement from the database.
|
|
39
37
|
* @summary Delete the settlement
|
|
40
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
41
38
|
* @param {string} code
|
|
42
|
-
* @param {string}
|
|
39
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
43
40
|
* @param {*} [options] Override http request option.
|
|
44
41
|
* @throws {RequiredError}
|
|
45
42
|
*/
|
|
46
|
-
deleteSettlement: (
|
|
43
|
+
deleteSettlement: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
44
|
/**
|
|
48
45
|
* 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
46
|
* @summary Retrieve the settlement
|
|
50
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
51
|
-
* @param {string} claimCode
|
|
52
47
|
* @param {string} code
|
|
48
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
53
49
|
* @param {*} [options] Override http request option.
|
|
54
50
|
* @throws {RequiredError}
|
|
55
51
|
*/
|
|
56
|
-
getSettlement: (
|
|
52
|
+
getSettlement: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
53
|
/**
|
|
58
54
|
* 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
55
|
* @summary List settlements
|
|
60
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
61
|
-
* @param {
|
|
62
|
-
* @param {
|
|
63
|
-
* @param {
|
|
64
|
-
* @param {
|
|
65
|
-
* @param {
|
|
66
|
-
* @param {
|
|
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.
|
|
56
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
58
|
+
* @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.
|
|
59
|
+
* @param {'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
60
|
+
* @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.
|
|
61
|
+
* @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.
|
|
62
|
+
* @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.
|
|
69
63
|
* @param {*} [options] Override http request option.
|
|
70
64
|
* @throws {RequiredError}
|
|
71
65
|
*/
|
|
72
|
-
listSettlements: (authorization
|
|
66
|
+
listSettlements: (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
67
|
/**
|
|
74
68
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
75
69
|
* @summary Update the settlement
|
|
76
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
77
|
-
* @param {string} claimCode
|
|
78
70
|
* @param {string} code
|
|
79
71
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
72
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
80
73
|
* @param {*} [options] Override http request option.
|
|
81
74
|
* @throws {RequiredError}
|
|
82
75
|
*/
|
|
83
|
-
updateSettlement: (
|
|
76
|
+
updateSettlement: (code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
77
|
};
|
|
85
78
|
/**
|
|
86
79
|
* SettlementsApi - functional programming interface
|
|
@@ -90,60 +83,54 @@ export declare const SettlementsApiFp: (configuration?: Configuration) => {
|
|
|
90
83
|
/**
|
|
91
84
|
* This will create a settlement against a claim in the database
|
|
92
85
|
* @summary Create the settlement
|
|
93
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
|
-
* @param {string} claimCode
|
|
95
86
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
87
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
88
|
* @param {*} [options] Override http request option.
|
|
97
89
|
* @throws {RequiredError}
|
|
98
90
|
*/
|
|
99
|
-
createSettlement(
|
|
91
|
+
createSettlement(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettlementResponseClass>>;
|
|
100
92
|
/**
|
|
101
93
|
* This will delete the requested settlement from the database.
|
|
102
94
|
* @summary Delete the settlement
|
|
103
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
95
|
* @param {string} code
|
|
105
|
-
* @param {string}
|
|
96
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
106
97
|
* @param {*} [options] Override http request option.
|
|
107
98
|
* @throws {RequiredError}
|
|
108
99
|
*/
|
|
109
|
-
deleteSettlement(
|
|
100
|
+
deleteSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
110
101
|
/**
|
|
111
102
|
* 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
103
|
* @summary Retrieve the settlement
|
|
113
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
|
-
* @param {string} claimCode
|
|
115
104
|
* @param {string} code
|
|
105
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
116
106
|
* @param {*} [options] Override http request option.
|
|
117
107
|
* @throws {RequiredError}
|
|
118
108
|
*/
|
|
119
|
-
getSettlement(
|
|
109
|
+
getSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettlementResponseClass>>;
|
|
120
110
|
/**
|
|
121
111
|
* 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
112
|
* @summary List settlements
|
|
123
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
124
|
-
* @param {
|
|
125
|
-
* @param {
|
|
126
|
-
* @param {
|
|
127
|
-
* @param {
|
|
128
|
-
* @param {
|
|
129
|
-
* @param {
|
|
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.
|
|
113
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
115
|
+
* @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.
|
|
116
|
+
* @param {'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
117
|
+
* @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.
|
|
118
|
+
* @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.
|
|
119
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
132
120
|
* @param {*} [options] Override http request option.
|
|
133
121
|
* @throws {RequiredError}
|
|
134
122
|
*/
|
|
135
|
-
listSettlements(authorization
|
|
123
|
+
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>>;
|
|
136
124
|
/**
|
|
137
125
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
138
126
|
* @summary Update the settlement
|
|
139
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
140
|
-
* @param {string} claimCode
|
|
141
127
|
* @param {string} code
|
|
142
128
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
129
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
143
130
|
* @param {*} [options] Override http request option.
|
|
144
131
|
* @throws {RequiredError}
|
|
145
132
|
*/
|
|
146
|
-
updateSettlement(
|
|
133
|
+
updateSettlement(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSettlementResponseClass>>;
|
|
147
134
|
};
|
|
148
135
|
/**
|
|
149
136
|
* SettlementsApi - factory interface
|
|
@@ -153,60 +140,54 @@ export declare const SettlementsApiFactory: (configuration?: Configuration, base
|
|
|
153
140
|
/**
|
|
154
141
|
* This will create a settlement against a claim in the database
|
|
155
142
|
* @summary Create the settlement
|
|
156
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
157
|
-
* @param {string} claimCode
|
|
158
143
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
144
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
159
145
|
* @param {*} [options] Override http request option.
|
|
160
146
|
* @throws {RequiredError}
|
|
161
147
|
*/
|
|
162
|
-
createSettlement(
|
|
148
|
+
createSettlement(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass>;
|
|
163
149
|
/**
|
|
164
150
|
* This will delete the requested settlement from the database.
|
|
165
151
|
* @summary Delete the settlement
|
|
166
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
167
152
|
* @param {string} code
|
|
168
|
-
* @param {string}
|
|
153
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
169
154
|
* @param {*} [options] Override http request option.
|
|
170
155
|
* @throws {RequiredError}
|
|
171
156
|
*/
|
|
172
|
-
deleteSettlement(
|
|
157
|
+
deleteSettlement(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
173
158
|
/**
|
|
174
159
|
* 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
160
|
* @summary Retrieve the settlement
|
|
176
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
177
|
-
* @param {string} claimCode
|
|
178
161
|
* @param {string} code
|
|
162
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
179
163
|
* @param {*} [options] Override http request option.
|
|
180
164
|
* @throws {RequiredError}
|
|
181
165
|
*/
|
|
182
|
-
getSettlement(
|
|
166
|
+
getSettlement(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass>;
|
|
183
167
|
/**
|
|
184
168
|
* 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
169
|
* @summary List settlements
|
|
186
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
187
|
-
* @param {
|
|
188
|
-
* @param {
|
|
189
|
-
* @param {
|
|
190
|
-
* @param {
|
|
191
|
-
* @param {
|
|
192
|
-
* @param {
|
|
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.
|
|
170
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
171
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
172
|
+
* @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.
|
|
173
|
+
* @param {'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
174
|
+
* @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.
|
|
175
|
+
* @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.
|
|
176
|
+
* @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.
|
|
195
177
|
* @param {*} [options] Override http request option.
|
|
196
178
|
* @throws {RequiredError}
|
|
197
179
|
*/
|
|
198
|
-
listSettlements(authorization
|
|
180
|
+
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListSettlementsResponseClass>;
|
|
199
181
|
/**
|
|
200
182
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
201
183
|
* @summary Update the settlement
|
|
202
|
-
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
203
|
-
* @param {string} claimCode
|
|
204
184
|
* @param {string} code
|
|
205
185
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
186
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
206
187
|
* @param {*} [options] Override http request option.
|
|
207
188
|
* @throws {RequiredError}
|
|
208
189
|
*/
|
|
209
|
-
updateSettlement(
|
|
190
|
+
updateSettlement(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass>;
|
|
210
191
|
};
|
|
211
192
|
/**
|
|
212
193
|
* Request parameters for createSettlement operation in SettlementsApi.
|
|
@@ -214,24 +195,18 @@ export declare const SettlementsApiFactory: (configuration?: Configuration, base
|
|
|
214
195
|
* @interface SettlementsApiCreateSettlementRequest
|
|
215
196
|
*/
|
|
216
197
|
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
198
|
/**
|
|
224
199
|
*
|
|
225
|
-
* @type {
|
|
200
|
+
* @type {CreateSettlementRequestDto}
|
|
226
201
|
* @memberof SettlementsApiCreateSettlement
|
|
227
202
|
*/
|
|
228
|
-
readonly
|
|
203
|
+
readonly createSettlementRequestDto: CreateSettlementRequestDto;
|
|
229
204
|
/**
|
|
230
|
-
*
|
|
231
|
-
* @type {
|
|
205
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
206
|
+
* @type {string}
|
|
232
207
|
* @memberof SettlementsApiCreateSettlement
|
|
233
208
|
*/
|
|
234
|
-
readonly
|
|
209
|
+
readonly authorization?: string;
|
|
235
210
|
}
|
|
236
211
|
/**
|
|
237
212
|
* Request parameters for deleteSettlement operation in SettlementsApi.
|
|
@@ -239,12 +214,6 @@ export interface SettlementsApiCreateSettlementRequest {
|
|
|
239
214
|
* @interface SettlementsApiDeleteSettlementRequest
|
|
240
215
|
*/
|
|
241
216
|
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
217
|
/**
|
|
249
218
|
*
|
|
250
219
|
* @type {string}
|
|
@@ -252,11 +221,11 @@ export interface SettlementsApiDeleteSettlementRequest {
|
|
|
252
221
|
*/
|
|
253
222
|
readonly code: string;
|
|
254
223
|
/**
|
|
255
|
-
*
|
|
224
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
256
225
|
* @type {string}
|
|
257
226
|
* @memberof SettlementsApiDeleteSettlement
|
|
258
227
|
*/
|
|
259
|
-
readonly
|
|
228
|
+
readonly authorization?: string;
|
|
260
229
|
}
|
|
261
230
|
/**
|
|
262
231
|
* Request parameters for getSettlement operation in SettlementsApi.
|
|
@@ -264,24 +233,18 @@ export interface SettlementsApiDeleteSettlementRequest {
|
|
|
264
233
|
* @interface SettlementsApiGetSettlementRequest
|
|
265
234
|
*/
|
|
266
235
|
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
236
|
/**
|
|
274
237
|
*
|
|
275
238
|
* @type {string}
|
|
276
239
|
* @memberof SettlementsApiGetSettlement
|
|
277
240
|
*/
|
|
278
|
-
readonly
|
|
241
|
+
readonly code: string;
|
|
279
242
|
/**
|
|
280
|
-
*
|
|
243
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
281
244
|
* @type {string}
|
|
282
245
|
* @memberof SettlementsApiGetSettlement
|
|
283
246
|
*/
|
|
284
|
-
readonly
|
|
247
|
+
readonly authorization?: string;
|
|
285
248
|
}
|
|
286
249
|
/**
|
|
287
250
|
* Request parameters for listSettlements operation in SettlementsApi.
|
|
@@ -294,55 +257,43 @@ export interface SettlementsApiListSettlementsRequest {
|
|
|
294
257
|
* @type {string}
|
|
295
258
|
* @memberof SettlementsApiListSettlements
|
|
296
259
|
*/
|
|
297
|
-
readonly authorization
|
|
260
|
+
readonly authorization?: string;
|
|
298
261
|
/**
|
|
299
|
-
*
|
|
300
|
-
* @type {
|
|
262
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
263
|
+
* @type {any}
|
|
301
264
|
* @memberof SettlementsApiListSettlements
|
|
302
265
|
*/
|
|
303
|
-
readonly
|
|
266
|
+
readonly pageSize?: any;
|
|
304
267
|
/**
|
|
305
|
-
*
|
|
306
|
-
* @type {
|
|
268
|
+
* 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.
|
|
269
|
+
* @type {any}
|
|
307
270
|
* @memberof SettlementsApiListSettlements
|
|
308
271
|
*/
|
|
309
|
-
readonly
|
|
272
|
+
readonly pageToken?: any;
|
|
310
273
|
/**
|
|
311
|
-
*
|
|
312
|
-
* @type {
|
|
274
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
275
|
+
* @type {'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId'}
|
|
313
276
|
* @memberof SettlementsApiListSettlements
|
|
314
277
|
*/
|
|
315
|
-
readonly
|
|
278
|
+
readonly filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId';
|
|
316
279
|
/**
|
|
317
|
-
*
|
|
318
|
-
* @type {
|
|
280
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
281
|
+
* @type {any}
|
|
319
282
|
* @memberof SettlementsApiListSettlements
|
|
320
283
|
*/
|
|
321
|
-
readonly
|
|
284
|
+
readonly search?: any;
|
|
322
285
|
/**
|
|
323
|
-
*
|
|
324
|
-
* @type {
|
|
286
|
+
* 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.
|
|
287
|
+
* @type {any}
|
|
325
288
|
* @memberof SettlementsApiListSettlements
|
|
326
289
|
*/
|
|
327
|
-
readonly
|
|
290
|
+
readonly order?: any;
|
|
328
291
|
/**
|
|
329
|
-
*
|
|
330
|
-
* @type {
|
|
292
|
+
* 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.
|
|
293
|
+
* @type {any}
|
|
331
294
|
* @memberof SettlementsApiListSettlements
|
|
332
295
|
*/
|
|
333
|
-
readonly
|
|
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;
|
|
296
|
+
readonly expand?: any;
|
|
346
297
|
}
|
|
347
298
|
/**
|
|
348
299
|
* Request parameters for updateSettlement operation in SettlementsApi.
|
|
@@ -350,18 +301,6 @@ export interface SettlementsApiListSettlementsRequest {
|
|
|
350
301
|
* @interface SettlementsApiUpdateSettlementRequest
|
|
351
302
|
*/
|
|
352
303
|
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
304
|
/**
|
|
366
305
|
*
|
|
367
306
|
* @type {string}
|
|
@@ -374,6 +313,12 @@ export interface SettlementsApiUpdateSettlementRequest {
|
|
|
374
313
|
* @memberof SettlementsApiUpdateSettlement
|
|
375
314
|
*/
|
|
376
315
|
readonly updateSettlementRequestDto: UpdateSettlementRequestDto;
|
|
316
|
+
/**
|
|
317
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof SettlementsApiUpdateSettlement
|
|
320
|
+
*/
|
|
321
|
+
readonly authorization?: string;
|
|
377
322
|
}
|
|
378
323
|
/**
|
|
379
324
|
* SettlementsApi - object-oriented interface
|
|
@@ -399,7 +344,7 @@ export declare class SettlementsApi extends BaseAPI {
|
|
|
399
344
|
* @throws {RequiredError}
|
|
400
345
|
* @memberof SettlementsApi
|
|
401
346
|
*/
|
|
402
|
-
deleteSettlement(requestParameters: SettlementsApiDeleteSettlementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
347
|
+
deleteSettlement(requestParameters: SettlementsApiDeleteSettlementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
403
348
|
/**
|
|
404
349
|
* 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
350
|
* @summary Retrieve the settlement
|
|
@@ -417,7 +362,7 @@ export declare class SettlementsApi extends BaseAPI {
|
|
|
417
362
|
* @throws {RequiredError}
|
|
418
363
|
* @memberof SettlementsApi
|
|
419
364
|
*/
|
|
420
|
-
listSettlements(requestParameters
|
|
365
|
+
listSettlements(requestParameters?: SettlementsApiListSettlementsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSettlementsResponseClass, any>>;
|
|
421
366
|
/**
|
|
422
367
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
423
368
|
* @summary Update the settlement
|