@@ -9,7 +9,6 @@ import ApiClient from '../ApiClient';
9
9
import CreateAirShippingEstimateRequest from '../model/CreateAirShippingEstimateRequest' ;
10
10
import CreateBitcoinEstimateRequest from '../model/CreateBitcoinEstimateRequest' ;
11
11
import CreateEcommerceEstimateRequest from '../model/CreateEcommerceEstimateRequest' ;
12
- import CreateEthereumEstimateRequest from '../model/CreateEthereumEstimateRequest' ;
13
12
import CreateFlightEstimateRequest from '../model/CreateFlightEstimateRequest' ;
14
13
import CreateHotelEstimateRequest from '../model/CreateHotelEstimateRequest' ;
15
14
import CreateMassEstimateRequest from '../model/CreateMassEstimateRequest' ;
@@ -190,60 +189,6 @@ export default class EstimatesApi {
190
189
) ;
191
190
}
192
191
193
- createEthereumEstimateWithHttpInfo ( createEthereumEstimateRequest , opts ) {
194
- opts = opts || { } ;
195
-
196
- const _createEthereumEstimateRequest =
197
- CreateEthereumEstimateRequest . constructFromObject (
198
- createEthereumEstimateRequest ,
199
- new CreateEthereumEstimateRequest ( )
200
- ) ;
201
-
202
- // verify the required parameter 'createEthereumEstimateRequest' is set
203
- if (
204
- _createEthereumEstimateRequest === undefined ||
205
- _createEthereumEstimateRequest === null
206
- ) {
207
- throw new Error (
208
- "Missing the required parameter 'createEthereumEstimateRequest' when calling createEthereumEstimate"
209
- ) ;
210
- }
211
-
212
- let postBody = _createEthereumEstimateRequest ;
213
- let pathParams = { } ;
214
- let queryParams = { } ;
215
- let headerParams = {
216
- 'Patch-Version' : opts [ 'patchVersion' ]
217
- } ;
218
- let formParams = { } ;
219
-
220
- let authNames = [ 'bearer_auth' ] ;
221
- let contentTypes = [ 'application/json' ] ;
222
- let accepts = [ 'application/json' ] ;
223
- let returnType = EstimateResponse ;
224
-
225
- return this . apiClient . callApi (
226
- '/v1/estimates/crypto/eth' ,
227
- 'POST' ,
228
- pathParams ,
229
- queryParams ,
230
- headerParams ,
231
- formParams ,
232
- postBody ,
233
- authNames ,
234
- contentTypes ,
235
- accepts ,
236
- returnType
237
- ) ;
238
- }
239
-
240
- createEthereumEstimate ( createEthereumEstimateRequest , opts ) {
241
- return this . createEthereumEstimateWithHttpInfo (
242
- createEthereumEstimateRequest ,
243
- opts
244
- ) ;
245
- }
246
-
247
192
createFlightEstimateWithHttpInfo ( createFlightEstimateRequest , opts ) {
248
193
opts = opts || { } ;
249
194
0 commit comments