@munchi_oy/core 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var js=Object.create;var pe=Object.defineProperty;var Ks=Object.getOwnPropertyDescriptor;var Gs=Object.getOwnPropertyNames;var Hs=Object.getPrototypeOf,Qs=Object.prototype.hasOwnProperty;var $s=(a,s)=>{for(var e in s)pe(a,e,{get:s[e],enumerable:!0})},_t=(a,s,e,n)=>{if(s&&typeof s=="object"||typeof s=="function")for(let t of Gs(s))!Qs.call(a,t)&&t!==e&&pe(a,t,{get:()=>s[t],enumerable:!(n=Ks(s,t))||n.enumerable});return a};var Oe=(a,s,e)=>(e=a!=null?js(Hs(a)):{},_t(s||!a||!a.__esModule?pe(e,"default",{value:a,enumerable:!0}):e,a)),Ys=a=>_t(pe({},"__esModule",{value:!0}),a);var za={};$s(za,{ABLYEVENT:()=>zs,ActionPasscodesApi:()=>Ie,ActionPasscodesApiAxiosParamCreator:()=>Wt,ActionPasscodesApiFactory:()=>Lo,ActionPasscodesApiFp:()=>Ot,ActionsEnum:()=>Xs,AuthApi:()=>ve,AuthApiAxiosParamCreator:()=>jt,AuthApiFactory:()=>Fo,AuthApiFp:()=>X,AutonomousVehicleType:()=>Zs,BusinessApi:()=>Te,BusinessApiAxiosParamCreator:()=>Kt,BusinessApiFactory:()=>_o,BusinessApiFp:()=>U,BusinessBackgroundType:()=>en,BusinessEventAction:()=>tn,BusinessEventType:()=>sn,BusinessPaymentIntegrationType:()=>nn,BusinessScheduleApi:()=>qe,BusinessScheduleApiAxiosParamCreator:()=>Gt,BusinessScheduleApiFactory:()=>No,BusinessScheduleApiFp:()=>Vt,BusinessStatusEnum:()=>rn,CashLogReason:()=>on,CashLogType:()=>an,CashManagementApi:()=>Ee,CashManagementApiAxiosParamCreator:()=>Ht,CashManagementApiFactory:()=>Wo,CashManagementApiFp:()=>Q,CashManagementV6Api:()=>Ue,CashManagementV6ApiAxiosParamCreator:()=>Qt,CashManagementV6ApiFactory:()=>jo,CashManagementV6ApiFp:()=>It,CashSessionStatus:()=>ln,CashSessionV2Api:()=>ke,CashSessionV2ApiAxiosParamCreator:()=>$t,CashSessionV2ApiFactory:()=>Ko,CashSessionV2ApiFp:()=>vt,CashSignalType:()=>un,CdsSessionRole:()=>cn,ChannelEnum:()=>dn,ChannelMenuApi:()=>Me,ChannelMenuApiAxiosParamCreator:()=>Yt,ChannelMenuApiFactory:()=>Go,ChannelMenuApiFp:()=>se,ChargeStatusEnum:()=>pn,CheckoutModelEnum:()=>mn,ConditionType:()=>gn,ConfigManagementApi:()=>Be,ConfigManagementApiAxiosParamCreator:()=>zt,ConfigManagementApiFactory:()=>Ho,ConfigManagementApiFp:()=>M,Configuration:()=>Bt,ConsumptionType:()=>hn,CoursesApi:()=>we,CoursesApiAxiosParamCreator:()=>Xt,CoursesApiFactory:()=>Qo,CoursesApiFp:()=>ye,CredentialType:()=>Pn,CurrencyCode:()=>bn,CurrencyRegistry:()=>_a,DatabaseEventType:()=>An,DayOfWeek:()=>fn,DeliveryCourierProvider:()=>Rn,DeliveryIntentAction:()=>xn,DeliveryIntentApi:()=>Le,DeliveryIntentApiAxiosParamCreator:()=>Jt,DeliveryIntentApiFactory:()=>$o,DeliveryIntentApiFp:()=>ge,DeliveryIntentStatus:()=>Dn,DeliveryStatus:()=>Cn,DeliveryType:()=>Sn,DeviceType:()=>On,DiscountScope:()=>Vn,DiscountScopeType:()=>In,DiscountSourceType:()=>vn,DiscountType:()=>Tn,DisplayApi:()=>Fe,DisplayApiAxiosParamCreator:()=>Zt,DisplayApiFactory:()=>Yo,DisplayApiFp:()=>J,EntityType:()=>qn,EventTypeEnum:()=>Js,FeeType:()=>En,FloorPlanApi:()=>_e,FloorPlanApiAxiosParamCreator:()=>es,FloorPlanApiFactory:()=>zo,FloorPlanApiFp:()=>w,GiftCardErrorCode:()=>Un,GiftcardApi:()=>Ne,GiftcardApiAxiosParamCreator:()=>ts,GiftcardApiFactory:()=>Xo,GiftcardApiFp:()=>he,HistoryApi:()=>We,HistoryApiAxiosParamCreator:()=>ss,HistoryApiFactory:()=>Jo,HistoryApiFp:()=>Pe,HistoryV6Api:()=>je,HistoryV6ApiAxiosParamCreator:()=>ns,HistoryV6ApiFactory:()=>Zo,HistoryV6ApiFp:()=>ne,IntegrationType:()=>kn,InvoiceCompaniesApi:()=>Ke,InvoiceCompaniesApiAxiosParamCreator:()=>rs,InvoiceCompaniesApiFactory:()=>ea,InvoiceCompaniesApiFp:()=>$,KDSApi:()=>Ge,KDSApiAxiosParamCreator:()=>os,KDSApiFactory:()=>ta,KDSApiFp:()=>z,KDSEVENTNAME:()=>Mn,KdsBulkReadySkipReason:()=>Bn,KdsOrderType:()=>wn,KioskEventType:()=>Ln,KioskLayout:()=>Fn,KiosksApi:()=>He,KiosksApiAxiosParamCreator:()=>as,KiosksApiFactory:()=>sa,KiosksApiFp:()=>be,KitchenItemStatus:()=>_n,KitchenStatus:()=>Nn,LocatorType:()=>Wn,LoyaltyActionKey:()=>jn,LoyaltyCatalogType:()=>Kn,LoyaltyChannel:()=>Gn,LoyaltyCommerceApi:()=>Qe,LoyaltyCommerceApiAxiosParamCreator:()=>is,LoyaltyCommerceApiFactory:()=>na,LoyaltyCommerceApiFp:()=>Tt,LoyaltyIntegerationsApi:()=>$e,LoyaltyIntegerationsApiAxiosParamCreator:()=>ls,LoyaltyIntegerationsApiFactory:()=>ra,LoyaltyIntegerationsApiFp:()=>L,LoyaltyPerkStatus:()=>Hn,LoyaltyRedemptionStatus:()=>Qn,LoyaltyRestoreRequestStatus:()=>$n,LoyaltyRewardType:()=>Yn,LoyaltyRuleActionType:()=>zn,LoyaltyRuleApplicationMode:()=>Xn,LoyaltyRuleConditionType:()=>Jn,LoyaltyRuleFulfillmentMode:()=>Zn,LoyaltyRuleSelection:()=>er,LoyaltyRuleStackingMode:()=>tr,LoyaltyRuleTargetType:()=>sr,MCPApi:()=>Ye,MCPApiAxiosParamCreator:()=>us,MCPApiFactory:()=>oa,MCPApiFp:()=>re,MUNCHI_CORE_VERSION:()=>Ws,MenuApi:()=>ze,MenuApiAxiosParamCreator:()=>cs,MenuApiFactory:()=>aa,MenuApiFp:()=>Ae,MenuType:()=>nr,MunchiGiftCardApi:()=>Xe,MunchiGiftCardApiAxiosParamCreator:()=>ds,MunchiGiftCardApiFactory:()=>ia,MunchiGiftCardApiFp:()=>Z,NetsRevertMethod:()=>rr,NotificationApi:()=>Je,NotificationApiAxiosParamCreator:()=>ps,NotificationApiFactory:()=>la,NotificationApiFp:()=>fe,OperatingMode:()=>or,OpsApi:()=>Ze,OpsApiAxiosParamCreator:()=>ms,OpsApiFactory:()=>ua,OpsApiFp:()=>Re,OrderCollectionEnum:()=>yn,OrderCompletionApi:()=>et,OrderCompletionApiAxiosParamCreator:()=>ys,OrderCompletionApiFactory:()=>ca,OrderCompletionApiFp:()=>qt,OrderFormat:()=>ar,OrderInternalApi:()=>tt,OrderInternalApiAxiosParamCreator:()=>gs,OrderInternalApiFactory:()=>da,OrderInternalApiFp:()=>Et,OrderMode:()=>ir,OrderRefundStatus:()=>lr,OrderSource:()=>ur,OrderStatus:()=>cr,OrderStatusEnum:()=>dr,OrderType:()=>pr,OrderTypePOS:()=>mr,OrdersApi:()=>st,OrdersApiAxiosParamCreator:()=>hs,OrdersApiFactory:()=>pa,OrdersApiFp:()=>k,POSPermissionsApi:()=>nt,POSPermissionsApiAxiosParamCreator:()=>Ps,POSPermissionsApiFactory:()=>ma,POSPermissionsApiFp:()=>Ut,POSSessionApi:()=>rt,POSSessionApiAxiosParamCreator:()=>bs,POSSessionApiFactory:()=>ya,POSSessionApiFp:()=>kt,PayTerminalApi:()=>ot,PayTerminalApiAxiosParamCreator:()=>As,PayTerminalApiFactory:()=>ga,PayTerminalApiFp:()=>N,PayTerminalSessionRole:()=>yr,PaymentApi:()=>at,PaymentApiAxiosParamCreator:()=>fs,PaymentApiFactory:()=>ha,PaymentApiFp:()=>W,PaymentApp:()=>gr,PaymentCheckoutFlow:()=>hr,PaymentEventType:()=>Pr,PaymentFailureCode:()=>br,PaymentMethod:()=>Ar,PaymentMethodsApi:()=>it,PaymentMethodsApiAxiosParamCreator:()=>Rs,PaymentMethodsApiFactory:()=>Pa,PaymentMethodsApiFp:()=>F,PaymentOutcomeStatus:()=>fr,PaymentProvider:()=>Rr,PaymentProviderEnum:()=>xr,PaymentReportingBucket:()=>Dr,PaymentSessionApi:()=>lt,PaymentSessionApiAxiosParamCreator:()=>xs,PaymentSessionApiFactory:()=>ba,PaymentSessionApiFp:()=>q,PaymentSessionPurpose:()=>Cr,PaymentSessionStatus:()=>Sr,PaymentStatus:()=>Or,PaymentTypeEnum:()=>Vr,PosBulkOrderStatus:()=>Ir,PosBulkStatusSkipReason:()=>vr,PosDiscountTargetType:()=>Tr,PosDiscountType:()=>qr,PosPaymentStatus:()=>Er,PosPaymentType:()=>Ur,PosPermission:()=>kr,PosPermissionGroup:()=>Mr,PosPermissionKind:()=>Br,PreorderStatus:()=>wr,PriceType:()=>Lr,PrinterConnectionType:()=>Fr,PrinterModelType:()=>_r,PrinterTypeEnum:()=>Nr,PrintersApi:()=>ut,PrintersApiAxiosParamCreator:()=>Ds,PrintersApiFactory:()=>Aa,PrintersApiFp:()=>xe,ProductApi:()=>ct,ProductApiAxiosParamCreator:()=>Cs,ProductApiFactory:()=>fa,ProductApiFp:()=>oe,ProductAvailability:()=>Wr,ProductDetailLayout:()=>jr,PromotionDiscountType:()=>Kr,ProviderApi:()=>dt,ProviderApiAxiosParamCreator:()=>Ss,ProviderApiFactory:()=>Ra,ProviderApiFp:()=>K,ProviderEnum:()=>Gr,PubSubAction:()=>Hr,PubSubTarget:()=>Qr,ReceiptFooterApi:()=>pt,ReceiptFooterApiAxiosParamCreator:()=>Os,ReceiptFooterApiFactory:()=>xa,ReceiptFooterApiFp:()=>De,ReceiptFooterDocumentType:()=>$r,RecordManualStatus:()=>Yr,RefundFailureReasonKey:()=>zr,RefundMode:()=>Xr,RefundOverallStatus:()=>Jr,RefundStatusEnum:()=>Zr,RefundStepStatus:()=>eo,RefundsApi:()=>mt,RefundsApiAxiosParamCreator:()=>Vs,RefundsApiFactory:()=>Da,RefundsApiFp:()=>G,ReportApi:()=>yt,ReportApiAxiosParamCreator:()=>Is,ReportApiFactory:()=>Ca,ReportApiFp:()=>ae,ReportApp:()=>to,ReportBaselineLeftOut:()=>so,ReportBreakdown:()=>no,ReportChangeField:()=>ro,ReportLanguage:()=>oo,ReportPart:()=>ao,ReportV6Api:()=>gt,ReportV6ApiAxiosParamCreator:()=>vs,ReportV6ApiFactory:()=>Sa,ReportV6ApiFp:()=>Ce,ReservationSource:()=>io,ReservationStatus:()=>lo,ReservationsApi:()=>ht,ReservationsApiAxiosParamCreator:()=>Ts,ReservationsApiFactory:()=>Oa,ReservationsApiFp:()=>_,SYNCKEY:()=>uo,ScheduleType:()=>co,ShiftTrackingApi:()=>Pt,ShiftTrackingApiAxiosParamCreator:()=>qs,ShiftTrackingApiFactory:()=>Va,ShiftTrackingApiFp:()=>Y,ShipdayEventWebhook:()=>po,ShipdayOrderStatus:()=>mo,SimplePaymentStatus:()=>yo,SourceType:()=>go,StaffActivityActionType:()=>ho,StationType:()=>Po,StationsApi:()=>bt,StationsApiAxiosParamCreator:()=>Es,StationsApiFactory:()=>Ia,StationsApiFp:()=>ie,Status:()=>bo,SystemProfileType:()=>Ao,TableGroupType:()=>fo,TableShape:()=>Ro,TableStatus:()=>xo,TerminalApi:()=>At,TerminalApiAxiosParamCreator:()=>Us,TerminalApiFactory:()=>va,TerminalApiFp:()=>le,TerminalConnectionType:()=>Do,TimeSpan:()=>Co,TransactionEventType:()=>So,TransactionType:()=>Oo,Type:()=>Vo,UpsellMode:()=>Io,UserApi:()=>ft,UserApiAxiosParamCreator:()=>ks,UserApiFactory:()=>Ta,UserApiFp:()=>ee,VendureSellerApi:()=>Rt,VendureSellerApiAxiosParamCreator:()=>Ms,VendureSellerApiFactory:()=>qa,VendureSellerApiFp:()=>Mt,VivaApi:()=>xt,VivaApiAxiosParamCreator:()=>Bs,VivaApiFactory:()=>Ea,VivaApiFp:()=>te,VivaAppToAppPaymentMethod:()=>vo,VivaCurrencyCode:()=>To,VivaErrorId:()=>qo,VivaEventId:()=>Eo,VivaWebhookEventType:()=>Uo,WebhookApi:()=>Dt,WebhookApiAxiosParamCreator:()=>ws,WebhookApiFactory:()=>Ua,WebhookApiFp:()=>E,WorldlineApi:()=>Ct,WorldlineApiAxiosParamCreator:()=>Ls,WorldlineApiFactory:()=>ka,WorldlineApiFp:()=>ue,WorldlineInternalApi:()=>St,WorldlineInternalApiAxiosParamCreator:()=>Fs,WorldlineInternalApiFactory:()=>Ma,WorldlineInternalApiFp:()=>H,WorldlineOperationStatus:()=>ko,WorldlinePaymentResultStatus:()=>Mo,WorldlineResponseStatus:()=>Bo,WorldlineRevertMethod:()=>wo,buildPosCategoryIndex:()=>Qa,cashRound:()=>Fa,collectEnabledSubcategoryIdsDepthFirst:()=>Ft,collectSubcategoryIdsDepthFirst:()=>Lt,countryQuirks:()=>ja,formatMoney:()=>La,fromMinor:()=>_s,getCategoryProductsIncludingSubcategories:()=>$a,getSubcategoriesForCategory:()=>Ya,mapProductIdsToProducts:()=>Ns,minorUnitDigits:()=>Se,minorUnitMultiplier:()=>ce,regionLocale:()=>Ka,toMinor:()=>wa});module.exports=Ys(za);var P=Oe(require("axios"));var Nt=Oe(require("axios")),p="http://localhost".replace(/\/+$/,"");var V=class{constructor(s,e=p,n=Nt.default){this.basePath=e;this.axios=n;s&&(this.configuration=s,this.basePath=s.basePath||this.basePath)}configuration},me=class extends Error{constructor(e,n){super(n);this.field=e;this.name="RequiredError"}};var m="https://example.com",c=function(a,s,e){if(e==null)throw new me(s,`Required parameter ${s} was null or undefined when calling ${a}.`)};var R=async function(a,s){if(s&&s.accessToken){let e=typeof s.accessToken=="function"?await s.accessToken():await s.accessToken;a.Authorization="Bearer "+e}};function Ve(a,s,e=""){s!=null&&(typeof s=="object"?Array.isArray(s)?s.forEach(n=>Ve(a,n,e)):Object.keys(s).forEach(n=>Ve(a,s[n],`${e}${e!==""?".":""}${n}`)):a.has(e)?a.append(e,s):a.set(e,s))}var y=function(a,...s){let e=new URLSearchParams(a.search);Ve(e,s),a.search=e.toString()},A=function(a,s,e){let n=typeof a!="string";return(n&&e&&e.isJsonMime?e.isJsonMime(s.headers["Content-Type"]):n)?JSON.stringify(a!==void 0?a:{}):a||""},g=function(a){return a.pathname+a.search+a.hash},h=function(a,s,e,n){return(t=s,r=e)=>{let o={...a.options,url:(n?.basePath||r)+a.url};return t.request(o)}};var zs={Sync:"sync",KdsItemStatusSync:"kds_item_status_sync",PosOrderCompleted:"pos.order.completed",CashManagement:"cash-management"},Xs={Ticketing:"Ticketing",OrderChange:"OrderChange",NewOrder:"NewOrder",PosOrderChange:"PosOrderChange",UpdateLoyaltyPoints:"UpdateLoyaltyPoints",CourseFire:"CourseFire"},Js={Earn:"earn",Redeem:"redeem",Collect:"collect",Credit:"credit",Debit:"debit",Claimed:"claimed"},Zs={Sidewalk:"VEHICLE_TYPE_SIDEWALK",FlyingDrone:"VEHICLE_TYPE_FLYING_DRONE"},en={Image:"image",Video:"video",Animation:"animation"},tn={BusinessConfigUpdated:"BUSINESS_CONFIG_UPDATED",DataSyncRequired:"DATA_SYNC_REQUIRED",PosSessionUpdated:"POS_SESSION_UPDATED",BusinessDataUpdated:"BUSINESS_DATA_UPDATED"},sn={StatusUpdated:"business:status-updated",MenuUpdated:"business:menu-updated",ConfigUpdated:"business:config-updated"},nn={GiftCard:"GiftCard"},rn={Online:"ONLINE",Offline:"OFFLINE"},on={SaleTransaction:"SALE_TRANSACTION",RefundTransaction:"REFUND_TRANSACTION",OrderVoid:"ORDER_VOID",OpeningFloat:"OPENING_FLOAT",ClosingCount:"CLOSING_COUNT",AdjustmentEntry:"ADJUSTMENT_ENTRY",BankTransferIn:"BANK_TRANSFER_IN",PrivateDeposit:"PRIVATE_DEPOSIT",TipsDeposit:"TIPS_DEPOSIT",PurchaseMaterials:"PURCHASE_MATERIALS",BankTransferOut:"BANK_TRANSFER_OUT",SalaryPayout:"SALARY_PAYOUT",TipsPayout:"TIPS_PAYOUT",PrivateWithdrawal:"PRIVATE_WITHDRAWAL",OtherExpense:"OTHER_EXPENSE",Other:"OTHER"},an={Opening:"OPENING",Sale:"SALE",Refund:"REFUND",ManualIn:"MANUAL_IN",ManualOut:"MANUAL_OUT",Closing:"CLOSING"},ln={Open:"OPEN",Counting:"COUNTING",Closed:"CLOSED"},un={SessionUpdated:"SESSION_UPDATED",SessionClosed:"SESSION_CLOSED",LogAdded:"LOG_ADDED"},cn={Pos:"pos",Display:"display"},dn={Wolt:"Wolt",MunchiOnline:"MunchiOnline",MunchiKiosk:"MunchiKiosk",MunchiPos:"MunchiPos",UberEats:"UberEats",Foodora:"Foodora",Bolt:"Bolt",MunchiKioskV2:"MunchiKioskV2",Kiosk:"Kiosk",WoltStorefront:"WoltStorefront",Storefront:"Storefront",MunchiPay:"MunchiPay"},pn={Pending:"pending",Success:"success",Failure:"failure"},mn={EqualSplit:"EQUAL_SPLIT",ItemSplit:"ITEM_SPLIT",Full:"FULL"},yn={Kiosk:"kiosk"},gn={TimeWindow:"TIME_WINDOW",DateRange:"DATE_RANGE",CartMinValue:"CART_MIN_VALUE",CartMaxValue:"CART_MAX_VALUE",ProductInCart:"PRODUCT_IN_CART"},hn={Delivery:"DELIVERY",Pickup:"PICKUP",DineIn:"DINE_IN"},Pn={ApiKey:"api_key",BasicAuth:"basic_auth",Oauth2:"oauth_2"},bn={Eur:"EUR",Gbp:"GBP",Chf:"CHF",Sek:"SEK",Nok:"NOK",Dkk:"DKK",Pln:"PLN",Czk:"CZK",Huf:"HUF",Ron:"RON",Bgn:"BGN",Hrk:"HRK",Isk:"ISK",Rsd:"RSD",Try:"TRY",Uah:"UAH",Rub:"RUB",All:"ALL",Mkd:"MKD",Mdl:"MDL",Bam:"BAM",Aed:"AED",Usd:"USD",Afn:"AFN",Amd:"AMD",Aoa:"AOA",Ars:"ARS",Aud:"AUD",Awg:"AWG",Azn:"AZN",Bbd:"BBD",Bdt:"BDT",Bhd:"BHD",Bif:"BIF",Bmd:"BMD",Bnd:"BND",Bob:"BOB",Brl:"BRL",Bsd:"BSD",Btn:"BTN",Bwp:"BWP",Byn:"BYN",Bzd:"BZD",Cad:"CAD",Cdf:"CDF",Clp:"CLP",Cny:"CNY",Cop:"COP",Crc:"CRC",Cup:"CUP",Cve:"CVE",Djf:"DJF",Dop:"DOP",Dzd:"DZD",Egp:"EGP",Ern:"ERN",Etb:"ETB",Fjd:"FJD",Fkp:"FKP",Gel:"GEL",Ghs:"GHS",Gip:"GIP",Gmd:"GMD",Gnf:"GNF",Gtq:"GTQ",Gyd:"GYD",Hkd:"HKD",Hnl:"HNL",Htg:"HTG",Idr:"IDR",Ils:"ILS",Inr:"INR",Iqd:"IQD",Irr:"IRR",Jmd:"JMD",Jod:"JOD",Jpy:"JPY",Kes:"KES",Kgs:"KGS",Khr:"KHR",Kmf:"KMF",Kpw:"KPW",Krw:"KRW",Kwd:"KWD",Kyd:"KYD",Kzt:"KZT",Lak:"LAK",Lbp:"LBP",Lkr:"LKR",Lrd:"LRD",Lsl:"LSL",Lyd:"LYD",Mad:"MAD",Mga:"MGA",Mmk:"MMK",Mnt:"MNT",Mop:"MOP",Mru:"MRU",Mur:"MUR",Mvr:"MVR",Mwk:"MWK",Mxn:"MXN",Myr:"MYR",Mzn:"MZN",Nad:"NAD",Ngn:"NGN",Nio:"NIO",Npr:"NPR",Nzd:"NZD",Omr:"OMR",Pab:"PAB",Pen:"PEN",Pgk:"PGK",Php:"PHP",Pkr:"PKR",Pyg:"PYG",Qar:"QAR",Rwf:"RWF",Sar:"SAR",Sbd:"SBD",Scr:"SCR",Sdg:"SDG",Sgd:"SGD",Shp:"SHP",Sle:"SLE",Sos:"SOS",Srd:"SRD",Ssp:"SSP",Stn:"STN",Svc:"SVC",Syp:"SYP",Szl:"SZL",Thb:"THB",Tjs:"TJS",Tmt:"TMT",Tnd:"TND",Top:"TOP",Ttd:"TTD",Twd:"TWD",Tzs:"TZS",Ugx:"UGX",Uyu:"UYU",Uzs:"UZS",Ved:"VED",Ves:"VES",Vnd:"VND",Vuv:"VUV",Wst:"WST",Xaf:"XAF",Xcd:"XCD",Xcg:"XCG",Xof:"XOF",Xpf:"XPF",Yer:"YER",Zar:"ZAR",Zmw:"ZMW",Zwg:"ZWG"},An={Insert:"INSERT",Update:"UPDATE",Delete:"DELETE"},fn={Sunday:"SUNDAY",Monday:"MONDAY",Tuesday:"TUESDAY",Wednesday:"WEDNESDAY",Thursday:"THURSDAY",Friday:"FRIDAY",Saturday:"SATURDAY"},Rn={Shipday:"shipday",UberDirect:"uber_direct"},xn={Create:"CREATE",Update:"UPDATE",Cancel:"CANCEL"},Dn={Pending:"pending",Dispatched:"dispatched",Failed:"failed"},Cn={None:"none",PickupEtaUpdated:"pickup_eta_updated",PickupStarted:"pickup_started",PickedUp:"picked_up",DropoffStarted:"dropoff_started",DropoffCompleted:"dropoff_completed",Delivered:"delivered",DropoffEtaUpdated:"dropoff_eta_updated"},Sn={SelfDelivery:"self_delivery",HomeDelivery:"home_delivery"},On={Tablet:"TABLET",KioskStand:"KIOSK_STAND",SmartTerminal:"SMART_TERMINAL"},Vn={Item:"ITEM",Cart:"CART"},In={Business:"BUSINESS",Owner:"OWNER"},vn={Manual:"MANUAL",Promotion:"PROMOTION",Loyalty:"LOYALTY",Campaign:"CAMPAIGN"},Tn={Percentage:"PERCENTAGE",Fixed:"FIXED"},qn={Product:"product",Menu:"menu",Category:"category",Extra:"extra",Option:"option",Role:"role",Shift:"shift",Employee:"employee",Config:"config",Business:"business",Suboption:"suboption",Site:"site"},En={TipAmount:"TIP_AMOUNT",Surcharge:"SURCHARGE"},Un={NUMBER_1001:1001,NUMBER_1002:1002,NUMBER_1003:1003,NUMBER_1004:1004,NUMBER_1005:1005,NUMBER_1006:1006,NUMBER_1007:1007,NUMBER_1008:1008,NUMBER_1010:1010,NUMBER_1011:1011,NUMBER_1012:1012,NUMBER_1013:1013,NUMBER_1014:1014,NUMBER_1015:1015,NUMBER_1016:1016,NUMBER_1017:1017,NUMBER_1018:1018,NUMBER_1019:1019,NUMBER_1020:1020,NUMBER_1021:1021,NUMBER_1022:1022,NUMBER_1023:1023,NUMBER_1024:1024,NUMBER_1025:1025,NUMBER_1999:1999,NUMBER_2001:2001,NUMBER_2002:2002,NUMBER_2003:2003,NUMBER_3001:3001,NUMBER_4001:4001},kn={Orders:"ORDERS",Menu:"MENU",Venue:"VENUE",Kds:"KDS",Ayce:"AYCE"},Mn={OrderCreated:"order.created",OrderReady:"order.ready",OrderReverted:"order.reverted",OrderDeleted:"order.deleted",PrintingOrder:"printing.order"},Bn={Found:"NOT_FOUND",Pos:"NOT_POS",InProgress:"NOT_IN_PROGRESS"},wn={Standard:"STANDARD",Broadcast:"BROADCAST"},Ln={StatusUpdated:"kiosk.status.updated",ConfigUpdated:"kiosk.config.updated"},Fn={Vertical:"VERTICAL",Horizontal:"HORIZONTAL"},_n={NotApplicable:"NOT_APPLICABLE",Pending:"PENDING",OnHold:"ON_HOLD",SentToOm:"SENT_TO_OM",DispatchedToKitchen:"DISPATCHED_TO_KITCHEN",Completed:"COMPLETED",Cancelled:"CANCELLED",Ready:"READY"},Nn={NotApplicable:"not_applicable",Pending:"pending",OnHold:"on_hold",Ready:"ready",SentToOm:"sent_to_om",DispatchedToKitchen:"dispatched_to_kitchen",Completed:"completed",Cancelled:"cancelled"},Wn={Table:"table",Indicator:"indicator"},jn={Self:"self",GetUserById:"getUserById",SearchUser:"searchUser",AddPoints:"addPoints",GetAdminHistory:"getAdminHistory"},Kn={Product:"product",Coupon:"coupon"},Gn={Kiosk:"kiosk",Pos:"pos",Online:"online",Mobile:"mobile"},Hn={Claimed:"Claimed",Redeemed:"Redeemed",Expired:"Expired",Available:"Available"},Qn={Pending:"pending",Redeemed:"redeemed",Reversed:"reversed"},$n={Requested:"REQUESTED",AlreadyReversed:"ALREADY_REVERSED"},Yn={Product:"product",Coupon:"coupon"},zn={Percentage:"percentage",Fixed:"fixed"},Xn={Manual:"manual",Automatic:"automatic"},Jn={Always:"always",ProductInCart:"product_in_cart",CategoryInCart:"category_in_cart",ProductQuantityInCart:"product_quantity_in_cart",CategoryQuantityInCart:"category_quantity_in_cart",CartMinValue:"cart_min_value",CartMaxValue:"cart_max_value"},Zn={RequireInCart:"require_in_cart",ConfigureTarget:"configure_target"},er={All:"all",Cheapest:"cheapest",MostExpensive:"most_expensive"},tr={ExclusiveBestForCustomer:"exclusive_best_for_customer",Stackable:"stackable"},sr={ConditionMatch:"condition_match",Product:"product",Category:"category",Order:"order"},nr={Pos:"pos",Kiosk:"kiosk",Ayce:"ayce",Storefront:"storefront"},rr={Reversal:"REVERSAL",Refund:"REFUND"},or={Standard:"STANDARD",Team:"TEAM",Pinlock:"PINLOCK"},ar={Open:"OPEN",Instant:"INSTANT"},ir={Instant:"INSTANT",PreOrder:"PRE_ORDER"},lr={None:"NONE",Partial:"PARTIAL",Full:"FULL"},ur={Platform:"PLATFORM",Pos:"POS"},cr={InProgress:"IN_PROGRESS",Ready:"READY",Delivered:"DELIVERED",Rejected:"REJECTED"},dr={Pending:"pending",InProgress:"in_progress",Ready:"ready",Delivered:"delivered",Rejected:"rejected",PickUpByDriver:"pick_up_by_driver",Preorder:"preorder",AcceptByDriver:"accept_by_driver",Parked:"parked",Refunded:"refunded",Draft:"draft"},pr={Delivery:"delivery",PickUp:"pick_up",DineIn:"dine_in"},mr={DineIn:"dine_in",PickUp:"pick_up"},yr={Pos:"pos",Terminal:"terminal"},gr={Pos:"munchi_pos",Handheld:"munchi_handheld",Pay:"munchi_pay"},hr={TerminalCard:"terminal_card",CardManual:"card_manual",Cash:"cash",GroupedVoucher:"grouped_voucher",GiftCard:"gift_card",Static:"static"},Pr={StatusChanged:"payment:status-changed",RefundStatusChanged:"payment:refund-status-changed",Outcome:"payment:outcome",OrderSettled:"payment:order-settled"},br={PaymentAborted:"payment.aborted",PaymentCancelledByUser:"payment.cancelled_by_user",PaymentInsufficientFunds:"payment.insufficient_funds",PaymentCardExpired:"payment.card_expired",PaymentCardInvalid:"payment.card_invalid",PaymentPinError:"payment.pin_error",PaymentDeclined:"payment.declined",PaymentTimeout:"payment.timeout",PaymentUnknown:"payment.unknown",TerminalOffline:"terminal.offline",TerminalTimeout:"terminal.timeout",TerminalBusy:"terminal.busy",TerminalDuplicate:"terminal.duplicate",TerminalPrinter:"terminal.printer",TerminalLowBattery:"terminal.low_battery",TerminalNeedsReconciliation:"terminal.needs_reconciliation",TerminalCheckScreen:"terminal.check_screen",SystemProviderError:"system.provider_error",SystemUnknown:"system.unknown"},Ar={Cash:"Cash",Card:"Card",Voucher:"Voucher",EPassi:"EPassi",Edenred:"Edenred",Munchi:"Munchi",Flatpay:"Flatpay",GiftUp:"GiftUp",MobilePay:"MobilePay",CardManual:"CardManual",EdenredManual:"EdenredManual",EmployeeDiscount:"EmployeeDiscount",LunchVoucher:"LunchVoucher",EdenredVoucher:"EdenredVoucher",SmartumVoucher:"SmartumVoucher",Invoice:"Invoice",Smartum:"Smartum",GiftCard:"GiftCard",Debit:"Debit",Credit:"Credit",GiftCardManual:"GiftCardManual",WoltBenefit:"WoltBenefit",Fundis:"Fundis",UberEats:"UberEats",MunchiGiftCard:"MunchiGiftCard",WoltManual:"WoltManual",MotoralLaksu:"MotoralLaksu",ResQ:"ResQ",GillAndGill:"GillAndGill",Kiinteisto:"Kiinteisto",Jpn:"JPN",NineLives:"NineLives",Trade:"Trade",Exchange:"Exchange",Tilisiirto:"Tilisiirto",LoyaltyPoints:"LoyaltyPoints",DiningByAmex:"DiningByAmex"},fr={Uncertain:"Uncertain",Success:"Success",Failed:"Failed"},Rr={Stripe:"stripe",Viva:"viva",Nets:"nets",Worldline:"worldline",Epassi:"epassi"},xr={Stripe:"stripe",Viva:"viva",Nets:"nets",Worldline:"worldline",Epassi:"epassi"},Dr={Cards:"cards",EdenredVoucher:"edenred_voucher",SmartumVoucher:"smartum_voucher",Other:"other"},Cr={Sale:"SALE",Refund:"REFUND",Void:"VOID"},Sr={Initiated:"INITIATED",Dispatched:"DISPATCHED",Processing:"PROCESSING",Success:"SUCCESS",Failed:"FAILED",Cancelled:"CANCELLED",Closed:"CLOSED",VoidPending:"VOID_PENDING",Voiding:"VOIDING",Voided:"VOIDED",VoidFailed:"VOID_FAILED",Refunding:"REFUNDING",Refunded:"REFUNDED"},Or={Paid:"paid",Pending:"pending"},Vr={Cash:"cash",Card:"card",PayOnDelivery:"pay_on_delivery"},Ir={Ready:"ready",Delivered:"delivered"},vr={NotFound:"NOT_FOUND",NotInProgress:"NOT_IN_PROGRESS",KitchenControlled:"KITCHEN_CONTROLLED",NotReady:"NOT_READY"},Tr={Order:"ORDER",LineItem:"LINE_ITEM",ItemSplitSeat:"ITEM_SPLIT_SEAT",ItemSplitAssignment:"ITEM_SPLIT_ASSIGNMENT",EqualSplitPart:"EQUAL_SPLIT_PART"},qr={Percentage:"percentage",Fixed:"fixed"},Er={Unpaid:"unpaid",Paying:"paying",Paid:"paid"},Ur={Manual:"manual",Static:"static",NonStatic:"non_static",Common:"common"},kr={AccessPosApp:"Access::PosApp",PagePos:"Page::Pos",PageOpenOrders:"Page::OpenOrders",PageOrders:"Page::Orders",PageTransactions:"Page::Transactions",PageProducts:"Page::Products",PageReports:"Page::Reports",PageSettings:"Page::Settings",PageFloorPlan:"Page::FloorPlan",Cart:"Cart::*",CartAddItem:"Cart::AddItem",CartRemoveItem:"Cart::RemoveItem",CartApplyDiscount:"Cart::ApplyDiscount",CartVoidItem:"Cart::VoidItem",CartClear:"Cart::Clear",CartRemoveDiscount:"Cart::RemoveDiscount",CartVoidPayment:"Cart::VoidPayment",Cash:"Cash::*",CashOpenDay:"Cash::OpenDay",CashCloseDay:"Cash::CloseDay",CashCashIn:"Cash::CashIn",CashCashOut:"Cash::CashOut",CashOpenDrawer:"Cash::OpenDrawer",CashPrintReport:"Cash::PrintReport",CashSendReport:"Cash::SendReport",Transaction:"Transaction::*",TransactionRefund:"Transaction::Refund",TransactionViewAll:"Transaction::ViewAll",TransactionTotals:"TransactionTotals::*",TransactionTotalsOrders:"TransactionTotals::Orders",TransactionTotalsSales:"TransactionTotals::Sales",TransactionTotalsRejectedOrders:"TransactionTotals::RejectedOrders",TransactionTotalsRejectedSales:"TransactionTotals::RejectedSales",Order:"Order::*",OrderSendReceipt:"Order::SendReceipt",OpenOrdersDelete:"OpenOrders::Delete",OpenOrdersSendToKitchen:"OpenOrders::SendToKitchen",OpenOrdersFireCourse:"OpenOrders::FireCourse",Shift:"Shift::*",ShiftForceClockOut:"Shift::ForceClockOut",FloorPlan:"FloorPlan::*",FloorPlanEditLayout:"FloorPlan::EditLayout",FloorPlanChangeTableStatus:"FloorPlan::ChangeTableStatus",FloorPlanManageSections:"FloorPlan::ManageSections",Settings:"Settings::*",SettingsEditProfile:"Settings::EditProfile",Report:"Report::*",ReportSendEmail:"Report::SendEmail",ReportTotals:"ReportTotals::*",ReportTotalsOrders:"ReportTotals::Orders",ReportTotalsSales:"ReportTotals::Sales",ReportTotalsTips:"ReportTotals::Tips",ReportTotalsSurcharges:"ReportTotals::Surcharges",ReportTotalsRejectedOrders:"ReportTotals::RejectedOrders",ReportTotalsRejectedSales:"ReportTotals::RejectedSales",ReportTotalsAverageSale:"ReportTotals::AverageSale",ReportTotalsItems:"ReportTotals::Items",ReportTotalsRefunds:"ReportTotals::Refunds",ReportTotalsDiscounts:"ReportTotals::Discounts"},Mr={Access:"Access",Page:"Page",Cart:"Cart",Cash:"Cash",Transaction:"Transaction",TransactionTotals:"TransactionTotals",Order:"Order",OpenOrders:"OpenOrders",Shift:"Shift",FloorPlan:"FloorPlan",Settings:"Settings",Report:"Report",ReportTotals:"ReportTotals"},Br={Screen:"screen",Action:"action",Visibility:"visibility"},wr={Waiting:"waiting",Confirm:"confirm"},Lr={Preset:"PRESET",Open:"OPEN"},Fr={Bluetooth:"bluetooth",Network:"network"},_r={Epson:"epson",Star:"star",Sunmi:"sunmi",Label:"label"},Nr={Kitchen:"KITCHEN",Bar:"BAR",Receipt:"RECEIPT",Cloud:"CLOUD",Label:"LABEL"},Wr={Available:"AVAILABLE",UnavailableToday:"UNAVAILABLE_TODAY",UnavailableIndefinitely:"UNAVAILABLE_INDEFINITELY"},jr={Modal:"MODAL",Screen:"SCREEN"},Kr={Percentage:"PERCENTAGE",Fixed:"FIXED"},Gr={Wolt:"Wolt",MunchiOnline:"MunchiOnline",MunchiKiosk:"MunchiKiosk",MunchiPos:"MunchiPos",UberEats:"UberEats",Foodora:"Foodora",Bolt:"Bolt",MunchiKioskV2:"MunchiKioskV2",Kiosk:"Kiosk",WoltStorefront:"WoltStorefront",Storefront:"Storefront",MunchiPay:"MunchiPay"},Hr={Activity:"ORDER_ACTIVITY",Deleted:"ORDER_DELETED"},Qr={Kds:"KDS"},$r={ReceiptFinal:"RECEIPT_FINAL",ReceiptPrebill:"RECEIPT_PREBILL",Refund:"REFUND"},Yr={Success:"SUCCESS",AlreadyPaid:"ALREADY_PAID",Rejected:"REJECTED",Failed:"FAILED"},zr={FullNotSupportedGiftCard:"screens.pos.refund.fullNotSupportedGiftCard",PartialShortfallGiftCardPortion:"screens.pos.refund.partialShortfallGiftCardPortion",PlanOverAllocation:"screens.pos.refund.planOverAllocation",CannotSplitLinkedNonSplittable:"screens.pos.refund.cannotSplitLinkedNonSplittable",InsufficientFunds:"screens.pos.refund.insufficientFunds"},Xr={Full:"FULL",Item:"ITEM"},Jr={Pending:"PENDING",InProgress:"IN_PROGRESS",ChoiceRequired:"CHOICE_REQUIRED",Completed:"COMPLETED",Failed:"FAILED"},Zr={Pending:"PENDING",Success:"SUCCESS",Failed:"FAILED",Canceled:"CANCELED"},eo={Pending:"PENDING",InProgress:"IN_PROGRESS",Failed:"FAILED",Completed:"COMPLETED"},to={Pos:"pos",Kiosk:"kiosk",Storefront:"storefront",Mobile:"mobile"},so={IsTheBaseline:"is_the_baseline",OtherCurrency:"other_currency"},no={None:"none",Venue:"venue",App:"app",VenueApp:"venue_app"},ro={SalesReportTotalQuantity:"salesReport.totalQuantity",SalesReportTotalWithTax:"salesReport.totalWithTax",SalesReportTotalTaxAmount:"salesReport.totalTaxAmount",SalesReportTotalWithoutTax:"salesReport.totalWithoutTax",SalesReportDeliveryFee:"salesReport.deliveryFee",SalesReportDeliveryTax:"salesReport.deliveryTax",PaymentReportSummarySalesAndRevenue:"paymentReport.summary.salesAndRevenue",PaymentReportSummaryGrossAmount:"paymentReport.summary.grossAmount",PaymentReportSummaryTotalCount:"paymentReport.summary.totalCount",PaymentReportSummaryTotalAmount:"paymentReport.summary.totalAmount",PaymentReportSummaryCardsCount:"paymentReport.summary.cardsCount",PaymentReportSummaryCardsAmount:"paymentReport.summary.cardsAmount",PaymentReportSummaryEdenredVoucherCount:"paymentReport.summary.edenredVoucherCount",PaymentReportSummaryEdenredVoucherAmount:"paymentReport.summary.edenredVoucherAmount",PaymentReportSummarySmartumVoucherCount:"paymentReport.summary.smartumVoucherCount",PaymentReportSummarySmartumVoucherAmount:"paymentReport.summary.smartumVoucherAmount",PaymentReportSummaryTotalCoupons:"paymentReport.summary.totalCoupons",PaymentReportSummaryTotalVoucherForfeited:"paymentReport.summary.totalVoucherForfeited",PaymentReportSummaryTotalTipAmount:"paymentReport.summary.totalTipAmount",PaymentReportSummaryTotalSurchargeAmount:"paymentReport.summary.totalSurchargeAmount",PaymentReportSummaryTotalRefunds:"paymentReport.summary.totalRefunds",PaymentReportSummaryRefundCount:"paymentReport.summary.refundCount",PaymentReportTotalDiscounts:"paymentReport.totalDiscounts"},oo={Fi:"fi",En:"en"},ao={Summary:"summary",Items:"items",Vat:"vat",Payments:"payments",Discounts:"discounts"},io={WalkIn:"WALK_IN",Pos:"POS",ReservationsApp:"RESERVATIONS_APP",OnlineWidget:"ONLINE_WIDGET",Phone:"PHONE"},lo={Requested:"REQUESTED",Confirmed:"CONFIRMED",Waitlist:"WAITLIST",Seated:"SEATED",NoShow:"NO_SHOW",Completed:"COMPLETED",Cancelled:"CANCELLED"},uo={Menu:"MENU",Products:"PRODUCTS",Discounts:"DISCOUNTS",LoyaltySettings:"LOYALTY_SETTINGS",BusinessConfig:"BUSINESS_CONFIG",BusinessProviderSupportedIntegrations:"BUSINESS_PROVIDER_SUPPORTED_INTEGRATIONS",PosSession:"POS_SESSION",InvoiceCompanies:"INVOICE_COMPANIES",BusinessTax:"BUSINESS_TAX",Transaction:"TRANSACTION",PaymentMethods:"PAYMENT_METHODS",ReceiptFooter:"RECEIPT_FOOTER"},co={Physical:"PHYSICAL"},po={Assigned:"ORDER_ASSIGNED",AcceptedAndStarted:"ORDER_ACCEPTED_AND_STARTED",Ontheway:"ORDER_ONTHEWAY",Completed:"ORDER_COMPLETED",Failed:"ORDER_FAILED",Incomplete:"ORDER_INCOMPLETE",Delete:"ORDER_DELETE",Inserted:"ORDER_INSERTED",Pikedup:"ORDER_PIKEDUP",Unassigned:"ORDER_UNASSIGNED",PikedupRemoved:"ORDER_PIKEDUP_REMOVED",OnthewayRemoved:"ORDER_ONTHEWAY_REMOVED"},mo={NotAssigned:"NOT_ASSIGNED",NotAccepted:"NOT_ACCEPTED",NotStartedYet:"NOT_STARTED_YET",Started:"STARTED",PickedUp:"PICKED_UP",ReadyToDeliver:"READY_TO_DELIVER",AlreadyDelivered:"ALREADY_DELIVERED",Incomplete:"INCOMPLETE",FailedDelivery:"FAILED_DELIVERY"},yo={Pending:"PENDING",Success:"SUCCESS",Failed:"FAILED"},go={Order:"ORDER",Ticket:"TICKET",KitchenTicket:"KITCHEN_TICKET"},ho={OrderCreated:"ORDER_CREATED",OrderUpdated:"ORDER_UPDATED",ItemAdded:"ITEM_ADDED",ItemRemoved:"ITEM_REMOVED",ItemUpdated:"ITEM_UPDATED",DiscountApplied:"DISCOUNT_APPLIED",DiscountRemoved:"DISCOUNT_REMOVED",RefundInitiated:"REFUND_INITIATED",RefundProcessed:"REFUND_PROCESSED",RefundCanceled:"REFUND_CANCELED",PaymentProcessed:"PAYMENT_PROCESSED",OrderStatusUpdated:"ORDER_STATUS_UPDATED",InventoryUpdated:"INVENTORY_UPDATED",CashSessionOpened:"CASH_SESSION_OPENED",CashSessionClosed:"CASH_SESSION_CLOSED",CashManualAdd:"CASH_MANUAL_ADD",CashManualRemove:"CASH_MANUAL_REMOVE"},Po={Kiosk:"KIOSK",Pos:"POS"},bo={Active:"ACTIVE",Inactive:"INACTIVE"},Ao={NoStation:"NO_STATION"},fo={AdHoc:"AD_HOC",Predefined:"PREDEFINED"},Ro={Round:"ROUND",Square:"SQUARE",Rectangle:"RECTANGLE",Booth:"BOOTH"},xo={Available:"AVAILABLE",Dirty:"DIRTY",Blocked:"BLOCKED",OutOfService:"OUT_OF_SERVICE",Occupied:"OCCUPIED"},Do={Network:"NETWORK"},Co={Custom:"CUSTOM",Day:"DAY",Week:"WEEK",Month:"MONTH",Year:"YEAR"},So={Earn:"earn",Redeem:"redeem",Collect:"collect",Credit:"credit",Debit:"debit",Claimed:"claimed"},Oo={Purchase:"purchase",PurchaseWithCashback:"purchaseWithCashback",Reversal:"reversal",ReturnOfGoods:"returnOfGoods",Bonus:"bonus",Authorization:"authorization",PreAuthorizationIncremental:"preAuthorizationIncremental",PreAuthorizationReversal:"preAuthorizationReversal",PreAuthorizationSaleCompletion:"preAuthorizationSaleCompletion",Deposit:"deposit",BalanceInquiry:"balanceInquiry"},Vo={Instant:"instant",Preorder:"preorder"},Io={AfterAddProduct:"AfterAddProduct",BeforeCheckout:"BeforeCheckout",Disabled:"Disabled"},vo={CardPresent:"CardPresent",Moto:"MOTO",QrDefault:"QrDefault",AliPay:"AliPay",Paypal:"Paypal",Klarna:"Klarna",Iris:"IRIS",Blik:"BLIK"},To={_978:"978",_840:"840",_826:"826",_392:"392",_036:"036",_124:"124",_756:"756",_156:"156",_344:"344",_554:"554",_752:"752",_410:"410",_702:"702",_578:"578",_484:"484",_356:"356",_643:"643",_710:"710",_949:"949",_986:"986",_901:"901",_208:"208",_985:"985",_764:"764",_360:"360",_348:"348",_203:"203",_376:"376",_152:"152",_608:"608",_784:"784",_170:"170",_682:"682",_458:"458",_946:"946"},qo={NUMBER_1000:1e3,NUMBER_1001:1001,NUMBER_1002:1002,NUMBER_1003:1003,NUMBER_1004:1004,NUMBER_1006:1006,NUMBER_1007:1007,NUMBER_1008:1008,NUMBER_1009:1009,NUMBER_1010:1010,NUMBER_1011:1011,NUMBER_1012:1012,NUMBER_1013:1013,NUMBER_1014:1014,NUMBER_1016:1016,NUMBER_1017:1017,NUMBER_1018:1018,NUMBER_1019:1019,NUMBER_1020:1020,NUMBER_1021:1021,NUMBER_1047:1047,NUMBER_1048:1048,NUMBER_1049:1049,NUMBER_1050:1050,NUMBER_1051:1051,NUMBER_1052:1052,NUMBER_1053:1053,NUMBER_1054:1054,NUMBER_1055:1055,NUMBER_1056:1056,NUMBER_1057:1057,NUMBER_1058:1058,NUMBER_1059:1059,NUMBER_1060:1060,NUMBER_1061:1061,NUMBER_1062:1062,NUMBER_1063:1063,NUMBER_1064:1064,NUMBER_1065:1065,NUMBER_1066:1066,NUMBER_1067:1067,NUMBER_1068:1068,NUMBER_1069:1069,NUMBER_1070:1070,NUMBER_1071:1071,NUMBER_1072:1072,NUMBER_1074:1074,NUMBER_1075:1075,NUMBER_1076:1076,NUMBER_1077:1077,NUMBER_1079:1079,NUMBER_1080:1080,NUMBER_1081:1081,NUMBER_1082:1082,NUMBER_1083:1083,NUMBER_1099:1099,NUMBER_1100:1100,NUMBER_1101:1101,NUMBER_1102:1102,NUMBER_1110:1110,NUMBER_1301:1301,NUMBER_1302:1302,NUMBER_1303:1303,NUMBER_2000:2e3,NUMBER_3000:3e3,NUMBER_3001:3001,NUMBER_3002:3002,NUMBER_3099:3099,NUMBER_4000:4e3,NUMBER_5000:5e3,NUMBER_5001:5001,NUMBER_5002:5002,NUMBER_5003:5003,NUMBER_5004:5004,NUMBER_5005:5005,NUMBER_5006:5006,NUMBER_6000:6e3,NUMBER_6102:6102,NUMBER_6201:6201,NUMBER_7001:7001,NUMBER_7002:7002,NUMBER_7003:7003,NUMBER_7004:7004,NUMBER_7005:7005},Eo={NUMBER_1000:1e3,NUMBER_1001:1001,NUMBER_1002:1002,NUMBER_1003:1003,NUMBER_1004:1004,NUMBER_1006:1006,NUMBER_1007:1007,NUMBER_1008:1008,NUMBER_1009:1009,NUMBER_1010:1010,NUMBER_1011:1011,NUMBER_1012:1012,NUMBER_1013:1013,NUMBER_1014:1014,NUMBER_1016:1016,NUMBER_1017:1017,NUMBER_1018:1018,NUMBER_1019:1019,NUMBER_1020:1020,NUMBER_1021:1021,NUMBER_1047:1047,NUMBER_1048:1048,NUMBER_1049:1049,NUMBER_1050:1050,NUMBER_1051:1051,NUMBER_1052:1052,NUMBER_1053:1053,NUMBER_1054:1054,NUMBER_1055:1055,NUMBER_1056:1056,NUMBER_1057:1057,NUMBER_1058:1058,NUMBER_1059:1059,NUMBER_1060:1060,NUMBER_1061:1061,NUMBER_1062:1062,NUMBER_1063:1063,NUMBER_1064:1064,NUMBER_1065:1065,NUMBER_1066:1066,NUMBER_1067:1067,NUMBER_1068:1068,NUMBER_1069:1069,NUMBER_1070:1070,NUMBER_1071:1071,NUMBER_1072:1072,NUMBER_1074:1074,NUMBER_1075:1075,NUMBER_1076:1076,NUMBER_1077:1077,NUMBER_1079:1079,NUMBER_1080:1080,NUMBER_1081:1081,NUMBER_1082:1082,NUMBER_1083:1083,NUMBER_1099:1099,NUMBER_1100:1100,NUMBER_1101:1101,NUMBER_1102:1102,NUMBER_1110:1110,NUMBER_1301:1301,NUMBER_1302:1302,NUMBER_1303:1303,NUMBER_2000:2e3,NUMBER_3000:3e3,NUMBER_3001:3001,NUMBER_3002:3002,NUMBER_3099:3099,NUMBER_4000:4e3,NUMBER_5000:5e3,NUMBER_5001:5001,NUMBER_5002:5002,NUMBER_5003:5003,NUMBER_5004:5004,NUMBER_5005:5005,NUMBER_5006:5006,NUMBER_6000:6e3,NUMBER_6102:6102,NUMBER_6201:6201,NUMBER_7001:7001,NUMBER_7002:7002,NUMBER_7003:7003,NUMBER_7004:7004,NUMBER_7005:7005},Uo={NUMBER_1796:1796,NUMBER_1797:1797,NUMBER_1798:1798,NUMBER_1799:1799,NUMBER_1802:1802,NUMBER_1803:1803,NUMBER_8193:8193,NUMBER_8194:8194},ko={Queued:"QUEUED",InProgress:"IN_PROGRESS",Completed:"COMPLETED",Failed:"FAILED",Cancelled:"CANCELLED"},Mo={Pending:"PENDING",Completed:"COMPLETED",Failed:"FAILED"},Bo={Ok:"OK",NotFound:"NotFound",BadRequest:"BadRequest",Unauthorized:"Unauthorized",Forbidden:"Forbidden",TooManyRequests:"TooManyRequests",ServiceUnavailable:"ServiceUnavailable",InternalServerError:"InternalServerError"},wo={Reversal:"REVERSAL",Refund:"REFUND"},Wt=function(a){return{checkActionPasscode:async(s,e,n,t={})=>{c("checkActionPasscode","businessId",s),c("checkActionPasscode","xPosPin",e),c("checkActionPasscode","checkActionPasscodeDto",n);let r="/api/v2/businesses/{businessId}/action-passcodes/check".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),e!=null&&(u["X-Pos-Pin"]=String(e)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}}}},Ot=function(a){let s=Wt(a);return{async checkActionPasscode(e,n,t,r){let o=await s.checkActionPasscode(e,n,t,r);return h(o,P.default,p,a)}}},Lo=function(a,s,e){let n=Ot(a);return{checkActionPasscode(t,r,o,i){return n.checkActionPasscode(t,r,o,i).then(l=>l(e,s))}}},Ie=class extends V{checkActionPasscode(s,e,n,t){return Ot(this.configuration).checkActionPasscode(s,e,n,t).then(r=>r(this.axios,this.basePath))}},jt=function(a){return{firebaseAuth:async(s={})=>{let e="/api/v1/auth/firebase-login",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},login:async(s,e={})=>{c("login","credentialDto",s);let n="/api/v1/auth/login",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},logout:async(s={})=>{let e="/api/v1/auth/logout",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},refreshToken:async(s,e={})=>{c("refreshToken","refreshTokenDto",s);let n="/api/v1/auth/refresh",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},X=function(a){let s=jt(a);return{async firebaseAuth(e){let n=await s.firebaseAuth(e);return h(n,P.default,p,a)},async login(e,n){let t=await s.login(e,n);return h(t,P.default,p,a)},async logout(e){let n=await s.logout(e);return h(n,P.default,p,a)},async refreshToken(e,n){let t=await s.refreshToken(e,n);return h(t,P.default,p,a)}}},Fo=function(a,s,e){let n=X(a);return{firebaseAuth(t){return n.firebaseAuth(t).then(r=>r(e,s))},login(t,r){return n.login(t,r).then(o=>o(e,s))},logout(t){return n.logout(t).then(r=>r(e,s))},refreshToken(t,r){return n.refreshToken(t,r).then(o=>o(e,s))}}},ve=class extends V{firebaseAuth(s){return X(this.configuration).firebaseAuth(s).then(e=>e(this.axios,this.basePath))}login(s,e){return X(this.configuration).login(s,e).then(n=>n(this.axios,this.basePath))}logout(s){return X(this.configuration).logout(s).then(e=>e(this.axios,this.basePath))}refreshToken(s,e){return X(this.configuration).refreshToken(s,e).then(n=>n(this.axios,this.basePath))}},Kt=function(a){return{getAdvancedDiscounts:async(s,e={})=>{c("getAdvancedDiscounts","businessId",s);let n="/api/v2/business/{businessId}/discount".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getBusinessCategoriesByMenuIdV2:async(s,e,n={})=>{c("getBusinessCategoriesByMenuIdV2","businessId",s),c("getBusinessCategoriesByMenuIdV2","businessCategoryBodyDto",e);let t="/api/v2/business/{businessId}/menu/categories".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},getBusinessCategoriesByMenuIdV3:async(s,e,n={})=>{c("getBusinessCategoriesByMenuIdV3","businessId",s),c("getBusinessCategoriesByMenuIdV3","businessCategoryBodyDto",e);let t="/api/v3/business/{businessId}/menu/categories".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},getBusinessChannelConfigV2:async(s,e,n={})=>{c("getBusinessChannelConfigV2","businessId",s);let t="/api/v2/business/{businessId}/channel-configs".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),e!==void 0&&(u.lang=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getBusinessConfig:async(s,e,n={})=>{c("getBusinessConfig","businessId",s);let t="/api/v1/business/{businessId}/configs".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),e!==void 0&&(u.lang=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getBusinessConfigById:async(s,e,n={})=>{c("getBusinessConfigById","businessId",s);let t="/api/v1/business/{businessId}/external/configs".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),e!==void 0&&(u.lang=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getBusinessConfigByIdV2:async(s,e,n={})=>{c("getBusinessConfigByIdV2","businessId",s);let t="/api/v2/business/{businessId}/external/configs".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),e!==void 0&&(u.lang=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getBusinessMenuByTypeV2:async(s,e,n={})=>{c("getBusinessMenuByTypeV2","businessId",s),c("getBusinessMenuByTypeV2","menuType",e);let t="/api/v2/business/{businessId}/menu/{menuType}".replace("{businessId}",encodeURIComponent(String(s))).replace("{menuType}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getBusinessMenuByTypeV3:async(s,e,n={})=>{c("getBusinessMenuByTypeV3","businessId",s),c("getBusinessMenuByTypeV3","menuType",e);let t="/api/v3/business/{businessId}/menu/{menuType}".replace("{businessId}",encodeURIComponent(String(s))).replace("{menuType}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getBusinessMenuByTypeV4:async(s,e,n={})=>{c("getBusinessMenuByTypeV4","businessId",s),c("getBusinessMenuByTypeV4","menuType",e);let t="/api/v4/business/{businessId}/menu/{menuType}".replace("{businessId}",encodeURIComponent(String(s))).replace("{menuType}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getBusinessProviderStatus:async(s,e={})=>{c("getBusinessProviderStatus","businessId",s);let n="/api/v1/business/{businessId}/provider/status".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getBusinessTax:async(s,e={})=>{let n="/api/v1/business/tax",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),s!==void 0&&(l.businessId=s),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getProvidersSupportedIntegrations:async(s,e={})=>{c("getProvidersSupportedIntegrations","businessIds",s);let n="/api/v1/business/providers/supported-integrations",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),s&&(l.businessIds=s),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getSingleBusinessProviderStatus:async(s,e,n,t={})=>{c("getSingleBusinessProviderStatus","businessId",s),c("getSingleBusinessProviderStatus","provider",e),c("getSingleBusinessProviderStatus","externalId",n);let r="/api/v1/business/{businessId}/{provider}/{externalId}/status".replace("{businessId}",encodeURIComponent(String(s))).replace("{provider}",encodeURIComponent(String(e))).replace("{externalId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},d={};await R(u,a),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},setBusinessStatus:async(s,e,n={})=>{c("setBusinessStatus","businessId",s),c("setBusinessStatus","businessStatusDto",e);let t="/api/v1/business/{businessId}/status".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},setBusinessStatusSchedule:async(s,e,n={})=>{c("setBusinessStatusSchedule","businessId",s),c("setBusinessStatusSchedule","businessStatusDto",e);let t="/api/v1/business/{businessId}/status/schedule".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}}}},U=function(a){let s=Kt(a);return{async getAdvancedDiscounts(e,n){let t=await s.getAdvancedDiscounts(e,n);return h(t,P.default,p,a)},async getBusinessCategoriesByMenuIdV2(e,n,t){let r=await s.getBusinessCategoriesByMenuIdV2(e,n,t);return h(r,P.default,p,a)},async getBusinessCategoriesByMenuIdV3(e,n,t){let r=await s.getBusinessCategoriesByMenuIdV3(e,n,t);return h(r,P.default,p,a)},async getBusinessChannelConfigV2(e,n,t){let r=await s.getBusinessChannelConfigV2(e,n,t);return h(r,P.default,p,a)},async getBusinessConfig(e,n,t){let r=await s.getBusinessConfig(e,n,t);return h(r,P.default,p,a)},async getBusinessConfigById(e,n,t){let r=await s.getBusinessConfigById(e,n,t);return h(r,P.default,p,a)},async getBusinessConfigByIdV2(e,n,t){let r=await s.getBusinessConfigByIdV2(e,n,t);return h(r,P.default,p,a)},async getBusinessMenuByTypeV2(e,n,t){let r=await s.getBusinessMenuByTypeV2(e,n,t);return h(r,P.default,p,a)},async getBusinessMenuByTypeV3(e,n,t){let r=await s.getBusinessMenuByTypeV3(e,n,t);return h(r,P.default,p,a)},async getBusinessMenuByTypeV4(e,n,t){let r=await s.getBusinessMenuByTypeV4(e,n,t);return h(r,P.default,p,a)},async getBusinessProviderStatus(e,n){let t=await s.getBusinessProviderStatus(e,n);return h(t,P.default,p,a)},async getBusinessTax(e,n){let t=await s.getBusinessTax(e,n);return h(t,P.default,p,a)},async getProvidersSupportedIntegrations(e,n){let t=await s.getProvidersSupportedIntegrations(e,n);return h(t,P.default,p,a)},async getSingleBusinessProviderStatus(e,n,t,r){let o=await s.getSingleBusinessProviderStatus(e,n,t,r);return h(o,P.default,p,a)},async setBusinessStatus(e,n,t){let r=await s.setBusinessStatus(e,n,t);return h(r,P.default,p,a)},async setBusinessStatusSchedule(e,n,t){let r=await s.setBusinessStatusSchedule(e,n,t);return h(r,P.default,p,a)}}},_o=function(a,s,e){let n=U(a);return{getAdvancedDiscounts(t,r){return n.getAdvancedDiscounts(t,r).then(o=>o(e,s))},getBusinessCategoriesByMenuIdV2(t,r,o){return n.getBusinessCategoriesByMenuIdV2(t,r,o).then(i=>i(e,s))},getBusinessCategoriesByMenuIdV3(t,r,o){return n.getBusinessCategoriesByMenuIdV3(t,r,o).then(i=>i(e,s))},getBusinessChannelConfigV2(t,r,o){return n.getBusinessChannelConfigV2(t,r,o).then(i=>i(e,s))},getBusinessConfig(t,r,o){return n.getBusinessConfig(t,r,o).then(i=>i(e,s))},getBusinessConfigById(t,r,o){return n.getBusinessConfigById(t,r,o).then(i=>i(e,s))},getBusinessConfigByIdV2(t,r,o){return n.getBusinessConfigByIdV2(t,r,o).then(i=>i(e,s))},getBusinessMenuByTypeV2(t,r,o){return n.getBusinessMenuByTypeV2(t,r,o).then(i=>i(e,s))},getBusinessMenuByTypeV3(t,r,o){return n.getBusinessMenuByTypeV3(t,r,o).then(i=>i(e,s))},getBusinessMenuByTypeV4(t,r,o){return n.getBusinessMenuByTypeV4(t,r,o).then(i=>i(e,s))},getBusinessProviderStatus(t,r){return n.getBusinessProviderStatus(t,r).then(o=>o(e,s))},getBusinessTax(t,r){return n.getBusinessTax(t,r).then(o=>o(e,s))},getProvidersSupportedIntegrations(t,r){return n.getProvidersSupportedIntegrations(t,r).then(o=>o(e,s))},getSingleBusinessProviderStatus(t,r,o,i){return n.getSingleBusinessProviderStatus(t,r,o,i).then(l=>l(e,s))},setBusinessStatus(t,r,o){return n.setBusinessStatus(t,r,o).then(i=>i(e,s))},setBusinessStatusSchedule(t,r,o){return n.setBusinessStatusSchedule(t,r,o).then(i=>i(e,s))}}},Te=class extends V{getAdvancedDiscounts(s,e){return U(this.configuration).getAdvancedDiscounts(s,e).then(n=>n(this.axios,this.basePath))}getBusinessCategoriesByMenuIdV2(s,e,n){return U(this.configuration).getBusinessCategoriesByMenuIdV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessCategoriesByMenuIdV3(s,e,n){return U(this.configuration).getBusinessCategoriesByMenuIdV3(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessChannelConfigV2(s,e,n){return U(this.configuration).getBusinessChannelConfigV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfig(s,e,n){return U(this.configuration).getBusinessConfig(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfigById(s,e,n){return U(this.configuration).getBusinessConfigById(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfigByIdV2(s,e,n){return U(this.configuration).getBusinessConfigByIdV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV2(s,e,n){return U(this.configuration).getBusinessMenuByTypeV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV3(s,e,n){return U(this.configuration).getBusinessMenuByTypeV3(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV4(s,e,n){return U(this.configuration).getBusinessMenuByTypeV4(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessProviderStatus(s,e){return U(this.configuration).getBusinessProviderStatus(s,e).then(n=>n(this.axios,this.basePath))}getBusinessTax(s,e){return U(this.configuration).getBusinessTax(s,e).then(n=>n(this.axios,this.basePath))}getProvidersSupportedIntegrations(s,e){return U(this.configuration).getProvidersSupportedIntegrations(s,e).then(n=>n(this.axios,this.basePath))}getSingleBusinessProviderStatus(s,e,n,t){return U(this.configuration).getSingleBusinessProviderStatus(s,e,n,t).then(r=>r(this.axios,this.basePath))}setBusinessStatus(s,e,n){return U(this.configuration).setBusinessStatus(s,e,n).then(t=>t(this.axios,this.basePath))}setBusinessStatusSchedule(s,e,n){return U(this.configuration).setBusinessStatusSchedule(s,e,n).then(t=>t(this.axios,this.basePath))}},Gt=function(a){return{upsertSchedule:async(s,e,n={})=>{c("upsertSchedule","businessId",s),c("upsertSchedule","upsertBusinessScheduleDto",e);let t="/api/v1/businesses/{businessId}/schedule".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}}}},Vt=function(a){let s=Gt(a);return{async upsertSchedule(e,n,t){let r=await s.upsertSchedule(e,n,t);return h(r,P.default,p,a)}}},No=function(a,s,e){let n=Vt(a);return{upsertSchedule(t,r,o){return n.upsertSchedule(t,r,o).then(i=>i(e,s))}}},qe=class extends V{upsertSchedule(s,e,n){return Vt(this.configuration).upsertSchedule(s,e,n).then(t=>t(this.axios,this.basePath))}},Ht=function(a){return{create:async(s,e,n={})=>{c("create","businessId",s),c("create","cashSessionDto",e);let t="/api/v1/cash-management/{businessId}/create".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},getCashLogs:async(s,e,n,t,r,o,i,l={})=>{c("getCashLogs","businessId",s);let u="/api/v1/cash-management/{businessId}/logs".replace("{businessId}",encodeURIComponent(String(s))),d=new URL(u,m),b;a&&(b=a.baseOptions);let f={method:"GET",...b,...l},D={},x={};await R(D,a),e!==void 0&&(x.timeSpan=e),n!==void 0&&(x.start=n),t!==void 0&&(x.end=t),r!==void 0&&(x.page=r),o!==void 0&&(x.rowPerPage=o),i!==void 0&&(x.timezone=i),y(d,x);let S=b&&b.headers?b.headers:{};return f.headers={...D,...S,...l.headers},{url:g(d),options:f}},getCashSession:async(s,e={})=>{c("getCashSession","businessId",s);let n="/api/v1/cash-management/{businessId}/active-session".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getSessionReport:async(s,e,n={})=>{c("getSessionReport","businessId",s),c("getSessionReport","sessionId",e);let t="/api/v1/cash-management/{businessId}/sessions/{sessionId}/report".replace("{businessId}",encodeURIComponent(String(s))).replace("{sessionId}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},recordCashLog:async(s,e,n={})=>{c("recordCashLog","businessId",s),c("recordCashLog","cashLogDto",e);let t="/api/v1/cash-management/{businessId}/log".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},sendSessionReport:async(s,e,n,t,r={})=>{c("sendSessionReport","businessId",s),c("sendSessionReport","sessionId",e),c("sendSessionReport","sendCashReportDto",n);let o="/api/v1/cash-management/{businessId}/sessions/{sessionId}/send-report".replace("{businessId}",encodeURIComponent(String(s))).replace("{sessionId}",encodeURIComponent(String(e))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"POST",...l,...r},d={},b={};await R(d,a),t!=null&&(d["x-app-x"]=String(t)),d["Content-Type"]="application/json",y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},u.data=A(n,u,a),{url:g(i),options:u}}}},Q=function(a){let s=Ht(a);return{async create(e,n,t){let r=await s.create(e,n,t);return h(r,P.default,p,a)},async getCashLogs(e,n,t,r,o,i,l,u){let d=await s.getCashLogs(e,n,t,r,o,i,l,u);return h(d,P.default,p,a)},async getCashSession(e,n){let t=await s.getCashSession(e,n);return h(t,P.default,p,a)},async getSessionReport(e,n,t){let r=await s.getSessionReport(e,n,t);return h(r,P.default,p,a)},async recordCashLog(e,n,t){let r=await s.recordCashLog(e,n,t);return h(r,P.default,p,a)},async sendSessionReport(e,n,t,r,o){let i=await s.sendSessionReport(e,n,t,r,o);return h(i,P.default,p,a)}}},Wo=function(a,s,e){let n=Q(a);return{create(t,r,o){return n.create(t,r,o).then(i=>i(e,s))},getCashLogs(t,r,o,i,l,u,d,b){return n.getCashLogs(t,r,o,i,l,u,d,b).then(f=>f(e,s))},getCashSession(t,r){return n.getCashSession(t,r).then(o=>o(e,s))},getSessionReport(t,r,o){return n.getSessionReport(t,r,o).then(i=>i(e,s))},recordCashLog(t,r,o){return n.recordCashLog(t,r,o).then(i=>i(e,s))},sendSessionReport(t,r,o,i,l){return n.sendSessionReport(t,r,o,i,l).then(u=>u(e,s))}}},Ee=class extends V{create(s,e,n){return Q(this.configuration).create(s,e,n).then(t=>t(this.axios,this.basePath))}getCashLogs(s,e,n,t,r,o,i,l){return Q(this.configuration).getCashLogs(s,e,n,t,r,o,i,l).then(u=>u(this.axios,this.basePath))}getCashSession(s,e){return Q(this.configuration).getCashSession(s,e).then(n=>n(this.axios,this.basePath))}getSessionReport(s,e,n){return Q(this.configuration).getSessionReport(s,e,n).then(t=>t(this.axios,this.basePath))}recordCashLog(s,e,n){return Q(this.configuration).recordCashLog(s,e,n).then(t=>t(this.axios,this.basePath))}sendSessionReport(s,e,n,t,r){return Q(this.configuration).sendSessionReport(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}},Qt=function(a){return{listCashLogsForTill:async(s,e,n,t,r,o,i,l={})=>{c("listCashLogsForTill","businessId",s);let u="/api/v6/cash-management/{businessId}/logs".replace("{businessId}",encodeURIComponent(String(s))),d=new URL(u,m),b;a&&(b=a.baseOptions);let f={method:"GET",...b,...l},D={},x={};await R(D,a),e!==void 0&&(x.timeSpan=e),n!==void 0&&(x.start=n),t!==void 0&&(x.end=t),r!==void 0&&(x.page=r),o!==void 0&&(x.rowPerPage=o),i!==void 0&&(x.timezone=i),y(d,x);let S=b&&b.headers?b.headers:{};return f.headers={...D,...S,...l.headers},{url:g(d),options:f}}}},It=function(a){let s=Qt(a);return{async listCashLogsForTill(e,n,t,r,o,i,l,u){let d=await s.listCashLogsForTill(e,n,t,r,o,i,l,u);return h(d,P.default,p,a)}}},jo=function(a,s,e){let n=It(a);return{listCashLogsForTill(t,r,o,i,l,u,d,b){return n.listCashLogsForTill(t,r,o,i,l,u,d,b).then(f=>f(e,s))}}},Ue=class extends V{listCashLogsForTill(s,e,n,t,r,o,i,l){return It(this.configuration).listCashLogsForTill(s,e,n,t,r,o,i,l).then(u=>u(this.axios,this.basePath))}},$t=function(a){return{openCashSession:async(s,e,n={})=>{c("openCashSession","businessId",s),c("openCashSession","openCashSessionDto",e);let t="/api/v2/cash-management/{businessId}/sessions".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}}}},vt=function(a){let s=$t(a);return{async openCashSession(e,n,t){let r=await s.openCashSession(e,n,t);return h(r,P.default,p,a)}}},Ko=function(a,s,e){let n=vt(a);return{openCashSession(t,r,o){return n.openCashSession(t,r,o).then(i=>i(e,s))}}},ke=class extends V{openCashSession(s,e,n){return vt(this.configuration).openCashSession(s,e,n).then(t=>t(this.axios,this.basePath))}},Yt=function(a){return{getChannelCatalog:async(s,e,n,t={})=>{c("getChannelCatalog","businessId",s),c("getChannelCatalog","channelType",e);let r="/api/v1/channel-menu/{businessId}/catalog".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},d={};e!==void 0&&(d.channelType=e),n!==void 0&&(d.menuId=n),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getChannelMenu:async(s,e,n,t={})=>{c("getChannelMenu","businessId",s),c("getChannelMenu","channelType",e);let r="/api/v1/channel-menu/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},d={};e!==void 0&&(d.channelType=e),n!==void 0&&(d.deliveryType=n),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getChannelMenuTimes:async(s,e,n={})=>{c("getChannelMenuTimes","businessId",s),c("getChannelMenuTimes","channelType",e);let t="/api/v1/channel-menu/{businessId}/menu-times".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};e!==void 0&&(u.channelType=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}}}},se=function(a){let s=Yt(a);return{async getChannelCatalog(e,n,t,r){let o=await s.getChannelCatalog(e,n,t,r);return h(o,P.default,p,a)},async getChannelMenu(e,n,t,r){let o=await s.getChannelMenu(e,n,t,r);return h(o,P.default,p,a)},async getChannelMenuTimes(e,n,t){let r=await s.getChannelMenuTimes(e,n,t);return h(r,P.default,p,a)}}},Go=function(a,s,e){let n=se(a);return{getChannelCatalog(t,r,o,i){return n.getChannelCatalog(t,r,o,i).then(l=>l(e,s))},getChannelMenu(t,r,o,i){return n.getChannelMenu(t,r,o,i).then(l=>l(e,s))},getChannelMenuTimes(t,r,o){return n.getChannelMenuTimes(t,r,o).then(i=>i(e,s))}}},Me=class extends V{getChannelCatalog(s,e,n,t){return se(this.configuration).getChannelCatalog(s,e,n,t).then(r=>r(this.axios,this.basePath))}getChannelMenu(s,e,n,t){return se(this.configuration).getChannelMenu(s,e,n,t).then(r=>r(this.axios,this.basePath))}getChannelMenuTimes(s,e,n){return se(this.configuration).getChannelMenuTimes(s,e,n).then(t=>t(this.axios,this.basePath))}},zt=function(a){return{configConfigureMunchiGiftCard:async(s,e,n,t={})=>{c("configConfigureMunchiGiftCard","businessId",s),c("configConfigureMunchiGiftCard","xAppX",e),c("configConfigureMunchiGiftCard","configureMunchiGiftCardDto",n);let r="/api/v1/config-management/business/{businessId}/config/munchi-giftcard".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},configGetProviders:async(s,e,n={})=>{c("configGetProviders","businessId",s),c("configGetProviders","xAppX",e);let t="/api/v1/config-management/business/{businessId}/providers".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),e!=null&&(l["x-app-x"]=String(e)),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},configManualSync:async(s,e,n={})=>{c("configManualSync","businessId",s),c("configManualSync","manualSyncDto",e);let t="/api/v1/config-management/business/{businessId}/sync".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},configRemovePaymentOption:async(s,e,n,t={})=>{c("configRemovePaymentOption","businessId",s),c("configRemovePaymentOption","id",e),c("configRemovePaymentOption","xAppX",n);let r="/api/v1/config-management/business/{businessId}/config/payment-options/{id}".replace("{businessId}",encodeURIComponent(String(s))).replace("{id}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"DELETE",...i,...t},u={},d={};await R(u,a),n!=null&&(u["x-app-x"]=String(n)),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},configSaveEpassiCredentials:async(s,e,n,t,r={})=>{c("configSaveEpassiCredentials","businessId",s),c("configSaveEpassiCredentials","xAppX",e),c("configSaveEpassiCredentials","xEpassiAccessKey",n),c("configSaveEpassiCredentials","saveEpassiCredentialsDto",t);let o="/api/v1/config-management/business/{businessId}/config/epassi".replace("{businessId}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"POST",...l,...r},d={},b={};await R(d,a),e!=null&&(d["x-app-x"]=String(e)),n!=null&&(d["X-Epassi-Access-Key"]=String(n)),d["Content-Type"]="application/json",y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},configUpsertBusiness:async(s,e,n={})=>{c("configUpsertBusiness","businessId",s),c("configUpsertBusiness","upsertBusinessDto",e);let t="/api/v1/config-management/business/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},configUpsertChannelConfig:async(s,e,n,t={})=>{c("configUpsertChannelConfig","businessId",s),c("configUpsertChannelConfig","xAppX",e),c("configUpsertChannelConfig","upsertConfigDto",n);let r="/api/v1/config-management/business/{businessId}/config".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},configUpsertGiftCard:async(s,e,n,t={})=>{c("configUpsertGiftCard","businessId",s),c("configUpsertGiftCard","xAppX",e),c("configUpsertGiftCard","upsertGiftCardDto",n);let r="/api/v1/config-management/business/{businessId}/config/giftcard".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},configUpsertLoyalty:async(s,e,n={})=>{c("configUpsertLoyalty","businessId",s),c("configUpsertLoyalty","upsertLoyaltyDto",e);let t="/api/v1/config-management/business/{businessId}/loyalty".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},configUpsertNets:async(s,e,n,t={})=>{c("configUpsertNets","businessId",s),c("configUpsertNets","xAppX",e),c("configUpsertNets","upsertNetsDto",n);let r="/api/v1/config-management/business/{businessId}/config/nets".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},configUpsertPaymentOptions:async(s,e,n,t={})=>{c("configUpsertPaymentOptions","businessId",s),c("configUpsertPaymentOptions","xAppX",e),c("configUpsertPaymentOptions","upsertPaymentOptionsDto",n);let r="/api/v1/config-management/business/{businessId}/config/payment-options".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},configUpsertProviders:async(s,e,n,t={})=>{c("configUpsertProviders","businessId",s),c("configUpsertProviders","xAppX",e),c("configUpsertProviders","upsertProvidersDto",n);let r="/api/v1/config-management/business/{businessId}/providers".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},configUpsertStripe:async(s,e,n,t={})=>{c("configUpsertStripe","businessId",s),c("configUpsertStripe","xAppX",e),c("configUpsertStripe","upsertStripeDto",n);let r="/api/v1/config-management/business/{businessId}/config/stripe".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},configUpsertViva:async(s,e,n,t={})=>{c("configUpsertViva","businessId",s),c("configUpsertViva","xAppX",e),c("configUpsertViva","upsertVivaDto",n);let r="/api/v1/config-management/business/{businessId}/config/viva".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}}}},M=function(a){let s=zt(a);return{async configConfigureMunchiGiftCard(e,n,t,r){let o=await s.configConfigureMunchiGiftCard(e,n,t,r);return h(o,P.default,p,a)},async configGetProviders(e,n,t){let r=await s.configGetProviders(e,n,t);return h(r,P.default,p,a)},async configManualSync(e,n,t){let r=await s.configManualSync(e,n,t);return h(r,P.default,p,a)},async configRemovePaymentOption(e,n,t,r){let o=await s.configRemovePaymentOption(e,n,t,r);return h(o,P.default,p,a)},async configSaveEpassiCredentials(e,n,t,r,o){let i=await s.configSaveEpassiCredentials(e,n,t,r,o);return h(i,P.default,p,a)},async configUpsertBusiness(e,n,t){let r=await s.configUpsertBusiness(e,n,t);return h(r,P.default,p,a)},async configUpsertChannelConfig(e,n,t,r){let o=await s.configUpsertChannelConfig(e,n,t,r);return h(o,P.default,p,a)},async configUpsertGiftCard(e,n,t,r){let o=await s.configUpsertGiftCard(e,n,t,r);return h(o,P.default,p,a)},async configUpsertLoyalty(e,n,t){let r=await s.configUpsertLoyalty(e,n,t);return h(r,P.default,p,a)},async configUpsertNets(e,n,t,r){let o=await s.configUpsertNets(e,n,t,r);return h(o,P.default,p,a)},async configUpsertPaymentOptions(e,n,t,r){let o=await s.configUpsertPaymentOptions(e,n,t,r);return h(o,P.default,p,a)},async configUpsertProviders(e,n,t,r){let o=await s.configUpsertProviders(e,n,t,r);return h(o,P.default,p,a)},async configUpsertStripe(e,n,t,r){let o=await s.configUpsertStripe(e,n,t,r);return h(o,P.default,p,a)},async configUpsertViva(e,n,t,r){let o=await s.configUpsertViva(e,n,t,r);return h(o,P.default,p,a)}}},Ho=function(a,s,e){let n=M(a);return{configConfigureMunchiGiftCard(t,r,o,i){return n.configConfigureMunchiGiftCard(t,r,o,i).then(l=>l(e,s))},configGetProviders(t,r,o){return n.configGetProviders(t,r,o).then(i=>i(e,s))},configManualSync(t,r,o){return n.configManualSync(t,r,o).then(i=>i(e,s))},configRemovePaymentOption(t,r,o,i){return n.configRemovePaymentOption(t,r,o,i).then(l=>l(e,s))},configSaveEpassiCredentials(t,r,o,i,l){return n.configSaveEpassiCredentials(t,r,o,i,l).then(u=>u(e,s))},configUpsertBusiness(t,r,o){return n.configUpsertBusiness(t,r,o).then(i=>i(e,s))},configUpsertChannelConfig(t,r,o,i){return n.configUpsertChannelConfig(t,r,o,i).then(l=>l(e,s))},configUpsertGiftCard(t,r,o,i){return n.configUpsertGiftCard(t,r,o,i).then(l=>l(e,s))},configUpsertLoyalty(t,r,o){return n.configUpsertLoyalty(t,r,o).then(i=>i(e,s))},configUpsertNets(t,r,o,i){return n.configUpsertNets(t,r,o,i).then(l=>l(e,s))},configUpsertPaymentOptions(t,r,o,i){return n.configUpsertPaymentOptions(t,r,o,i).then(l=>l(e,s))},configUpsertProviders(t,r,o,i){return n.configUpsertProviders(t,r,o,i).then(l=>l(e,s))},configUpsertStripe(t,r,o,i){return n.configUpsertStripe(t,r,o,i).then(l=>l(e,s))},configUpsertViva(t,r,o,i){return n.configUpsertViva(t,r,o,i).then(l=>l(e,s))}}},Be=class extends V{configConfigureMunchiGiftCard(s,e,n,t){return M(this.configuration).configConfigureMunchiGiftCard(s,e,n,t).then(r=>r(this.axios,this.basePath))}configGetProviders(s,e,n){return M(this.configuration).configGetProviders(s,e,n).then(t=>t(this.axios,this.basePath))}configManualSync(s,e,n){return M(this.configuration).configManualSync(s,e,n).then(t=>t(this.axios,this.basePath))}configRemovePaymentOption(s,e,n,t){return M(this.configuration).configRemovePaymentOption(s,e,n,t).then(r=>r(this.axios,this.basePath))}configSaveEpassiCredentials(s,e,n,t,r){return M(this.configuration).configSaveEpassiCredentials(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}configUpsertBusiness(s,e,n){return M(this.configuration).configUpsertBusiness(s,e,n).then(t=>t(this.axios,this.basePath))}configUpsertChannelConfig(s,e,n,t){return M(this.configuration).configUpsertChannelConfig(s,e,n,t).then(r=>r(this.axios,this.basePath))}configUpsertGiftCard(s,e,n,t){return M(this.configuration).configUpsertGiftCard(s,e,n,t).then(r=>r(this.axios,this.basePath))}configUpsertLoyalty(s,e,n){return M(this.configuration).configUpsertLoyalty(s,e,n).then(t=>t(this.axios,this.basePath))}configUpsertNets(s,e,n,t){return M(this.configuration).configUpsertNets(s,e,n,t).then(r=>r(this.axios,this.basePath))}configUpsertPaymentOptions(s,e,n,t){return M(this.configuration).configUpsertPaymentOptions(s,e,n,t).then(r=>r(this.axios,this.basePath))}configUpsertProviders(s,e,n,t){return M(this.configuration).configUpsertProviders(s,e,n,t).then(r=>r(this.axios,this.basePath))}configUpsertStripe(s,e,n,t){return M(this.configuration).configUpsertStripe(s,e,n,t).then(r=>r(this.axios,this.basePath))}configUpsertViva(s,e,n,t){return M(this.configuration).configUpsertViva(s,e,n,t).then(r=>r(this.axios,this.basePath))}},Xt=function(a){return{getCourseConfig:async(s,e={})=>{c("getCourseConfig","businessId",s);let n="/api/v1/courses/{businessId}/config".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getCourses:async(s,e={})=>{c("getCourses","businessId",s);let n="/api/v1/courses/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}}}},ye=function(a){let s=Xt(a);return{async getCourseConfig(e,n){let t=await s.getCourseConfig(e,n);return h(t,P.default,p,a)},async getCourses(e,n){let t=await s.getCourses(e,n);return h(t,P.default,p,a)}}},Qo=function(a,s,e){let n=ye(a);return{getCourseConfig(t,r){return n.getCourseConfig(t,r).then(o=>o(e,s))},getCourses(t,r){return n.getCourses(t,r).then(o=>o(e,s))}}},we=class extends V{getCourseConfig(s,e){return ye(this.configuration).getCourseConfig(s,e).then(n=>n(this.axios,this.basePath))}getCourses(s,e){return ye(this.configuration).getCourses(s,e).then(n=>n(this.axios,this.basePath))}},Jt=function(a){return{findIntent:async(s,e={})=>{c("findIntent","intentId",s);let n="/api/webhook/delivery-intent/{intentId}".replace("{intentId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},updateIntent:async(s,e,n={})=>{c("updateIntent","intentId",s),c("updateIntent","updateDeliveryIntentDto",e);let t="/api/webhook/delivery-intent/{intentId}".replace("{intentId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...n},l={},u={};l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}}}},ge=function(a){let s=Jt(a);return{async findIntent(e,n){let t=await s.findIntent(e,n);return h(t,P.default,p,a)},async updateIntent(e,n,t){let r=await s.updateIntent(e,n,t);return h(r,P.default,p,a)}}},$o=function(a,s,e){let n=ge(a);return{findIntent(t,r){return n.findIntent(t,r).then(o=>o(e,s))},updateIntent(t,r,o){return n.updateIntent(t,r,o).then(i=>i(e,s))}}},Le=class extends V{findIntent(s,e){return ge(this.configuration).findIntent(s,e).then(n=>n(this.axios,this.basePath))}updateIntent(s,e,n){return ge(this.configuration).updateIntent(s,e,n).then(t=>t(this.axios,this.basePath))}},Zt=function(a){return{init:async(s,e={})=>{let n="/api/v1/display/init",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},pair:async(s,e={})=>{c("pair","pairDisplayBodyDto",s);let n="/api/v1/display/pair",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},sessionToken:async(s,e={})=>{c("sessionToken","requestSessionTokenBodyDto",s);let n="/api/v1/display/session-token",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},unpair:async(s,e={})=>{c("unpair","unpairDisplayBodyDto",s);let n="/api/v1/display/unpair",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},J=function(a){let s=Zt(a);return{async init(e,n){let t=await s.init(e,n);return h(t,P.default,p,a)},async pair(e,n){let t=await s.pair(e,n);return h(t,P.default,p,a)},async sessionToken(e,n){let t=await s.sessionToken(e,n);return h(t,P.default,p,a)},async unpair(e,n){let t=await s.unpair(e,n);return h(t,P.default,p,a)}}},Yo=function(a,s,e){let n=J(a);return{init(t,r){return n.init(t,r).then(o=>o(e,s))},pair(t,r){return n.pair(t,r).then(o=>o(e,s))},sessionToken(t,r){return n.sessionToken(t,r).then(o=>o(e,s))},unpair(t,r){return n.unpair(t,r).then(o=>o(e,s))}}},Fe=class extends V{init(s,e){return J(this.configuration).init(s,e).then(n=>n(this.axios,this.basePath))}pair(s,e){return J(this.configuration).pair(s,e).then(n=>n(this.axios,this.basePath))}sessionToken(s,e){return J(this.configuration).sessionToken(s,e).then(n=>n(this.axios,this.basePath))}unpair(s,e){return J(this.configuration).unpair(s,e).then(n=>n(this.axios,this.basePath))}},es=function(a){return{createDiningTable:async(s,e={})=>{c("createDiningTable","createDiningTableDto",s);let n="/api/v1/floor-plan/tables",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},createFloorSection:async(s,e={})=>{c("createFloorSection","createFloorSectionDto",s);let n="/api/v1/floor-plan/sections",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},deleteDiningTable:async(s,e,n={})=>{c("deleteDiningTable","id",s),c("deleteDiningTable","businessId",e);let t="/api/v1/floor-plan/tables/{id}".replace("{id}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...n},l={},u={};await R(l,a),e!==void 0&&(u.businessId=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},deleteFloorSection:async(s,e,n={})=>{c("deleteFloorSection","id",s),c("deleteFloorSection","businessId",e);let t="/api/v1/floor-plan/sections/{id}".replace("{id}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...n},l={},u={};await R(l,a),e!==void 0&&(u.businessId=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},dissolveTableGroup:async(s,e,n={})=>{c("dissolveTableGroup","id",s),c("dissolveTableGroup","businessId",e);let t="/api/v1/floor-plan/table-groups/{id}/dissolve".replace("{id}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),e!==void 0&&(u.businessId=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getFloorPlan:async(s,e={})=>{c("getFloorPlan","businessId",s);let n="/api/v1/floor-plan",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),s!==void 0&&(l.businessId=s),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},joinTables:async(s,e,n={})=>{c("joinTables","businessId",s),c("joinTables","joinTablesDto",e);let t="/api/v1/floor-plan/table-groups/join",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),s!==void 0&&(u.businessId=s),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},removeTableFromGroup:async(s,e,n={})=>{c("removeTableFromGroup","id",s),c("removeTableFromGroup","businessId",e);let t="/api/v1/floor-plan/tables/{id}/remove-from-group".replace("{id}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),e!==void 0&&(u.businessId=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},transferTable:async(s,e,n,t={})=>{c("transferTable","id",s),c("transferTable","businessId",e),c("transferTable","transferTableDto",n);let r="/api/v1/floor-plan/tables/{id}/transfer".replace("{id}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),e!==void 0&&(d.businessId=e),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},updateDiningTable:async(s,e,n,t={})=>{c("updateDiningTable","id",s),c("updateDiningTable","businessId",e),c("updateDiningTable","updateDiningTableDto",n);let r="/api/v1/floor-plan/tables/{id}".replace("{id}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},d={};await R(u,a),e!==void 0&&(d.businessId=e),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},updateFloorSection:async(s,e,n,t={})=>{c("updateFloorSection","id",s),c("updateFloorSection","businessId",e),c("updateFloorSection","updateFloorSectionDto",n);let r="/api/v1/floor-plan/sections/{id}".replace("{id}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},d={};await R(u,a),e!==void 0&&(d.businessId=e),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},updateTablePosition:async(s,e,n,t={})=>{c("updateTablePosition","id",s),c("updateTablePosition","businessId",e),c("updateTablePosition","updateTablePositionDto",n);let r="/api/v1/floor-plan/tables/{id}/position".replace("{id}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},d={};await R(u,a),e!==void 0&&(d.businessId=e),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},updateTableStatus:async(s,e,n,t={})=>{c("updateTableStatus","id",s),c("updateTableStatus","businessId",e),c("updateTableStatus","updateTableStatusDto",n);let r="/api/v1/floor-plan/tables/{id}/status".replace("{id}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},d={};await R(u,a),e!==void 0&&(d.businessId=e),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}}}},w=function(a){let s=es(a);return{async createDiningTable(e,n){let t=await s.createDiningTable(e,n);return h(t,P.default,p,a)},async createFloorSection(e,n){let t=await s.createFloorSection(e,n);return h(t,P.default,p,a)},async deleteDiningTable(e,n,t){let r=await s.deleteDiningTable(e,n,t);return h(r,P.default,p,a)},async deleteFloorSection(e,n,t){let r=await s.deleteFloorSection(e,n,t);return h(r,P.default,p,a)},async dissolveTableGroup(e,n,t){let r=await s.dissolveTableGroup(e,n,t);return h(r,P.default,p,a)},async getFloorPlan(e,n){let t=await s.getFloorPlan(e,n);return h(t,P.default,p,a)},async joinTables(e,n,t){let r=await s.joinTables(e,n,t);return h(r,P.default,p,a)},async removeTableFromGroup(e,n,t){let r=await s.removeTableFromGroup(e,n,t);return h(r,P.default,p,a)},async transferTable(e,n,t,r){let o=await s.transferTable(e,n,t,r);return h(o,P.default,p,a)},async updateDiningTable(e,n,t,r){let o=await s.updateDiningTable(e,n,t,r);return h(o,P.default,p,a)},async updateFloorSection(e,n,t,r){let o=await s.updateFloorSection(e,n,t,r);return h(o,P.default,p,a)},async updateTablePosition(e,n,t,r){let o=await s.updateTablePosition(e,n,t,r);return h(o,P.default,p,a)},async updateTableStatus(e,n,t,r){let o=await s.updateTableStatus(e,n,t,r);return h(o,P.default,p,a)}}},zo=function(a,s,e){let n=w(a);return{createDiningTable(t,r){return n.createDiningTable(t,r).then(o=>o(e,s))},createFloorSection(t,r){return n.createFloorSection(t,r).then(o=>o(e,s))},deleteDiningTable(t,r,o){return n.deleteDiningTable(t,r,o).then(i=>i(e,s))},deleteFloorSection(t,r,o){return n.deleteFloorSection(t,r,o).then(i=>i(e,s))},dissolveTableGroup(t,r,o){return n.dissolveTableGroup(t,r,o).then(i=>i(e,s))},getFloorPlan(t,r){return n.getFloorPlan(t,r).then(o=>o(e,s))},joinTables(t,r,o){return n.joinTables(t,r,o).then(i=>i(e,s))},removeTableFromGroup(t,r,o){return n.removeTableFromGroup(t,r,o).then(i=>i(e,s))},transferTable(t,r,o,i){return n.transferTable(t,r,o,i).then(l=>l(e,s))},updateDiningTable(t,r,o,i){return n.updateDiningTable(t,r,o,i).then(l=>l(e,s))},updateFloorSection(t,r,o,i){return n.updateFloorSection(t,r,o,i).then(l=>l(e,s))},updateTablePosition(t,r,o,i){return n.updateTablePosition(t,r,o,i).then(l=>l(e,s))},updateTableStatus(t,r,o,i){return n.updateTableStatus(t,r,o,i).then(l=>l(e,s))}}},_e=class extends V{createDiningTable(s,e){return w(this.configuration).createDiningTable(s,e).then(n=>n(this.axios,this.basePath))}createFloorSection(s,e){return w(this.configuration).createFloorSection(s,e).then(n=>n(this.axios,this.basePath))}deleteDiningTable(s,e,n){return w(this.configuration).deleteDiningTable(s,e,n).then(t=>t(this.axios,this.basePath))}deleteFloorSection(s,e,n){return w(this.configuration).deleteFloorSection(s,e,n).then(t=>t(this.axios,this.basePath))}dissolveTableGroup(s,e,n){return w(this.configuration).dissolveTableGroup(s,e,n).then(t=>t(this.axios,this.basePath))}getFloorPlan(s,e){return w(this.configuration).getFloorPlan(s,e).then(n=>n(this.axios,this.basePath))}joinTables(s,e,n){return w(this.configuration).joinTables(s,e,n).then(t=>t(this.axios,this.basePath))}removeTableFromGroup(s,e,n){return w(this.configuration).removeTableFromGroup(s,e,n).then(t=>t(this.axios,this.basePath))}transferTable(s,e,n,t){return w(this.configuration).transferTable(s,e,n,t).then(r=>r(this.axios,this.basePath))}updateDiningTable(s,e,n,t){return w(this.configuration).updateDiningTable(s,e,n,t).then(r=>r(this.axios,this.basePath))}updateFloorSection(s,e,n,t){return w(this.configuration).updateFloorSection(s,e,n,t).then(r=>r(this.axios,this.basePath))}updateTablePosition(s,e,n,t){return w(this.configuration).updateTablePosition(s,e,n,t).then(r=>r(this.axios,this.basePath))}updateTableStatus(s,e,n,t){return w(this.configuration).updateTableStatus(s,e,n,t).then(r=>r(this.axios,this.basePath))}},ts=function(a){return{redeemGiftCard:async(s,e={})=>{c("redeemGiftCard","redeemGiftCardDto",s);let n="/api/v1/giftcard/redeem",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},validateGiftCard:async(s,e={})=>{c("validateGiftCard","validateGiftCardDto",s);let n="/api/v1/giftcard/validate",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},he=function(a){let s=ts(a);return{async redeemGiftCard(e,n){let t=await s.redeemGiftCard(e,n);return h(t,P.default,p,a)},async validateGiftCard(e,n){let t=await s.validateGiftCard(e,n);return h(t,P.default,p,a)}}},Xo=function(a,s,e){let n=he(a);return{redeemGiftCard(t,r){return n.redeemGiftCard(t,r).then(o=>o(e,s))},validateGiftCard(t,r){return n.validateGiftCard(t,r).then(o=>o(e,s))}}},Ne=class extends V{redeemGiftCard(s,e){return he(this.configuration).redeemGiftCard(s,e).then(n=>n(this.axios,this.basePath))}validateGiftCard(s,e){return he(this.configuration).validateGiftCard(s,e).then(n=>n(this.axios,this.basePath))}},ss=function(a){return{getOrderHistoryPOSV5:async(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S={})=>{c("getOrderHistoryPOSV5","businessIds",s);let I="/api/v5/history/orders/pos",v=new URL(I,m),O;a&&(O=a.baseOptions);let T={method:"GET",...O,...S},B={},C={};await R(B,a),e!==void 0&&(C.timeSpan=e),n!==void 0&&(C.start=n),t!==void 0&&(C.end=t),s&&(C.businessIds=s),r!==void 0&&(C.page=r),o!==void 0&&(C.rowPerPage=o),i&&(C.provider=i),l&&(C.paymentType=l),u&&(C.orderStatus=u),d&&(C.paymentStatus=d),b&&(C.orderType=b),f&&(C.paymentTypePos=f),D!==void 0&&(C.invoiceCompanyId=D),x!==void 0&&(C.timezone=x),y(v,C);let j=O&&O.headers?O.headers:{};return T.headers={...B,...j,...S.headers},{url:g(v),options:T}},getOrderHistoryPOSV5Internal:async(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S={})=>{c("getOrderHistoryPOSV5Internal","businessIds",s);let I="/api/v5/history/internal/orders/pos",v=new URL(I,m),O;a&&(O=a.baseOptions);let T={method:"GET",...O,...S},B={},C={};await R(B,a),e!==void 0&&(C.timeSpan=e),n!==void 0&&(C.start=n),t!==void 0&&(C.end=t),s&&(C.businessIds=s),r!==void 0&&(C.page=r),o!==void 0&&(C.rowPerPage=o),i&&(C.provider=i),l&&(C.paymentType=l),u&&(C.orderStatus=u),d&&(C.paymentStatus=d),b&&(C.orderType=b),f&&(C.paymentTypePos=f),D!==void 0&&(C.invoiceCompanyId=D),x!==void 0&&(C.timezone=x),y(v,C);let j=O&&O.headers?O.headers:{};return T.headers={...B,...j,...S.headers},{url:g(v),options:T}}}},Pe=function(a){let s=ss(a);return{async getOrderHistoryPOSV5(e,n,t,r,o,i,l,u,d,b,f,D,x,S,I){let v=await s.getOrderHistoryPOSV5(e,n,t,r,o,i,l,u,d,b,f,D,x,S,I);return h(v,P.default,p,a)},async getOrderHistoryPOSV5Internal(e,n,t,r,o,i,l,u,d,b,f,D,x,S,I){let v=await s.getOrderHistoryPOSV5Internal(e,n,t,r,o,i,l,u,d,b,f,D,x,S,I);return h(v,P.default,p,a)}}},Jo=function(a,s,e){let n=Pe(a);return{getOrderHistoryPOSV5(t,r,o,i,l,u,d,b,f,D,x,S,I,v,O){return n.getOrderHistoryPOSV5(t,r,o,i,l,u,d,b,f,D,x,S,I,v,O).then(T=>T(e,s))},getOrderHistoryPOSV5Internal(t,r,o,i,l,u,d,b,f,D,x,S,I,v,O){return n.getOrderHistoryPOSV5Internal(t,r,o,i,l,u,d,b,f,D,x,S,I,v,O).then(T=>T(e,s))}}},We=class extends V{getOrderHistoryPOSV5(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S){return Pe(this.configuration).getOrderHistoryPOSV5(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S).then(I=>I(this.axios,this.basePath))}getOrderHistoryPOSV5Internal(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S){return Pe(this.configuration).getOrderHistoryPOSV5Internal(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S).then(I=>I(this.axios,this.basePath))}},ns=function(a){return{listOnlineOrderHistoryForServices:async(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S={})=>{c("listOnlineOrderHistoryForServices","businessIds",s);let I="/api/v6/history/internal/orders",v=new URL(I,m),O;a&&(O=a.baseOptions);let T={method:"GET",...O,...S},B={},C={};e!==void 0&&(C.timeSpan=e),n!==void 0&&(C.start=n),t!==void 0&&(C.end=t),s&&(C.businessIds=s),r!==void 0&&(C.page=r),o!==void 0&&(C.rowPerPage=o),i&&(C.provider=i),l&&(C.paymentType=l),u&&(C.orderStatus=u),d&&(C.paymentStatus=d),b&&(C.orderType=b),f&&(C.paymentTypePos=f),D!==void 0&&(C.invoiceCompanyId=D),x!==void 0&&(C.timezone=x),y(v,C);let j=O&&O.headers?O.headers:{};return T.headers={...B,...j,...S.headers},{url:g(v),options:T}},listOnlineOrderHistoryForTill:async(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S={})=>{c("listOnlineOrderHistoryForTill","businessIds",s);let I="/api/v6/history/orders",v=new URL(I,m),O;a&&(O=a.baseOptions);let T={method:"GET",...O,...S},B={},C={};await R(B,a),e!==void 0&&(C.timeSpan=e),n!==void 0&&(C.start=n),t!==void 0&&(C.end=t),s&&(C.businessIds=s),r!==void 0&&(C.page=r),o!==void 0&&(C.rowPerPage=o),i&&(C.provider=i),l&&(C.paymentType=l),u&&(C.orderStatus=u),d&&(C.paymentStatus=d),b&&(C.orderType=b),f&&(C.paymentTypePos=f),D!==void 0&&(C.invoiceCompanyId=D),x!==void 0&&(C.timezone=x),y(v,C);let j=O&&O.headers?O.headers:{};return T.headers={...B,...j,...S.headers},{url:g(v),options:T}},listOrderHistoryForTill:async(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S={})=>{c("listOrderHistoryForTill","businessIds",s);let I="/api/v6/history/orders/pos",v=new URL(I,m),O;a&&(O=a.baseOptions);let T={method:"GET",...O,...S},B={},C={};await R(B,a),e!==void 0&&(C.timeSpan=e),n!==void 0&&(C.start=n),t!==void 0&&(C.end=t),s&&(C.businessIds=s),r!==void 0&&(C.page=r),o!==void 0&&(C.rowPerPage=o),i&&(C.provider=i),l&&(C.paymentType=l),u&&(C.orderStatus=u),d&&(C.paymentStatus=d),b&&(C.orderType=b),f&&(C.paymentTypePos=f),D!==void 0&&(C.invoiceCompanyId=D),x!==void 0&&(C.timezone=x),y(v,C);let j=O&&O.headers?O.headers:{};return T.headers={...B,...j,...S.headers},{url:g(v),options:T}}}},ne=function(a){let s=ns(a);return{async listOnlineOrderHistoryForServices(e,n,t,r,o,i,l,u,d,b,f,D,x,S,I){let v=await s.listOnlineOrderHistoryForServices(e,n,t,r,o,i,l,u,d,b,f,D,x,S,I);return h(v,P.default,p,a)},async listOnlineOrderHistoryForTill(e,n,t,r,o,i,l,u,d,b,f,D,x,S,I){let v=await s.listOnlineOrderHistoryForTill(e,n,t,r,o,i,l,u,d,b,f,D,x,S,I);return h(v,P.default,p,a)},async listOrderHistoryForTill(e,n,t,r,o,i,l,u,d,b,f,D,x,S,I){let v=await s.listOrderHistoryForTill(e,n,t,r,o,i,l,u,d,b,f,D,x,S,I);return h(v,P.default,p,a)}}},Zo=function(a,s,e){let n=ne(a);return{listOnlineOrderHistoryForServices(t,r,o,i,l,u,d,b,f,D,x,S,I,v,O){return n.listOnlineOrderHistoryForServices(t,r,o,i,l,u,d,b,f,D,x,S,I,v,O).then(T=>T(e,s))},listOnlineOrderHistoryForTill(t,r,o,i,l,u,d,b,f,D,x,S,I,v,O){return n.listOnlineOrderHistoryForTill(t,r,o,i,l,u,d,b,f,D,x,S,I,v,O).then(T=>T(e,s))},listOrderHistoryForTill(t,r,o,i,l,u,d,b,f,D,x,S,I,v,O){return n.listOrderHistoryForTill(t,r,o,i,l,u,d,b,f,D,x,S,I,v,O).then(T=>T(e,s))}}},je=class extends V{listOnlineOrderHistoryForServices(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S){return ne(this.configuration).listOnlineOrderHistoryForServices(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S).then(I=>I(this.axios,this.basePath))}listOnlineOrderHistoryForTill(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S){return ne(this.configuration).listOnlineOrderHistoryForTill(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S).then(I=>I(this.axios,this.basePath))}listOrderHistoryForTill(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S){return ne(this.configuration).listOrderHistoryForTill(s,e,n,t,r,o,i,l,u,d,b,f,D,x,S).then(I=>I(this.axios,this.basePath))}},rs=function(a){return{createInvoiceCompany:async(s,e={})=>{c("createInvoiceCompany","createInvoiceCompanyDto",s);let n="/api/v1/invoice-companies",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},deleteInvoiceCompany:async(s,e,n={})=>{c("deleteInvoiceCompany","id",s),c("deleteInvoiceCompany","businessId",e);let t="/api/v1/invoice-companies/{id}".replace("{id}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...n},l={},u={};await R(l,a),e!==void 0&&(u.businessId=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getInvoiceCompanies:async(s,e={})=>{c("getInvoiceCompanies","businessId",s);let n="/api/v1/invoice-companies",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),s!==void 0&&(l.businessId=s),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getInvoiceCompanyById:async(s,e,n={})=>{c("getInvoiceCompanyById","id",s),c("getInvoiceCompanyById","businessId",e);let t="/api/v1/invoice-companies/{id}".replace("{id}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),e!==void 0&&(u.businessId=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},searchInvoiceCompanies:async(s,e,n={})=>{c("searchInvoiceCompanies","businessId",s);let t="/api/v1/invoice-companies/search",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),s!==void 0&&(u.businessId=s),e!==void 0&&(u.search=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},updateInvoiceCompany:async(s,e,n,t={})=>{c("updateInvoiceCompany","id",s),c("updateInvoiceCompany","businessId",e),c("updateInvoiceCompany","updateInvoiceCompanyDto",n);let r="/api/v1/invoice-companies/{id}".replace("{id}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},d={};await R(u,a),e!==void 0&&(d.businessId=e),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}}}},$=function(a){let s=rs(a);return{async createInvoiceCompany(e,n){let t=await s.createInvoiceCompany(e,n);return h(t,P.default,p,a)},async deleteInvoiceCompany(e,n,t){let r=await s.deleteInvoiceCompany(e,n,t);return h(r,P.default,p,a)},async getInvoiceCompanies(e,n){let t=await s.getInvoiceCompanies(e,n);return h(t,P.default,p,a)},async getInvoiceCompanyById(e,n,t){let r=await s.getInvoiceCompanyById(e,n,t);return h(r,P.default,p,a)},async searchInvoiceCompanies(e,n,t){let r=await s.searchInvoiceCompanies(e,n,t);return h(r,P.default,p,a)},async updateInvoiceCompany(e,n,t,r){let o=await s.updateInvoiceCompany(e,n,t,r);return h(o,P.default,p,a)}}},ea=function(a,s,e){let n=$(a);return{createInvoiceCompany(t,r){return n.createInvoiceCompany(t,r).then(o=>o(e,s))},deleteInvoiceCompany(t,r,o){return n.deleteInvoiceCompany(t,r,o).then(i=>i(e,s))},getInvoiceCompanies(t,r){return n.getInvoiceCompanies(t,r).then(o=>o(e,s))},getInvoiceCompanyById(t,r,o){return n.getInvoiceCompanyById(t,r,o).then(i=>i(e,s))},searchInvoiceCompanies(t,r,o){return n.searchInvoiceCompanies(t,r,o).then(i=>i(e,s))},updateInvoiceCompany(t,r,o,i){return n.updateInvoiceCompany(t,r,o,i).then(l=>l(e,s))}}},Ke=class extends V{createInvoiceCompany(s,e){return $(this.configuration).createInvoiceCompany(s,e).then(n=>n(this.axios,this.basePath))}deleteInvoiceCompany(s,e,n){return $(this.configuration).deleteInvoiceCompany(s,e,n).then(t=>t(this.axios,this.basePath))}getInvoiceCompanies(s,e){return $(this.configuration).getInvoiceCompanies(s,e).then(n=>n(this.axios,this.basePath))}getInvoiceCompanyById(s,e,n){return $(this.configuration).getInvoiceCompanyById(s,e,n).then(t=>t(this.axios,this.basePath))}searchInvoiceCompanies(s,e,n){return $(this.configuration).searchInvoiceCompanies(s,e,n).then(t=>t(this.axios,this.basePath))}updateInvoiceCompany(s,e,n,t){return $(this.configuration).updateInvoiceCompany(s,e,n,t).then(r=>r(this.axios,this.basePath))}},os=function(a){return{kdsGetOrders:async(s,e,n,t,r,o,i,l,u,d,b,f={})=>{c("kdsGetOrders","status",s),c("kdsGetOrders","businessIds",e),c("kdsGetOrders","profileId",n);let D="/api/v1/kds/orders/{status}".replace("{status}",encodeURIComponent(String(s))),x=new URL(D,m),S;a&&(S=a.baseOptions);let I={method:"GET",...S,...f},v={},O={};await R(v,a),e!==void 0&&(O.businessIds=e),n!==void 0&&(O.profileId=n),t!==void 0&&(O.page=t),r!==void 0&&(O.rowPerPage=r),o!==void 0&&(O.timeSpan=o),i!==void 0&&(O.start=i),l!==void 0&&(O.end=l),u!==void 0&&(O.timezone=u),d&&(O.provider=d),b&&(O.consumptionType=b),y(x,O);let T=S&&S.headers?S.headers:{};return I.headers={...v,...T,...f.headers},{url:g(x),options:I}},kdsGetProfiles:async(s,e={})=>{c("kdsGetProfiles","businessId",s);let n="/api/v1/kds/profiles",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),s!==void 0&&(l.businessId=s),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},kdsMarkOrderReady:async(s,e={})=>{c("kdsMarkOrderReady","id",s);let n="/api/v1/kds/orders/{id}/ready".replace("{id}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"PATCH",...r,...e},i={},l={};await R(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},kdsMarkOrdersReady:async(s,e={})=>{c("kdsMarkOrdersReady","kdsMarkOrdersReadyDto",s);let n="/api/v1/kds/orders/ready",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},kdsRevertOrder:async(s,e={})=>{c("kdsRevertOrder","id",s);let n="/api/v1/kds/orders/{id}/revert".replace("{id}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"PATCH",...r,...e},i={},l={};await R(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}}}},z=function(a){let s=os(a);return{async kdsGetOrders(e,n,t,r,o,i,l,u,d,b,f,D){let x=await s.kdsGetOrders(e,n,t,r,o,i,l,u,d,b,f,D);return h(x,P.default,p,a)},async kdsGetProfiles(e,n){let t=await s.kdsGetProfiles(e,n);return h(t,P.default,p,a)},async kdsMarkOrderReady(e,n){let t=await s.kdsMarkOrderReady(e,n);return h(t,P.default,p,a)},async kdsMarkOrdersReady(e,n){let t=await s.kdsMarkOrdersReady(e,n);return h(t,P.default,p,a)},async kdsRevertOrder(e,n){let t=await s.kdsRevertOrder(e,n);return h(t,P.default,p,a)}}},ta=function(a,s,e){let n=z(a);return{kdsGetOrders(t,r,o,i,l,u,d,b,f,D,x,S){return n.kdsGetOrders(t,r,o,i,l,u,d,b,f,D,x,S).then(I=>I(e,s))},kdsGetProfiles(t,r){return n.kdsGetProfiles(t,r).then(o=>o(e,s))},kdsMarkOrderReady(t,r){return n.kdsMarkOrderReady(t,r).then(o=>o(e,s))},kdsMarkOrdersReady(t,r){return n.kdsMarkOrdersReady(t,r).then(o=>o(e,s))},kdsRevertOrder(t,r){return n.kdsRevertOrder(t,r).then(o=>o(e,s))}}},Ge=class extends V{kdsGetOrders(s,e,n,t,r,o,i,l,u,d,b,f){return z(this.configuration).kdsGetOrders(s,e,n,t,r,o,i,l,u,d,b,f).then(D=>D(this.axios,this.basePath))}kdsGetProfiles(s,e){return z(this.configuration).kdsGetProfiles(s,e).then(n=>n(this.axios,this.basePath))}kdsMarkOrderReady(s,e){return z(this.configuration).kdsMarkOrderReady(s,e).then(n=>n(this.axios,this.basePath))}kdsMarkOrdersReady(s,e){return z(this.configuration).kdsMarkOrdersReady(s,e).then(n=>n(this.axios,this.basePath))}kdsRevertOrder(s,e){return z(this.configuration).kdsRevertOrder(s,e).then(n=>n(this.axios,this.basePath))}},as=function(a){return{getKioskOrder:async(s,e,n={})=>{c("getKioskOrder","orderId",s),c("getKioskOrder","businessId",e);let t="/api/v1/kiosk/orders/{orderId}/{businessId}".replace("{orderId}",encodeURIComponent(String(s))).replace("{businessId}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={};y(r,{});let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},syncKioskOrder:async(s,e={})=>{c("syncKioskOrder","syncKioskOrderDto",s);let n="/api/v1/kiosk/orders/sync",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},be=function(a){let s=as(a);return{async getKioskOrder(e,n,t){let r=await s.getKioskOrder(e,n,t);return h(r,P.default,p,a)},async syncKioskOrder(e,n){let t=await s.syncKioskOrder(e,n);return h(t,P.default,p,a)}}},sa=function(a,s,e){let n=be(a);return{getKioskOrder(t,r,o){return n.getKioskOrder(t,r,o).then(i=>i(e,s))},syncKioskOrder(t,r){return n.syncKioskOrder(t,r).then(o=>o(e,s))}}},He=class extends V{getKioskOrder(s,e,n){return be(this.configuration).getKioskOrder(s,e,n).then(t=>t(this.axios,this.basePath))}syncKioskOrder(s,e){return be(this.configuration).syncKioskOrder(s,e).then(n=>n(this.axios,this.basePath))}},is=function(a){return{restoreRedemption:async(s,e={})=>{c("restoreRedemption","restoreLoyaltyRedemptionDto",s);let n="/api/v1/loyalty-commerce/redemptions/restore",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},Tt=function(a){let s=is(a);return{async restoreRedemption(e,n){let t=await s.restoreRedemption(e,n);return h(t,P.default,p,a)}}},na=function(a,s,e){let n=Tt(a);return{restoreRedemption(t,r){return n.restoreRedemption(t,r).then(o=>o(e,s))}}},Qe=class extends V{restoreRedemption(s,e){return Tt(this.configuration).restoreRedemption(s,e).then(n=>n(this.axios,this.basePath))}},ls=function(a){return{claimKioskOffer:async(s,e={})=>{c("claimKioskOffer","claimKioskOfferDto",s);let n="/api/v1/loyalty/users/claim",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},createLoyaltyUser:async(s,e,n={})=>{c("createLoyaltyUser","businessId",s),c("createLoyaltyUser","createLoyaltyProgramUserDto",e);let t="/api/v1/loyalty/users/create",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),s!==void 0&&(u.businessId=s),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},getAdminTransactions:async(s,e,n,t={})=>{c("getAdminTransactions","businessId",s);let r="/api/v1/loyalty/admin/transactions",o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},d={};await R(u,a),s!==void 0&&(d.businessId=s),e!==void 0&&(d.page=e),n!==void 0&&(d.limit=n),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getLoyaltyInfo:async(s,e={})=>{c("getLoyaltyInfo","businessId",s);let n="/api/v1/loyalty/info",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),s!==void 0&&(l.businessId=s),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getUserById:async(s,e,n={})=>{c("getUserById","businessId",s),c("getUserById","userId",e);let t="/api/v1/loyalty/users/info",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),s!==void 0&&(u.businessId=s),e!==void 0&&(u.userId=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getWalletRewards:async(s,e,n={})=>{c("getWalletRewards","businessId",s),c("getWalletRewards","userId",e);let t="/api/v1/loyalty/users/wallet-rewards",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),s!==void 0&&(u.businessId=s),e!==void 0&&(u.userId=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},memberContext:async(s,e={})=>{c("memberContext","loyaltyMemberContextRequestDto",s);let n="/api/v1/loyalty/member-context",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},resolvePerks:async(s,e={})=>{c("resolvePerks","loyaltyResolveRequestDto",s);let n="/api/v1/loyalty/resolve",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},searchUser:async(s,e,n,t,r={})=>{c("searchUser","businessId",s);let o="/api/v1/loyalty/users/search",i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"GET",...l,...r},d={},b={};await R(d,a),e!==void 0&&(b.phone=e),n!==void 0&&(b.country_code=n),t!==void 0&&(b.email=t),s!==void 0&&(b.businessId=s),y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},{url:g(i),options:u}},updatePoints:async(s,e,n={})=>{c("updatePoints","businessId",s),c("updatePoints","pointsUpdatePayloadDto",e);let t="/api/v1/loyalty/update-user-points",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),s!==void 0&&(u.businessId=s),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},validateWallet:async(s,e,n,t={})=>{c("validateWallet","businessId",s),c("validateWallet","loyaltyId",e),c("validateWallet","walletId",n);let r="/api/v1/loyalty/wallets/validate",o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},d={};await R(u,a),s!==void 0&&(d.businessId=s),e!==void 0&&(d.loyaltyId=e),n!==void 0&&(d.walletId=n),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}}}},L=function(a){let s=ls(a);return{async claimKioskOffer(e,n){let t=await s.claimKioskOffer(e,n);return h(t,P.default,p,a)},async createLoyaltyUser(e,n,t){let r=await s.createLoyaltyUser(e,n,t);return h(r,P.default,p,a)},async getAdminTransactions(e,n,t,r){let o=await s.getAdminTransactions(e,n,t,r);return h(o,P.default,p,a)},async getLoyaltyInfo(e,n){let t=await s.getLoyaltyInfo(e,n);return h(t,P.default,p,a)},async getUserById(e,n,t){let r=await s.getUserById(e,n,t);return h(r,P.default,p,a)},async getWalletRewards(e,n,t){let r=await s.getWalletRewards(e,n,t);return h(r,P.default,p,a)},async memberContext(e,n){let t=await s.memberContext(e,n);return h(t,P.default,p,a)},async resolvePerks(e,n){let t=await s.resolvePerks(e,n);return h(t,P.default,p,a)},async searchUser(e,n,t,r,o){let i=await s.searchUser(e,n,t,r,o);return h(i,P.default,p,a)},async updatePoints(e,n,t){let r=await s.updatePoints(e,n,t);return h(r,P.default,p,a)},async validateWallet(e,n,t,r){let o=await s.validateWallet(e,n,t,r);return h(o,P.default,p,a)}}},ra=function(a,s,e){let n=L(a);return{claimKioskOffer(t,r){return n.claimKioskOffer(t,r).then(o=>o(e,s))},createLoyaltyUser(t,r,o){return n.createLoyaltyUser(t,r,o).then(i=>i(e,s))},getAdminTransactions(t,r,o,i){return n.getAdminTransactions(t,r,o,i).then(l=>l(e,s))},getLoyaltyInfo(t,r){return n.getLoyaltyInfo(t,r).then(o=>o(e,s))},getUserById(t,r,o){return n.getUserById(t,r,o).then(i=>i(e,s))},getWalletRewards(t,r,o){return n.getWalletRewards(t,r,o).then(i=>i(e,s))},memberContext(t,r){return n.memberContext(t,r).then(o=>o(e,s))},resolvePerks(t,r){return n.resolvePerks(t,r).then(o=>o(e,s))},searchUser(t,r,o,i,l){return n.searchUser(t,r,o,i,l).then(u=>u(e,s))},updatePoints(t,r,o){return n.updatePoints(t,r,o).then(i=>i(e,s))},validateWallet(t,r,o,i){return n.validateWallet(t,r,o,i).then(l=>l(e,s))}}},$e=class extends V{claimKioskOffer(s,e){return L(this.configuration).claimKioskOffer(s,e).then(n=>n(this.axios,this.basePath))}createLoyaltyUser(s,e,n){return L(this.configuration).createLoyaltyUser(s,e,n).then(t=>t(this.axios,this.basePath))}getAdminTransactions(s,e,n,t){return L(this.configuration).getAdminTransactions(s,e,n,t).then(r=>r(this.axios,this.basePath))}getLoyaltyInfo(s,e){return L(this.configuration).getLoyaltyInfo(s,e).then(n=>n(this.axios,this.basePath))}getUserById(s,e,n){return L(this.configuration).getUserById(s,e,n).then(t=>t(this.axios,this.basePath))}getWalletRewards(s,e,n){return L(this.configuration).getWalletRewards(s,e,n).then(t=>t(this.axios,this.basePath))}memberContext(s,e){return L(this.configuration).memberContext(s,e).then(n=>n(this.axios,this.basePath))}resolvePerks(s,e){return L(this.configuration).resolvePerks(s,e).then(n=>n(this.axios,this.basePath))}searchUser(s,e,n,t,r){return L(this.configuration).searchUser(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}updatePoints(s,e,n){return L(this.configuration).updatePoints(s,e,n).then(t=>t(this.axios,this.basePath))}validateWallet(s,e,n,t){return L(this.configuration).validateWallet(s,e,n,t).then(r=>r(this.axios,this.basePath))}},us=function(a){return{refuseSessionEnd:async(s={})=>{let e="/api/v1/mcp",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"DELETE",...t,...s},o={},i={};await R(o,a),y(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},refuseStream:async(s={})=>{let e="/api/v1/mcp",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={},i={};await R(o,a),y(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},serveMcpRequest:async(s,e={})=>{c("serveMcpRequest","body",s);let n="/api/v1/mcp",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},re=function(a){let s=us(a);return{async refuseSessionEnd(e){let n=await s.refuseSessionEnd(e);return h(n,P.default,p,a)},async refuseStream(e){let n=await s.refuseStream(e);return h(n,P.default,p,a)},async serveMcpRequest(e,n){let t=await s.serveMcpRequest(e,n);return h(t,P.default,p,a)}}},oa=function(a,s,e){let n=re(a);return{refuseSessionEnd(t){return n.refuseSessionEnd(t).then(r=>r(e,s))},refuseStream(t){return n.refuseStream(t).then(r=>r(e,s))},serveMcpRequest(t,r){return n.serveMcpRequest(t,r).then(o=>o(e,s))}}},Ye=class extends V{refuseSessionEnd(s){return re(this.configuration).refuseSessionEnd(s).then(e=>e(this.axios,this.basePath))}refuseStream(s){return re(this.configuration).refuseStream(s).then(e=>e(this.axios,this.basePath))}serveMcpRequest(s,e){return re(this.configuration).serveMcpRequest(s,e).then(n=>n(this.axios,this.basePath))}},cs=function(a){return{editBusinessProductV2:async(s,e,n={})=>{c("editBusinessProductV2","businessId",s),c("editBusinessProductV2","menuProductDtoV2",e);let t="/api/v2/menu/{businessId}/product".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...n},l={},u={};l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},resetProductEod:async(s,e={})=>{c("resetProductEod","resetEodDto",s);let n="/api/v1/menu/availability/reset-eod",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},Ae=function(a){let s=cs(a);return{async editBusinessProductV2(e,n,t){let r=await s.editBusinessProductV2(e,n,t);return h(r,P.default,p,a)},async resetProductEod(e,n){let t=await s.resetProductEod(e,n);return h(t,P.default,p,a)}}},aa=function(a,s,e){let n=Ae(a);return{editBusinessProductV2(t,r,o){return n.editBusinessProductV2(t,r,o).then(i=>i(e,s))},resetProductEod(t,r){return n.resetProductEod(t,r).then(o=>o(e,s))}}},ze=class extends V{editBusinessProductV2(s,e,n){return Ae(this.configuration).editBusinessProductV2(s,e,n).then(t=>t(this.axios,this.basePath))}resetProductEod(s,e){return Ae(this.configuration).resetProductEod(s,e).then(n=>n(this.axios,this.basePath))}},ds=function(a){return{createMunchiGiftCard:async(s,e={})=>{c("createMunchiGiftCard","createMunchiGiftCardDto",s);let n="/api/v1/munchi-giftcard/create",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},getMunchiGiftCardData:async(s,e={})=>{c("getMunchiGiftCardData","getMunchiGiftCardDataDto",s);let n="/api/v1/munchi-giftcard/data",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},redeemMunchiGiftCard:async(s,e={})=>{c("redeemMunchiGiftCard","redeemGiftCardDto",s);let n="/api/v1/munchi-giftcard/redeem",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},validateMunchiGiftCard:async(s,e={})=>{c("validateMunchiGiftCard","validateGiftCardDto",s);let n="/api/v1/munchi-giftcard/validate",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},Z=function(a){let s=ds(a);return{async createMunchiGiftCard(e,n){let t=await s.createMunchiGiftCard(e,n);return h(t,P.default,p,a)},async getMunchiGiftCardData(e,n){let t=await s.getMunchiGiftCardData(e,n);return h(t,P.default,p,a)},async redeemMunchiGiftCard(e,n){let t=await s.redeemMunchiGiftCard(e,n);return h(t,P.default,p,a)},async validateMunchiGiftCard(e,n){let t=await s.validateMunchiGiftCard(e,n);return h(t,P.default,p,a)}}},ia=function(a,s,e){let n=Z(a);return{createMunchiGiftCard(t,r){return n.createMunchiGiftCard(t,r).then(o=>o(e,s))},getMunchiGiftCardData(t,r){return n.getMunchiGiftCardData(t,r).then(o=>o(e,s))},redeemMunchiGiftCard(t,r){return n.redeemMunchiGiftCard(t,r).then(o=>o(e,s))},validateMunchiGiftCard(t,r){return n.validateMunchiGiftCard(t,r).then(o=>o(e,s))}}},Xe=class extends V{createMunchiGiftCard(s,e){return Z(this.configuration).createMunchiGiftCard(s,e).then(n=>n(this.axios,this.basePath))}getMunchiGiftCardData(s,e){return Z(this.configuration).getMunchiGiftCardData(s,e).then(n=>n(this.axios,this.basePath))}redeemMunchiGiftCard(s,e){return Z(this.configuration).redeemMunchiGiftCard(s,e).then(n=>n(this.axios,this.basePath))}validateMunchiGiftCard(s,e){return Z(this.configuration).validateMunchiGiftCard(s,e).then(n=>n(this.axios,this.basePath))}},ps=function(a){return{addVenueSubscriptionsV2:async(s,e={})=>{c("addVenueSubscriptionsV2","deviceSubscriptionDto",s);let n="/api/v2/notification/add-venue-subscriptions",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},removeVenueSubscriptionsV2:async(s,e={})=>{c("removeVenueSubscriptionsV2","deviceSubscriptionDto",s);let n="/api/v2/notification/remove-venue-subscriptions",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},fe=function(a){let s=ps(a);return{async addVenueSubscriptionsV2(e,n){let t=await s.addVenueSubscriptionsV2(e,n);return h(t,P.default,p,a)},async removeVenueSubscriptionsV2(e,n){let t=await s.removeVenueSubscriptionsV2(e,n);return h(t,P.default,p,a)}}},la=function(a,s,e){let n=fe(a);return{addVenueSubscriptionsV2(t,r){return n.addVenueSubscriptionsV2(t,r).then(o=>o(e,s))},removeVenueSubscriptionsV2(t,r){return n.removeVenueSubscriptionsV2(t,r).then(o=>o(e,s))}}},Je=class extends V{addVenueSubscriptionsV2(s,e){return fe(this.configuration).addVenueSubscriptionsV2(s,e).then(n=>n(this.axios,this.basePath))}removeVenueSubscriptionsV2(s,e){return fe(this.configuration).removeVenueSubscriptionsV2(s,e).then(n=>n(this.axios,this.basePath))}},ms=function(a){return{devicesOfVenue:async(s,e={})=>{c("devicesOfVenue","venueId",s);let n="/api/v1/ops/venues/{venueId}/devices".replace("{venueId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},searchVenues:async(s,e,n={})=>{c("searchVenues","search",s);let t="/api/v1/ops/venues",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),s!==void 0&&(u.search=s),e!==void 0&&(u.limit=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}}}},Re=function(a){let s=ms(a);return{async devicesOfVenue(e,n){let t=await s.devicesOfVenue(e,n);return h(t,P.default,p,a)},async searchVenues(e,n,t){let r=await s.searchVenues(e,n,t);return h(r,P.default,p,a)}}},ua=function(a,s,e){let n=Re(a);return{devicesOfVenue(t,r){return n.devicesOfVenue(t,r).then(o=>o(e,s))},searchVenues(t,r,o){return n.searchVenues(t,r,o).then(i=>i(e,s))}}},Ze=class extends V{devicesOfVenue(s,e){return Re(this.configuration).devicesOfVenue(s,e).then(n=>n(this.axios,this.basePath))}searchVenues(s,e,n){return Re(this.configuration).searchVenues(s,e,n).then(t=>t(this.axios,this.basePath))}},ys=function(a){return{completeOrder:async(s,e,n,t={})=>{c("completeOrder","businessId",s),c("completeOrder","orderId",e),c("completeOrder","completeOrderDto",n);let r="/api/v1/businesses/{businessId}/orders/{orderId}/complete".replace("{businessId}",encodeURIComponent(String(s))).replace("{orderId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};await R(u,a),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}}}},qt=function(a){let s=ys(a);return{async completeOrder(e,n,t,r){let o=await s.completeOrder(e,n,t,r);return h(o,P.default,p,a)}}},ca=function(a,s,e){let n=qt(a);return{completeOrder(t,r,o,i){return n.completeOrder(t,r,o,i).then(l=>l(e,s))}}},et=class extends V{completeOrder(s,e,n,t){return qt(this.configuration).completeOrder(s,e,n,t).then(r=>r(this.axios,this.basePath))}},gs=function(a){return{findOneByExternalId:async(s,e={})=>{c("findOneByExternalId","externalId",s);let n="/api/v1/orders/internal/{externalId}".replace("{externalId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}}}},Et=function(a){let s=gs(a);return{async findOneByExternalId(e,n){let t=await s.findOneByExternalId(e,n);return h(t,P.default,p,a)}}},da=function(a,s,e){let n=Et(a);return{findOneByExternalId(t,r){return n.findOneByExternalId(t,r).then(o=>o(e,s))}}},tt=class extends V{findOneByExternalId(s,e){return Et(this.configuration).findOneByExternalId(s,e).then(n=>n(this.axios,this.basePath))}},hs=function(a){return{acceptOrder:async(s,e={})=>{c("acceptOrder","acceptOrderDto",s);let n="/api/v1/orders/accept",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},changePosOrdersStatusInBulk:async(s,e={})=>{c("changePosOrdersStatusInBulk","changePosOrdersStatusInBulkDto",s);let n="/api/v2/orders/pos/bulk-status",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},confirmPreOrder:async(s,e={})=>{c("confirmPreOrder","confirmPreorderDto",s);let n="/api/v1/orders/confirm/preOrder",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},deletePosParkedOrderV2:async(s,e={})=>{c("deletePosParkedOrderV2","deletePosOrderDto",s);let n="/api/v2/orders/pos/park",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},deliverOrder:async(s,e={})=>{c("deliverOrder","deliveredOrderDto",s);let n="/api/v1/orders/delivered",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},dispatchPosOrderV5:async(s,e={})=>{c("dispatchPosOrderV5","dispatchPosOrderDto",s);let n="/api/v5/orders/pos/dispatch",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},getOrdersV2:async(s,e,n,t,r={})=>{c("getOrdersV2","status",s),c("getOrdersV2","businessIds",e);let o="/api/v2/orders/{status}".replace("{status}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"GET",...l,...r},d={},b={};e!==void 0&&(b.businessIds=e),n!==void 0&&(b.posBusinessId=n),t!==void 0&&(b.extraProvider=t),y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},{url:g(i),options:u}},getOrdersV3:async(s,e,n,t,r={})=>{c("getOrdersV3","status",s),c("getOrdersV3","businessIds",e);let o="/api/v3/orders/{status}".replace("{status}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"GET",...l,...r},d={},b={};e!==void 0&&(b.businessIds=e),n!==void 0&&(b.posBusinessId=n),t!==void 0&&(b.extraProvider=t),y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},{url:g(i),options:u}},getParkedPosOrderV2:async(s,e={})=>{c("getParkedPosOrderV2","businessId",s);let n="/api/v2/orders/pos/park",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};s!==void 0&&(l.businessId=s),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getPosOrderById:async(s,e={})=>{c("getPosOrderById","getPosOrderDto",s);let n="/api/v1/orders/pos",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},markOrderAsReady:async(s,e={})=>{c("markOrderAsReady","readyOrderDto",s);let n="/api/v1/orders/ready",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},parkPosOrderV5:async(s,e={})=>{c("parkPosOrderV5","parkPosOrderDto",s);let n="/api/v5/orders/pos/park",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},processPosOrderActions:async(s,e={})=>{c("processPosOrderActions","processOrderActionsDto",s);let n="/api/v4/orders/pos/actions",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},rejectOrder:async(s,e={})=>{c("rejectOrder","rejectOrderDto",s);let n="/api/v1/orders/reject",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},syncPosOrder:async(s,e={})=>{c("syncPosOrder","syncPosOrderDto",s);let n="/api/v1/orders/pos/sync",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},updatePosOrderV2:async(s,e={})=>{c("updatePosOrderV2","posUpdateOrderDto",s);let n="/api/v2/orders/pos/update",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},k=function(a){let s=hs(a);return{async acceptOrder(e,n){let t=await s.acceptOrder(e,n);return h(t,P.default,p,a)},async changePosOrdersStatusInBulk(e,n){let t=await s.changePosOrdersStatusInBulk(e,n);return h(t,P.default,p,a)},async confirmPreOrder(e,n){let t=await s.confirmPreOrder(e,n);return h(t,P.default,p,a)},async deletePosParkedOrderV2(e,n){let t=await s.deletePosParkedOrderV2(e,n);return h(t,P.default,p,a)},async deliverOrder(e,n){let t=await s.deliverOrder(e,n);return h(t,P.default,p,a)},async dispatchPosOrderV5(e,n){let t=await s.dispatchPosOrderV5(e,n);return h(t,P.default,p,a)},async getOrdersV2(e,n,t,r,o){let i=await s.getOrdersV2(e,n,t,r,o);return h(i,P.default,p,a)},async getOrdersV3(e,n,t,r,o){let i=await s.getOrdersV3(e,n,t,r,o);return h(i,P.default,p,a)},async getParkedPosOrderV2(e,n){let t=await s.getParkedPosOrderV2(e,n);return h(t,P.default,p,a)},async getPosOrderById(e,n){let t=await s.getPosOrderById(e,n);return h(t,P.default,p,a)},async markOrderAsReady(e,n){let t=await s.markOrderAsReady(e,n);return h(t,P.default,p,a)},async parkPosOrderV5(e,n){let t=await s.parkPosOrderV5(e,n);return h(t,P.default,p,a)},async processPosOrderActions(e,n){let t=await s.processPosOrderActions(e,n);return h(t,P.default,p,a)},async rejectOrder(e,n){let t=await s.rejectOrder(e,n);return h(t,P.default,p,a)},async syncPosOrder(e,n){let t=await s.syncPosOrder(e,n);return h(t,P.default,p,a)},async updatePosOrderV2(e,n){let t=await s.updatePosOrderV2(e,n);return h(t,P.default,p,a)}}},pa=function(a,s,e){let n=k(a);return{acceptOrder(t,r){return n.acceptOrder(t,r).then(o=>o(e,s))},changePosOrdersStatusInBulk(t,r){return n.changePosOrdersStatusInBulk(t,r).then(o=>o(e,s))},confirmPreOrder(t,r){return n.confirmPreOrder(t,r).then(o=>o(e,s))},deletePosParkedOrderV2(t,r){return n.deletePosParkedOrderV2(t,r).then(o=>o(e,s))},deliverOrder(t,r){return n.deliverOrder(t,r).then(o=>o(e,s))},dispatchPosOrderV5(t,r){return n.dispatchPosOrderV5(t,r).then(o=>o(e,s))},getOrdersV2(t,r,o,i,l){return n.getOrdersV2(t,r,o,i,l).then(u=>u(e,s))},getOrdersV3(t,r,o,i,l){return n.getOrdersV3(t,r,o,i,l).then(u=>u(e,s))},getParkedPosOrderV2(t,r){return n.getParkedPosOrderV2(t,r).then(o=>o(e,s))},getPosOrderById(t,r){return n.getPosOrderById(t,r).then(o=>o(e,s))},markOrderAsReady(t,r){return n.markOrderAsReady(t,r).then(o=>o(e,s))},parkPosOrderV5(t,r){return n.parkPosOrderV5(t,r).then(o=>o(e,s))},processPosOrderActions(t,r){return n.processPosOrderActions(t,r).then(o=>o(e,s))},rejectOrder(t,r){return n.rejectOrder(t,r).then(o=>o(e,s))},syncPosOrder(t,r){return n.syncPosOrder(t,r).then(o=>o(e,s))},updatePosOrderV2(t,r){return n.updatePosOrderV2(t,r).then(o=>o(e,s))}}},st=class extends V{acceptOrder(s,e){return k(this.configuration).acceptOrder(s,e).then(n=>n(this.axios,this.basePath))}changePosOrdersStatusInBulk(s,e){return k(this.configuration).changePosOrdersStatusInBulk(s,e).then(n=>n(this.axios,this.basePath))}confirmPreOrder(s,e){return k(this.configuration).confirmPreOrder(s,e).then(n=>n(this.axios,this.basePath))}deletePosParkedOrderV2(s,e){return k(this.configuration).deletePosParkedOrderV2(s,e).then(n=>n(this.axios,this.basePath))}deliverOrder(s,e){return k(this.configuration).deliverOrder(s,e).then(n=>n(this.axios,this.basePath))}dispatchPosOrderV5(s,e){return k(this.configuration).dispatchPosOrderV5(s,e).then(n=>n(this.axios,this.basePath))}getOrdersV2(s,e,n,t,r){return k(this.configuration).getOrdersV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}getOrdersV3(s,e,n,t,r){return k(this.configuration).getOrdersV3(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}getParkedPosOrderV2(s,e){return k(this.configuration).getParkedPosOrderV2(s,e).then(n=>n(this.axios,this.basePath))}getPosOrderById(s,e){return k(this.configuration).getPosOrderById(s,e).then(n=>n(this.axios,this.basePath))}markOrderAsReady(s,e){return k(this.configuration).markOrderAsReady(s,e).then(n=>n(this.axios,this.basePath))}parkPosOrderV5(s,e){return k(this.configuration).parkPosOrderV5(s,e).then(n=>n(this.axios,this.basePath))}processPosOrderActions(s,e){return k(this.configuration).processPosOrderActions(s,e).then(n=>n(this.axios,this.basePath))}rejectOrder(s,e){return k(this.configuration).rejectOrder(s,e).then(n=>n(this.axios,this.basePath))}syncPosOrder(s,e){return k(this.configuration).syncPosOrder(s,e).then(n=>n(this.axios,this.basePath))}updatePosOrderV2(s,e){return k(this.configuration).updatePosOrderV2(s,e).then(n=>n(this.axios,this.basePath))}},Ps=function(a){return{listPosPermissions:async(s={})=>{let e="/api/v1/pos-permissions",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={},i={};await R(o,a),y(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}}}},Ut=function(a){let s=Ps(a);return{async listPosPermissions(e){let n=await s.listPosPermissions(e);return h(n,P.default,p,a)}}},ma=function(a,s,e){let n=Ut(a);return{listPosPermissions(t){return n.listPosPermissions(t).then(r=>r(e,s))}}},nt=class extends V{listPosPermissions(s){return Ut(this.configuration).listPosPermissions(s).then(e=>e(this.axios,this.basePath))}},bs=function(a){return{getPosSessionV2:async(s,e={})=>{c("getPosSessionV2","businessId",s);let n="/api/v2/pos-session/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}}}},kt=function(a){let s=bs(a);return{async getPosSessionV2(e,n){let t=await s.getPosSessionV2(e,n);return h(t,P.default,p,a)}}},ya=function(a,s,e){let n=kt(a);return{getPosSessionV2(t,r){return n.getPosSessionV2(t,r).then(o=>o(e,s))}}},rt=class extends V{getPosSessionV2(s,e){return kt(this.configuration).getPosSessionV2(s,e).then(n=>n(this.axios,this.basePath))}},As=function(a){return{payTerminalInit:async(s,e={})=>{c("payTerminalInit","payTerminalInitBodyDto",s);let n="/api/v1/pay-terminal/init",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},payTerminalLockStatus:async(s,e={})=>{c("payTerminalLockStatus","payTerminalLockStatusBodyDto",s);let n="/api/v1/pay-terminal/lock/status",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},payTerminalLockSync:async(s,e={})=>{c("payTerminalLockSync","syncPayTerminalLockBodyDto",s);let n="/api/v1/pay-terminal/lock/sync",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},payTerminalLockVerify:async(s,e={})=>{c("payTerminalLockVerify","verifyPayTerminalLockBodyDto",s);let n="/api/v1/pay-terminal/lock/verify",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},payTerminalPair:async(s,e={})=>{c("payTerminalPair","pairPayTerminalBodyDto",s);let n="/api/v1/pay-terminal/pair",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},payTerminalPresence:async(s,e={})=>{c("payTerminalPresence","payTerminalSessionTokenBodyDto",s);let n="/api/v1/pay-terminal/presence",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},payTerminalSessionToken:async(s,e={})=>{c("payTerminalSessionToken","payTerminalSessionTokenBodyDto",s);let n="/api/v1/pay-terminal/session-token",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},payTerminalUnpair:async(s,e={})=>{c("payTerminalUnpair","unpairPayTerminalBodyDto",s);let n="/api/v1/pay-terminal/unpair",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},N=function(a){let s=As(a);return{async payTerminalInit(e,n){let t=await s.payTerminalInit(e,n);return h(t,P.default,p,a)},async payTerminalLockStatus(e,n){let t=await s.payTerminalLockStatus(e,n);return h(t,P.default,p,a)},async payTerminalLockSync(e,n){let t=await s.payTerminalLockSync(e,n);return h(t,P.default,p,a)},async payTerminalLockVerify(e,n){let t=await s.payTerminalLockVerify(e,n);return h(t,P.default,p,a)},async payTerminalPair(e,n){let t=await s.payTerminalPair(e,n);return h(t,P.default,p,a)},async payTerminalPresence(e,n){let t=await s.payTerminalPresence(e,n);return h(t,P.default,p,a)},async payTerminalSessionToken(e,n){let t=await s.payTerminalSessionToken(e,n);return h(t,P.default,p,a)},async payTerminalUnpair(e,n){let t=await s.payTerminalUnpair(e,n);return h(t,P.default,p,a)}}},ga=function(a,s,e){let n=N(a);return{payTerminalInit(t,r){return n.payTerminalInit(t,r).then(o=>o(e,s))},payTerminalLockStatus(t,r){return n.payTerminalLockStatus(t,r).then(o=>o(e,s))},payTerminalLockSync(t,r){return n.payTerminalLockSync(t,r).then(o=>o(e,s))},payTerminalLockVerify(t,r){return n.payTerminalLockVerify(t,r).then(o=>o(e,s))},payTerminalPair(t,r){return n.payTerminalPair(t,r).then(o=>o(e,s))},payTerminalPresence(t,r){return n.payTerminalPresence(t,r).then(o=>o(e,s))},payTerminalSessionToken(t,r){return n.payTerminalSessionToken(t,r).then(o=>o(e,s))},payTerminalUnpair(t,r){return n.payTerminalUnpair(t,r).then(o=>o(e,s))}}},ot=class extends V{payTerminalInit(s,e){return N(this.configuration).payTerminalInit(s,e).then(n=>n(this.axios,this.basePath))}payTerminalLockStatus(s,e){return N(this.configuration).payTerminalLockStatus(s,e).then(n=>n(this.axios,this.basePath))}payTerminalLockSync(s,e){return N(this.configuration).payTerminalLockSync(s,e).then(n=>n(this.axios,this.basePath))}payTerminalLockVerify(s,e){return N(this.configuration).payTerminalLockVerify(s,e).then(n=>n(this.axios,this.basePath))}payTerminalPair(s,e){return N(this.configuration).payTerminalPair(s,e).then(n=>n(this.axios,this.basePath))}payTerminalPresence(s,e){return N(this.configuration).payTerminalPresence(s,e).then(n=>n(this.axios,this.basePath))}payTerminalSessionToken(s,e){return N(this.configuration).payTerminalSessionToken(s,e).then(n=>n(this.axios,this.basePath))}payTerminalUnpair(s,e){return N(this.configuration).payTerminalUnpair(s,e).then(n=>n(this.axios,this.basePath))}},fs=function(a){return{cancelNetsTerminalTransaction:async(s,e={})=>{c("cancelNetsTerminalTransaction","netsCancelTransactionDto",s);let n="/api/v3/payment/nets/cancel",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},cancelVivaTransactionV2:async(s,e={})=>{c("cancelVivaTransactionV2","vivaCancelTransactionDto",s);let n="/api/v2/payment/viva/cancel",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},getPaymentReference:async(s,e={})=>{c("getPaymentReference","getPaymentReferenceDto",s);let n="/api/v1/payment/reference",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},getPaymentStatus:async(s,e={})=>{c("getPaymentStatus","getPaymentStatusDto",s);let n="/api/v1/payment/status",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},initiateNetsTerminalTransaction:async(s,e={})=>{c("initiateNetsTerminalTransaction","createNetsTerminalPaymentDto",s);let n="/api/v3/payment/nets/terminal/initiate",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},initiateTerminalTransaction:async(s,e={})=>{c("initiateTerminalTransaction","createTerminalPaymentDto",s);let n="/api/v4/payment/viva/terminal/initiate",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},processOnlineOrderRefund:async(s,e={})=>{c("processOnlineOrderRefund","orderResponseDto",s);let n="/api/v1/payment/online-orders/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},refundSingleVivaTransaction:async(s,e={})=>{c("refundSingleVivaTransaction","createRefundDto",s);let n="/api/v4/payment/viva/refund/single",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},W=function(a){let s=fs(a);return{async cancelNetsTerminalTransaction(e,n){let t=await s.cancelNetsTerminalTransaction(e,n);return h(t,P.default,p,a)},async cancelVivaTransactionV2(e,n){let t=await s.cancelVivaTransactionV2(e,n);return h(t,P.default,p,a)},async getPaymentReference(e,n){let t=await s.getPaymentReference(e,n);return h(t,P.default,p,a)},async getPaymentStatus(e,n){let t=await s.getPaymentStatus(e,n);return h(t,P.default,p,a)},async initiateNetsTerminalTransaction(e,n){let t=await s.initiateNetsTerminalTransaction(e,n);return h(t,P.default,p,a)},async initiateTerminalTransaction(e,n){let t=await s.initiateTerminalTransaction(e,n);return h(t,P.default,p,a)},async processOnlineOrderRefund(e,n){let t=await s.processOnlineOrderRefund(e,n);return h(t,P.default,p,a)},async refundSingleVivaTransaction(e,n){let t=await s.refundSingleVivaTransaction(e,n);return h(t,P.default,p,a)}}},ha=function(a,s,e){let n=W(a);return{cancelNetsTerminalTransaction(t,r){return n.cancelNetsTerminalTransaction(t,r).then(o=>o(e,s))},cancelVivaTransactionV2(t,r){return n.cancelVivaTransactionV2(t,r).then(o=>o(e,s))},getPaymentReference(t,r){return n.getPaymentReference(t,r).then(o=>o(e,s))},getPaymentStatus(t,r){return n.getPaymentStatus(t,r).then(o=>o(e,s))},initiateNetsTerminalTransaction(t,r){return n.initiateNetsTerminalTransaction(t,r).then(o=>o(e,s))},initiateTerminalTransaction(t,r){return n.initiateTerminalTransaction(t,r).then(o=>o(e,s))},processOnlineOrderRefund(t,r){return n.processOnlineOrderRefund(t,r).then(o=>o(e,s))},refundSingleVivaTransaction(t,r){return n.refundSingleVivaTransaction(t,r).then(o=>o(e,s))}}},at=class extends V{cancelNetsTerminalTransaction(s,e){return W(this.configuration).cancelNetsTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}cancelVivaTransactionV2(s,e){return W(this.configuration).cancelVivaTransactionV2(s,e).then(n=>n(this.axios,this.basePath))}getPaymentReference(s,e){return W(this.configuration).getPaymentReference(s,e).then(n=>n(this.axios,this.basePath))}getPaymentStatus(s,e){return W(this.configuration).getPaymentStatus(s,e).then(n=>n(this.axios,this.basePath))}initiateNetsTerminalTransaction(s,e){return W(this.configuration).initiateNetsTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}initiateTerminalTransaction(s,e){return W(this.configuration).initiateTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}processOnlineOrderRefund(s,e){return W(this.configuration).processOnlineOrderRefund(s,e).then(n=>n(this.axios,this.basePath))}refundSingleVivaTransaction(s,e){return W(this.configuration).refundSingleVivaTransaction(s,e).then(n=>n(this.axios,this.basePath))}},Rs=function(a){return{changePaymentMethodGiftCardLogin:async(s,e,n,t,r={})=>{c("changePaymentMethodGiftCardLogin","businessId",s),c("changePaymentMethodGiftCardLogin","channel",e),c("changePaymentMethodGiftCardLogin","id",n),c("changePaymentMethodGiftCardLogin","giftCardCredentialsInputDto",t);let o="/api/v2/payment-methods/businesses/{businessId}/channels/{channel}/options/{id}/gift-card-login".replace("{businessId}",encodeURIComponent(String(s))).replace("{channel}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(n))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PUT",...l,...r},d={},b={};d["Content-Type"]="application/json",y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},changePaymentMethodOption:async(s,e,n,t,r={})=>{c("changePaymentMethodOption","businessId",s),c("changePaymentMethodOption","channel",e),c("changePaymentMethodOption","id",n),c("changePaymentMethodOption","changePaymentMethodOptionDto",t);let o="/api/v2/payment-methods/businesses/{businessId}/channels/{channel}/options/{id}".replace("{businessId}",encodeURIComponent(String(s))).replace("{channel}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(n))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PATCH",...l,...r},d={},b={};d["Content-Type"]="application/json",y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},createPaymentMethod:async(s,e,n,t={})=>{c("createPaymentMethod","businessId",s),c("createPaymentMethod","channel",e),c("createPaymentMethod","createPaymentMethodDto",n);let r="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}".replace("{businessId}",encodeURIComponent(String(s))).replace("{channel}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},deletePaymentMethodOption:async(s,e,n,t={})=>{c("deletePaymentMethodOption","businessId",s),c("deletePaymentMethodOption","channel",e),c("deletePaymentMethodOption","id",n);let r="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}/options/{id}".replace("{businessId}",encodeURIComponent(String(s))).replace("{channel}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"DELETE",...i,...t},u={};y(o,{});let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getCatalog:async(s,e,n,t={})=>{c("getCatalog","businessId",s),c("getCatalog","channel",e);let r="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}/catalog".replace("{businessId}",encodeURIComponent(String(s))).replace("{channel}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},d={};n!==void 0&&(d.locale=n),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getPaymentMethods:async(s,e,n,t={})=>{c("getPaymentMethods","businessId",s),c("getPaymentMethods","channel",e);let r="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}".replace("{businessId}",encodeURIComponent(String(s))).replace("{channel}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},d={};n!==void 0&&(d.locale=n),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getTypes:async(s={})=>{let e="/api/v1/payment-methods/types",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},reorder:async(s,e,n,t={})=>{c("reorder","businessId",s),c("reorder","channel",e),c("reorder","bulkRankDto",n);let r="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}/bulk-rank".replace("{businessId}",encodeURIComponent(String(s))).replace("{channel}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},d={};u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},setPaymentMethodPositions:async(s,e,n,t={})=>{c("setPaymentMethodPositions","businessId",s),c("setPaymentMethodPositions","channel",e),c("setPaymentMethodPositions","paymentMethodPositionsDto",n);let r="/api/v2/payment-methods/businesses/{businessId}/channels/{channel}/positions".replace("{businessId}",encodeURIComponent(String(s))).replace("{channel}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PUT",...i,...t},u={},d={};u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},updatePaymentMethodOption:async(s,e,n,t,r={})=>{c("updatePaymentMethodOption","businessId",s),c("updatePaymentMethodOption","channel",e),c("updatePaymentMethodOption","id",n),c("updatePaymentMethodOption","updatePaymentMethodOptionDto",t);let o="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}/options/{id}".replace("{businessId}",encodeURIComponent(String(s))).replace("{channel}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(n))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PATCH",...l,...r},d={},b={};d["Content-Type"]="application/json",y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}}}},F=function(a){let s=Rs(a);return{async changePaymentMethodGiftCardLogin(e,n,t,r,o){let i=await s.changePaymentMethodGiftCardLogin(e,n,t,r,o);return h(i,P.default,p,a)},async changePaymentMethodOption(e,n,t,r,o){let i=await s.changePaymentMethodOption(e,n,t,r,o);return h(i,P.default,p,a)},async createPaymentMethod(e,n,t,r){let o=await s.createPaymentMethod(e,n,t,r);return h(o,P.default,p,a)},async deletePaymentMethodOption(e,n,t,r){let o=await s.deletePaymentMethodOption(e,n,t,r);return h(o,P.default,p,a)},async getCatalog(e,n,t,r){let o=await s.getCatalog(e,n,t,r);return h(o,P.default,p,a)},async getPaymentMethods(e,n,t,r){let o=await s.getPaymentMethods(e,n,t,r);return h(o,P.default,p,a)},async getTypes(e){let n=await s.getTypes(e);return h(n,P.default,p,a)},async reorder(e,n,t,r){let o=await s.reorder(e,n,t,r);return h(o,P.default,p,a)},async setPaymentMethodPositions(e,n,t,r){let o=await s.setPaymentMethodPositions(e,n,t,r);return h(o,P.default,p,a)},async updatePaymentMethodOption(e,n,t,r,o){let i=await s.updatePaymentMethodOption(e,n,t,r,o);return h(i,P.default,p,a)}}},Pa=function(a,s,e){let n=F(a);return{changePaymentMethodGiftCardLogin(t,r,o,i,l){return n.changePaymentMethodGiftCardLogin(t,r,o,i,l).then(u=>u(e,s))},changePaymentMethodOption(t,r,o,i,l){return n.changePaymentMethodOption(t,r,o,i,l).then(u=>u(e,s))},createPaymentMethod(t,r,o,i){return n.createPaymentMethod(t,r,o,i).then(l=>l(e,s))},deletePaymentMethodOption(t,r,o,i){return n.deletePaymentMethodOption(t,r,o,i).then(l=>l(e,s))},getCatalog(t,r,o,i){return n.getCatalog(t,r,o,i).then(l=>l(e,s))},getPaymentMethods(t,r,o,i){return n.getPaymentMethods(t,r,o,i).then(l=>l(e,s))},getTypes(t){return n.getTypes(t).then(r=>r(e,s))},reorder(t,r,o,i){return n.reorder(t,r,o,i).then(l=>l(e,s))},setPaymentMethodPositions(t,r,o,i){return n.setPaymentMethodPositions(t,r,o,i).then(l=>l(e,s))},updatePaymentMethodOption(t,r,o,i,l){return n.updatePaymentMethodOption(t,r,o,i,l).then(u=>u(e,s))}}},it=class extends V{changePaymentMethodGiftCardLogin(s,e,n,t,r){return F(this.configuration).changePaymentMethodGiftCardLogin(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}changePaymentMethodOption(s,e,n,t,r){return F(this.configuration).changePaymentMethodOption(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}createPaymentMethod(s,e,n,t){return F(this.configuration).createPaymentMethod(s,e,n,t).then(r=>r(this.axios,this.basePath))}deletePaymentMethodOption(s,e,n,t){return F(this.configuration).deletePaymentMethodOption(s,e,n,t).then(r=>r(this.axios,this.basePath))}getCatalog(s,e,n,t){return F(this.configuration).getCatalog(s,e,n,t).then(r=>r(this.axios,this.basePath))}getPaymentMethods(s,e,n,t){return F(this.configuration).getPaymentMethods(s,e,n,t).then(r=>r(this.axios,this.basePath))}getTypes(s){return F(this.configuration).getTypes(s).then(e=>e(this.axios,this.basePath))}reorder(s,e,n,t){return F(this.configuration).reorder(s,e,n,t).then(r=>r(this.axios,this.basePath))}setPaymentMethodPositions(s,e,n,t){return F(this.configuration).setPaymentMethodPositions(s,e,n,t).then(r=>r(this.axios,this.basePath))}updatePaymentMethodOption(s,e,n,t,r){return F(this.configuration).updatePaymentMethodOption(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}},xs=function(a){return{cancelSession:async(s,e={})=>{c("cancelSession","clientToken",s);let n="/api/v1/payment-session/{clientToken}/cancel".replace("{clientToken}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getOrderSettlementStatus:async(s,e,n,t={})=>{c("getOrderSettlementStatus","businessId",s),c("getOrderSettlementStatus","orderId",e);let r="/api/v1/payment-session/order-settlement/{businessId}/{orderId}".replace("{businessId}",encodeURIComponent(String(s))).replace("{orderId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},getPaymentSession:async(s,e={})=>{c("getPaymentSession","clientToken",s);let n="/api/v1/payment-session/{clientToken}".replace("{clientToken}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getPaymentSessionAnalytics:async(s,e,n,t,r={})=>{c("getPaymentSessionAnalytics","businessId",s),c("getPaymentSessionAnalytics","timeSpan",e);let o="/api/v1/payment-session/analytics",i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"GET",...l,...r},d={},b={};s!==void 0&&(b.businessId=s),e!==void 0&&(b.timeSpan=e),n!==void 0&&(b.start=n),t!==void 0&&(b.end=t),y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},{url:g(i),options:u}},initiateEpassiSession:async(s,e,n,t={})=>{c("initiateEpassiSession","xEpassiQrCode",s),c("initiateEpassiSession","initiateEpassiSessionDto",e);let r="/api/v1/payment-session/epassi/initiate",o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};s!=null&&(u["X-Epassi-Qr-Code"]=String(s)),n!=null&&(u["X-Idempotency-Key"]=String(n)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(e,l,a),{url:g(o),options:l}},initiateNetsSession:async(s,e,n={})=>{c("initiateNetsSession","initiateNetsSessionDto",s);let t="/api/v1/payment-session/nets/initiate",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};e!=null&&(l["X-Idempotency-Key"]=String(e)),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(s,i,a),{url:g(r),options:i}},initiateVivaA2aSession:async(s,e={})=>{c("initiateVivaA2aSession","initiateVivaA2aSessionDto",s);let n="/api/v1/payment-session/viva/a2a",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},initiateVivaSession:async(s,e,n={})=>{c("initiateVivaSession","initiateVivaSessionDto",s);let t="/api/v1/payment-session/viva/initiate",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};e!=null&&(l["X-Idempotency-Key"]=String(e)),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(s,i,a),{url:g(r),options:i}},initiateWorldlineSession:async(s,e,n={})=>{c("initiateWorldlineSession","initiateWorldlineSessionDto",s);let t="/api/v1/payment-session/worldline/initiate",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};e!=null&&(l["X-Idempotency-Key"]=String(e)),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(s,i,a),{url:g(r),options:i}},paymentSessionGetChargeStatus:async(s,e={})=>{c("paymentSessionGetChargeStatus","chargeId",s);let n="/api/v1/payment-session/charge-status/{chargeId}".replace("{chargeId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},paymentSessionRegisterChargeMapping:async(s,e={})=>{c("paymentSessionRegisterChargeMapping","registerChargeMappingDto",s);let n="/api/v1/payment-session/charge-status/register",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},pollEpassiSession:async(s,e={})=>{c("pollEpassiSession","epassiSessionReferenceDto",s);let n="/api/v1/payment-session/epassi/poll",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},pollVivaSession:async(s,e={})=>{c("pollVivaSession","pollVivaSessionDto",s);let n="/api/v1/payment-session/poll",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},pollWorldlineSession:async(s,e={})=>{c("pollWorldlineSession","pollWorldlineSessionDto",s);let n="/api/v1/payment-session/worldline/poll",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},recordManualPayment:async(s,e,n={})=>{c("recordManualPayment","createManualSessionDto",s);let t="/api/v1/payment-session/manual",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};e!=null&&(l["X-Idempotency-Key"]=String(e)),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(s,i,a),{url:g(r),options:i}},refundEpassiSession:async(s,e={})=>{c("refundEpassiSession","epassiSessionReferenceDto",s);let n="/api/v1/payment-session/epassi/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},refundNetsSession:async(s,e={})=>{c("refundNetsSession","reverseSessionDto",s);let n="/api/v1/payment-session/nets/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},refundVivaSession:async(s,e={})=>{c("refundVivaSession","reverseSessionDto",s);let n="/api/v1/payment-session/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},refundWorldlineSession:async(s,e={})=>{c("refundWorldlineSession","reverseSessionDto",s);let n="/api/v1/payment-session/worldline/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},retryWorldlineReversal:async(s,e={})=>{c("retryWorldlineReversal","retryWorldlineReversalDto",s);let n="/api/v1/payment-session/worldline/reversal-retry",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},revertNetsSession:async(s,e={})=>{c("revertNetsSession","reverseSessionDto",s);let n="/api/v1/payment-session/nets/revert",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},revertVivaSession:async(s,e={})=>{c("revertVivaSession","reverseSessionDto",s);let n="/api/v1/payment-session/revert",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},revertWorldlineSession:async(s,e={})=>{c("revertWorldlineSession","reverseSessionDto",s);let n="/api/v1/payment-session/worldline/revert",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},voidManualPayment:async(s,e={})=>{c("voidManualPayment","voidManualSessionDto",s);let n="/api/v1/payment-session/void",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},q=function(a){let s=xs(a);return{async cancelSession(e,n){let t=await s.cancelSession(e,n);return h(t,P.default,p,a)},async getOrderSettlementStatus(e,n,t,r){let o=await s.getOrderSettlementStatus(e,n,t,r);return h(o,P.default,p,a)},async getPaymentSession(e,n){let t=await s.getPaymentSession(e,n);return h(t,P.default,p,a)},async getPaymentSessionAnalytics(e,n,t,r,o){let i=await s.getPaymentSessionAnalytics(e,n,t,r,o);return h(i,P.default,p,a)},async initiateEpassiSession(e,n,t,r){let o=await s.initiateEpassiSession(e,n,t,r);return h(o,P.default,p,a)},async initiateNetsSession(e,n,t){let r=await s.initiateNetsSession(e,n,t);return h(r,P.default,p,a)},async initiateVivaA2aSession(e,n){let t=await s.initiateVivaA2aSession(e,n);return h(t,P.default,p,a)},async initiateVivaSession(e,n,t){let r=await s.initiateVivaSession(e,n,t);return h(r,P.default,p,a)},async initiateWorldlineSession(e,n,t){let r=await s.initiateWorldlineSession(e,n,t);return h(r,P.default,p,a)},async paymentSessionGetChargeStatus(e,n){let t=await s.paymentSessionGetChargeStatus(e,n);return h(t,P.default,p,a)},async paymentSessionRegisterChargeMapping(e,n){let t=await s.paymentSessionRegisterChargeMapping(e,n);return h(t,P.default,p,a)},async pollEpassiSession(e,n){let t=await s.pollEpassiSession(e,n);return h(t,P.default,p,a)},async pollVivaSession(e,n){let t=await s.pollVivaSession(e,n);return h(t,P.default,p,a)},async pollWorldlineSession(e,n){let t=await s.pollWorldlineSession(e,n);return h(t,P.default,p,a)},async recordManualPayment(e,n,t){let r=await s.recordManualPayment(e,n,t);return h(r,P.default,p,a)},async refundEpassiSession(e,n){let t=await s.refundEpassiSession(e,n);return h(t,P.default,p,a)},async refundNetsSession(e,n){let t=await s.refundNetsSession(e,n);return h(t,P.default,p,a)},async refundVivaSession(e,n){let t=await s.refundVivaSession(e,n);return h(t,P.default,p,a)},async refundWorldlineSession(e,n){let t=await s.refundWorldlineSession(e,n);return h(t,P.default,p,a)},async retryWorldlineReversal(e,n){let t=await s.retryWorldlineReversal(e,n);return h(t,P.default,p,a)},async revertNetsSession(e,n){let t=await s.revertNetsSession(e,n);return h(t,P.default,p,a)},async revertVivaSession(e,n){let t=await s.revertVivaSession(e,n);return h(t,P.default,p,a)},async revertWorldlineSession(e,n){let t=await s.revertWorldlineSession(e,n);return h(t,P.default,p,a)},async voidManualPayment(e,n){let t=await s.voidManualPayment(e,n);return h(t,P.default,p,a)}}},ba=function(a,s,e){let n=q(a);return{cancelSession(t,r){return n.cancelSession(t,r).then(o=>o(e,s))},getOrderSettlementStatus(t,r,o,i){return n.getOrderSettlementStatus(t,r,o,i).then(l=>l(e,s))},getPaymentSession(t,r){return n.getPaymentSession(t,r).then(o=>o(e,s))},getPaymentSessionAnalytics(t,r,o,i,l){return n.getPaymentSessionAnalytics(t,r,o,i,l).then(u=>u(e,s))},initiateEpassiSession(t,r,o,i){return n.initiateEpassiSession(t,r,o,i).then(l=>l(e,s))},initiateNetsSession(t,r,o){return n.initiateNetsSession(t,r,o).then(i=>i(e,s))},initiateVivaA2aSession(t,r){return n.initiateVivaA2aSession(t,r).then(o=>o(e,s))},initiateVivaSession(t,r,o){return n.initiateVivaSession(t,r,o).then(i=>i(e,s))},initiateWorldlineSession(t,r,o){return n.initiateWorldlineSession(t,r,o).then(i=>i(e,s))},paymentSessionGetChargeStatus(t,r){return n.paymentSessionGetChargeStatus(t,r).then(o=>o(e,s))},paymentSessionRegisterChargeMapping(t,r){return n.paymentSessionRegisterChargeMapping(t,r).then(o=>o(e,s))},pollEpassiSession(t,r){return n.pollEpassiSession(t,r).then(o=>o(e,s))},pollVivaSession(t,r){return n.pollVivaSession(t,r).then(o=>o(e,s))},pollWorldlineSession(t,r){return n.pollWorldlineSession(t,r).then(o=>o(e,s))},recordManualPayment(t,r,o){return n.recordManualPayment(t,r,o).then(i=>i(e,s))},refundEpassiSession(t,r){return n.refundEpassiSession(t,r).then(o=>o(e,s))},refundNetsSession(t,r){return n.refundNetsSession(t,r).then(o=>o(e,s))},refundVivaSession(t,r){return n.refundVivaSession(t,r).then(o=>o(e,s))},refundWorldlineSession(t,r){return n.refundWorldlineSession(t,r).then(o=>o(e,s))},retryWorldlineReversal(t,r){return n.retryWorldlineReversal(t,r).then(o=>o(e,s))},revertNetsSession(t,r){return n.revertNetsSession(t,r).then(o=>o(e,s))},revertVivaSession(t,r){return n.revertVivaSession(t,r).then(o=>o(e,s))},revertWorldlineSession(t,r){return n.revertWorldlineSession(t,r).then(o=>o(e,s))},voidManualPayment(t,r){return n.voidManualPayment(t,r).then(o=>o(e,s))}}},lt=class extends V{cancelSession(s,e){return q(this.configuration).cancelSession(s,e).then(n=>n(this.axios,this.basePath))}getOrderSettlementStatus(s,e,n,t){return q(this.configuration).getOrderSettlementStatus(s,e,n,t).then(r=>r(this.axios,this.basePath))}getPaymentSession(s,e){return q(this.configuration).getPaymentSession(s,e).then(n=>n(this.axios,this.basePath))}getPaymentSessionAnalytics(s,e,n,t,r){return q(this.configuration).getPaymentSessionAnalytics(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}initiateEpassiSession(s,e,n,t){return q(this.configuration).initiateEpassiSession(s,e,n,t).then(r=>r(this.axios,this.basePath))}initiateNetsSession(s,e,n){return q(this.configuration).initiateNetsSession(s,e,n).then(t=>t(this.axios,this.basePath))}initiateVivaA2aSession(s,e){return q(this.configuration).initiateVivaA2aSession(s,e).then(n=>n(this.axios,this.basePath))}initiateVivaSession(s,e,n){return q(this.configuration).initiateVivaSession(s,e,n).then(t=>t(this.axios,this.basePath))}initiateWorldlineSession(s,e,n){return q(this.configuration).initiateWorldlineSession(s,e,n).then(t=>t(this.axios,this.basePath))}paymentSessionGetChargeStatus(s,e){return q(this.configuration).paymentSessionGetChargeStatus(s,e).then(n=>n(this.axios,this.basePath))}paymentSessionRegisterChargeMapping(s,e){return q(this.configuration).paymentSessionRegisterChargeMapping(s,e).then(n=>n(this.axios,this.basePath))}pollEpassiSession(s,e){return q(this.configuration).pollEpassiSession(s,e).then(n=>n(this.axios,this.basePath))}pollVivaSession(s,e){return q(this.configuration).pollVivaSession(s,e).then(n=>n(this.axios,this.basePath))}pollWorldlineSession(s,e){return q(this.configuration).pollWorldlineSession(s,e).then(n=>n(this.axios,this.basePath))}recordManualPayment(s,e,n){return q(this.configuration).recordManualPayment(s,e,n).then(t=>t(this.axios,this.basePath))}refundEpassiSession(s,e){return q(this.configuration).refundEpassiSession(s,e).then(n=>n(this.axios,this.basePath))}refundNetsSession(s,e){return q(this.configuration).refundNetsSession(s,e).then(n=>n(this.axios,this.basePath))}refundVivaSession(s,e){return q(this.configuration).refundVivaSession(s,e).then(n=>n(this.axios,this.basePath))}refundWorldlineSession(s,e){return q(this.configuration).refundWorldlineSession(s,e).then(n=>n(this.axios,this.basePath))}retryWorldlineReversal(s,e){return q(this.configuration).retryWorldlineReversal(s,e).then(n=>n(this.axios,this.basePath))}revertNetsSession(s,e){return q(this.configuration).revertNetsSession(s,e).then(n=>n(this.axios,this.basePath))}revertVivaSession(s,e){return q(this.configuration).revertVivaSession(s,e).then(n=>n(this.axios,this.basePath))}revertWorldlineSession(s,e){return q(this.configuration).revertWorldlineSession(s,e).then(n=>n(this.axios,this.basePath))}voidManualPayment(s,e){return q(this.configuration).voidManualPayment(s,e).then(n=>n(this.axios,this.basePath))}},Ds=function(a){return{deletePrinterByAddress:async(s,e,n={})=>{c("deletePrinterByAddress","businessId",s),c("deletePrinterByAddress","address",e);let t="/api/v1/printer",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...n},l={},u={};s!==void 0&&(u.businessId=s),e!==void 0&&(u.address=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},upsertPrinter:async(s,e={})=>{c("upsertPrinter","upsertPrinterDto",s);let n="/api/v1/printer",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"PUT",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},xe=function(a){let s=Ds(a);return{async deletePrinterByAddress(e,n,t){let r=await s.deletePrinterByAddress(e,n,t);return h(r,P.default,p,a)},async upsertPrinter(e,n){let t=await s.upsertPrinter(e,n);return h(t,P.default,p,a)}}},Aa=function(a,s,e){let n=xe(a);return{deletePrinterByAddress(t,r,o){return n.deletePrinterByAddress(t,r,o).then(i=>i(e,s))},upsertPrinter(t,r){return n.upsertPrinter(t,r).then(o=>o(e,s))}}},ut=class extends V{deletePrinterByAddress(s,e,n){return xe(this.configuration).deletePrinterByAddress(s,e,n).then(t=>t(this.axios,this.basePath))}upsertPrinter(s,e){return xe(this.configuration).upsertPrinter(s,e).then(n=>n(this.axios,this.basePath))}},Cs=function(a){return{getChannelInventoryV2:async(s,e,n,t={})=>{c("getChannelInventoryV2","businessId",s),c("getChannelInventoryV2","categoryId",e),c("getChannelInventoryV2","productId",n);let r="/api/v2/business/{businessId}/categories/{categoryId}/products/{productId}/channel-inventory".replace("{businessId}",encodeURIComponent(String(s))).replace("{categoryId}",encodeURIComponent(String(e))).replace("{productId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={};y(o,{});let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},updateChannelInventoryV2:async(s,e,n,t,r={})=>{c("updateChannelInventoryV2","businessId",s),c("updateChannelInventoryV2","categoryId",e),c("updateChannelInventoryV2","productId",n),c("updateChannelInventoryV2","updateChannelInventoryDto",t);let o="/api/v2/business/{businessId}/categories/{categoryId}/products/{productId}/channel-inventory".replace("{businessId}",encodeURIComponent(String(s))).replace("{categoryId}",encodeURIComponent(String(e))).replace("{productId}",encodeURIComponent(String(n))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PUT",...l,...r},d={},b={};d["Content-Type"]="application/json",y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},updateProductSkuV2:async(s,e,n,t,r={})=>{c("updateProductSkuV2","businessId",s),c("updateProductSkuV2","categoryId",e),c("updateProductSkuV2","productId",n),c("updateProductSkuV2","updateProductSkuDto",t);let o="/api/v2/business/{businessId}/categories/{categoryId}/products/{productId}/sku".replace("{businessId}",encodeURIComponent(String(s))).replace("{categoryId}",encodeURIComponent(String(e))).replace("{productId}",encodeURIComponent(String(n))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PUT",...l,...r},d={},b={};d["Content-Type"]="application/json",y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}}}},oe=function(a){let s=Cs(a);return{async getChannelInventoryV2(e,n,t,r){let o=await s.getChannelInventoryV2(e,n,t,r);return h(o,P.default,p,a)},async updateChannelInventoryV2(e,n,t,r,o){let i=await s.updateChannelInventoryV2(e,n,t,r,o);return h(i,P.default,p,a)},async updateProductSkuV2(e,n,t,r,o){let i=await s.updateProductSkuV2(e,n,t,r,o);return h(i,P.default,p,a)}}},fa=function(a,s,e){let n=oe(a);return{getChannelInventoryV2(t,r,o,i){return n.getChannelInventoryV2(t,r,o,i).then(l=>l(e,s))},updateChannelInventoryV2(t,r,o,i,l){return n.updateChannelInventoryV2(t,r,o,i,l).then(u=>u(e,s))},updateProductSkuV2(t,r,o,i,l){return n.updateProductSkuV2(t,r,o,i,l).then(u=>u(e,s))}}},ct=class extends V{getChannelInventoryV2(s,e,n,t){return oe(this.configuration).getChannelInventoryV2(s,e,n,t).then(r=>r(this.axios,this.basePath))}updateChannelInventoryV2(s,e,n,t,r){return oe(this.configuration).updateChannelInventoryV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}updateProductSkuV2(s,e,n,t,r){return oe(this.configuration).updateProductSkuV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}},Ss=function(a){return{createOnboardingSession:async(s,e,n={})=>{c("createOnboardingSession","channel",s),c("createOnboardingSession","createOnboardingSessionDto",e);let t="/api/v1/provider/onboarding/{channel}/sessions".replace("{channel}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},disconnectOnboarding:async(s,e,n={})=>{c("disconnectOnboarding","channel",s),c("disconnectOnboarding","businessId",e);let t="/api/v1/provider/onboarding/{channel}/{businessId}".replace("{channel}",encodeURIComponent(String(s))).replace("{businessId}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...n},l={};y(r,{});let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getMenuIntegrations:async(s,e={})=>{c("getMenuIntegrations","businessId",s);let n="/api/v1/provider/integrations/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getOnboardingStatus:async(s,e,n={})=>{c("getOnboardingStatus","channel",s),c("getOnboardingStatus","businessId",e);let t="/api/v1/provider/onboarding/{channel}/status/{businessId}".replace("{channel}",encodeURIComponent(String(s))).replace("{businessId}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={};y(r,{});let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},listOnboardingStores:async(s,e,n={})=>{c("listOnboardingStores","channel",s),c("listOnboardingStores","state",e);let t="/api/v1/provider/onboarding/{channel}/{state}/stores".replace("{channel}",encodeURIComponent(String(s))).replace("{state}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={};y(r,{});let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},provisionOnboardingStore:async(s,e,n,t={})=>{c("provisionOnboardingStore","channel",s),c("provisionOnboardingStore","state",e),c("provisionOnboardingStore","provisionOnboardingStoreDto",n);let r="/api/v1/provider/onboarding/{channel}/{state}/provision".replace("{channel}",encodeURIComponent(String(s))).replace("{state}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},updateProviderSettings:async(s,e,n={})=>{c("updateProviderSettings","businessId",s),c("updateProviderSettings","updateProviderSettingsDto",e);let t="/api/v1/provider/{businessId}/settings".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...n},l={},u={};l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}}}},K=function(a){let s=Ss(a);return{async createOnboardingSession(e,n,t){let r=await s.createOnboardingSession(e,n,t);return h(r,P.default,p,a)},async disconnectOnboarding(e,n,t){let r=await s.disconnectOnboarding(e,n,t);return h(r,P.default,p,a)},async getMenuIntegrations(e,n){let t=await s.getMenuIntegrations(e,n);return h(t,P.default,p,a)},async getOnboardingStatus(e,n,t){let r=await s.getOnboardingStatus(e,n,t);return h(r,P.default,p,a)},async listOnboardingStores(e,n,t){let r=await s.listOnboardingStores(e,n,t);return h(r,P.default,p,a)},async provisionOnboardingStore(e,n,t,r){let o=await s.provisionOnboardingStore(e,n,t,r);return h(o,P.default,p,a)},async updateProviderSettings(e,n,t){let r=await s.updateProviderSettings(e,n,t);return h(r,P.default,p,a)}}},Ra=function(a,s,e){let n=K(a);return{createOnboardingSession(t,r,o){return n.createOnboardingSession(t,r,o).then(i=>i(e,s))},disconnectOnboarding(t,r,o){return n.disconnectOnboarding(t,r,o).then(i=>i(e,s))},getMenuIntegrations(t,r){return n.getMenuIntegrations(t,r).then(o=>o(e,s))},getOnboardingStatus(t,r,o){return n.getOnboardingStatus(t,r,o).then(i=>i(e,s))},listOnboardingStores(t,r,o){return n.listOnboardingStores(t,r,o).then(i=>i(e,s))},provisionOnboardingStore(t,r,o,i){return n.provisionOnboardingStore(t,r,o,i).then(l=>l(e,s))},updateProviderSettings(t,r,o){return n.updateProviderSettings(t,r,o).then(i=>i(e,s))}}},dt=class extends V{createOnboardingSession(s,e,n){return K(this.configuration).createOnboardingSession(s,e,n).then(t=>t(this.axios,this.basePath))}disconnectOnboarding(s,e,n){return K(this.configuration).disconnectOnboarding(s,e,n).then(t=>t(this.axios,this.basePath))}getMenuIntegrations(s,e){return K(this.configuration).getMenuIntegrations(s,e).then(n=>n(this.axios,this.basePath))}getOnboardingStatus(s,e,n){return K(this.configuration).getOnboardingStatus(s,e,n).then(t=>t(this.axios,this.basePath))}listOnboardingStores(s,e,n){return K(this.configuration).listOnboardingStores(s,e,n).then(t=>t(this.axios,this.basePath))}provisionOnboardingStore(s,e,n,t){return K(this.configuration).provisionOnboardingStore(s,e,n,t).then(r=>r(this.axios,this.basePath))}updateProviderSettings(s,e,n){return K(this.configuration).updateProviderSettings(s,e,n).then(t=>t(this.axios,this.basePath))}},Os=function(a){return{receiptFooterGetConfig:async(s,e,n={})=>{c("receiptFooterGetConfig","businessId",s),c("receiptFooterGetConfig","xAppX",e);let t="/api/v1/receipt-footer/business/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};await R(l,a),e!=null&&(l["x-app-x"]=String(e)),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},receiptFooterUpsertConfig:async(s,e,n,t={})=>{c("receiptFooterUpsertConfig","businessId",s),c("receiptFooterUpsertConfig","xAppX",e),c("receiptFooterUpsertConfig","upsertReceiptFooterDto",n);let r="/api/v1/receipt-footer/business/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PUT",...i,...t},u={},d={};await R(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}}}},De=function(a){let s=Os(a);return{async receiptFooterGetConfig(e,n,t){let r=await s.receiptFooterGetConfig(e,n,t);return h(r,P.default,p,a)},async receiptFooterUpsertConfig(e,n,t,r){let o=await s.receiptFooterUpsertConfig(e,n,t,r);return h(o,P.default,p,a)}}},xa=function(a,s,e){let n=De(a);return{receiptFooterGetConfig(t,r,o){return n.receiptFooterGetConfig(t,r,o).then(i=>i(e,s))},receiptFooterUpsertConfig(t,r,o,i){return n.receiptFooterUpsertConfig(t,r,o,i).then(l=>l(e,s))}}},pt=class extends V{receiptFooterGetConfig(s,e,n){return De(this.configuration).receiptFooterGetConfig(s,e,n).then(t=>t(this.axios,this.basePath))}receiptFooterUpsertConfig(s,e,n,t){return De(this.configuration).receiptFooterUpsertConfig(s,e,n,t).then(r=>r(this.axios,this.basePath))}},Vs=function(a){return{cancelPlanV2:async(s,e,n,t={})=>{c("cancelPlanV2","businessId",s),c("cancelPlanV2","orderId",e),c("cancelPlanV2","refundId",n);let r="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/plan/{refundId}/cancel".replace("{businessId}",encodeURIComponent(String(s))).replace("{orderId}",encodeURIComponent(String(e))).replace("{refundId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"DELETE",...i,...t},u={};y(o,{});let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},createRefundPlanV2:async(s,e,n,t={})=>{c("createRefundPlanV2","businessId",s),c("createRefundPlanV2","orderId",e),c("createRefundPlanV2","createRefundPlanDto",n);let r="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/plan".replace("{businessId}",encodeURIComponent(String(s))).replace("{orderId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},getRefundPlanV2:async(s,e,n,t={})=>{c("getRefundPlanV2","businessId",s),c("getRefundPlanV2","orderId",e),c("getRefundPlanV2","status",n);let r="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/refunds".replace("{businessId}",encodeURIComponent(String(s))).replace("{orderId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},d={};n!==void 0&&(d.status=n),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},recordRefundPlanV2:async(s,e,n,t,r={})=>{c("recordRefundPlanV2","businessId",s),c("recordRefundPlanV2","orderId",e),c("recordRefundPlanV2","refundId",n),c("recordRefundPlanV2","completedStepDto",t);let o="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/plan/{refundId}/record".replace("{businessId}",encodeURIComponent(String(s))).replace("{orderId}",encodeURIComponent(String(e))).replace("{refundId}",encodeURIComponent(String(n))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"POST",...l,...r},d={},b={};d["Content-Type"]="application/json",y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},refundOnlineOrder:async(s,e,n,t={})=>{c("refundOnlineOrder","businessId",s),c("refundOnlineOrder","orderId",e),c("refundOnlineOrder","provider",n);let r="/api/v1/refunds/businesses/{businessId}/orders/{orderId}/refund-online".replace("{businessId}",encodeURIComponent(String(s))).replace("{orderId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},d={};n!==void 0&&(d.provider=n),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},resolveRefundChoiceV2:async(s,e,n,t,r={})=>{c("resolveRefundChoiceV2","businessId",s),c("resolveRefundChoiceV2","orderId",e),c("resolveRefundChoiceV2","refundId",n),c("resolveRefundChoiceV2","resolveChoiceDto",t);let o="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/plan/{refundId}/resolve-choice".replace("{businessId}",encodeURIComponent(String(s))).replace("{orderId}",encodeURIComponent(String(e))).replace("{refundId}",encodeURIComponent(String(n))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"POST",...l,...r},d={},b={};d["Content-Type"]="application/json",y(i,b);let f=l&&l.headers?l.headers:{};return u.headers={...d,...f,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},startProcessPlanV2:async(s,e,n,t={})=>{c("startProcessPlanV2","businessId",s),c("startProcessPlanV2","orderId",e),c("startProcessPlanV2","refundId",n);let r="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/plan/{refundId}/start".replace("{businessId}",encodeURIComponent(String(s))).replace("{orderId}",encodeURIComponent(String(e))).replace("{refundId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={};y(o,{});let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}}}},G=function(a){let s=Vs(a);return{async cancelPlanV2(e,n,t,r){let o=await s.cancelPlanV2(e,n,t,r);return h(o,P.default,p,a)},async createRefundPlanV2(e,n,t,r){let o=await s.createRefundPlanV2(e,n,t,r);return h(o,P.default,p,a)},async getRefundPlanV2(e,n,t,r){let o=await s.getRefundPlanV2(e,n,t,r);return h(o,P.default,p,a)},async recordRefundPlanV2(e,n,t,r,o){let i=await s.recordRefundPlanV2(e,n,t,r,o);return h(i,P.default,p,a)},async refundOnlineOrder(e,n,t,r){let o=await s.refundOnlineOrder(e,n,t,r);return h(o,P.default,p,a)},async resolveRefundChoiceV2(e,n,t,r,o){let i=await s.resolveRefundChoiceV2(e,n,t,r,o);return h(i,P.default,p,a)},async startProcessPlanV2(e,n,t,r){let o=await s.startProcessPlanV2(e,n,t,r);return h(o,P.default,p,a)}}},Da=function(a,s,e){let n=G(a);return{cancelPlanV2(t,r,o,i){return n.cancelPlanV2(t,r,o,i).then(l=>l(e,s))},createRefundPlanV2(t,r,o,i){return n.createRefundPlanV2(t,r,o,i).then(l=>l(e,s))},getRefundPlanV2(t,r,o,i){return n.getRefundPlanV2(t,r,o,i).then(l=>l(e,s))},recordRefundPlanV2(t,r,o,i,l){return n.recordRefundPlanV2(t,r,o,i,l).then(u=>u(e,s))},refundOnlineOrder(t,r,o,i){return n.refundOnlineOrder(t,r,o,i).then(l=>l(e,s))},resolveRefundChoiceV2(t,r,o,i,l){return n.resolveRefundChoiceV2(t,r,o,i,l).then(u=>u(e,s))},startProcessPlanV2(t,r,o,i){return n.startProcessPlanV2(t,r,o,i).then(l=>l(e,s))}}},mt=class extends V{cancelPlanV2(s,e,n,t){return G(this.configuration).cancelPlanV2(s,e,n,t).then(r=>r(this.axios,this.basePath))}createRefundPlanV2(s,e,n,t){return G(this.configuration).createRefundPlanV2(s,e,n,t).then(r=>r(this.axios,this.basePath))}getRefundPlanV2(s,e,n,t){return G(this.configuration).getRefundPlanV2(s,e,n,t).then(r=>r(this.axios,this.basePath))}recordRefundPlanV2(s,e,n,t,r){return G(this.configuration).recordRefundPlanV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}refundOnlineOrder(s,e,n,t){return G(this.configuration).refundOnlineOrder(s,e,n,t).then(r=>r(this.axios,this.basePath))}resolveRefundChoiceV2(s,e,n,t,r){return G(this.configuration).resolveRefundChoiceV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}startProcessPlanV2(s,e,n,t){return G(this.configuration).startProcessPlanV2(s,e,n,t).then(r=>r(this.axios,this.basePath))}},Is=function(a){return{getEndOfDayReportV5:async(s,e,n,t,r,o,i={})=>{c("getEndOfDayReportV5","businessIds",s);let l="/api/v5/report/end-of-day",u=new URL(l,m),d;a&&(d=a.baseOptions);let b={method:"GET",...d,...i},f={},D={};e!==void 0&&(D.timeSpan=e),n!==void 0&&(D.start=n),t!==void 0&&(D.end=t),s&&(D.businessIds=s),r!==void 0&&(D.timezone=r),o!==void 0&&(D.provider=o),y(u,D);let x=d&&d.headers?d.headers:{};return b.headers={...f,...x,...i.headers},{url:g(u),options:b}},getSalesReport:async(s,e,n,t,r,o,i,l,u,d,b,f,D={})=>{c("getSalesReport","businessIds",s);let x="/api/v6/report/sales",S=new URL(x,m),I;a&&(I=a.baseOptions);let v={method:"GET",...I,...D},O={},T={};await R(O,a),e!==void 0&&(T.timeSpan=e),n!==void 0&&(T.start=n),t!==void 0&&(T.end=t),s&&(T.businessIds=s),r!==void 0&&(T.timezone=r),o&&(T.apps=o),i&&(T.parts=i),l!==void 0&&(T.breakdown=l),u!==void 0&&(T.language=u),d!==void 0&&(T.compareStart=d),b!==void 0&&(T.compareEnd=b),f!==void 0&&(T.baseline=f),y(S,T);let B=I&&I.headers?I.headers:{};return v.headers={...O,...B,...D.headers},{url:g(S),options:v}},sendReportEmailV5:async(s,e,n,t,r,o,i,l={})=>{c("sendReportEmailV5","businessIds",s),c("sendReportEmailV5","timezone",e),c("sendReportEmailV5","sendReportEmailDto",n);let u="/api/v5/report/email",d=new URL(u,m),b;a&&(b=a.baseOptions);let f={method:"POST",...b,...l},D={},x={};t!==void 0&&(x.timeSpan=t),r!==void 0&&(x.start=r),o!==void 0&&(x.end=o),s&&(x.businessIds=s),e!==void 0&&(x.timezone=e),i!==void 0&&(x.provider=i),D["Content-Type"]="application/json",y(d,x);let S=b&&b.headers?b.headers:{};return f.headers={...D,...S,...l.headers},f.data=A(n,f,a),{url:g(d),options:f}}}},ae=function(a){let s=Is(a);return{async getEndOfDayReportV5(e,n,t,r,o,i,l){let u=await s.getEndOfDayReportV5(e,n,t,r,o,i,l);return h(u,P.default,p,a)},async getSalesReport(e,n,t,r,o,i,l,u,d,b,f,D,x){let S=await s.getSalesReport(e,n,t,r,o,i,l,u,d,b,f,D,x);return h(S,P.default,p,a)},async sendReportEmailV5(e,n,t,r,o,i,l,u){let d=await s.sendReportEmailV5(e,n,t,r,o,i,l,u);return h(d,P.default,p,a)}}},Ca=function(a,s,e){let n=ae(a);return{getEndOfDayReportV5(t,r,o,i,l,u,d){return n.getEndOfDayReportV5(t,r,o,i,l,u,d).then(b=>b(e,s))},getSalesReport(t,r,o,i,l,u,d,b,f,D,x,S,I){return n.getSalesReport(t,r,o,i,l,u,d,b,f,D,x,S,I).then(v=>v(e,s))},sendReportEmailV5(t,r,o,i,l,u,d,b){return n.sendReportEmailV5(t,r,o,i,l,u,d,b).then(f=>f(e,s))}}},yt=class extends V{getEndOfDayReportV5(s,e,n,t,r,o,i){return ae(this.configuration).getEndOfDayReportV5(s,e,n,t,r,o,i).then(l=>l(this.axios,this.basePath))}getSalesReport(s,e,n,t,r,o,i,l,u,d,b,f,D){return ae(this.configuration).getSalesReport(s,e,n,t,r,o,i,l,u,d,b,f,D).then(x=>x(this.axios,this.basePath))}sendReportEmailV5(s,e,n,t,r,o,i,l){return ae(this.configuration).sendReportEmailV5(s,e,n,t,r,o,i,l).then(u=>u(this.axios,this.basePath))}},vs=function(a){return{getEndOfDayReportForTill:async(s,e,n,t,r,o,i={})=>{c("getEndOfDayReportForTill","businessIds",s);let l="/api/v6/report/end-of-day",u=new URL(l,m),d;a&&(d=a.baseOptions);let b={method:"GET",...d,...i},f={},D={};await R(f,a),e!==void 0&&(D.timeSpan=e),n!==void 0&&(D.start=n),t!==void 0&&(D.end=t),s&&(D.businessIds=s),r!==void 0&&(D.timezone=r),o!==void 0&&(D.provider=o),y(u,D);let x=d&&d.headers?d.headers:{};return b.headers={...f,...x,...i.headers},{url:g(u),options:b}},sendEndOfDayReportForTill:async(s,e,n,t,r,o,i,l={})=>{c("sendEndOfDayReportForTill","businessIds",s),c("sendEndOfDayReportForTill","sendReportEmailDto",e);let u="/api/v6/report/email",d=new URL(u,m),b;a&&(b=a.baseOptions);let f={method:"POST",...b,...l},D={},x={};await R(D,a),n!==void 0&&(x.timeSpan=n),t!==void 0&&(x.start=t),r!==void 0&&(x.end=r),s&&(x.businessIds=s),o!==void 0&&(x.timezone=o),i!==void 0&&(x.provider=i),D["Content-Type"]="application/json",y(d,x);let S=b&&b.headers?b.headers:{};return f.headers={...D,...S,...l.headers},f.data=A(e,f,a),{url:g(d),options:f}}}},Ce=function(a){let s=vs(a);return{async getEndOfDayReportForTill(e,n,t,r,o,i,l){let u=await s.getEndOfDayReportForTill(e,n,t,r,o,i,l);return h(u,P.default,p,a)},async sendEndOfDayReportForTill(e,n,t,r,o,i,l,u){let d=await s.sendEndOfDayReportForTill(e,n,t,r,o,i,l,u);return h(d,P.default,p,a)}}},Sa=function(a,s,e){let n=Ce(a);return{getEndOfDayReportForTill(t,r,o,i,l,u,d){return n.getEndOfDayReportForTill(t,r,o,i,l,u,d).then(b=>b(e,s))},sendEndOfDayReportForTill(t,r,o,i,l,u,d,b){return n.sendEndOfDayReportForTill(t,r,o,i,l,u,d,b).then(f=>f(e,s))}}},gt=class extends V{getEndOfDayReportForTill(s,e,n,t,r,o,i){return Ce(this.configuration).getEndOfDayReportForTill(s,e,n,t,r,o,i).then(l=>l(this.axios,this.basePath))}sendEndOfDayReportForTill(s,e,n,t,r,o,i,l){return Ce(this.configuration).sendEndOfDayReportForTill(s,e,n,t,r,o,i,l).then(u=>u(this.axios,this.basePath))}},Ts=function(a){return{createReservation:async(s,e={})=>{c("createReservation","createReservationDto",s);let n="/api/v1/reservations",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},getReservationAvailability:async(s,e,n,t,r,o={})=>{c("getReservationAvailability","businessId",s),c("getReservationAvailability","date",e),c("getReservationAvailability","partySize",n);let i="/api/v1/reservations/availability",l=new URL(i,m),u;a&&(u=a.baseOptions);let d={method:"GET",...u,...o},b={},f={};await R(b,a),s!==void 0&&(f.businessId=s),e!==void 0&&(f.date=e),n!==void 0&&(f.partySize=n),t!==void 0&&(f.sectionId=t),r!==void 0&&(f.excludeReservationId=r),y(l,f);let D=u&&u.headers?u.headers:{};return d.headers={...b,...D,...o.headers},{url:g(l),options:d}},getReservationPolicy:async(s,e={})=>{c("getReservationPolicy","businessId",s);let n="/api/v1/reservations/policy",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),s!==void 0&&(l.businessId=s),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},linkReservationIntegration:async(s,e={})=>{c("linkReservationIntegration","linkReservationIntegrationDto",s);let n="/api/v1/reservations/link",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},listReservations:async(s,e,n,t={})=>{c("listReservations","businessId",s);let r="/api/v1/reservations",o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},d={};await R(u,a),s!==void 0&&(d.businessId=s),e!==void 0&&(d.date=e),n!==void 0&&(d.status=n),y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},reservationInboundWebhook:async(s,e={})=>{c("reservationInboundWebhook","inboundReservationWebhookDto",s);let n="/api/v1/reservations/webhook/inbound",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},unlinkReservationIntegration:async(s,e={})=>{c("unlinkReservationIntegration","businessId",s);let n="/api/v1/reservations/link",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={},l={};await R(i,a),s!==void 0&&(l.businessId=s),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},updateReservation:async(s,e,n,t={})=>{c("updateReservation","id",s),c("updateReservation","businessId",e),c("updateReservation","updateReservationDto",n);let r="/api/v1/reservations/{id}".replace("{id}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},d={};await R(u,a),e!==void 0&&(d.businessId=e),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}},updateReservationPolicy:async(s,e={})=>{c("updateReservationPolicy","updateReservationPolicyDto",s);let n="/api/v1/reservations/policy",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"PATCH",...r,...e},i={},l={};await R(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},updateReservationStatus:async(s,e,n,t={})=>{c("updateReservationStatus","id",s),c("updateReservationStatus","businessId",e),c("updateReservationStatus","updateReservationStatusDto",n);let r="/api/v1/reservations/{id}/status".replace("{id}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},d={};await R(u,a),e!==void 0&&(d.businessId=e),u["Content-Type"]="application/json",y(o,d);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(n,l,a),{url:g(o),options:l}}}},_=function(a){let s=Ts(a);return{async createReservation(e,n){let t=await s.createReservation(e,n);return h(t,P.default,p,a)},async getReservationAvailability(e,n,t,r,o,i){let l=await s.getReservationAvailability(e,n,t,r,o,i);return h(l,P.default,p,a)},async getReservationPolicy(e,n){let t=await s.getReservationPolicy(e,n);return h(t,P.default,p,a)},async linkReservationIntegration(e,n){let t=await s.linkReservationIntegration(e,n);return h(t,P.default,p,a)},async listReservations(e,n,t,r){let o=await s.listReservations(e,n,t,r);return h(o,P.default,p,a)},async reservationInboundWebhook(e,n){let t=await s.reservationInboundWebhook(e,n);return h(t,P.default,p,a)},async unlinkReservationIntegration(e,n){let t=await s.unlinkReservationIntegration(e,n);return h(t,P.default,p,a)},async updateReservation(e,n,t,r){let o=await s.updateReservation(e,n,t,r);return h(o,P.default,p,a)},async updateReservationPolicy(e,n){let t=await s.updateReservationPolicy(e,n);return h(t,P.default,p,a)},async updateReservationStatus(e,n,t,r){let o=await s.updateReservationStatus(e,n,t,r);return h(o,P.default,p,a)}}},Oa=function(a,s,e){let n=_(a);return{createReservation(t,r){return n.createReservation(t,r).then(o=>o(e,s))},getReservationAvailability(t,r,o,i,l,u){return n.getReservationAvailability(t,r,o,i,l,u).then(d=>d(e,s))},getReservationPolicy(t,r){return n.getReservationPolicy(t,r).then(o=>o(e,s))},linkReservationIntegration(t,r){return n.linkReservationIntegration(t,r).then(o=>o(e,s))},listReservations(t,r,o,i){return n.listReservations(t,r,o,i).then(l=>l(e,s))},reservationInboundWebhook(t,r){return n.reservationInboundWebhook(t,r).then(o=>o(e,s))},unlinkReservationIntegration(t,r){return n.unlinkReservationIntegration(t,r).then(o=>o(e,s))},updateReservation(t,r,o,i){return n.updateReservation(t,r,o,i).then(l=>l(e,s))},updateReservationPolicy(t,r){return n.updateReservationPolicy(t,r).then(o=>o(e,s))},updateReservationStatus(t,r,o,i){return n.updateReservationStatus(t,r,o,i).then(l=>l(e,s))}}},ht=class extends V{createReservation(s,e){return _(this.configuration).createReservation(s,e).then(n=>n(this.axios,this.basePath))}getReservationAvailability(s,e,n,t,r,o){return _(this.configuration).getReservationAvailability(s,e,n,t,r,o).then(i=>i(this.axios,this.basePath))}getReservationPolicy(s,e){return _(this.configuration).getReservationPolicy(s,e).then(n=>n(this.axios,this.basePath))}linkReservationIntegration(s,e){return _(this.configuration).linkReservationIntegration(s,e).then(n=>n(this.axios,this.basePath))}listReservations(s,e,n,t){return _(this.configuration).listReservations(s,e,n,t).then(r=>r(this.axios,this.basePath))}reservationInboundWebhook(s,e){return _(this.configuration).reservationInboundWebhook(s,e).then(n=>n(this.axios,this.basePath))}unlinkReservationIntegration(s,e){return _(this.configuration).unlinkReservationIntegration(s,e).then(n=>n(this.axios,this.basePath))}updateReservation(s,e,n,t){return _(this.configuration).updateReservation(s,e,n,t).then(r=>r(this.axios,this.basePath))}updateReservationPolicy(s,e){return _(this.configuration).updateReservationPolicy(s,e).then(n=>n(this.axios,this.basePath))}updateReservationStatus(s,e,n,t){return _(this.configuration).updateReservationStatus(s,e,n,t).then(r=>r(this.axios,this.basePath))}},qs=function(a){return{clockIn:async(s,e,n={})=>{c("clockIn","businessId",s),c("clockIn","clockInRequestDto",e);let t="/api/v1/businesses/{businessId}/shifts/clock-in".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},clockOut:async(s,e,n={})=>{c("clockOut","businessId",s),c("clockOut","clockOutRequestDto",e);let t="/api/v1/businesses/{businessId}/shifts/clock-out".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PUT",...o,...n},l={},u={};l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},getTodayShift:async(s,e,n={})=>{c("getTodayShift","businessId",s),c("getTodayShift","employeeId",e);let t="/api/v1/businesses/{businessId}/shifts/today".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};e!==void 0&&(u.employeeId=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},lockTill:async(s,e={})=>{c("lockTill","businessId",s);let n="/api/v2/businesses/{businessId}/shifts/lock".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await R(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},unlock:async(s,e,n={})=>{c("unlock","businessId",s),c("unlock","unlockTerminalDto",e);let t="/api/v1/businesses/{businessId}/shifts/unlock".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},unlockTillWithPin:async(s,e,n={})=>{c("unlockTillWithPin","businessId",s),c("unlockTillWithPin","xPosPin",e);let t="/api/v2/businesses/{businessId}/shifts/unlock".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};await R(l,a),e!=null&&(l["X-Pos-Pin"]=String(e)),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}}}},Y=function(a){let s=qs(a);return{async clockIn(e,n,t){let r=await s.clockIn(e,n,t);return h(r,P.default,p,a)},async clockOut(e,n,t){let r=await s.clockOut(e,n,t);return h(r,P.default,p,a)},async getTodayShift(e,n,t){let r=await s.getTodayShift(e,n,t);return h(r,P.default,p,a)},async lockTill(e,n){let t=await s.lockTill(e,n);return h(t,P.default,p,a)},async unlock(e,n,t){let r=await s.unlock(e,n,t);return h(r,P.default,p,a)},async unlockTillWithPin(e,n,t){let r=await s.unlockTillWithPin(e,n,t);return h(r,P.default,p,a)}}},Va=function(a,s,e){let n=Y(a);return{clockIn(t,r,o){return n.clockIn(t,r,o).then(i=>i(e,s))},clockOut(t,r,o){return n.clockOut(t,r,o).then(i=>i(e,s))},getTodayShift(t,r,o){return n.getTodayShift(t,r,o).then(i=>i(e,s))},lockTill(t,r){return n.lockTill(t,r).then(o=>o(e,s))},unlock(t,r,o){return n.unlock(t,r,o).then(i=>i(e,s))},unlockTillWithPin(t,r,o){return n.unlockTillWithPin(t,r,o).then(i=>i(e,s))}}},Pt=class extends V{clockIn(s,e,n){return Y(this.configuration).clockIn(s,e,n).then(t=>t(this.axios,this.basePath))}clockOut(s,e,n){return Y(this.configuration).clockOut(s,e,n).then(t=>t(this.axios,this.basePath))}getTodayShift(s,e,n){return Y(this.configuration).getTodayShift(s,e,n).then(t=>t(this.axios,this.basePath))}lockTill(s,e){return Y(this.configuration).lockTill(s,e).then(n=>n(this.axios,this.basePath))}unlock(s,e,n){return Y(this.configuration).unlock(s,e,n).then(t=>t(this.axios,this.basePath))}unlockTillWithPin(s,e,n){return Y(this.configuration).unlockTillWithPin(s,e,n).then(t=>t(this.axios,this.basePath))}},Es=function(a){return{deactivateStation:async(s={})=>{let e="/api/v1/station/deactivate",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},getStation:async(s={})=>{let e="/api/v1/station",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},syncStation:async(s,e={})=>{c("syncStation","syncStationDto",s);let n="/api/v1/station/sync",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},ie=function(a){let s=Es(a);return{async deactivateStation(e){let n=await s.deactivateStation(e);return h(n,P.default,p,a)},async getStation(e){let n=await s.getStation(e);return h(n,P.default,p,a)},async syncStation(e,n){let t=await s.syncStation(e,n);return h(t,P.default,p,a)}}},Ia=function(a,s,e){let n=ie(a);return{deactivateStation(t){return n.deactivateStation(t).then(r=>r(e,s))},getStation(t){return n.getStation(t).then(r=>r(e,s))},syncStation(t,r){return n.syncStation(t,r).then(o=>o(e,s))}}},bt=class extends V{deactivateStation(s){return ie(this.configuration).deactivateStation(s).then(e=>e(this.axios,this.basePath))}getStation(s){return ie(this.configuration).getStation(s).then(e=>e(this.axios,this.basePath))}syncStation(s,e){return ie(this.configuration).syncStation(s,e).then(n=>n(this.axios,this.basePath))}},Us=function(a){return{connectTerminal:async(s,e={})=>{c("connectTerminal","connectTerminalDto",s);let n="/api/v1/terminal/connect",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},disconnectTerminal:async(s={})=>{let e="/api/v1/terminal/disconnect",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},discoverTerminal:async(s,e={})=>{c("discoverTerminal","discoverTerminalDto",s);let n="/api/v1/terminal/discover",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},le=function(a){let s=Us(a);return{async connectTerminal(e,n){let t=await s.connectTerminal(e,n);return h(t,P.default,p,a)},async disconnectTerminal(e){let n=await s.disconnectTerminal(e);return h(n,P.default,p,a)},async discoverTerminal(e,n){let t=await s.discoverTerminal(e,n);return h(t,P.default,p,a)}}},va=function(a,s,e){let n=le(a);return{connectTerminal(t,r){return n.connectTerminal(t,r).then(o=>o(e,s))},disconnectTerminal(t){return n.disconnectTerminal(t).then(r=>r(e,s))},discoverTerminal(t,r){return n.discoverTerminal(t,r).then(o=>o(e,s))}}},At=class extends V{connectTerminal(s,e){return le(this.configuration).connectTerminal(s,e).then(n=>n(this.axios,this.basePath))}disconnectTerminal(s){return le(this.configuration).disconnectTerminal(s).then(e=>e(this.axios,this.basePath))}discoverTerminal(s,e){return le(this.configuration).discoverTerminal(s,e).then(n=>n(this.axios,this.basePath))}},ks=function(a){return{getMyVenue:async(s,e={})=>{c("getMyVenue","businessId",s);let n="/api/v3/user/venues/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await R(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getUserBusinessV1:async(s={})=>{let e="/api/v1/user/business",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={},i={};await R(o,a),y(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},getUserBusinessV2:async(s={})=>{let e="/api/v2/user/business",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={},i={};await R(o,a),y(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},listMyVenues:async(s={})=>{let e="/api/v3/user/venues",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={},i={};await R(o,a),y(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}}}},ee=function(a){let s=ks(a);return{async getMyVenue(e,n){let t=await s.getMyVenue(e,n);return h(t,P.default,p,a)},async getUserBusinessV1(e){let n=await s.getUserBusinessV1(e);return h(n,P.default,p,a)},async getUserBusinessV2(e){let n=await s.getUserBusinessV2(e);return h(n,P.default,p,a)},async listMyVenues(e){let n=await s.listMyVenues(e);return h(n,P.default,p,a)}}},Ta=function(a,s,e){let n=ee(a);return{getMyVenue(t,r){return n.getMyVenue(t,r).then(o=>o(e,s))},getUserBusinessV1(t){return n.getUserBusinessV1(t).then(r=>r(e,s))},getUserBusinessV2(t){return n.getUserBusinessV2(t).then(r=>r(e,s))},listMyVenues(t){return n.listMyVenues(t).then(r=>r(e,s))}}},ft=class extends V{getMyVenue(s,e){return ee(this.configuration).getMyVenue(s,e).then(n=>n(this.axios,this.basePath))}getUserBusinessV1(s){return ee(this.configuration).getUserBusinessV1(s).then(e=>e(this.axios,this.basePath))}getUserBusinessV2(s){return ee(this.configuration).getUserBusinessV2(s).then(e=>e(this.axios,this.basePath))}listMyVenues(s){return ee(this.configuration).listMyVenues(s).then(e=>e(this.axios,this.basePath))}},Ms=function(a){return{upsert:async(s,e={})=>{c("upsert","vendureSellerUpsertDto",s);let n="/api/v1/vendure/seller/upsert",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},Mt=function(a){let s=Ms(a);return{async upsert(e,n){let t=await s.upsert(e,n);return h(t,P.default,p,a)}}},qa=function(a,s,e){let n=Mt(a);return{upsert(t,r){return n.upsert(t,r).then(o=>o(e,s))}}},Rt=class extends V{upsert(s,e){return Mt(this.configuration).upsert(s,e).then(n=>n(this.axios,this.basePath))}},Bs=function(a){return{createVivaAppToAppPayment:async(s,e={})=>{c("createVivaAppToAppPayment","createTerminalPaymentDto",s);let n="/api/v1/viva/a2a/create-payment",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},getVivaSession:async(s,e={})=>{c("getVivaSession","id",s);let n="/api/v1/viva/sessions/{id}".replace("{id}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},listVivaSessions:async(s,e,n,t,r,o,i,l={})=>{c("listVivaSessions","businessId",s);let u="/api/v1/viva/sessions",d=new URL(u,m),b;a&&(b=a.baseOptions);let f={method:"GET",...b,...l},D={},x={};s!==void 0&&(x.businessId=s),e!==void 0&&(x.page=e),n!==void 0&&(x.rowPerPage=n),t!==void 0&&(x.terminalId=t),r!==void 0&&(x.timeSpan=r),o!==void 0&&(x.start=o),i!==void 0&&(x.end=i),y(d,x);let S=b&&b.headers?b.headers:{};return f.headers={...D,...S,...l.headers},{url:g(d),options:f}},refundVivaPayment:async(s,e,n={})=>{c("refundVivaPayment","vivaA2aRefundDto",s);let t="/api/v1/viva/refund",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};e!=null&&(l["X-Idempotency-Key"]=String(e)),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(s,i,a),{url:g(r),options:i}}}},te=function(a){let s=Bs(a);return{async createVivaAppToAppPayment(e,n){let t=await s.createVivaAppToAppPayment(e,n);return h(t,P.default,p,a)},async getVivaSession(e,n){let t=await s.getVivaSession(e,n);return h(t,P.default,p,a)},async listVivaSessions(e,n,t,r,o,i,l,u){let d=await s.listVivaSessions(e,n,t,r,o,i,l,u);return h(d,P.default,p,a)},async refundVivaPayment(e,n,t){let r=await s.refundVivaPayment(e,n,t);return h(r,P.default,p,a)}}},Ea=function(a,s,e){let n=te(a);return{createVivaAppToAppPayment(t,r){return n.createVivaAppToAppPayment(t,r).then(o=>o(e,s))},getVivaSession(t,r){return n.getVivaSession(t,r).then(o=>o(e,s))},listVivaSessions(t,r,o,i,l,u,d,b){return n.listVivaSessions(t,r,o,i,l,u,d,b).then(f=>f(e,s))},refundVivaPayment(t,r,o){return n.refundVivaPayment(t,r,o).then(i=>i(e,s))}}},xt=class extends V{createVivaAppToAppPayment(s,e){return te(this.configuration).createVivaAppToAppPayment(s,e).then(n=>n(this.axios,this.basePath))}getVivaSession(s,e){return te(this.configuration).getVivaSession(s,e).then(n=>n(this.axios,this.basePath))}listVivaSessions(s,e,n,t,r,o,i,l){return te(this.configuration).listVivaSessions(s,e,n,t,r,o,i,l).then(u=>u(this.axios,this.basePath))}refundVivaPayment(s,e,n){return te(this.configuration).refundVivaPayment(s,e,n).then(t=>t(this.axios,this.basePath))}},ws=function(a){return{handleAssignmentWebhook:async(s,e={})=>{c("handleAssignmentWebhook","supabaseAssignmentHookDto",s);let n="/api/webhook/add-employee-assignments",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},handleBusinessWebhook:async(s,e={})=>{c("handleBusinessWebhook","supabaseBusinessHookDto",s);let n="/api/webhook/add-business",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},handleFoodoraEvent:async(s,e={})=>{c("handleFoodoraEvent","orderUpdateDto",s);let n="/api/webhook/order/event",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},handleLoadEmployee:async(s,e={})=>{c("handleLoadEmployee","supabaseEmployeeHookDto",s);let n="/api/webhook/load-employee",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},handleNetsEvents:async(s,e={})=>{let n="/api/webhook/nets",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};s!=null&&(i["connectcloud-request-id"]=String(s)),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},handleNetsEventsV2:async(s,e={})=>{let n="/api/webhook/v2/nets",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};s!=null&&(i["connectcloud-request-id"]=String(s)),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},handleNetsSessionEvents:async(s,e={})=>{let n="/api/webhook/nets/payments",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};s!=null&&(i["connectcloud-request-id"]=String(s)),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},handleNetsSessionEventsForClientToken:async(s,e,n={})=>{c("handleNetsSessionEventsForClientToken","clientToken",s);let t="/api/webhook/nets/payments/{clientToken}".replace("{clientToken}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};e!=null&&(l["connectcloud-request-id"]=String(e)),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},handlePreorderReminder:async(s,e={})=>{c("handlePreorderReminder","preOrderReminderDto",s);let n="/api/webhook/preorder-reminder",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},handleRoleWebhook:async(s,e={})=>{c("handleRoleWebhook","supabaseRoleHookDto",s);let n="/api/webhook/add-roles",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},handleShiftWebhook:async(s,e={})=>{c("handleShiftWebhook","supabaseShiftHookDto",s);let n="/api/webhook/add-employee-shifts",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},handleVivaEvents:async(s,e={})=>{c("handleVivaEvents","vivaWebhookPayloadDto",s);let n="/api/webhook/viva/verification",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},handleVivaSessionEvents:async(s,e={})=>{c("handleVivaSessionEvents","vivaWebhookPayloadDto",s);let n="/api/webhook/viva/payments",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},handleWebhook:async(s,e={})=>{let n="/api/webhook/ship-day",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},handleWoltDriveEventByCountry:async(s,e,n={})=>{c("handleWoltDriveEventByCountry","country",s),c("handleWoltDriveEventByCountry","woltDriveWebhookDto",e);let t="/api/webhook/wolt-drive/{country}/event".replace("{country}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},handleWorldlineEvents:async(s={})=>{let e="/api/webhook/worldline/events",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},handleWorldlineSessionEvents:async(s={})=>{let e="/api/webhook/worldline/payments",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},processDispatchTask:async(s,e,n={})=>{c("processDispatchTask","xCloudtasksTaskretrycount",s),c("processDispatchTask","processDispatchTaskDto",e);let t="/api/webhook/pos/order-dispatch/process",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};s!=null&&(l["x-cloudtasks-taskretrycount"]=String(s)),l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},processPosOrderActionsQueue:async(s,e={})=>{c("processPosOrderActionsQueue","processPosOrderActionsQueueDto",s);let n="/api/webhook/pos/order-actions/process",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},updateWoltProduct:async(s,e={})=>{c("updateWoltProduct","woltSwitchesTaskDto",s);let n="/api/webhook/wolt/product/edit",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},verifyVivaSessionWebhook:async(s={})=>{let e="/api/webhook/viva/payments",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},verifyVivaWebhook:async(s={})=>{let e="/api/webhook/viva/verification",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}}}},E=function(a){let s=ws(a);return{async handleAssignmentWebhook(e,n){let t=await s.handleAssignmentWebhook(e,n);return h(t,P.default,p,a)},async handleBusinessWebhook(e,n){let t=await s.handleBusinessWebhook(e,n);return h(t,P.default,p,a)},async handleFoodoraEvent(e,n){let t=await s.handleFoodoraEvent(e,n);return h(t,P.default,p,a)},async handleLoadEmployee(e,n){let t=await s.handleLoadEmployee(e,n);return h(t,P.default,p,a)},async handleNetsEvents(e,n){let t=await s.handleNetsEvents(e,n);return h(t,P.default,p,a)},async handleNetsEventsV2(e,n){let t=await s.handleNetsEventsV2(e,n);return h(t,P.default,p,a)},async handleNetsSessionEvents(e,n){let t=await s.handleNetsSessionEvents(e,n);return h(t,P.default,p,a)},async handleNetsSessionEventsForClientToken(e,n,t){let r=await s.handleNetsSessionEventsForClientToken(e,n,t);return h(r,P.default,p,a)},async handlePreorderReminder(e,n){let t=await s.handlePreorderReminder(e,n);return h(t,P.default,p,a)},async handleRoleWebhook(e,n){let t=await s.handleRoleWebhook(e,n);return h(t,P.default,p,a)},async handleShiftWebhook(e,n){let t=await s.handleShiftWebhook(e,n);return h(t,P.default,p,a)},async handleVivaEvents(e,n){let t=await s.handleVivaEvents(e,n);return h(t,P.default,p,a)},async handleVivaSessionEvents(e,n){let t=await s.handleVivaSessionEvents(e,n);return h(t,P.default,p,a)},async handleWebhook(e,n){let t=await s.handleWebhook(e,n);return h(t,P.default,p,a)},async handleWoltDriveEventByCountry(e,n,t){let r=await s.handleWoltDriveEventByCountry(e,n,t);return h(r,P.default,p,a)},async handleWorldlineEvents(e){let n=await s.handleWorldlineEvents(e);return h(n,P.default,p,a)},async handleWorldlineSessionEvents(e){let n=await s.handleWorldlineSessionEvents(e);return h(n,P.default,p,a)},async processDispatchTask(e,n,t){let r=await s.processDispatchTask(e,n,t);return h(r,P.default,p,a)},async processPosOrderActionsQueue(e,n){let t=await s.processPosOrderActionsQueue(e,n);return h(t,P.default,p,a)},async updateWoltProduct(e,n){let t=await s.updateWoltProduct(e,n);return h(t,P.default,p,a)},async verifyVivaSessionWebhook(e){let n=await s.verifyVivaSessionWebhook(e);return h(n,P.default,p,a)},async verifyVivaWebhook(e){let n=await s.verifyVivaWebhook(e);return h(n,P.default,p,a)}}},Ua=function(a,s,e){let n=E(a);return{handleAssignmentWebhook(t,r){return n.handleAssignmentWebhook(t,r).then(o=>o(e,s))},handleBusinessWebhook(t,r){return n.handleBusinessWebhook(t,r).then(o=>o(e,s))},handleFoodoraEvent(t,r){return n.handleFoodoraEvent(t,r).then(o=>o(e,s))},handleLoadEmployee(t,r){return n.handleLoadEmployee(t,r).then(o=>o(e,s))},handleNetsEvents(t,r){return n.handleNetsEvents(t,r).then(o=>o(e,s))},handleNetsEventsV2(t,r){return n.handleNetsEventsV2(t,r).then(o=>o(e,s))},handleNetsSessionEvents(t,r){return n.handleNetsSessionEvents(t,r).then(o=>o(e,s))},handleNetsSessionEventsForClientToken(t,r,o){return n.handleNetsSessionEventsForClientToken(t,r,o).then(i=>i(e,s))},handlePreorderReminder(t,r){return n.handlePreorderReminder(t,r).then(o=>o(e,s))},handleRoleWebhook(t,r){return n.handleRoleWebhook(t,r).then(o=>o(e,s))},handleShiftWebhook(t,r){return n.handleShiftWebhook(t,r).then(o=>o(e,s))},handleVivaEvents(t,r){return n.handleVivaEvents(t,r).then(o=>o(e,s))},handleVivaSessionEvents(t,r){return n.handleVivaSessionEvents(t,r).then(o=>o(e,s))},handleWebhook(t,r){return n.handleWebhook(t,r).then(o=>o(e,s))},handleWoltDriveEventByCountry(t,r,o){return n.handleWoltDriveEventByCountry(t,r,o).then(i=>i(e,s))},handleWorldlineEvents(t){return n.handleWorldlineEvents(t).then(r=>r(e,s))},handleWorldlineSessionEvents(t){return n.handleWorldlineSessionEvents(t).then(r=>r(e,s))},processDispatchTask(t,r,o){return n.processDispatchTask(t,r,o).then(i=>i(e,s))},processPosOrderActionsQueue(t,r){return n.processPosOrderActionsQueue(t,r).then(o=>o(e,s))},updateWoltProduct(t,r){return n.updateWoltProduct(t,r).then(o=>o(e,s))},verifyVivaSessionWebhook(t){return n.verifyVivaSessionWebhook(t).then(r=>r(e,s))},verifyVivaWebhook(t){return n.verifyVivaWebhook(t).then(r=>r(e,s))}}},Dt=class extends V{handleAssignmentWebhook(s,e){return E(this.configuration).handleAssignmentWebhook(s,e).then(n=>n(this.axios,this.basePath))}handleBusinessWebhook(s,e){return E(this.configuration).handleBusinessWebhook(s,e).then(n=>n(this.axios,this.basePath))}handleFoodoraEvent(s,e){return E(this.configuration).handleFoodoraEvent(s,e).then(n=>n(this.axios,this.basePath))}handleLoadEmployee(s,e){return E(this.configuration).handleLoadEmployee(s,e).then(n=>n(this.axios,this.basePath))}handleNetsEvents(s,e){return E(this.configuration).handleNetsEvents(s,e).then(n=>n(this.axios,this.basePath))}handleNetsEventsV2(s,e){return E(this.configuration).handleNetsEventsV2(s,e).then(n=>n(this.axios,this.basePath))}handleNetsSessionEvents(s,e){return E(this.configuration).handleNetsSessionEvents(s,e).then(n=>n(this.axios,this.basePath))}handleNetsSessionEventsForClientToken(s,e,n){return E(this.configuration).handleNetsSessionEventsForClientToken(s,e,n).then(t=>t(this.axios,this.basePath))}handlePreorderReminder(s,e){return E(this.configuration).handlePreorderReminder(s,e).then(n=>n(this.axios,this.basePath))}handleRoleWebhook(s,e){return E(this.configuration).handleRoleWebhook(s,e).then(n=>n(this.axios,this.basePath))}handleShiftWebhook(s,e){return E(this.configuration).handleShiftWebhook(s,e).then(n=>n(this.axios,this.basePath))}handleVivaEvents(s,e){return E(this.configuration).handleVivaEvents(s,e).then(n=>n(this.axios,this.basePath))}handleVivaSessionEvents(s,e){return E(this.configuration).handleVivaSessionEvents(s,e).then(n=>n(this.axios,this.basePath))}handleWebhook(s,e){return E(this.configuration).handleWebhook(s,e).then(n=>n(this.axios,this.basePath))}handleWoltDriveEventByCountry(s,e,n){return E(this.configuration).handleWoltDriveEventByCountry(s,e,n).then(t=>t(this.axios,this.basePath))}handleWorldlineEvents(s){return E(this.configuration).handleWorldlineEvents(s).then(e=>e(this.axios,this.basePath))}handleWorldlineSessionEvents(s){return E(this.configuration).handleWorldlineSessionEvents(s).then(e=>e(this.axios,this.basePath))}processDispatchTask(s,e,n){return E(this.configuration).processDispatchTask(s,e,n).then(t=>t(this.axios,this.basePath))}processPosOrderActionsQueue(s,e){return E(this.configuration).processPosOrderActionsQueue(s,e).then(n=>n(this.axios,this.basePath))}updateWoltProduct(s,e){return E(this.configuration).updateWoltProduct(s,e).then(n=>n(this.axios,this.basePath))}verifyVivaSessionWebhook(s){return E(this.configuration).verifyVivaSessionWebhook(s).then(e=>e(this.axios,this.basePath))}verifyVivaWebhook(s){return E(this.configuration).verifyVivaWebhook(s).then(e=>e(this.axios,this.basePath))}},Ls=function(a){return{cancelPayment:async(s,e={})=>{c("cancelPayment","cancelWorldlinePaymentDto",s);let n="/api/v1/worldline/payment/cancel",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},createPayment:async(s,e={})=>{c("createPayment","createWorldlineTerminalPaymentDto",s);let n="/api/v1/worldline/payment",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}},createRefund:async(s,e={})=>{c("createRefund","createWorldlineRefundDto",s);let n="/api/v1/worldline/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},ue=function(a){let s=Ls(a);return{async cancelPayment(e,n){let t=await s.cancelPayment(e,n);return h(t,P.default,p,a)},async createPayment(e,n){let t=await s.createPayment(e,n);return h(t,P.default,p,a)},async createRefund(e,n){let t=await s.createRefund(e,n);return h(t,P.default,p,a)}}},ka=function(a,s,e){let n=ue(a);return{cancelPayment(t,r){return n.cancelPayment(t,r).then(o=>o(e,s))},createPayment(t,r){return n.createPayment(t,r).then(o=>o(e,s))},createRefund(t,r){return n.createRefund(t,r).then(o=>o(e,s))}}},Ct=class extends V{cancelPayment(s,e){return ue(this.configuration).cancelPayment(s,e).then(n=>n(this.axios,this.basePath))}createPayment(s,e){return ue(this.configuration).createPayment(s,e).then(n=>n(this.axios,this.basePath))}createRefund(s,e){return ue(this.configuration).createRefund(s,e).then(n=>n(this.axios,this.basePath))}},Fs=function(a){return{createPaymentRequest:async(s,e,n={})=>{c("createPaymentRequest","terminalId",s),c("createPaymentRequest","worldlinePaymentRequestDataDto",e);let t="/api/v2/worldline/internal/terminals/{terminalId}/requests/payment".replace("{terminalId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},createRefundRequest:async(s,e,n={})=>{c("createRefundRequest","terminalId",s),c("createRefundRequest","worldlineRefundRequestDataDto",e);let t="/api/v2/worldline/internal/terminals/{terminalId}/requests/refund".replace("{terminalId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},u={};l["Content-Type"]="application/json",y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=A(e,i,a),{url:g(r),options:i}},getPaymentResult:async(s,e={})=>{c("getPaymentResult","operationId",s);let n="/api/v2/worldline/internal/operations/{operationId}/payment-result".replace("{operationId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getTerminalAuthContext:async(s,e,n={})=>{c("getTerminalAuthContext","terminalId",s),c("getTerminalAuthContext","channel",e);let t="/api/v2/worldline/internal/terminals/{terminalId}/auth-context".replace("{terminalId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};e!==void 0&&(u.channel=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getTerminalContext:async(s,e,n={})=>{c("getTerminalContext","terminalId",s),c("getTerminalContext","channel",e);let t="/api/v2/worldline/internal/terminals/{terminalId}/context".replace("{terminalId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},u={};e!==void 0&&(u.channel=e),y(r,u);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:g(r),options:i}},getTerminalState:async(s,e={})=>{c("getTerminalState","terminalId",s);let n="/api/v2/worldline/internal/terminals/{terminalId}/state".replace("{terminalId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},handleCallback:async(s,e={})=>{let n="/api/v2/worldline/internal/callback",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(s,o,a),{url:g(t),options:o}}}},H=function(a){let s=Fs(a);return{async createPaymentRequest(e,n,t){let r=await s.createPaymentRequest(e,n,t);return h(r,P.default,p,a)},async createRefundRequest(e,n,t){let r=await s.createRefundRequest(e,n,t);return h(r,P.default,p,a)},async getPaymentResult(e,n){let t=await s.getPaymentResult(e,n);return h(t,P.default,p,a)},async getTerminalAuthContext(e,n,t){let r=await s.getTerminalAuthContext(e,n,t);return h(r,P.default,p,a)},async getTerminalContext(e,n,t){let r=await s.getTerminalContext(e,n,t);return h(r,P.default,p,a)},async getTerminalState(e,n){let t=await s.getTerminalState(e,n);return h(t,P.default,p,a)},async handleCallback(e,n){let t=await s.handleCallback(e,n);return h(t,P.default,p,a)}}},Ma=function(a,s,e){let n=H(a);return{createPaymentRequest(t,r,o){return n.createPaymentRequest(t,r,o).then(i=>i(e,s))},createRefundRequest(t,r,o){return n.createRefundRequest(t,r,o).then(i=>i(e,s))},getPaymentResult(t,r){return n.getPaymentResult(t,r).then(o=>o(e,s))},getTerminalAuthContext(t,r,o){return n.getTerminalAuthContext(t,r,o).then(i=>i(e,s))},getTerminalContext(t,r,o){return n.getTerminalContext(t,r,o).then(i=>i(e,s))},getTerminalState(t,r){return n.getTerminalState(t,r).then(o=>o(e,s))},handleCallback(t,r){return n.handleCallback(t,r).then(o=>o(e,s))}}},St=class extends V{createPaymentRequest(s,e,n){return H(this.configuration).createPaymentRequest(s,e,n).then(t=>t(this.axios,this.basePath))}createRefundRequest(s,e,n){return H(this.configuration).createRefundRequest(s,e,n).then(t=>t(this.axios,this.basePath))}getPaymentResult(s,e){return H(this.configuration).getPaymentResult(s,e).then(n=>n(this.axios,this.basePath))}getTerminalAuthContext(s,e,n){return H(this.configuration).getTerminalAuthContext(s,e,n).then(t=>t(this.axios,this.basePath))}getTerminalContext(s,e,n){return H(this.configuration).getTerminalContext(s,e,n).then(t=>t(this.axios,this.basePath))}getTerminalState(s,e){return H(this.configuration).getTerminalState(s,e).then(n=>n(this.axios,this.basePath))}handleCallback(s,e){return H(this.configuration).handleCallback(s,e).then(n=>n(this.axios,this.basePath))}};var Bt=class{apiKey;username;password;accessToken;basePath;baseOptions;formDataCtor;constructor(s={}){this.apiKey=s.apiKey,this.username=s.username,this.password=s.password,this.accessToken=s.accessToken,this.basePath=s.basePath,this.baseOptions=s.baseOptions,this.formDataCtor=s.formDataCtor}isJsonMime(s){let e=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return s!==null&&(e.test(s)||s.toLowerCase()==="application/json-patch+json")}};var Ba={BIF:0,CLP:0,DJF:0,GNF:0,ISK:0,JPY:0,KMF:0,KRW:0,PYG:0,RWF:0,UGX:0,UYI:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,BHD:3,IQD:3,JOD:3,KWD:3,LYD:3,OMR:3,TND:3,CLF:4,UYW:4};function Se(a){return Ba[a.toUpperCase()]??2}function ce(a){return 10**Se(a)}function wa(a,s){if(!Number.isFinite(a))return Math.round(a*ce(s));let[e,n="0"]=String(a).split("e");return Math.round(+`${e}e${Number(n)+Se(s)}`)}function _s(a,s){return a/ce(s)}function La(a,s,e={}){let n=Se(a.currency);return new Intl.NumberFormat(s,{style:"currency",currency:a.currency.toUpperCase(),currencyDisplay:e.currencyDisplay??"symbol",signDisplay:e.signDisplay??"auto",minimumFractionDigits:n,maximumFractionDigits:n}).format(_s(a.amount,a.currency))}function Fa(a,s){let e=s?.increment??0;if(a<=0||!Number.isFinite(a)||e<=1)return{actualAmount:a,roundedAmount:a,roundingDifference:0};let n=a%e,t=n*2<e?a-n:a+(e-n);return{actualAmount:a,roundedAmount:t,roundingDifference:t-a}}var _a={getMultiplier(a){return ce(a)}};var Na={FI:{cashRounding:{increment:5},customerLanguages:["fi","sv","en"]},EE:{cashRounding:{increment:5},customerLanguages:["et","ru","en"]},SE:{cashRounding:{increment:100}},ES:{customerLanguages:["es","ca","en"]}};function Wa(a){if(typeof Intl.Locale=="function")try{return new Intl.Locale(`und-${a}`).maximize().language}catch{return}}function ja(a){if(!a)return{cashRounding:null,customerLanguages:["en"]};let s=a.toUpperCase(),e=Na[s]??{},n=Wa(s);return{cashRounding:e.cashRounding??null,customerLanguages:e.customerLanguages??(n&&n!=="und"?[...new Set([n,"en"])]:["en"])}}function Ka(a,s){let e=a.split("-")[0].toLowerCase();if(!s)return e;let n=`${e}-${s.toUpperCase()}`;return Intl.NumberFormat.supportedLocalesOf([n]).length>0?n:e}var de=Oe(require("lodash")),wt=a=>de.default.orderBy(a,["rank","id"],["asc","asc"]),Ga=a=>{let s=a.subcategories;return Array.isArray(s)?s:[]},Ha=(a,s)=>({...a,colorCode:a.colorCode??s}),Ns=(a,s)=>de.default.compact(a.map(e=>s.get(e))),Lt=(a,s)=>a.flatMap(e=>{let n=s[e];return n?[e,...Lt(n.childIds,s)]:[]}),Ft=(a,s)=>a.flatMap(e=>{let n=s[e];return n?.enabled?[e,...Ft(n.childIds,s)]:[]}),Qa=a=>{let s=new Map,e={},n={},t=wt(a),r=t.map(i=>String(i.id)),o=(i=[],l)=>i.map(u=>{let d=String(u.id);return s.set(d,Ha(u,l)),d});return t.forEach(i=>{let l=String(i.id),u=i.colorCode??i.custom_color_code,d=o(i.products,u),b=(D,x)=>{let S=String(D.id),I=o(D.products,u),O=wt(Ga(D)).map(T=>b(T,S));return n[S]={id:S,name:D.name,rank:D.rank??0,enabled:!!D.enabled,parentCategoryId:l,parentSubcategoryId:x,productIds:I,childIds:O},S},f=wt(i.subcategories??[]).map(D=>b(D,null));e[l]={...i,productIds:d,subcategoryIds:f}}),{sortedCategories:t,productMap:s,categoriesById:e,subcategoriesById:n,categoryIdsOrder:r}},$a=(a,s,e,n)=>{let t=s[a];if(!t)return[];let r=Ft(t.subcategoryIds,e),o=de.default.uniq([...t.productIds,...r.flatMap(i=>e[i]?.productIds??[])]);return Ns(o,n)},Ya=(a,s,e)=>{let n=s[a];if(!n)return[];let t=Lt(n.subcategoryIds,e);return de.default.compact(t.map(r=>e[r]))};var Ws="2.0.3";0&&(module.exports={ABLYEVENT,ActionPasscodesApi,ActionPasscodesApiAxiosParamCreator,ActionPasscodesApiFactory,ActionPasscodesApiFp,ActionsEnum,AuthApi,AuthApiAxiosParamCreator,AuthApiFactory,AuthApiFp,AutonomousVehicleType,BusinessApi,BusinessApiAxiosParamCreator,BusinessApiFactory,BusinessApiFp,BusinessBackgroundType,BusinessEventAction,BusinessEventType,BusinessPaymentIntegrationType,BusinessScheduleApi,BusinessScheduleApiAxiosParamCreator,BusinessScheduleApiFactory,BusinessScheduleApiFp,BusinessStatusEnum,CashLogReason,CashLogType,CashManagementApi,CashManagementApiAxiosParamCreator,CashManagementApiFactory,CashManagementApiFp,CashManagementV6Api,CashManagementV6ApiAxiosParamCreator,CashManagementV6ApiFactory,CashManagementV6ApiFp,CashSessionStatus,CashSessionV2Api,CashSessionV2ApiAxiosParamCreator,CashSessionV2ApiFactory,CashSessionV2ApiFp,CashSignalType,CdsSessionRole,ChannelEnum,ChannelMenuApi,ChannelMenuApiAxiosParamCreator,ChannelMenuApiFactory,ChannelMenuApiFp,ChargeStatusEnum,CheckoutModelEnum,ConditionType,ConfigManagementApi,ConfigManagementApiAxiosParamCreator,ConfigManagementApiFactory,ConfigManagementApiFp,Configuration,ConsumptionType,CoursesApi,CoursesApiAxiosParamCreator,CoursesApiFactory,CoursesApiFp,CredentialType,CurrencyCode,CurrencyRegistry,DatabaseEventType,DayOfWeek,DeliveryCourierProvider,DeliveryIntentAction,DeliveryIntentApi,DeliveryIntentApiAxiosParamCreator,DeliveryIntentApiFactory,DeliveryIntentApiFp,DeliveryIntentStatus,DeliveryStatus,DeliveryType,DeviceType,DiscountScope,DiscountScopeType,DiscountSourceType,DiscountType,DisplayApi,DisplayApiAxiosParamCreator,DisplayApiFactory,DisplayApiFp,EntityType,EventTypeEnum,FeeType,FloorPlanApi,FloorPlanApiAxiosParamCreator,FloorPlanApiFactory,FloorPlanApiFp,GiftCardErrorCode,GiftcardApi,GiftcardApiAxiosParamCreator,GiftcardApiFactory,GiftcardApiFp,HistoryApi,HistoryApiAxiosParamCreator,HistoryApiFactory,HistoryApiFp,HistoryV6Api,HistoryV6ApiAxiosParamCreator,HistoryV6ApiFactory,HistoryV6ApiFp,IntegrationType,InvoiceCompaniesApi,InvoiceCompaniesApiAxiosParamCreator,InvoiceCompaniesApiFactory,InvoiceCompaniesApiFp,KDSApi,KDSApiAxiosParamCreator,KDSApiFactory,KDSApiFp,KDSEVENTNAME,KdsBulkReadySkipReason,KdsOrderType,KioskEventType,KioskLayout,KiosksApi,KiosksApiAxiosParamCreator,KiosksApiFactory,KiosksApiFp,KitchenItemStatus,KitchenStatus,LocatorType,LoyaltyActionKey,LoyaltyCatalogType,LoyaltyChannel,LoyaltyCommerceApi,LoyaltyCommerceApiAxiosParamCreator,LoyaltyCommerceApiFactory,LoyaltyCommerceApiFp,LoyaltyIntegerationsApi,LoyaltyIntegerationsApiAxiosParamCreator,LoyaltyIntegerationsApiFactory,LoyaltyIntegerationsApiFp,LoyaltyPerkStatus,LoyaltyRedemptionStatus,LoyaltyRestoreRequestStatus,LoyaltyRewardType,LoyaltyRuleActionType,LoyaltyRuleApplicationMode,LoyaltyRuleConditionType,LoyaltyRuleFulfillmentMode,LoyaltyRuleSelection,LoyaltyRuleStackingMode,LoyaltyRuleTargetType,MCPApi,MCPApiAxiosParamCreator,MCPApiFactory,MCPApiFp,MUNCHI_CORE_VERSION,MenuApi,MenuApiAxiosParamCreator,MenuApiFactory,MenuApiFp,MenuType,MunchiGiftCardApi,MunchiGiftCardApiAxiosParamCreator,MunchiGiftCardApiFactory,MunchiGiftCardApiFp,NetsRevertMethod,NotificationApi,NotificationApiAxiosParamCreator,NotificationApiFactory,NotificationApiFp,OperatingMode,OpsApi,OpsApiAxiosParamCreator,OpsApiFactory,OpsApiFp,OrderCollectionEnum,OrderCompletionApi,OrderCompletionApiAxiosParamCreator,OrderCompletionApiFactory,OrderCompletionApiFp,OrderFormat,OrderInternalApi,OrderInternalApiAxiosParamCreator,OrderInternalApiFactory,OrderInternalApiFp,OrderMode,OrderRefundStatus,OrderSource,OrderStatus,OrderStatusEnum,OrderType,OrderTypePOS,OrdersApi,OrdersApiAxiosParamCreator,OrdersApiFactory,OrdersApiFp,POSPermissionsApi,POSPermissionsApiAxiosParamCreator,POSPermissionsApiFactory,POSPermissionsApiFp,POSSessionApi,POSSessionApiAxiosParamCreator,POSSessionApiFactory,POSSessionApiFp,PayTerminalApi,PayTerminalApiAxiosParamCreator,PayTerminalApiFactory,PayTerminalApiFp,PayTerminalSessionRole,PaymentApi,PaymentApiAxiosParamCreator,PaymentApiFactory,PaymentApiFp,PaymentApp,PaymentCheckoutFlow,PaymentEventType,PaymentFailureCode,PaymentMethod,PaymentMethodsApi,PaymentMethodsApiAxiosParamCreator,PaymentMethodsApiFactory,PaymentMethodsApiFp,PaymentOutcomeStatus,PaymentProvider,PaymentProviderEnum,PaymentReportingBucket,PaymentSessionApi,PaymentSessionApiAxiosParamCreator,PaymentSessionApiFactory,PaymentSessionApiFp,PaymentSessionPurpose,PaymentSessionStatus,PaymentStatus,PaymentTypeEnum,PosBulkOrderStatus,PosBulkStatusSkipReason,PosDiscountTargetType,PosDiscountType,PosPaymentStatus,PosPaymentType,PosPermission,PosPermissionGroup,PosPermissionKind,PreorderStatus,PriceType,PrinterConnectionType,PrinterModelType,PrinterTypeEnum,PrintersApi,PrintersApiAxiosParamCreator,PrintersApiFactory,PrintersApiFp,ProductApi,ProductApiAxiosParamCreator,ProductApiFactory,ProductApiFp,ProductAvailability,ProductDetailLayout,PromotionDiscountType,ProviderApi,ProviderApiAxiosParamCreator,ProviderApiFactory,ProviderApiFp,ProviderEnum,PubSubAction,PubSubTarget,ReceiptFooterApi,ReceiptFooterApiAxiosParamCreator,ReceiptFooterApiFactory,ReceiptFooterApiFp,ReceiptFooterDocumentType,RecordManualStatus,RefundFailureReasonKey,RefundMode,RefundOverallStatus,RefundStatusEnum,RefundStepStatus,RefundsApi,RefundsApiAxiosParamCreator,RefundsApiFactory,RefundsApiFp,ReportApi,ReportApiAxiosParamCreator,ReportApiFactory,ReportApiFp,ReportApp,ReportBaselineLeftOut,ReportBreakdown,ReportChangeField,ReportLanguage,ReportPart,ReportV6Api,ReportV6ApiAxiosParamCreator,ReportV6ApiFactory,ReportV6ApiFp,ReservationSource,ReservationStatus,ReservationsApi,ReservationsApiAxiosParamCreator,ReservationsApiFactory,ReservationsApiFp,SYNCKEY,ScheduleType,ShiftTrackingApi,ShiftTrackingApiAxiosParamCreator,ShiftTrackingApiFactory,ShiftTrackingApiFp,ShipdayEventWebhook,ShipdayOrderStatus,SimplePaymentStatus,SourceType,StaffActivityActionType,StationType,StationsApi,StationsApiAxiosParamCreator,StationsApiFactory,StationsApiFp,Status,SystemProfileType,TableGroupType,TableShape,TableStatus,TerminalApi,TerminalApiAxiosParamCreator,TerminalApiFactory,TerminalApiFp,TerminalConnectionType,TimeSpan,TransactionEventType,TransactionType,Type,UpsellMode,UserApi,UserApiAxiosParamCreator,UserApiFactory,UserApiFp,VendureSellerApi,VendureSellerApiAxiosParamCreator,VendureSellerApiFactory,VendureSellerApiFp,VivaApi,VivaApiAxiosParamCreator,VivaApiFactory,VivaApiFp,VivaAppToAppPaymentMethod,VivaCurrencyCode,VivaErrorId,VivaEventId,VivaWebhookEventType,WebhookApi,WebhookApiAxiosParamCreator,WebhookApiFactory,WebhookApiFp,WorldlineApi,WorldlineApiAxiosParamCreator,WorldlineApiFactory,WorldlineApiFp,WorldlineInternalApi,WorldlineInternalApiAxiosParamCreator,WorldlineInternalApiFactory,WorldlineInternalApiFp,WorldlineOperationStatus,WorldlinePaymentResultStatus,WorldlineResponseStatus,WorldlineRevertMethod,buildPosCategoryIndex,cashRound,collectEnabledSubcategoryIdsDepthFirst,collectSubcategoryIdsDepthFirst,countryQuirks,formatMoney,fromMinor,getCategoryProductsIncludingSubcategories,getSubcategoriesForCategory,mapProductIdsToProducts,minorUnitDigits,minorUnitMultiplier,regionLocale,toMinor});
1
+ var Ys=Object.create;var ye=Object.defineProperty;var zs=Object.getOwnPropertyDescriptor;var Xs=Object.getOwnPropertyNames;var Js=Object.getPrototypeOf,Zs=Object.prototype.hasOwnProperty;var en=(a,n)=>{for(var e in n)ye(a,e,{get:n[e],enumerable:!0})},Kt=(a,n,e,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of Xs(n))!Zs.call(a,t)&&t!==e&&ye(a,t,{get:()=>n[t],enumerable:!(s=zs(n,t))||s.enumerable});return a};var Ie=(a,n,e)=>(e=a!=null?Ys(Js(a)):{},Kt(n||!a||!a.__esModule?ye(e,"default",{value:a,enumerable:!0}):e,a)),tn=a=>Kt(ye({},"__esModule",{value:!0}),a);var ri={};en(ri,{ABLYEVENT:()=>sn,ActionPasscodesApi:()=>Te,ActionPasscodesApiAxiosParamCreator:()=>Ht,ActionPasscodesApiFactory:()=>Ko,ActionPasscodesApiFp:()=>Tt,ActionsEnum:()=>nn,AuthApi:()=>Ee,AuthApiAxiosParamCreator:()=>Qt,AuthApiFactory:()=>Go,AuthApiFp:()=>Z,AutonomousVehicleType:()=>on,BusinessApi:()=>qe,BusinessApiAxiosParamCreator:()=>$t,BusinessApiFactory:()=>Ho,BusinessApiFp:()=>U,BusinessBackgroundType:()=>an,BusinessEventAction:()=>ln,BusinessEventType:()=>un,BusinessPaymentIntegrationType:()=>dn,BusinessScheduleApi:()=>Ue,BusinessScheduleApiAxiosParamCreator:()=>Yt,BusinessScheduleApiFactory:()=>Qo,BusinessScheduleApiFp:()=>Et,BusinessStatusEnum:()=>cn,CashLogReason:()=>pn,CashLogType:()=>mn,CashManagementApi:()=>ke,CashManagementApiAxiosParamCreator:()=>zt,CashManagementApiFactory:()=>$o,CashManagementApiFp:()=>Q,CashManagementV6Api:()=>Me,CashManagementV6ApiAxiosParamCreator:()=>Xt,CashManagementV6ApiFactory:()=>Yo,CashManagementV6ApiFp:()=>qt,CashSessionStatus:()=>yn,CashSessionV2Api:()=>Be,CashSessionV2ApiAxiosParamCreator:()=>Jt,CashSessionV2ApiFactory:()=>zo,CashSessionV2ApiFp:()=>Ut,CashSignalType:()=>gn,CdsSessionRole:()=>hn,ChannelEnum:()=>Pn,ChannelMenuApi:()=>we,ChannelMenuApiAxiosParamCreator:()=>Zt,ChannelMenuApiFactory:()=>Xo,ChannelMenuApiFp:()=>oe,ChargeStatusEnum:()=>bn,CheckoutModelEnum:()=>An,ConditionType:()=>xn,ConfigManagementApi:()=>Fe,ConfigManagementApiAxiosParamCreator:()=>es,ConfigManagementApiFactory:()=>Jo,ConfigManagementApiFp:()=>M,Configuration:()=>_t,ConsumptionType:()=>fn,CoursesApi:()=>Le,CoursesApiAxiosParamCreator:()=>ts,CoursesApiFactory:()=>Zo,CoursesApiFp:()=>he,CredentialType:()=>Dn,CurrencyCode:()=>Cn,CurrencyRegistry:()=>$a,DatabaseEventType:()=>Sn,DayOfWeek:()=>On,DeliveryCourierProvider:()=>Vn,DeliveryIntentAction:()=>In,DeliveryIntentApi:()=>_e,DeliveryIntentApiAxiosParamCreator:()=>ss,DeliveryIntentApiFactory:()=>ea,DeliveryIntentApiFp:()=>Pe,DeliveryIntentStatus:()=>vn,DeliveryStatus:()=>Tn,DeliveryType:()=>En,DeviceType:()=>qn,DiscountScope:()=>Un,DiscountScopeType:()=>kn,DiscountSourceType:()=>Mn,DiscountType:()=>Bn,DisplayApi:()=>Ne,DisplayApiAxiosParamCreator:()=>ns,DisplayApiFactory:()=>ta,DisplayApiFp:()=>ee,EmployeeRolesApi:()=>We,EmployeeRolesApiAxiosParamCreator:()=>rs,EmployeeRolesApiFactory:()=>sa,EmployeeRolesApiFp:()=>z,EmployeesApi:()=>je,EmployeesApiAxiosParamCreator:()=>os,EmployeesApiFactory:()=>na,EmployeesApiFp:()=>X,EntityType:()=>wn,EventTypeEnum:()=>rn,FeeType:()=>Fn,FloorPlanApi:()=>Ke,FloorPlanApiAxiosParamCreator:()=>as,FloorPlanApiFactory:()=>ra,FloorPlanApiFp:()=>w,GiftCardErrorCode:()=>Ln,GiftcardApi:()=>Ge,GiftcardApiAxiosParamCreator:()=>is,GiftcardApiFactory:()=>oa,GiftcardApiFp:()=>be,HistoryApi:()=>He,HistoryApiAxiosParamCreator:()=>ls,HistoryApiFactory:()=>aa,HistoryApiFp:()=>Ae,HistoryV6Api:()=>Qe,HistoryV6ApiAxiosParamCreator:()=>us,HistoryV6ApiFactory:()=>ia,HistoryV6ApiFp:()=>ae,IntegrationType:()=>_n,InvoiceCompaniesApi:()=>$e,InvoiceCompaniesApiAxiosParamCreator:()=>ds,InvoiceCompaniesApiFactory:()=>la,InvoiceCompaniesApiFp:()=>$,KDSApi:()=>Ye,KDSApiAxiosParamCreator:()=>cs,KDSApiFactory:()=>ua,KDSApiFp:()=>J,KDSEVENTNAME:()=>Nn,KdsBulkReadySkipReason:()=>Wn,KdsOrderType:()=>jn,KioskEventType:()=>Kn,KioskLayout:()=>Gn,KiosksApi:()=>ze,KiosksApiAxiosParamCreator:()=>ps,KiosksApiFactory:()=>da,KiosksApiFp:()=>Re,KitchenItemStatus:()=>Hn,KitchenStatus:()=>Qn,LocatorType:()=>$n,LoyaltyActionKey:()=>Yn,LoyaltyCatalogType:()=>zn,LoyaltyChannel:()=>Xn,LoyaltyCommerceApi:()=>Xe,LoyaltyCommerceApiAxiosParamCreator:()=>ms,LoyaltyCommerceApiFactory:()=>ca,LoyaltyCommerceApiFp:()=>kt,LoyaltyIntegerationsApi:()=>Je,LoyaltyIntegerationsApiAxiosParamCreator:()=>ys,LoyaltyIntegerationsApiFactory:()=>pa,LoyaltyIntegerationsApiFp:()=>F,LoyaltyPerkStatus:()=>Jn,LoyaltyRedemptionStatus:()=>Zn,LoyaltyRestoreRequestStatus:()=>er,LoyaltyRewardType:()=>tr,LoyaltyRuleActionType:()=>sr,LoyaltyRuleApplicationMode:()=>nr,LoyaltyRuleConditionType:()=>rr,LoyaltyRuleFulfillmentMode:()=>or,LoyaltyRuleSelection:()=>ar,LoyaltyRuleStackingMode:()=>ir,LoyaltyRuleTargetType:()=>lr,MCPApi:()=>Ze,MCPApiAxiosParamCreator:()=>gs,MCPApiFactory:()=>ma,MCPApiFp:()=>ie,MUNCHI_CORE_VERSION:()=>$s,MenuApi:()=>et,MenuApiAxiosParamCreator:()=>hs,MenuApiFactory:()=>ya,MenuApiFp:()=>xe,MenuType:()=>ur,MunchiGiftCardApi:()=>tt,MunchiGiftCardApiAxiosParamCreator:()=>Ps,MunchiGiftCardApiFactory:()=>ga,MunchiGiftCardApiFp:()=>te,NetsRevertMethod:()=>dr,NotificationApi:()=>st,NotificationApiAxiosParamCreator:()=>bs,NotificationApiFactory:()=>ha,NotificationApiFp:()=>fe,OperatingMode:()=>cr,OpsApi:()=>nt,OpsApiAxiosParamCreator:()=>As,OpsApiFactory:()=>Pa,OpsApiFp:()=>De,OrderCollectionEnum:()=>Rn,OrderCompletionApi:()=>rt,OrderCompletionApiAxiosParamCreator:()=>Rs,OrderCompletionApiFactory:()=>ba,OrderCompletionApiFp:()=>Mt,OrderFormat:()=>pr,OrderInternalApi:()=>ot,OrderInternalApiAxiosParamCreator:()=>xs,OrderInternalApiFactory:()=>Aa,OrderInternalApiFp:()=>Bt,OrderMode:()=>mr,OrderRefundStatus:()=>yr,OrderSource:()=>gr,OrderStatus:()=>hr,OrderStatusEnum:()=>Pr,OrderType:()=>br,OrderTypePOS:()=>Ar,OrdersApi:()=>at,OrdersApiAxiosParamCreator:()=>fs,OrdersApiFactory:()=>Ra,OrdersApiFp:()=>k,POSPermissionsApi:()=>it,POSPermissionsApiAxiosParamCreator:()=>Ds,POSPermissionsApiFactory:()=>xa,POSPermissionsApiFp:()=>wt,POSSessionApi:()=>lt,POSSessionApiAxiosParamCreator:()=>Cs,POSSessionApiFactory:()=>fa,POSSessionApiFp:()=>Ft,PayTerminalApi:()=>ut,PayTerminalApiAxiosParamCreator:()=>Ss,PayTerminalApiFactory:()=>Da,PayTerminalApiFp:()=>N,PayTerminalSessionRole:()=>Rr,PaymentApi:()=>dt,PaymentApiAxiosParamCreator:()=>Os,PaymentApiFactory:()=>Ca,PaymentApiFp:()=>W,PaymentApp:()=>xr,PaymentCheckoutFlow:()=>fr,PaymentEventType:()=>Dr,PaymentFailureCode:()=>Cr,PaymentMethod:()=>Sr,PaymentMethodsApi:()=>ct,PaymentMethodsApiAxiosParamCreator:()=>Vs,PaymentMethodsApiFactory:()=>Sa,PaymentMethodsApiFp:()=>L,PaymentOutcomeStatus:()=>Or,PaymentProvider:()=>Vr,PaymentProviderEnum:()=>Ir,PaymentReportingBucket:()=>vr,PaymentSessionApi:()=>pt,PaymentSessionApiAxiosParamCreator:()=>Is,PaymentSessionApiFactory:()=>Oa,PaymentSessionApiFp:()=>E,PaymentSessionPurpose:()=>Tr,PaymentSessionStatus:()=>Er,PaymentStatus:()=>qr,PaymentTypeEnum:()=>Ur,PosBulkOrderStatus:()=>kr,PosBulkStatusSkipReason:()=>Mr,PosDiscountTargetType:()=>Br,PosDiscountType:()=>wr,PosPaymentStatus:()=>Fr,PosPaymentType:()=>Lr,PosPermission:()=>_r,PosPermissionGroup:()=>Nr,PosPermissionKind:()=>Wr,PreorderStatus:()=>jr,PriceType:()=>Kr,PrinterConnectionType:()=>Gr,PrinterModelType:()=>Hr,PrinterTypeEnum:()=>Qr,PrintersApi:()=>mt,PrintersApiAxiosParamCreator:()=>vs,PrintersApiFactory:()=>Va,PrintersApiFp:()=>Ce,ProductApi:()=>yt,ProductApiAxiosParamCreator:()=>Ts,ProductApiFactory:()=>Ia,ProductApiFp:()=>se,ProductAvailability:()=>$r,ProductDetailLayout:()=>Yr,PromotionDiscountType:()=>zr,ProviderApi:()=>gt,ProviderApiAxiosParamCreator:()=>Es,ProviderApiFactory:()=>va,ProviderApiFp:()=>K,ProviderEnum:()=>Xr,PubSubAction:()=>Jr,PubSubTarget:()=>Zr,ReceiptFooterApi:()=>ht,ReceiptFooterApiAxiosParamCreator:()=>qs,ReceiptFooterApiFactory:()=>Ta,ReceiptFooterApiFp:()=>Se,ReceiptFooterDocumentType:()=>eo,RecordManualStatus:()=>to,RefundFailureReasonKey:()=>so,RefundMode:()=>no,RefundOverallStatus:()=>ro,RefundStatusEnum:()=>oo,RefundStepStatus:()=>ao,RefundsApi:()=>Pt,RefundsApiAxiosParamCreator:()=>Us,RefundsApiFactory:()=>Ea,RefundsApiFp:()=>G,ReportApi:()=>bt,ReportApiAxiosParamCreator:()=>ks,ReportApiFactory:()=>qa,ReportApiFp:()=>le,ReportApp:()=>io,ReportBaselineLeftOut:()=>lo,ReportBreakdown:()=>uo,ReportChangeField:()=>co,ReportLanguage:()=>po,ReportPart:()=>mo,ReportV6Api:()=>At,ReportV6ApiAxiosParamCreator:()=>Ms,ReportV6ApiFactory:()=>Ua,ReportV6ApiFp:()=>Oe,ReservationSource:()=>yo,ReservationStatus:()=>go,ReservationsApi:()=>Rt,ReservationsApiAxiosParamCreator:()=>Bs,ReservationsApiFactory:()=>ka,ReservationsApiFp:()=>_,SYNCKEY:()=>ho,ScheduleType:()=>Po,ShiftTrackingApi:()=>xt,ShiftTrackingApiAxiosParamCreator:()=>ws,ShiftTrackingApiFactory:()=>Ma,ShiftTrackingApiFp:()=>Y,ShipdayEventWebhook:()=>bo,ShipdayOrderStatus:()=>Ao,SimplePaymentStatus:()=>Ro,SourceType:()=>xo,StaffActivityActionType:()=>fo,StationType:()=>Do,StationsApi:()=>ft,StationsApiAxiosParamCreator:()=>Fs,StationsApiFactory:()=>Ba,StationsApiFp:()=>ue,Status:()=>Co,SystemProfileType:()=>So,TableGroupType:()=>Oo,TableShape:()=>Vo,TableStatus:()=>Io,TerminalApi:()=>Dt,TerminalApiAxiosParamCreator:()=>Ls,TerminalApiFactory:()=>wa,TerminalApiFp:()=>de,TerminalConnectionType:()=>vo,TimeSpan:()=>To,TransactionEventType:()=>Eo,TransactionType:()=>qo,Type:()=>Uo,UpsellMode:()=>ko,UserApi:()=>Ct,UserApiAxiosParamCreator:()=>_s,UserApiFactory:()=>Fa,UserApiFp:()=>ne,VendureSellerApi:()=>St,VendureSellerApiAxiosParamCreator:()=>Ns,VendureSellerApiFactory:()=>La,VendureSellerApiFp:()=>Lt,VivaApi:()=>Ot,VivaApiAxiosParamCreator:()=>Ws,VivaApiFactory:()=>_a,VivaApiFp:()=>re,VivaAppToAppPaymentMethod:()=>Mo,VivaCurrencyCode:()=>Bo,VivaErrorId:()=>wo,VivaEventId:()=>Fo,VivaWebhookEventType:()=>Lo,WebhookApi:()=>Vt,WebhookApiAxiosParamCreator:()=>js,WebhookApiFactory:()=>Na,WebhookApiFp:()=>q,WorldlineApi:()=>It,WorldlineApiAxiosParamCreator:()=>Ks,WorldlineApiFactory:()=>Wa,WorldlineApiFp:()=>ce,WorldlineInternalApi:()=>vt,WorldlineInternalApiAxiosParamCreator:()=>Gs,WorldlineInternalApiFactory:()=>ja,WorldlineInternalApiFp:()=>H,WorldlineOperationStatus:()=>_o,WorldlinePaymentResultStatus:()=>No,WorldlineResponseStatus:()=>Wo,WorldlineRevertMethod:()=>jo,buildPosCategoryIndex:()=>ti,cashRound:()=>Qa,collectEnabledSubcategoryIdsDepthFirst:()=>jt,collectSubcategoryIdsDepthFirst:()=>Wt,countryQuirks:()=>Xa,formatMoney:()=>Ha,fromMinor:()=>Hs,getCategoryProductsIncludingSubcategories:()=>si,getSubcategoriesForCategory:()=>ni,mapProductIdsToProducts:()=>Qs,minorUnitDigits:()=>Ve,minorUnitMultiplier:()=>pe,regionLocale:()=>Ja,toMinor:()=>Ga});module.exports=tn(ri);var P=Ie(require("axios"));var Gt=Ie(require("axios")),p="http://localhost".replace(/\/+$/,"");var O=class{constructor(n,e=p,s=Gt.default){this.basePath=e;this.axios=s;n&&(this.configuration=n,this.basePath=n.basePath||this.basePath)}configuration},ge=class extends Error{constructor(e,s){super(s);this.field=e;this.name="RequiredError"}};var m="https://example.com",d=function(a,n,e){if(e==null)throw new ge(n,`Required parameter ${n} was null or undefined when calling ${a}.`)};var x=async function(a,n){if(n&&n.accessToken){let e=typeof n.accessToken=="function"?await n.accessToken():await n.accessToken;a.Authorization="Bearer "+e}};function ve(a,n,e=""){n!=null&&(typeof n=="object"?Array.isArray(n)?n.forEach(s=>ve(a,s,e)):Object.keys(n).forEach(s=>ve(a,n[s],`${e}${e!==""?".":""}${s}`)):a.has(e)?a.append(e,n):a.set(e,n))}var y=function(a,...n){let e=new URLSearchParams(a.search);ve(e,n),a.search=e.toString()},A=function(a,n,e){let s=typeof a!="string";return(s&&e&&e.isJsonMime?e.isJsonMime(n.headers["Content-Type"]):s)?JSON.stringify(a!==void 0?a:{}):a||""},g=function(a){return a.pathname+a.search+a.hash},h=function(a,n,e,s){return(t=n,r=e)=>{let o={...a.options,url:(s?.basePath||r)+a.url};return t.request(o)}};var sn={Sync:"sync",KdsItemStatusSync:"kds_item_status_sync",PosOrderCompleted:"pos.order.completed",CashManagement:"cash-management"},nn={Ticketing:"Ticketing",OrderChange:"OrderChange",NewOrder:"NewOrder",PosOrderChange:"PosOrderChange",UpdateLoyaltyPoints:"UpdateLoyaltyPoints",CourseFire:"CourseFire"},rn={Earn:"earn",Redeem:"redeem",Collect:"collect",Credit:"credit",Debit:"debit",Claimed:"claimed"},on={Sidewalk:"VEHICLE_TYPE_SIDEWALK",FlyingDrone:"VEHICLE_TYPE_FLYING_DRONE"},an={Image:"image",Video:"video",Animation:"animation"},ln={BusinessConfigUpdated:"BUSINESS_CONFIG_UPDATED",DataSyncRequired:"DATA_SYNC_REQUIRED",PosSessionUpdated:"POS_SESSION_UPDATED",BusinessDataUpdated:"BUSINESS_DATA_UPDATED"},un={StatusUpdated:"business:status-updated",MenuUpdated:"business:menu-updated",ConfigUpdated:"business:config-updated"},dn={GiftCard:"GiftCard"},cn={Online:"ONLINE",Offline:"OFFLINE"},pn={SaleTransaction:"SALE_TRANSACTION",RefundTransaction:"REFUND_TRANSACTION",OrderVoid:"ORDER_VOID",OpeningFloat:"OPENING_FLOAT",ClosingCount:"CLOSING_COUNT",AdjustmentEntry:"ADJUSTMENT_ENTRY",BankTransferIn:"BANK_TRANSFER_IN",PrivateDeposit:"PRIVATE_DEPOSIT",TipsDeposit:"TIPS_DEPOSIT",PurchaseMaterials:"PURCHASE_MATERIALS",BankTransferOut:"BANK_TRANSFER_OUT",SalaryPayout:"SALARY_PAYOUT",TipsPayout:"TIPS_PAYOUT",PrivateWithdrawal:"PRIVATE_WITHDRAWAL",OtherExpense:"OTHER_EXPENSE",Other:"OTHER"},mn={Opening:"OPENING",Sale:"SALE",Refund:"REFUND",ManualIn:"MANUAL_IN",ManualOut:"MANUAL_OUT",Closing:"CLOSING"},yn={Open:"OPEN",Counting:"COUNTING",Closed:"CLOSED"},gn={SessionUpdated:"SESSION_UPDATED",SessionClosed:"SESSION_CLOSED",LogAdded:"LOG_ADDED"},hn={Pos:"pos",Display:"display"},Pn={Wolt:"Wolt",MunchiOnline:"MunchiOnline",MunchiKiosk:"MunchiKiosk",MunchiPos:"MunchiPos",UberEats:"UberEats",Foodora:"Foodora",Bolt:"Bolt",MunchiKioskV2:"MunchiKioskV2",Kiosk:"Kiosk",WoltStorefront:"WoltStorefront",Storefront:"Storefront",MunchiPay:"MunchiPay"},bn={Pending:"pending",Success:"success",Failure:"failure"},An={EqualSplit:"EQUAL_SPLIT",ItemSplit:"ITEM_SPLIT",Full:"FULL"},Rn={Kiosk:"kiosk"},xn={TimeWindow:"TIME_WINDOW",DateRange:"DATE_RANGE",CartMinValue:"CART_MIN_VALUE",CartMaxValue:"CART_MAX_VALUE",ProductInCart:"PRODUCT_IN_CART"},fn={Delivery:"DELIVERY",Pickup:"PICKUP",DineIn:"DINE_IN"},Dn={ApiKey:"api_key",BasicAuth:"basic_auth",Oauth2:"oauth_2"},Cn={Eur:"EUR",Gbp:"GBP",Chf:"CHF",Sek:"SEK",Nok:"NOK",Dkk:"DKK",Pln:"PLN",Czk:"CZK",Huf:"HUF",Ron:"RON",Bgn:"BGN",Hrk:"HRK",Isk:"ISK",Rsd:"RSD",Try:"TRY",Uah:"UAH",Rub:"RUB",All:"ALL",Mkd:"MKD",Mdl:"MDL",Bam:"BAM",Aed:"AED",Usd:"USD",Afn:"AFN",Amd:"AMD",Aoa:"AOA",Ars:"ARS",Aud:"AUD",Awg:"AWG",Azn:"AZN",Bbd:"BBD",Bdt:"BDT",Bhd:"BHD",Bif:"BIF",Bmd:"BMD",Bnd:"BND",Bob:"BOB",Brl:"BRL",Bsd:"BSD",Btn:"BTN",Bwp:"BWP",Byn:"BYN",Bzd:"BZD",Cad:"CAD",Cdf:"CDF",Clp:"CLP",Cny:"CNY",Cop:"COP",Crc:"CRC",Cup:"CUP",Cve:"CVE",Djf:"DJF",Dop:"DOP",Dzd:"DZD",Egp:"EGP",Ern:"ERN",Etb:"ETB",Fjd:"FJD",Fkp:"FKP",Gel:"GEL",Ghs:"GHS",Gip:"GIP",Gmd:"GMD",Gnf:"GNF",Gtq:"GTQ",Gyd:"GYD",Hkd:"HKD",Hnl:"HNL",Htg:"HTG",Idr:"IDR",Ils:"ILS",Inr:"INR",Iqd:"IQD",Irr:"IRR",Jmd:"JMD",Jod:"JOD",Jpy:"JPY",Kes:"KES",Kgs:"KGS",Khr:"KHR",Kmf:"KMF",Kpw:"KPW",Krw:"KRW",Kwd:"KWD",Kyd:"KYD",Kzt:"KZT",Lak:"LAK",Lbp:"LBP",Lkr:"LKR",Lrd:"LRD",Lsl:"LSL",Lyd:"LYD",Mad:"MAD",Mga:"MGA",Mmk:"MMK",Mnt:"MNT",Mop:"MOP",Mru:"MRU",Mur:"MUR",Mvr:"MVR",Mwk:"MWK",Mxn:"MXN",Myr:"MYR",Mzn:"MZN",Nad:"NAD",Ngn:"NGN",Nio:"NIO",Npr:"NPR",Nzd:"NZD",Omr:"OMR",Pab:"PAB",Pen:"PEN",Pgk:"PGK",Php:"PHP",Pkr:"PKR",Pyg:"PYG",Qar:"QAR",Rwf:"RWF",Sar:"SAR",Sbd:"SBD",Scr:"SCR",Sdg:"SDG",Sgd:"SGD",Shp:"SHP",Sle:"SLE",Sos:"SOS",Srd:"SRD",Ssp:"SSP",Stn:"STN",Svc:"SVC",Syp:"SYP",Szl:"SZL",Thb:"THB",Tjs:"TJS",Tmt:"TMT",Tnd:"TND",Top:"TOP",Ttd:"TTD",Twd:"TWD",Tzs:"TZS",Ugx:"UGX",Uyu:"UYU",Uzs:"UZS",Ved:"VED",Ves:"VES",Vnd:"VND",Vuv:"VUV",Wst:"WST",Xaf:"XAF",Xcd:"XCD",Xcg:"XCG",Xof:"XOF",Xpf:"XPF",Yer:"YER",Zar:"ZAR",Zmw:"ZMW",Zwg:"ZWG"},Sn={Insert:"INSERT",Update:"UPDATE",Delete:"DELETE"},On={Sunday:"SUNDAY",Monday:"MONDAY",Tuesday:"TUESDAY",Wednesday:"WEDNESDAY",Thursday:"THURSDAY",Friday:"FRIDAY",Saturday:"SATURDAY"},Vn={Shipday:"shipday",UberDirect:"uber_direct"},In={Create:"CREATE",Update:"UPDATE",Cancel:"CANCEL"},vn={Pending:"pending",Dispatched:"dispatched",Failed:"failed"},Tn={None:"none",PickupEtaUpdated:"pickup_eta_updated",PickupStarted:"pickup_started",PickedUp:"picked_up",DropoffStarted:"dropoff_started",DropoffCompleted:"dropoff_completed",Delivered:"delivered",DropoffEtaUpdated:"dropoff_eta_updated"},En={SelfDelivery:"self_delivery",HomeDelivery:"home_delivery"},qn={Tablet:"TABLET",KioskStand:"KIOSK_STAND",SmartTerminal:"SMART_TERMINAL"},Un={Item:"ITEM",Cart:"CART"},kn={Business:"BUSINESS",Owner:"OWNER"},Mn={Manual:"MANUAL",Promotion:"PROMOTION",Loyalty:"LOYALTY",Campaign:"CAMPAIGN"},Bn={Percentage:"PERCENTAGE",Fixed:"FIXED"},wn={Product:"product",Menu:"menu",Category:"category",Extra:"extra",Option:"option",Role:"role",Shift:"shift",Employee:"employee",Config:"config",Business:"business",Suboption:"suboption",Site:"site"},Fn={TipAmount:"TIP_AMOUNT",Surcharge:"SURCHARGE"},Ln={NUMBER_1001:1001,NUMBER_1002:1002,NUMBER_1003:1003,NUMBER_1004:1004,NUMBER_1005:1005,NUMBER_1006:1006,NUMBER_1007:1007,NUMBER_1008:1008,NUMBER_1010:1010,NUMBER_1011:1011,NUMBER_1012:1012,NUMBER_1013:1013,NUMBER_1014:1014,NUMBER_1015:1015,NUMBER_1016:1016,NUMBER_1017:1017,NUMBER_1018:1018,NUMBER_1019:1019,NUMBER_1020:1020,NUMBER_1021:1021,NUMBER_1022:1022,NUMBER_1023:1023,NUMBER_1024:1024,NUMBER_1025:1025,NUMBER_1999:1999,NUMBER_2001:2001,NUMBER_2002:2002,NUMBER_2003:2003,NUMBER_3001:3001,NUMBER_4001:4001},_n={Orders:"ORDERS",Menu:"MENU",Venue:"VENUE",Kds:"KDS",Ayce:"AYCE"},Nn={OrderCreated:"order.created",OrderReady:"order.ready",OrderReverted:"order.reverted",OrderDeleted:"order.deleted",PrintingOrder:"printing.order"},Wn={Found:"NOT_FOUND",Pos:"NOT_POS",InProgress:"NOT_IN_PROGRESS"},jn={Standard:"STANDARD",Broadcast:"BROADCAST"},Kn={StatusUpdated:"kiosk.status.updated",ConfigUpdated:"kiosk.config.updated"},Gn={Vertical:"VERTICAL",Horizontal:"HORIZONTAL"},Hn={NotApplicable:"NOT_APPLICABLE",Pending:"PENDING",OnHold:"ON_HOLD",SentToOm:"SENT_TO_OM",DispatchedToKitchen:"DISPATCHED_TO_KITCHEN",Completed:"COMPLETED",Cancelled:"CANCELLED",Ready:"READY"},Qn={NotApplicable:"not_applicable",Pending:"pending",OnHold:"on_hold",Ready:"ready",SentToOm:"sent_to_om",DispatchedToKitchen:"dispatched_to_kitchen",Completed:"completed",Cancelled:"cancelled"},$n={Table:"table",Indicator:"indicator"},Yn={Self:"self",GetUserById:"getUserById",SearchUser:"searchUser",AddPoints:"addPoints",GetAdminHistory:"getAdminHistory"},zn={Product:"product",Coupon:"coupon"},Xn={Kiosk:"kiosk",Pos:"pos",Online:"online",Mobile:"mobile"},Jn={Claimed:"Claimed",Redeemed:"Redeemed",Expired:"Expired",Available:"Available"},Zn={Pending:"pending",Redeemed:"redeemed",Reversed:"reversed"},er={Requested:"REQUESTED",AlreadyReversed:"ALREADY_REVERSED"},tr={Product:"product",Coupon:"coupon"},sr={Percentage:"percentage",Fixed:"fixed"},nr={Manual:"manual",Automatic:"automatic"},rr={Always:"always",ProductInCart:"product_in_cart",CategoryInCart:"category_in_cart",ProductQuantityInCart:"product_quantity_in_cart",CategoryQuantityInCart:"category_quantity_in_cart",CartMinValue:"cart_min_value",CartMaxValue:"cart_max_value"},or={RequireInCart:"require_in_cart",ConfigureTarget:"configure_target"},ar={All:"all",Cheapest:"cheapest",MostExpensive:"most_expensive"},ir={ExclusiveBestForCustomer:"exclusive_best_for_customer",Stackable:"stackable"},lr={ConditionMatch:"condition_match",Product:"product",Category:"category",Order:"order"},ur={Pos:"pos",Kiosk:"kiosk",Ayce:"ayce",Storefront:"storefront"},dr={Reversal:"REVERSAL",Refund:"REFUND"},cr={Standard:"STANDARD",Team:"TEAM",Pinlock:"PINLOCK"},pr={Open:"OPEN",Instant:"INSTANT"},mr={Instant:"INSTANT",PreOrder:"PRE_ORDER"},yr={None:"NONE",Partial:"PARTIAL",Full:"FULL"},gr={Platform:"PLATFORM",Pos:"POS"},hr={InProgress:"IN_PROGRESS",Ready:"READY",Delivered:"DELIVERED",Rejected:"REJECTED"},Pr={Pending:"pending",InProgress:"in_progress",Ready:"ready",Delivered:"delivered",Rejected:"rejected",PickUpByDriver:"pick_up_by_driver",Preorder:"preorder",AcceptByDriver:"accept_by_driver",Parked:"parked",Refunded:"refunded",Draft:"draft"},br={Delivery:"delivery",PickUp:"pick_up",DineIn:"dine_in"},Ar={DineIn:"dine_in",PickUp:"pick_up"},Rr={Pos:"pos",Terminal:"terminal"},xr={Pos:"munchi_pos",Handheld:"munchi_handheld",Pay:"munchi_pay"},fr={TerminalCard:"terminal_card",CardManual:"card_manual",Cash:"cash",GroupedVoucher:"grouped_voucher",GiftCard:"gift_card",Static:"static"},Dr={StatusChanged:"payment:status-changed",RefundStatusChanged:"payment:refund-status-changed",Outcome:"payment:outcome",OrderSettled:"payment:order-settled"},Cr={PaymentAborted:"payment.aborted",PaymentCancelledByUser:"payment.cancelled_by_user",PaymentInsufficientFunds:"payment.insufficient_funds",PaymentCardExpired:"payment.card_expired",PaymentCardInvalid:"payment.card_invalid",PaymentPinError:"payment.pin_error",PaymentDeclined:"payment.declined",PaymentTimeout:"payment.timeout",PaymentUnknown:"payment.unknown",TerminalOffline:"terminal.offline",TerminalTimeout:"terminal.timeout",TerminalBusy:"terminal.busy",TerminalDuplicate:"terminal.duplicate",TerminalPrinter:"terminal.printer",TerminalLowBattery:"terminal.low_battery",TerminalNeedsReconciliation:"terminal.needs_reconciliation",TerminalCheckScreen:"terminal.check_screen",SystemProviderError:"system.provider_error",SystemUnknown:"system.unknown"},Sr={Cash:"Cash",Card:"Card",Voucher:"Voucher",EPassi:"EPassi",Edenred:"Edenred",Munchi:"Munchi",Flatpay:"Flatpay",GiftUp:"GiftUp",MobilePay:"MobilePay",CardManual:"CardManual",EdenredManual:"EdenredManual",EmployeeDiscount:"EmployeeDiscount",LunchVoucher:"LunchVoucher",EdenredVoucher:"EdenredVoucher",SmartumVoucher:"SmartumVoucher",Invoice:"Invoice",Smartum:"Smartum",GiftCard:"GiftCard",Debit:"Debit",Credit:"Credit",GiftCardManual:"GiftCardManual",WoltBenefit:"WoltBenefit",Fundis:"Fundis",UberEats:"UberEats",MunchiGiftCard:"MunchiGiftCard",WoltManual:"WoltManual",MotoralLaksu:"MotoralLaksu",ResQ:"ResQ",GillAndGill:"GillAndGill",Kiinteisto:"Kiinteisto",Jpn:"JPN",NineLives:"NineLives",Trade:"Trade",Exchange:"Exchange",Tilisiirto:"Tilisiirto",LoyaltyPoints:"LoyaltyPoints",DiningByAmex:"DiningByAmex"},Or={Uncertain:"Uncertain",Success:"Success",Failed:"Failed"},Vr={Stripe:"stripe",Viva:"viva",Nets:"nets",Worldline:"worldline",Epassi:"epassi"},Ir={Stripe:"stripe",Viva:"viva",Nets:"nets",Worldline:"worldline",Epassi:"epassi"},vr={Cards:"cards",EdenredVoucher:"edenred_voucher",SmartumVoucher:"smartum_voucher",Other:"other"},Tr={Sale:"SALE",Refund:"REFUND",Void:"VOID"},Er={Initiated:"INITIATED",Dispatched:"DISPATCHED",Processing:"PROCESSING",Success:"SUCCESS",Failed:"FAILED",Cancelled:"CANCELLED",Closed:"CLOSED",VoidPending:"VOID_PENDING",Voiding:"VOIDING",Voided:"VOIDED",VoidFailed:"VOID_FAILED",Refunding:"REFUNDING",Refunded:"REFUNDED"},qr={Paid:"paid",Pending:"pending"},Ur={Cash:"cash",Card:"card",PayOnDelivery:"pay_on_delivery"},kr={Ready:"ready",Delivered:"delivered"},Mr={NotFound:"NOT_FOUND",NotInProgress:"NOT_IN_PROGRESS",KitchenControlled:"KITCHEN_CONTROLLED",NotReady:"NOT_READY"},Br={Order:"ORDER",LineItem:"LINE_ITEM",ItemSplitSeat:"ITEM_SPLIT_SEAT",ItemSplitAssignment:"ITEM_SPLIT_ASSIGNMENT",EqualSplitPart:"EQUAL_SPLIT_PART"},wr={Percentage:"percentage",Fixed:"fixed"},Fr={Unpaid:"unpaid",Paying:"paying",Paid:"paid"},Lr={Manual:"manual",Static:"static",NonStatic:"non_static",Common:"common"},_r={AccessPosApp:"Access::PosApp",PagePos:"Page::Pos",PageOpenOrders:"Page::OpenOrders",PageOrders:"Page::Orders",PageTransactions:"Page::Transactions",PageProducts:"Page::Products",PageReports:"Page::Reports",PageSettings:"Page::Settings",PageFloorPlan:"Page::FloorPlan",Cart:"Cart::*",CartAddItem:"Cart::AddItem",CartRemoveItem:"Cart::RemoveItem",CartApplyDiscount:"Cart::ApplyDiscount",CartVoidItem:"Cart::VoidItem",CartClear:"Cart::Clear",CartRemoveDiscount:"Cart::RemoveDiscount",CartVoidPayment:"Cart::VoidPayment",Cash:"Cash::*",CashOpenDay:"Cash::OpenDay",CashCloseDay:"Cash::CloseDay",CashCashIn:"Cash::CashIn",CashCashOut:"Cash::CashOut",CashOpenDrawer:"Cash::OpenDrawer",CashPrintReport:"Cash::PrintReport",CashSendReport:"Cash::SendReport",Transaction:"Transaction::*",TransactionRefund:"Transaction::Refund",TransactionViewAll:"Transaction::ViewAll",TransactionTotals:"TransactionTotals::*",TransactionTotalsOrders:"TransactionTotals::Orders",TransactionTotalsSales:"TransactionTotals::Sales",TransactionTotalsRejectedOrders:"TransactionTotals::RejectedOrders",TransactionTotalsRejectedSales:"TransactionTotals::RejectedSales",Order:"Order::*",OrderSendReceipt:"Order::SendReceipt",OpenOrdersDelete:"OpenOrders::Delete",OpenOrdersSendToKitchen:"OpenOrders::SendToKitchen",OpenOrdersFireCourse:"OpenOrders::FireCourse",Shift:"Shift::*",ShiftForceClockOut:"Shift::ForceClockOut",FloorPlan:"FloorPlan::*",FloorPlanEditLayout:"FloorPlan::EditLayout",FloorPlanChangeTableStatus:"FloorPlan::ChangeTableStatus",FloorPlanManageSections:"FloorPlan::ManageSections",Settings:"Settings::*",SettingsEditProfile:"Settings::EditProfile",Report:"Report::*",ReportSendEmail:"Report::SendEmail",ReportTotals:"ReportTotals::*",ReportTotalsOrders:"ReportTotals::Orders",ReportTotalsSales:"ReportTotals::Sales",ReportTotalsTips:"ReportTotals::Tips",ReportTotalsSurcharges:"ReportTotals::Surcharges",ReportTotalsRejectedOrders:"ReportTotals::RejectedOrders",ReportTotalsRejectedSales:"ReportTotals::RejectedSales",ReportTotalsAverageSale:"ReportTotals::AverageSale",ReportTotalsItems:"ReportTotals::Items",ReportTotalsRefunds:"ReportTotals::Refunds",ReportTotalsDiscounts:"ReportTotals::Discounts"},Nr={Access:"Access",Page:"Page",Cart:"Cart",Cash:"Cash",Transaction:"Transaction",TransactionTotals:"TransactionTotals",Order:"Order",OpenOrders:"OpenOrders",Shift:"Shift",FloorPlan:"FloorPlan",Settings:"Settings",Report:"Report",ReportTotals:"ReportTotals"},Wr={Screen:"screen",Action:"action",Visibility:"visibility"},jr={Waiting:"waiting",Confirm:"confirm"},Kr={Preset:"PRESET",Open:"OPEN"},Gr={Bluetooth:"bluetooth",Network:"network"},Hr={Epson:"epson",Star:"star",Sunmi:"sunmi",Label:"label"},Qr={Kitchen:"KITCHEN",Bar:"BAR",Receipt:"RECEIPT",Cloud:"CLOUD",Label:"LABEL"},$r={Available:"AVAILABLE",UnavailableToday:"UNAVAILABLE_TODAY",UnavailableIndefinitely:"UNAVAILABLE_INDEFINITELY"},Yr={Modal:"MODAL",Screen:"SCREEN"},zr={Percentage:"PERCENTAGE",Fixed:"FIXED"},Xr={Wolt:"Wolt",MunchiOnline:"MunchiOnline",MunchiKiosk:"MunchiKiosk",MunchiPos:"MunchiPos",UberEats:"UberEats",Foodora:"Foodora",Bolt:"Bolt",MunchiKioskV2:"MunchiKioskV2",Kiosk:"Kiosk",WoltStorefront:"WoltStorefront",Storefront:"Storefront",MunchiPay:"MunchiPay"},Jr={Activity:"ORDER_ACTIVITY",Deleted:"ORDER_DELETED"},Zr={Kds:"KDS"},eo={ReceiptFinal:"RECEIPT_FINAL",ReceiptPrebill:"RECEIPT_PREBILL",Refund:"REFUND"},to={Success:"SUCCESS",AlreadyPaid:"ALREADY_PAID",Rejected:"REJECTED",Failed:"FAILED"},so={FullNotSupportedGiftCard:"screens.pos.refund.fullNotSupportedGiftCard",PartialShortfallGiftCardPortion:"screens.pos.refund.partialShortfallGiftCardPortion",PlanOverAllocation:"screens.pos.refund.planOverAllocation",CannotSplitLinkedNonSplittable:"screens.pos.refund.cannotSplitLinkedNonSplittable",InsufficientFunds:"screens.pos.refund.insufficientFunds"},no={Full:"FULL",Item:"ITEM"},ro={Pending:"PENDING",InProgress:"IN_PROGRESS",ChoiceRequired:"CHOICE_REQUIRED",Completed:"COMPLETED",Failed:"FAILED"},oo={Pending:"PENDING",Success:"SUCCESS",Failed:"FAILED",Canceled:"CANCELED"},ao={Pending:"PENDING",InProgress:"IN_PROGRESS",Failed:"FAILED",Completed:"COMPLETED"},io={Pos:"pos",Kiosk:"kiosk",Storefront:"storefront",Mobile:"mobile"},lo={IsTheBaseline:"is_the_baseline",OtherCurrency:"other_currency"},uo={None:"none",Venue:"venue",App:"app",VenueApp:"venue_app"},co={SalesReportTotalQuantity:"salesReport.totalQuantity",SalesReportTotalWithTax:"salesReport.totalWithTax",SalesReportTotalTaxAmount:"salesReport.totalTaxAmount",SalesReportTotalWithoutTax:"salesReport.totalWithoutTax",SalesReportDeliveryFee:"salesReport.deliveryFee",SalesReportDeliveryTax:"salesReport.deliveryTax",PaymentReportSummarySalesAndRevenue:"paymentReport.summary.salesAndRevenue",PaymentReportSummaryGrossAmount:"paymentReport.summary.grossAmount",PaymentReportSummaryTotalCount:"paymentReport.summary.totalCount",PaymentReportSummaryTotalAmount:"paymentReport.summary.totalAmount",PaymentReportSummaryCardsCount:"paymentReport.summary.cardsCount",PaymentReportSummaryCardsAmount:"paymentReport.summary.cardsAmount",PaymentReportSummaryEdenredVoucherCount:"paymentReport.summary.edenredVoucherCount",PaymentReportSummaryEdenredVoucherAmount:"paymentReport.summary.edenredVoucherAmount",PaymentReportSummarySmartumVoucherCount:"paymentReport.summary.smartumVoucherCount",PaymentReportSummarySmartumVoucherAmount:"paymentReport.summary.smartumVoucherAmount",PaymentReportSummaryTotalCoupons:"paymentReport.summary.totalCoupons",PaymentReportSummaryTotalVoucherForfeited:"paymentReport.summary.totalVoucherForfeited",PaymentReportSummaryTotalTipAmount:"paymentReport.summary.totalTipAmount",PaymentReportSummaryTotalSurchargeAmount:"paymentReport.summary.totalSurchargeAmount",PaymentReportSummaryTotalRefunds:"paymentReport.summary.totalRefunds",PaymentReportSummaryRefundCount:"paymentReport.summary.refundCount",PaymentReportTotalDiscounts:"paymentReport.totalDiscounts"},po={Fi:"fi",En:"en"},mo={Summary:"summary",Items:"items",Vat:"vat",Payments:"payments",Discounts:"discounts"},yo={WalkIn:"WALK_IN",Pos:"POS",ReservationsApp:"RESERVATIONS_APP",OnlineWidget:"ONLINE_WIDGET",Phone:"PHONE"},go={Requested:"REQUESTED",Confirmed:"CONFIRMED",Waitlist:"WAITLIST",Seated:"SEATED",NoShow:"NO_SHOW",Completed:"COMPLETED",Cancelled:"CANCELLED"},ho={Menu:"MENU",Products:"PRODUCTS",Discounts:"DISCOUNTS",LoyaltySettings:"LOYALTY_SETTINGS",BusinessConfig:"BUSINESS_CONFIG",BusinessProviderSupportedIntegrations:"BUSINESS_PROVIDER_SUPPORTED_INTEGRATIONS",PosSession:"POS_SESSION",InvoiceCompanies:"INVOICE_COMPANIES",BusinessTax:"BUSINESS_TAX",Transaction:"TRANSACTION",PaymentMethods:"PAYMENT_METHODS",ReceiptFooter:"RECEIPT_FOOTER"},Po={Physical:"PHYSICAL"},bo={Assigned:"ORDER_ASSIGNED",AcceptedAndStarted:"ORDER_ACCEPTED_AND_STARTED",Ontheway:"ORDER_ONTHEWAY",Completed:"ORDER_COMPLETED",Failed:"ORDER_FAILED",Incomplete:"ORDER_INCOMPLETE",Delete:"ORDER_DELETE",Inserted:"ORDER_INSERTED",Pikedup:"ORDER_PIKEDUP",Unassigned:"ORDER_UNASSIGNED",PikedupRemoved:"ORDER_PIKEDUP_REMOVED",OnthewayRemoved:"ORDER_ONTHEWAY_REMOVED"},Ao={NotAssigned:"NOT_ASSIGNED",NotAccepted:"NOT_ACCEPTED",NotStartedYet:"NOT_STARTED_YET",Started:"STARTED",PickedUp:"PICKED_UP",ReadyToDeliver:"READY_TO_DELIVER",AlreadyDelivered:"ALREADY_DELIVERED",Incomplete:"INCOMPLETE",FailedDelivery:"FAILED_DELIVERY"},Ro={Pending:"PENDING",Success:"SUCCESS",Failed:"FAILED"},xo={Order:"ORDER",Ticket:"TICKET",KitchenTicket:"KITCHEN_TICKET"},fo={OrderCreated:"ORDER_CREATED",OrderUpdated:"ORDER_UPDATED",ItemAdded:"ITEM_ADDED",ItemRemoved:"ITEM_REMOVED",ItemUpdated:"ITEM_UPDATED",DiscountApplied:"DISCOUNT_APPLIED",DiscountRemoved:"DISCOUNT_REMOVED",RefundInitiated:"REFUND_INITIATED",RefundProcessed:"REFUND_PROCESSED",RefundCanceled:"REFUND_CANCELED",PaymentProcessed:"PAYMENT_PROCESSED",OrderStatusUpdated:"ORDER_STATUS_UPDATED",InventoryUpdated:"INVENTORY_UPDATED",CashSessionOpened:"CASH_SESSION_OPENED",CashSessionClosed:"CASH_SESSION_CLOSED",CashManualAdd:"CASH_MANUAL_ADD",CashManualRemove:"CASH_MANUAL_REMOVE"},Do={Kiosk:"KIOSK",Pos:"POS"},Co={Active:"ACTIVE",Inactive:"INACTIVE"},So={NoStation:"NO_STATION"},Oo={AdHoc:"AD_HOC",Predefined:"PREDEFINED"},Vo={Round:"ROUND",Square:"SQUARE",Rectangle:"RECTANGLE",Booth:"BOOTH"},Io={Available:"AVAILABLE",Dirty:"DIRTY",Blocked:"BLOCKED",OutOfService:"OUT_OF_SERVICE",Occupied:"OCCUPIED"},vo={Network:"NETWORK"},To={Custom:"CUSTOM",Day:"DAY",Week:"WEEK",Month:"MONTH",Year:"YEAR"},Eo={Earn:"earn",Redeem:"redeem",Collect:"collect",Credit:"credit",Debit:"debit",Claimed:"claimed"},qo={Purchase:"purchase",PurchaseWithCashback:"purchaseWithCashback",Reversal:"reversal",ReturnOfGoods:"returnOfGoods",Bonus:"bonus",Authorization:"authorization",PreAuthorizationIncremental:"preAuthorizationIncremental",PreAuthorizationReversal:"preAuthorizationReversal",PreAuthorizationSaleCompletion:"preAuthorizationSaleCompletion",Deposit:"deposit",BalanceInquiry:"balanceInquiry"},Uo={Instant:"instant",Preorder:"preorder"},ko={AfterAddProduct:"AfterAddProduct",BeforeCheckout:"BeforeCheckout",Disabled:"Disabled"},Mo={CardPresent:"CardPresent",Moto:"MOTO",QrDefault:"QrDefault",AliPay:"AliPay",Paypal:"Paypal",Klarna:"Klarna",Iris:"IRIS",Blik:"BLIK"},Bo={_978:"978",_840:"840",_826:"826",_392:"392",_036:"036",_124:"124",_756:"756",_156:"156",_344:"344",_554:"554",_752:"752",_410:"410",_702:"702",_578:"578",_484:"484",_356:"356",_643:"643",_710:"710",_949:"949",_986:"986",_901:"901",_208:"208",_985:"985",_764:"764",_360:"360",_348:"348",_203:"203",_376:"376",_152:"152",_608:"608",_784:"784",_170:"170",_682:"682",_458:"458",_946:"946"},wo={NUMBER_1000:1e3,NUMBER_1001:1001,NUMBER_1002:1002,NUMBER_1003:1003,NUMBER_1004:1004,NUMBER_1006:1006,NUMBER_1007:1007,NUMBER_1008:1008,NUMBER_1009:1009,NUMBER_1010:1010,NUMBER_1011:1011,NUMBER_1012:1012,NUMBER_1013:1013,NUMBER_1014:1014,NUMBER_1016:1016,NUMBER_1017:1017,NUMBER_1018:1018,NUMBER_1019:1019,NUMBER_1020:1020,NUMBER_1021:1021,NUMBER_1047:1047,NUMBER_1048:1048,NUMBER_1049:1049,NUMBER_1050:1050,NUMBER_1051:1051,NUMBER_1052:1052,NUMBER_1053:1053,NUMBER_1054:1054,NUMBER_1055:1055,NUMBER_1056:1056,NUMBER_1057:1057,NUMBER_1058:1058,NUMBER_1059:1059,NUMBER_1060:1060,NUMBER_1061:1061,NUMBER_1062:1062,NUMBER_1063:1063,NUMBER_1064:1064,NUMBER_1065:1065,NUMBER_1066:1066,NUMBER_1067:1067,NUMBER_1068:1068,NUMBER_1069:1069,NUMBER_1070:1070,NUMBER_1071:1071,NUMBER_1072:1072,NUMBER_1074:1074,NUMBER_1075:1075,NUMBER_1076:1076,NUMBER_1077:1077,NUMBER_1079:1079,NUMBER_1080:1080,NUMBER_1081:1081,NUMBER_1082:1082,NUMBER_1083:1083,NUMBER_1099:1099,NUMBER_1100:1100,NUMBER_1101:1101,NUMBER_1102:1102,NUMBER_1110:1110,NUMBER_1301:1301,NUMBER_1302:1302,NUMBER_1303:1303,NUMBER_2000:2e3,NUMBER_3000:3e3,NUMBER_3001:3001,NUMBER_3002:3002,NUMBER_3099:3099,NUMBER_4000:4e3,NUMBER_5000:5e3,NUMBER_5001:5001,NUMBER_5002:5002,NUMBER_5003:5003,NUMBER_5004:5004,NUMBER_5005:5005,NUMBER_5006:5006,NUMBER_6000:6e3,NUMBER_6102:6102,NUMBER_6201:6201,NUMBER_7001:7001,NUMBER_7002:7002,NUMBER_7003:7003,NUMBER_7004:7004,NUMBER_7005:7005},Fo={NUMBER_1000:1e3,NUMBER_1001:1001,NUMBER_1002:1002,NUMBER_1003:1003,NUMBER_1004:1004,NUMBER_1006:1006,NUMBER_1007:1007,NUMBER_1008:1008,NUMBER_1009:1009,NUMBER_1010:1010,NUMBER_1011:1011,NUMBER_1012:1012,NUMBER_1013:1013,NUMBER_1014:1014,NUMBER_1016:1016,NUMBER_1017:1017,NUMBER_1018:1018,NUMBER_1019:1019,NUMBER_1020:1020,NUMBER_1021:1021,NUMBER_1047:1047,NUMBER_1048:1048,NUMBER_1049:1049,NUMBER_1050:1050,NUMBER_1051:1051,NUMBER_1052:1052,NUMBER_1053:1053,NUMBER_1054:1054,NUMBER_1055:1055,NUMBER_1056:1056,NUMBER_1057:1057,NUMBER_1058:1058,NUMBER_1059:1059,NUMBER_1060:1060,NUMBER_1061:1061,NUMBER_1062:1062,NUMBER_1063:1063,NUMBER_1064:1064,NUMBER_1065:1065,NUMBER_1066:1066,NUMBER_1067:1067,NUMBER_1068:1068,NUMBER_1069:1069,NUMBER_1070:1070,NUMBER_1071:1071,NUMBER_1072:1072,NUMBER_1074:1074,NUMBER_1075:1075,NUMBER_1076:1076,NUMBER_1077:1077,NUMBER_1079:1079,NUMBER_1080:1080,NUMBER_1081:1081,NUMBER_1082:1082,NUMBER_1083:1083,NUMBER_1099:1099,NUMBER_1100:1100,NUMBER_1101:1101,NUMBER_1102:1102,NUMBER_1110:1110,NUMBER_1301:1301,NUMBER_1302:1302,NUMBER_1303:1303,NUMBER_2000:2e3,NUMBER_3000:3e3,NUMBER_3001:3001,NUMBER_3002:3002,NUMBER_3099:3099,NUMBER_4000:4e3,NUMBER_5000:5e3,NUMBER_5001:5001,NUMBER_5002:5002,NUMBER_5003:5003,NUMBER_5004:5004,NUMBER_5005:5005,NUMBER_5006:5006,NUMBER_6000:6e3,NUMBER_6102:6102,NUMBER_6201:6201,NUMBER_7001:7001,NUMBER_7002:7002,NUMBER_7003:7003,NUMBER_7004:7004,NUMBER_7005:7005},Lo={NUMBER_1796:1796,NUMBER_1797:1797,NUMBER_1798:1798,NUMBER_1799:1799,NUMBER_1802:1802,NUMBER_1803:1803,NUMBER_8193:8193,NUMBER_8194:8194},_o={Queued:"QUEUED",InProgress:"IN_PROGRESS",Completed:"COMPLETED",Failed:"FAILED",Cancelled:"CANCELLED"},No={Pending:"PENDING",Completed:"COMPLETED",Failed:"FAILED"},Wo={Ok:"OK",NotFound:"NotFound",BadRequest:"BadRequest",Unauthorized:"Unauthorized",Forbidden:"Forbidden",TooManyRequests:"TooManyRequests",ServiceUnavailable:"ServiceUnavailable",InternalServerError:"InternalServerError"},jo={Reversal:"REVERSAL",Refund:"REFUND"},Ht=function(a){return{checkActionPasscode:async(n,e,s,t={})=>{d("checkActionPasscode","businessId",n),d("checkActionPasscode","xPosPin",e),d("checkActionPasscode","checkActionPasscodeDto",s);let r="/api/v2/businesses/{businessId}/action-passcodes/check".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),e!=null&&(u["X-Pos-Pin"]=String(e)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}}}},Tt=function(a){let n=Ht(a);return{async checkActionPasscode(e,s,t,r){let o=await n.checkActionPasscode(e,s,t,r);return h(o,P.default,p,a)}}},Ko=function(a,n,e){let s=Tt(a);return{checkActionPasscode(t,r,o,i){return s.checkActionPasscode(t,r,o,i).then(l=>l(e,n))}}},Te=class extends O{checkActionPasscode(n,e,s,t){return Tt(this.configuration).checkActionPasscode(n,e,s,t).then(r=>r(this.axios,this.basePath))}},Qt=function(a){return{firebaseAuth:async(n={})=>{let e="/api/v1/auth/firebase-login",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...n},o={};y(s,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},login:async(n,e={})=>{d("login","credentialDto",n);let s="/api/v1/auth/login",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},logout:async(n={})=>{let e="/api/v1/auth/logout",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...n},o={};y(s,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},refreshToken:async(n,e={})=>{d("refreshToken","refreshTokenDto",n);let s="/api/v1/auth/refresh",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},Z=function(a){let n=Qt(a);return{async firebaseAuth(e){let s=await n.firebaseAuth(e);return h(s,P.default,p,a)},async login(e,s){let t=await n.login(e,s);return h(t,P.default,p,a)},async logout(e){let s=await n.logout(e);return h(s,P.default,p,a)},async refreshToken(e,s){let t=await n.refreshToken(e,s);return h(t,P.default,p,a)}}},Go=function(a,n,e){let s=Z(a);return{firebaseAuth(t){return s.firebaseAuth(t).then(r=>r(e,n))},login(t,r){return s.login(t,r).then(o=>o(e,n))},logout(t){return s.logout(t).then(r=>r(e,n))},refreshToken(t,r){return s.refreshToken(t,r).then(o=>o(e,n))}}},Ee=class extends O{firebaseAuth(n){return Z(this.configuration).firebaseAuth(n).then(e=>e(this.axios,this.basePath))}login(n,e){return Z(this.configuration).login(n,e).then(s=>s(this.axios,this.basePath))}logout(n){return Z(this.configuration).logout(n).then(e=>e(this.axios,this.basePath))}refreshToken(n,e){return Z(this.configuration).refreshToken(n,e).then(s=>s(this.axios,this.basePath))}},$t=function(a){return{getAdvancedDiscounts:async(n,e={})=>{d("getAdvancedDiscounts","businessId",n);let s="/api/v2/business/{businessId}/discount".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getBusinessCategoriesByMenuIdV2:async(n,e,s={})=>{d("getBusinessCategoriesByMenuIdV2","businessId",n),d("getBusinessCategoriesByMenuIdV2","businessCategoryBodyDto",e);let t="/api/v2/business/{businessId}/menu/categories".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},getBusinessCategoriesByMenuIdV3:async(n,e,s={})=>{d("getBusinessCategoriesByMenuIdV3","businessId",n),d("getBusinessCategoriesByMenuIdV3","businessCategoryBodyDto",e);let t="/api/v3/business/{businessId}/menu/categories".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},getBusinessChannelConfigV2:async(n,e,s={})=>{d("getBusinessChannelConfigV2","businessId",n);let t="/api/v2/business/{businessId}/channel-configs".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),e!==void 0&&(u.lang=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getBusinessConfig:async(n,e,s={})=>{d("getBusinessConfig","businessId",n);let t="/api/v1/business/{businessId}/configs".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),e!==void 0&&(u.lang=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getBusinessConfigById:async(n,e,s={})=>{d("getBusinessConfigById","businessId",n);let t="/api/v1/business/{businessId}/external/configs".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),e!==void 0&&(u.lang=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getBusinessConfigByIdV2:async(n,e,s={})=>{d("getBusinessConfigByIdV2","businessId",n);let t="/api/v2/business/{businessId}/external/configs".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),e!==void 0&&(u.lang=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getBusinessMenuByTypeV2:async(n,e,s={})=>{d("getBusinessMenuByTypeV2","businessId",n),d("getBusinessMenuByTypeV2","menuType",e);let t="/api/v2/business/{businessId}/menu/{menuType}".replace("{businessId}",encodeURIComponent(String(n))).replace("{menuType}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getBusinessMenuByTypeV3:async(n,e,s={})=>{d("getBusinessMenuByTypeV3","businessId",n),d("getBusinessMenuByTypeV3","menuType",e);let t="/api/v3/business/{businessId}/menu/{menuType}".replace("{businessId}",encodeURIComponent(String(n))).replace("{menuType}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getBusinessMenuByTypeV4:async(n,e,s={})=>{d("getBusinessMenuByTypeV4","businessId",n),d("getBusinessMenuByTypeV4","menuType",e);let t="/api/v4/business/{businessId}/menu/{menuType}".replace("{businessId}",encodeURIComponent(String(n))).replace("{menuType}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getBusinessProviderStatus:async(n,e={})=>{d("getBusinessProviderStatus","businessId",n);let s="/api/v1/business/{businessId}/provider/status".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getBusinessTax:async(n,e={})=>{let s="/api/v1/business/tax",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),n!==void 0&&(l.businessId=n),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getProvidersSupportedIntegrations:async(n,e={})=>{d("getProvidersSupportedIntegrations","businessIds",n);let s="/api/v1/business/providers/supported-integrations",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),n&&(l.businessIds=n),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getSingleBusinessProviderStatus:async(n,e,s,t={})=>{d("getSingleBusinessProviderStatus","businessId",n),d("getSingleBusinessProviderStatus","provider",e),d("getSingleBusinessProviderStatus","externalId",s);let r="/api/v1/business/{businessId}/{provider}/{externalId}/status".replace("{businessId}",encodeURIComponent(String(n))).replace("{provider}",encodeURIComponent(String(e))).replace("{externalId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},c={};await x(u,a),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},setBusinessStatus:async(n,e,s={})=>{d("setBusinessStatus","businessId",n),d("setBusinessStatus","businessStatusDto",e);let t="/api/v1/business/{businessId}/status".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},setBusinessStatusSchedule:async(n,e,s={})=>{d("setBusinessStatusSchedule","businessId",n),d("setBusinessStatusSchedule","businessStatusDto",e);let t="/api/v1/business/{businessId}/status/schedule".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}}}},U=function(a){let n=$t(a);return{async getAdvancedDiscounts(e,s){let t=await n.getAdvancedDiscounts(e,s);return h(t,P.default,p,a)},async getBusinessCategoriesByMenuIdV2(e,s,t){let r=await n.getBusinessCategoriesByMenuIdV2(e,s,t);return h(r,P.default,p,a)},async getBusinessCategoriesByMenuIdV3(e,s,t){let r=await n.getBusinessCategoriesByMenuIdV3(e,s,t);return h(r,P.default,p,a)},async getBusinessChannelConfigV2(e,s,t){let r=await n.getBusinessChannelConfigV2(e,s,t);return h(r,P.default,p,a)},async getBusinessConfig(e,s,t){let r=await n.getBusinessConfig(e,s,t);return h(r,P.default,p,a)},async getBusinessConfigById(e,s,t){let r=await n.getBusinessConfigById(e,s,t);return h(r,P.default,p,a)},async getBusinessConfigByIdV2(e,s,t){let r=await n.getBusinessConfigByIdV2(e,s,t);return h(r,P.default,p,a)},async getBusinessMenuByTypeV2(e,s,t){let r=await n.getBusinessMenuByTypeV2(e,s,t);return h(r,P.default,p,a)},async getBusinessMenuByTypeV3(e,s,t){let r=await n.getBusinessMenuByTypeV3(e,s,t);return h(r,P.default,p,a)},async getBusinessMenuByTypeV4(e,s,t){let r=await n.getBusinessMenuByTypeV4(e,s,t);return h(r,P.default,p,a)},async getBusinessProviderStatus(e,s){let t=await n.getBusinessProviderStatus(e,s);return h(t,P.default,p,a)},async getBusinessTax(e,s){let t=await n.getBusinessTax(e,s);return h(t,P.default,p,a)},async getProvidersSupportedIntegrations(e,s){let t=await n.getProvidersSupportedIntegrations(e,s);return h(t,P.default,p,a)},async getSingleBusinessProviderStatus(e,s,t,r){let o=await n.getSingleBusinessProviderStatus(e,s,t,r);return h(o,P.default,p,a)},async setBusinessStatus(e,s,t){let r=await n.setBusinessStatus(e,s,t);return h(r,P.default,p,a)},async setBusinessStatusSchedule(e,s,t){let r=await n.setBusinessStatusSchedule(e,s,t);return h(r,P.default,p,a)}}},Ho=function(a,n,e){let s=U(a);return{getAdvancedDiscounts(t,r){return s.getAdvancedDiscounts(t,r).then(o=>o(e,n))},getBusinessCategoriesByMenuIdV2(t,r,o){return s.getBusinessCategoriesByMenuIdV2(t,r,o).then(i=>i(e,n))},getBusinessCategoriesByMenuIdV3(t,r,o){return s.getBusinessCategoriesByMenuIdV3(t,r,o).then(i=>i(e,n))},getBusinessChannelConfigV2(t,r,o){return s.getBusinessChannelConfigV2(t,r,o).then(i=>i(e,n))},getBusinessConfig(t,r,o){return s.getBusinessConfig(t,r,o).then(i=>i(e,n))},getBusinessConfigById(t,r,o){return s.getBusinessConfigById(t,r,o).then(i=>i(e,n))},getBusinessConfigByIdV2(t,r,o){return s.getBusinessConfigByIdV2(t,r,o).then(i=>i(e,n))},getBusinessMenuByTypeV2(t,r,o){return s.getBusinessMenuByTypeV2(t,r,o).then(i=>i(e,n))},getBusinessMenuByTypeV3(t,r,o){return s.getBusinessMenuByTypeV3(t,r,o).then(i=>i(e,n))},getBusinessMenuByTypeV4(t,r,o){return s.getBusinessMenuByTypeV4(t,r,o).then(i=>i(e,n))},getBusinessProviderStatus(t,r){return s.getBusinessProviderStatus(t,r).then(o=>o(e,n))},getBusinessTax(t,r){return s.getBusinessTax(t,r).then(o=>o(e,n))},getProvidersSupportedIntegrations(t,r){return s.getProvidersSupportedIntegrations(t,r).then(o=>o(e,n))},getSingleBusinessProviderStatus(t,r,o,i){return s.getSingleBusinessProviderStatus(t,r,o,i).then(l=>l(e,n))},setBusinessStatus(t,r,o){return s.setBusinessStatus(t,r,o).then(i=>i(e,n))},setBusinessStatusSchedule(t,r,o){return s.setBusinessStatusSchedule(t,r,o).then(i=>i(e,n))}}},qe=class extends O{getAdvancedDiscounts(n,e){return U(this.configuration).getAdvancedDiscounts(n,e).then(s=>s(this.axios,this.basePath))}getBusinessCategoriesByMenuIdV2(n,e,s){return U(this.configuration).getBusinessCategoriesByMenuIdV2(n,e,s).then(t=>t(this.axios,this.basePath))}getBusinessCategoriesByMenuIdV3(n,e,s){return U(this.configuration).getBusinessCategoriesByMenuIdV3(n,e,s).then(t=>t(this.axios,this.basePath))}getBusinessChannelConfigV2(n,e,s){return U(this.configuration).getBusinessChannelConfigV2(n,e,s).then(t=>t(this.axios,this.basePath))}getBusinessConfig(n,e,s){return U(this.configuration).getBusinessConfig(n,e,s).then(t=>t(this.axios,this.basePath))}getBusinessConfigById(n,e,s){return U(this.configuration).getBusinessConfigById(n,e,s).then(t=>t(this.axios,this.basePath))}getBusinessConfigByIdV2(n,e,s){return U(this.configuration).getBusinessConfigByIdV2(n,e,s).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV2(n,e,s){return U(this.configuration).getBusinessMenuByTypeV2(n,e,s).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV3(n,e,s){return U(this.configuration).getBusinessMenuByTypeV3(n,e,s).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV4(n,e,s){return U(this.configuration).getBusinessMenuByTypeV4(n,e,s).then(t=>t(this.axios,this.basePath))}getBusinessProviderStatus(n,e){return U(this.configuration).getBusinessProviderStatus(n,e).then(s=>s(this.axios,this.basePath))}getBusinessTax(n,e){return U(this.configuration).getBusinessTax(n,e).then(s=>s(this.axios,this.basePath))}getProvidersSupportedIntegrations(n,e){return U(this.configuration).getProvidersSupportedIntegrations(n,e).then(s=>s(this.axios,this.basePath))}getSingleBusinessProviderStatus(n,e,s,t){return U(this.configuration).getSingleBusinessProviderStatus(n,e,s,t).then(r=>r(this.axios,this.basePath))}setBusinessStatus(n,e,s){return U(this.configuration).setBusinessStatus(n,e,s).then(t=>t(this.axios,this.basePath))}setBusinessStatusSchedule(n,e,s){return U(this.configuration).setBusinessStatusSchedule(n,e,s).then(t=>t(this.axios,this.basePath))}},Yt=function(a){return{upsertSchedule:async(n,e,s={})=>{d("upsertSchedule","businessId",n),d("upsertSchedule","upsertBusinessScheduleDto",e);let t="/api/v1/businesses/{businessId}/schedule".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}}}},Et=function(a){let n=Yt(a);return{async upsertSchedule(e,s,t){let r=await n.upsertSchedule(e,s,t);return h(r,P.default,p,a)}}},Qo=function(a,n,e){let s=Et(a);return{upsertSchedule(t,r,o){return s.upsertSchedule(t,r,o).then(i=>i(e,n))}}},Ue=class extends O{upsertSchedule(n,e,s){return Et(this.configuration).upsertSchedule(n,e,s).then(t=>t(this.axios,this.basePath))}},zt=function(a){return{create:async(n,e,s={})=>{d("create","businessId",n),d("create","cashSessionDto",e);let t="/api/v1/cash-management/{businessId}/create".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},getCashLogs:async(n,e,s,t,r,o,i,l={})=>{d("getCashLogs","businessId",n);let u="/api/v1/cash-management/{businessId}/logs".replace("{businessId}",encodeURIComponent(String(n))),c=new URL(u,m),b;a&&(b=a.baseOptions);let R={method:"GET",...b,...l},D={},f={};await x(D,a),e!==void 0&&(f.timeSpan=e),s!==void 0&&(f.start=s),t!==void 0&&(f.end=t),r!==void 0&&(f.page=r),o!==void 0&&(f.rowPerPage=o),i!==void 0&&(f.timezone=i),y(c,f);let S=b&&b.headers?b.headers:{};return R.headers={...D,...S,...l.headers},{url:g(c),options:R}},getCashSession:async(n,e={})=>{d("getCashSession","businessId",n);let s="/api/v1/cash-management/{businessId}/active-session".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getSessionReport:async(n,e,s={})=>{d("getSessionReport","businessId",n),d("getSessionReport","sessionId",e);let t="/api/v1/cash-management/{businessId}/sessions/{sessionId}/report".replace("{businessId}",encodeURIComponent(String(n))).replace("{sessionId}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},recordCashLog:async(n,e,s={})=>{d("recordCashLog","businessId",n),d("recordCashLog","cashLogDto",e);let t="/api/v1/cash-management/{businessId}/log".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},sendSessionReport:async(n,e,s,t,r={})=>{d("sendSessionReport","businessId",n),d("sendSessionReport","sessionId",e),d("sendSessionReport","sendCashReportDto",s);let o="/api/v1/cash-management/{businessId}/sessions/{sessionId}/send-report".replace("{businessId}",encodeURIComponent(String(n))).replace("{sessionId}",encodeURIComponent(String(e))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"POST",...l,...r},c={},b={};await x(c,a),t!=null&&(c["x-app-x"]=String(t)),c["Content-Type"]="application/json",y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},u.data=A(s,u,a),{url:g(i),options:u}}}},Q=function(a){let n=zt(a);return{async create(e,s,t){let r=await n.create(e,s,t);return h(r,P.default,p,a)},async getCashLogs(e,s,t,r,o,i,l,u){let c=await n.getCashLogs(e,s,t,r,o,i,l,u);return h(c,P.default,p,a)},async getCashSession(e,s){let t=await n.getCashSession(e,s);return h(t,P.default,p,a)},async getSessionReport(e,s,t){let r=await n.getSessionReport(e,s,t);return h(r,P.default,p,a)},async recordCashLog(e,s,t){let r=await n.recordCashLog(e,s,t);return h(r,P.default,p,a)},async sendSessionReport(e,s,t,r,o){let i=await n.sendSessionReport(e,s,t,r,o);return h(i,P.default,p,a)}}},$o=function(a,n,e){let s=Q(a);return{create(t,r,o){return s.create(t,r,o).then(i=>i(e,n))},getCashLogs(t,r,o,i,l,u,c,b){return s.getCashLogs(t,r,o,i,l,u,c,b).then(R=>R(e,n))},getCashSession(t,r){return s.getCashSession(t,r).then(o=>o(e,n))},getSessionReport(t,r,o){return s.getSessionReport(t,r,o).then(i=>i(e,n))},recordCashLog(t,r,o){return s.recordCashLog(t,r,o).then(i=>i(e,n))},sendSessionReport(t,r,o,i,l){return s.sendSessionReport(t,r,o,i,l).then(u=>u(e,n))}}},ke=class extends O{create(n,e,s){return Q(this.configuration).create(n,e,s).then(t=>t(this.axios,this.basePath))}getCashLogs(n,e,s,t,r,o,i,l){return Q(this.configuration).getCashLogs(n,e,s,t,r,o,i,l).then(u=>u(this.axios,this.basePath))}getCashSession(n,e){return Q(this.configuration).getCashSession(n,e).then(s=>s(this.axios,this.basePath))}getSessionReport(n,e,s){return Q(this.configuration).getSessionReport(n,e,s).then(t=>t(this.axios,this.basePath))}recordCashLog(n,e,s){return Q(this.configuration).recordCashLog(n,e,s).then(t=>t(this.axios,this.basePath))}sendSessionReport(n,e,s,t,r){return Q(this.configuration).sendSessionReport(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}},Xt=function(a){return{listCashLogsForTill:async(n,e,s,t,r,o,i,l={})=>{d("listCashLogsForTill","businessId",n);let u="/api/v6/cash-management/{businessId}/logs".replace("{businessId}",encodeURIComponent(String(n))),c=new URL(u,m),b;a&&(b=a.baseOptions);let R={method:"GET",...b,...l},D={},f={};await x(D,a),e!==void 0&&(f.timeSpan=e),s!==void 0&&(f.start=s),t!==void 0&&(f.end=t),r!==void 0&&(f.page=r),o!==void 0&&(f.rowPerPage=o),i!==void 0&&(f.timezone=i),y(c,f);let S=b&&b.headers?b.headers:{};return R.headers={...D,...S,...l.headers},{url:g(c),options:R}}}},qt=function(a){let n=Xt(a);return{async listCashLogsForTill(e,s,t,r,o,i,l,u){let c=await n.listCashLogsForTill(e,s,t,r,o,i,l,u);return h(c,P.default,p,a)}}},Yo=function(a,n,e){let s=qt(a);return{listCashLogsForTill(t,r,o,i,l,u,c,b){return s.listCashLogsForTill(t,r,o,i,l,u,c,b).then(R=>R(e,n))}}},Me=class extends O{listCashLogsForTill(n,e,s,t,r,o,i,l){return qt(this.configuration).listCashLogsForTill(n,e,s,t,r,o,i,l).then(u=>u(this.axios,this.basePath))}},Jt=function(a){return{openCashSession:async(n,e,s={})=>{d("openCashSession","businessId",n),d("openCashSession","openCashSessionDto",e);let t="/api/v2/cash-management/{businessId}/sessions".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}}}},Ut=function(a){let n=Jt(a);return{async openCashSession(e,s,t){let r=await n.openCashSession(e,s,t);return h(r,P.default,p,a)}}},zo=function(a,n,e){let s=Ut(a);return{openCashSession(t,r,o){return s.openCashSession(t,r,o).then(i=>i(e,n))}}},Be=class extends O{openCashSession(n,e,s){return Ut(this.configuration).openCashSession(n,e,s).then(t=>t(this.axios,this.basePath))}},Zt=function(a){return{getChannelCatalog:async(n,e,s,t={})=>{d("getChannelCatalog","businessId",n),d("getChannelCatalog","channelType",e);let r="/api/v1/channel-menu/{businessId}/catalog".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},c={};e!==void 0&&(c.channelType=e),s!==void 0&&(c.menuId=s),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getChannelMenu:async(n,e,s,t={})=>{d("getChannelMenu","businessId",n),d("getChannelMenu","channelType",e);let r="/api/v1/channel-menu/{businessId}".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},c={};e!==void 0&&(c.channelType=e),s!==void 0&&(c.deliveryType=s),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getChannelMenuTimes:async(n,e,s={})=>{d("getChannelMenuTimes","businessId",n),d("getChannelMenuTimes","channelType",e);let t="/api/v1/channel-menu/{businessId}/menu-times".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};e!==void 0&&(u.channelType=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}}}},oe=function(a){let n=Zt(a);return{async getChannelCatalog(e,s,t,r){let o=await n.getChannelCatalog(e,s,t,r);return h(o,P.default,p,a)},async getChannelMenu(e,s,t,r){let o=await n.getChannelMenu(e,s,t,r);return h(o,P.default,p,a)},async getChannelMenuTimes(e,s,t){let r=await n.getChannelMenuTimes(e,s,t);return h(r,P.default,p,a)}}},Xo=function(a,n,e){let s=oe(a);return{getChannelCatalog(t,r,o,i){return s.getChannelCatalog(t,r,o,i).then(l=>l(e,n))},getChannelMenu(t,r,o,i){return s.getChannelMenu(t,r,o,i).then(l=>l(e,n))},getChannelMenuTimes(t,r,o){return s.getChannelMenuTimes(t,r,o).then(i=>i(e,n))}}},we=class extends O{getChannelCatalog(n,e,s,t){return oe(this.configuration).getChannelCatalog(n,e,s,t).then(r=>r(this.axios,this.basePath))}getChannelMenu(n,e,s,t){return oe(this.configuration).getChannelMenu(n,e,s,t).then(r=>r(this.axios,this.basePath))}getChannelMenuTimes(n,e,s){return oe(this.configuration).getChannelMenuTimes(n,e,s).then(t=>t(this.axios,this.basePath))}},es=function(a){return{configConfigureMunchiGiftCard:async(n,e,s,t={})=>{d("configConfigureMunchiGiftCard","businessId",n),d("configConfigureMunchiGiftCard","xAppX",e),d("configConfigureMunchiGiftCard","configureMunchiGiftCardDto",s);let r="/api/v1/config-management/business/{businessId}/config/munchi-giftcard".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},configGetProviders:async(n,e,s={})=>{d("configGetProviders","businessId",n),d("configGetProviders","xAppX",e);let t="/api/v1/config-management/business/{businessId}/providers".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),e!=null&&(l["x-app-x"]=String(e)),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},configManualSync:async(n,e,s={})=>{d("configManualSync","businessId",n),d("configManualSync","manualSyncDto",e);let t="/api/v1/config-management/business/{businessId}/sync".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},configRemovePaymentOption:async(n,e,s,t={})=>{d("configRemovePaymentOption","businessId",n),d("configRemovePaymentOption","id",e),d("configRemovePaymentOption","xAppX",s);let r="/api/v1/config-management/business/{businessId}/config/payment-options/{id}".replace("{businessId}",encodeURIComponent(String(n))).replace("{id}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"DELETE",...i,...t},u={},c={};await x(u,a),s!=null&&(u["x-app-x"]=String(s)),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},configSaveEpassiCredentials:async(n,e,s,t,r={})=>{d("configSaveEpassiCredentials","businessId",n),d("configSaveEpassiCredentials","xAppX",e),d("configSaveEpassiCredentials","xEpassiAccessKey",s),d("configSaveEpassiCredentials","saveEpassiCredentialsDto",t);let o="/api/v1/config-management/business/{businessId}/config/epassi".replace("{businessId}",encodeURIComponent(String(n))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"POST",...l,...r},c={},b={};await x(c,a),e!=null&&(c["x-app-x"]=String(e)),s!=null&&(c["X-Epassi-Access-Key"]=String(s)),c["Content-Type"]="application/json",y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},configUpsertBusiness:async(n,e,s={})=>{d("configUpsertBusiness","businessId",n),d("configUpsertBusiness","upsertBusinessDto",e);let t="/api/v1/config-management/business/{businessId}".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},configUpsertChannelConfig:async(n,e,s,t={})=>{d("configUpsertChannelConfig","businessId",n),d("configUpsertChannelConfig","xAppX",e),d("configUpsertChannelConfig","upsertConfigDto",s);let r="/api/v1/config-management/business/{businessId}/config".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},configUpsertGiftCard:async(n,e,s,t={})=>{d("configUpsertGiftCard","businessId",n),d("configUpsertGiftCard","xAppX",e),d("configUpsertGiftCard","upsertGiftCardDto",s);let r="/api/v1/config-management/business/{businessId}/config/giftcard".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},configUpsertLoyalty:async(n,e,s={})=>{d("configUpsertLoyalty","businessId",n),d("configUpsertLoyalty","upsertLoyaltyDto",e);let t="/api/v1/config-management/business/{businessId}/loyalty".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},configUpsertNets:async(n,e,s,t={})=>{d("configUpsertNets","businessId",n),d("configUpsertNets","xAppX",e),d("configUpsertNets","upsertNetsDto",s);let r="/api/v1/config-management/business/{businessId}/config/nets".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},configUpsertPaymentOptions:async(n,e,s,t={})=>{d("configUpsertPaymentOptions","businessId",n),d("configUpsertPaymentOptions","xAppX",e),d("configUpsertPaymentOptions","upsertPaymentOptionsDto",s);let r="/api/v1/config-management/business/{businessId}/config/payment-options".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},configUpsertProviders:async(n,e,s,t={})=>{d("configUpsertProviders","businessId",n),d("configUpsertProviders","xAppX",e),d("configUpsertProviders","upsertProvidersDto",s);let r="/api/v1/config-management/business/{businessId}/providers".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},configUpsertStripe:async(n,e,s,t={})=>{d("configUpsertStripe","businessId",n),d("configUpsertStripe","xAppX",e),d("configUpsertStripe","upsertStripeDto",s);let r="/api/v1/config-management/business/{businessId}/config/stripe".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},configUpsertViva:async(n,e,s,t={})=>{d("configUpsertViva","businessId",n),d("configUpsertViva","xAppX",e),d("configUpsertViva","upsertVivaDto",s);let r="/api/v1/config-management/business/{businessId}/config/viva".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}}}},M=function(a){let n=es(a);return{async configConfigureMunchiGiftCard(e,s,t,r){let o=await n.configConfigureMunchiGiftCard(e,s,t,r);return h(o,P.default,p,a)},async configGetProviders(e,s,t){let r=await n.configGetProviders(e,s,t);return h(r,P.default,p,a)},async configManualSync(e,s,t){let r=await n.configManualSync(e,s,t);return h(r,P.default,p,a)},async configRemovePaymentOption(e,s,t,r){let o=await n.configRemovePaymentOption(e,s,t,r);return h(o,P.default,p,a)},async configSaveEpassiCredentials(e,s,t,r,o){let i=await n.configSaveEpassiCredentials(e,s,t,r,o);return h(i,P.default,p,a)},async configUpsertBusiness(e,s,t){let r=await n.configUpsertBusiness(e,s,t);return h(r,P.default,p,a)},async configUpsertChannelConfig(e,s,t,r){let o=await n.configUpsertChannelConfig(e,s,t,r);return h(o,P.default,p,a)},async configUpsertGiftCard(e,s,t,r){let o=await n.configUpsertGiftCard(e,s,t,r);return h(o,P.default,p,a)},async configUpsertLoyalty(e,s,t){let r=await n.configUpsertLoyalty(e,s,t);return h(r,P.default,p,a)},async configUpsertNets(e,s,t,r){let o=await n.configUpsertNets(e,s,t,r);return h(o,P.default,p,a)},async configUpsertPaymentOptions(e,s,t,r){let o=await n.configUpsertPaymentOptions(e,s,t,r);return h(o,P.default,p,a)},async configUpsertProviders(e,s,t,r){let o=await n.configUpsertProviders(e,s,t,r);return h(o,P.default,p,a)},async configUpsertStripe(e,s,t,r){let o=await n.configUpsertStripe(e,s,t,r);return h(o,P.default,p,a)},async configUpsertViva(e,s,t,r){let o=await n.configUpsertViva(e,s,t,r);return h(o,P.default,p,a)}}},Jo=function(a,n,e){let s=M(a);return{configConfigureMunchiGiftCard(t,r,o,i){return s.configConfigureMunchiGiftCard(t,r,o,i).then(l=>l(e,n))},configGetProviders(t,r,o){return s.configGetProviders(t,r,o).then(i=>i(e,n))},configManualSync(t,r,o){return s.configManualSync(t,r,o).then(i=>i(e,n))},configRemovePaymentOption(t,r,o,i){return s.configRemovePaymentOption(t,r,o,i).then(l=>l(e,n))},configSaveEpassiCredentials(t,r,o,i,l){return s.configSaveEpassiCredentials(t,r,o,i,l).then(u=>u(e,n))},configUpsertBusiness(t,r,o){return s.configUpsertBusiness(t,r,o).then(i=>i(e,n))},configUpsertChannelConfig(t,r,o,i){return s.configUpsertChannelConfig(t,r,o,i).then(l=>l(e,n))},configUpsertGiftCard(t,r,o,i){return s.configUpsertGiftCard(t,r,o,i).then(l=>l(e,n))},configUpsertLoyalty(t,r,o){return s.configUpsertLoyalty(t,r,o).then(i=>i(e,n))},configUpsertNets(t,r,o,i){return s.configUpsertNets(t,r,o,i).then(l=>l(e,n))},configUpsertPaymentOptions(t,r,o,i){return s.configUpsertPaymentOptions(t,r,o,i).then(l=>l(e,n))},configUpsertProviders(t,r,o,i){return s.configUpsertProviders(t,r,o,i).then(l=>l(e,n))},configUpsertStripe(t,r,o,i){return s.configUpsertStripe(t,r,o,i).then(l=>l(e,n))},configUpsertViva(t,r,o,i){return s.configUpsertViva(t,r,o,i).then(l=>l(e,n))}}},Fe=class extends O{configConfigureMunchiGiftCard(n,e,s,t){return M(this.configuration).configConfigureMunchiGiftCard(n,e,s,t).then(r=>r(this.axios,this.basePath))}configGetProviders(n,e,s){return M(this.configuration).configGetProviders(n,e,s).then(t=>t(this.axios,this.basePath))}configManualSync(n,e,s){return M(this.configuration).configManualSync(n,e,s).then(t=>t(this.axios,this.basePath))}configRemovePaymentOption(n,e,s,t){return M(this.configuration).configRemovePaymentOption(n,e,s,t).then(r=>r(this.axios,this.basePath))}configSaveEpassiCredentials(n,e,s,t,r){return M(this.configuration).configSaveEpassiCredentials(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}configUpsertBusiness(n,e,s){return M(this.configuration).configUpsertBusiness(n,e,s).then(t=>t(this.axios,this.basePath))}configUpsertChannelConfig(n,e,s,t){return M(this.configuration).configUpsertChannelConfig(n,e,s,t).then(r=>r(this.axios,this.basePath))}configUpsertGiftCard(n,e,s,t){return M(this.configuration).configUpsertGiftCard(n,e,s,t).then(r=>r(this.axios,this.basePath))}configUpsertLoyalty(n,e,s){return M(this.configuration).configUpsertLoyalty(n,e,s).then(t=>t(this.axios,this.basePath))}configUpsertNets(n,e,s,t){return M(this.configuration).configUpsertNets(n,e,s,t).then(r=>r(this.axios,this.basePath))}configUpsertPaymentOptions(n,e,s,t){return M(this.configuration).configUpsertPaymentOptions(n,e,s,t).then(r=>r(this.axios,this.basePath))}configUpsertProviders(n,e,s,t){return M(this.configuration).configUpsertProviders(n,e,s,t).then(r=>r(this.axios,this.basePath))}configUpsertStripe(n,e,s,t){return M(this.configuration).configUpsertStripe(n,e,s,t).then(r=>r(this.axios,this.basePath))}configUpsertViva(n,e,s,t){return M(this.configuration).configUpsertViva(n,e,s,t).then(r=>r(this.axios,this.basePath))}},ts=function(a){return{getCourseConfig:async(n,e={})=>{d("getCourseConfig","businessId",n);let s="/api/v1/courses/{businessId}/config".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getCourses:async(n,e={})=>{d("getCourses","businessId",n);let s="/api/v1/courses/{businessId}".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}}}},he=function(a){let n=ts(a);return{async getCourseConfig(e,s){let t=await n.getCourseConfig(e,s);return h(t,P.default,p,a)},async getCourses(e,s){let t=await n.getCourses(e,s);return h(t,P.default,p,a)}}},Zo=function(a,n,e){let s=he(a);return{getCourseConfig(t,r){return s.getCourseConfig(t,r).then(o=>o(e,n))},getCourses(t,r){return s.getCourses(t,r).then(o=>o(e,n))}}},Le=class extends O{getCourseConfig(n,e){return he(this.configuration).getCourseConfig(n,e).then(s=>s(this.axios,this.basePath))}getCourses(n,e){return he(this.configuration).getCourses(n,e).then(s=>s(this.axios,this.basePath))}},ss=function(a){return{findIntent:async(n,e={})=>{d("findIntent","intentId",n);let s="/api/webhook/delivery-intent/{intentId}".replace("{intentId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},updateIntent:async(n,e,s={})=>{d("updateIntent","intentId",n),d("updateIntent","updateDeliveryIntentDto",e);let t="/api/webhook/delivery-intent/{intentId}".replace("{intentId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...s},l={},u={};l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}}}},Pe=function(a){let n=ss(a);return{async findIntent(e,s){let t=await n.findIntent(e,s);return h(t,P.default,p,a)},async updateIntent(e,s,t){let r=await n.updateIntent(e,s,t);return h(r,P.default,p,a)}}},ea=function(a,n,e){let s=Pe(a);return{findIntent(t,r){return s.findIntent(t,r).then(o=>o(e,n))},updateIntent(t,r,o){return s.updateIntent(t,r,o).then(i=>i(e,n))}}},_e=class extends O{findIntent(n,e){return Pe(this.configuration).findIntent(n,e).then(s=>s(this.axios,this.basePath))}updateIntent(n,e,s){return Pe(this.configuration).updateIntent(n,e,s).then(t=>t(this.axios,this.basePath))}},ns=function(a){return{init:async(n,e={})=>{let s="/api/v1/display/init",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},pair:async(n,e={})=>{d("pair","pairDisplayBodyDto",n);let s="/api/v1/display/pair",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},sessionToken:async(n,e={})=>{d("sessionToken","requestSessionTokenBodyDto",n);let s="/api/v1/display/session-token",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},unpair:async(n,e={})=>{d("unpair","unpairDisplayBodyDto",n);let s="/api/v1/display/unpair",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},ee=function(a){let n=ns(a);return{async init(e,s){let t=await n.init(e,s);return h(t,P.default,p,a)},async pair(e,s){let t=await n.pair(e,s);return h(t,P.default,p,a)},async sessionToken(e,s){let t=await n.sessionToken(e,s);return h(t,P.default,p,a)},async unpair(e,s){let t=await n.unpair(e,s);return h(t,P.default,p,a)}}},ta=function(a,n,e){let s=ee(a);return{init(t,r){return s.init(t,r).then(o=>o(e,n))},pair(t,r){return s.pair(t,r).then(o=>o(e,n))},sessionToken(t,r){return s.sessionToken(t,r).then(o=>o(e,n))},unpair(t,r){return s.unpair(t,r).then(o=>o(e,n))}}},Ne=class extends O{init(n,e){return ee(this.configuration).init(n,e).then(s=>s(this.axios,this.basePath))}pair(n,e){return ee(this.configuration).pair(n,e).then(s=>s(this.axios,this.basePath))}sessionToken(n,e){return ee(this.configuration).sessionToken(n,e).then(s=>s(this.axios,this.basePath))}unpair(n,e){return ee(this.configuration).unpair(n,e).then(s=>s(this.axios,this.basePath))}},rs=function(a){return{addEmployeeRole:async(n,e,s={})=>{d("addEmployeeRole","businessId",n),d("addEmployeeRole","addEmployeeRoleDto",e);let t="/api/v2/businesses/{businessId}/employee-roles".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},addStarterEmployeeRoles:async(n,e={})=>{d("addStarterEmployeeRoles","businessId",n);let s="/api/v2/businesses/{businessId}/employee-roles/starter".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},changeEmployeeRole:async(n,e,s,t={})=>{d("changeEmployeeRole","businessId",n),d("changeEmployeeRole","roleId",e),d("changeEmployeeRole","changeEmployeeRoleDto",s);let r="/api/v2/businesses/{businessId}/employee-roles/{roleId}".replace("{businessId}",encodeURIComponent(String(n))).replace("{roleId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},c={};await x(u,a),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},listEmployeeRoles:async(n,e={})=>{d("listEmployeeRoles","businessId",n);let s="/api/v2/businesses/{businessId}/employee-roles".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},removeEmployeeRole:async(n,e,s={})=>{d("removeEmployeeRole","businessId",n),d("removeEmployeeRole","roleId",e);let t="/api/v2/businesses/{businessId}/employee-roles/{roleId}".replace("{businessId}",encodeURIComponent(String(n))).replace("{roleId}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...s},l={},u={};await x(l,a),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}}}},z=function(a){let n=rs(a);return{async addEmployeeRole(e,s,t){let r=await n.addEmployeeRole(e,s,t);return h(r,P.default,p,a)},async addStarterEmployeeRoles(e,s){let t=await n.addStarterEmployeeRoles(e,s);return h(t,P.default,p,a)},async changeEmployeeRole(e,s,t,r){let o=await n.changeEmployeeRole(e,s,t,r);return h(o,P.default,p,a)},async listEmployeeRoles(e,s){let t=await n.listEmployeeRoles(e,s);return h(t,P.default,p,a)},async removeEmployeeRole(e,s,t){let r=await n.removeEmployeeRole(e,s,t);return h(r,P.default,p,a)}}},sa=function(a,n,e){let s=z(a);return{addEmployeeRole(t,r,o){return s.addEmployeeRole(t,r,o).then(i=>i(e,n))},addStarterEmployeeRoles(t,r){return s.addStarterEmployeeRoles(t,r).then(o=>o(e,n))},changeEmployeeRole(t,r,o,i){return s.changeEmployeeRole(t,r,o,i).then(l=>l(e,n))},listEmployeeRoles(t,r){return s.listEmployeeRoles(t,r).then(o=>o(e,n))},removeEmployeeRole(t,r,o){return s.removeEmployeeRole(t,r,o).then(i=>i(e,n))}}},We=class extends O{addEmployeeRole(n,e,s){return z(this.configuration).addEmployeeRole(n,e,s).then(t=>t(this.axios,this.basePath))}addStarterEmployeeRoles(n,e){return z(this.configuration).addStarterEmployeeRoles(n,e).then(s=>s(this.axios,this.basePath))}changeEmployeeRole(n,e,s,t){return z(this.configuration).changeEmployeeRole(n,e,s,t).then(r=>r(this.axios,this.basePath))}listEmployeeRoles(n,e){return z(this.configuration).listEmployeeRoles(n,e).then(s=>s(this.axios,this.basePath))}removeEmployeeRole(n,e,s){return z(this.configuration).removeEmployeeRole(n,e,s).then(t=>t(this.axios,this.basePath))}},os=function(a){return{addEmployee:async(n,e,s={})=>{d("addEmployee","businessId",n),d("addEmployee","addEmployeeDto",e);let t="/api/v2/businesses/{businessId}/employees".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},changeEmployee:async(n,e,s,t={})=>{d("changeEmployee","businessId",n),d("changeEmployee","employeeId",e),d("changeEmployee","changeEmployeeDto",s);let r="/api/v2/businesses/{businessId}/employees/{employeeId}".replace("{businessId}",encodeURIComponent(String(n))).replace("{employeeId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},c={};await x(u,a),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},listEmployees:async(n,e,s,t={})=>{d("listEmployees","businessId",n);let r="/api/v2/businesses/{businessId}/employees".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},c={};await x(u,a),e!==void 0&&(c.cursor=e),s!==void 0&&(c.limit=s),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},removeEmployeeFromVenue:async(n,e,s={})=>{d("removeEmployeeFromVenue","businessId",n),d("removeEmployeeFromVenue","employeeId",e);let t="/api/v2/businesses/{businessId}/employees/{employeeId}/role".replace("{businessId}",encodeURIComponent(String(n))).replace("{employeeId}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...s},l={},u={};await x(l,a),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},setEmployeeRole:async(n,e,s,t={})=>{d("setEmployeeRole","businessId",n),d("setEmployeeRole","employeeId",e),d("setEmployeeRole","setEmployeeRoleDto",s);let r="/api/v2/businesses/{businessId}/employees/{employeeId}/role".replace("{businessId}",encodeURIComponent(String(n))).replace("{employeeId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PUT",...i,...t},u={},c={};await x(u,a),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}}}},X=function(a){let n=os(a);return{async addEmployee(e,s,t){let r=await n.addEmployee(e,s,t);return h(r,P.default,p,a)},async changeEmployee(e,s,t,r){let o=await n.changeEmployee(e,s,t,r);return h(o,P.default,p,a)},async listEmployees(e,s,t,r){let o=await n.listEmployees(e,s,t,r);return h(o,P.default,p,a)},async removeEmployeeFromVenue(e,s,t){let r=await n.removeEmployeeFromVenue(e,s,t);return h(r,P.default,p,a)},async setEmployeeRole(e,s,t,r){let o=await n.setEmployeeRole(e,s,t,r);return h(o,P.default,p,a)}}},na=function(a,n,e){let s=X(a);return{addEmployee(t,r,o){return s.addEmployee(t,r,o).then(i=>i(e,n))},changeEmployee(t,r,o,i){return s.changeEmployee(t,r,o,i).then(l=>l(e,n))},listEmployees(t,r,o,i){return s.listEmployees(t,r,o,i).then(l=>l(e,n))},removeEmployeeFromVenue(t,r,o){return s.removeEmployeeFromVenue(t,r,o).then(i=>i(e,n))},setEmployeeRole(t,r,o,i){return s.setEmployeeRole(t,r,o,i).then(l=>l(e,n))}}},je=class extends O{addEmployee(n,e,s){return X(this.configuration).addEmployee(n,e,s).then(t=>t(this.axios,this.basePath))}changeEmployee(n,e,s,t){return X(this.configuration).changeEmployee(n,e,s,t).then(r=>r(this.axios,this.basePath))}listEmployees(n,e,s,t){return X(this.configuration).listEmployees(n,e,s,t).then(r=>r(this.axios,this.basePath))}removeEmployeeFromVenue(n,e,s){return X(this.configuration).removeEmployeeFromVenue(n,e,s).then(t=>t(this.axios,this.basePath))}setEmployeeRole(n,e,s,t){return X(this.configuration).setEmployeeRole(n,e,s,t).then(r=>r(this.axios,this.basePath))}},as=function(a){return{createDiningTable:async(n,e={})=>{d("createDiningTable","createDiningTableDto",n);let s="/api/v1/floor-plan/tables",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},createFloorSection:async(n,e={})=>{d("createFloorSection","createFloorSectionDto",n);let s="/api/v1/floor-plan/sections",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},deleteDiningTable:async(n,e,s={})=>{d("deleteDiningTable","id",n),d("deleteDiningTable","businessId",e);let t="/api/v1/floor-plan/tables/{id}".replace("{id}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...s},l={},u={};await x(l,a),e!==void 0&&(u.businessId=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},deleteFloorSection:async(n,e,s={})=>{d("deleteFloorSection","id",n),d("deleteFloorSection","businessId",e);let t="/api/v1/floor-plan/sections/{id}".replace("{id}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...s},l={},u={};await x(l,a),e!==void 0&&(u.businessId=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},dissolveTableGroup:async(n,e,s={})=>{d("dissolveTableGroup","id",n),d("dissolveTableGroup","businessId",e);let t="/api/v1/floor-plan/table-groups/{id}/dissolve".replace("{id}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),e!==void 0&&(u.businessId=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getFloorPlan:async(n,e={})=>{d("getFloorPlan","businessId",n);let s="/api/v1/floor-plan",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),n!==void 0&&(l.businessId=n),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},joinTables:async(n,e,s={})=>{d("joinTables","businessId",n),d("joinTables","joinTablesDto",e);let t="/api/v1/floor-plan/table-groups/join",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),n!==void 0&&(u.businessId=n),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},removeTableFromGroup:async(n,e,s={})=>{d("removeTableFromGroup","id",n),d("removeTableFromGroup","businessId",e);let t="/api/v1/floor-plan/tables/{id}/remove-from-group".replace("{id}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),e!==void 0&&(u.businessId=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},transferTable:async(n,e,s,t={})=>{d("transferTable","id",n),d("transferTable","businessId",e),d("transferTable","transferTableDto",s);let r="/api/v1/floor-plan/tables/{id}/transfer".replace("{id}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),e!==void 0&&(c.businessId=e),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},updateDiningTable:async(n,e,s,t={})=>{d("updateDiningTable","id",n),d("updateDiningTable","businessId",e),d("updateDiningTable","updateDiningTableDto",s);let r="/api/v1/floor-plan/tables/{id}".replace("{id}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},c={};await x(u,a),e!==void 0&&(c.businessId=e),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},updateFloorSection:async(n,e,s,t={})=>{d("updateFloorSection","id",n),d("updateFloorSection","businessId",e),d("updateFloorSection","updateFloorSectionDto",s);let r="/api/v1/floor-plan/sections/{id}".replace("{id}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},c={};await x(u,a),e!==void 0&&(c.businessId=e),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},updateTablePosition:async(n,e,s,t={})=>{d("updateTablePosition","id",n),d("updateTablePosition","businessId",e),d("updateTablePosition","updateTablePositionDto",s);let r="/api/v1/floor-plan/tables/{id}/position".replace("{id}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},c={};await x(u,a),e!==void 0&&(c.businessId=e),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},updateTableStatus:async(n,e,s,t={})=>{d("updateTableStatus","id",n),d("updateTableStatus","businessId",e),d("updateTableStatus","updateTableStatusDto",s);let r="/api/v1/floor-plan/tables/{id}/status".replace("{id}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},c={};await x(u,a),e!==void 0&&(c.businessId=e),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}}}},w=function(a){let n=as(a);return{async createDiningTable(e,s){let t=await n.createDiningTable(e,s);return h(t,P.default,p,a)},async createFloorSection(e,s){let t=await n.createFloorSection(e,s);return h(t,P.default,p,a)},async deleteDiningTable(e,s,t){let r=await n.deleteDiningTable(e,s,t);return h(r,P.default,p,a)},async deleteFloorSection(e,s,t){let r=await n.deleteFloorSection(e,s,t);return h(r,P.default,p,a)},async dissolveTableGroup(e,s,t){let r=await n.dissolveTableGroup(e,s,t);return h(r,P.default,p,a)},async getFloorPlan(e,s){let t=await n.getFloorPlan(e,s);return h(t,P.default,p,a)},async joinTables(e,s,t){let r=await n.joinTables(e,s,t);return h(r,P.default,p,a)},async removeTableFromGroup(e,s,t){let r=await n.removeTableFromGroup(e,s,t);return h(r,P.default,p,a)},async transferTable(e,s,t,r){let o=await n.transferTable(e,s,t,r);return h(o,P.default,p,a)},async updateDiningTable(e,s,t,r){let o=await n.updateDiningTable(e,s,t,r);return h(o,P.default,p,a)},async updateFloorSection(e,s,t,r){let o=await n.updateFloorSection(e,s,t,r);return h(o,P.default,p,a)},async updateTablePosition(e,s,t,r){let o=await n.updateTablePosition(e,s,t,r);return h(o,P.default,p,a)},async updateTableStatus(e,s,t,r){let o=await n.updateTableStatus(e,s,t,r);return h(o,P.default,p,a)}}},ra=function(a,n,e){let s=w(a);return{createDiningTable(t,r){return s.createDiningTable(t,r).then(o=>o(e,n))},createFloorSection(t,r){return s.createFloorSection(t,r).then(o=>o(e,n))},deleteDiningTable(t,r,o){return s.deleteDiningTable(t,r,o).then(i=>i(e,n))},deleteFloorSection(t,r,o){return s.deleteFloorSection(t,r,o).then(i=>i(e,n))},dissolveTableGroup(t,r,o){return s.dissolveTableGroup(t,r,o).then(i=>i(e,n))},getFloorPlan(t,r){return s.getFloorPlan(t,r).then(o=>o(e,n))},joinTables(t,r,o){return s.joinTables(t,r,o).then(i=>i(e,n))},removeTableFromGroup(t,r,o){return s.removeTableFromGroup(t,r,o).then(i=>i(e,n))},transferTable(t,r,o,i){return s.transferTable(t,r,o,i).then(l=>l(e,n))},updateDiningTable(t,r,o,i){return s.updateDiningTable(t,r,o,i).then(l=>l(e,n))},updateFloorSection(t,r,o,i){return s.updateFloorSection(t,r,o,i).then(l=>l(e,n))},updateTablePosition(t,r,o,i){return s.updateTablePosition(t,r,o,i).then(l=>l(e,n))},updateTableStatus(t,r,o,i){return s.updateTableStatus(t,r,o,i).then(l=>l(e,n))}}},Ke=class extends O{createDiningTable(n,e){return w(this.configuration).createDiningTable(n,e).then(s=>s(this.axios,this.basePath))}createFloorSection(n,e){return w(this.configuration).createFloorSection(n,e).then(s=>s(this.axios,this.basePath))}deleteDiningTable(n,e,s){return w(this.configuration).deleteDiningTable(n,e,s).then(t=>t(this.axios,this.basePath))}deleteFloorSection(n,e,s){return w(this.configuration).deleteFloorSection(n,e,s).then(t=>t(this.axios,this.basePath))}dissolveTableGroup(n,e,s){return w(this.configuration).dissolveTableGroup(n,e,s).then(t=>t(this.axios,this.basePath))}getFloorPlan(n,e){return w(this.configuration).getFloorPlan(n,e).then(s=>s(this.axios,this.basePath))}joinTables(n,e,s){return w(this.configuration).joinTables(n,e,s).then(t=>t(this.axios,this.basePath))}removeTableFromGroup(n,e,s){return w(this.configuration).removeTableFromGroup(n,e,s).then(t=>t(this.axios,this.basePath))}transferTable(n,e,s,t){return w(this.configuration).transferTable(n,e,s,t).then(r=>r(this.axios,this.basePath))}updateDiningTable(n,e,s,t){return w(this.configuration).updateDiningTable(n,e,s,t).then(r=>r(this.axios,this.basePath))}updateFloorSection(n,e,s,t){return w(this.configuration).updateFloorSection(n,e,s,t).then(r=>r(this.axios,this.basePath))}updateTablePosition(n,e,s,t){return w(this.configuration).updateTablePosition(n,e,s,t).then(r=>r(this.axios,this.basePath))}updateTableStatus(n,e,s,t){return w(this.configuration).updateTableStatus(n,e,s,t).then(r=>r(this.axios,this.basePath))}},is=function(a){return{redeemGiftCard:async(n,e={})=>{d("redeemGiftCard","redeemGiftCardDto",n);let s="/api/v1/giftcard/redeem",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},validateGiftCard:async(n,e={})=>{d("validateGiftCard","validateGiftCardDto",n);let s="/api/v1/giftcard/validate",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},be=function(a){let n=is(a);return{async redeemGiftCard(e,s){let t=await n.redeemGiftCard(e,s);return h(t,P.default,p,a)},async validateGiftCard(e,s){let t=await n.validateGiftCard(e,s);return h(t,P.default,p,a)}}},oa=function(a,n,e){let s=be(a);return{redeemGiftCard(t,r){return s.redeemGiftCard(t,r).then(o=>o(e,n))},validateGiftCard(t,r){return s.validateGiftCard(t,r).then(o=>o(e,n))}}},Ge=class extends O{redeemGiftCard(n,e){return be(this.configuration).redeemGiftCard(n,e).then(s=>s(this.axios,this.basePath))}validateGiftCard(n,e){return be(this.configuration).validateGiftCard(n,e).then(s=>s(this.axios,this.basePath))}},ls=function(a){return{getOrderHistoryPOSV5:async(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S={})=>{d("getOrderHistoryPOSV5","businessIds",n);let I="/api/v5/history/orders/pos",v=new URL(I,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...S},B={},C={};await x(B,a),e!==void 0&&(C.timeSpan=e),s!==void 0&&(C.start=s),t!==void 0&&(C.end=t),n&&(C.businessIds=n),r!==void 0&&(C.page=r),o!==void 0&&(C.rowPerPage=o),i&&(C.provider=i),l&&(C.paymentType=l),u&&(C.orderStatus=u),c&&(C.paymentStatus=c),b&&(C.orderType=b),R&&(C.paymentTypePos=R),D!==void 0&&(C.invoiceCompanyId=D),f!==void 0&&(C.timezone=f),y(v,C);let j=V&&V.headers?V.headers:{};return T.headers={...B,...j,...S.headers},{url:g(v),options:T}},getOrderHistoryPOSV5Internal:async(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S={})=>{d("getOrderHistoryPOSV5Internal","businessIds",n);let I="/api/v5/history/internal/orders/pos",v=new URL(I,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...S},B={},C={};await x(B,a),e!==void 0&&(C.timeSpan=e),s!==void 0&&(C.start=s),t!==void 0&&(C.end=t),n&&(C.businessIds=n),r!==void 0&&(C.page=r),o!==void 0&&(C.rowPerPage=o),i&&(C.provider=i),l&&(C.paymentType=l),u&&(C.orderStatus=u),c&&(C.paymentStatus=c),b&&(C.orderType=b),R&&(C.paymentTypePos=R),D!==void 0&&(C.invoiceCompanyId=D),f!==void 0&&(C.timezone=f),y(v,C);let j=V&&V.headers?V.headers:{};return T.headers={...B,...j,...S.headers},{url:g(v),options:T}}}},Ae=function(a){let n=ls(a);return{async getOrderHistoryPOSV5(e,s,t,r,o,i,l,u,c,b,R,D,f,S,I){let v=await n.getOrderHistoryPOSV5(e,s,t,r,o,i,l,u,c,b,R,D,f,S,I);return h(v,P.default,p,a)},async getOrderHistoryPOSV5Internal(e,s,t,r,o,i,l,u,c,b,R,D,f,S,I){let v=await n.getOrderHistoryPOSV5Internal(e,s,t,r,o,i,l,u,c,b,R,D,f,S,I);return h(v,P.default,p,a)}}},aa=function(a,n,e){let s=Ae(a);return{getOrderHistoryPOSV5(t,r,o,i,l,u,c,b,R,D,f,S,I,v,V){return s.getOrderHistoryPOSV5(t,r,o,i,l,u,c,b,R,D,f,S,I,v,V).then(T=>T(e,n))},getOrderHistoryPOSV5Internal(t,r,o,i,l,u,c,b,R,D,f,S,I,v,V){return s.getOrderHistoryPOSV5Internal(t,r,o,i,l,u,c,b,R,D,f,S,I,v,V).then(T=>T(e,n))}}},He=class extends O{getOrderHistoryPOSV5(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S){return Ae(this.configuration).getOrderHistoryPOSV5(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S).then(I=>I(this.axios,this.basePath))}getOrderHistoryPOSV5Internal(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S){return Ae(this.configuration).getOrderHistoryPOSV5Internal(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S).then(I=>I(this.axios,this.basePath))}},us=function(a){return{listOnlineOrderHistoryForServices:async(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S={})=>{d("listOnlineOrderHistoryForServices","businessIds",n);let I="/api/v6/history/internal/orders",v=new URL(I,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...S},B={},C={};e!==void 0&&(C.timeSpan=e),s!==void 0&&(C.start=s),t!==void 0&&(C.end=t),n&&(C.businessIds=n),r!==void 0&&(C.page=r),o!==void 0&&(C.rowPerPage=o),i&&(C.provider=i),l&&(C.paymentType=l),u&&(C.orderStatus=u),c&&(C.paymentStatus=c),b&&(C.orderType=b),R&&(C.paymentTypePos=R),D!==void 0&&(C.invoiceCompanyId=D),f!==void 0&&(C.timezone=f),y(v,C);let j=V&&V.headers?V.headers:{};return T.headers={...B,...j,...S.headers},{url:g(v),options:T}},listOnlineOrderHistoryForTill:async(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S={})=>{d("listOnlineOrderHistoryForTill","businessIds",n);let I="/api/v6/history/orders",v=new URL(I,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...S},B={},C={};await x(B,a),e!==void 0&&(C.timeSpan=e),s!==void 0&&(C.start=s),t!==void 0&&(C.end=t),n&&(C.businessIds=n),r!==void 0&&(C.page=r),o!==void 0&&(C.rowPerPage=o),i&&(C.provider=i),l&&(C.paymentType=l),u&&(C.orderStatus=u),c&&(C.paymentStatus=c),b&&(C.orderType=b),R&&(C.paymentTypePos=R),D!==void 0&&(C.invoiceCompanyId=D),f!==void 0&&(C.timezone=f),y(v,C);let j=V&&V.headers?V.headers:{};return T.headers={...B,...j,...S.headers},{url:g(v),options:T}},listOrderHistoryForTill:async(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S={})=>{d("listOrderHistoryForTill","businessIds",n);let I="/api/v6/history/orders/pos",v=new URL(I,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...S},B={},C={};await x(B,a),e!==void 0&&(C.timeSpan=e),s!==void 0&&(C.start=s),t!==void 0&&(C.end=t),n&&(C.businessIds=n),r!==void 0&&(C.page=r),o!==void 0&&(C.rowPerPage=o),i&&(C.provider=i),l&&(C.paymentType=l),u&&(C.orderStatus=u),c&&(C.paymentStatus=c),b&&(C.orderType=b),R&&(C.paymentTypePos=R),D!==void 0&&(C.invoiceCompanyId=D),f!==void 0&&(C.timezone=f),y(v,C);let j=V&&V.headers?V.headers:{};return T.headers={...B,...j,...S.headers},{url:g(v),options:T}}}},ae=function(a){let n=us(a);return{async listOnlineOrderHistoryForServices(e,s,t,r,o,i,l,u,c,b,R,D,f,S,I){let v=await n.listOnlineOrderHistoryForServices(e,s,t,r,o,i,l,u,c,b,R,D,f,S,I);return h(v,P.default,p,a)},async listOnlineOrderHistoryForTill(e,s,t,r,o,i,l,u,c,b,R,D,f,S,I){let v=await n.listOnlineOrderHistoryForTill(e,s,t,r,o,i,l,u,c,b,R,D,f,S,I);return h(v,P.default,p,a)},async listOrderHistoryForTill(e,s,t,r,o,i,l,u,c,b,R,D,f,S,I){let v=await n.listOrderHistoryForTill(e,s,t,r,o,i,l,u,c,b,R,D,f,S,I);return h(v,P.default,p,a)}}},ia=function(a,n,e){let s=ae(a);return{listOnlineOrderHistoryForServices(t,r,o,i,l,u,c,b,R,D,f,S,I,v,V){return s.listOnlineOrderHistoryForServices(t,r,o,i,l,u,c,b,R,D,f,S,I,v,V).then(T=>T(e,n))},listOnlineOrderHistoryForTill(t,r,o,i,l,u,c,b,R,D,f,S,I,v,V){return s.listOnlineOrderHistoryForTill(t,r,o,i,l,u,c,b,R,D,f,S,I,v,V).then(T=>T(e,n))},listOrderHistoryForTill(t,r,o,i,l,u,c,b,R,D,f,S,I,v,V){return s.listOrderHistoryForTill(t,r,o,i,l,u,c,b,R,D,f,S,I,v,V).then(T=>T(e,n))}}},Qe=class extends O{listOnlineOrderHistoryForServices(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S){return ae(this.configuration).listOnlineOrderHistoryForServices(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S).then(I=>I(this.axios,this.basePath))}listOnlineOrderHistoryForTill(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S){return ae(this.configuration).listOnlineOrderHistoryForTill(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S).then(I=>I(this.axios,this.basePath))}listOrderHistoryForTill(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S){return ae(this.configuration).listOrderHistoryForTill(n,e,s,t,r,o,i,l,u,c,b,R,D,f,S).then(I=>I(this.axios,this.basePath))}},ds=function(a){return{createInvoiceCompany:async(n,e={})=>{d("createInvoiceCompany","createInvoiceCompanyDto",n);let s="/api/v1/invoice-companies",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},deleteInvoiceCompany:async(n,e,s={})=>{d("deleteInvoiceCompany","id",n),d("deleteInvoiceCompany","businessId",e);let t="/api/v1/invoice-companies/{id}".replace("{id}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...s},l={},u={};await x(l,a),e!==void 0&&(u.businessId=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getInvoiceCompanies:async(n,e={})=>{d("getInvoiceCompanies","businessId",n);let s="/api/v1/invoice-companies",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),n!==void 0&&(l.businessId=n),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getInvoiceCompanyById:async(n,e,s={})=>{d("getInvoiceCompanyById","id",n),d("getInvoiceCompanyById","businessId",e);let t="/api/v1/invoice-companies/{id}".replace("{id}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),e!==void 0&&(u.businessId=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},searchInvoiceCompanies:async(n,e,s={})=>{d("searchInvoiceCompanies","businessId",n);let t="/api/v1/invoice-companies/search",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),n!==void 0&&(u.businessId=n),e!==void 0&&(u.search=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},updateInvoiceCompany:async(n,e,s,t={})=>{d("updateInvoiceCompany","id",n),d("updateInvoiceCompany","businessId",e),d("updateInvoiceCompany","updateInvoiceCompanyDto",s);let r="/api/v1/invoice-companies/{id}".replace("{id}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},c={};await x(u,a),e!==void 0&&(c.businessId=e),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}}}},$=function(a){let n=ds(a);return{async createInvoiceCompany(e,s){let t=await n.createInvoiceCompany(e,s);return h(t,P.default,p,a)},async deleteInvoiceCompany(e,s,t){let r=await n.deleteInvoiceCompany(e,s,t);return h(r,P.default,p,a)},async getInvoiceCompanies(e,s){let t=await n.getInvoiceCompanies(e,s);return h(t,P.default,p,a)},async getInvoiceCompanyById(e,s,t){let r=await n.getInvoiceCompanyById(e,s,t);return h(r,P.default,p,a)},async searchInvoiceCompanies(e,s,t){let r=await n.searchInvoiceCompanies(e,s,t);return h(r,P.default,p,a)},async updateInvoiceCompany(e,s,t,r){let o=await n.updateInvoiceCompany(e,s,t,r);return h(o,P.default,p,a)}}},la=function(a,n,e){let s=$(a);return{createInvoiceCompany(t,r){return s.createInvoiceCompany(t,r).then(o=>o(e,n))},deleteInvoiceCompany(t,r,o){return s.deleteInvoiceCompany(t,r,o).then(i=>i(e,n))},getInvoiceCompanies(t,r){return s.getInvoiceCompanies(t,r).then(o=>o(e,n))},getInvoiceCompanyById(t,r,o){return s.getInvoiceCompanyById(t,r,o).then(i=>i(e,n))},searchInvoiceCompanies(t,r,o){return s.searchInvoiceCompanies(t,r,o).then(i=>i(e,n))},updateInvoiceCompany(t,r,o,i){return s.updateInvoiceCompany(t,r,o,i).then(l=>l(e,n))}}},$e=class extends O{createInvoiceCompany(n,e){return $(this.configuration).createInvoiceCompany(n,e).then(s=>s(this.axios,this.basePath))}deleteInvoiceCompany(n,e,s){return $(this.configuration).deleteInvoiceCompany(n,e,s).then(t=>t(this.axios,this.basePath))}getInvoiceCompanies(n,e){return $(this.configuration).getInvoiceCompanies(n,e).then(s=>s(this.axios,this.basePath))}getInvoiceCompanyById(n,e,s){return $(this.configuration).getInvoiceCompanyById(n,e,s).then(t=>t(this.axios,this.basePath))}searchInvoiceCompanies(n,e,s){return $(this.configuration).searchInvoiceCompanies(n,e,s).then(t=>t(this.axios,this.basePath))}updateInvoiceCompany(n,e,s,t){return $(this.configuration).updateInvoiceCompany(n,e,s,t).then(r=>r(this.axios,this.basePath))}},cs=function(a){return{kdsGetOrders:async(n,e,s,t,r,o,i,l,u,c,b,R={})=>{d("kdsGetOrders","status",n),d("kdsGetOrders","businessIds",e),d("kdsGetOrders","profileId",s);let D="/api/v1/kds/orders/{status}".replace("{status}",encodeURIComponent(String(n))),f=new URL(D,m),S;a&&(S=a.baseOptions);let I={method:"GET",...S,...R},v={},V={};await x(v,a),e!==void 0&&(V.businessIds=e),s!==void 0&&(V.profileId=s),t!==void 0&&(V.page=t),r!==void 0&&(V.rowPerPage=r),o!==void 0&&(V.timeSpan=o),i!==void 0&&(V.start=i),l!==void 0&&(V.end=l),u!==void 0&&(V.timezone=u),c&&(V.provider=c),b&&(V.consumptionType=b),y(f,V);let T=S&&S.headers?S.headers:{};return I.headers={...v,...T,...R.headers},{url:g(f),options:I}},kdsGetProfiles:async(n,e={})=>{d("kdsGetProfiles","businessId",n);let s="/api/v1/kds/profiles",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),n!==void 0&&(l.businessId=n),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},kdsMarkOrderReady:async(n,e={})=>{d("kdsMarkOrderReady","id",n);let s="/api/v1/kds/orders/{id}/ready".replace("{id}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"PATCH",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},kdsMarkOrdersReady:async(n,e={})=>{d("kdsMarkOrdersReady","kdsMarkOrdersReadyDto",n);let s="/api/v1/kds/orders/ready",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},kdsRevertOrder:async(n,e={})=>{d("kdsRevertOrder","id",n);let s="/api/v1/kds/orders/{id}/revert".replace("{id}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"PATCH",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}}}},J=function(a){let n=cs(a);return{async kdsGetOrders(e,s,t,r,o,i,l,u,c,b,R,D){let f=await n.kdsGetOrders(e,s,t,r,o,i,l,u,c,b,R,D);return h(f,P.default,p,a)},async kdsGetProfiles(e,s){let t=await n.kdsGetProfiles(e,s);return h(t,P.default,p,a)},async kdsMarkOrderReady(e,s){let t=await n.kdsMarkOrderReady(e,s);return h(t,P.default,p,a)},async kdsMarkOrdersReady(e,s){let t=await n.kdsMarkOrdersReady(e,s);return h(t,P.default,p,a)},async kdsRevertOrder(e,s){let t=await n.kdsRevertOrder(e,s);return h(t,P.default,p,a)}}},ua=function(a,n,e){let s=J(a);return{kdsGetOrders(t,r,o,i,l,u,c,b,R,D,f,S){return s.kdsGetOrders(t,r,o,i,l,u,c,b,R,D,f,S).then(I=>I(e,n))},kdsGetProfiles(t,r){return s.kdsGetProfiles(t,r).then(o=>o(e,n))},kdsMarkOrderReady(t,r){return s.kdsMarkOrderReady(t,r).then(o=>o(e,n))},kdsMarkOrdersReady(t,r){return s.kdsMarkOrdersReady(t,r).then(o=>o(e,n))},kdsRevertOrder(t,r){return s.kdsRevertOrder(t,r).then(o=>o(e,n))}}},Ye=class extends O{kdsGetOrders(n,e,s,t,r,o,i,l,u,c,b,R){return J(this.configuration).kdsGetOrders(n,e,s,t,r,o,i,l,u,c,b,R).then(D=>D(this.axios,this.basePath))}kdsGetProfiles(n,e){return J(this.configuration).kdsGetProfiles(n,e).then(s=>s(this.axios,this.basePath))}kdsMarkOrderReady(n,e){return J(this.configuration).kdsMarkOrderReady(n,e).then(s=>s(this.axios,this.basePath))}kdsMarkOrdersReady(n,e){return J(this.configuration).kdsMarkOrdersReady(n,e).then(s=>s(this.axios,this.basePath))}kdsRevertOrder(n,e){return J(this.configuration).kdsRevertOrder(n,e).then(s=>s(this.axios,this.basePath))}},ps=function(a){return{getKioskOrder:async(n,e,s={})=>{d("getKioskOrder","orderId",n),d("getKioskOrder","businessId",e);let t="/api/v1/kiosk/orders/{orderId}/{businessId}".replace("{orderId}",encodeURIComponent(String(n))).replace("{businessId}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={};y(r,{});let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},syncKioskOrder:async(n,e={})=>{d("syncKioskOrder","syncKioskOrderDto",n);let s="/api/v1/kiosk/orders/sync",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},Re=function(a){let n=ps(a);return{async getKioskOrder(e,s,t){let r=await n.getKioskOrder(e,s,t);return h(r,P.default,p,a)},async syncKioskOrder(e,s){let t=await n.syncKioskOrder(e,s);return h(t,P.default,p,a)}}},da=function(a,n,e){let s=Re(a);return{getKioskOrder(t,r,o){return s.getKioskOrder(t,r,o).then(i=>i(e,n))},syncKioskOrder(t,r){return s.syncKioskOrder(t,r).then(o=>o(e,n))}}},ze=class extends O{getKioskOrder(n,e,s){return Re(this.configuration).getKioskOrder(n,e,s).then(t=>t(this.axios,this.basePath))}syncKioskOrder(n,e){return Re(this.configuration).syncKioskOrder(n,e).then(s=>s(this.axios,this.basePath))}},ms=function(a){return{restoreRedemption:async(n,e={})=>{d("restoreRedemption","restoreLoyaltyRedemptionDto",n);let s="/api/v1/loyalty-commerce/redemptions/restore",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},kt=function(a){let n=ms(a);return{async restoreRedemption(e,s){let t=await n.restoreRedemption(e,s);return h(t,P.default,p,a)}}},ca=function(a,n,e){let s=kt(a);return{restoreRedemption(t,r){return s.restoreRedemption(t,r).then(o=>o(e,n))}}},Xe=class extends O{restoreRedemption(n,e){return kt(this.configuration).restoreRedemption(n,e).then(s=>s(this.axios,this.basePath))}},ys=function(a){return{claimKioskOffer:async(n,e={})=>{d("claimKioskOffer","claimKioskOfferDto",n);let s="/api/v1/loyalty/users/claim",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},createLoyaltyUser:async(n,e,s={})=>{d("createLoyaltyUser","businessId",n),d("createLoyaltyUser","createLoyaltyProgramUserDto",e);let t="/api/v1/loyalty/users/create",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),n!==void 0&&(u.businessId=n),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},getAdminTransactions:async(n,e,s,t={})=>{d("getAdminTransactions","businessId",n);let r="/api/v1/loyalty/admin/transactions",o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},c={};await x(u,a),n!==void 0&&(c.businessId=n),e!==void 0&&(c.page=e),s!==void 0&&(c.limit=s),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getLoyaltyInfo:async(n,e={})=>{d("getLoyaltyInfo","businessId",n);let s="/api/v1/loyalty/info",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),n!==void 0&&(l.businessId=n),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getUserById:async(n,e,s={})=>{d("getUserById","businessId",n),d("getUserById","userId",e);let t="/api/v1/loyalty/users/info",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),n!==void 0&&(u.businessId=n),e!==void 0&&(u.userId=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getWalletRewards:async(n,e,s={})=>{d("getWalletRewards","businessId",n),d("getWalletRewards","userId",e);let t="/api/v1/loyalty/users/wallet-rewards",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),n!==void 0&&(u.businessId=n),e!==void 0&&(u.userId=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},memberContext:async(n,e={})=>{d("memberContext","loyaltyMemberContextRequestDto",n);let s="/api/v1/loyalty/member-context",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},resolvePerks:async(n,e={})=>{d("resolvePerks","loyaltyResolveRequestDto",n);let s="/api/v1/loyalty/resolve",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},searchUser:async(n,e,s,t,r={})=>{d("searchUser","businessId",n);let o="/api/v1/loyalty/users/search",i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"GET",...l,...r},c={},b={};await x(c,a),e!==void 0&&(b.phone=e),s!==void 0&&(b.country_code=s),t!==void 0&&(b.email=t),n!==void 0&&(b.businessId=n),y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},{url:g(i),options:u}},updatePoints:async(n,e,s={})=>{d("updatePoints","businessId",n),d("updatePoints","pointsUpdatePayloadDto",e);let t="/api/v1/loyalty/update-user-points",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),n!==void 0&&(u.businessId=n),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},validateWallet:async(n,e,s,t={})=>{d("validateWallet","businessId",n),d("validateWallet","loyaltyId",e),d("validateWallet","walletId",s);let r="/api/v1/loyalty/wallets/validate",o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},c={};await x(u,a),n!==void 0&&(c.businessId=n),e!==void 0&&(c.loyaltyId=e),s!==void 0&&(c.walletId=s),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}}}},F=function(a){let n=ys(a);return{async claimKioskOffer(e,s){let t=await n.claimKioskOffer(e,s);return h(t,P.default,p,a)},async createLoyaltyUser(e,s,t){let r=await n.createLoyaltyUser(e,s,t);return h(r,P.default,p,a)},async getAdminTransactions(e,s,t,r){let o=await n.getAdminTransactions(e,s,t,r);return h(o,P.default,p,a)},async getLoyaltyInfo(e,s){let t=await n.getLoyaltyInfo(e,s);return h(t,P.default,p,a)},async getUserById(e,s,t){let r=await n.getUserById(e,s,t);return h(r,P.default,p,a)},async getWalletRewards(e,s,t){let r=await n.getWalletRewards(e,s,t);return h(r,P.default,p,a)},async memberContext(e,s){let t=await n.memberContext(e,s);return h(t,P.default,p,a)},async resolvePerks(e,s){let t=await n.resolvePerks(e,s);return h(t,P.default,p,a)},async searchUser(e,s,t,r,o){let i=await n.searchUser(e,s,t,r,o);return h(i,P.default,p,a)},async updatePoints(e,s,t){let r=await n.updatePoints(e,s,t);return h(r,P.default,p,a)},async validateWallet(e,s,t,r){let o=await n.validateWallet(e,s,t,r);return h(o,P.default,p,a)}}},pa=function(a,n,e){let s=F(a);return{claimKioskOffer(t,r){return s.claimKioskOffer(t,r).then(o=>o(e,n))},createLoyaltyUser(t,r,o){return s.createLoyaltyUser(t,r,o).then(i=>i(e,n))},getAdminTransactions(t,r,o,i){return s.getAdminTransactions(t,r,o,i).then(l=>l(e,n))},getLoyaltyInfo(t,r){return s.getLoyaltyInfo(t,r).then(o=>o(e,n))},getUserById(t,r,o){return s.getUserById(t,r,o).then(i=>i(e,n))},getWalletRewards(t,r,o){return s.getWalletRewards(t,r,o).then(i=>i(e,n))},memberContext(t,r){return s.memberContext(t,r).then(o=>o(e,n))},resolvePerks(t,r){return s.resolvePerks(t,r).then(o=>o(e,n))},searchUser(t,r,o,i,l){return s.searchUser(t,r,o,i,l).then(u=>u(e,n))},updatePoints(t,r,o){return s.updatePoints(t,r,o).then(i=>i(e,n))},validateWallet(t,r,o,i){return s.validateWallet(t,r,o,i).then(l=>l(e,n))}}},Je=class extends O{claimKioskOffer(n,e){return F(this.configuration).claimKioskOffer(n,e).then(s=>s(this.axios,this.basePath))}createLoyaltyUser(n,e,s){return F(this.configuration).createLoyaltyUser(n,e,s).then(t=>t(this.axios,this.basePath))}getAdminTransactions(n,e,s,t){return F(this.configuration).getAdminTransactions(n,e,s,t).then(r=>r(this.axios,this.basePath))}getLoyaltyInfo(n,e){return F(this.configuration).getLoyaltyInfo(n,e).then(s=>s(this.axios,this.basePath))}getUserById(n,e,s){return F(this.configuration).getUserById(n,e,s).then(t=>t(this.axios,this.basePath))}getWalletRewards(n,e,s){return F(this.configuration).getWalletRewards(n,e,s).then(t=>t(this.axios,this.basePath))}memberContext(n,e){return F(this.configuration).memberContext(n,e).then(s=>s(this.axios,this.basePath))}resolvePerks(n,e){return F(this.configuration).resolvePerks(n,e).then(s=>s(this.axios,this.basePath))}searchUser(n,e,s,t,r){return F(this.configuration).searchUser(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}updatePoints(n,e,s){return F(this.configuration).updatePoints(n,e,s).then(t=>t(this.axios,this.basePath))}validateWallet(n,e,s,t){return F(this.configuration).validateWallet(n,e,s,t).then(r=>r(this.axios,this.basePath))}},gs=function(a){return{refuseSessionEnd:async(n={})=>{let e="/api/v1/mcp",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"DELETE",...t,...n},o={},i={};await x(o,a),y(s,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},refuseStream:async(n={})=>{let e="/api/v1/mcp",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...n},o={},i={};await x(o,a),y(s,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},serveMcpRequest:async(n,e={})=>{d("serveMcpRequest","body",n);let s="/api/v1/mcp",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},ie=function(a){let n=gs(a);return{async refuseSessionEnd(e){let s=await n.refuseSessionEnd(e);return h(s,P.default,p,a)},async refuseStream(e){let s=await n.refuseStream(e);return h(s,P.default,p,a)},async serveMcpRequest(e,s){let t=await n.serveMcpRequest(e,s);return h(t,P.default,p,a)}}},ma=function(a,n,e){let s=ie(a);return{refuseSessionEnd(t){return s.refuseSessionEnd(t).then(r=>r(e,n))},refuseStream(t){return s.refuseStream(t).then(r=>r(e,n))},serveMcpRequest(t,r){return s.serveMcpRequest(t,r).then(o=>o(e,n))}}},Ze=class extends O{refuseSessionEnd(n){return ie(this.configuration).refuseSessionEnd(n).then(e=>e(this.axios,this.basePath))}refuseStream(n){return ie(this.configuration).refuseStream(n).then(e=>e(this.axios,this.basePath))}serveMcpRequest(n,e){return ie(this.configuration).serveMcpRequest(n,e).then(s=>s(this.axios,this.basePath))}},hs=function(a){return{editBusinessProductV2:async(n,e,s={})=>{d("editBusinessProductV2","businessId",n),d("editBusinessProductV2","menuProductDtoV2",e);let t="/api/v2/menu/{businessId}/product".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...s},l={},u={};l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},resetProductEod:async(n,e={})=>{d("resetProductEod","resetEodDto",n);let s="/api/v1/menu/availability/reset-eod",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},xe=function(a){let n=hs(a);return{async editBusinessProductV2(e,s,t){let r=await n.editBusinessProductV2(e,s,t);return h(r,P.default,p,a)},async resetProductEod(e,s){let t=await n.resetProductEod(e,s);return h(t,P.default,p,a)}}},ya=function(a,n,e){let s=xe(a);return{editBusinessProductV2(t,r,o){return s.editBusinessProductV2(t,r,o).then(i=>i(e,n))},resetProductEod(t,r){return s.resetProductEod(t,r).then(o=>o(e,n))}}},et=class extends O{editBusinessProductV2(n,e,s){return xe(this.configuration).editBusinessProductV2(n,e,s).then(t=>t(this.axios,this.basePath))}resetProductEod(n,e){return xe(this.configuration).resetProductEod(n,e).then(s=>s(this.axios,this.basePath))}},Ps=function(a){return{createMunchiGiftCard:async(n,e={})=>{d("createMunchiGiftCard","createMunchiGiftCardDto",n);let s="/api/v1/munchi-giftcard/create",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},getMunchiGiftCardData:async(n,e={})=>{d("getMunchiGiftCardData","getMunchiGiftCardDataDto",n);let s="/api/v1/munchi-giftcard/data",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},redeemMunchiGiftCard:async(n,e={})=>{d("redeemMunchiGiftCard","redeemGiftCardDto",n);let s="/api/v1/munchi-giftcard/redeem",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},validateMunchiGiftCard:async(n,e={})=>{d("validateMunchiGiftCard","validateGiftCardDto",n);let s="/api/v1/munchi-giftcard/validate",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},te=function(a){let n=Ps(a);return{async createMunchiGiftCard(e,s){let t=await n.createMunchiGiftCard(e,s);return h(t,P.default,p,a)},async getMunchiGiftCardData(e,s){let t=await n.getMunchiGiftCardData(e,s);return h(t,P.default,p,a)},async redeemMunchiGiftCard(e,s){let t=await n.redeemMunchiGiftCard(e,s);return h(t,P.default,p,a)},async validateMunchiGiftCard(e,s){let t=await n.validateMunchiGiftCard(e,s);return h(t,P.default,p,a)}}},ga=function(a,n,e){let s=te(a);return{createMunchiGiftCard(t,r){return s.createMunchiGiftCard(t,r).then(o=>o(e,n))},getMunchiGiftCardData(t,r){return s.getMunchiGiftCardData(t,r).then(o=>o(e,n))},redeemMunchiGiftCard(t,r){return s.redeemMunchiGiftCard(t,r).then(o=>o(e,n))},validateMunchiGiftCard(t,r){return s.validateMunchiGiftCard(t,r).then(o=>o(e,n))}}},tt=class extends O{createMunchiGiftCard(n,e){return te(this.configuration).createMunchiGiftCard(n,e).then(s=>s(this.axios,this.basePath))}getMunchiGiftCardData(n,e){return te(this.configuration).getMunchiGiftCardData(n,e).then(s=>s(this.axios,this.basePath))}redeemMunchiGiftCard(n,e){return te(this.configuration).redeemMunchiGiftCard(n,e).then(s=>s(this.axios,this.basePath))}validateMunchiGiftCard(n,e){return te(this.configuration).validateMunchiGiftCard(n,e).then(s=>s(this.axios,this.basePath))}},bs=function(a){return{addVenueSubscriptionsV2:async(n,e={})=>{d("addVenueSubscriptionsV2","deviceSubscriptionDto",n);let s="/api/v2/notification/add-venue-subscriptions",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},removeVenueSubscriptionsV2:async(n,e={})=>{d("removeVenueSubscriptionsV2","deviceSubscriptionDto",n);let s="/api/v2/notification/remove-venue-subscriptions",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},fe=function(a){let n=bs(a);return{async addVenueSubscriptionsV2(e,s){let t=await n.addVenueSubscriptionsV2(e,s);return h(t,P.default,p,a)},async removeVenueSubscriptionsV2(e,s){let t=await n.removeVenueSubscriptionsV2(e,s);return h(t,P.default,p,a)}}},ha=function(a,n,e){let s=fe(a);return{addVenueSubscriptionsV2(t,r){return s.addVenueSubscriptionsV2(t,r).then(o=>o(e,n))},removeVenueSubscriptionsV2(t,r){return s.removeVenueSubscriptionsV2(t,r).then(o=>o(e,n))}}},st=class extends O{addVenueSubscriptionsV2(n,e){return fe(this.configuration).addVenueSubscriptionsV2(n,e).then(s=>s(this.axios,this.basePath))}removeVenueSubscriptionsV2(n,e){return fe(this.configuration).removeVenueSubscriptionsV2(n,e).then(s=>s(this.axios,this.basePath))}},As=function(a){return{devicesOfVenue:async(n,e={})=>{d("devicesOfVenue","venueId",n);let s="/api/v1/ops/venues/{venueId}/devices".replace("{venueId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},searchVenues:async(n,e,s={})=>{d("searchVenues","search",n);let t="/api/v1/ops/venues",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),n!==void 0&&(u.search=n),e!==void 0&&(u.limit=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}}}},De=function(a){let n=As(a);return{async devicesOfVenue(e,s){let t=await n.devicesOfVenue(e,s);return h(t,P.default,p,a)},async searchVenues(e,s,t){let r=await n.searchVenues(e,s,t);return h(r,P.default,p,a)}}},Pa=function(a,n,e){let s=De(a);return{devicesOfVenue(t,r){return s.devicesOfVenue(t,r).then(o=>o(e,n))},searchVenues(t,r,o){return s.searchVenues(t,r,o).then(i=>i(e,n))}}},nt=class extends O{devicesOfVenue(n,e){return De(this.configuration).devicesOfVenue(n,e).then(s=>s(this.axios,this.basePath))}searchVenues(n,e,s){return De(this.configuration).searchVenues(n,e,s).then(t=>t(this.axios,this.basePath))}},Rs=function(a){return{completeOrder:async(n,e,s,t={})=>{d("completeOrder","businessId",n),d("completeOrder","orderId",e),d("completeOrder","completeOrderDto",s);let r="/api/v1/businesses/{businessId}/orders/{orderId}/complete".replace("{businessId}",encodeURIComponent(String(n))).replace("{orderId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};await x(u,a),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}}}},Mt=function(a){let n=Rs(a);return{async completeOrder(e,s,t,r){let o=await n.completeOrder(e,s,t,r);return h(o,P.default,p,a)}}},ba=function(a,n,e){let s=Mt(a);return{completeOrder(t,r,o,i){return s.completeOrder(t,r,o,i).then(l=>l(e,n))}}},rt=class extends O{completeOrder(n,e,s,t){return Mt(this.configuration).completeOrder(n,e,s,t).then(r=>r(this.axios,this.basePath))}},xs=function(a){return{findOneByExternalId:async(n,e={})=>{d("findOneByExternalId","externalId",n);let s="/api/v1/orders/internal/{externalId}".replace("{externalId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}}}},Bt=function(a){let n=xs(a);return{async findOneByExternalId(e,s){let t=await n.findOneByExternalId(e,s);return h(t,P.default,p,a)}}},Aa=function(a,n,e){let s=Bt(a);return{findOneByExternalId(t,r){return s.findOneByExternalId(t,r).then(o=>o(e,n))}}},ot=class extends O{findOneByExternalId(n,e){return Bt(this.configuration).findOneByExternalId(n,e).then(s=>s(this.axios,this.basePath))}},fs=function(a){return{acceptOrder:async(n,e={})=>{d("acceptOrder","acceptOrderDto",n);let s="/api/v1/orders/accept",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},changePosOrdersStatusInBulk:async(n,e={})=>{d("changePosOrdersStatusInBulk","changePosOrdersStatusInBulkDto",n);let s="/api/v2/orders/pos/bulk-status",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},confirmPreOrder:async(n,e={})=>{d("confirmPreOrder","confirmPreorderDto",n);let s="/api/v1/orders/confirm/preOrder",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},deletePosParkedOrderV2:async(n,e={})=>{d("deletePosParkedOrderV2","deletePosOrderDto",n);let s="/api/v2/orders/pos/park",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},deliverOrder:async(n,e={})=>{d("deliverOrder","deliveredOrderDto",n);let s="/api/v1/orders/delivered",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},dispatchPosOrderV5:async(n,e={})=>{d("dispatchPosOrderV5","dispatchPosOrderDto",n);let s="/api/v5/orders/pos/dispatch",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},getOrdersV2:async(n,e,s,t,r={})=>{d("getOrdersV2","status",n),d("getOrdersV2","businessIds",e);let o="/api/v2/orders/{status}".replace("{status}",encodeURIComponent(String(n))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"GET",...l,...r},c={},b={};e!==void 0&&(b.businessIds=e),s!==void 0&&(b.posBusinessId=s),t!==void 0&&(b.extraProvider=t),y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},{url:g(i),options:u}},getOrdersV3:async(n,e,s,t,r={})=>{d("getOrdersV3","status",n),d("getOrdersV3","businessIds",e);let o="/api/v3/orders/{status}".replace("{status}",encodeURIComponent(String(n))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"GET",...l,...r},c={},b={};e!==void 0&&(b.businessIds=e),s!==void 0&&(b.posBusinessId=s),t!==void 0&&(b.extraProvider=t),y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},{url:g(i),options:u}},getParkedPosOrderV2:async(n,e={})=>{d("getParkedPosOrderV2","businessId",n);let s="/api/v2/orders/pos/park",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};n!==void 0&&(l.businessId=n),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getPosOrderById:async(n,e={})=>{d("getPosOrderById","getPosOrderDto",n);let s="/api/v1/orders/pos",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},markOrderAsReady:async(n,e={})=>{d("markOrderAsReady","readyOrderDto",n);let s="/api/v1/orders/ready",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},parkPosOrderV5:async(n,e={})=>{d("parkPosOrderV5","parkPosOrderDto",n);let s="/api/v5/orders/pos/park",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},processPosOrderActions:async(n,e={})=>{d("processPosOrderActions","processOrderActionsDto",n);let s="/api/v4/orders/pos/actions",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},rejectOrder:async(n,e={})=>{d("rejectOrder","rejectOrderDto",n);let s="/api/v1/orders/reject",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},syncPosOrder:async(n,e={})=>{d("syncPosOrder","syncPosOrderDto",n);let s="/api/v1/orders/pos/sync",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},updatePosOrderV2:async(n,e={})=>{d("updatePosOrderV2","posUpdateOrderDto",n);let s="/api/v2/orders/pos/update",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},k=function(a){let n=fs(a);return{async acceptOrder(e,s){let t=await n.acceptOrder(e,s);return h(t,P.default,p,a)},async changePosOrdersStatusInBulk(e,s){let t=await n.changePosOrdersStatusInBulk(e,s);return h(t,P.default,p,a)},async confirmPreOrder(e,s){let t=await n.confirmPreOrder(e,s);return h(t,P.default,p,a)},async deletePosParkedOrderV2(e,s){let t=await n.deletePosParkedOrderV2(e,s);return h(t,P.default,p,a)},async deliverOrder(e,s){let t=await n.deliverOrder(e,s);return h(t,P.default,p,a)},async dispatchPosOrderV5(e,s){let t=await n.dispatchPosOrderV5(e,s);return h(t,P.default,p,a)},async getOrdersV2(e,s,t,r,o){let i=await n.getOrdersV2(e,s,t,r,o);return h(i,P.default,p,a)},async getOrdersV3(e,s,t,r,o){let i=await n.getOrdersV3(e,s,t,r,o);return h(i,P.default,p,a)},async getParkedPosOrderV2(e,s){let t=await n.getParkedPosOrderV2(e,s);return h(t,P.default,p,a)},async getPosOrderById(e,s){let t=await n.getPosOrderById(e,s);return h(t,P.default,p,a)},async markOrderAsReady(e,s){let t=await n.markOrderAsReady(e,s);return h(t,P.default,p,a)},async parkPosOrderV5(e,s){let t=await n.parkPosOrderV5(e,s);return h(t,P.default,p,a)},async processPosOrderActions(e,s){let t=await n.processPosOrderActions(e,s);return h(t,P.default,p,a)},async rejectOrder(e,s){let t=await n.rejectOrder(e,s);return h(t,P.default,p,a)},async syncPosOrder(e,s){let t=await n.syncPosOrder(e,s);return h(t,P.default,p,a)},async updatePosOrderV2(e,s){let t=await n.updatePosOrderV2(e,s);return h(t,P.default,p,a)}}},Ra=function(a,n,e){let s=k(a);return{acceptOrder(t,r){return s.acceptOrder(t,r).then(o=>o(e,n))},changePosOrdersStatusInBulk(t,r){return s.changePosOrdersStatusInBulk(t,r).then(o=>o(e,n))},confirmPreOrder(t,r){return s.confirmPreOrder(t,r).then(o=>o(e,n))},deletePosParkedOrderV2(t,r){return s.deletePosParkedOrderV2(t,r).then(o=>o(e,n))},deliverOrder(t,r){return s.deliverOrder(t,r).then(o=>o(e,n))},dispatchPosOrderV5(t,r){return s.dispatchPosOrderV5(t,r).then(o=>o(e,n))},getOrdersV2(t,r,o,i,l){return s.getOrdersV2(t,r,o,i,l).then(u=>u(e,n))},getOrdersV3(t,r,o,i,l){return s.getOrdersV3(t,r,o,i,l).then(u=>u(e,n))},getParkedPosOrderV2(t,r){return s.getParkedPosOrderV2(t,r).then(o=>o(e,n))},getPosOrderById(t,r){return s.getPosOrderById(t,r).then(o=>o(e,n))},markOrderAsReady(t,r){return s.markOrderAsReady(t,r).then(o=>o(e,n))},parkPosOrderV5(t,r){return s.parkPosOrderV5(t,r).then(o=>o(e,n))},processPosOrderActions(t,r){return s.processPosOrderActions(t,r).then(o=>o(e,n))},rejectOrder(t,r){return s.rejectOrder(t,r).then(o=>o(e,n))},syncPosOrder(t,r){return s.syncPosOrder(t,r).then(o=>o(e,n))},updatePosOrderV2(t,r){return s.updatePosOrderV2(t,r).then(o=>o(e,n))}}},at=class extends O{acceptOrder(n,e){return k(this.configuration).acceptOrder(n,e).then(s=>s(this.axios,this.basePath))}changePosOrdersStatusInBulk(n,e){return k(this.configuration).changePosOrdersStatusInBulk(n,e).then(s=>s(this.axios,this.basePath))}confirmPreOrder(n,e){return k(this.configuration).confirmPreOrder(n,e).then(s=>s(this.axios,this.basePath))}deletePosParkedOrderV2(n,e){return k(this.configuration).deletePosParkedOrderV2(n,e).then(s=>s(this.axios,this.basePath))}deliverOrder(n,e){return k(this.configuration).deliverOrder(n,e).then(s=>s(this.axios,this.basePath))}dispatchPosOrderV5(n,e){return k(this.configuration).dispatchPosOrderV5(n,e).then(s=>s(this.axios,this.basePath))}getOrdersV2(n,e,s,t,r){return k(this.configuration).getOrdersV2(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}getOrdersV3(n,e,s,t,r){return k(this.configuration).getOrdersV3(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}getParkedPosOrderV2(n,e){return k(this.configuration).getParkedPosOrderV2(n,e).then(s=>s(this.axios,this.basePath))}getPosOrderById(n,e){return k(this.configuration).getPosOrderById(n,e).then(s=>s(this.axios,this.basePath))}markOrderAsReady(n,e){return k(this.configuration).markOrderAsReady(n,e).then(s=>s(this.axios,this.basePath))}parkPosOrderV5(n,e){return k(this.configuration).parkPosOrderV5(n,e).then(s=>s(this.axios,this.basePath))}processPosOrderActions(n,e){return k(this.configuration).processPosOrderActions(n,e).then(s=>s(this.axios,this.basePath))}rejectOrder(n,e){return k(this.configuration).rejectOrder(n,e).then(s=>s(this.axios,this.basePath))}syncPosOrder(n,e){return k(this.configuration).syncPosOrder(n,e).then(s=>s(this.axios,this.basePath))}updatePosOrderV2(n,e){return k(this.configuration).updatePosOrderV2(n,e).then(s=>s(this.axios,this.basePath))}},Ds=function(a){return{listPosPermissions:async(n={})=>{let e="/api/v1/pos-permissions",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...n},o={},i={};await x(o,a),y(s,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}}}},wt=function(a){let n=Ds(a);return{async listPosPermissions(e){let s=await n.listPosPermissions(e);return h(s,P.default,p,a)}}},xa=function(a,n,e){let s=wt(a);return{listPosPermissions(t){return s.listPosPermissions(t).then(r=>r(e,n))}}},it=class extends O{listPosPermissions(n){return wt(this.configuration).listPosPermissions(n).then(e=>e(this.axios,this.basePath))}},Cs=function(a){return{getPosSessionV2:async(n,e={})=>{d("getPosSessionV2","businessId",n);let s="/api/v2/pos-session/{businessId}".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}}}},Ft=function(a){let n=Cs(a);return{async getPosSessionV2(e,s){let t=await n.getPosSessionV2(e,s);return h(t,P.default,p,a)}}},fa=function(a,n,e){let s=Ft(a);return{getPosSessionV2(t,r){return s.getPosSessionV2(t,r).then(o=>o(e,n))}}},lt=class extends O{getPosSessionV2(n,e){return Ft(this.configuration).getPosSessionV2(n,e).then(s=>s(this.axios,this.basePath))}},Ss=function(a){return{payTerminalInit:async(n,e={})=>{d("payTerminalInit","payTerminalInitBodyDto",n);let s="/api/v1/pay-terminal/init",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},payTerminalLockStatus:async(n,e={})=>{d("payTerminalLockStatus","payTerminalLockStatusBodyDto",n);let s="/api/v1/pay-terminal/lock/status",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},payTerminalLockSync:async(n,e={})=>{d("payTerminalLockSync","syncPayTerminalLockBodyDto",n);let s="/api/v1/pay-terminal/lock/sync",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},payTerminalLockVerify:async(n,e={})=>{d("payTerminalLockVerify","verifyPayTerminalLockBodyDto",n);let s="/api/v1/pay-terminal/lock/verify",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},payTerminalPair:async(n,e={})=>{d("payTerminalPair","pairPayTerminalBodyDto",n);let s="/api/v1/pay-terminal/pair",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},payTerminalPresence:async(n,e={})=>{d("payTerminalPresence","payTerminalSessionTokenBodyDto",n);let s="/api/v1/pay-terminal/presence",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},payTerminalSessionToken:async(n,e={})=>{d("payTerminalSessionToken","payTerminalSessionTokenBodyDto",n);let s="/api/v1/pay-terminal/session-token",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},payTerminalUnpair:async(n,e={})=>{d("payTerminalUnpair","unpairPayTerminalBodyDto",n);let s="/api/v1/pay-terminal/unpair",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},N=function(a){let n=Ss(a);return{async payTerminalInit(e,s){let t=await n.payTerminalInit(e,s);return h(t,P.default,p,a)},async payTerminalLockStatus(e,s){let t=await n.payTerminalLockStatus(e,s);return h(t,P.default,p,a)},async payTerminalLockSync(e,s){let t=await n.payTerminalLockSync(e,s);return h(t,P.default,p,a)},async payTerminalLockVerify(e,s){let t=await n.payTerminalLockVerify(e,s);return h(t,P.default,p,a)},async payTerminalPair(e,s){let t=await n.payTerminalPair(e,s);return h(t,P.default,p,a)},async payTerminalPresence(e,s){let t=await n.payTerminalPresence(e,s);return h(t,P.default,p,a)},async payTerminalSessionToken(e,s){let t=await n.payTerminalSessionToken(e,s);return h(t,P.default,p,a)},async payTerminalUnpair(e,s){let t=await n.payTerminalUnpair(e,s);return h(t,P.default,p,a)}}},Da=function(a,n,e){let s=N(a);return{payTerminalInit(t,r){return s.payTerminalInit(t,r).then(o=>o(e,n))},payTerminalLockStatus(t,r){return s.payTerminalLockStatus(t,r).then(o=>o(e,n))},payTerminalLockSync(t,r){return s.payTerminalLockSync(t,r).then(o=>o(e,n))},payTerminalLockVerify(t,r){return s.payTerminalLockVerify(t,r).then(o=>o(e,n))},payTerminalPair(t,r){return s.payTerminalPair(t,r).then(o=>o(e,n))},payTerminalPresence(t,r){return s.payTerminalPresence(t,r).then(o=>o(e,n))},payTerminalSessionToken(t,r){return s.payTerminalSessionToken(t,r).then(o=>o(e,n))},payTerminalUnpair(t,r){return s.payTerminalUnpair(t,r).then(o=>o(e,n))}}},ut=class extends O{payTerminalInit(n,e){return N(this.configuration).payTerminalInit(n,e).then(s=>s(this.axios,this.basePath))}payTerminalLockStatus(n,e){return N(this.configuration).payTerminalLockStatus(n,e).then(s=>s(this.axios,this.basePath))}payTerminalLockSync(n,e){return N(this.configuration).payTerminalLockSync(n,e).then(s=>s(this.axios,this.basePath))}payTerminalLockVerify(n,e){return N(this.configuration).payTerminalLockVerify(n,e).then(s=>s(this.axios,this.basePath))}payTerminalPair(n,e){return N(this.configuration).payTerminalPair(n,e).then(s=>s(this.axios,this.basePath))}payTerminalPresence(n,e){return N(this.configuration).payTerminalPresence(n,e).then(s=>s(this.axios,this.basePath))}payTerminalSessionToken(n,e){return N(this.configuration).payTerminalSessionToken(n,e).then(s=>s(this.axios,this.basePath))}payTerminalUnpair(n,e){return N(this.configuration).payTerminalUnpair(n,e).then(s=>s(this.axios,this.basePath))}},Os=function(a){return{cancelNetsTerminalTransaction:async(n,e={})=>{d("cancelNetsTerminalTransaction","netsCancelTransactionDto",n);let s="/api/v3/payment/nets/cancel",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},cancelVivaTransactionV2:async(n,e={})=>{d("cancelVivaTransactionV2","vivaCancelTransactionDto",n);let s="/api/v2/payment/viva/cancel",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},getPaymentReference:async(n,e={})=>{d("getPaymentReference","getPaymentReferenceDto",n);let s="/api/v1/payment/reference",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},getPaymentStatus:async(n,e={})=>{d("getPaymentStatus","getPaymentStatusDto",n);let s="/api/v1/payment/status",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},initiateNetsTerminalTransaction:async(n,e={})=>{d("initiateNetsTerminalTransaction","createNetsTerminalPaymentDto",n);let s="/api/v3/payment/nets/terminal/initiate",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},initiateTerminalTransaction:async(n,e={})=>{d("initiateTerminalTransaction","createTerminalPaymentDto",n);let s="/api/v4/payment/viva/terminal/initiate",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},processOnlineOrderRefund:async(n,e={})=>{d("processOnlineOrderRefund","orderResponseDto",n);let s="/api/v1/payment/online-orders/refund",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},refundSingleVivaTransaction:async(n,e={})=>{d("refundSingleVivaTransaction","createRefundDto",n);let s="/api/v4/payment/viva/refund/single",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},W=function(a){let n=Os(a);return{async cancelNetsTerminalTransaction(e,s){let t=await n.cancelNetsTerminalTransaction(e,s);return h(t,P.default,p,a)},async cancelVivaTransactionV2(e,s){let t=await n.cancelVivaTransactionV2(e,s);return h(t,P.default,p,a)},async getPaymentReference(e,s){let t=await n.getPaymentReference(e,s);return h(t,P.default,p,a)},async getPaymentStatus(e,s){let t=await n.getPaymentStatus(e,s);return h(t,P.default,p,a)},async initiateNetsTerminalTransaction(e,s){let t=await n.initiateNetsTerminalTransaction(e,s);return h(t,P.default,p,a)},async initiateTerminalTransaction(e,s){let t=await n.initiateTerminalTransaction(e,s);return h(t,P.default,p,a)},async processOnlineOrderRefund(e,s){let t=await n.processOnlineOrderRefund(e,s);return h(t,P.default,p,a)},async refundSingleVivaTransaction(e,s){let t=await n.refundSingleVivaTransaction(e,s);return h(t,P.default,p,a)}}},Ca=function(a,n,e){let s=W(a);return{cancelNetsTerminalTransaction(t,r){return s.cancelNetsTerminalTransaction(t,r).then(o=>o(e,n))},cancelVivaTransactionV2(t,r){return s.cancelVivaTransactionV2(t,r).then(o=>o(e,n))},getPaymentReference(t,r){return s.getPaymentReference(t,r).then(o=>o(e,n))},getPaymentStatus(t,r){return s.getPaymentStatus(t,r).then(o=>o(e,n))},initiateNetsTerminalTransaction(t,r){return s.initiateNetsTerminalTransaction(t,r).then(o=>o(e,n))},initiateTerminalTransaction(t,r){return s.initiateTerminalTransaction(t,r).then(o=>o(e,n))},processOnlineOrderRefund(t,r){return s.processOnlineOrderRefund(t,r).then(o=>o(e,n))},refundSingleVivaTransaction(t,r){return s.refundSingleVivaTransaction(t,r).then(o=>o(e,n))}}},dt=class extends O{cancelNetsTerminalTransaction(n,e){return W(this.configuration).cancelNetsTerminalTransaction(n,e).then(s=>s(this.axios,this.basePath))}cancelVivaTransactionV2(n,e){return W(this.configuration).cancelVivaTransactionV2(n,e).then(s=>s(this.axios,this.basePath))}getPaymentReference(n,e){return W(this.configuration).getPaymentReference(n,e).then(s=>s(this.axios,this.basePath))}getPaymentStatus(n,e){return W(this.configuration).getPaymentStatus(n,e).then(s=>s(this.axios,this.basePath))}initiateNetsTerminalTransaction(n,e){return W(this.configuration).initiateNetsTerminalTransaction(n,e).then(s=>s(this.axios,this.basePath))}initiateTerminalTransaction(n,e){return W(this.configuration).initiateTerminalTransaction(n,e).then(s=>s(this.axios,this.basePath))}processOnlineOrderRefund(n,e){return W(this.configuration).processOnlineOrderRefund(n,e).then(s=>s(this.axios,this.basePath))}refundSingleVivaTransaction(n,e){return W(this.configuration).refundSingleVivaTransaction(n,e).then(s=>s(this.axios,this.basePath))}},Vs=function(a){return{changePaymentMethodGiftCardLogin:async(n,e,s,t,r={})=>{d("changePaymentMethodGiftCardLogin","businessId",n),d("changePaymentMethodGiftCardLogin","channel",e),d("changePaymentMethodGiftCardLogin","id",s),d("changePaymentMethodGiftCardLogin","giftCardCredentialsInputDto",t);let o="/api/v2/payment-methods/businesses/{businessId}/channels/{channel}/options/{id}/gift-card-login".replace("{businessId}",encodeURIComponent(String(n))).replace("{channel}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PUT",...l,...r},c={},b={};c["Content-Type"]="application/json",y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},changePaymentMethodOption:async(n,e,s,t,r={})=>{d("changePaymentMethodOption","businessId",n),d("changePaymentMethodOption","channel",e),d("changePaymentMethodOption","id",s),d("changePaymentMethodOption","changePaymentMethodOptionDto",t);let o="/api/v2/payment-methods/businesses/{businessId}/channels/{channel}/options/{id}".replace("{businessId}",encodeURIComponent(String(n))).replace("{channel}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PATCH",...l,...r},c={},b={};c["Content-Type"]="application/json",y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},createPaymentMethod:async(n,e,s,t={})=>{d("createPaymentMethod","businessId",n),d("createPaymentMethod","channel",e),d("createPaymentMethod","createPaymentMethodDto",s);let r="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}".replace("{businessId}",encodeURIComponent(String(n))).replace("{channel}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},deletePaymentMethodOption:async(n,e,s,t={})=>{d("deletePaymentMethodOption","businessId",n),d("deletePaymentMethodOption","channel",e),d("deletePaymentMethodOption","id",s);let r="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}/options/{id}".replace("{businessId}",encodeURIComponent(String(n))).replace("{channel}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"DELETE",...i,...t},u={};y(o,{});let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getCatalog:async(n,e,s,t={})=>{d("getCatalog","businessId",n),d("getCatalog","channel",e);let r="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}/catalog".replace("{businessId}",encodeURIComponent(String(n))).replace("{channel}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},c={};s!==void 0&&(c.locale=s),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getPaymentMethods:async(n,e,s,t={})=>{d("getPaymentMethods","businessId",n),d("getPaymentMethods","channel",e);let r="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}".replace("{businessId}",encodeURIComponent(String(n))).replace("{channel}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},c={};s!==void 0&&(c.locale=s),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},getTypes:async(n={})=>{let e="/api/v1/payment-methods/types",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...n},o={};y(s,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},reorder:async(n,e,s,t={})=>{d("reorder","businessId",n),d("reorder","channel",e),d("reorder","bulkRankDto",s);let r="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}/bulk-rank".replace("{businessId}",encodeURIComponent(String(n))).replace("{channel}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},c={};u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},setPaymentMethodPositions:async(n,e,s,t={})=>{d("setPaymentMethodPositions","businessId",n),d("setPaymentMethodPositions","channel",e),d("setPaymentMethodPositions","paymentMethodPositionsDto",s);let r="/api/v2/payment-methods/businesses/{businessId}/channels/{channel}/positions".replace("{businessId}",encodeURIComponent(String(n))).replace("{channel}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PUT",...i,...t},u={},c={};u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},updatePaymentMethodOption:async(n,e,s,t,r={})=>{d("updatePaymentMethodOption","businessId",n),d("updatePaymentMethodOption","channel",e),d("updatePaymentMethodOption","id",s),d("updatePaymentMethodOption","updatePaymentMethodOptionDto",t);let o="/api/v1/payment-methods/businesses/{businessId}/channels/{channel}/options/{id}".replace("{businessId}",encodeURIComponent(String(n))).replace("{channel}",encodeURIComponent(String(e))).replace("{id}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PATCH",...l,...r},c={},b={};c["Content-Type"]="application/json",y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}}}},L=function(a){let n=Vs(a);return{async changePaymentMethodGiftCardLogin(e,s,t,r,o){let i=await n.changePaymentMethodGiftCardLogin(e,s,t,r,o);return h(i,P.default,p,a)},async changePaymentMethodOption(e,s,t,r,o){let i=await n.changePaymentMethodOption(e,s,t,r,o);return h(i,P.default,p,a)},async createPaymentMethod(e,s,t,r){let o=await n.createPaymentMethod(e,s,t,r);return h(o,P.default,p,a)},async deletePaymentMethodOption(e,s,t,r){let o=await n.deletePaymentMethodOption(e,s,t,r);return h(o,P.default,p,a)},async getCatalog(e,s,t,r){let o=await n.getCatalog(e,s,t,r);return h(o,P.default,p,a)},async getPaymentMethods(e,s,t,r){let o=await n.getPaymentMethods(e,s,t,r);return h(o,P.default,p,a)},async getTypes(e){let s=await n.getTypes(e);return h(s,P.default,p,a)},async reorder(e,s,t,r){let o=await n.reorder(e,s,t,r);return h(o,P.default,p,a)},async setPaymentMethodPositions(e,s,t,r){let o=await n.setPaymentMethodPositions(e,s,t,r);return h(o,P.default,p,a)},async updatePaymentMethodOption(e,s,t,r,o){let i=await n.updatePaymentMethodOption(e,s,t,r,o);return h(i,P.default,p,a)}}},Sa=function(a,n,e){let s=L(a);return{changePaymentMethodGiftCardLogin(t,r,o,i,l){return s.changePaymentMethodGiftCardLogin(t,r,o,i,l).then(u=>u(e,n))},changePaymentMethodOption(t,r,o,i,l){return s.changePaymentMethodOption(t,r,o,i,l).then(u=>u(e,n))},createPaymentMethod(t,r,o,i){return s.createPaymentMethod(t,r,o,i).then(l=>l(e,n))},deletePaymentMethodOption(t,r,o,i){return s.deletePaymentMethodOption(t,r,o,i).then(l=>l(e,n))},getCatalog(t,r,o,i){return s.getCatalog(t,r,o,i).then(l=>l(e,n))},getPaymentMethods(t,r,o,i){return s.getPaymentMethods(t,r,o,i).then(l=>l(e,n))},getTypes(t){return s.getTypes(t).then(r=>r(e,n))},reorder(t,r,o,i){return s.reorder(t,r,o,i).then(l=>l(e,n))},setPaymentMethodPositions(t,r,o,i){return s.setPaymentMethodPositions(t,r,o,i).then(l=>l(e,n))},updatePaymentMethodOption(t,r,o,i,l){return s.updatePaymentMethodOption(t,r,o,i,l).then(u=>u(e,n))}}},ct=class extends O{changePaymentMethodGiftCardLogin(n,e,s,t,r){return L(this.configuration).changePaymentMethodGiftCardLogin(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}changePaymentMethodOption(n,e,s,t,r){return L(this.configuration).changePaymentMethodOption(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}createPaymentMethod(n,e,s,t){return L(this.configuration).createPaymentMethod(n,e,s,t).then(r=>r(this.axios,this.basePath))}deletePaymentMethodOption(n,e,s,t){return L(this.configuration).deletePaymentMethodOption(n,e,s,t).then(r=>r(this.axios,this.basePath))}getCatalog(n,e,s,t){return L(this.configuration).getCatalog(n,e,s,t).then(r=>r(this.axios,this.basePath))}getPaymentMethods(n,e,s,t){return L(this.configuration).getPaymentMethods(n,e,s,t).then(r=>r(this.axios,this.basePath))}getTypes(n){return L(this.configuration).getTypes(n).then(e=>e(this.axios,this.basePath))}reorder(n,e,s,t){return L(this.configuration).reorder(n,e,s,t).then(r=>r(this.axios,this.basePath))}setPaymentMethodPositions(n,e,s,t){return L(this.configuration).setPaymentMethodPositions(n,e,s,t).then(r=>r(this.axios,this.basePath))}updatePaymentMethodOption(n,e,s,t,r){return L(this.configuration).updatePaymentMethodOption(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}},Is=function(a){return{cancelSession:async(n,e={})=>{d("cancelSession","clientToken",n);let s="/api/v1/payment-session/{clientToken}/cancel".replace("{clientToken}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getOrderSettlementStatus:async(n,e,s,t={})=>{d("getOrderSettlementStatus","businessId",n),d("getOrderSettlementStatus","orderId",e);let r="/api/v1/payment-session/order-settlement/{businessId}/{orderId}".replace("{businessId}",encodeURIComponent(String(n))).replace("{orderId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},getPaymentSession:async(n,e={})=>{d("getPaymentSession","clientToken",n);let s="/api/v1/payment-session/{clientToken}".replace("{clientToken}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getPaymentSessionAnalytics:async(n,e,s,t,r={})=>{d("getPaymentSessionAnalytics","businessId",n),d("getPaymentSessionAnalytics","timeSpan",e);let o="/api/v1/payment-session/analytics",i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"GET",...l,...r},c={},b={};n!==void 0&&(b.businessId=n),e!==void 0&&(b.timeSpan=e),s!==void 0&&(b.start=s),t!==void 0&&(b.end=t),y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},{url:g(i),options:u}},initiateEpassiSession:async(n,e,s,t={})=>{d("initiateEpassiSession","xEpassiQrCode",n),d("initiateEpassiSession","initiateEpassiSessionDto",e);let r="/api/v1/payment-session/epassi/initiate",o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};n!=null&&(u["X-Epassi-Qr-Code"]=String(n)),s!=null&&(u["X-Idempotency-Key"]=String(s)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(e,l,a),{url:g(o),options:l}},initiateNetsSession:async(n,e,s={})=>{d("initiateNetsSession","initiateNetsSessionDto",n);let t="/api/v1/payment-session/nets/initiate",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};e!=null&&(l["X-Idempotency-Key"]=String(e)),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(n,i,a),{url:g(r),options:i}},initiateVivaA2aSession:async(n,e={})=>{d("initiateVivaA2aSession","initiateVivaA2aSessionDto",n);let s="/api/v1/payment-session/viva/a2a",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},initiateVivaSession:async(n,e,s={})=>{d("initiateVivaSession","initiateVivaSessionDto",n);let t="/api/v1/payment-session/viva/initiate",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};e!=null&&(l["X-Idempotency-Key"]=String(e)),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(n,i,a),{url:g(r),options:i}},initiateWorldlineSession:async(n,e,s={})=>{d("initiateWorldlineSession","initiateWorldlineSessionDto",n);let t="/api/v1/payment-session/worldline/initiate",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};e!=null&&(l["X-Idempotency-Key"]=String(e)),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(n,i,a),{url:g(r),options:i}},paymentSessionGetChargeStatus:async(n,e={})=>{d("paymentSessionGetChargeStatus","chargeId",n);let s="/api/v1/payment-session/charge-status/{chargeId}".replace("{chargeId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},paymentSessionRegisterChargeMapping:async(n,e={})=>{d("paymentSessionRegisterChargeMapping","registerChargeMappingDto",n);let s="/api/v1/payment-session/charge-status/register",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},pollEpassiSession:async(n,e={})=>{d("pollEpassiSession","epassiSessionReferenceDto",n);let s="/api/v1/payment-session/epassi/poll",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},pollVivaSession:async(n,e={})=>{d("pollVivaSession","pollVivaSessionDto",n);let s="/api/v1/payment-session/poll",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},pollWorldlineSession:async(n,e={})=>{d("pollWorldlineSession","pollWorldlineSessionDto",n);let s="/api/v1/payment-session/worldline/poll",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},recordManualPayment:async(n,e,s={})=>{d("recordManualPayment","createManualSessionDto",n);let t="/api/v1/payment-session/manual",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};e!=null&&(l["X-Idempotency-Key"]=String(e)),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(n,i,a),{url:g(r),options:i}},refundEpassiSession:async(n,e={})=>{d("refundEpassiSession","epassiSessionReferenceDto",n);let s="/api/v1/payment-session/epassi/refund",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},refundNetsSession:async(n,e={})=>{d("refundNetsSession","reverseSessionDto",n);let s="/api/v1/payment-session/nets/refund",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},refundVivaSession:async(n,e={})=>{d("refundVivaSession","reverseSessionDto",n);let s="/api/v1/payment-session/refund",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},refundWorldlineSession:async(n,e={})=>{d("refundWorldlineSession","reverseSessionDto",n);let s="/api/v1/payment-session/worldline/refund",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},retryWorldlineReversal:async(n,e={})=>{d("retryWorldlineReversal","retryWorldlineReversalDto",n);let s="/api/v1/payment-session/worldline/reversal-retry",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},revertNetsSession:async(n,e={})=>{d("revertNetsSession","reverseSessionDto",n);let s="/api/v1/payment-session/nets/revert",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},revertVivaSession:async(n,e={})=>{d("revertVivaSession","reverseSessionDto",n);let s="/api/v1/payment-session/revert",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},revertWorldlineSession:async(n,e={})=>{d("revertWorldlineSession","reverseSessionDto",n);let s="/api/v1/payment-session/worldline/revert",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},voidManualPayment:async(n,e={})=>{d("voidManualPayment","voidManualSessionDto",n);let s="/api/v1/payment-session/void",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},E=function(a){let n=Is(a);return{async cancelSession(e,s){let t=await n.cancelSession(e,s);return h(t,P.default,p,a)},async getOrderSettlementStatus(e,s,t,r){let o=await n.getOrderSettlementStatus(e,s,t,r);return h(o,P.default,p,a)},async getPaymentSession(e,s){let t=await n.getPaymentSession(e,s);return h(t,P.default,p,a)},async getPaymentSessionAnalytics(e,s,t,r,o){let i=await n.getPaymentSessionAnalytics(e,s,t,r,o);return h(i,P.default,p,a)},async initiateEpassiSession(e,s,t,r){let o=await n.initiateEpassiSession(e,s,t,r);return h(o,P.default,p,a)},async initiateNetsSession(e,s,t){let r=await n.initiateNetsSession(e,s,t);return h(r,P.default,p,a)},async initiateVivaA2aSession(e,s){let t=await n.initiateVivaA2aSession(e,s);return h(t,P.default,p,a)},async initiateVivaSession(e,s,t){let r=await n.initiateVivaSession(e,s,t);return h(r,P.default,p,a)},async initiateWorldlineSession(e,s,t){let r=await n.initiateWorldlineSession(e,s,t);return h(r,P.default,p,a)},async paymentSessionGetChargeStatus(e,s){let t=await n.paymentSessionGetChargeStatus(e,s);return h(t,P.default,p,a)},async paymentSessionRegisterChargeMapping(e,s){let t=await n.paymentSessionRegisterChargeMapping(e,s);return h(t,P.default,p,a)},async pollEpassiSession(e,s){let t=await n.pollEpassiSession(e,s);return h(t,P.default,p,a)},async pollVivaSession(e,s){let t=await n.pollVivaSession(e,s);return h(t,P.default,p,a)},async pollWorldlineSession(e,s){let t=await n.pollWorldlineSession(e,s);return h(t,P.default,p,a)},async recordManualPayment(e,s,t){let r=await n.recordManualPayment(e,s,t);return h(r,P.default,p,a)},async refundEpassiSession(e,s){let t=await n.refundEpassiSession(e,s);return h(t,P.default,p,a)},async refundNetsSession(e,s){let t=await n.refundNetsSession(e,s);return h(t,P.default,p,a)},async refundVivaSession(e,s){let t=await n.refundVivaSession(e,s);return h(t,P.default,p,a)},async refundWorldlineSession(e,s){let t=await n.refundWorldlineSession(e,s);return h(t,P.default,p,a)},async retryWorldlineReversal(e,s){let t=await n.retryWorldlineReversal(e,s);return h(t,P.default,p,a)},async revertNetsSession(e,s){let t=await n.revertNetsSession(e,s);return h(t,P.default,p,a)},async revertVivaSession(e,s){let t=await n.revertVivaSession(e,s);return h(t,P.default,p,a)},async revertWorldlineSession(e,s){let t=await n.revertWorldlineSession(e,s);return h(t,P.default,p,a)},async voidManualPayment(e,s){let t=await n.voidManualPayment(e,s);return h(t,P.default,p,a)}}},Oa=function(a,n,e){let s=E(a);return{cancelSession(t,r){return s.cancelSession(t,r).then(o=>o(e,n))},getOrderSettlementStatus(t,r,o,i){return s.getOrderSettlementStatus(t,r,o,i).then(l=>l(e,n))},getPaymentSession(t,r){return s.getPaymentSession(t,r).then(o=>o(e,n))},getPaymentSessionAnalytics(t,r,o,i,l){return s.getPaymentSessionAnalytics(t,r,o,i,l).then(u=>u(e,n))},initiateEpassiSession(t,r,o,i){return s.initiateEpassiSession(t,r,o,i).then(l=>l(e,n))},initiateNetsSession(t,r,o){return s.initiateNetsSession(t,r,o).then(i=>i(e,n))},initiateVivaA2aSession(t,r){return s.initiateVivaA2aSession(t,r).then(o=>o(e,n))},initiateVivaSession(t,r,o){return s.initiateVivaSession(t,r,o).then(i=>i(e,n))},initiateWorldlineSession(t,r,o){return s.initiateWorldlineSession(t,r,o).then(i=>i(e,n))},paymentSessionGetChargeStatus(t,r){return s.paymentSessionGetChargeStatus(t,r).then(o=>o(e,n))},paymentSessionRegisterChargeMapping(t,r){return s.paymentSessionRegisterChargeMapping(t,r).then(o=>o(e,n))},pollEpassiSession(t,r){return s.pollEpassiSession(t,r).then(o=>o(e,n))},pollVivaSession(t,r){return s.pollVivaSession(t,r).then(o=>o(e,n))},pollWorldlineSession(t,r){return s.pollWorldlineSession(t,r).then(o=>o(e,n))},recordManualPayment(t,r,o){return s.recordManualPayment(t,r,o).then(i=>i(e,n))},refundEpassiSession(t,r){return s.refundEpassiSession(t,r).then(o=>o(e,n))},refundNetsSession(t,r){return s.refundNetsSession(t,r).then(o=>o(e,n))},refundVivaSession(t,r){return s.refundVivaSession(t,r).then(o=>o(e,n))},refundWorldlineSession(t,r){return s.refundWorldlineSession(t,r).then(o=>o(e,n))},retryWorldlineReversal(t,r){return s.retryWorldlineReversal(t,r).then(o=>o(e,n))},revertNetsSession(t,r){return s.revertNetsSession(t,r).then(o=>o(e,n))},revertVivaSession(t,r){return s.revertVivaSession(t,r).then(o=>o(e,n))},revertWorldlineSession(t,r){return s.revertWorldlineSession(t,r).then(o=>o(e,n))},voidManualPayment(t,r){return s.voidManualPayment(t,r).then(o=>o(e,n))}}},pt=class extends O{cancelSession(n,e){return E(this.configuration).cancelSession(n,e).then(s=>s(this.axios,this.basePath))}getOrderSettlementStatus(n,e,s,t){return E(this.configuration).getOrderSettlementStatus(n,e,s,t).then(r=>r(this.axios,this.basePath))}getPaymentSession(n,e){return E(this.configuration).getPaymentSession(n,e).then(s=>s(this.axios,this.basePath))}getPaymentSessionAnalytics(n,e,s,t,r){return E(this.configuration).getPaymentSessionAnalytics(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}initiateEpassiSession(n,e,s,t){return E(this.configuration).initiateEpassiSession(n,e,s,t).then(r=>r(this.axios,this.basePath))}initiateNetsSession(n,e,s){return E(this.configuration).initiateNetsSession(n,e,s).then(t=>t(this.axios,this.basePath))}initiateVivaA2aSession(n,e){return E(this.configuration).initiateVivaA2aSession(n,e).then(s=>s(this.axios,this.basePath))}initiateVivaSession(n,e,s){return E(this.configuration).initiateVivaSession(n,e,s).then(t=>t(this.axios,this.basePath))}initiateWorldlineSession(n,e,s){return E(this.configuration).initiateWorldlineSession(n,e,s).then(t=>t(this.axios,this.basePath))}paymentSessionGetChargeStatus(n,e){return E(this.configuration).paymentSessionGetChargeStatus(n,e).then(s=>s(this.axios,this.basePath))}paymentSessionRegisterChargeMapping(n,e){return E(this.configuration).paymentSessionRegisterChargeMapping(n,e).then(s=>s(this.axios,this.basePath))}pollEpassiSession(n,e){return E(this.configuration).pollEpassiSession(n,e).then(s=>s(this.axios,this.basePath))}pollVivaSession(n,e){return E(this.configuration).pollVivaSession(n,e).then(s=>s(this.axios,this.basePath))}pollWorldlineSession(n,e){return E(this.configuration).pollWorldlineSession(n,e).then(s=>s(this.axios,this.basePath))}recordManualPayment(n,e,s){return E(this.configuration).recordManualPayment(n,e,s).then(t=>t(this.axios,this.basePath))}refundEpassiSession(n,e){return E(this.configuration).refundEpassiSession(n,e).then(s=>s(this.axios,this.basePath))}refundNetsSession(n,e){return E(this.configuration).refundNetsSession(n,e).then(s=>s(this.axios,this.basePath))}refundVivaSession(n,e){return E(this.configuration).refundVivaSession(n,e).then(s=>s(this.axios,this.basePath))}refundWorldlineSession(n,e){return E(this.configuration).refundWorldlineSession(n,e).then(s=>s(this.axios,this.basePath))}retryWorldlineReversal(n,e){return E(this.configuration).retryWorldlineReversal(n,e).then(s=>s(this.axios,this.basePath))}revertNetsSession(n,e){return E(this.configuration).revertNetsSession(n,e).then(s=>s(this.axios,this.basePath))}revertVivaSession(n,e){return E(this.configuration).revertVivaSession(n,e).then(s=>s(this.axios,this.basePath))}revertWorldlineSession(n,e){return E(this.configuration).revertWorldlineSession(n,e).then(s=>s(this.axios,this.basePath))}voidManualPayment(n,e){return E(this.configuration).voidManualPayment(n,e).then(s=>s(this.axios,this.basePath))}},vs=function(a){return{deletePrinterByAddress:async(n,e,s={})=>{d("deletePrinterByAddress","businessId",n),d("deletePrinterByAddress","address",e);let t="/api/v1/printer",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...s},l={},u={};n!==void 0&&(u.businessId=n),e!==void 0&&(u.address=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},upsertPrinter:async(n,e={})=>{d("upsertPrinter","upsertPrinterDto",n);let s="/api/v1/printer",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"PUT",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},Ce=function(a){let n=vs(a);return{async deletePrinterByAddress(e,s,t){let r=await n.deletePrinterByAddress(e,s,t);return h(r,P.default,p,a)},async upsertPrinter(e,s){let t=await n.upsertPrinter(e,s);return h(t,P.default,p,a)}}},Va=function(a,n,e){let s=Ce(a);return{deletePrinterByAddress(t,r,o){return s.deletePrinterByAddress(t,r,o).then(i=>i(e,n))},upsertPrinter(t,r){return s.upsertPrinter(t,r).then(o=>o(e,n))}}},mt=class extends O{deletePrinterByAddress(n,e,s){return Ce(this.configuration).deletePrinterByAddress(n,e,s).then(t=>t(this.axios,this.basePath))}upsertPrinter(n,e){return Ce(this.configuration).upsertPrinter(n,e).then(s=>s(this.axios,this.basePath))}},Ts=function(a){return{getChannelInventoryV2:async(n,e,s,t={})=>{d("getChannelInventoryV2","businessId",n),d("getChannelInventoryV2","categoryId",e),d("getChannelInventoryV2","productId",s);let r="/api/v2/business/{businessId}/categories/{categoryId}/products/{productId}/channel-inventory".replace("{businessId}",encodeURIComponent(String(n))).replace("{categoryId}",encodeURIComponent(String(e))).replace("{productId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={};y(o,{});let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},updateChannelInventoryV2:async(n,e,s,t,r={})=>{d("updateChannelInventoryV2","businessId",n),d("updateChannelInventoryV2","categoryId",e),d("updateChannelInventoryV2","productId",s),d("updateChannelInventoryV2","updateChannelInventoryDto",t);let o="/api/v2/business/{businessId}/categories/{categoryId}/products/{productId}/channel-inventory".replace("{businessId}",encodeURIComponent(String(n))).replace("{categoryId}",encodeURIComponent(String(e))).replace("{productId}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PUT",...l,...r},c={},b={};c["Content-Type"]="application/json",y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},updateProductSkuV2:async(n,e,s,t,r={})=>{d("updateProductSkuV2","businessId",n),d("updateProductSkuV2","categoryId",e),d("updateProductSkuV2","productId",s),d("updateProductSkuV2","updateProductSkuDto",t);let o="/api/v2/business/{businessId}/categories/{categoryId}/products/{productId}/sku".replace("{businessId}",encodeURIComponent(String(n))).replace("{categoryId}",encodeURIComponent(String(e))).replace("{productId}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PUT",...l,...r},c={},b={};c["Content-Type"]="application/json",y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},updateProductSkusV2:async(n,e,s,t,r={})=>{d("updateProductSkusV2","businessId",n),d("updateProductSkusV2","categoryId",e),d("updateProductSkusV2","productId",s),d("updateProductSkusV2","updateProductSkusDto",t);let o="/api/v2/business/{businessId}/categories/{categoryId}/products/{productId}/skus".replace("{businessId}",encodeURIComponent(String(n))).replace("{categoryId}",encodeURIComponent(String(e))).replace("{productId}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"PUT",...l,...r},c={},b={};c["Content-Type"]="application/json",y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}}}},se=function(a){let n=Ts(a);return{async getChannelInventoryV2(e,s,t,r){let o=await n.getChannelInventoryV2(e,s,t,r);return h(o,P.default,p,a)},async updateChannelInventoryV2(e,s,t,r,o){let i=await n.updateChannelInventoryV2(e,s,t,r,o);return h(i,P.default,p,a)},async updateProductSkuV2(e,s,t,r,o){let i=await n.updateProductSkuV2(e,s,t,r,o);return h(i,P.default,p,a)},async updateProductSkusV2(e,s,t,r,o){let i=await n.updateProductSkusV2(e,s,t,r,o);return h(i,P.default,p,a)}}},Ia=function(a,n,e){let s=se(a);return{getChannelInventoryV2(t,r,o,i){return s.getChannelInventoryV2(t,r,o,i).then(l=>l(e,n))},updateChannelInventoryV2(t,r,o,i,l){return s.updateChannelInventoryV2(t,r,o,i,l).then(u=>u(e,n))},updateProductSkuV2(t,r,o,i,l){return s.updateProductSkuV2(t,r,o,i,l).then(u=>u(e,n))},updateProductSkusV2(t,r,o,i,l){return s.updateProductSkusV2(t,r,o,i,l).then(u=>u(e,n))}}},yt=class extends O{getChannelInventoryV2(n,e,s,t){return se(this.configuration).getChannelInventoryV2(n,e,s,t).then(r=>r(this.axios,this.basePath))}updateChannelInventoryV2(n,e,s,t,r){return se(this.configuration).updateChannelInventoryV2(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}updateProductSkuV2(n,e,s,t,r){return se(this.configuration).updateProductSkuV2(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}updateProductSkusV2(n,e,s,t,r){return se(this.configuration).updateProductSkusV2(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}},Es=function(a){return{createOnboardingSession:async(n,e,s={})=>{d("createOnboardingSession","channel",n),d("createOnboardingSession","createOnboardingSessionDto",e);let t="/api/v1/provider/onboarding/{channel}/sessions".replace("{channel}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},disconnectOnboarding:async(n,e,s={})=>{d("disconnectOnboarding","channel",n),d("disconnectOnboarding","businessId",e);let t="/api/v1/provider/onboarding/{channel}/{businessId}".replace("{channel}",encodeURIComponent(String(n))).replace("{businessId}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"DELETE",...o,...s},l={};y(r,{});let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getMenuIntegrations:async(n,e={})=>{d("getMenuIntegrations","businessId",n);let s="/api/v1/provider/integrations/{businessId}".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getOnboardingStatus:async(n,e,s={})=>{d("getOnboardingStatus","channel",n),d("getOnboardingStatus","businessId",e);let t="/api/v1/provider/onboarding/{channel}/status/{businessId}".replace("{channel}",encodeURIComponent(String(n))).replace("{businessId}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={};y(r,{});let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},listOnboardingStores:async(n,e,s={})=>{d("listOnboardingStores","channel",n),d("listOnboardingStores","state",e);let t="/api/v1/provider/onboarding/{channel}/{state}/stores".replace("{channel}",encodeURIComponent(String(n))).replace("{state}",encodeURIComponent(String(e))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={};y(r,{});let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},provisionOnboardingStore:async(n,e,s,t={})=>{d("provisionOnboardingStore","channel",n),d("provisionOnboardingStore","state",e),d("provisionOnboardingStore","provisionOnboardingStoreDto",s);let r="/api/v1/provider/onboarding/{channel}/{state}/provision".replace("{channel}",encodeURIComponent(String(n))).replace("{state}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},updateProviderSettings:async(n,e,s={})=>{d("updateProviderSettings","businessId",n),d("updateProviderSettings","updateProviderSettingsDto",e);let t="/api/v1/provider/{businessId}/settings".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...s},l={},u={};l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}}}},K=function(a){let n=Es(a);return{async createOnboardingSession(e,s,t){let r=await n.createOnboardingSession(e,s,t);return h(r,P.default,p,a)},async disconnectOnboarding(e,s,t){let r=await n.disconnectOnboarding(e,s,t);return h(r,P.default,p,a)},async getMenuIntegrations(e,s){let t=await n.getMenuIntegrations(e,s);return h(t,P.default,p,a)},async getOnboardingStatus(e,s,t){let r=await n.getOnboardingStatus(e,s,t);return h(r,P.default,p,a)},async listOnboardingStores(e,s,t){let r=await n.listOnboardingStores(e,s,t);return h(r,P.default,p,a)},async provisionOnboardingStore(e,s,t,r){let o=await n.provisionOnboardingStore(e,s,t,r);return h(o,P.default,p,a)},async updateProviderSettings(e,s,t){let r=await n.updateProviderSettings(e,s,t);return h(r,P.default,p,a)}}},va=function(a,n,e){let s=K(a);return{createOnboardingSession(t,r,o){return s.createOnboardingSession(t,r,o).then(i=>i(e,n))},disconnectOnboarding(t,r,o){return s.disconnectOnboarding(t,r,o).then(i=>i(e,n))},getMenuIntegrations(t,r){return s.getMenuIntegrations(t,r).then(o=>o(e,n))},getOnboardingStatus(t,r,o){return s.getOnboardingStatus(t,r,o).then(i=>i(e,n))},listOnboardingStores(t,r,o){return s.listOnboardingStores(t,r,o).then(i=>i(e,n))},provisionOnboardingStore(t,r,o,i){return s.provisionOnboardingStore(t,r,o,i).then(l=>l(e,n))},updateProviderSettings(t,r,o){return s.updateProviderSettings(t,r,o).then(i=>i(e,n))}}},gt=class extends O{createOnboardingSession(n,e,s){return K(this.configuration).createOnboardingSession(n,e,s).then(t=>t(this.axios,this.basePath))}disconnectOnboarding(n,e,s){return K(this.configuration).disconnectOnboarding(n,e,s).then(t=>t(this.axios,this.basePath))}getMenuIntegrations(n,e){return K(this.configuration).getMenuIntegrations(n,e).then(s=>s(this.axios,this.basePath))}getOnboardingStatus(n,e,s){return K(this.configuration).getOnboardingStatus(n,e,s).then(t=>t(this.axios,this.basePath))}listOnboardingStores(n,e,s){return K(this.configuration).listOnboardingStores(n,e,s).then(t=>t(this.axios,this.basePath))}provisionOnboardingStore(n,e,s,t){return K(this.configuration).provisionOnboardingStore(n,e,s,t).then(r=>r(this.axios,this.basePath))}updateProviderSettings(n,e,s){return K(this.configuration).updateProviderSettings(n,e,s).then(t=>t(this.axios,this.basePath))}},qs=function(a){return{receiptFooterGetConfig:async(n,e,s={})=>{d("receiptFooterGetConfig","businessId",n),d("receiptFooterGetConfig","xAppX",e);let t="/api/v1/receipt-footer/business/{businessId}".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};await x(l,a),e!=null&&(l["x-app-x"]=String(e)),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},receiptFooterUpsertConfig:async(n,e,s,t={})=>{d("receiptFooterUpsertConfig","businessId",n),d("receiptFooterUpsertConfig","xAppX",e),d("receiptFooterUpsertConfig","upsertReceiptFooterDto",s);let r="/api/v1/receipt-footer/business/{businessId}".replace("{businessId}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PUT",...i,...t},u={},c={};await x(u,a),e!=null&&(u["x-app-x"]=String(e)),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}}}},Se=function(a){let n=qs(a);return{async receiptFooterGetConfig(e,s,t){let r=await n.receiptFooterGetConfig(e,s,t);return h(r,P.default,p,a)},async receiptFooterUpsertConfig(e,s,t,r){let o=await n.receiptFooterUpsertConfig(e,s,t,r);return h(o,P.default,p,a)}}},Ta=function(a,n,e){let s=Se(a);return{receiptFooterGetConfig(t,r,o){return s.receiptFooterGetConfig(t,r,o).then(i=>i(e,n))},receiptFooterUpsertConfig(t,r,o,i){return s.receiptFooterUpsertConfig(t,r,o,i).then(l=>l(e,n))}}},ht=class extends O{receiptFooterGetConfig(n,e,s){return Se(this.configuration).receiptFooterGetConfig(n,e,s).then(t=>t(this.axios,this.basePath))}receiptFooterUpsertConfig(n,e,s,t){return Se(this.configuration).receiptFooterUpsertConfig(n,e,s,t).then(r=>r(this.axios,this.basePath))}},Us=function(a){return{cancelPlanV2:async(n,e,s,t={})=>{d("cancelPlanV2","businessId",n),d("cancelPlanV2","orderId",e),d("cancelPlanV2","refundId",s);let r="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/plan/{refundId}/cancel".replace("{businessId}",encodeURIComponent(String(n))).replace("{orderId}",encodeURIComponent(String(e))).replace("{refundId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"DELETE",...i,...t},u={};y(o,{});let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},createRefundPlanV2:async(n,e,s,t={})=>{d("createRefundPlanV2","businessId",n),d("createRefundPlanV2","orderId",e),d("createRefundPlanV2","createRefundPlanDto",s);let r="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/plan".replace("{businessId}",encodeURIComponent(String(n))).replace("{orderId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},getRefundPlanV2:async(n,e,s,t={})=>{d("getRefundPlanV2","businessId",n),d("getRefundPlanV2","orderId",e),d("getRefundPlanV2","status",s);let r="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/refunds".replace("{businessId}",encodeURIComponent(String(n))).replace("{orderId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},c={};s!==void 0&&(c.status=s),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},recordRefundPlanV2:async(n,e,s,t,r={})=>{d("recordRefundPlanV2","businessId",n),d("recordRefundPlanV2","orderId",e),d("recordRefundPlanV2","refundId",s),d("recordRefundPlanV2","completedStepDto",t);let o="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/plan/{refundId}/record".replace("{businessId}",encodeURIComponent(String(n))).replace("{orderId}",encodeURIComponent(String(e))).replace("{refundId}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"POST",...l,...r},c={},b={};c["Content-Type"]="application/json",y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},refundOnlineOrder:async(n,e,s,t={})=>{d("refundOnlineOrder","businessId",n),d("refundOnlineOrder","orderId",e),d("refundOnlineOrder","provider",s);let r="/api/v1/refunds/businesses/{businessId}/orders/{orderId}/refund-online".replace("{businessId}",encodeURIComponent(String(n))).replace("{orderId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={},c={};s!==void 0&&(c.provider=s),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},resolveRefundChoiceV2:async(n,e,s,t,r={})=>{d("resolveRefundChoiceV2","businessId",n),d("resolveRefundChoiceV2","orderId",e),d("resolveRefundChoiceV2","refundId",s),d("resolveRefundChoiceV2","resolveChoiceDto",t);let o="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/plan/{refundId}/resolve-choice".replace("{businessId}",encodeURIComponent(String(n))).replace("{orderId}",encodeURIComponent(String(e))).replace("{refundId}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let u={method:"POST",...l,...r},c={},b={};c["Content-Type"]="application/json",y(i,b);let R=l&&l.headers?l.headers:{};return u.headers={...c,...R,...r.headers},u.data=A(t,u,a),{url:g(i),options:u}},startProcessPlanV2:async(n,e,s,t={})=>{d("startProcessPlanV2","businessId",n),d("startProcessPlanV2","orderId",e),d("startProcessPlanV2","refundId",s);let r="/api/v2/refunds/businesses/{businessId}/orders/{orderId}/plan/{refundId}/start".replace("{businessId}",encodeURIComponent(String(n))).replace("{orderId}",encodeURIComponent(String(e))).replace("{refundId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},u={};y(o,{});let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}}}},G=function(a){let n=Us(a);return{async cancelPlanV2(e,s,t,r){let o=await n.cancelPlanV2(e,s,t,r);return h(o,P.default,p,a)},async createRefundPlanV2(e,s,t,r){let o=await n.createRefundPlanV2(e,s,t,r);return h(o,P.default,p,a)},async getRefundPlanV2(e,s,t,r){let o=await n.getRefundPlanV2(e,s,t,r);return h(o,P.default,p,a)},async recordRefundPlanV2(e,s,t,r,o){let i=await n.recordRefundPlanV2(e,s,t,r,o);return h(i,P.default,p,a)},async refundOnlineOrder(e,s,t,r){let o=await n.refundOnlineOrder(e,s,t,r);return h(o,P.default,p,a)},async resolveRefundChoiceV2(e,s,t,r,o){let i=await n.resolveRefundChoiceV2(e,s,t,r,o);return h(i,P.default,p,a)},async startProcessPlanV2(e,s,t,r){let o=await n.startProcessPlanV2(e,s,t,r);return h(o,P.default,p,a)}}},Ea=function(a,n,e){let s=G(a);return{cancelPlanV2(t,r,o,i){return s.cancelPlanV2(t,r,o,i).then(l=>l(e,n))},createRefundPlanV2(t,r,o,i){return s.createRefundPlanV2(t,r,o,i).then(l=>l(e,n))},getRefundPlanV2(t,r,o,i){return s.getRefundPlanV2(t,r,o,i).then(l=>l(e,n))},recordRefundPlanV2(t,r,o,i,l){return s.recordRefundPlanV2(t,r,o,i,l).then(u=>u(e,n))},refundOnlineOrder(t,r,o,i){return s.refundOnlineOrder(t,r,o,i).then(l=>l(e,n))},resolveRefundChoiceV2(t,r,o,i,l){return s.resolveRefundChoiceV2(t,r,o,i,l).then(u=>u(e,n))},startProcessPlanV2(t,r,o,i){return s.startProcessPlanV2(t,r,o,i).then(l=>l(e,n))}}},Pt=class extends O{cancelPlanV2(n,e,s,t){return G(this.configuration).cancelPlanV2(n,e,s,t).then(r=>r(this.axios,this.basePath))}createRefundPlanV2(n,e,s,t){return G(this.configuration).createRefundPlanV2(n,e,s,t).then(r=>r(this.axios,this.basePath))}getRefundPlanV2(n,e,s,t){return G(this.configuration).getRefundPlanV2(n,e,s,t).then(r=>r(this.axios,this.basePath))}recordRefundPlanV2(n,e,s,t,r){return G(this.configuration).recordRefundPlanV2(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}refundOnlineOrder(n,e,s,t){return G(this.configuration).refundOnlineOrder(n,e,s,t).then(r=>r(this.axios,this.basePath))}resolveRefundChoiceV2(n,e,s,t,r){return G(this.configuration).resolveRefundChoiceV2(n,e,s,t,r).then(o=>o(this.axios,this.basePath))}startProcessPlanV2(n,e,s,t){return G(this.configuration).startProcessPlanV2(n,e,s,t).then(r=>r(this.axios,this.basePath))}},ks=function(a){return{getEndOfDayReportV5:async(n,e,s,t,r,o,i={})=>{d("getEndOfDayReportV5","businessIds",n);let l="/api/v5/report/end-of-day",u=new URL(l,m),c;a&&(c=a.baseOptions);let b={method:"GET",...c,...i},R={},D={};e!==void 0&&(D.timeSpan=e),s!==void 0&&(D.start=s),t!==void 0&&(D.end=t),n&&(D.businessIds=n),r!==void 0&&(D.timezone=r),o!==void 0&&(D.provider=o),y(u,D);let f=c&&c.headers?c.headers:{};return b.headers={...R,...f,...i.headers},{url:g(u),options:b}},getSalesReport:async(n,e,s,t,r,o,i,l,u,c,b,R,D={})=>{d("getSalesReport","businessIds",n);let f="/api/v6/report/sales",S=new URL(f,m),I;a&&(I=a.baseOptions);let v={method:"GET",...I,...D},V={},T={};await x(V,a),e!==void 0&&(T.timeSpan=e),s!==void 0&&(T.start=s),t!==void 0&&(T.end=t),n&&(T.businessIds=n),r!==void 0&&(T.timezone=r),o&&(T.apps=o),i&&(T.parts=i),l!==void 0&&(T.breakdown=l),u!==void 0&&(T.language=u),c!==void 0&&(T.compareStart=c),b!==void 0&&(T.compareEnd=b),R!==void 0&&(T.baseline=R),y(S,T);let B=I&&I.headers?I.headers:{};return v.headers={...V,...B,...D.headers},{url:g(S),options:v}},sendReportEmailV5:async(n,e,s,t,r,o,i,l={})=>{d("sendReportEmailV5","businessIds",n),d("sendReportEmailV5","timezone",e),d("sendReportEmailV5","sendReportEmailDto",s);let u="/api/v5/report/email",c=new URL(u,m),b;a&&(b=a.baseOptions);let R={method:"POST",...b,...l},D={},f={};t!==void 0&&(f.timeSpan=t),r!==void 0&&(f.start=r),o!==void 0&&(f.end=o),n&&(f.businessIds=n),e!==void 0&&(f.timezone=e),i!==void 0&&(f.provider=i),D["Content-Type"]="application/json",y(c,f);let S=b&&b.headers?b.headers:{};return R.headers={...D,...S,...l.headers},R.data=A(s,R,a),{url:g(c),options:R}}}},le=function(a){let n=ks(a);return{async getEndOfDayReportV5(e,s,t,r,o,i,l){let u=await n.getEndOfDayReportV5(e,s,t,r,o,i,l);return h(u,P.default,p,a)},async getSalesReport(e,s,t,r,o,i,l,u,c,b,R,D,f){let S=await n.getSalesReport(e,s,t,r,o,i,l,u,c,b,R,D,f);return h(S,P.default,p,a)},async sendReportEmailV5(e,s,t,r,o,i,l,u){let c=await n.sendReportEmailV5(e,s,t,r,o,i,l,u);return h(c,P.default,p,a)}}},qa=function(a,n,e){let s=le(a);return{getEndOfDayReportV5(t,r,o,i,l,u,c){return s.getEndOfDayReportV5(t,r,o,i,l,u,c).then(b=>b(e,n))},getSalesReport(t,r,o,i,l,u,c,b,R,D,f,S,I){return s.getSalesReport(t,r,o,i,l,u,c,b,R,D,f,S,I).then(v=>v(e,n))},sendReportEmailV5(t,r,o,i,l,u,c,b){return s.sendReportEmailV5(t,r,o,i,l,u,c,b).then(R=>R(e,n))}}},bt=class extends O{getEndOfDayReportV5(n,e,s,t,r,o,i){return le(this.configuration).getEndOfDayReportV5(n,e,s,t,r,o,i).then(l=>l(this.axios,this.basePath))}getSalesReport(n,e,s,t,r,o,i,l,u,c,b,R,D){return le(this.configuration).getSalesReport(n,e,s,t,r,o,i,l,u,c,b,R,D).then(f=>f(this.axios,this.basePath))}sendReportEmailV5(n,e,s,t,r,o,i,l){return le(this.configuration).sendReportEmailV5(n,e,s,t,r,o,i,l).then(u=>u(this.axios,this.basePath))}},Ms=function(a){return{getEndOfDayReportForTill:async(n,e,s,t,r,o,i={})=>{d("getEndOfDayReportForTill","businessIds",n);let l="/api/v6/report/end-of-day",u=new URL(l,m),c;a&&(c=a.baseOptions);let b={method:"GET",...c,...i},R={},D={};await x(R,a),e!==void 0&&(D.timeSpan=e),s!==void 0&&(D.start=s),t!==void 0&&(D.end=t),n&&(D.businessIds=n),r!==void 0&&(D.timezone=r),o!==void 0&&(D.provider=o),y(u,D);let f=c&&c.headers?c.headers:{};return b.headers={...R,...f,...i.headers},{url:g(u),options:b}},sendEndOfDayReportForTill:async(n,e,s,t,r,o,i,l={})=>{d("sendEndOfDayReportForTill","businessIds",n),d("sendEndOfDayReportForTill","sendReportEmailDto",e);let u="/api/v6/report/email",c=new URL(u,m),b;a&&(b=a.baseOptions);let R={method:"POST",...b,...l},D={},f={};await x(D,a),s!==void 0&&(f.timeSpan=s),t!==void 0&&(f.start=t),r!==void 0&&(f.end=r),n&&(f.businessIds=n),o!==void 0&&(f.timezone=o),i!==void 0&&(f.provider=i),D["Content-Type"]="application/json",y(c,f);let S=b&&b.headers?b.headers:{};return R.headers={...D,...S,...l.headers},R.data=A(e,R,a),{url:g(c),options:R}}}},Oe=function(a){let n=Ms(a);return{async getEndOfDayReportForTill(e,s,t,r,o,i,l){let u=await n.getEndOfDayReportForTill(e,s,t,r,o,i,l);return h(u,P.default,p,a)},async sendEndOfDayReportForTill(e,s,t,r,o,i,l,u){let c=await n.sendEndOfDayReportForTill(e,s,t,r,o,i,l,u);return h(c,P.default,p,a)}}},Ua=function(a,n,e){let s=Oe(a);return{getEndOfDayReportForTill(t,r,o,i,l,u,c){return s.getEndOfDayReportForTill(t,r,o,i,l,u,c).then(b=>b(e,n))},sendEndOfDayReportForTill(t,r,o,i,l,u,c,b){return s.sendEndOfDayReportForTill(t,r,o,i,l,u,c,b).then(R=>R(e,n))}}},At=class extends O{getEndOfDayReportForTill(n,e,s,t,r,o,i){return Oe(this.configuration).getEndOfDayReportForTill(n,e,s,t,r,o,i).then(l=>l(this.axios,this.basePath))}sendEndOfDayReportForTill(n,e,s,t,r,o,i,l){return Oe(this.configuration).sendEndOfDayReportForTill(n,e,s,t,r,o,i,l).then(u=>u(this.axios,this.basePath))}},Bs=function(a){return{createReservation:async(n,e={})=>{d("createReservation","createReservationDto",n);let s="/api/v1/reservations",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},getReservationAvailability:async(n,e,s,t,r,o={})=>{d("getReservationAvailability","businessId",n),d("getReservationAvailability","date",e),d("getReservationAvailability","partySize",s);let i="/api/v1/reservations/availability",l=new URL(i,m),u;a&&(u=a.baseOptions);let c={method:"GET",...u,...o},b={},R={};await x(b,a),n!==void 0&&(R.businessId=n),e!==void 0&&(R.date=e),s!==void 0&&(R.partySize=s),t!==void 0&&(R.sectionId=t),r!==void 0&&(R.excludeReservationId=r),y(l,R);let D=u&&u.headers?u.headers:{};return c.headers={...b,...D,...o.headers},{url:g(l),options:c}},getReservationPolicy:async(n,e={})=>{d("getReservationPolicy","businessId",n);let s="/api/v1/reservations/policy",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),n!==void 0&&(l.businessId=n),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},linkReservationIntegration:async(n,e={})=>{d("linkReservationIntegration","linkReservationIntegrationDto",n);let s="/api/v1/reservations/link",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},listReservations:async(n,e,s,t={})=>{d("listReservations","businessId",n);let r="/api/v1/reservations",o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},u={},c={};await x(u,a),n!==void 0&&(c.businessId=n),e!==void 0&&(c.date=e),s!==void 0&&(c.status=s),y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},{url:g(o),options:l}},reservationInboundWebhook:async(n,e={})=>{d("reservationInboundWebhook","inboundReservationWebhookDto",n);let s="/api/v1/reservations/webhook/inbound",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},unlinkReservationIntegration:async(n,e={})=>{d("unlinkReservationIntegration","businessId",n);let s="/api/v1/reservations/link",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={},l={};await x(i,a),n!==void 0&&(l.businessId=n),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},updateReservation:async(n,e,s,t={})=>{d("updateReservation","id",n),d("updateReservation","businessId",e),d("updateReservation","updateReservationDto",s);let r="/api/v1/reservations/{id}".replace("{id}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},c={};await x(u,a),e!==void 0&&(c.businessId=e),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}},updateReservationPolicy:async(n,e={})=>{d("updateReservationPolicy","updateReservationPolicyDto",n);let s="/api/v1/reservations/policy",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"PATCH",...r,...e},i={},l={};await x(i,a),i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},updateReservationStatus:async(n,e,s,t={})=>{d("updateReservationStatus","id",n),d("updateReservationStatus","businessId",e),d("updateReservationStatus","updateReservationStatusDto",s);let r="/api/v1/reservations/{id}/status".replace("{id}",encodeURIComponent(String(n))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PATCH",...i,...t},u={},c={};await x(u,a),e!==void 0&&(c.businessId=e),u["Content-Type"]="application/json",y(o,c);let b=i&&i.headers?i.headers:{};return l.headers={...u,...b,...t.headers},l.data=A(s,l,a),{url:g(o),options:l}}}},_=function(a){let n=Bs(a);return{async createReservation(e,s){let t=await n.createReservation(e,s);return h(t,P.default,p,a)},async getReservationAvailability(e,s,t,r,o,i){let l=await n.getReservationAvailability(e,s,t,r,o,i);return h(l,P.default,p,a)},async getReservationPolicy(e,s){let t=await n.getReservationPolicy(e,s);return h(t,P.default,p,a)},async linkReservationIntegration(e,s){let t=await n.linkReservationIntegration(e,s);return h(t,P.default,p,a)},async listReservations(e,s,t,r){let o=await n.listReservations(e,s,t,r);return h(o,P.default,p,a)},async reservationInboundWebhook(e,s){let t=await n.reservationInboundWebhook(e,s);return h(t,P.default,p,a)},async unlinkReservationIntegration(e,s){let t=await n.unlinkReservationIntegration(e,s);return h(t,P.default,p,a)},async updateReservation(e,s,t,r){let o=await n.updateReservation(e,s,t,r);return h(o,P.default,p,a)},async updateReservationPolicy(e,s){let t=await n.updateReservationPolicy(e,s);return h(t,P.default,p,a)},async updateReservationStatus(e,s,t,r){let o=await n.updateReservationStatus(e,s,t,r);return h(o,P.default,p,a)}}},ka=function(a,n,e){let s=_(a);return{createReservation(t,r){return s.createReservation(t,r).then(o=>o(e,n))},getReservationAvailability(t,r,o,i,l,u){return s.getReservationAvailability(t,r,o,i,l,u).then(c=>c(e,n))},getReservationPolicy(t,r){return s.getReservationPolicy(t,r).then(o=>o(e,n))},linkReservationIntegration(t,r){return s.linkReservationIntegration(t,r).then(o=>o(e,n))},listReservations(t,r,o,i){return s.listReservations(t,r,o,i).then(l=>l(e,n))},reservationInboundWebhook(t,r){return s.reservationInboundWebhook(t,r).then(o=>o(e,n))},unlinkReservationIntegration(t,r){return s.unlinkReservationIntegration(t,r).then(o=>o(e,n))},updateReservation(t,r,o,i){return s.updateReservation(t,r,o,i).then(l=>l(e,n))},updateReservationPolicy(t,r){return s.updateReservationPolicy(t,r).then(o=>o(e,n))},updateReservationStatus(t,r,o,i){return s.updateReservationStatus(t,r,o,i).then(l=>l(e,n))}}},Rt=class extends O{createReservation(n,e){return _(this.configuration).createReservation(n,e).then(s=>s(this.axios,this.basePath))}getReservationAvailability(n,e,s,t,r,o){return _(this.configuration).getReservationAvailability(n,e,s,t,r,o).then(i=>i(this.axios,this.basePath))}getReservationPolicy(n,e){return _(this.configuration).getReservationPolicy(n,e).then(s=>s(this.axios,this.basePath))}linkReservationIntegration(n,e){return _(this.configuration).linkReservationIntegration(n,e).then(s=>s(this.axios,this.basePath))}listReservations(n,e,s,t){return _(this.configuration).listReservations(n,e,s,t).then(r=>r(this.axios,this.basePath))}reservationInboundWebhook(n,e){return _(this.configuration).reservationInboundWebhook(n,e).then(s=>s(this.axios,this.basePath))}unlinkReservationIntegration(n,e){return _(this.configuration).unlinkReservationIntegration(n,e).then(s=>s(this.axios,this.basePath))}updateReservation(n,e,s,t){return _(this.configuration).updateReservation(n,e,s,t).then(r=>r(this.axios,this.basePath))}updateReservationPolicy(n,e){return _(this.configuration).updateReservationPolicy(n,e).then(s=>s(this.axios,this.basePath))}updateReservationStatus(n,e,s,t){return _(this.configuration).updateReservationStatus(n,e,s,t).then(r=>r(this.axios,this.basePath))}},ws=function(a){return{clockIn:async(n,e,s={})=>{d("clockIn","businessId",n),d("clockIn","clockInRequestDto",e);let t="/api/v1/businesses/{businessId}/shifts/clock-in".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},clockOut:async(n,e,s={})=>{d("clockOut","businessId",n),d("clockOut","clockOutRequestDto",e);let t="/api/v1/businesses/{businessId}/shifts/clock-out".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PUT",...o,...s},l={},u={};l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},getTodayShift:async(n,e,s={})=>{d("getTodayShift","businessId",n),d("getTodayShift","employeeId",e);let t="/api/v1/businesses/{businessId}/shifts/today".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};e!==void 0&&(u.employeeId=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},lockTill:async(n,e={})=>{d("lockTill","businessId",n);let s="/api/v2/businesses/{businessId}/shifts/lock".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},unlock:async(n,e,s={})=>{d("unlock","businessId",n),d("unlock","unlockTerminalDto",e);let t="/api/v1/businesses/{businessId}/shifts/unlock".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},unlockTillWithPin:async(n,e,s={})=>{d("unlockTillWithPin","businessId",n),d("unlockTillWithPin","xPosPin",e);let t="/api/v2/businesses/{businessId}/shifts/unlock".replace("{businessId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};await x(l,a),e!=null&&(l["X-Pos-Pin"]=String(e)),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}}}},Y=function(a){let n=ws(a);return{async clockIn(e,s,t){let r=await n.clockIn(e,s,t);return h(r,P.default,p,a)},async clockOut(e,s,t){let r=await n.clockOut(e,s,t);return h(r,P.default,p,a)},async getTodayShift(e,s,t){let r=await n.getTodayShift(e,s,t);return h(r,P.default,p,a)},async lockTill(e,s){let t=await n.lockTill(e,s);return h(t,P.default,p,a)},async unlock(e,s,t){let r=await n.unlock(e,s,t);return h(r,P.default,p,a)},async unlockTillWithPin(e,s,t){let r=await n.unlockTillWithPin(e,s,t);return h(r,P.default,p,a)}}},Ma=function(a,n,e){let s=Y(a);return{clockIn(t,r,o){return s.clockIn(t,r,o).then(i=>i(e,n))},clockOut(t,r,o){return s.clockOut(t,r,o).then(i=>i(e,n))},getTodayShift(t,r,o){return s.getTodayShift(t,r,o).then(i=>i(e,n))},lockTill(t,r){return s.lockTill(t,r).then(o=>o(e,n))},unlock(t,r,o){return s.unlock(t,r,o).then(i=>i(e,n))},unlockTillWithPin(t,r,o){return s.unlockTillWithPin(t,r,o).then(i=>i(e,n))}}},xt=class extends O{clockIn(n,e,s){return Y(this.configuration).clockIn(n,e,s).then(t=>t(this.axios,this.basePath))}clockOut(n,e,s){return Y(this.configuration).clockOut(n,e,s).then(t=>t(this.axios,this.basePath))}getTodayShift(n,e,s){return Y(this.configuration).getTodayShift(n,e,s).then(t=>t(this.axios,this.basePath))}lockTill(n,e){return Y(this.configuration).lockTill(n,e).then(s=>s(this.axios,this.basePath))}unlock(n,e,s){return Y(this.configuration).unlock(n,e,s).then(t=>t(this.axios,this.basePath))}unlockTillWithPin(n,e,s){return Y(this.configuration).unlockTillWithPin(n,e,s).then(t=>t(this.axios,this.basePath))}},Fs=function(a){return{deactivateStation:async(n={})=>{let e="/api/v1/station/deactivate",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...n},o={};y(s,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},getStation:async(n={})=>{let e="/api/v1/station",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...n},o={};y(s,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},syncStation:async(n,e={})=>{d("syncStation","syncStationDto",n);let s="/api/v1/station/sync",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},ue=function(a){let n=Fs(a);return{async deactivateStation(e){let s=await n.deactivateStation(e);return h(s,P.default,p,a)},async getStation(e){let s=await n.getStation(e);return h(s,P.default,p,a)},async syncStation(e,s){let t=await n.syncStation(e,s);return h(t,P.default,p,a)}}},Ba=function(a,n,e){let s=ue(a);return{deactivateStation(t){return s.deactivateStation(t).then(r=>r(e,n))},getStation(t){return s.getStation(t).then(r=>r(e,n))},syncStation(t,r){return s.syncStation(t,r).then(o=>o(e,n))}}},ft=class extends O{deactivateStation(n){return ue(this.configuration).deactivateStation(n).then(e=>e(this.axios,this.basePath))}getStation(n){return ue(this.configuration).getStation(n).then(e=>e(this.axios,this.basePath))}syncStation(n,e){return ue(this.configuration).syncStation(n,e).then(s=>s(this.axios,this.basePath))}},Ls=function(a){return{connectTerminal:async(n,e={})=>{d("connectTerminal","connectTerminalDto",n);let s="/api/v1/terminal/connect",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},disconnectTerminal:async(n={})=>{let e="/api/v1/terminal/disconnect",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...n},o={};y(s,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},discoverTerminal:async(n,e={})=>{d("discoverTerminal","discoverTerminalDto",n);let s="/api/v1/terminal/discover",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},de=function(a){let n=Ls(a);return{async connectTerminal(e,s){let t=await n.connectTerminal(e,s);return h(t,P.default,p,a)},async disconnectTerminal(e){let s=await n.disconnectTerminal(e);return h(s,P.default,p,a)},async discoverTerminal(e,s){let t=await n.discoverTerminal(e,s);return h(t,P.default,p,a)}}},wa=function(a,n,e){let s=de(a);return{connectTerminal(t,r){return s.connectTerminal(t,r).then(o=>o(e,n))},disconnectTerminal(t){return s.disconnectTerminal(t).then(r=>r(e,n))},discoverTerminal(t,r){return s.discoverTerminal(t,r).then(o=>o(e,n))}}},Dt=class extends O{connectTerminal(n,e){return de(this.configuration).connectTerminal(n,e).then(s=>s(this.axios,this.basePath))}disconnectTerminal(n){return de(this.configuration).disconnectTerminal(n).then(e=>e(this.axios,this.basePath))}discoverTerminal(n,e){return de(this.configuration).discoverTerminal(n,e).then(s=>s(this.axios,this.basePath))}},_s=function(a){return{getMyVenue:async(n,e={})=>{d("getMyVenue","businessId",n);let s="/api/v3/user/venues/{businessId}".replace("{businessId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await x(i,a),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getUserBusinessV1:async(n={})=>{let e="/api/v1/user/business",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...n},o={},i={};await x(o,a),y(s,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},getUserBusinessV2:async(n={})=>{let e="/api/v2/user/business",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...n},o={},i={};await x(o,a),y(s,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},listMyVenues:async(n={})=>{let e="/api/v3/user/venues",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...n},o={},i={};await x(o,a),y(s,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}}}},ne=function(a){let n=_s(a);return{async getMyVenue(e,s){let t=await n.getMyVenue(e,s);return h(t,P.default,p,a)},async getUserBusinessV1(e){let s=await n.getUserBusinessV1(e);return h(s,P.default,p,a)},async getUserBusinessV2(e){let s=await n.getUserBusinessV2(e);return h(s,P.default,p,a)},async listMyVenues(e){let s=await n.listMyVenues(e);return h(s,P.default,p,a)}}},Fa=function(a,n,e){let s=ne(a);return{getMyVenue(t,r){return s.getMyVenue(t,r).then(o=>o(e,n))},getUserBusinessV1(t){return s.getUserBusinessV1(t).then(r=>r(e,n))},getUserBusinessV2(t){return s.getUserBusinessV2(t).then(r=>r(e,n))},listMyVenues(t){return s.listMyVenues(t).then(r=>r(e,n))}}},Ct=class extends O{getMyVenue(n,e){return ne(this.configuration).getMyVenue(n,e).then(s=>s(this.axios,this.basePath))}getUserBusinessV1(n){return ne(this.configuration).getUserBusinessV1(n).then(e=>e(this.axios,this.basePath))}getUserBusinessV2(n){return ne(this.configuration).getUserBusinessV2(n).then(e=>e(this.axios,this.basePath))}listMyVenues(n){return ne(this.configuration).listMyVenues(n).then(e=>e(this.axios,this.basePath))}},Ns=function(a){return{upsert:async(n,e={})=>{d("upsert","vendureSellerUpsertDto",n);let s="/api/v1/vendure/seller/upsert",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},Lt=function(a){let n=Ns(a);return{async upsert(e,s){let t=await n.upsert(e,s);return h(t,P.default,p,a)}}},La=function(a,n,e){let s=Lt(a);return{upsert(t,r){return s.upsert(t,r).then(o=>o(e,n))}}},St=class extends O{upsert(n,e){return Lt(this.configuration).upsert(n,e).then(s=>s(this.axios,this.basePath))}},Ws=function(a){return{createVivaAppToAppPayment:async(n,e={})=>{d("createVivaAppToAppPayment","createTerminalPaymentDto",n);let s="/api/v1/viva/a2a/create-payment",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},getVivaSession:async(n,e={})=>{d("getVivaSession","id",n);let s="/api/v1/viva/sessions/{id}".replace("{id}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},listVivaSessions:async(n,e,s,t,r,o,i,l={})=>{d("listVivaSessions","businessId",n);let u="/api/v1/viva/sessions",c=new URL(u,m),b;a&&(b=a.baseOptions);let R={method:"GET",...b,...l},D={},f={};n!==void 0&&(f.businessId=n),e!==void 0&&(f.page=e),s!==void 0&&(f.rowPerPage=s),t!==void 0&&(f.terminalId=t),r!==void 0&&(f.timeSpan=r),o!==void 0&&(f.start=o),i!==void 0&&(f.end=i),y(c,f);let S=b&&b.headers?b.headers:{};return R.headers={...D,...S,...l.headers},{url:g(c),options:R}},refundVivaPayment:async(n,e,s={})=>{d("refundVivaPayment","vivaA2aRefundDto",n);let t="/api/v1/viva/refund",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};e!=null&&(l["X-Idempotency-Key"]=String(e)),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(n,i,a),{url:g(r),options:i}}}},re=function(a){let n=Ws(a);return{async createVivaAppToAppPayment(e,s){let t=await n.createVivaAppToAppPayment(e,s);return h(t,P.default,p,a)},async getVivaSession(e,s){let t=await n.getVivaSession(e,s);return h(t,P.default,p,a)},async listVivaSessions(e,s,t,r,o,i,l,u){let c=await n.listVivaSessions(e,s,t,r,o,i,l,u);return h(c,P.default,p,a)},async refundVivaPayment(e,s,t){let r=await n.refundVivaPayment(e,s,t);return h(r,P.default,p,a)}}},_a=function(a,n,e){let s=re(a);return{createVivaAppToAppPayment(t,r){return s.createVivaAppToAppPayment(t,r).then(o=>o(e,n))},getVivaSession(t,r){return s.getVivaSession(t,r).then(o=>o(e,n))},listVivaSessions(t,r,o,i,l,u,c,b){return s.listVivaSessions(t,r,o,i,l,u,c,b).then(R=>R(e,n))},refundVivaPayment(t,r,o){return s.refundVivaPayment(t,r,o).then(i=>i(e,n))}}},Ot=class extends O{createVivaAppToAppPayment(n,e){return re(this.configuration).createVivaAppToAppPayment(n,e).then(s=>s(this.axios,this.basePath))}getVivaSession(n,e){return re(this.configuration).getVivaSession(n,e).then(s=>s(this.axios,this.basePath))}listVivaSessions(n,e,s,t,r,o,i,l){return re(this.configuration).listVivaSessions(n,e,s,t,r,o,i,l).then(u=>u(this.axios,this.basePath))}refundVivaPayment(n,e,s){return re(this.configuration).refundVivaPayment(n,e,s).then(t=>t(this.axios,this.basePath))}},js=function(a){return{handleAssignmentWebhook:async(n,e={})=>{d("handleAssignmentWebhook","supabaseAssignmentHookDto",n);let s="/api/webhook/add-employee-assignments",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},handleBusinessWebhook:async(n,e={})=>{d("handleBusinessWebhook","supabaseBusinessHookDto",n);let s="/api/webhook/add-business",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},handleFoodoraEvent:async(n,e={})=>{d("handleFoodoraEvent","orderUpdateDto",n);let s="/api/webhook/order/event",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},handleLoadEmployee:async(n,e={})=>{d("handleLoadEmployee","supabaseEmployeeHookDto",n);let s="/api/webhook/load-employee",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},handleNetsEvents:async(n,e={})=>{let s="/api/webhook/nets",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};n!=null&&(i["connectcloud-request-id"]=String(n)),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},handleNetsEventsV2:async(n,e={})=>{let s="/api/webhook/v2/nets",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};n!=null&&(i["connectcloud-request-id"]=String(n)),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},handleNetsSessionEvents:async(n,e={})=>{let s="/api/webhook/nets/payments",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};n!=null&&(i["connectcloud-request-id"]=String(n)),y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},handleNetsSessionEventsForClientToken:async(n,e,s={})=>{d("handleNetsSessionEventsForClientToken","clientToken",n);let t="/api/webhook/nets/payments/{clientToken}".replace("{clientToken}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};e!=null&&(l["connectcloud-request-id"]=String(e)),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},handlePreorderReminder:async(n,e={})=>{d("handlePreorderReminder","preOrderReminderDto",n);let s="/api/webhook/preorder-reminder",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},handleRoleWebhook:async(n,e={})=>{d("handleRoleWebhook","supabaseRoleHookDto",n);let s="/api/webhook/add-roles",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},handleShiftWebhook:async(n,e={})=>{d("handleShiftWebhook","supabaseShiftHookDto",n);let s="/api/webhook/add-employee-shifts",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},handleVivaEvents:async(n,e={})=>{d("handleVivaEvents","vivaWebhookPayloadDto",n);let s="/api/webhook/viva/verification",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},handleVivaSessionEvents:async(n,e={})=>{d("handleVivaSessionEvents","vivaWebhookPayloadDto",n);let s="/api/webhook/viva/payments",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},handleWebhook:async(n,e={})=>{let s="/api/webhook/ship-day",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},handleWoltDriveEventByCountry:async(n,e,s={})=>{d("handleWoltDriveEventByCountry","country",n),d("handleWoltDriveEventByCountry","woltDriveWebhookDto",e);let t="/api/webhook/wolt-drive/{country}/event".replace("{country}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},handleWorldlineEvents:async(n={})=>{let e="/api/webhook/worldline/events",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...n},o={};y(s,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},handleWorldlineSessionEvents:async(n={})=>{let e="/api/webhook/worldline/payments",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...n},o={};y(s,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},processDispatchTask:async(n,e,s={})=>{d("processDispatchTask","xCloudtasksTaskretrycount",n),d("processDispatchTask","processDispatchTaskDto",e);let t="/api/webhook/pos/order-dispatch/process",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};n!=null&&(l["x-cloudtasks-taskretrycount"]=String(n)),l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},processPosOrderActionsQueue:async(n,e={})=>{d("processPosOrderActionsQueue","processPosOrderActionsQueueDto",n);let s="/api/webhook/pos/order-actions/process",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},updateWoltProduct:async(n,e={})=>{d("updateWoltProduct","woltSwitchesTaskDto",n);let s="/api/webhook/wolt/product/edit",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},verifyVivaSessionWebhook:async(n={})=>{let e="/api/webhook/viva/payments",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...n},o={};y(s,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}},verifyVivaWebhook:async(n={})=>{let e="/api/webhook/viva/verification",s=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...n},o={};y(s,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...n.headers},{url:g(s),options:r}}}},q=function(a){let n=js(a);return{async handleAssignmentWebhook(e,s){let t=await n.handleAssignmentWebhook(e,s);return h(t,P.default,p,a)},async handleBusinessWebhook(e,s){let t=await n.handleBusinessWebhook(e,s);return h(t,P.default,p,a)},async handleFoodoraEvent(e,s){let t=await n.handleFoodoraEvent(e,s);return h(t,P.default,p,a)},async handleLoadEmployee(e,s){let t=await n.handleLoadEmployee(e,s);return h(t,P.default,p,a)},async handleNetsEvents(e,s){let t=await n.handleNetsEvents(e,s);return h(t,P.default,p,a)},async handleNetsEventsV2(e,s){let t=await n.handleNetsEventsV2(e,s);return h(t,P.default,p,a)},async handleNetsSessionEvents(e,s){let t=await n.handleNetsSessionEvents(e,s);return h(t,P.default,p,a)},async handleNetsSessionEventsForClientToken(e,s,t){let r=await n.handleNetsSessionEventsForClientToken(e,s,t);return h(r,P.default,p,a)},async handlePreorderReminder(e,s){let t=await n.handlePreorderReminder(e,s);return h(t,P.default,p,a)},async handleRoleWebhook(e,s){let t=await n.handleRoleWebhook(e,s);return h(t,P.default,p,a)},async handleShiftWebhook(e,s){let t=await n.handleShiftWebhook(e,s);return h(t,P.default,p,a)},async handleVivaEvents(e,s){let t=await n.handleVivaEvents(e,s);return h(t,P.default,p,a)},async handleVivaSessionEvents(e,s){let t=await n.handleVivaSessionEvents(e,s);return h(t,P.default,p,a)},async handleWebhook(e,s){let t=await n.handleWebhook(e,s);return h(t,P.default,p,a)},async handleWoltDriveEventByCountry(e,s,t){let r=await n.handleWoltDriveEventByCountry(e,s,t);return h(r,P.default,p,a)},async handleWorldlineEvents(e){let s=await n.handleWorldlineEvents(e);return h(s,P.default,p,a)},async handleWorldlineSessionEvents(e){let s=await n.handleWorldlineSessionEvents(e);return h(s,P.default,p,a)},async processDispatchTask(e,s,t){let r=await n.processDispatchTask(e,s,t);return h(r,P.default,p,a)},async processPosOrderActionsQueue(e,s){let t=await n.processPosOrderActionsQueue(e,s);return h(t,P.default,p,a)},async updateWoltProduct(e,s){let t=await n.updateWoltProduct(e,s);return h(t,P.default,p,a)},async verifyVivaSessionWebhook(e){let s=await n.verifyVivaSessionWebhook(e);return h(s,P.default,p,a)},async verifyVivaWebhook(e){let s=await n.verifyVivaWebhook(e);return h(s,P.default,p,a)}}},Na=function(a,n,e){let s=q(a);return{handleAssignmentWebhook(t,r){return s.handleAssignmentWebhook(t,r).then(o=>o(e,n))},handleBusinessWebhook(t,r){return s.handleBusinessWebhook(t,r).then(o=>o(e,n))},handleFoodoraEvent(t,r){return s.handleFoodoraEvent(t,r).then(o=>o(e,n))},handleLoadEmployee(t,r){return s.handleLoadEmployee(t,r).then(o=>o(e,n))},handleNetsEvents(t,r){return s.handleNetsEvents(t,r).then(o=>o(e,n))},handleNetsEventsV2(t,r){return s.handleNetsEventsV2(t,r).then(o=>o(e,n))},handleNetsSessionEvents(t,r){return s.handleNetsSessionEvents(t,r).then(o=>o(e,n))},handleNetsSessionEventsForClientToken(t,r,o){return s.handleNetsSessionEventsForClientToken(t,r,o).then(i=>i(e,n))},handlePreorderReminder(t,r){return s.handlePreorderReminder(t,r).then(o=>o(e,n))},handleRoleWebhook(t,r){return s.handleRoleWebhook(t,r).then(o=>o(e,n))},handleShiftWebhook(t,r){return s.handleShiftWebhook(t,r).then(o=>o(e,n))},handleVivaEvents(t,r){return s.handleVivaEvents(t,r).then(o=>o(e,n))},handleVivaSessionEvents(t,r){return s.handleVivaSessionEvents(t,r).then(o=>o(e,n))},handleWebhook(t,r){return s.handleWebhook(t,r).then(o=>o(e,n))},handleWoltDriveEventByCountry(t,r,o){return s.handleWoltDriveEventByCountry(t,r,o).then(i=>i(e,n))},handleWorldlineEvents(t){return s.handleWorldlineEvents(t).then(r=>r(e,n))},handleWorldlineSessionEvents(t){return s.handleWorldlineSessionEvents(t).then(r=>r(e,n))},processDispatchTask(t,r,o){return s.processDispatchTask(t,r,o).then(i=>i(e,n))},processPosOrderActionsQueue(t,r){return s.processPosOrderActionsQueue(t,r).then(o=>o(e,n))},updateWoltProduct(t,r){return s.updateWoltProduct(t,r).then(o=>o(e,n))},verifyVivaSessionWebhook(t){return s.verifyVivaSessionWebhook(t).then(r=>r(e,n))},verifyVivaWebhook(t){return s.verifyVivaWebhook(t).then(r=>r(e,n))}}},Vt=class extends O{handleAssignmentWebhook(n,e){return q(this.configuration).handleAssignmentWebhook(n,e).then(s=>s(this.axios,this.basePath))}handleBusinessWebhook(n,e){return q(this.configuration).handleBusinessWebhook(n,e).then(s=>s(this.axios,this.basePath))}handleFoodoraEvent(n,e){return q(this.configuration).handleFoodoraEvent(n,e).then(s=>s(this.axios,this.basePath))}handleLoadEmployee(n,e){return q(this.configuration).handleLoadEmployee(n,e).then(s=>s(this.axios,this.basePath))}handleNetsEvents(n,e){return q(this.configuration).handleNetsEvents(n,e).then(s=>s(this.axios,this.basePath))}handleNetsEventsV2(n,e){return q(this.configuration).handleNetsEventsV2(n,e).then(s=>s(this.axios,this.basePath))}handleNetsSessionEvents(n,e){return q(this.configuration).handleNetsSessionEvents(n,e).then(s=>s(this.axios,this.basePath))}handleNetsSessionEventsForClientToken(n,e,s){return q(this.configuration).handleNetsSessionEventsForClientToken(n,e,s).then(t=>t(this.axios,this.basePath))}handlePreorderReminder(n,e){return q(this.configuration).handlePreorderReminder(n,e).then(s=>s(this.axios,this.basePath))}handleRoleWebhook(n,e){return q(this.configuration).handleRoleWebhook(n,e).then(s=>s(this.axios,this.basePath))}handleShiftWebhook(n,e){return q(this.configuration).handleShiftWebhook(n,e).then(s=>s(this.axios,this.basePath))}handleVivaEvents(n,e){return q(this.configuration).handleVivaEvents(n,e).then(s=>s(this.axios,this.basePath))}handleVivaSessionEvents(n,e){return q(this.configuration).handleVivaSessionEvents(n,e).then(s=>s(this.axios,this.basePath))}handleWebhook(n,e){return q(this.configuration).handleWebhook(n,e).then(s=>s(this.axios,this.basePath))}handleWoltDriveEventByCountry(n,e,s){return q(this.configuration).handleWoltDriveEventByCountry(n,e,s).then(t=>t(this.axios,this.basePath))}handleWorldlineEvents(n){return q(this.configuration).handleWorldlineEvents(n).then(e=>e(this.axios,this.basePath))}handleWorldlineSessionEvents(n){return q(this.configuration).handleWorldlineSessionEvents(n).then(e=>e(this.axios,this.basePath))}processDispatchTask(n,e,s){return q(this.configuration).processDispatchTask(n,e,s).then(t=>t(this.axios,this.basePath))}processPosOrderActionsQueue(n,e){return q(this.configuration).processPosOrderActionsQueue(n,e).then(s=>s(this.axios,this.basePath))}updateWoltProduct(n,e){return q(this.configuration).updateWoltProduct(n,e).then(s=>s(this.axios,this.basePath))}verifyVivaSessionWebhook(n){return q(this.configuration).verifyVivaSessionWebhook(n).then(e=>e(this.axios,this.basePath))}verifyVivaWebhook(n){return q(this.configuration).verifyVivaWebhook(n).then(e=>e(this.axios,this.basePath))}},Ks=function(a){return{cancelPayment:async(n,e={})=>{d("cancelPayment","cancelWorldlinePaymentDto",n);let s="/api/v1/worldline/payment/cancel",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},createPayment:async(n,e={})=>{d("createPayment","createWorldlineTerminalPaymentDto",n);let s="/api/v1/worldline/payment",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}},createRefund:async(n,e={})=>{d("createRefund","createWorldlineRefundDto",n);let s="/api/v1/worldline/refund",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},ce=function(a){let n=Ks(a);return{async cancelPayment(e,s){let t=await n.cancelPayment(e,s);return h(t,P.default,p,a)},async createPayment(e,s){let t=await n.createPayment(e,s);return h(t,P.default,p,a)},async createRefund(e,s){let t=await n.createRefund(e,s);return h(t,P.default,p,a)}}},Wa=function(a,n,e){let s=ce(a);return{cancelPayment(t,r){return s.cancelPayment(t,r).then(o=>o(e,n))},createPayment(t,r){return s.createPayment(t,r).then(o=>o(e,n))},createRefund(t,r){return s.createRefund(t,r).then(o=>o(e,n))}}},It=class extends O{cancelPayment(n,e){return ce(this.configuration).cancelPayment(n,e).then(s=>s(this.axios,this.basePath))}createPayment(n,e){return ce(this.configuration).createPayment(n,e).then(s=>s(this.axios,this.basePath))}createRefund(n,e){return ce(this.configuration).createRefund(n,e).then(s=>s(this.axios,this.basePath))}},Gs=function(a){return{createPaymentRequest:async(n,e,s={})=>{d("createPaymentRequest","terminalId",n),d("createPaymentRequest","worldlinePaymentRequestDataDto",e);let t="/api/v2/worldline/internal/terminals/{terminalId}/requests/payment".replace("{terminalId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},createRefundRequest:async(n,e,s={})=>{d("createRefundRequest","terminalId",n),d("createRefundRequest","worldlineRefundRequestDataDto",e);let t="/api/v2/worldline/internal/terminals/{terminalId}/requests/refund".replace("{terminalId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...s},l={},u={};l["Content-Type"]="application/json",y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},i.data=A(e,i,a),{url:g(r),options:i}},getPaymentResult:async(n,e={})=>{d("getPaymentResult","operationId",n);let s="/api/v2/worldline/internal/operations/{operationId}/payment-result".replace("{operationId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},getTerminalAuthContext:async(n,e,s={})=>{d("getTerminalAuthContext","terminalId",n),d("getTerminalAuthContext","channel",e);let t="/api/v2/worldline/internal/terminals/{terminalId}/auth-context".replace("{terminalId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};e!==void 0&&(u.channel=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getTerminalContext:async(n,e,s={})=>{d("getTerminalContext","terminalId",n),d("getTerminalContext","channel",e);let t="/api/v2/worldline/internal/terminals/{terminalId}/context".replace("{terminalId}",encodeURIComponent(String(n))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...s},l={},u={};e!==void 0&&(u.channel=e),y(r,u);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...s.headers},{url:g(r),options:i}},getTerminalState:async(n,e={})=>{d("getTerminalState","terminalId",n);let s="/api/v2/worldline/internal/terminals/{terminalId}/state".replace("{terminalId}",encodeURIComponent(String(n))),t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},{url:g(t),options:o}},handleCallback:async(n,e={})=>{let s="/api/v2/worldline/internal/callback",t=new URL(s,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let u=r&&r.headers?r.headers:{};return o.headers={...i,...u,...e.headers},o.data=A(n,o,a),{url:g(t),options:o}}}},H=function(a){let n=Gs(a);return{async createPaymentRequest(e,s,t){let r=await n.createPaymentRequest(e,s,t);return h(r,P.default,p,a)},async createRefundRequest(e,s,t){let r=await n.createRefundRequest(e,s,t);return h(r,P.default,p,a)},async getPaymentResult(e,s){let t=await n.getPaymentResult(e,s);return h(t,P.default,p,a)},async getTerminalAuthContext(e,s,t){let r=await n.getTerminalAuthContext(e,s,t);return h(r,P.default,p,a)},async getTerminalContext(e,s,t){let r=await n.getTerminalContext(e,s,t);return h(r,P.default,p,a)},async getTerminalState(e,s){let t=await n.getTerminalState(e,s);return h(t,P.default,p,a)},async handleCallback(e,s){let t=await n.handleCallback(e,s);return h(t,P.default,p,a)}}},ja=function(a,n,e){let s=H(a);return{createPaymentRequest(t,r,o){return s.createPaymentRequest(t,r,o).then(i=>i(e,n))},createRefundRequest(t,r,o){return s.createRefundRequest(t,r,o).then(i=>i(e,n))},getPaymentResult(t,r){return s.getPaymentResult(t,r).then(o=>o(e,n))},getTerminalAuthContext(t,r,o){return s.getTerminalAuthContext(t,r,o).then(i=>i(e,n))},getTerminalContext(t,r,o){return s.getTerminalContext(t,r,o).then(i=>i(e,n))},getTerminalState(t,r){return s.getTerminalState(t,r).then(o=>o(e,n))},handleCallback(t,r){return s.handleCallback(t,r).then(o=>o(e,n))}}},vt=class extends O{createPaymentRequest(n,e,s){return H(this.configuration).createPaymentRequest(n,e,s).then(t=>t(this.axios,this.basePath))}createRefundRequest(n,e,s){return H(this.configuration).createRefundRequest(n,e,s).then(t=>t(this.axios,this.basePath))}getPaymentResult(n,e){return H(this.configuration).getPaymentResult(n,e).then(s=>s(this.axios,this.basePath))}getTerminalAuthContext(n,e,s){return H(this.configuration).getTerminalAuthContext(n,e,s).then(t=>t(this.axios,this.basePath))}getTerminalContext(n,e,s){return H(this.configuration).getTerminalContext(n,e,s).then(t=>t(this.axios,this.basePath))}getTerminalState(n,e){return H(this.configuration).getTerminalState(n,e).then(s=>s(this.axios,this.basePath))}handleCallback(n,e){return H(this.configuration).handleCallback(n,e).then(s=>s(this.axios,this.basePath))}};var _t=class{apiKey;username;password;accessToken;basePath;baseOptions;formDataCtor;constructor(n={}){this.apiKey=n.apiKey,this.username=n.username,this.password=n.password,this.accessToken=n.accessToken,this.basePath=n.basePath,this.baseOptions=n.baseOptions,this.formDataCtor=n.formDataCtor}isJsonMime(n){let e=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return n!==null&&(e.test(n)||n.toLowerCase()==="application/json-patch+json")}};var Ka={BIF:0,CLP:0,DJF:0,GNF:0,ISK:0,JPY:0,KMF:0,KRW:0,PYG:0,RWF:0,UGX:0,UYI:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,BHD:3,IQD:3,JOD:3,KWD:3,LYD:3,OMR:3,TND:3,CLF:4,UYW:4};function Ve(a){return Ka[a.toUpperCase()]??2}function pe(a){return 10**Ve(a)}function Ga(a,n){if(!Number.isFinite(a))return Math.round(a*pe(n));let[e,s="0"]=String(a).split("e");return Math.round(+`${e}e${Number(s)+Ve(n)}`)}function Hs(a,n){return a/pe(n)}function Ha(a,n,e={}){let s=Ve(a.currency);return new Intl.NumberFormat(n,{style:"currency",currency:a.currency.toUpperCase(),currencyDisplay:e.currencyDisplay??"symbol",signDisplay:e.signDisplay??"auto",minimumFractionDigits:s,maximumFractionDigits:s}).format(Hs(a.amount,a.currency))}function Qa(a,n){let e=n?.increment??0;if(a<=0||!Number.isFinite(a)||e<=1)return{actualAmount:a,roundedAmount:a,roundingDifference:0};let s=a%e,t=s*2<e?a-s:a+(e-s);return{actualAmount:a,roundedAmount:t,roundingDifference:t-a}}var $a={getMultiplier(a){return pe(a)}};var Ya={FI:{cashRounding:{increment:5},customerLanguages:["fi","sv","en"]},EE:{cashRounding:{increment:5},customerLanguages:["et","ru","en"]},SE:{cashRounding:{increment:100}},ES:{customerLanguages:["es","ca","en"]}};function za(a){if(typeof Intl.Locale=="function")try{return new Intl.Locale(`und-${a}`).maximize().language}catch{return}}function Xa(a){if(!a)return{cashRounding:null,customerLanguages:["en"]};let n=a.toUpperCase(),e=Ya[n]??{},s=za(n);return{cashRounding:e.cashRounding??null,customerLanguages:e.customerLanguages??(s&&s!=="und"?[...new Set([s,"en"])]:["en"])}}function Ja(a,n){let e=a.split("-")[0].toLowerCase();if(!n)return e;let s=`${e}-${n.toUpperCase()}`;return Intl.NumberFormat.supportedLocalesOf([s]).length>0?s:e}var me=Ie(require("lodash")),Nt=a=>me.default.orderBy(a,["rank","id"],["asc","asc"]),Za=a=>{let n=a.subcategories;return Array.isArray(n)?n:[]},ei=(a,n)=>({...a,colorCode:a.colorCode??n}),Qs=(a,n)=>me.default.compact(a.map(e=>n.get(e))),Wt=(a,n)=>a.flatMap(e=>{let s=n[e];return s?[e,...Wt(s.childIds,n)]:[]}),jt=(a,n)=>a.flatMap(e=>{let s=n[e];return s?.enabled?[e,...jt(s.childIds,n)]:[]}),ti=a=>{let n=new Map,e={},s={},t=Nt(a),r=t.map(i=>String(i.id)),o=(i=[],l)=>i.map(u=>{let c=String(u.id);return n.set(c,ei(u,l)),c});return t.forEach(i=>{let l=String(i.id),u=i.colorCode??i.custom_color_code,c=o(i.products,u),b=(D,f)=>{let S=String(D.id),I=o(D.products,u),V=Nt(Za(D)).map(T=>b(T,S));return s[S]={id:S,name:D.name,rank:D.rank??0,enabled:!!D.enabled,parentCategoryId:l,parentSubcategoryId:f,productIds:I,childIds:V},S},R=Nt(i.subcategories??[]).map(D=>b(D,null));e[l]={...i,productIds:c,subcategoryIds:R}}),{sortedCategories:t,productMap:n,categoriesById:e,subcategoriesById:s,categoryIdsOrder:r}},si=(a,n,e,s)=>{let t=n[a];if(!t)return[];let r=jt(t.subcategoryIds,e),o=me.default.uniq([...t.productIds,...r.flatMap(i=>e[i]?.productIds??[])]);return Qs(o,s)},ni=(a,n,e)=>{let s=n[a];if(!s)return[];let t=Wt(s.subcategoryIds,e);return me.default.compact(t.map(r=>e[r]))};var $s="2.0.5";0&&(module.exports={ABLYEVENT,ActionPasscodesApi,ActionPasscodesApiAxiosParamCreator,ActionPasscodesApiFactory,ActionPasscodesApiFp,ActionsEnum,AuthApi,AuthApiAxiosParamCreator,AuthApiFactory,AuthApiFp,AutonomousVehicleType,BusinessApi,BusinessApiAxiosParamCreator,BusinessApiFactory,BusinessApiFp,BusinessBackgroundType,BusinessEventAction,BusinessEventType,BusinessPaymentIntegrationType,BusinessScheduleApi,BusinessScheduleApiAxiosParamCreator,BusinessScheduleApiFactory,BusinessScheduleApiFp,BusinessStatusEnum,CashLogReason,CashLogType,CashManagementApi,CashManagementApiAxiosParamCreator,CashManagementApiFactory,CashManagementApiFp,CashManagementV6Api,CashManagementV6ApiAxiosParamCreator,CashManagementV6ApiFactory,CashManagementV6ApiFp,CashSessionStatus,CashSessionV2Api,CashSessionV2ApiAxiosParamCreator,CashSessionV2ApiFactory,CashSessionV2ApiFp,CashSignalType,CdsSessionRole,ChannelEnum,ChannelMenuApi,ChannelMenuApiAxiosParamCreator,ChannelMenuApiFactory,ChannelMenuApiFp,ChargeStatusEnum,CheckoutModelEnum,ConditionType,ConfigManagementApi,ConfigManagementApiAxiosParamCreator,ConfigManagementApiFactory,ConfigManagementApiFp,Configuration,ConsumptionType,CoursesApi,CoursesApiAxiosParamCreator,CoursesApiFactory,CoursesApiFp,CredentialType,CurrencyCode,CurrencyRegistry,DatabaseEventType,DayOfWeek,DeliveryCourierProvider,DeliveryIntentAction,DeliveryIntentApi,DeliveryIntentApiAxiosParamCreator,DeliveryIntentApiFactory,DeliveryIntentApiFp,DeliveryIntentStatus,DeliveryStatus,DeliveryType,DeviceType,DiscountScope,DiscountScopeType,DiscountSourceType,DiscountType,DisplayApi,DisplayApiAxiosParamCreator,DisplayApiFactory,DisplayApiFp,EmployeeRolesApi,EmployeeRolesApiAxiosParamCreator,EmployeeRolesApiFactory,EmployeeRolesApiFp,EmployeesApi,EmployeesApiAxiosParamCreator,EmployeesApiFactory,EmployeesApiFp,EntityType,EventTypeEnum,FeeType,FloorPlanApi,FloorPlanApiAxiosParamCreator,FloorPlanApiFactory,FloorPlanApiFp,GiftCardErrorCode,GiftcardApi,GiftcardApiAxiosParamCreator,GiftcardApiFactory,GiftcardApiFp,HistoryApi,HistoryApiAxiosParamCreator,HistoryApiFactory,HistoryApiFp,HistoryV6Api,HistoryV6ApiAxiosParamCreator,HistoryV6ApiFactory,HistoryV6ApiFp,IntegrationType,InvoiceCompaniesApi,InvoiceCompaniesApiAxiosParamCreator,InvoiceCompaniesApiFactory,InvoiceCompaniesApiFp,KDSApi,KDSApiAxiosParamCreator,KDSApiFactory,KDSApiFp,KDSEVENTNAME,KdsBulkReadySkipReason,KdsOrderType,KioskEventType,KioskLayout,KiosksApi,KiosksApiAxiosParamCreator,KiosksApiFactory,KiosksApiFp,KitchenItemStatus,KitchenStatus,LocatorType,LoyaltyActionKey,LoyaltyCatalogType,LoyaltyChannel,LoyaltyCommerceApi,LoyaltyCommerceApiAxiosParamCreator,LoyaltyCommerceApiFactory,LoyaltyCommerceApiFp,LoyaltyIntegerationsApi,LoyaltyIntegerationsApiAxiosParamCreator,LoyaltyIntegerationsApiFactory,LoyaltyIntegerationsApiFp,LoyaltyPerkStatus,LoyaltyRedemptionStatus,LoyaltyRestoreRequestStatus,LoyaltyRewardType,LoyaltyRuleActionType,LoyaltyRuleApplicationMode,LoyaltyRuleConditionType,LoyaltyRuleFulfillmentMode,LoyaltyRuleSelection,LoyaltyRuleStackingMode,LoyaltyRuleTargetType,MCPApi,MCPApiAxiosParamCreator,MCPApiFactory,MCPApiFp,MUNCHI_CORE_VERSION,MenuApi,MenuApiAxiosParamCreator,MenuApiFactory,MenuApiFp,MenuType,MunchiGiftCardApi,MunchiGiftCardApiAxiosParamCreator,MunchiGiftCardApiFactory,MunchiGiftCardApiFp,NetsRevertMethod,NotificationApi,NotificationApiAxiosParamCreator,NotificationApiFactory,NotificationApiFp,OperatingMode,OpsApi,OpsApiAxiosParamCreator,OpsApiFactory,OpsApiFp,OrderCollectionEnum,OrderCompletionApi,OrderCompletionApiAxiosParamCreator,OrderCompletionApiFactory,OrderCompletionApiFp,OrderFormat,OrderInternalApi,OrderInternalApiAxiosParamCreator,OrderInternalApiFactory,OrderInternalApiFp,OrderMode,OrderRefundStatus,OrderSource,OrderStatus,OrderStatusEnum,OrderType,OrderTypePOS,OrdersApi,OrdersApiAxiosParamCreator,OrdersApiFactory,OrdersApiFp,POSPermissionsApi,POSPermissionsApiAxiosParamCreator,POSPermissionsApiFactory,POSPermissionsApiFp,POSSessionApi,POSSessionApiAxiosParamCreator,POSSessionApiFactory,POSSessionApiFp,PayTerminalApi,PayTerminalApiAxiosParamCreator,PayTerminalApiFactory,PayTerminalApiFp,PayTerminalSessionRole,PaymentApi,PaymentApiAxiosParamCreator,PaymentApiFactory,PaymentApiFp,PaymentApp,PaymentCheckoutFlow,PaymentEventType,PaymentFailureCode,PaymentMethod,PaymentMethodsApi,PaymentMethodsApiAxiosParamCreator,PaymentMethodsApiFactory,PaymentMethodsApiFp,PaymentOutcomeStatus,PaymentProvider,PaymentProviderEnum,PaymentReportingBucket,PaymentSessionApi,PaymentSessionApiAxiosParamCreator,PaymentSessionApiFactory,PaymentSessionApiFp,PaymentSessionPurpose,PaymentSessionStatus,PaymentStatus,PaymentTypeEnum,PosBulkOrderStatus,PosBulkStatusSkipReason,PosDiscountTargetType,PosDiscountType,PosPaymentStatus,PosPaymentType,PosPermission,PosPermissionGroup,PosPermissionKind,PreorderStatus,PriceType,PrinterConnectionType,PrinterModelType,PrinterTypeEnum,PrintersApi,PrintersApiAxiosParamCreator,PrintersApiFactory,PrintersApiFp,ProductApi,ProductApiAxiosParamCreator,ProductApiFactory,ProductApiFp,ProductAvailability,ProductDetailLayout,PromotionDiscountType,ProviderApi,ProviderApiAxiosParamCreator,ProviderApiFactory,ProviderApiFp,ProviderEnum,PubSubAction,PubSubTarget,ReceiptFooterApi,ReceiptFooterApiAxiosParamCreator,ReceiptFooterApiFactory,ReceiptFooterApiFp,ReceiptFooterDocumentType,RecordManualStatus,RefundFailureReasonKey,RefundMode,RefundOverallStatus,RefundStatusEnum,RefundStepStatus,RefundsApi,RefundsApiAxiosParamCreator,RefundsApiFactory,RefundsApiFp,ReportApi,ReportApiAxiosParamCreator,ReportApiFactory,ReportApiFp,ReportApp,ReportBaselineLeftOut,ReportBreakdown,ReportChangeField,ReportLanguage,ReportPart,ReportV6Api,ReportV6ApiAxiosParamCreator,ReportV6ApiFactory,ReportV6ApiFp,ReservationSource,ReservationStatus,ReservationsApi,ReservationsApiAxiosParamCreator,ReservationsApiFactory,ReservationsApiFp,SYNCKEY,ScheduleType,ShiftTrackingApi,ShiftTrackingApiAxiosParamCreator,ShiftTrackingApiFactory,ShiftTrackingApiFp,ShipdayEventWebhook,ShipdayOrderStatus,SimplePaymentStatus,SourceType,StaffActivityActionType,StationType,StationsApi,StationsApiAxiosParamCreator,StationsApiFactory,StationsApiFp,Status,SystemProfileType,TableGroupType,TableShape,TableStatus,TerminalApi,TerminalApiAxiosParamCreator,TerminalApiFactory,TerminalApiFp,TerminalConnectionType,TimeSpan,TransactionEventType,TransactionType,Type,UpsellMode,UserApi,UserApiAxiosParamCreator,UserApiFactory,UserApiFp,VendureSellerApi,VendureSellerApiAxiosParamCreator,VendureSellerApiFactory,VendureSellerApiFp,VivaApi,VivaApiAxiosParamCreator,VivaApiFactory,VivaApiFp,VivaAppToAppPaymentMethod,VivaCurrencyCode,VivaErrorId,VivaEventId,VivaWebhookEventType,WebhookApi,WebhookApiAxiosParamCreator,WebhookApiFactory,WebhookApiFp,WorldlineApi,WorldlineApiAxiosParamCreator,WorldlineApiFactory,WorldlineApiFp,WorldlineInternalApi,WorldlineInternalApiAxiosParamCreator,WorldlineInternalApiFactory,WorldlineInternalApiFp,WorldlineOperationStatus,WorldlinePaymentResultStatus,WorldlineResponseStatus,WorldlineRevertMethod,buildPosCategoryIndex,cashRound,collectEnabledSubcategoryIdsDepthFirst,collectSubcategoryIdsDepthFirst,countryQuirks,formatMoney,fromMinor,getCategoryProductsIncludingSubcategories,getSubcategoriesForCategory,mapProductIdsToProducts,minorUnitDigits,minorUnitMultiplier,regionLocale,toMinor});