@@ -9,7 +9,6 @@ import ApiClient from '../ApiClient';
99import CreateAirShippingEstimateRequest from '../model/CreateAirShippingEstimateRequest' ;
1010import CreateBitcoinEstimateRequest from '../model/CreateBitcoinEstimateRequest' ;
1111import CreateFlightEstimateRequest from '../model/CreateFlightEstimateRequest' ;
12- import CreateHotelEstimateRequest from '../model/CreateHotelEstimateRequest' ;
1312import CreateMassEstimateRequest from '../model/CreateMassEstimateRequest' ;
1413import CreateRailShippingEstimateRequest from '../model/CreateRailShippingEstimateRequest' ;
1514import CreateRoadShippingEstimateRequest from '../model/CreateRoadShippingEstimateRequest' ;
@@ -188,60 +187,6 @@ export default class EstimatesApi {
188187 ) ;
189188 }
190189
191- createHotelEstimateWithHttpInfo ( createHotelEstimateRequest , opts ) {
192- opts = opts || { } ;
193-
194- const _createHotelEstimateRequest =
195- CreateHotelEstimateRequest . constructFromObject (
196- createHotelEstimateRequest ,
197- new CreateHotelEstimateRequest ( )
198- ) ;
199-
200- // verify the required parameter 'createHotelEstimateRequest' is set
201- if (
202- _createHotelEstimateRequest === undefined ||
203- _createHotelEstimateRequest === null
204- ) {
205- throw new Error (
206- "Missing the required parameter 'createHotelEstimateRequest' when calling createHotelEstimate"
207- ) ;
208- }
209-
210- let postBody = _createHotelEstimateRequest ;
211- let pathParams = { } ;
212- let queryParams = { } ;
213- let headerParams = {
214- 'Patch-Version' : opts [ 'patchVersion' ]
215- } ;
216- let formParams = { } ;
217-
218- let authNames = [ 'bearer_auth' ] ;
219- let contentTypes = [ 'application/json' ] ;
220- let accepts = [ 'application/json' ] ;
221- let returnType = EstimateResponse ;
222-
223- return this . apiClient . callApi (
224- '/v1/estimates/hotel' ,
225- 'POST' ,
226- pathParams ,
227- queryParams ,
228- headerParams ,
229- formParams ,
230- postBody ,
231- authNames ,
232- contentTypes ,
233- accepts ,
234- returnType
235- ) ;
236- }
237-
238- createHotelEstimate ( createHotelEstimateRequest , opts ) {
239- return this . createHotelEstimateWithHttpInfo (
240- createHotelEstimateRequest ,
241- opts
242- ) ;
243- }
244-
245190 createMassEstimateWithHttpInfo ( createMassEstimateRequest , opts ) {
246191 opts = opts || { } ;
247192
0 commit comments