PageSourceSearch

https://www.albatros.dk/_next/static/chunks/d44d2f1e-bdfb1327c24cf02c.js

js albatros.dk collected 2026-10-02 20:14:04 UTC 145,623 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5077],{73758:(e,t,a)=>{a.d(t,{k:()=>af});var i=a(84379),n=a(66677),o=a(17627),r=a(5251),s=a(44452),u=a(1804),l=a(91696),c=a(90785),p=a(93469),d=a(23766),h=a(70784),g=a(78412),w=a(65734),y=a(14702),m=a(75362),R=a(6897),q=a(90220),I=a(66691),f=a(86152),k=a(83086),v=a(2798),C=a(93361),P=a(73189),b=a(87359),B=a(76699),A=a(18851),T=a(55325),S=a(80762),E=a(26320),G=a(64481),K=a(54627),z=a(62741),X=a(2964),Q=a(7509),D=a(17687),U=a(2562),O=a(37182),L=a(3274),j=a(22256),F=a(28407),N=a(1793),V=a(30639),x=a(89959),M=a(79601),H=a(1616),_=a(32636),W=a(5230),J=a(22003),Y=a(78243),$=a(96821),Z=a(8097),ee=a(19521),et=a(41891),ea=a(42695),ei=a(77103),en=a(57343),eo=a(2297),er=a(49893),es=a(52095),eu=a(23037),el=a(18675),ec=a(66846),ep=a(6194),ed=a(36943),eh=a(78922),eg=a(7647),ew=a(7584),ey=a(49123),em=a(29465),eR=a(68004),eq=a(34035),eI=a(14623),ef=a(41433),ek=a(36591),ev=a(61563),eC=a(94736),eP=a(9845),eb=a(46173),eB=a(68057),eA=a(33515),eT=a(10155),eS=a(68506),eE=a(26367),eG=a(31860),eK=a(95256),ez=a(59156),eX=a(17331),eQ=a(12165),eD=a(26129),eU=a(37299),eO=a(38233),eL=a(6667),ej=a(36445),eF=a(86599),eN=a(79628),eV=a(95707),ex=a(72723),eM=a(15352),eH=a(58638),e_=a(92843),eW=a(89871),eJ=a(63573),eY=a(45242),e$=a(19130),eZ=a(94660),e0=a(66168),e6=a(73159),e1=a(4967),e7=a(32684),e4=a(92163),e2=a(98491),e9=a(44795),e3=a(72477),e8=a(56137),e5=a(7803),te=a(86582),tt=a(53882),ta=a(54911),ti=a(17689),tn=a(7154),to=a(87582),tr=a(19019),ts=a(10093),tu=a(94852),tl=a(12792),tc=a(7760),tp=a(2364),td=a(42517),th=a(94418),tg=a(30640),tw=a(50684),ty=a(46516),tm=a(71778),tR=a(11905),tq=a(9007),tI=a(26453),tf=a(22671),tk=a(59848),tv=a(53878),tC=a(47405),tP=a(78078),tb=a(48093),tB=a(50326),tA=a(48684),tT=a(59113),tS=a(74961),tE=a(29823),tG=a(3499),tK=a(79107),tz=a(51888),tX=a(9789),tQ=a(63112),tD=a(57494),tU=a(87962),tO=a(52030),tL=a(92799),tj=a(57425),tF=a(32595),tN=a(7484),tV=a(97472),tx=a(26968),tM=a(37620),tH=a(20490),t_=a(62598),tW=a(99712),tJ=a(73525),tY=a(80041),t$=a(43794),tZ=a(4046),t0=a(22885),t6=a(15848),t1=a(33441),t7=a(90306),t4=a(94648),t2=a(65900),t9=a(60424),t3=a(16324),t8=a(58622),t5=a(46972),ae=a(66061),at=a(8877),aa=a(53835),ai=a(88094),an=a(3233),ao=a(2431),ar=a(2426),as=a(59614),au=a(2067),al=a(48346),ac=a(25180),ap=a(64386),ad=a(83310),ah=a(91344),ag=a(73396),aw=a(47582),ay=a(81027),am=a(54587),aR=a(60294),aq=a(83248),aI=a(81355);class af extends i.yi{async activateAccountRaw(e){if(null===e.apiActivateAccountRQ||void 0===e.apiActivateAccountRQ)throw new i.Q0("apiActivateAccountRQ","Required parameter requestParameters.apiActivateAccountRQ was null or undefined when calling activateAccount.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelerAccount/activate",method:"POST",headers:t,query:{},body:(0,n.Ai)(e.apiActivateAccountRQ)});return new i.cK(a)}async activateAccount(e){await this.activateAccountRaw({apiActivateAccountRQ:e})}async addAgencyUserRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/businesspartner/addAgencyUser",method:"POST",headers:t,query:{},body:(0,p.y3)(e.apiAgencyUserRequest)});return new i.ko(a,e=>(0,tI.GE)(e))}async addAgencyUser(e){let t=await this.addAgencyUserRaw({apiAgencyUserRequest:e});return await t.value()}async addBestPricePackageToBookingRaw(e){if(null===e.packageId||void 0===e.packageId)throw new i.Q0("packageId","Required parameter requestParameters.packageId was null or undefined when calling addBestPricePackageToBooking.");if(null===e.packageDetailsId||void 0===e.packageDetailsId)throw new i.Q0("packageDetailsId","Required parameter requestParameters.packageDetailsId was null or undefined when calling addBestPricePackageToBooking.");if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling addBestPricePackageToBooking.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/bestprice/{packageId}/{packageDetailsId}/addToBooking/{bookingId}".replace("{packageId}",encodeURIComponent(String(e.packageId))).replace("{packageDetailsId}",encodeURIComponent(String(e.packageDetailsId))).replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{}});return new i.ko(a,e=>(0,f.qQ)(e))}async addBestPricePackageToBooking(e,t,a){let i=await this.addBestPricePackageToBookingRaw({packageId:e,packageDetailsId:t,bookingId:a});
1return await i.value()}async addBusinessPartnerRaw(e){if(null===e.apiAddBusinesPartnerRequest||void 0===e.apiAddBusinesPartnerRequest)throw new i.Q0("apiAddBusinesPartnerRequest","Required parameter requestParameters.apiAddBusinesPartnerRequest was null or undefined when calling addBusinessPartner.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/businesspartner/addBusinessPartner",method:"POST",headers:t,query:{},body:(0,r.Gz)(e.apiAddBusinesPartnerRequest)});return new i.Pf(a)}async addBusinessPartner(e){let t=await this.addBusinessPartnerRaw({apiAddBusinesPartnerRequest:e});return await t.value()}async addItemRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling addItem.");if(null===e.componentId||void 0===e.componentId)throw new i.Q0("componentId","Required parameter requestParameters.componentId was null or undefined when calling addItem.");if(null===e.itemId||void 0===e.itemId)throw new i.Q0("itemId","Required parameter requestParameters.itemId was null or undefined when calling addItem.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/component/{componentId}/add/{itemId}".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))).replace("{componentId}",encodeURIComponent(String(e.componentId))).replace("{itemId}",encodeURIComponent(String(e.itemId))),method:"POST",headers:t,query:{}});return new i.ko(a,e=>(0,tP.tu)(e))}async addItem(e,t,a){let i=await this.addItemRaw({packageCartId:e,componentId:t,itemId:a});return await i.value()}async addItemToBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling addItemToBooking.");if(null===e.itemId||void 0===e.itemId)throw new i.Q0("itemId","Required parameter requestParameters.itemId was null or undefined when calling addItemToBooking.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/item/{itemId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))).replace("{itemId}",encodeURIComponent(String(e.itemId))),method:"POST",headers:t,query:{},body:(0,s.GS)(e.apiAddItemRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async addItemToBooking(e,t,a){let i=await this.addItemToBookingRaw({bookingId:e,itemId:t,apiAddItemRequest:a});return await i.value()}async addItemsToBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling addItemsToBooking.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/addItems".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:e.requestBody});return new i.ko(a,e=>(0,f.qQ)(e))}async addItemsToBooking(e,t){let a=await this.addItemsToBookingRaw({bookingId:e,requestBody:t});return await a.value()}async addPromoCodesRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling addPromoCodes.");if(null===e.requestBody||void 0===e.requestBody)throw new i.Q0("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling addPromoCodes.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/promoCodes".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:e.requestBody});return new i.ko(a,e=>(0,f.qQ)(e))}async addPromoCodes(e,t){let a=await this.addPromoCodesRaw({bookingId:e,requestBody:t});return await a.value()}async addToBookingRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling addToBooking.");let t={};void 0!==e.bookingId&&(t.bookingId=e.bookingId);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/packageCart/{packageCartId}/addToBooking".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))),method:"POST",headers:a,query:t});return new i.cK(n)}async addToBooking(e,t){await this.addToBookingRaw({packageCartId:e,bookingId:t})}async addTravelerRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling addTraveler.");if(null===e.attempt||void 0===e.attempt)throw new i.Q0("attempt","Required parameter requestParameters.attempt was null or undefined when calling addTraveler.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/traveler/{attempt}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))).replace("{attempt}",encodeURIComponent(String(e.attempt))),method:"POST",headers:t,query:{},body:(0,aa.an)(e.apiTraveler)});return new i.ko(a,e=>(0,f.qQ)(e))}async addTraveler(e,t,a){let i=await this.addTravelerRaw({bookingId:e,attempt:t,apiTraveler:a});
1return await i.value()}async addVoucherCodesRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling addVoucherCodes.");if(null===e.requestBody||void 0===e.requestBody)throw new i.Q0("requestBody","Required parameter requestParameters.requestBody was null or undefined when calling addVoucherCodes.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/voucherCodes".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:e.requestBody});return new i.ko(a,e=>(0,f.qQ)(e))}async addVoucherCodes(e,t){let a=await this.addVoucherCodesRaw({bookingId:e,requestBody:t});return await a.value()}async applyListOptionsRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling applyListOptions.");if(null===e.componentId||void 0===e.componentId)throw new i.Q0("componentId","Required parameter requestParameters.componentId was null or undefined when calling applyListOptions.");if(null===e.apiListOptions||void 0===e.apiListOptions)throw new i.Q0("apiListOptions","Required parameter requestParameters.apiListOptions was null or undefined when calling applyListOptions.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/applyListOptions/{packageCartId}/component/{componentId}".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))).replace("{componentId}",encodeURIComponent(String(e.componentId))),method:"POST",headers:t,query:{},body:(0,tq.vQ)(e.apiListOptions)});return new i.ko(a,e=>(0,G.yv)(e))}async applyListOptions(e,t,a){let i=await this.applyListOptionsRaw({packageCartId:e,componentId:t,apiListOptions:a});return await i.value()}async applyPaxRoomAssignmentsRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling applyPaxRoomAssignments.");if(null===e.apiApplyPaxRoomAssignmentRequest||void 0===e.apiApplyPaxRoomAssignmentRequest)throw new i.Q0("apiApplyPaxRoomAssignmentRequest","Required parameter requestParameters.apiApplyPaxRoomAssignmentRequest was null or undefined when calling applyPaxRoomAssignments.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/bestprice/paxRoomAssignments/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,h.Vm)(e.apiApplyPaxRoomAssignmentRequest)});return new i.ko(a,e=>(0,g.H1)(e))}async applyPaxRoomAssignments(e,t){let a=await this.applyPaxRoomAssignmentsRaw({bookingId:e,apiApplyPaxRoomAssignmentRequest:t});return await a.value()}async attemptBookingRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling attemptBooking.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/attemptBooking".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))),method:"POST",headers:t,query:{}});return new i.ko(a,e=>(0,tP.tu)(e))}async attemptBooking(e){let t=await this.attemptBookingRaw({packageCartId:e});return await t.value()}async authenticateRaw(e){if(null===e.apiAuthenticateRequest||void 0===e.apiAuthenticateRequest)throw new i.Q0("apiAuthenticateRequest","Required parameter requestParameters.apiAuthenticateRequest was null or undefined when calling authenticate.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/authentication/authenticate",method:"POST",headers:t,query:{},body:(0,y.fo)(e.apiAuthenticateRequest)});return new i.ko(a,e=>(0,m.jI)(e))}async authenticate(e){let t=await this.authenticateRaw({apiAuthenticateRequest:e});return await t.value()}async bookingCancelRaw(e){if(null===e.apiBookingCancelRequest||void 0===e.apiBookingCancelRequest)throw new i.Q0("apiBookingCancelRequest","Required parameter requestParameters.apiBookingCancelRequest was null or undefined when calling bookingCancel.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/cancel",method:"POST",headers:t,query:{},body:(0,k.zH)(e.apiBookingCancelRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async bookingCancel(e){let t=await this.bookingCancelRaw({apiBookingCancelRequest:e});return await t.value()}async bookingLoginRaw(e){if(null===e.apiBookingLoginRequest||void 0===e.apiBookingLoginRequest)throw new i.Q0("apiBookingLoginRequest","Required parameter requestParameters.apiBookingLoginRequest was null or undefined when calling bookingLogin.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/bookingLogin",method:"POST",headers:t,query:{},body:(0,C.s0)(e.apiBookingLoginRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async bookingLogin(e){let t=await this.bookingLoginRaw({apiBookingLoginRequest:e});return await t.value()}async calculatePriceRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling calculatePrice.");if(null===e.componentId||void 0===e.componentId)throw new i.Q0("componentId","Required parameter requestParameters.componentId was null or undefined when calling calculatePrice.");if(null===e.itemId||void 0===e.itemId)throw new i.Q0("itemId","Required parameter requestParameters.itemId w
1as null or undefined when calling calculatePrice.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/component/{componentId}/calculatePrice/{itemId}".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))).replace("{componentId}",encodeURIComponent(String(e.componentId))).replace("{itemId}",encodeURIComponent(String(e.itemId))),method:"POST",headers:t,query:{}});return new i.ko(a,e=>(0,tT.UC)(e))}async calculatePrice(e,t,a){let i=await this.calculatePriceRaw({packageCartId:e,componentId:t,itemId:a});return await i.value()}async changeAccountPasswordRaw(e){if(null===e.apiChangeAccountPasswordRQ||void 0===e.apiChangeAccountPasswordRQ)throw new i.Q0("apiChangeAccountPasswordRQ","Required parameter requestParameters.apiChangeAccountPasswordRQ was null or undefined when calling changeAccountPassword.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelerAccount/changePassword",method:"POST",headers:t,query:{},body:(0,A.Kg)(e.apiChangeAccountPasswordRQ)});return new i.cK(a)}async changeAccountPassword(e){await this.changeAccountPasswordRaw({apiChangeAccountPasswordRQ:e})}async changeComponentsRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling changeComponents.");if(null===e.packageDetailId||void 0===e.packageDetailId)throw new i.Q0("packageDetailId","Required parameter requestParameters.packageDetailId was null or undefined when calling changeComponents.");if(null===e.apiChangeComponentsRequest||void 0===e.apiChangeComponentsRequest)throw new i.Q0("apiChangeComponentsRequest","Required parameter requestParameters.apiChangeComponentsRequest was null or undefined when calling changeComponents.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/changeComponents/{packageDetailId}".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))).replace("{packageDetailId}",encodeURIComponent(String(e.packageDetailId))),method:"POST",headers:t,query:{},body:(0,T.wm)(e.apiChangeComponentsRequest)});return new i.ko(a,e=>(0,tP.tu)(e))}async changeComponents(e,t,a){let i=await this.changeComponentsRaw({packageCartId:e,packageDetailId:t,apiChangeComponentsRequest:a});return await i.value()}async changeDateRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/service/changeDate",method:"POST",headers:t,query:{},body:(0,E.D8)(e.apiChangeServiceDateRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async changeDate(e){let t=await this.changeDateRaw({apiChangeServiceDateRequest:e});return await t.value()}async changePasswordRaw(e){if(null===e.apiChangePasswordRequest||void 0===e.apiChangePasswordRequest)throw new i.Q0("apiChangePasswordRequest","Required parameter requestParameters.apiChangePasswordRequest was null or undefined when calling changePassword.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/authentication/changePassword",method:"POST",headers:t,query:{},body:(0,S.lh)(e.apiChangePasswordRequest)});return new i.ko(a,e=>(0,d.RS)(e))}async changePassword(e){let t=await this.changePasswordRaw({apiChangePasswordRequest:e});return await t.value()}async createActivityRaw(e){if(null===e.apiActivity||void 0===e.apiActivity)throw new i.Q0("apiActivity","Required parameter requestParameters.apiActivity was null or undefined when calling createActivity.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/activity/create",method:"POST",headers:t,query:{},body:(0,o.gV)(e.apiActivity)});return new i.cK(a)}async createActivity(e){await this.createActivityRaw({apiActivity:e})}async createTravelerAccountRaw(e){if(null===e.apiTravelerAccount||void 0===e.apiTravelerAccount)throw new i.Q0("apiTravelerAccount","Required parameter requestParameters.apiTravelerAccount was null or undefined when calling createTravelerAccount.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelerAccount/create",method:"POST",headers:t,query:{},body:(0,ai.bQ)(e.apiTravelerAccount)});return new i.ko(a,e=>(0,ai.N_)(e))}async createTravelerAccount(e){let t=await this.createTravelerAccountRaw({apiTravelerAccount:e});return await t.value()}async deleteItemFromBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling deleteItemFromBooking.");if(null===e.itemId||void 0===e.itemId)throw new i.Q0("itemId","Required parameter requestParameters.itemId w
1as null or undefined when calling deleteItemFromBooking.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/item/{itemId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))).replace("{itemId}",encodeURIComponent(String(e.itemId))),method:"DELETE",headers:t,query:{}});return new i.ko(a,e=>(0,f.qQ)(e))}async deleteItemFromBooking(e,t){let a=await this.deleteItemFromBookingRaw({bookingId:e,itemId:t});return await a.value()}async deleteItemsFromBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling deleteItemsFromBooking.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/deleteItems".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:e.requestBody});return new i.ko(a,e=>(0,f.qQ)(e))}async deleteItemsFromBooking(e,t){let a=await this.deleteItemsFromBookingRaw({bookingId:e,requestBody:t});return await a.value()}async deleteTokenForBookingRaw(e){if(null===e.apiDeleteTokenForBookingRequest||void 0===e.apiDeleteTokenForBookingRequest)throw new i.Q0("apiDeleteTokenForBookingRequest","Required parameter requestParameters.apiDeleteTokenForBookingRequest was null or undefined when calling deleteTokenForBooking.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/deleteTokenForBooking",method:"POST",headers:t,query:{},body:(0,D.oG)(e.apiDeleteTokenForBookingRequest)});return new i.cK(a)}async deleteTokenForBooking(e){await this.deleteTokenForBookingRaw({apiDeleteTokenForBookingRequest:e})}async doAttemptBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling doAttemptBooking.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/attempt/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,f.qQ)(e))}async doAttemptBooking(e){let t=await this.doAttemptBookingRaw({bookingId:e});return await t.value()}async doBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling doBooking.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/book/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,f.qQ)(e))}async doBooking(e){let t=await this.doBookingRaw({bookingId:e});return await t.value()}async doOptionBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling doOptionBooking.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/option/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,f.qQ)(e))}async doOptionBooking(e){let t=await this.doOptionBookingRaw({bookingId:e});return await t.value()}async doPendingBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling doPendingBooking.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/pending/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,f.qQ)(e))}async doPendingBooking(e){let t=await this.doPendingBookingRaw({bookingId:e});return await t.value()}async doVoucherBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling doVoucherBooking.");if(null===e.attempt||void 0===e.attempt)throw new i.Q0("attempt","Required parameter requestParameters.attempt was null or undefined when calling doVoucherBooking.");if(null===e.apiVoucherBookingRequest||void 0===e.apiVoucherBookingRequest)throw new i.Q0("apiVoucherBookingRequest","Required parameter requestParameters.apiVoucherBookingRequest was null or undefined when calling doVoucherBooking.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/voucher/doBooking/{bookingId}/{attempt}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))).replace("{attempt}",encodeURIComponent(String(e.attempt))),method:"POST",headers:t,query:{},body:(0,ad.RX)(e.apiVoucherBookingRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async doVoucherBooking(e,t,a){let i=await this.doVoucherBookingRaw({bookingId:e,attempt:t,apiVoucherBookingRequest:a});
1return await i.value()}async editAgencyUserRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/businesspartner/editAgencyUser",method:"POST",headers:t,query:{},body:(0,p.y3)(e.apiAgencyUserRequest)});return new i.Pf(a)}async editAgencyUser(e){let t=await this.editAgencyUserRaw({apiAgencyUserRequest:e});return await t.value()}async editBusinessPartnerRaw(e){if(null===e.apiEditBusinesPartnerRequest||void 0===e.apiEditBusinesPartnerRequest)throw new i.Q0("apiEditBusinesPartnerRequest","Required parameter requestParameters.apiEditBusinesPartnerRequest was null or undefined when calling editBusinessPartner.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/businesspartner/editBusinessPartner",method:"POST",headers:t,query:{},body:(0,L.tT)(e.apiEditBusinesPartnerRequest)});return new i.Pf(a)}async editBusinessPartner(e){let t=await this.editBusinessPartnerRaw({apiEditBusinesPartnerRequest:e});return await t.value()}async fetchAgencyRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/businesspartner/fetchAgency",method:"POST",headers:t,query:{},body:(0,j.Jn)(e.apiFetchAgencyRequest)});return new i.ko(a,e=>(0,c.iD)(e))}async fetchAgency(e){let t=await this.fetchAgencyRaw({apiFetchAgencyRequest:e});return await t.value()}async fetchPackageDetailsForComponentRaw(e){if(null===e.packageId||void 0===e.packageId)throw new i.Q0("packageId","Required parameter requestParameters.packageId was null or undefined when calling fetchPackageDetailsForComponent.");if(null===e.componentId||void 0===e.componentId)throw new i.Q0("componentId","Required parameter requestParameters.componentId was null or undefined when calling fetchPackageDetailsForComponent.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/fetchDetails/{packageId}/component/{componentId}".replace("{packageId}",encodeURIComponent(String(e.packageId))).replace("{componentId}",encodeURIComponent(String(e.componentId))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,tP.tu)(e))}async fetchPackageDetailsForComponent(e,t){let a=await this.fetchPackageDetailsForComponentRaw({packageId:e,componentId:t});return await a.value()}async generateBookingDocumentsRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling generateBookingDocuments.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/documents/generate".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,f.qQ)(e))}async generateBookingDocuments(e){let t=await this.generateBookingDocumentsRaw({bookingId:e});return await t.value()}async getAffiliateDataRaw(e){if(null===e.apiAffiliateRequest||void 0===e.apiAffiliateRequest)throw new i.Q0("apiAffiliateRequest","Required parameter requestParameters.apiAffiliateRequest was null or undefined when calling getAffiliateData.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/affiliate/getAffiliateData",method:"POST",headers:t,query:{},body:(0,u.X_)(e.apiAffiliateRequest)});return new i.ko(a,e=>(0,l.l1)(e))}async getAffiliateData(e){let t=await this.getAffiliateDataRaw({apiAffiliateRequest:e});return await t.value()}async getAgencyCreditLimitRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/businesspartner/getAgencyCreditLimit",method:"GET",headers:e,query:{}});return new i.ko(t,e=>(0,W.v8)(e))}async getAgencyCreditLimit(){let e=await this.getAgencyCreditLimitRaw();return await e.value()}async getAttractionsAvailabilityInfoRaw(e){if(null===e.apiGetAttractionAvailabilityRequest||void 0===e.apiGetAttractionAvailabilityRequest)throw new i.Q0("apiGetAttractionAvailabilityRequest","Required parameter requestParameters.apiGetAttractionAvailabilityRequest was null or undefined when calling getAttractionsAvailabilityInfo.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/getAttractionsAvailabilityInfo",method:"POST",headers:t,query:{},body:(0,J.QM)(e.apiGetAttractionAvailabilityRequest)});return new i.ko(a,e=>e.map(w.nw))}async getAttractionsAvailabilityInfo(e){let t=await this.getAttractionsAvailabilityInfoRaw({apiGetAttractionAvailabilityRequest:e});return await t.value()}async getAuthenticationStateRaw(){let e=await this.request({path:"/authentication/state",method:"GET",headers:{},query:{}});return new i.ko(e,e=>(0,R._v)(e))}async getAuthenticationState(){let e=await this.getAuthenticationStateRaw();return await e.value()}async getBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling getBooking.");let t={};void 0!==e.noCache&&(t.noCache=e.noCache);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/booking/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"GET",headers:a,query:t});return new i.ko(n,e=>(0,f.qQ)(e))}async getBooking(e,t){let a=await this.getBookingRaw({bookingId:e,noCache:t});return await a.value()}async getBusinessPartnerRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/businesspartner/retrieve",method:"GET",headers:e,query:{}});return new i.ko(t,e=>(0,et.QQ)(e))}async getBusinessPartner(){let e=await this.getBusinessPartnerRaw();return await e.value()}async getCamperDetailsRaw(e){if(null===e.apiGetCamperDetailsRequest||void 0===e.apiGetCamperDetailsRequest)throw new i.Q0("apiGetCamperDetailsRequest","Required parameter requestParameters.apiGetCamperDetailsRequest was null or undefined when calling getCamperDetails.");let t={};t["Content-Type"]="application/json";
1let a=await this.request({path:"/camper/details",method:"POST",headers:t,query:{},body:(0,ea.e3)(e.apiGetCamperDetailsRequest,!1)});return new i.ko(a,e=>(0,ei.go)(e))}async getCamperDetails(e){let t=await this.getCamperDetailsRaw({apiGetCamperDetailsRequest:e});return await t.value()}async getCamperInsuranceListRaw(e){if(null===e.apiGetAdditionalInsuranceListRequest||void 0===e.apiGetAdditionalInsuranceListRequest)throw new i.Q0("apiGetAdditionalInsuranceListRequest","Required parameter requestParameters.apiGetAdditionalInsuranceListRequest was null or undefined when calling getCamperInsuranceList.");let t={};t["Content-Type"]="application/json";let a=await this.request({path:"/camper/insurance/list",method:"POST",headers:t,query:{},body:(0,H.Xr)(e.apiGetAdditionalInsuranceListRequest)});return new i.ko(a,e=>(0,_.N0)(e))}async getCamperInsuranceList(e){let t=await this.getCamperInsuranceListRaw({apiGetAdditionalInsuranceListRequest:e});return await t.value()}async getCamperListRaw(e){if(null===e.apiGetCamperListRequest||void 0===e.apiGetCamperListRequest)throw new i.Q0("apiGetCamperListRequest","Required parameter requestParameters.apiGetCamperListRequest was null or undefined when calling getCamperList.");let t={};t["Content-Type"]="application/json";let a=await this.request({path:"/camper/list",method:"POST",headers:t,query:{},body:(0,en.sA)(e.apiGetCamperListRequest,!1)});return new i.ko(a,e=>(0,eo.qx)(e))}async getCamperList(e){let t=await this.getCamperListRaw({apiGetCamperListRequest:e});return await t.value()}async getCamperTermsAndConditionsRaw(e){if(null===e.apiGetCamperTermsAndConditionsRequest||void 0===e.apiGetCamperTermsAndConditionsRequest)throw new i.Q0("apiGetCamperTermsAndConditionsRequest","Required parameter requestParameters.apiGetCamperTermsAndConditionsRequest was null or undefined when calling getCamperTermsAndConditions.");let t={};t["Content-Type"]="application/json";let a=await this.request({path:"/camper/terms",method:"POST",headers:t,query:{},body:(0,er.gH)(e.apiGetCamperTermsAndConditionsRequest)});return new i.ko(a,e=>(0,es.UT)(e))}async getCamperTermsAndConditions(e){let t=await this.getCamperTermsAndConditionsRaw({apiGetCamperTermsAndConditionsRequest:e});return await t.value()}async getCharacteristicsRaw(e){if(null===e.apiGetHotelCharacteristicsRequest||void 0===e.apiGetHotelCharacteristicsRequest)throw new i.Q0("apiGetHotelCharacteristicsRequest","Required parameter requestParameters.apiGetHotelCharacteristicsRequest was null or undefined when calling getCharacteristics.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/hotel/getCharacteristics",method:"POST",headers:t,query:{},body:(0,eP.aK)(e.apiGetHotelCharacteristicsRequest)});return new i.ko(a,e=>(0,eb.Q5)(e))}async getCharacteristics(e){let t=await this.getCharacteristicsRaw({apiGetHotelCharacteristicsRequest:e});return await t.value()}async getConfigurationRaw(e){if(null===e.apiConfigurationDataRequest||void 0===e.apiConfigurationDataRequest)throw new i.Q0("apiConfigurationDataRequest","Required parameter requestParameters.apiConfigurationDataRequest was null or undefined when calling getConfiguration.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/getConfigurationData",method:"POST",headers:t,query:{},body:(0,K.cU)(e.apiConfigurationDataRequest)});return new i.ko(a,e=>(0,z.Cz)(e))}async getConfiguration(e){let t=await this.getConfigurationRaw({apiConfigurationDataRequest:e});return await t.value()}async getCountriesRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/masterdata/getCountries",method:"GET",headers:e,query:{}});return new i.ko(t,e=>(0,ek.O4)(e))}async getCountries(){let e=await this.getCountriesRaw();return await e.value()}async getCountriesListRaw(e){if(null===e.languageCode||void 0===e.languageCode)throw new i.Q0("languageCode","Required parameter requestParameters.languageCode was null or undefined when calling getCountriesList.");let t={};void 0!==e.languageCode&&null!==e.languageCode&&(t.languageCode=String(e.languageCode)),this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/fastsearch/getCountriesList",method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,eu.Gs)(e))}async getCountriesList(e){let t=await this.getCountriesListRaw({languageCode:e});return await t.value()}async getDestinationAirportsRaw(e){if(null===e.apiGetGeoUnitsRequest||void 0===e.apiGetGeoUnitsRequest)throw new i.Q0("apiGetGeoUnitsRequest","Required parameter requestParameters.apiGetGeoUnitsRequest was null or undefined when calling getDestinationAirports.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/getDestinationAirports",method:"POST",headers:t,query:{},body:(0,ef.E7)(e.apiGetGeoUnitsRequest,!1)});return new i.ko(a,e=>(0,ek.O4)(e))}async getDestinationAirports(e){let t=await this.getDestinationAirportsRaw({apiGetGeoUnitsRequest:e});return await t.value()}async getDocumentRaw(e){if(null===e.bookingNumber||void 0===e.bookingNumber)throw new i.Q0("bookingNumber","Required parameter requestParameters.bookingNumber was null or undefined when calling getDocument.");if(null===e.documentId||void 0===e.documentId)throw new i.Q0("documentId","Required parameter requestParameters.documentId was null or undefined when calling getDocument.");if(null===e.documentType||void 0===e.documentType)throw new i.Q0("documentType","Required parameter requestParameters.documentType was null or undefined when calling getDocument.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/document/{bookingNumber}/{documentId}/{documentType}".replace("{bookingNumber}",encodeURIComponent(String(e.bookingNumber))).replace("{documentId}",encodeURIComponent(String(e.documentId))).replace("{documentType}",encodeURIComponent(String(e.documentType))),method:"GET",headers:t,query:{}});return new i.Fo(a)}async getDocument(e,t,a){let i=await this.getDocumentRaw({bookingNumber:e,documentId:t,documentType:a});
1return await i.value()}async getDocumentPdfRaw(e){if(null===e.apiDocumentRequest||void 0===e.apiDocumentRequest)throw new i.Q0("apiDocumentRequest","Required parameter requestParameters.apiDocumentRequest was null or undefined when calling getDocumentPdf.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/document/getPdf",method:"POST",headers:t,query:{},body:(0,O.dB)(e.apiDocumentRequest)});return new i.Fo(a)}async getDocumentPdf(e){let t=await this.getDocumentPdfRaw({apiDocumentRequest:e});return await t.value()}async getDocumentUsingSubTypeRaw(e){if(null===e.bookingNumber||void 0===e.bookingNumber)throw new i.Q0("bookingNumber","Required parameter requestParameters.bookingNumber was null or undefined when calling getDocumentUsingSubType.");if(null===e.documentId||void 0===e.documentId)throw new i.Q0("documentId","Required parameter requestParameters.documentId was null or undefined when calling getDocumentUsingSubType.");if(null===e.documentType||void 0===e.documentType)throw new i.Q0("documentType","Required parameter requestParameters.documentType was null or undefined when calling getDocumentUsingSubType.");if(null===e.documentSubType||void 0===e.documentSubType)throw new i.Q0("documentSubType","Required parameter requestParameters.documentSubType was null or undefined when calling getDocumentUsingSubType.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/document/{bookingNumber}/{documentId}/{documentType}/{documentSubType}".replace("{bookingNumber}",encodeURIComponent(String(e.bookingNumber))).replace("{documentId}",encodeURIComponent(String(e.documentId))).replace("{documentType}",encodeURIComponent(String(e.documentType))).replace("{documentSubType}",encodeURIComponent(String(e.documentSubType))),method:"GET",headers:t,query:{}});return new i.Fo(a)}async getDocumentUsingSubType(e,t,a,i){let n=await this.getDocumentUsingSubTypeRaw({bookingNumber:e,documentId:t,documentType:a,documentSubType:i});return await n.value()}async getDocumentUsingSubTypeAndFileNameRaw(e){if(null===e.bookingNumber||void 0===e.bookingNumber)throw new i.Q0("bookingNumber","Required parameter requestParameters.bookingNumber was null or undefined when calling getDocumentUsingSubTypeAndFileName.");if(null===e.documentId||void 0===e.documentId)throw new i.Q0("documentId","Required parameter requestParameters.documentId was null or undefined when calling getDocumentUsingSubTypeAndFileName.");if(null===e.documentType||void 0===e.documentType)throw new i.Q0("documentType","Required parameter requestParameters.documentType was null or undefined when calling getDocumentUsingSubTypeAndFileName.");if(null===e.documentSubType||void 0===e.documentSubType)throw new i.Q0("documentSubType","Required parameter requestParameters.documentSubType was null or undefined when calling getDocumentUsingSubTypeAndFileName.");if(null===e.documentFileName||void 0===e.documentFileName)throw new i.Q0("documentFileName","Required parameter requestParameters.documentFileName was null or undefined when calling getDocumentUsingSubTypeAndFileName.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/document/{bookingNumber}/{documentId}/{documentType}/{documentSubType}/{documentFileName}".replace("{bookingNumber}",encodeURIComponent(String(e.bookingNumber))).replace("{documentId}",encodeURIComponent(String(e.documentId))).replace("{documentType}",encodeURIComponent(String(e.documentType))).replace("{documentSubType}",encodeURIComponent(String(e.documentSubType))).replace("{documentFileName}",encodeURIComponent(String(e.documentFileName))),method:"GET",headers:t,query:{}});return new i.Fo(a)}async getDocumentUsingSubTypeAndFileName(e,t,a,i,n){let o=await this.getDocumentUsingSubTypeAndFileNameRaw({bookingNumber:e,documentId:t,documentType:a,documentSubType:i,documentFileName:n});return await o.value()}async getExternalBookingRaw(e){if(null===e.systemCode||void 0===e.systemCode)throw new i.Q0("systemCode","Required parameter requestParameters.systemCode was null or undefined when calling getExternalBooking.");if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling getExternalBooking.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/external/{systemCode}/{bookingId}".replace("{systemCode}",encodeURIComponent(String(e.systemCode))).replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,f.qQ)(e))}async getExternalBooking(e,t){let a=await this.getExternalBookingRaw({systemCode:e,bookingId:t});return await a.value()}async getExtraServiceDetailsRaw(e){if(null===e.apiGetExtraServiceRequest||void 0===e.apiGetExtraServiceRequest)throw new i.Q0("apiGetExtraServiceRequest","Required parameter requestParameters.apiGetExtraServiceRequest was null or undefined when calling getExtraServiceDetails.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/extra/details",method:"POST",headers:t,query:{},body:(0,ed.pS)(e.apiGetExtraServiceRequest,!1)});return new i.ko(a,e=>(0,eh.RM)(e))}async getExtraServiceDetails(e){let t=await this.getExtraServiceDetailsRaw({apiGetExtraServiceRequest:e});return await t.value()}async getExtraServiceListRaw(e){if(null===e.apiGetExtraServiceListRequest||void 0===e.apiGetExtraServiceListRequest)throw new i.Q0("apiGetExtraServiceListRequest","Required parameter requestParameters.apiGetExtraServiceListRequest was null or undefined when calling getExtraServiceList.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/extra/list",method:"POST",headers:t,query:{},body:(0,ec.Jc)(e.apiGetExtraServiceListRequest,!1)});return new i.ko(a,e=>(0,ep.DN)(e))}async getExtraServiceList(e){let t=await this.getExtraServiceListRaw({apiGetExtraServiceListRequest:e});return await t.value()}async getFlightAlternativesRaw(e){if(null===e.apiPackageModel||void 0===e.apiPackageModel)throw new i.Q0("apiPackageModel","Required parameter requestParameters.apiPackageModel was null or undefined when calling getFlightAlternatives.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/getFlightAlternatives",method:"POST",headers:t,query:{},body:(0,tb.Qt)(e.apiPackageModel,!1)});return new i.ko(a,e=>e.map(V.Ql))}async getFlightAlternatives(e){let t=await this.getFlightAlternativesRaw({apiPackageModel:e});return await t.value()}async getFlightDetailsRaw(e){if(null===e.apiPackageModel||void 0===e.apiPackageModel)throw new i.Q0("apiPackageModel","Required parameter requestParameters.apiPackageModel was null or undefined when calling getFlightDetails.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/getFlightDetails",method:"POST",headers:t,query:{},body:(0,tb.Qt)(e.apiPackageModel,!1)});return new i.ko(a,e=>(0,V.Ql)(e))}async getFlightDetails(e){let t=await this.getFlightDetailsRaw({apiPackageModel:e});return await t.value()}async getFlightListRaw(e){if(null===e.apiGetFlightListRequest||void 0===e.apiGetFlightListRequest)throw new i.Q0("apiGetFlightListRequest","Required parameter requestParameters.apiGetFlightListRequest was null or undefined when calling getFlightList.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/getFlightList",method:"POST",headers:t,query:{},body:(0,eg.yX)(e.apiGetFlightListRequest)});return new i.ko(a,e=>(0,ew.it)(e))}async getFlightList(e){let t=await this.getFlightListRaw({apiGetFlightListRequest:e});return await t.value()}async getFlightTripBookingResponseRaw(e){if(null===e.uuid||void 0===e.uuid)throw new i.Q0("uuid","Required parameter requestParameters.uuid was null or undefined when calling getFlightTripBookingResponse.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/flighttrip/get/{uuid}".replace("{uuid}",encodeURIComponent(String(e.uuid))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,ey.uV)(e))}async getFlightTripBookingResponse(e){let t=await this.getFlightTripBookingResponseRaw({uuid:e});return await t.value()}async getGeoUnitRulesRaw(e){if(null===e.apiGetGeoUnitRulesRequest||void 0===e.apiGetGeoUnitRulesRequest)throw new i.Q0("apiGetGeoUnitRulesRequest","Required parameter requestParameters.apiGetGeoUnitRulesRequest was null or undefined when calling getGeoUnitRules.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/getGeoUnitRules",method:"POST",headers:t,query:{},body:(0,eq.m$)(e.apiGetGeoUnitRulesRequest)});return new i.ko(a,e=>(0,eI.yp)(e))}async getGeoUnitRules(e){let t=await this.getGeoUnitRulesRaw({apiGetGeoUnitRulesRequest:e});return await t.value()}async getGeoUnitsRaw(e){if(null===e.apiGetGeoUnitsRequest||void 0===e.apiGetGeoUnitsRequest)throw new i.Q0("apiGetGeoUnitsRequest","Required parameter requestParameters.apiGetGeoUnitsRequest was null or undefined when calling getGeoUnits.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/getGeoUnits",method:"POST",headers:t,query:{},body:(0,ef.E7)(e.apiGetGeoUnitsRequest,!1)});return new i.ko(a,e=>(0,ek.O4)(e))}async getGeoUnits(e){let t=await this.getGeoUnitsRaw({apiGetGeoUnitsRequest:e});return await t.value()}async getGroupedHotelPricesRaw(e){if(null===e.apiGetGroupedHotelPricesRequest||void 0===e.apiGetGroupedHotelPricesRequest)throw new i.Q0("apiGetGroupedHotelPricesRequest","Required parameter requestParameters.apiGetGroupedHotelPricesRequest was null or undefined when calling getGroupedHotelPrices.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/fastsearch/getGroupedHotelPrices",method:"POST",headers:t,query:{},body:(0,ev.ux)(e.apiGetGroupedHotelPricesRequest)});return new i.ko(a,e=>(0,eC.k)(e))}async getGroupedHotelPrices(e){let t=await this.getGroupedHotelPricesRaw({apiGetGroupedHotelPricesRequest:e});return await t.value()}async getHealthPingRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/health/ping",method:"GET",headers:e,query:{}});return new i.cK(t)}async getHealthPing(){await this.getHealthPingRaw()}async getHotelCharacteristicsRaw(e){if(null===e.languageCode||void 0===e.languageCode)throw new i.Q0("languageCode","Required parameter requestParameters.languageCode was null or undefined when calling getHotelCharacteristics.");let t={};void 0!==e.languageCode&&null!==e.languageCode&&(t.languageCode=String(e.languageCode)),this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/fastsearch/getHotelCharacteristics",method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,eb.Q5)(e))}async getHotelCharacteristics(e){let t=await this.getHotelCharacteristicsRaw({languageCode:e});return await t.value()}async getHotelDetailsRaw(e){if(null===e.apiGetHotelDetailsRequest||void 0===e.apiGetHotelDetailsRequest)throw new i.Q0("apiGetHotelDetailsRequest","Required parameter requestParameters.apiGetHotelDetailsRequest was null or undefined when calling getHotelDetails.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/hotel/details",method:"POST",headers:t,query:{},body:(0,eB.kT)(e.apiGetHotelDetailsRequest,!1)});return new i.ko(a,e=>(0,eA.sf)(e))}async getHotelDetails(e){let t=await this.getHotelDetailsRaw({apiGetHotelDetailsRequest:e});return await t.value()}async getHotelListRaw(e){if(null===e.apiGetHotelListRequest||void 0===e.apiGetHotelListRequest)throw new i.Q0("apiGetHotelListRequest","Required parameter requestParameters.apiGetHotelListRequest was null or undefined when calling getHotelList.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/hotel/list",method:"POST",headers:t,query:{},body:(0,eT.yQ)(e.apiGetHotelListRequest,!1)});return new i.ko(a,e=>(0,eS.Er)(e))}async getHotelList(e){let t=await this.getHotelListRaw({apiGetHotelListRequest:e});return await t.value()}async getHotelPriceCurveRaw(e){if(null===e.apiGetHotelPriceCurveRequest||void 0===e.apiGetHotelPriceCurveRequest)throw new i.Q0("apiGetHotelPriceCurveRequest","Required parameter requestParameters.apiGetHotelPriceCurveRequest was null or undefined when calling getHotelPriceCurve.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/fastsearch/getHotelPriceCurve",method:"POST",headers:t,query:{},body:(0,eE.OO)(e.apiGetHotelPriceCurveRequest)});return new i.ko(a,e=>(0,eG.qW)(e))}async getHotelPriceCurve(e){let t=await this.getHotelPriceCurveRaw({apiGetHotelPriceCurveRequest:e});return await t.value()}async getHotelsByTaretRaw(e){if(null===e.apiGetHotelsByTargetRequest||void 0===e.apiGetHotelsByTargetRequest)throw new i.Q0("apiGetHotelsByTargetRequest","Required parameter requestParameters.apiGetHotelsByTargetRequest was null or undefined when calling getHotelsByTaret.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/fastsearch/getHotelsByTaret",method:"POST",headers:t,query:{},body:(0,eK.FP)(e.apiGetHotelsByTargetRequest)});return new i.ko(a,e=>(0,ez.hB)(e))}async getHotelsByTaret(e){let t=await this.getHotelsByTaretRaw({apiGetHotelsByTargetRequest:e});return await t.value()}async getInsuranceDetailsRaw(e){if(null===e.apiGetInsuranceDetailsRequest||void 0===e.apiGetInsuranceDetailsRequest)throw new i.Q0("apiGetInsuranceDetailsRequest","Required parameter requestParameters.apiGetInsuranceDetailsRequest was null or undefined when calling getInsuranceDetails.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));
1let a=await this.request({path:"/insurance/details",method:"POST",headers:t,query:{},body:(0,eX._5)(e.apiGetInsuranceDetailsRequest)});return new i.ko(a,e=>(0,eQ.YA)(e))}async getInsuranceDetails(e){let t=await this.getInsuranceDetailsRaw({apiGetInsuranceDetailsRequest:e});return await t.value()}async getInsuranceListRaw(e){if(null===e.apiGetInsuranceListRequest||void 0===e.apiGetInsuranceListRequest)throw new i.Q0("apiGetInsuranceListRequest","Required parameter requestParameters.apiGetInsuranceListRequest was null or undefined when calling getInsuranceList.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/insurance/list",method:"POST",headers:t,query:{},body:(0,eD.EU)(e.apiGetInsuranceListRequest,!1)});return new i.ko(a,e=>(0,eU.wW)(e))}async getInsuranceList(e){let t=await this.getInsuranceListRaw({apiGetInsuranceListRequest:e});return await t.value()}async getInventoriesByItemTypeRaw(e){if(null===e.type||void 0===e.type)throw new i.Q0("type","Required parameter requestParameters.type was null or undefined when calling getInventoriesByItemType.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/vacancyConfiguration/getInvetoriesByItemType/{type}".replace("{type}",encodeURIComponent(String(e.type))),method:"GET",headers:t,query:{}});return new i.ko(a)}async getInventoriesByItemType(e){let t=await this.getInventoriesByItemTypeRaw({type:e});return await t.value()}async getIpGeolocationRaw(){let e=await this.request({path:"/location/getIpGeolocation",method:"GET",headers:{},query:{}});return new i.ko(e,e=>(0,tR.kg)(e))}async getIpGeolocation(){let e=await this.getIpGeolocationRaw();return await e.value()}async getItemTripDetailsRaw(e){if(null===e.apiGetItemTripRequest||void 0===e.apiGetItemTripRequest)throw new i.Q0("apiGetItemTripRequest","Required parameter requestParameters.apiGetItemTripRequest was null or undefined when calling getItemTripDetails.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/tripitem/details",method:"POST",headers:t,query:{},body:(0,ej.EF)(e.apiGetItemTripRequest)});return new i.ko(a,e=>(0,eF.C2)(e))}async getItemTripDetails(e){let t=await this.getItemTripDetailsRaw({apiGetItemTripRequest:e});return await t.value()}async getItemTripListRaw(e){if(null===e.apiGetItemTripListRequest||void 0===e.apiGetItemTripListRequest)throw new i.Q0("apiGetItemTripListRequest","Required parameter requestParameters.apiGetItemTripListRequest was null or undefined when calling getItemTripList.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/tripitem/list",method:"POST",headers:t,query:{},body:(0,eO.YF)(e.apiGetItemTripListRequest)});return new i.ko(a,e=>(0,eL.C4)(e))}async getItemTripList(e){let t=await this.getItemTripListRaw({apiGetItemTripListRequest:e});return await t.value()}async getLocationRelationsRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/masterdata/location/relations",method:"GET",headers:e,query:{}});return new i.ko(t,e=>(0,eN.SR)(e))}async getLocationRelations(){let e=await this.getLocationRelationsRaw();return await e.value()}async getOfferListRaw(e){if(null===e.apiGetOfferListRequest||void 0===e.apiGetOfferListRequest)throw new i.Q0("apiGetOfferListRequest","Required parameter requestParameters.apiGetOfferListRequest was null or undefined when calling getOfferList.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/offer/list",method:"POST",headers:t,query:{},body:(0,eV.KG)(e.apiGetOfferListRequest)});return new i.ko(a,e=>(0,ex.q_)(e))}async getOfferList(e){let t=await this.getOfferListRaw({apiGetOfferListRequest:e});return await t.value()}async getOriginAirportsRaw(e){if(null===e.apiGetGeoUnitsRequest||void 0===e.apiGetGeoUnitsRequest)throw new i.Q0("apiGetGeoUnitsRequest","Required parameter requestParameters.apiGetGeoUnitsRequest was null or undefined when calling getOriginAirports.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/getOriginAirports",method:"POST",headers:t,query:{},body:(0,ef.E7)(e.apiGetGeoUnitsRequest,!1)});return new i.ko(a,e=>(0,ek.O4)(e))}async getOriginAirports(e){let t=await this.getOriginAirportsRaw({apiGetGeoUnitsRequest:e});return await t.value()}async getOverlaySeatMapRaw(e){if(null===e.apiOverlaySeatMapRequest||void 0===e.apiOverlaySeatMapRequest)throw new i.Q0("apiOverlaySeatMapRequest","Required parameter requestParameters.apiOverlaySeatMapRequest was null or undefined when calling getOverlaySeatMap.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/overlayseatmap/getOverlaySeatMap",method:"POST",headers:t,query:{},body:(0,tv.rG)(e.apiOverlaySeatMapRequest)});return new i.ko(a,e=>(0,tC.BJ)(e))}async getOverlaySeatMap(e){let t=await this.getOverlaySeatMapRaw({apiOverlaySeatMapRequest:e});return await t.value()}async getOverlaySeatMapGraphicRaw(e){if(null===e.seatMapPatternCode||void 0===e.seatMapPatternCode)throw new i.Q0("seatMapPatternCode","Required parameter requestParameters.seatMapPatternCode was null or undefined when calling getOverlaySeatMapGraphic.");
1if(null===e.sessionId||void 0===e.sessionId)throw new i.Q0("sessionId","Required parameter requestParameters.sessionId was null or undefined when calling getOverlaySeatMapGraphic.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/overlayseatmap/getOverlaySeatMapGraphic/{seatMapPatternCode}/{sessionId}".replace("{seatMapPatternCode}",encodeURIComponent(String(e.seatMapPatternCode))).replace("{sessionId}",encodeURIComponent(String(e.sessionId))),method:"GET",headers:t,query:{}});return new i.Fo(a)}async getOverlaySeatMapGraphic(e,t){let a=await this.getOverlaySeatMapGraphicRaw({seatMapPatternCode:e,sessionId:t});return await a.value()}async getPackageAvailabilityRaw(e){if(null===e.apiGetPackagesRequest||void 0===e.apiGetPackagesRequest)throw new i.Q0("apiGetPackagesRequest","Required parameter requestParameters.apiGetPackagesRequest was null or undefined when calling getPackageAvailability.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/availability",method:"POST",headers:t,query:{},body:(0,eJ.pO)(e.apiGetPackagesRequest)});return new i.ko(a,e=>(0,eY.Jw)(e))}async getPackageAvailability(e){let t=await this.getPackageAvailabilityRaw({apiGetPackagesRequest:e});return await t.value()}async getPackageComponentsRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/components",method:"POST",headers:t,query:{},body:(0,eH.iW)(e.apiGetPackageComponentsRQ)});return new i.ko(a,e=>(0,e_.Kx)(e))}async getPackageComponents(e){let t=await this.getPackageComponentsRaw({apiGetPackageComponentsRQ:e});return await t.value()}async getPackagesDefinitionsRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/packages/definitions",method:"GET",headers:e,query:{}});return new i.ko(t,e=>e.map(tB.rj))}async getPackagesDefinitions(){let e=await this.getPackagesDefinitionsRaw();return await e.value()}async getPackagesDefinitionsByCodesRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/definitionsByCodes",method:"POST",headers:t,query:{},body:(0,eW.oU)(e.apiGetPackageDefinitionByCodesRequest)});return new i.ko(a,e=>e.map(tB.rj))}async getPackagesDefinitionsByCodes(e){let t=await this.getPackagesDefinitionsByCodesRaw({apiGetPackageDefinitionByCodesRequest:e});return await t.value()}async getPasswordComplexityRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/authentication/passwordComplexity",method:"GET",headers:e,query:{}});return new i.ko(t,e=>(0,e$.vV)(e))}async getPasswordComplexity(){let e=await this.getPasswordComplexityRaw();return await e.value()}async getPaxRoomAssignmentsRaw(e){if(null===e.apiGetPaxRoomAssignmentRequest||void 0===e.apiGetPaxRoomAssignmentRequest)throw new i.Q0("apiGetPaxRoomAssignmentRequest","Required parameter requestParameters.apiGetPaxRoomAssignmentRequest was null or undefined when calling getPaxRoomAssignments.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/bestprice/paxRoomAssignments",method:"POST",headers:t,query:{},body:(0,eZ.R_)(e.apiGetPaxRoomAssignmentRequest)});return new i.ko(a,e=>(0,e0.DV)(e))}async getPaxRoomAssignments(e){let t=await this.getPaxRoomAssignmentsRaw({apiGetPaxRoomAssignmentRequest:e});return await t.value()}async getPaymentOptionsRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling getPaymentOptions.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/paymentOptions/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,e6.uS)(e))}async getPaymentOptions(e){let t=await this.getPaymentOptionsRaw({bookingId:e});return await t.value()}async getPostalCodesRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/getPostalCodes",method:"POST",headers:t,query:{},body:(0,e1.GJ)(e.apiGetPostalCodeRequest)});return new i.ko(a,e=>(0,e7.As)(e))}async getPostalCodes(e){let t=await this.getPostalCodesRaw({apiGetPostalCodeRequest:e});return await t.value()}async getProductsListRaw(e){if(null===e.apiProductsCacheRequest||void 0===e.apiProductsCacheRequest)throw new i.Q0("apiProductsCacheRequest","Required parameter requestParameters.apiProductsCacheRequest was null or undefined when calling getProductsList.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/products/productsCache",method:"POST",headers:t,query:{},body:(0,tE.MI)(e.apiProductsCacheRequest)});return new i.ko(a,e=>
1e.map(tG.kI))}async getProductsList(e){let t=await this.getProductsListRaw({apiProductsCacheRequest:e});return await t.value()}async getRecommendationsRaw(e){if(null===e.apiGetRecommendationsRequest||void 0===e.apiGetRecommendationsRequest)throw new i.Q0("apiGetRecommendationsRequest","Required parameter requestParameters.apiGetRecommendationsRequest was null or undefined when calling getRecommendations.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelTailor/getRecommendations",method:"POST",headers:t,query:{},body:(0,e4.mv)(e.apiGetRecommendationsRequest)});return new i.ko(a,e=>(0,e2.ij)(e))}async getRecommendations(e){let t=await this.getRecommendationsRaw({apiGetRecommendationsRequest:e});return await t.value()}async getRentalCarListRaw(e){if(null===e.apiGetRentalCarListRequest||void 0===e.apiGetRentalCarListRequest)throw new i.Q0("apiGetRentalCarListRequest","Required parameter requestParameters.apiGetRentalCarListRequest was null or undefined when calling getRentalCarList.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/rentalCar/list",method:"POST",headers:t,query:{},body:(0,e8.wo)(e.apiGetRentalCarListRequest,!1)});return new i.ko(a,e=>(0,e5.oi)(e))}async getRentalCarList(e){let t=await this.getRentalCarListRaw({apiGetRentalCarListRequest:e});return await t.value()}async getRentalCarOfficesRaw(e){if(null===e.apiRentalCarOfficesRequest||void 0===e.apiRentalCarOfficesRequest)throw new i.Q0("apiRentalCarOfficesRequest","Required parameter requestParameters.apiRentalCarOfficesRequest was null or undefined when calling getRentalCarOffices.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/getRentalCarOffices",method:"POST",headers:t,query:{},body:(0,tD.Ft)(e.apiRentalCarOfficesRequest)});return new i.ko(a,e=>(0,tU.Pw)(e))}async getRentalCarOffices(e){let t=await this.getRentalCarOfficesRaw({apiRentalCarOfficesRequest:e});return await t.value()}async getRentalCarTermsAndConditionsRaw(e){if(null===e.apiGetRentalCarTermsAndConditionsRequest||void 0===e.apiGetRentalCarTermsAndConditionsRequest)throw new i.Q0("apiGetRentalCarTermsAndConditionsRequest","Required parameter requestParameters.apiGetRentalCarTermsAndConditionsRequest was null or undefined when calling getRentalCarTermsAndConditions.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/rentalCar/terms",method:"POST",headers:t,query:{},body:(0,ta.CE)(e.apiGetRentalCarTermsAndConditionsRequest)});return new i.ko(a,e=>(0,ti.OO)(e))}async getRentalCarTermsAndConditions(e){let t=await this.getRentalCarTermsAndConditionsRaw({apiGetRentalCarTermsAndConditionsRequest:e});return await t.value()}async getRentalDetailsRaw(e){if(null===e.apiGetRentalCarDetailsRequest||void 0===e.apiGetRentalCarDetailsRequest)throw new i.Q0("apiGetRentalCarDetailsRequest","Required parameter requestParameters.apiGetRentalCarDetailsRequest was null or undefined when calling getRentalDetails.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/rentalCar/details",method:"POST",headers:t,query:{},body:(0,e9.mH)(e.apiGetRentalCarDetailsRequest,!1)});return new i.ko(a,e=>(0,e3.KZ)(e))}async getRentalDetails(e){let t=await this.getRentalDetailsRaw({apiGetRentalCarDetailsRequest:e});return await t.value()}async getRentalStationsRaw(e){if(null===e.apiGetRentalCarStationsRequest||void 0===e.apiGetRentalCarStationsRequest)throw new i.Q0("apiGetRentalCarStationsRequest","Required parameter requestParameters.apiGetRentalCarStationsRequest was null or undefined when calling getRentalStations.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/getRentalCarStations",method:"POST",headers:t,query:{},body:(0,te.px)(e.apiGetRentalCarStationsRequest)});return new i.ko(a,e=>(0,tt.Xo)(e))}async getRentalStations(e){let t=await this.getRentalStationsRaw({apiGetRentalCarStationsRequest:e});return await t.value()}async getRoomAlternativesRaw(e){if(null===e.apiPackageModel||void 0===e.apiPackageModel)throw new i.Q0("apiPackageModel","Required parameter requestParameters.apiPackageModel was null or undefined when calling getRoomAlternatives.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/getRoomAlternatives",method:"POST",headers:t,query:{},body:(0,tb.Qt)(e.apiPackageModel,!1)});return new i.ko(a,e=>(0,tm.d4)(e))}async getRoomAlternatives(e){let t=await this.getRoomAlternativesRaw({apiPackageModel:e});return await t.value()}async getSearchSuggestionRaw(e){if(null===e.travelType||void 0===e.travelType)throw new i.Q0("travelType","Required parameter requestParameters.travelType was null or undefined when calling getSearchSuggestion.");
1if(null===e.q||void 0===e.q)throw new i.Q0("q","Required parameter requestParameters.q was null or undefined when calling getSearchSuggestion.");let t={};e.travelType&&(t.travelType=e.travelType.join(i.E6.csv)),void 0!==e.q&&(t.q=e.q);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/search/suggest",method:"GET",headers:a,query:t});return new i.ko(n,e=>e.map(tW.BG))}async getSearchSuggestion(e,t){let a=await this.getSearchSuggestionRaw({travelType:e,q:t});return await a.value()}async getSeasonsRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/seasons/getAll",method:"GET",headers:e,query:{}});return new i.ko(t,e=>e.map(tJ.im))}async getSeasons(){let e=await this.getSeasonsRaw();return await e.value()}async getSeatMapRaw(e){if(null===e.apiGetSeatMapRequest||void 0===e.apiGetSeatMapRequest)throw new i.Q0("apiGetSeatMapRequest","Required parameter requestParameters.apiGetSeatMapRequest was null or undefined when calling getSeatMap.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/seatmap/getSeatMap",method:"POST",headers:t,query:{},body:(0,tn.Fn)(e.apiGetSeatMapRequest)});return new i.ko(a,e=>(0,to.NN)(e))}
1async getSeatMap(e){let t=await this.getSeatMapRaw({apiGetSeatMapRequest:e});return await t.value()}async getSeatMapsRaw(e){if(null===e.apiGetSeatMapsRequest||void 0===e.apiGetSeatMapsRequest)throw new i.Q0("apiGetSeatMapsRequest","Required parameter requestParameters.apiGetSeatMapsRequest was null or undefined when calling getSeatMaps.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/seatmap/getSeatMaps",method:"POST",headers:t,query:{},body:(0,tr._z)(e.apiGetSeatMapsRequest)});return new i.ko(a,e=>(0,ts.eV)(e))}async getSeatMaps(e){let t=await this.getSeatMapsRaw({apiGetSeatMapsRequest:e});return await t.value()}async getServiceDescriptionDataRaw(e){if(null===e.apiGetDescriptionDataRequest||void 0===e.apiGetDescriptionDataRequest)throw new i.Q0("apiGetDescriptionDataRequest","Required parameter requestParameters.apiGetDescriptionDataRequest was null or undefined when calling getServiceDescriptionData.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/descriptionData/service",method:"POST",headers:t,query:{},body:(0,el.YV)(e.apiGetDescriptionDataRequest)});return new i.ko(a,e=>e.map(U.pe))}
1async getServiceDescriptionData(e){let t=await this.getServiceDescriptionDataRaw({apiGetDescriptionDataRequest:e});return await t.value()}async getServiceUnitDescriptionDataRaw(e){if(null===e.apiGetDescriptionDataRequest||void 0===e.apiGetDescriptionDataRequest)throw new i.Q0("apiGetDescriptionDataRequest","Required parameter requestParameters.apiGetDescriptionDataRequest was null or undefined when calling getServiceUnitDescriptionData.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/descriptionData/serviceUnit",method:"POST",headers:t,query:{},body:(0,el.YV)(e.apiGetDescriptionDataRequest)});return new i.ko(a,e=>e.map(U.pe))}async getServiceUnitDescriptionData(e){let t=await this.getServiceUnitDescriptionDataRaw({apiGetDescriptionDataRequest:e});return await t.value()}async getSpecialRequestsRaw(e){if(null===e.type||void 0===e.type)throw new i.Q0("type","Required parameter requestParameters.type was null or undefined when calling getSpecialRequests.");let t={};void 0!==e.type&&(t.type=e.type),void 0!==e.serviceId&&(t.serviceId=e.serviceId);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/masterdata/getSpecialRequests",method:"GET",headers:a,query:t});return new i.ko(n,e=>e.map(t6.PH))}
1async getSpecialRequests(e,t){let a=await this.getSpecialRequestsRaw({type:e,serviceId:t});return await a.value()}async getSpecialRequestsRestrictionsRaw(e){let t={};void 0!==e.type&&(t.type=e.type),void 0!==e.serviceId&&(t.serviceId=e.serviceId);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/masterdata/getSpecialRequestsRestrictions",method:"GET",headers:a,query:t});return new i.ko(n,e=>e.map(t1.g9))}async getSpecialRequestsRestrictions(e,t){let a=await this.getSpecialRequestsRestrictionsRaw({type:e,serviceId:t});return await a.value()}async getThemeRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/content/getTheme",method:"GET",headers:e,query:{}});return new i.ko(t,e=>(0,t8.D1)(e))}async getTheme(){let e=await this.getThemeRaw();return await e.value()}async getTicketInWalletRaw(e){if(null===e.bookingNumber||void 0===e.bookingNumber)throw new i.Q0("bookingNumber","Required parameter requestParameters.bookingNumber was null or undefined when calling getTicketInWallet.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/getTicketInWallet/{bookingNumber}".replace("{bookingNumber}",encodeURIComponent(String(e.bookingNumber))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>e.map(t5.G$))}async getTicketInWallet(e){let t=await this.getTicketInWalletRaw({bookingNumber:e});return await t.value()}async getTransferDetailsRaw(e){if(null===e.apiGetTransferDetailsRequest||void 0===e.apiGetTransferDetailsRequest)throw new i.Q0("apiGetTransferDetailsRequest","Required parameter requestParameters.apiGetTransferDetailsRequest was null or undefined when calling getTransferDetails.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/transfer/details",method:"POST",headers:t,query:{},body:(0,tu.xI)(e.apiGetTransferDetailsRequest,!1)});return new i.ko(a,e=>(0,tl.Vo)(e))}async getTransferDetails(e){let t=await this.getTransferDetailsRaw({apiGetTransferDetailsRequest:e});return await t.value()}async getTransferListRaw(e){if(null===e.apiGetTransferListRequest||void 0===e.apiGetTransferListRequest)throw new i.Q0("apiGetTransferListRequest","Required parameter requestParameters.apiGetTransferListRequest was null or undefined when calling getTransferList.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/transfer/list",method:"POST",headers:t,query:{},body:(0,tc.ji)(e.apiGetTransferListRequest,!1)});return new i.ko(a,e=>(0,tp.Vz)(e))}async getTransferList(e){let t=await this.getTransferListRaw({apiGetTransferListRequest:e});return await t.value()}async getTravelAdvicesRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/getTravelAdvices",method:"GET",headers:e,query:{}});return new i.ko(t,e=>(0,at.GB)(e))}async getTravelAdvices(){let e=await this.getTravelAdvicesRaw();return await e.value()}async getTravelAdvicesPassSolutionRaw(e){if(null===e.apiTravelAdviceRequest||void 0===e.apiTravelAdviceRequest)throw new i.Q0("apiTravelAdviceRequest","Required parameter requestParameters.apiTravelAdviceRequest was null or undefined when calling getTravelAdvicesPassSolution.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/getTravelAdvices",method:"POST",headers:t,query:{},body:(0,ae.aP)(e.apiTravelAdviceRequest)});return new i.ko(a,e=>(0,at.GB)(e))}async getTravelAdvicesPassSolution(e){let t=await this.getTravelAdvicesPassSolutionRaw({apiTravelAdviceRequest:e});return await t.value()}async getTravelerAccountRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/travelerAccount",method:"GET",headers:e,query:{}});return new i.ko(t,e=>(0,ai.N_)(e))}async getTravelerAccount(){let e=await this.getTravelerAccountRaw();return await e.value()}async getUnitCharacteristicsRaw(e){if(null===e.apiGetUnitCharacteristicsRequest||void 0===e.apiGetUnitCharacteristicsRequest)throw new i.Q0("apiGetUnitCharacteristicsRequest","Required parameter requestParameters.apiGetUnitCharacteristicsRequest was null or undefined when calling getUnitCharacteristics.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/hotel/getUnitCharacteristics",method:"POST",headers:t,query:{},body:(0,td.CP)(e.apiGetUnitCharacteristicsRequest)});return new i.ko(a,e=>(0,th.s_)(e))}async getUnitCharacteristics(e){let t=await this.getUnitCharacteristicsRaw({apiGetUnitCharacteristicsRequest:e});return await t.value()}async getUpsellRaw(e){if(null===e.apiGetRecommendationsRequest||void 0===e.apiGetRecommendationsRequest)throw new i.Q0("apiGetRecommendationsRequest","Required parameter requestParameters.apiGetRecommendationsRequest was null or undefined when calling getUpsell.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelTailor/getUpsell",method:"POST",headers:t,query:{},body:(0,e4.mv)(e.apiGetRecommendationsRequest)});return new i.ko(a,e=>(0,e2.ij)(e))}async getUpsell(e){let t=await this.getUpsellRaw({apiGetRecommendationsRequest:e});return await t.value()}async getVoucherDetailsRaw(e){if(null===e.apiGetExtraServiceRequest||void 0===e.apiGetExtraServiceRequest)throw new i.Q0("apiGetExtraServiceRequest","Required parameter requestParameters.apiGetExtraServiceRequest was null or undefined when calling getVoucherDetails.");let t={};void 0!==e.noCache&&(t.noCache=e.noCache);let a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/voucher/getVoucherDetails",method:"POST",headers:a,query:t,body:(0,ed.pS)(e.apiGetExtraServiceRequest,!1)});return new i.ko(n,e=>(0,ap.$9)(e))}async getVoucherDetails(e,t){let a=await this.getVoucherDetailsRaw({apiGetExtraServiceRequest:e,noCache:t});return await a.value()}async getVoucherValueRaw(e){if(null===e.apiGetVoucherValueRequest||void 0===e.apiGetVoucherValueRequest)throw new i.Q0("apiGetVoucherValueRequest","Required parameter requestParameters.apiGetVoucherValueRequest was null or undefined when calling getVoucherValue.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/getVoucherValue",method:"POST",headers:t,query:{},body:(0,tg.t7)(e.apiGetVoucherValueRequest)});return new i.ko(a,e=>(0,tw.fo)(e))}async getVoucherValue(e){let t=await this.getVoucherValueRaw({apiGetVoucherValueRequest:e});return await t.value()}async getVouchersRaw(e){if(null===e.apiGetExtraServiceListRequest||void 0===e.apiGetExtraServiceListRequest)throw new i.Q0("apiGetExtraServiceListRequest","Required parameter requestParameters.apiGetExtraServiceListRequest was null or undefined when calling getVouchers.");let t={};void 0!==e.noCache&&(t.noCache=e.noCache);let a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/voucher/getVouchers",method:"POST",headers:a,query:t,body:(0,ec.Jc)(e.apiGetExtraServiceListRequest,!1)});return new i.ko(n,e=>(0,ah.Ve)(e))}async getVouchers(e,t){let a=await this.getVouchersRaw({apiGetExtraServiceListRequest:e,noCache:t});return await a.value()}async initBookingRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/init",method:"POST",headers:t,query:{},body:(0,v.p4)(e.apiBookingInitRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async initBooking(e){let t=await this.initBookingRaw({apiBookingInitRequest:e});return await t.value()}async initFlightTripBookingRaw(e){if(null===e.packageId||void 0===e.packageId)throw new i.Q0("packageId","Required parameter requestParameters.packageId was null or undefined when calling initFlightTripBooking.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/flighttrip/init/{packageId}".replace("{packageId}",encodeURIComponent(String(e.packageId))),method:"POST",headers:t,query:{}});return new i.ko(a,e=>(0,ey.uV)(e))}async initFlightTripBooking(e){let t=await this.initFlightTripBookingRaw({packageId:e});return await t.value()}async itemsRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/items",method:"POST",headers:t,query:{},body:(0,q.zE)(e.apiBaseModel,!1)});return new i.ko(a,e=>e.map(q.PJ))}async items(e){let t=await this.itemsRaw({apiBaseModel:e});return await t.value()}async loadRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling load.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>(0,tP.tu)(e))}async load(e){let t=await this.loadRaw({packageCartId:e});return await t.value()}async loadStepRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/loadStep",method:"POST",headers:t,query:{},body:(0,aq.HH)(e.apiWorkflowStepRequest)});return new i.ko(a,e=>(0,aI.NS)(e))}async loadStep(e){let t=await this.loadStepRaw({apiWorkflowStepRequest:e});return await t.value()}async logoutRaw(){let e=await this.request({path:"/authentication/logout",method:"POST",headers:{},query:{}});return new i.cK(e)}async logout(){await this.logoutRaw()}async newsletterSignupRaw(e){if(null===e.apiSignupRequest||void 0===e.apiSignupRequest)throw new i.Q0("apiSignupRequest","Required parameter requestParameters.apiSignupRequest was null or undefined when calling newsletterSignup.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/newsletter/signup",method:"POST",headers:t,query:{},body:(0,t0.Yg)(e.apiSignupRequest)});return new i.Pf(a)}async newsletterSignup(e){let t=await this.newsletterSignupRaw({apiSignupRequest:e});return await t.value()}async newsletterStatusRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/travelerAccount/newsletter/status",method:"GET",headers:e,query:{}});return new i.Pf(t)}async newsletterStatus(){let e=await this.newsletterStatusRaw();return await e.value()}async newsletterSubscribeRaw(e){if(null===e.apiNewsletterSubscriptionRequest||void 0===e.apiNewsletterSubscriptionRequest)throw new i.Q0("apiNewsletterSubscriptionRequest","Required parameter requestParameters.apiNewsletterSubscriptionRequest was null or undefined when calling newsletterSubscribe.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelerAccount/newsletter/subscribe",method:"POST",headers:t,query:{},body:(0,tf.ui)(e.apiNewsletterSubscriptionRequest)});return new i.Pf(a)}async newsletterSubscribe(e){let t=await this.newsletterSubscribeRaw({apiNewsletterSubscriptionRequest:e});return await t.value()}async newsletterSubscriptionRaw(e){if(null===e.apiNewsletterSubscriptionRequest||void 0===e.apiNewsletterSubscriptionRequest)throw new i.Q0("apiNewsletterSubscriptionRequest","Required parameter requestParameters.apiNewsletterSubscriptionRequest was null or undefined when calling newsletterSubscription.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/newsletterSubscription",method:"POST",headers:t,query:{},body:(0,tf.ui)(e.apiNewsletterSubscriptionRequest)});return new i.cK(a)}async newsletterSubscription(e){await this.newsletterSubscriptionRaw({apiNewsletterSubscriptionRequest:e})}async preparePaymentRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling preparePayment.");if(null===e.apiPreparePaymentRequest||void 0===e.apiPreparePaymentRequest)throw new i.Q0("apiPreparePaymentRequest","Required parameter requestParameters.apiPreparePaymentRequest was null or undefined when calling preparePayment.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/preparePayment/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,tA.dC)(e.apiPreparePaymentRequest)});return new i.Pf(a)}async preparePayment(e,t){let a=await this.preparePaymentRaw({bookingId:e,apiPreparePaymentRequest:t});return await a.value()}async prepareVoucherPaymentRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling prepareVoucherPayment.");if(null===e.apiPreparePaymentRequest||void 0===e.apiPreparePaymentRequest)throw new i.Q0("apiPreparePaymentRequest","Required parameter requestParameters.apiPreparePaymentRequest was null or undefined when calling prepareVoucherPayment.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/voucher/preparePayment/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,tA.dC)(e.apiPreparePaymentRequest)});return new i.Pf(a)}async prepareVoucherPayment(e,t){let a=await this.prepareVoucherPaymentRaw({bookingId:e,apiPreparePaymentRequest:t});return await a.value()}async productReviewsRaw(e){if(null===e.ids||void 0===e.ids)throw new i.Q0("ids","Required parameter requestParameters.ids was null or undefined when calling productReviews.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/productReviews/{ids}".replace("{ids}",encodeURIComponent(String(e.ids))),method:"GET",headers:t,query:{}});return new i.ko(a,e=>e.map(tS.bv))}async productReviews(e){let t=await this.productReviewsRaw({ids:e});return await t.value()}async refreshTokenRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey
1("X-IBE-Authorization"));let t=await this.request({path:"/login/refresh",method:"GET",headers:e,query:{}});return new i.Pf(t)}async refreshToken(){let e=await this.refreshTokenRaw();return await e.value()}async reinitBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling reinitBooking.");let t={};void 0!==e.bookingId&&(t.bookingId=e.bookingId);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/booking/reinit",method:"GET",headers:a,query:t});return new i.ko(n,e=>(0,f.qQ)(e))}async reinitBooking(e){let t=await this.reinitBookingRaw({bookingId:e});return await t.value()}async removeRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling remove.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/remove/{packageCartId}".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))),method:"GET",headers:t,query:{}});return new i.cK(a)}async remove(e){await this.removeRaw({packageCartId:e})}async removeBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling removeBooking.");let t={};void 0!==e.noCache&&(t.noCache=e.noCache);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/booking/remove/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"GET",headers:a,query:t});return new i.cK(n)}async removeBooking(e,t){await this.removeBookingRaw({bookingId:e,noCache:t})}async removeDiscountRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling removeDiscount.");if(null===e.apiRemoveDiscountRequest||void 0===e.apiRemoveDiscountRequest)throw new i.Q0("apiRemoveDiscountRequest","Required parameter requestParameters.apiRemoveDiscountRequest was null or undefined when calling removeDiscount.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/removeDiscount/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,tz.Zg)(e.apiRemoveDiscountRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async removeDiscount(e,t){let a=await this.removeDiscountRaw({bookingId:e,apiRemoveDiscountRequest:t});return await a.value()}async removeItemRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling removeItem.");if(null===e.componentId||void 0===e.componentId)throw new i.Q0("componentId","Required parameter requestParameters.componentId was null or undefined when calling removeItem.");if(null===e.itemId||void 0===e.itemId)throw new i.Q0("itemId","Required parameter requestParameters.itemId was null or undefined when calling removeItem.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/component/{componentId}/remove/{itemId}".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))).replace("{componentId}",encodeURIComponent(String(e.componentId))).replace("{itemId}",encodeURIComponent(String(e.itemId))),method:"DELETE",headers:t,query:{}});return new i.ko(a,e=>(0,tP.tu)(e))}async removeItem(e,t,a){let i=await this.removeItemRaw({packageCartId:e,componentId:t,itemId:a});
1return await i.value()}async removeItemsRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling removeItems.");if(null===e.componentId||void 0===e.componentId)throw new i.Q0("componentId","Required parameter requestParameters.componentId was null or undefined when calling removeItems.");if(null===e.apiRemovePackageItemsRequest||void 0===e.apiRemovePackageItemsRequest)throw new i.Q0("apiRemovePackageItemsRequest","Required parameter requestParameters.apiRemovePackageItemsRequest was null or undefined when calling removeItems.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/component/{componentId}/removeItems".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))).replace("{componentId}",encodeURIComponent(String(e.componentId))),method:"POST",headers:t,query:{},body:(0,tX.Kn)(e.apiRemovePackageItemsRequest)});return new i.ko(a,e=>(0,tP.tu)(e))}async removeItems(e,t,a){let i=await this.removeItemsRaw({packageCartId:e,componentId:t,apiRemovePackageItemsRequest:a});return await i.value()}async removeTravelerRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling removeTraveler.");if(null===e.attempt||void 0===e.attempt)throw new i.Q0("attempt","Required parameter requestParameters.attempt was null or undefined when calling removeTraveler.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/traveler/{attempt}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))).replace("{attempt}",encodeURIComponent(String(e.attempt))),method:"DELETE",headers:t,query:{},body:(0,aa.an)(e.apiTraveler)});return new i.ko(a,e=>(0,f.qQ)(e))}async removeTraveler(e,t,a){let i=await this.removeTravelerRaw({bookingId:e,attempt:t,apiTraveler:a});return await i.value()}async removeVoucherRaw(e){if(null===e.apiGetVoucherValueRequest||void 0===e.apiGetVoucherValueRequest)throw new i.Q0("apiGetVoucherValueRequest","Required parameter requestParameters.apiGetVoucherValueRequest was null or undefined when calling removeVoucher.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/removeVoucher",method:"DELETE",headers:t,query:{},body:(0,tg.t7)(e.apiGetVoucherValueRequest)});return new i.cK(a)}async removeVoucher(e){await this.removeVoucherRaw({apiGetVoucherValueRequest:e})}async replaceItemRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling replaceItem.");if(null===e.componentId||void 0===e.componentId)throw new i.Q0("componentId","Required parameter requestParameters.componentId was null or undefined when calling replaceItem.");if(null===e.addItemId||void 0===e.addItemId)throw new i.Q0("addItemId","Required parameter requestParameters.addItemId w
1as null or undefined when calling replaceItem.");if(null===e.removeItemId||void 0===e.removeItemId)throw new i.Q0("removeItemId","Required parameter requestParameters.removeItemId was null or undefined when calling replaceItem.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/component/{componentId}/replace/{addItemId}/{removeItemId}".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))).replace("{componentId}",encodeURIComponent(String(e.componentId))).replace("{addItemId}",encodeURIComponent(String(e.addItemId))).replace("{removeItemId}",encodeURIComponent(String(e.removeItemId))),method:"POST",headers:t,query:{}});return new i.ko(a,e=>(0,tP.tu)(e))}async replaceItem(e,t,a,i){let n=await this.replaceItemRaw({packageCartId:e,componentId:t,addItemId:a,removeItemId:i});return await n.value()}async resendVerificationEmailRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/travelerAccount/resendVerificationEmail",method:"GET",headers:e,query:{}});return new i.cK(t)}async resendVerificationEmail(){await this.resendVerificationEmailRaw()}async resetAccountPasswordRaw(e){if(null===e.apiResetPasswordRQ||void 0===e.apiResetPasswordRQ)throw new i.Q0("apiResetPasswordRQ","Required parameter requestParameters.apiResetPasswordRQ was null or undefined when calling resetAccountPassword.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelerAccount/resetPassword",method:"POST",headers:t,query:{},body:(0,tL.k9)(e.apiResetPasswordRQ)});return new i.cK(a)}async resetAccountPassword(e){await this.resetAccountPasswordRaw({apiResetPasswordRQ:e})}async resetPasswordRaw(e){if(null===e.apiResetAgencyPasswordRequest||void 0===e.apiResetAgencyPasswordRequest)throw new i.Q0("apiResetAgencyPasswordRequest","Required parameter requestParameters.apiResetAgencyPasswordRequest was null or undefined when calling resetPassword.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/authentication/resetAgencyPassword",method:"POST",headers:t,query:{},body:(0,tO.Xz)(e.apiResetAgencyPasswordRequest)});return new i.cK(a)}async resetPassword(e){await this.resetPasswordRaw({apiResetAgencyPasswordRequest:e})}async retrieveBookingRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/retrieve",method:"POST",headers:t,query:{},body:(0,b.o$)(e.apiBookingSearch)});return new i.ko(a,e=>(0,f.qQ)(e))}async retrieveBooking(e){let t=await this.retrieveBookingRaw({apiBookingSearch:e});return await t.value()}async retrieveBusinessPartnerAsTravelerRaw(e){if(null===e.apiGetBusinessPartnerRequest||void 0===e.apiGetBusinessPartnerRequest)throw new i.Q0("apiGetBusinessPartnerRequest","Required parameter requestParameters.apiGetBusinessPartnerRequest was null or undefined when calling retrieveBusinessPartnerAsTraveler.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/businesspartner/retrieveTraveler",method:"POST",headers:t,query:{},body:(0,ee.ix)(e.apiGetBusinessPartnerRequest)});return new i.ko(a,e=>(0,aa.Ct)(e))}async retrieveBusinessPartnerAsTraveler(e){let t=await this.retrieveBusinessPartnerAsTravelerRaw({apiGetBusinessPartnerRequest:e});return await t.value()}async retrievePackageRaw(e){if(null===e.id||void 0===e.id)throw new i.Q0("id","Required parameter requestParameters.id was null or undefined when calling retrievePackage.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:t,query:{}});return new i.ko(a,e=>(0,tb._c)(e))}async retrievePackage(e){let t=await this.retrievePackageRaw({id:e});return await t.value()}async saveStepRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/saveStep",method:"POST",headers:t,query:{},body:(0,aq.HH)(e.apiWorkflowStepRequest)});return new i.ko(a,e=>(0,aI.NS)(e))}async saveStep(e){let t=await this.saveStepRaw({apiWorkflowStepRequest:e});return await t.value()}async searchBestPricePackageAvailabilityRaw(e){if(null===e.apiGetBestPricePackageAvailabilityRequest||void 0===e.apiGetBestPricePackageAvailabilityRequest)throw new i.Q0("apiGetBestPricePackageAvailabilityRequest","Required parameter requestParameters.apiGetBestPricePackageAvailabilityRequest was null or undefined when calling searchBestPricePackageAvailability.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/bestprice/availability",method:"POST",headers:t,query:{},body:(0,Y.CZ)(e.apiGetBestPricePackageAvailabilityRequest)});return new i.ko(a,e=>(0,$.OR)(e))}async searchBestPricePackageAvailability(e){let t=await this.searchBestPricePackageAvailabilityRaw({apiGetBestPricePackageAvailabilityRequest:e});return await t.value()}async searchBestPricePackagesRaw(e){if(null===e.apiGetPackagesRequest||void 0===e.apiGetPackagesRequest)throw new i.Q0("apiGetPackagesRequest","Required parameter requestParameters.apiGetPackagesRequest was null or undefined when calling searchBestPricePackages.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/bestprice/search",method:"POST",headers:t,query:{},body:(0,eJ.pO)(e.apiGetPackagesRequest)});return new i.ko(a,e=>(0,Z._S)(e))}async searchBestPricePackages(e){let t=await this.searchBestPricePackagesRaw({apiGetPackagesRequest:e});return await t.value()}async searchBookingByTokenRaw(e){if(null===e.bookingToken||void 0===e.bookingToken)throw new i.Q0("bookingToken","Required parameter requestParameters.bookingToken was null or undefined when calling searchBookingByToken.");let t={};void 0!==e.bookingNumber&&(t.bookingNumber=e.bookingNumber);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/booking/searchBookingByToken/{bookingToken}".replace("{bookingToken}",encodeURIComponent(String(e.bookingToken))),method:"GET",headers:a,query:t});return new i.ko(n,e=>(0,f.qQ)(e))}async searchBookingByToken(e,t){let a=await this.searchBookingByTokenRaw({bookingToken:e,bookingNumber:t});return await a.value()}async searchBookingsRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/searchBookings",method:"POST",headers:t,query:{},body:(0,b.o$)(e.apiBookingSearch)});return new i.ko(a,e=>e.map(P.YY))}async searchBookings(e){let t=await this.searchBookingsRaw({apiBookingSearch:e});return await t.value()}async searchCustomerRaw(e){if(null===e.apiCustomerSearchRequest||void 0===e.apiCustomerSearchRequest)throw new i.Q0("apiCustomerSearchRequest","Required parameter requestParameters.apiCustomerSearchRequest was null or undefined when calling searchCustomer.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/customer/search",method:"POST",headers:t,query:{},body:(0,Q.yR)(e.apiCustomerSearchRequest)});return new i.ko(a,e=>e.map(X.z9))}async searchCustomer(e){let t=await this.searchCustomerRaw({apiCustomerSearchRequest:e});return await t.value()}async searchFlightDeparturesRaw(e){if(null===e.apiFlightDepartureRequest||void 0===e.apiFlightDepartureRequest)throw new i.Q0("apiFlightDepartureRequest","Required parameter requestParameters.apiFlightDepartureRequest was null or undefined when calling searchFlightDepartures.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/flight/flightDepartures/fetch",method:"POST",headers:t,query:{},body:(0,F.g0)(e.apiFlightDepartureRequest)});return new i.ko(a,e=>e.map(N.CT))}async searchFlightDepartures(e){let t=await this.searchFlightDeparturesRaw({apiFlightDepartureRequest:e});return await t.value()}async searchFlightTripPackagesRaw(e){if(null===e.apiGetFlightTripPackageRequest||void 0===e.apiGetFlightTripPackageRequest)throw new i.Q0("apiGetFlightTripPackageRequest","Required parameter requestParameters.apiGetFlightTripPackageRequest was null or undefined when calling searchFlightTripPackages.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/flighttrip/search",method:"POST",headers:t,query:{},body:(0,em.J4)(e.apiGetFlightTripPackageRequest)});return new i.ko(a,e=>(0,Z._S)(e))}async searchFlightTripPackages(e){let t=await this.searchFlightTripPackagesRaw({apiGetFlightTripPackageRequest:e});return await t.value()}async searchGeoUnitsRaw(e){if(null===e.apiSearchGeoUnitsRequest||void 0===e.apiSearchGeoUnitsRequest)throw new i.Q0("apiSearchGeoUnitsRequest","Required parameter requestParameters.apiSearchGeoUnitsRequest was null or undefined when calling searchGeoUnits.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/masterdata/searchGeoUnits",method:"POST",headers:t,query:{},body:(0,tj.KN)(e.apiSearchGeoUnitsRequest,!1)});return new i.ko(a,e=>(0,tF.uP)(e))}async searchGeoUnits(e){let t=await this.searchGeoUnitsRaw({apiSearchGeoUnitsRequest:e});return await t.value()}async searchGeoUnitsElasticRaw(e){if(null===e.apiSearchGeoUnitsRequest||void 0===e.apiSearchGeoUnitsRequest)throw new i.Q0("apiSearchGeoUnitsRequest","Required parameter requestParameters.apiSearchGeoUnitsRequest was null or undefined when calling searchGeoUnitsElastic.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/search/searchGeoUnits",method:"POST",headers:t,query:{},body:(0,tj.KN)(e.apiSearchGeoUnitsRequest,!1)});return new i.ko(a,e=>(0,tF.uP)(e))}async searchGeoUnitsElastic(e){let t=await this.searchGeoUnitsElasticRaw({apiSearchGeoUnitsRequest:e});return await t.value()}async searchPackagesRaw(e){if(null===e.apiGetPackagesRequest||void 0===e.apiGetPackagesRequest)throw new i.Q0("apiGetPackagesRequest","Required parameter requestParameters.apiGetPackagesRequest was null or undefined when calling searchPackages.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/search",method:"POST",headers:t,query:{},body:(0,eJ.pO)(e.apiGetPackagesRequest)});return new i.ko(a,e=>(0,eY.Jw)(e))}async searchPackages(e){let t=await this.searchPackagesRaw({apiGetPackagesRequest:e});return await t.value()}async searchProductDataRaw(e){if(null===e.apiSearchProductDataRequest||void 0===e.apiSearchProductDataRequest)throw new i.Q0("apiSearchProductDataRequest","Required parameter requestParameters.apiSearchProductDataRequest was null or undefined when calling searchProductData.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/search/searchProductData",method:"POST",headers:t,query:{},body:(0,tx.FJ)(e.apiSearchProductDataRequest)});return new i.ko(a,e=>(0,tM.TG)(e))}async searchProductData(e){let t=await this.searchProductDataRaw({apiSearchProductDataRequest:e});return await t.value()}async searchProductDataByCodeRaw(e){if(null===e.apiSearchProductDataByCodeRequest||void 0===e.apiSearchProductDataByCodeRequest)throw new i.Q0("apiSearchProductDataByCodeRequest","Required parameter requestParameters.apiSearchProductDataByCodeRequest was null or undefined when calling searchProductDataByCode.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/search/searchProductDataByCode",method:"POST",headers:t,query:{},body:(0,tN.XK)(e.apiSearchProductDataByCodeRequest)});return new i.ko(a,e=>(0,tV.R3)(e))}async searchProductDataByCode(e){let t=await this.searchProductDataByCodeRaw({apiSearchProductDataByCodeRequest:e});return await t.value()}async searchProductsRaw(){let e={};this.configuration&&this.configuration.apiKey&&(e["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let t=await this.request({path:"/contentsearch/searchProducts",method:"GET",headers:e,query:{}});return new i.ko(t,e=>(0,tK.QS)(e))}async searchProducts(){let e=await this.searchProductsRaw();return await e.value()}async searchRentalCarStationsRaw(e){if(null===e.apiSearchRentalCarStationsRequest||void 0===e.apiSearchRentalCarStationsRequest)throw new i.Q0("apiSearchRentalCarStationsRequest","Required parameter requestParameters.apiSearchRentalCarStationsRequest was null or undefined when calling searchRentalCarStations.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/search/searchRentalCarStations",method:"POST",headers:t,query:{},body:(0,tH.T5)(e.apiSearchRentalCarStationsRequest)});return new i.ko(a,e=>(0,t_.x6)(e))}async searchRentalCarStations(e){let t=await this.searchRentalCarStationsRaw({apiSearchRentalCarStationsRequest:e});return await t.value()}async searchTravelStartDatesRaw(e){if(null===e.apiFlightTravelStartDateRequest||void 0===e.apiFlightTravelStartDateRequest)throw new i.Q0("apiFlightTravelStartDateRequest","Required parameter requestParameters.apiFlightTravelStartDateRequest was null or undefined when calling searchTravelStartDates.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/flight/travelStartDates/fetch",method:"POST",headers:t,query:{},body:(0,x.Oj)(e.apiFlightTravelStartDateRequest)});return new i.ko(a,e=>(0,M._b)(e))}async searchTravelStartDates(e){let t=await this.searchTravelStartDatesRaw({apiFlightTravelStartDateRequest:e});return await t.value()}async selectItemsRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling selectItems.");if(null===e.componentId||void 0===e.componentId)throw new i.Q0("componentId","Required parameter requestParameters.componentId was null or undefined when calling selectItems.");if(null===e.apiSelectPackageItemsRequest||void 0===e.apiSelectPackageItemsRequest)throw new i.Q0("apiSelectPackageItemsRequest","Required parameter requestParameters.apiSelectPackageItemsRequest was null or undefined when calling selectItems.");let t={};t["Con
1tent-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/component/{componentId}/selectItems".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))).replace("{componentId}",encodeURIComponent(String(e.componentId))),method:"POST",headers:t,query:{},body:(0,tY.cA)(e.apiSelectPackageItemsRequest)});return new i.ko(a,e=>(0,tP.tu)(e))}async selectItems(e,t,a){let i=await this.selectItemsRaw({packageCartId:e,componentId:t,apiSelectPackageItemsRequest:a});return await i.value()}async sendBookingListToCustomerRaw(e){if(null===e.apiSendBookingListRequest||void 0===e.apiSendBookingListRequest)throw new i.Q0("apiSendBookingListRequest","Required parameter requestParameters.apiSendBookingListRequest was null or undefined when calling sendBookingListToCustomer.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/sendBookingListToCustomer",method:"POST",headers:t,query:{},body:(0,t$.d_)(e.apiSendBookingListRequest)});return new i.cK(a)}async sendBookingListToCustomer(e){await this.sendBookingListToCustomerRaw({apiSendBookingListRequest:e})}async sendCancelRequestRaw(e){if(null===e.apiCancelRequest||void 0===e.apiCancelRequest)throw new i.Q0("apiCancelRequest","Required parameter requestParameters.apiCancelRequest was null or undefined when calling sendCancelRequest.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/sendCancelRequest",method:"POST",headers:t,query:{},body:(0,B.W)(e.apiCancelRequest)});return new i.cK(a)}async sendCancelRequest(e){await this.sendCancelRequestRaw({apiCancelRequest:e})}async sendGroupRequestRaw(e){if(null===e.apiGroupRequest||void 0===e.apiGroupRequest)throw new i.Q0("apiGroupRequest","Required parameter requestParameters.apiGroupRequest was null or undefined when calling sendGroupRequest.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/groups/sendGroupRequest",method:"POST",headers:t,query:{},body:(0,ty.$_)(e.apiGroupRequest)});return new i.cK(a)}async sendGroupRequest(e){await this.sendGroupRequestRaw({apiGroupRequest:e})}async sendMessageRaw(e){if(null===e.apiSendEmailMessageRequest||void 0===e.apiSendEmailMessageRequest)throw new i.Q0("apiSendEmailMessageRequest","Required parameter requestParameters.apiSendEmailMessageRequest was null or undefined when calling sendMessage.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/email/sendMessage",method:"POST",headers:t,query:{},body:(0,tZ.dV)(e.apiSendEmailMessageRequest)});return new i.cK(a)}async sendMessage(e){await this.sendMessageRaw({apiSendEmailMessageRequest:e})}async sendTokenForBookingRaw(e){if(null===e.apiBookingLoginRequest||void 0===e.apiBookingLoginRequest)throw new i.Q0("apiBookingLoginRequest","Required parameter requestParameters.apiBookingLoginRequest was null or undefined when calling sendTokenForBooking.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/sendTokenForBooking",method:"POST",headers:t,query:{},body:(0,C.s0)(e.apiBookingLoginRequest)});return new i.cK(a)}async sendTokenForBooking(e){await this.sendTokenForBookingRaw({apiBookingLoginRequest:e})}async setBlockchainWalletRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling setBlockchainWallet.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/setBlockchainWallet/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,I.mp)(e.apiBlockchainWallet)});return new i.cK(a)}async setBlockchainWallet(e,t){await this.setBlockchainWalletRaw({bookingId:e,apiBlockchainWallet:t})}async setSpecialRequestRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling setSpecialRequest.");if(null===e.apiNote||void 0===e.apiNote)throw new i.Q0("apiNote","Required parameter requestParameters.apiNote was null or undefined when calling setSpecialRequest.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/setSpecialRequest".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))),method:"POST",headers:t,query:{},body:(0,tk.jE)(e.apiNote)});return new i.cK(a)}
1async setSpecialRequest(e,t){await this.setSpecialRequestRaw({packageCartId:e,apiNote:t})}async signInTravelerAccountRaw(e){if(null===e.apiAuthenticateRequest||void 0===e.apiAuthenticateRequest)throw new i.Q0("apiAuthenticateRequest","Required parameter requestParameters.apiAuthenticateRequest was null or undefined when calling signInTravelerAccount.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelerAccount/signIn",method:"POST",headers:t,query:{},body:(0,y.fo)(e.apiAuthenticateRequest)});return new i.ko(a,e=>(0,ai.N_)(e))}async signInTravelerAccount(e){let t=await this.signInTravelerAccountRaw({apiAuthenticateRequest:e});return await t.value()}async signOutTravelerAccountRaw(e){let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelerAccount/signOut",method:"POST",headers:t,query:{},body:e.body});return new i.ko(a)}async signOutTravelerAccount(e){let t=await this.signOutTravelerAccountRaw({body:e});return await t.value()}async startRaw(e){if(null===e.packageId||void 0===e.packageId)throw new i.Q0("packageId","Required parameter requestParameters.packageId was null or undefined when calling start.");if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling start.");let t={};void 0!==e.calculatePrices&&(t.calculatePrices=e.calculatePrices),void 0!==e.cartId&&(t.cartId=e.cartId);let a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/packageCart/start/{packageId}/{bookingId}".replace("{packageId}",encodeURIComponent(String(e.packageId))).replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:a,query:t,body:(0,eM.fG)(e.apiGetPackageCartStartOptions)});return new i.ko(n,e=>(0,tP.tu)(e))}async start(e,t,a,i,n){let o=await this.startRaw({packageId:e,bookingId:t,calculatePrices:a,cartId:i,apiGetPackageCartStartOptions:n});return await o.value()}async staticContentRaw(e){if(null===e.apiStaticContentRequest||void 0===e.apiStaticContentRequest)throw new i.Q0("apiStaticContentRequest","Required parameter requestParameters.apiStaticContentRequest was null or undefined when calling staticContent.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/content/getStaticContent",method:"POST",headers:t,query:{},body:(0,t7.bc)(e.apiStaticContentRequest)});return new i.ko(a,e=>(0,t4.Br)(e))}async staticContent(e){let t=await this.staticContentRaw({apiStaticContentRequest:e});return await t.value()}async submitDiscountRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling submitDiscount.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/submitDiscount/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,t2.hw)(e.apiSubmitDiscountRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async submitDiscount(e,t){let a=await this.submitDiscountRaw({bookingId:e,apiSubmitDiscountRequest:t});return await a.value()}async updateAffiliateRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling updateAffiliate.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/updateAffiliate/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,an.Kk)(e.apiUpdateAffiliateRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async updateAffiliate(e,t){let a=await this.updateAffiliateRaw({bookingId:e,apiUpdateAffiliateRequest:t});return await a.value()}async updateBookingRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling updateBooking.");if(null===e.attempt||void 0===e.attempt)throw new i.Q0("attempt","Required parameter requestParameters.attempt was null or undefined when calling updateBooking.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/update/{attempt}".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))).replace("{attempt}",encodeURIComponent(String(e.attempt))),method:"POST",headers:t,query:{}});return new i.ko(a,e=>(0,tP.tu)(e))}async updateBooking(e,t){let a=await this.updateBookingRaw({packageCartId:e,attempt:t});return await a.value()}async updateBookingItemSpecialRequestRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling updateBookingItemSpecialRequest.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/updateBookingItemSpecialRequest/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,ao.oz)(e.apiUpdateBookingItemSpecialRequest)});return new i.cK(a)}
1async updateBookingItemSpecialRequest(e,t){await this.updateBookingItemSpecialRequestRaw({bookingId:e,apiUpdateBookingItemSpecialRequest:t})}async updateBusStationsRaw(e){if(null===e.packageCartId||void 0===e.packageCartId)throw new i.Q0("packageCartId","Required parameter requestParameters.packageCartId was null or undefined when calling updateBusStations.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packageCart/{packageCartId}/busStations".replace("{packageCartId}",encodeURIComponent(String(e.packageCartId))),method:"PUT",headers:t,query:{},body:(0,tQ.bt)(e.apiRentalCarOffice)});return new i.ko(a,e=>(0,tP.tu)(e))}async updateBusStations(e,t){let a=await this.updateBusStationsRaw({packageCartId:e,apiRentalCarOffice:t});return await a.value()}async updateCaptureDataRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling updateCaptureData.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/updateCaptureData/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,ar.nx)(e.apiUpdateCaptureDataRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async updateCaptureData(e,t){let a=await this.updateCaptureDataRaw({bookingId:e,apiUpdateCaptureDataRequest:t});return await a.value()}async updateCustomPropertiesRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling updateCustomProperties.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/updateCustomProperties/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:e.apiBookingCustomProperty});return new i.ko(a,e=>(0,f.qQ)(e))}async updateCustomProperties(e,t){let a=await this.updateCustomPropertiesRaw({bookingId:e,apiBookingCustomProperty:t});return await a.value()}async updateCustomerRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling updateCustomer.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/updateCustomer/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,as.X8)(e.apiUpdateCustomerRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async updateCustomer(e,t){let a=await this.updateCustomerRaw({bookingId:e,apiUpdateCustomerRequest:t});return await a.value()}async updateFlightTripBookingRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling updateFlightTripBooking.");if(null===e.apiGetFlightTripUpdateBookingRequest||void 0===e.apiGetFlightTripUpdateBookingRequest)throw new i.Q0("apiGetFlightTripUpdateBookingRequest","Required parameter requestParameters.apiGetFlightTripUpdateBookingRequest was null or undefined when calling updateFlightTripBooking.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/packages/flighttrip/update/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,eR.vx)(e.apiGetFlightTripUpdateBookingRequest)});return new i.ko(a,e=>(0,ey.uV)(e))}async updateFlightTripBooking(e,t){let a=await this.updateFlightTripBookingRaw({bookingId:e,apiGetFlightTripUpdateBookingRequest:t});return await a.value()}async updateNotesRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling updateNotes.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/updateNotes/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,au.k8)(e.apiUpdateNotesRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async updateNotes(e,t){let a=await this.updateNotesRaw({bookingId:e,apiUpdateNotesRequest:t});return await a.value()}async updateServiceNotesRaw(e){if(null===e.attempt||void 0===e.attempt)throw new i.Q0("attempt","Required parameter requestParameters.attempt was null or undefined when calling updateServiceNotes.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/service/updateNotes/{attempt}".replace("{attempt}",encodeURIComponent(String(e.attempt))),method:"POST",headers:t,query:{},body:(0,al.tJ)(e.apiUpdateServiceNotesRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async updateServiceNotes(e,t){let a=await this.updateServiceNotesRaw({attempt:e,apiUpdateServiceNotesRequest:t});return await a.value()}async updateTravelerRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling updateTraveler.");if(null===e.attempt||void 0===e.attempt)throw new i.Q0("attempt","Required parameter requestParameters.attempt was null or undefined when calling updateTraveler.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/traveler/{attempt}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))).replace("{attempt}",encodeURIComponent(String(e.attempt))),method:"PUT",headers:t,query:{},body:(0,aa.an)(e.apiTraveler)});return new i.ko(a,e=>(0,f.qQ)(e))}async updateTraveler(e,t,a){let i=await this.updateTravelerRaw({bookingId:e,attempt:t,apiTraveler:a});
1return await i.value()}async updateTravelerAccountRaw(e){if(null===e.apiTravelerAccount||void 0===e.apiTravelerAccount)throw new i.Q0("apiTravelerAccount","Required parameter requestParameters.apiTravelerAccount was null or undefined when calling updateTravelerAccount.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelerAccount/update",method:"PATCH",headers:t,query:{},body:(0,ai.bQ)(e.apiTravelerAccount)});return new i.ko(a,e=>(0,ai.N_)(e))}async updateTravelerAccount(e){let t=await this.updateTravelerAccountRaw({apiTravelerAccount:e});return await t.value()}async updateTravelerAssignmentRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling updateTravelerAssignment.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/updateTravelerAssignment/{bookingId}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))),method:"POST",headers:t,query:{},body:(0,ac.Z0)(e.apiUpdateTravelerAssignmentRequest)});return new i.ko(a,e=>(0,f.qQ)(e))}async updateTravelerAssignment(e,t){let a=await this.updateTravelerAssignmentRaw({bookingId:e,apiUpdateTravelerAssignmentRequest:t});return await a.value()}async updateTravelersRaw(e){if(null===e.bookingId||void 0===e.bookingId)throw new i.Q0("bookingId","Required parameter requestParameters.bookingId was null or undefined when calling updateTravelers.");if(null===e.attempt||void 0===e.attempt)throw new i.Q0("attempt","Required parameter requestParameters.attempt was null or undefined when calling updateTravelers.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/booking/{bookingId}/travelers/{attempt}".replace("{bookingId}",encodeURIComponent(String(e.bookingId))).replace("{attempt}",encodeURIComponent(String(e.attempt))),method:"PUT",headers:t,query:{},body:e.apiTraveler});return new i.ko(a,e=>(0,f.qQ)(e))}async updateTravelers(e,t,a){let i=await this.updateTravelersRaw({bookingId:e,attempt:t,apiTraveler:a});return await i.value()}async validateFiscalRaw(e){if(null===e.apiTaxCodeValidationRequest||void 0===e.apiTaxCodeValidationRequest)throw new i.Q0("apiTaxCodeValidationRequest","Required parameter requestParameters.apiTaxCodeValidationRequest was null or undefined when calling validateFiscal.");let t={};t["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/taxCode/validateFiscal",method:"POST",headers:t,query:{},body:(0,t9.zU)(e.apiTaxCodeValidationRequest)});return new i.ko(a,e=>(0,t3.P8)(e))}async validateFiscal(e){let t=await this.validateFiscalRaw({apiTaxCodeValidationRequest:e});return await t.value()}async verifyEmailRaw(e){if(null===e.token||void 0===e.token)throw new i.Q0("token","Required parameter requestParameters.token was null or undefined when calling verifyEmail.");let t={};this.configuration&&this.configuration.apiKey&&(t["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let a=await this.request({path:"/travelerAccount/verifyEmail/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:t,query:{}});return new i.cK(a)}async verifyEmail(e){await this.verifyEmailRaw({token:e})}async websiteSearchDestinationRaw(e){if(null===e.searchQuery||void 0===e.searchQuery)throw new i.Q0("searchQuery","Required parameter requestParameters.searchQuery was null or undefined when calling websiteSearchDestination.");let t={};void 0!==e.searchQuery&&(t.searchQuery=e.searchQuery);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/websiteSearch/destination",method:"GET",headers:a,query:t});return new i.ko(n,e=>(0,ag.$T)(e))}async websiteSearchDestination(e){let t=await this.websiteSearchDestinationRaw({searchQuery:e});return await t.value()}async websiteSearchFaqRaw(e){if(null===e.searchQuery||void 0===e.searchQuery)throw new i.Q0("searchQuery","Required parameter requestParameters.searchQuery was null or undefined when calling websiteSearchFaq.");let t={};void 0!==e.searchQuery&&(t.searchQuery=e.searchQuery);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/websiteSearch/faq",method:"GET",headers:a,query:t});return new i.ko(n,e=>(0,aw.Ju)(e))}async websiteSearchFaq(e){let t=await this.websiteSearchFaqRaw({searchQuery:e});return await t.value()}async websiteSearchOtherPagesRaw(e){if(null===e.searchQuery||void 0===e.searchQuery)throw new i.Q0("searchQuery","Required parameter requestParameters.searchQuery was null or undefined when calling websiteSearchOtherPages.");let t={};void 0!==e.searchQuery&&(t.searchQuery=e.searchQuery);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/websiteSearch/otherPages",method:"GET",headers:a,query:t});return new i.ko(n,e=>(0,ay.z8)(e))}async websiteSearchOtherPages(e){let t=await this.websiteSearchOtherPagesRaw({searchQuery:e});return await t.value()}async websiteSearchProductRaw(e){if(null===e.searchQuery||void 0===e.searchQuery)throw new i.Q0("searchQuery","Required parameter requestParameters.searchQuery was null or undefined when calling websiteSearchProduct.");let t={};void 0!==e.searchQuery&&(t.searchQuery=e.searchQuery);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/websiteSearch/product",method:"GET",headers:a,query:t});return new i.ko(n,e=>(0,am.WT)(e))}async websiteSearchProduct(e){let t=await this.websiteSearchProductRaw({searchQuery:e});return await t.value()}async websiteSearchQuickRaw(e){if(null===e.searchQuery||void 0===e.searchQuery)throw new i.Q0("searchQuery","Required parameter requestParameters.searchQuery was null or undefined when calling websiteSearchQuick.");let t={};void 0!==e.searchQuery&&(t.searchQuery=e.searchQuery);let a={};this.configuration&&this.configuration.apiKey&&(a["X-IBE-Authorization"]=this.configuration.apiKey("X-IBE-Authorization"));let n=await this.request({path:"/websiteSearch/quick",method:"GET",headers:a,query:t});return new i.ko(n,e=>(0,aR._V)(e))}async websiteSearchQuick(e){let t=await this.websiteSearchQuickRaw({searchQuery:e});return await t.value()}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.