@munchi_oy/core 1.4.3 → 1.4.4

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 St=Object.create;var ee=Object.defineProperty;var Tt=Object.getOwnPropertyDescriptor;var qt=Object.getOwnPropertyNames;var Ut=Object.getPrototypeOf,Et=Object.prototype.hasOwnProperty;var Bt=(a,s)=>{for(var e in s)ee(a,e,{get:s[e],enumerable:!0})},Ge=(a,s,e,n)=>{if(s&&typeof s=="object"||typeof s=="function")for(let t of qt(s))!Et.call(a,t)&&t!==e&&ee(a,t,{get:()=>s[t],enumerable:!(n=Tt(s,t))||n.enumerable});return a};var $e=(a,s,e)=>(e=a!=null?St(Ut(a)):{},Ge(s||!a||!a.__esModule?ee(e,"default",{value:a,enumerable:!0}):e,a)),Mt=a=>Ge(ee({},"__esModule",{value:!0}),a);var Gn={};Bt(Gn,{AblyApi:()=>de,AblyApiAxiosParamCreator:()=>Ye,AblyApiFactory:()=>yn,AblyApiFp:()=>se,ActionEnum:()=>kt,ActionPasscodesApi:()=>pe,ActionPasscodesApiAxiosParamCreator:()=>Ze,ActionPasscodesApiFactory:()=>hn,ActionPasscodesApiFp:()=>Z,ActionsEnum:()=>Ts,AuthApi:()=>me,AuthApiAxiosParamCreator:()=>Je,AuthApiFactory:()=>Pn,AuthApiFp:()=>K,BusinessApi:()=>ge,BusinessApiAxiosParamCreator:()=>Xe,BusinessApiFactory:()=>An,BusinessApiFp:()=>T,BusinessBackgroundType:()=>Nt,BusinessEventAction:()=>Lt,BusinessEventType:()=>Ft,BusinessPaymentIntegrationType:()=>jt,BusinessStatusEnum:()=>Wt,CashLogReason:()=>Ht,CashLogType:()=>Kt,CashManagementApi:()=>ye,CashManagementApiAxiosParamCreator:()=>et,CashManagementApiFactory:()=>fn,CashManagementApiFp:()=>j,CashSessionDtoEnum:()=>Qt,CashSessionStatus:()=>Gt,ChannelEnum:()=>$t,CheckoutModelEnum:()=>zt,ConfigManagementApi:()=>he,ConfigManagementApiAxiosParamCreator:()=>tt,ConfigManagementApiFactory:()=>xn,ConfigManagementApiFp:()=>M,Configuration:()=>Qe,CurrencyCode:()=>Yt,CurrencyCodeEnum:()=>nn,DeliveryStatus:()=>Zt,DeliveryType:()=>Jt,DeviceStatus:()=>Xt,DiscountScope:()=>es,DiscountType:()=>ts,EmployeesApi:()=>Pe,EmployeesApiAxiosParamCreator:()=>st,EmployeesApiFactory:()=>Rn,EmployeesApiFp:()=>We,EntityType:()=>ss,EntityTypeEnum:()=>_t,EventTypeEnum:()=>wt,EventTypeIdEnum:()=>rn,GiftcardApi:()=>Ae,GiftcardApiAxiosParamCreator:()=>nt,GiftcardApiFactory:()=>bn,GiftcardApiFp:()=>ne,HistoryApi:()=>fe,HistoryApiAxiosParamCreator:()=>rt,HistoryApiFactory:()=>Cn,HistoryApiFp:()=>Q,IntegrationType:()=>ns,InvoiceCompaniesApi:()=>xe,InvoiceCompaniesApiAxiosParamCreator:()=>ot,InvoiceCompaniesApiFactory:()=>Dn,InvoiceCompaniesApiFp:()=>N,KioskEventType:()=>rs,KioskLayout:()=>os,KiosksApi:()=>Re,KiosksApiAxiosParamCreator:()=>at,KiosksApiFactory:()=>On,KiosksApiFp:()=>re,KitchenStatus:()=>as,LocatorType:()=>is,LoyaltyActionKey:()=>ls,LoyaltyIntegerationsApi:()=>be,LoyaltyIntegerationsApiAxiosParamCreator:()=>it,LoyaltyIntegerationsApiFactory:()=>Vn,LoyaltyIntegerationsApiFp:()=>W,MUNCHI_CORE_VERSION:()=>vt,MenuApi:()=>Ce,MenuApiAxiosParamCreator:()=>lt,MenuApiFactory:()=>In,MenuApiFp:()=>H,MerchantsApi:()=>De,MerchantsApiAxiosParamCreator:()=>ct,MerchantsApiFactory:()=>vn,MerchantsApiFp:()=>J,NameEnum:()=>Xs,NotificationApi:()=>Oe,NotificationApiAxiosParamCreator:()=>ut,NotificationApiFactory:()=>Sn,NotificationApiFp:()=>oe,OperatingMode:()=>cs,OperatingModeEnum:()=>Zs,OrderFormat:()=>us,OrderRefundStatus:()=>ds,OrderSource:()=>ps,OrderStatusEnum:()=>ms,OrderType:()=>gs,OrderTypePOS:()=>ys,OrderingCoApi:()=>Ve,OrderingCoApiAxiosParamCreator:()=>dt,OrderingCoApiFactory:()=>Tn,OrderingCoApiFp:()=>He,OrdersApi:()=>Ie,OrdersApiAxiosParamCreator:()=>pt,OrdersApiFactory:()=>qn,OrdersApiFp:()=>B,POSSessionApi:()=>ve,POSSessionApiAxiosParamCreator:()=>mt,POSSessionApiFactory:()=>Un,POSSessionApiFp:()=>ae,PaymentApi:()=>Se,PaymentApiAxiosParamCreator:()=>gt,PaymentApiFactory:()=>En,PaymentApiFp:()=>q,PaymentEventType:()=>hs,PaymentFailureCode:()=>Ps,PaymentMethod:()=>As,PaymentProvider:()=>fs,PaymentProviderEnum:()=>xs,PaymentStatus:()=>Rs,PaymentTypeEnum:()=>bs,PluginApi:()=>Te,PluginApiAxiosParamCreator:()=>yt,PluginApiFactory:()=>Bn,PluginApiFp:()=>ie,PosDiscountTargetType:()=>Cs,PosDiscountType:()=>Ds,PosPaymentStatus:()=>Os,PosPaymentType:()=>Vs,PosPermission:()=>Is,PreorderStatus:()=>vs,PrinterTypeEnum:()=>Ss,ProductApi:()=>qe,ProductApiAxiosParamCreator:()=>ht,ProductApiFactory:()=>Mn,ProductApiFp:()=>Ke,ProductAvailability:()=>qs,ProductDetailLayout:()=>Us,ProductDetailLayoutEnum:()=>Js,ProviderApi:()=>Ue,ProviderApiAxiosParamCreator:()=>Pt,ProviderApiFactory:()=>kn,ProviderApiFp:()=>X,ProviderEnum:()=>Es,RefundMode:()=>Bs,RefundOverallStatus:()=>Ms,RefundStatusEnum:()=>ks,RefundStepStatus:()=>_s,RefundsApi:()=>Ee,RefundsApiAxiosParamCreator:()=>At,RefundsApiFactory:()=>_n,RefundsApiFp:()=>_,ReportApi:()=>Be,ReportApiAxiosParamCreator:()=>ft,ReportApiFactory:()=>wn,ReportApiFp:()=>G,SYNCKEY:()=>ws,SelectedPaymentProviderEnum:()=>Ys,ShiftTrackingApi:()=>Me,ShiftTrackingApiAxiosParamCreator:()=>xt,ShiftTrackingApiFactory:()=>Nn,ShiftTrackingApiFp:()=>$,SimplePaymentStatus:()=>Ns,StaffActivityActionType:()=>Ls,StationType:()=>Fs,StationsApi:()=>ke,StationsApiAxiosParamCreator:()=>Rt,StationsApiFactory:()=>Ln,StationsApiFp:()=>z,Status:()=>js,StatusEnum:()=>Ws,TerminalApi:()=>_e,TerminalApiAxiosParamCreator:()=>bt,TerminalApiFactory:()=>Fn,TerminalApiFp:()=>Y,TerminalConnectionType:()=>Hs,TimeSpan:()=>Ks,TransactionEventType:()=>Qs,TransactionType:()=>Gs,Type:()=>$s,UpsellMode:()=>zs,UserApi:()=>we,UserApiAxiosParamCreator:()=>Ct,UserApiFactory:()=>jn,UserApiFp:()=>le,UsersApi:()=>Ne,UsersApiAxiosParamCreator:()=>Dt,UsersApiFactory:()=>Wn,UsersApiFp:()=>ce,VivaCurrencyCode:()=>en,VivaErrorId:()=>tn,VivaEventId:()=>sn,WebhookApi:()=>Le,WebhookApiAxiosParamCreator:()=>Ot,WebhookApiFactory:()=>Hn,WebhookApiFp:()=>E,WorldlineApi:()=>Fe,WorldlineApiAxiosParamCreator:()=>Vt,WorldlineApiFactory:()=>Kn,WorldlineApiFp:()=>L,WorldlineAuthorizationMethod:()=>on,WorldlineAuthorizationResponder:()=>an,WorldlineEntryMode:()=>ln,WorldlineEventType:()=>cn,WorldlineInternalApi:()=>je,WorldlineInternalApiAxiosParamCreator:()=>It,WorldlineInternalApiFactory:()=>Qn,WorldlineInternalApiFp:()=>w,WorldlineOutcomeDescription:()=>un,WorldlineResponseStatus:()=>dn,WorldlineTransactionOutcome:()=>pn,WorldlineTransactionType:()=>mn,WorldlineVerificationMethod:()=>gn});module.exports=Mt(Gn);var P=$e(require("axios"));var ze=$e(require("axios")),p="http://localhost".replace(/\/+$/,"");var V=class{constructor(s,e=p,n=ze.default){this.basePath=e;this.axios=n;s&&(this.configuration=s,this.basePath=s.basePath||this.basePath)}configuration},te=class extends Error{constructor(e,n){super(n);this.field=e;this.name="RequiredError"}};var m="https://example.com",u=function(a,s,e){if(e==null)throw new te(s,`Required parameter ${s} was null or undefined when calling ${a}.`)};var C=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 ue(a,s,e=""){s!=null&&(typeof s=="object"?Array.isArray(s)?s.forEach(n=>ue(a,n,e)):Object.keys(s).forEach(n=>ue(a,s[n],`${e}${e!==""?".":""}${n}`)):a.has(e)?a.append(e,s):a.set(e,s))}var g=function(a,...s){let e=new URLSearchParams(a.search);ue(e,s),a.search=e.toString()},f=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||""},y=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 kt={BusinessConfigUpdated:"BUSINESS_CONFIG_UPDATED",DataSyncRequired:"DATA_SYNC_REQUIRED",PosSessionUpdated:"POS_SESSION_UPDATED",BusinessDataUpdated:"BUSINESS_DATA_UPDATED"},_t={Product:"product",Menu:"menu",Category:"category",Extra:"extra",Option:"option",Role:"role",Shift:"shift",Employee:"employee",Config:"config",Business:"business",Suboption:"suboption",Site:"site"},wt={Earn:"earn",Redeem:"redeem",Collect:"collect",Credit:"credit",Debit:"debit",Claimed:"claimed"},Nt={Image:"image",Video:"video",Animation:"animation"},Lt={BusinessConfigUpdated:"BUSINESS_CONFIG_UPDATED",DataSyncRequired:"DATA_SYNC_REQUIRED",PosSessionUpdated:"POS_SESSION_UPDATED",BusinessDataUpdated:"BUSINESS_DATA_UPDATED"},Ft={StatusUpdated:"business:status-updated",MenuUpdated:"business:menu-updated",ConfigUpdated:"business:config-updated"},jt={GiftCard:"GiftCard"},Wt={Online:"ONLINE",Offline:"OFFLINE"},Ht={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"},Kt={Opening:"OPENING",Sale:"SALE",Refund:"REFUND",ManualIn:"MANUAL_IN",ManualOut:"MANUAL_OUT",Closing:"CLOSING"},Qt={SessionUpdated:"SESSION_UPDATED",SessionClosed:"SESSION_CLOSED",LogAdded:"LOG_ADDED"},Gt={Open:"OPEN",Counting:"COUNTING",Closed:"CLOSED"},$t={Wolt:"Wolt",MunchiOnline:"MunchiOnline",MunchiKiosk:"MunchiKiosk",MunchiPos:"MunchiPos",UberEats:"UberEats",Foodora:"Foodora",Bolt:"Bolt",MunchiKioskV2:"MunchiKioskV2",Kiosk:"Kiosk",WoltStorefront:"WoltStorefront"},zt={EqualSplit:"EQUAL_SPLIT",ItemSplit:"ITEM_SPLIT",Full:"FULL"},Yt={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"},Zt={None:"none",PickupEtaUpdated:"pickup_eta_updated",PickupStarted:"pickup_started",PickedUp:"picked_up",DropoffStarted:"dropoff_started",DropoffCompleted:"dropoff_completed",Delivered:"delivered",DropoffEtaUpdated:"dropoff_eta_updated"},Jt={SelfDelivery:"self_delivery",HomeDelivery:"home_delivery"},Xt={NUMBER_0:0,NUMBER_1:1,NUMBER_2:2,NUMBER_3:3,NUMBER_4:4,NUMBER_5:5,NUMBER_6:6,NUMBER_7:7},es={Item:"ITEM",Cart:"CART"},ts={Percentage:"PERCENTAGE",Fixed:"FIXED"},ss={Product:"product",Menu:"menu",Category:"category",Extra:"extra",Option:"option",Role:"role",Shift:"shift",Employee:"employee",Config:"config",Business:"business",Suboption:"suboption",Site:"site"},ns={Orders:"ORDERS",Menu:"MENU",Venue:"VENUE"},rs={StatusUpdated:"kiosk.status.updated",ConfigUpdated:"kiosk.config.updated"},os={Vertical:"VERTICAL",Horizontal:"HORIZONTAL"},as={NotApplicable:"not_applicable",Pending:"pending",OnHold:"on_hold",SentToOm:"sent_to_om",DispatchedToKitchen:"dispatched_to_kitchen",Completed:"completed",Cancelled:"cancelled"},is={Table:"table",Indicator:"indicator"},ls={Self:"self",GetUserById:"getUserById",SearchUser:"searchUser",AddPoints:"addPoints",GetAdminHistory:"getAdminHistory"},cs={Standard:"STANDARD",Team:"TEAM",Pinlock:"PINLOCK"},us={Open:"OPEN",Instant:"INSTANT"},ds={None:"NONE",Partial:"PARTIAL",Full:"FULL"},ps={Platform:"PLATFORM",Pos:"POS"},ms={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"},gs={Delivery:"delivery",PickUp:"pick_up",DineIn:"dine_in"},ys={DineIn:"dine_in",PickUp:"pick_up"},hs={StatusChanged:"payment:status-changed",RefundStatusChanged:"payment:refund-status-changed"},Ps={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",SystemProviderError:"system.provider_error",SystemUnknown:"system.unknown"},As={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"},fs={Stripe:"stripe",Viva:"viva",Nets:"nets",Worldline:"worldline"},xs={Stripe:"stripe",Viva:"viva",Nets:"nets",Worldline:"worldline"},Rs={Paid:"paid",Pending:"pending"},bs={Cash:"cash",Card:"card"},Cs={Order:"ORDER",LineItem:"LINE_ITEM",ItemSplitSeat:"ITEM_SPLIT_SEAT",ItemSplitAssignment:"ITEM_SPLIT_ASSIGNMENT",EqualSplitPart:"EQUAL_SPLIT_PART"},Ds={Percentage:"percentage",Fixed:"fixed"},Os={Unpaid:"unpaid",Paying:"paying",Paid:"paid"},Vs={Manual:"manual",Static:"static",NonStatic:"non_static",Common:"common"},Is={AccessPosApp:"Access::PosApp",PagePos:"Page::Pos",PageOpenOrders:"Page::OpenOrders",PageOrders:"Page::Orders",PageTransactions:"Page::Transactions",PageProducts:"Page::Products",PageReports:"Page::Reports",PageSettings:"Page::Settings",Cart:"Cart::*",CartAddItem:"Cart::AddItem",CartRemoveItem:"Cart::RemoveItem",CartApplyDiscount:"Cart::ApplyDiscount",CartVoidItem:"Cart::VoidItem",CartClear:"Cart::Clear",Transaction:"Transaction::*",TransactionView:"Transaction::View",TransactionRefund:"Transaction::Refund",Shift:"Shift::*",ShiftForceClockOut:"Shift::ForceClockOut",Settings:"Settings::*",SettingsEditProfile:"Settings::EditProfile",OpenOrdersDelete:"OpenOrders::Delete"},vs={Waiting:"waiting",Confirm:"confirm"},Ss={Kitchen:"KITCHEN",Bar:"BAR",Receipt:"RECEIPT",Cloud:"CLOUD"},Ts={Ticketing:"Ticketing",OrderChange:"OrderChange",NewOrder:"NewOrder",Printing:"Printing",PosOrderChange:"PosOrderChange",UpdateLoyaltyPoints:"UpdateLoyaltyPoints"},qs={Available:"AVAILABLE",UnavailableToday:"UNAVAILABLE_TODAY",UnavailableIndefinitely:"UNAVAILABLE_INDEFINITELY"},Us={Modal:"MODAL",Screen:"SCREEN"},Es={Wolt:"Wolt",MunchiOnline:"MunchiOnline",MunchiKiosk:"MunchiKiosk",MunchiPos:"MunchiPos",UberEats:"UberEats",Foodora:"Foodora",Bolt:"Bolt",MunchiKioskV2:"MunchiKioskV2",Kiosk:"Kiosk",WoltStorefront:"WoltStorefront"},Bs={Full:"FULL",Item:"ITEM"},Ms={Pending:"PENDING",InProgress:"IN_PROGRESS",ChoiceRequired:"CHOICE_REQUIRED",Completed:"COMPLETED",Failed:"FAILED"},ks={Pending:"PENDING",Success:"SUCCESS",Failed:"FAILED",Canceled:"CANCELED"},_s={Pending:"PENDING",InProgress:"in_progress",Failed:"FAILED",Completed:"COMPLETED"},ws={Menu:"MENU",Products:"PRODUCTS",Discounts:"DISCOUNTS",LoyaltySettings:"LOYALTY_SETTINGS",BusinessConfig:"BUSINESS_CONFIG",PosSession:"POS_SESSION",InvoiceCompanies:"INVOICE_COMPANIES",BusinessTax:"BUSINESS_TAX"},Ns={Pending:"PENDING",Success:"SUCCESS",Failed:"FAILED"},Ls={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"},Fs={Kiosk:"KIOSK",Pos:"POS"},js={Active:"ACTIVE",Inactive:"INACTIVE"},Ws={RequiresPaymentMethod:"requires_payment_method",RequiresConfirmation:"requires_confirmation",RequiresAction:"requires_action",Processing:"processing",RequiresCapture:"requires_capture",Canceled:"canceled",Succeeded:"succeeded"},Hs={Network:"NETWORK"},Ks={Custom:"CUSTOM",Day:"DAY",Week:"WEEK",Month:"MONTH",Year:"YEAR"},Qs={Earn:"earn",Redeem:"redeem",Collect:"collect",Credit:"credit",Debit:"debit",Claimed:"claimed"},Gs={Purchase:"purchase",PurchaseWithCashback:"purchaseWithCashback",Reversal:"reversal",ReturnOfGoods:"returnOfGoods",Bonus:"bonus",Authorization:"authorization",PreAuthorizationIncremental:"preAuthorizationIncremental",PreAuthorizationReversal:"preAuthorizationReversal",PreAuthorizationSaleCompletion:"preAuthorizationSaleCompletion",Deposit:"deposit",BalanceInquiry:"balanceInquiry"},$s={Instant:"instant",Preorder:"preorder"},zs={AfterAddProduct:"AfterAddProduct",BeforeCheckout:"BeforeCheckout",Disabled:"Disabled"},Ys={Stripe:"stripe",Viva:"viva",Nets:"nets",Worldline:"worldline"},Zs={Standard:"STANDARD",Team:"TEAM",Pinlock:"PINLOCK"},Js={Modal:"MODAL",Screen:"SCREEN"},Xs={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"},en={_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"},tn={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},sn={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},nn={_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"},rn={NUMBER_1796:1796,NUMBER_1797:1797,NUMBER_1798:1798,NUMBER_1799:1799,NUMBER_1802:1802,NUMBER_1803:1803,NUMBER_8193:8193,NUMBER_8194:8194},on={Online:"Online",Offline:"Offline"},an={Manual:"Manual",Unknown:"Unknown",Local:"Local",Base24:"Base24",Issuer:"Issuer",Network:"Network",Acquirer:"Acquirer",Other:"Other"},ln={Keyed:"Keyed",Magstripe:"Magstripe",Chip:"Chip",Contactless:"Contactless"},cn={PaymentCompleted:"PaymentCompleted",RefundCompleted:"RefundCompleted",CaptureCompleted:"CaptureCompleted",ReversalCompleted:"ReversalCompleted",ReadCardCompleted:"ReadCardCompleted",PrintCompleted:"PrintCompleted",DialogShown:"DialogShown"},un={None:"None",Aborted:"Aborted",UserCancel:"UserCancel",UserTimeout:"UserTimeout",CommunicationError:"CommunicationError",GenericError:"GenericError"},dn={Ok:"OK",NotFound:"NotFound",BadRequest:"BadRequest",Unauthorized:"Unauthorized",Forbidden:"Forbidden",TooManyRequests:"TooManyRequests",ServiceUnavailable:"ServiceUnavailable",InternalServerError:"InternalServerError"},pn={Approved:"Approved",Declined:"Declined",Cancelled:"Cancelled"},mn={Payment:"Payment",Refund:"Refund",Capture:"Capture",Reversal:"Reversal",Print:"Print"},gn={Failed:"Failed",OnlinePin:"OnlinePin",OfflinePin:"OfflinePin",Signature:"Signature",NoCvm:"NoCvm",ConsumerDevice:"ConsumerDevice",Skipped:"Skipped"},Ye=function(a){return{refreshConfig:async(s={})=>{let e="/api/v1/ably/refresh-config",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},requestSettings:async(s={})=>{let e="/api/v1/ably/request-settings",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}}}},se=function(a){let s=Ye(a);return{async refreshConfig(e){let n=await s.refreshConfig(e);return h(n,P.default,p,a)},async requestSettings(e){let n=await s.requestSettings(e);return h(n,P.default,p,a)}}},yn=function(a,s,e){let n=se(a);return{refreshConfig(t){return n.refreshConfig(t).then(r=>r(e,s))},requestSettings(t){return n.requestSettings(t).then(r=>r(e,s))}}},de=class extends V{refreshConfig(s){return se(this.configuration).refreshConfig(s).then(e=>e(this.axios,this.basePath))}requestSettings(s){return se(this.configuration).requestSettings(s).then(e=>e(this.axios,this.basePath))}},Ze=function(a){return{createActionPasscode:async(s,e={})=>{u("createActionPasscode","createActionPasscodeDto",s);let n="/api/v1/action-passcodes",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await C(i,a),i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},deleteActionPasscode:async(s,e={})=>{u("deleteActionPasscode","id",s);let n="/api/v1/action-passcodes/{id}".replace("{id}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={},l={};await C(i,a),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},updateActionPasscode:async(s,e,n={})=>{u("updateActionPasscode","id",s),u("updateActionPasscode","updateActionPasscodeDto",e);let t="/api/v1/action-passcodes/{id}".replace("{id}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...n},l={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}}}},Z=function(a){let s=Ze(a);return{async createActionPasscode(e,n){let t=await s.createActionPasscode(e,n);return h(t,P.default,p,a)},async deleteActionPasscode(e,n){let t=await s.deleteActionPasscode(e,n);return h(t,P.default,p,a)},async updateActionPasscode(e,n,t){let r=await s.updateActionPasscode(e,n,t);return h(r,P.default,p,a)}}},hn=function(a,s,e){let n=Z(a);return{createActionPasscode(t,r){return n.createActionPasscode(t,r).then(o=>o(e,s))},deleteActionPasscode(t,r){return n.deleteActionPasscode(t,r).then(o=>o(e,s))},updateActionPasscode(t,r,o){return n.updateActionPasscode(t,r,o).then(i=>i(e,s))}}},pe=class extends V{createActionPasscode(s,e){return Z(this.configuration).createActionPasscode(s,e).then(n=>n(this.axios,this.basePath))}deleteActionPasscode(s,e){return Z(this.configuration).deleteActionPasscode(s,e).then(n=>n(this.axios,this.basePath))}updateActionPasscode(s,e,n){return Z(this.configuration).updateActionPasscode(s,e,n).then(t=>t(this.axios,this.basePath))}},Je=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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},login:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},refreshToken:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},K=function(a){let s=Je(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)}}},Pn=function(a,s,e){let n=K(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))}}},me=class extends V{firebaseAuth(s){return K(this.configuration).firebaseAuth(s).then(e=>e(this.axios,this.basePath))}login(s,e){return K(this.configuration).login(s,e).then(n=>n(this.axios,this.basePath))}logout(s){return K(this.configuration).logout(s).then(e=>e(this.axios,this.basePath))}refreshToken(s,e){return K(this.configuration).refreshToken(s,e).then(n=>n(this.axios,this.basePath))}},Xe=function(a){return{createBusinessPermission:async(s,e,n={})=>{u("createBusinessPermission","businessId",s),u("createBusinessPermission","permissionDto",e);let t="/api/v1/business/{businessId}/permissions".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},deleteBusinessPermission:async(s,e,n={})=>{u("deleteBusinessPermission","permissionId",s),u("deleteBusinessPermission","businessId",e);let t="/api/v1/business/{businessId}/permissions/{permissionId}".replace("{permissionId}",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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessCategoriesByMenuId:async(s,e,n={})=>{u("getBusinessCategoriesByMenuId","businessId",s),u("getBusinessCategoriesByMenuId","businessCategoryBodyDto",e);let t="/api/v1/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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getBusinessCategoriesByMenuIdV2:async(s,e,n={})=>{u("getBusinessCategoriesByMenuIdV2","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getBusinessChannelConfig:async(s,e,n={})=>{u("getBusinessChannelConfig","businessId",s);let t="/api/v1/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={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessChannelConfigV2:async(s,e,n={})=>{u("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={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessConfig:async(s,e,n={})=>{u("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={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessConfigById:async(s,e,n={})=>{u("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={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessConfigByIdV2:async(s,e,n={})=>{u("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={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessConfiguration:async(s,e,n={})=>{u("getBusinessConfiguration","businessId",s);let t="/api/v1/business/{businessId}/internal/configs".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessMenuByType:async(s,e,n={})=>{u("getBusinessMenuByType","businessId",s),u("getBusinessMenuByType","menuType",e);let t="/api/v1/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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessMenuByTypeV2:async(s,e,n={})=>{u("getBusinessMenuByTypeV2","businessId",s),u("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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessMenuByTypeV3:async(s,e,n={})=>{u("getBusinessMenuByTypeV3","businessId",s),u("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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessMenuByTypeV4:async(s,e,n={})=>{u("getBusinessMenuByTypeV4","businessId",s),u("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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessProviderStatus:async(s,e={})=>{u("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 C(i,a),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getBusinessProviderStatusExternal:async(s,e,n={})=>{u("getBusinessProviderStatusExternal","businessId",s);let t="/api/v1/business/{businessId}/provider/status/external".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},c={};await C(l,a),e!==void 0&&(c.channel=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessTax:async(s={})=>{let e="/api/v1/business/tax",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={},i={};await C(o,a),g(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},getSingleBusinessProviderStatus:async(s,e,n,t={})=>{u("getSingleBusinessProviderStatus","businessId",s),u("getSingleBusinessProviderStatus","provider",e),u("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},c={},d={};await C(c,a),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},getUnifiedDiscounts:async(s,e={})=>{u("getUnifiedDiscounts","businessId",s);let n="/api/v1/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 C(i,a),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},setBusinessStatus:async(s,e,n={})=>{u("setBusinessStatus","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},setBusinessStatusSchedule:async(s,e,n={})=>{u("setBusinessStatusSchedule","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},updateBusinessPermission:async(s,e,n,t={})=>{u("updateBusinessPermission","permissionId",s),u("updateBusinessPermission","businessId",e),u("updateBusinessPermission","updatePermissionDto",n);let r="/api/v1/business/{businessId}/permissions/{permissionId}".replace("{permissionId}",encodeURIComponent(String(s))).replace("{businessId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PUT",...i,...t},c={},d={};await C(c,a),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},validateBusiness:async(s,e={})=>{u("validateBusiness","businessId",s);let n="/api/v1/business/{businessId}/validate".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await C(i,a),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}}}},T=function(a){let s=Xe(a);return{async createBusinessPermission(e,n,t){let r=await s.createBusinessPermission(e,n,t);return h(r,P.default,p,a)},async deleteBusinessPermission(e,n,t){let r=await s.deleteBusinessPermission(e,n,t);return h(r,P.default,p,a)},async getBusinessCategoriesByMenuId(e,n,t){let r=await s.getBusinessCategoriesByMenuId(e,n,t);return h(r,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 getBusinessChannelConfig(e,n,t){let r=await s.getBusinessChannelConfig(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 getBusinessConfiguration(e,n,t){let r=await s.getBusinessConfiguration(e,n,t);return h(r,P.default,p,a)},async getBusinessMenuByType(e,n,t){let r=await s.getBusinessMenuByType(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 getBusinessProviderStatusExternal(e,n,t){let r=await s.getBusinessProviderStatusExternal(e,n,t);return h(r,P.default,p,a)},async getBusinessTax(e){let n=await s.getBusinessTax(e);return h(n,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 getUnifiedDiscounts(e,n){let t=await s.getUnifiedDiscounts(e,n);return h(t,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)},async updateBusinessPermission(e,n,t,r){let o=await s.updateBusinessPermission(e,n,t,r);return h(o,P.default,p,a)},async validateBusiness(e,n){let t=await s.validateBusiness(e,n);return h(t,P.default,p,a)}}},An=function(a,s,e){let n=T(a);return{createBusinessPermission(t,r,o){return n.createBusinessPermission(t,r,o).then(i=>i(e,s))},deleteBusinessPermission(t,r,o){return n.deleteBusinessPermission(t,r,o).then(i=>i(e,s))},getBusinessCategoriesByMenuId(t,r,o){return n.getBusinessCategoriesByMenuId(t,r,o).then(i=>i(e,s))},getBusinessCategoriesByMenuIdV2(t,r,o){return n.getBusinessCategoriesByMenuIdV2(t,r,o).then(i=>i(e,s))},getBusinessChannelConfig(t,r,o){return n.getBusinessChannelConfig(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))},getBusinessConfiguration(t,r,o){return n.getBusinessConfiguration(t,r,o).then(i=>i(e,s))},getBusinessMenuByType(t,r,o){return n.getBusinessMenuByType(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))},getBusinessProviderStatusExternal(t,r,o){return n.getBusinessProviderStatusExternal(t,r,o).then(i=>i(e,s))},getBusinessTax(t){return n.getBusinessTax(t).then(r=>r(e,s))},getSingleBusinessProviderStatus(t,r,o,i){return n.getSingleBusinessProviderStatus(t,r,o,i).then(l=>l(e,s))},getUnifiedDiscounts(t,r){return n.getUnifiedDiscounts(t,r).then(o=>o(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))},updateBusinessPermission(t,r,o,i){return n.updateBusinessPermission(t,r,o,i).then(l=>l(e,s))},validateBusiness(t,r){return n.validateBusiness(t,r).then(o=>o(e,s))}}},ge=class extends V{createBusinessPermission(s,e,n){return T(this.configuration).createBusinessPermission(s,e,n).then(t=>t(this.axios,this.basePath))}deleteBusinessPermission(s,e,n){return T(this.configuration).deleteBusinessPermission(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessCategoriesByMenuId(s,e,n){return T(this.configuration).getBusinessCategoriesByMenuId(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessCategoriesByMenuIdV2(s,e,n){return T(this.configuration).getBusinessCategoriesByMenuIdV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessChannelConfig(s,e,n){return T(this.configuration).getBusinessChannelConfig(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessChannelConfigV2(s,e,n){return T(this.configuration).getBusinessChannelConfigV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfig(s,e,n){return T(this.configuration).getBusinessConfig(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfigById(s,e,n){return T(this.configuration).getBusinessConfigById(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfigByIdV2(s,e,n){return T(this.configuration).getBusinessConfigByIdV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfiguration(s,e,n){return T(this.configuration).getBusinessConfiguration(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByType(s,e,n){return T(this.configuration).getBusinessMenuByType(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV2(s,e,n){return T(this.configuration).getBusinessMenuByTypeV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV3(s,e,n){return T(this.configuration).getBusinessMenuByTypeV3(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV4(s,e,n){return T(this.configuration).getBusinessMenuByTypeV4(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessProviderStatus(s,e){return T(this.configuration).getBusinessProviderStatus(s,e).then(n=>n(this.axios,this.basePath))}getBusinessProviderStatusExternal(s,e,n){return T(this.configuration).getBusinessProviderStatusExternal(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessTax(s){return T(this.configuration).getBusinessTax(s).then(e=>e(this.axios,this.basePath))}getSingleBusinessProviderStatus(s,e,n,t){return T(this.configuration).getSingleBusinessProviderStatus(s,e,n,t).then(r=>r(this.axios,this.basePath))}getUnifiedDiscounts(s,e){return T(this.configuration).getUnifiedDiscounts(s,e).then(n=>n(this.axios,this.basePath))}setBusinessStatus(s,e,n){return T(this.configuration).setBusinessStatus(s,e,n).then(t=>t(this.axios,this.basePath))}setBusinessStatusSchedule(s,e,n){return T(this.configuration).setBusinessStatusSchedule(s,e,n).then(t=>t(this.axios,this.basePath))}updateBusinessPermission(s,e,n,t){return T(this.configuration).updateBusinessPermission(s,e,n,t).then(r=>r(this.axios,this.basePath))}validateBusiness(s,e){return T(this.configuration).validateBusiness(s,e).then(n=>n(this.axios,this.basePath))}},et=function(a){return{create:async(s,e,n={})=>{u("create","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getCashSession:async(s,e={})=>{u("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={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getSessionReport:async(s,e,n={})=>{u("getSessionReport","businessId",s),u("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={};g(r,{});let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},recordCashLog:async(s,e,n={})=>{u("recordCashLog","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},sendSessionReport:async(s,e,n,t={})=>{u("sendSessionReport","businessId",s),u("sendSessionReport","sessionId",e),u("sendSessionReport","sendCashReportDto",n);let r="/api/v1/cash-management/{businessId}/sessions/{sessionId}/send-report".replace("{businessId}",encodeURIComponent(String(s))).replace("{sessionId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},c={},d={};c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}}}},j=function(a){let s=et(a);return{async create(e,n,t){let r=await s.create(e,n,t);return h(r,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){let o=await s.sendSessionReport(e,n,t,r);return h(o,P.default,p,a)}}},fn=function(a,s,e){let n=j(a);return{create(t,r,o){return n.create(t,r,o).then(i=>i(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){return n.sendSessionReport(t,r,o,i).then(l=>l(e,s))}}},ye=class extends V{create(s,e,n){return j(this.configuration).create(s,e,n).then(t=>t(this.axios,this.basePath))}getCashSession(s,e){return j(this.configuration).getCashSession(s,e).then(n=>n(this.axios,this.basePath))}getSessionReport(s,e,n){return j(this.configuration).getSessionReport(s,e,n).then(t=>t(this.axios,this.basePath))}recordCashLog(s,e,n){return j(this.configuration).recordCashLog(s,e,n).then(t=>t(this.axios,this.basePath))}sendSessionReport(s,e,n,t){return j(this.configuration).sendSessionReport(s,e,n,t).then(r=>r(this.axios,this.basePath))}},tt=function(a){return{configManualSync:async(s,e,n={})=>{u("configManualSync","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},configRemovePaymentOption:async(s,e,n,t={})=>{u("configRemovePaymentOption","businessId",s),u("configRemovePaymentOption","id",e),u("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},c={},d={};await C(c,a),n!=null&&(c["x-app-x"]=String(n)),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},configUpsertBusiness:async(s,e,n={})=>{u("configUpsertBusiness","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},configUpsertChannelConfig:async(s,e,n,t={})=>{u("configUpsertChannelConfig","businessId",s),u("configUpsertChannelConfig","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},configUpsertGiftCard:async(s,e,n,t={})=>{u("configUpsertGiftCard","businessId",s),u("configUpsertGiftCard","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},configUpsertLoyalty:async(s,e,n={})=>{u("configUpsertLoyalty","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},configUpsertNets:async(s,e,n,t={})=>{u("configUpsertNets","businessId",s),u("configUpsertNets","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},configUpsertPaymentOptions:async(s,e,n,t={})=>{u("configUpsertPaymentOptions","businessId",s),u("configUpsertPaymentOptions","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},configUpsertStripe:async(s,e,n,t={})=>{u("configUpsertStripe","businessId",s),u("configUpsertStripe","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},configUpsertViva:async(s,e,n,t={})=>{u("configUpsertViva","businessId",s),u("configUpsertViva","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}}}},M=function(a){let s=tt(a);return{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 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 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)}}},xn=function(a,s,e){let n=M(a);return{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))},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))},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))}}},he=class extends V{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))}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))}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))}},st=function(a){return{createAssignment:async(s,e,n={})=>{u("createAssignment","businessId",s),u("createAssignment","createEmployeeAssignmentDto",e);let t="/api/v1/businesses/{businessId}/assignments".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}}}},We=function(a){let s=st(a);return{async createAssignment(e,n,t){let r=await s.createAssignment(e,n,t);return h(r,P.default,p,a)}}},Rn=function(a,s,e){let n=We(a);return{createAssignment(t,r,o){return n.createAssignment(t,r,o).then(i=>i(e,s))}}},Pe=class extends V{createAssignment(s,e,n){return We(this.configuration).createAssignment(s,e,n).then(t=>t(this.axios,this.basePath))}},nt=function(a){return{redeemGiftCard:async(s,e={})=>{u("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={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},validateGiftCard:async(s,e={})=>{u("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={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},ne=function(a){let s=nt(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)}}},bn=function(a,s,e){let n=ne(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))}}},Ae=class extends V{redeemGiftCard(s,e){return ne(this.configuration).redeemGiftCard(s,e).then(n=>n(this.axios,this.basePath))}validateGiftCard(s,e){return ne(this.configuration).validateGiftCard(s,e).then(n=>n(this.axios,this.basePath))}},rt=function(a){return{getInternalOrderHistoryOnline:async(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O={})=>{u("getInternalOrderHistoryOnline","businessIds",s);let I="/api/v1/history/internal/orders",S=new URL(I,m),v;a&&(v=a.baseOptions);let U={method:"GET",...v,...O},k={},R={};e!==void 0&&(R.timeSpan=e),n!==void 0&&(R.start=n),t!==void 0&&(R.end=t),s&&(R.businessIds=s),r!==void 0&&(R.page=r),o!==void 0&&(R.rowPerPage=o),i&&(R.provider=i),l&&(R.paymentType=l),c&&(R.orderStatus=c),d&&(R.paymentStatus=d),A&&(R.orderType=A),x&&(R.paymentTypePos=x),b!==void 0&&(R.invoiceCompanyId=b),D!==void 0&&(R.timezone=D),g(S,R);let F=v&&v.headers?v.headers:{};return U.headers={...k,...F,...O.headers},{url:y(S),options:U}},getOrderHistoryOnline:async(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O={})=>{u("getOrderHistoryOnline","businessIds",s);let I="/api/v1/history/orders",S=new URL(I,m),v;a&&(v=a.baseOptions);let U={method:"GET",...v,...O},k={},R={};e!==void 0&&(R.timeSpan=e),n!==void 0&&(R.start=n),t!==void 0&&(R.end=t),s&&(R.businessIds=s),r!==void 0&&(R.page=r),o!==void 0&&(R.rowPerPage=o),i&&(R.provider=i),l&&(R.paymentType=l),c&&(R.orderStatus=c),d&&(R.paymentStatus=d),A&&(R.orderType=A),x&&(R.paymentTypePos=x),b!==void 0&&(R.invoiceCompanyId=b),D!==void 0&&(R.timezone=D),g(S,R);let F=v&&v.headers?v.headers:{};return U.headers={...k,...F,...O.headers},{url:y(S),options:U}},getOrderHistoryPOSV5:async(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O={})=>{u("getOrderHistoryPOSV5","businessIds",s);let I="/api/v5/history/orders/pos",S=new URL(I,m),v;a&&(v=a.baseOptions);let U={method:"GET",...v,...O},k={},R={};await C(k,a),e!==void 0&&(R.timeSpan=e),n!==void 0&&(R.start=n),t!==void 0&&(R.end=t),s&&(R.businessIds=s),r!==void 0&&(R.page=r),o!==void 0&&(R.rowPerPage=o),i&&(R.provider=i),l&&(R.paymentType=l),c&&(R.orderStatus=c),d&&(R.paymentStatus=d),A&&(R.orderType=A),x&&(R.paymentTypePos=x),b!==void 0&&(R.invoiceCompanyId=b),D!==void 0&&(R.timezone=D),g(S,R);let F=v&&v.headers?v.headers:{};return U.headers={...k,...F,...O.headers},{url:y(S),options:U}},getOrderHistoryPOSV5Internal:async(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O={})=>{u("getOrderHistoryPOSV5Internal","businessIds",s);let I="/api/v5/history/internal/orders/pos",S=new URL(I,m),v;a&&(v=a.baseOptions);let U={method:"GET",...v,...O},k={},R={};await C(k,a),e!==void 0&&(R.timeSpan=e),n!==void 0&&(R.start=n),t!==void 0&&(R.end=t),s&&(R.businessIds=s),r!==void 0&&(R.page=r),o!==void 0&&(R.rowPerPage=o),i&&(R.provider=i),l&&(R.paymentType=l),c&&(R.orderStatus=c),d&&(R.paymentStatus=d),A&&(R.orderType=A),x&&(R.paymentTypePos=x),b!==void 0&&(R.invoiceCompanyId=b),D!==void 0&&(R.timezone=D),g(S,R);let F=v&&v.headers?v.headers:{};return U.headers={...k,...F,...O.headers},{url:y(S),options:U}}}},Q=function(a){let s=rt(a);return{async getInternalOrderHistoryOnline(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I){let S=await s.getInternalOrderHistoryOnline(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I);return h(S,P.default,p,a)},async getOrderHistoryOnline(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I){let S=await s.getOrderHistoryOnline(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I);return h(S,P.default,p,a)},async getOrderHistoryPOSV5(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I){let S=await s.getOrderHistoryPOSV5(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I);return h(S,P.default,p,a)},async getOrderHistoryPOSV5Internal(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I){let S=await s.getOrderHistoryPOSV5Internal(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I);return h(S,P.default,p,a)}}},Cn=function(a,s,e){let n=Q(a);return{getInternalOrderHistoryOnline(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v){return n.getInternalOrderHistoryOnline(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v).then(U=>U(e,s))},getOrderHistoryOnline(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v){return n.getOrderHistoryOnline(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v).then(U=>U(e,s))},getOrderHistoryPOSV5(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v){return n.getOrderHistoryPOSV5(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v).then(U=>U(e,s))},getOrderHistoryPOSV5Internal(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v){return n.getOrderHistoryPOSV5Internal(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v).then(U=>U(e,s))}}},fe=class extends V{getInternalOrderHistoryOnline(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O){return Q(this.configuration).getInternalOrderHistoryOnline(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O).then(I=>I(this.axios,this.basePath))}getOrderHistoryOnline(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O){return Q(this.configuration).getOrderHistoryOnline(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O).then(I=>I(this.axios,this.basePath))}getOrderHistoryPOSV5(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O){return Q(this.configuration).getOrderHistoryPOSV5(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O).then(I=>I(this.axios,this.basePath))}getOrderHistoryPOSV5Internal(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O){return Q(this.configuration).getOrderHistoryPOSV5Internal(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O).then(I=>I(this.axios,this.basePath))}},ot=function(a){return{createInvoiceCompany:async(s,e,n={})=>{u("createInvoiceCompany","businessId",s),u("createInvoiceCompany","createInvoiceCompanyDto",e);let t="/api/v1/invoice-companies",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};s!==void 0&&(c.businessId=s),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},deleteInvoiceCompany:async(s,e,n={})=>{u("deleteInvoiceCompany","id",s),u("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={},c={};e!==void 0&&(c.businessId=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getInvoiceCompanies:async(s,e={})=>{u("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={};s!==void 0&&(l.businessId=s),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getInvoiceCompanyById:async(s,e,n={})=>{u("getInvoiceCompanyById","id",s),u("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={},c={};e!==void 0&&(c.businessId=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},searchInvoiceCompanies:async(s,e,n={})=>{u("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={},c={};s!==void 0&&(c.businessId=s),e!==void 0&&(c.search=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},updateInvoiceCompany:async(s,e,n,t={})=>{u("updateInvoiceCompany","id",s),u("updateInvoiceCompany","businessId",e),u("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},c={},d={};e!==void 0&&(d.businessId=e),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}}}},N=function(a){let s=ot(a);return{async createInvoiceCompany(e,n,t){let r=await s.createInvoiceCompany(e,n,t);return h(r,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)}}},Dn=function(a,s,e){let n=N(a);return{createInvoiceCompany(t,r,o){return n.createInvoiceCompany(t,r,o).then(i=>i(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))}}},xe=class extends V{createInvoiceCompany(s,e,n){return N(this.configuration).createInvoiceCompany(s,e,n).then(t=>t(this.axios,this.basePath))}deleteInvoiceCompany(s,e,n){return N(this.configuration).deleteInvoiceCompany(s,e,n).then(t=>t(this.axios,this.basePath))}getInvoiceCompanies(s,e){return N(this.configuration).getInvoiceCompanies(s,e).then(n=>n(this.axios,this.basePath))}getInvoiceCompanyById(s,e,n){return N(this.configuration).getInvoiceCompanyById(s,e,n).then(t=>t(this.axios,this.basePath))}searchInvoiceCompanies(s,e,n){return N(this.configuration).searchInvoiceCompanies(s,e,n).then(t=>t(this.axios,this.basePath))}updateInvoiceCompany(s,e,n,t){return N(this.configuration).updateInvoiceCompany(s,e,n,t).then(r=>r(this.axios,this.basePath))}},at=function(a){return{getOrderStatus:async(s,e,n={})=>{u("getOrderStatus","orderId",s),u("getOrderStatus","businessId",e);let t="/api/v1/kiosk/orders/{orderId}/{businessId}/status".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={};g(r,{});let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},validate:async(s,e,n={})=>{u("validate","terminalId",s),u("validate","provider",e);let t="/api/v1/kiosk/terminal/validate",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},c={};s!==void 0&&(c.terminalId=s),e!==void 0&&(c.provider=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}}}},re=function(a){let s=at(a);return{async getOrderStatus(e,n,t){let r=await s.getOrderStatus(e,n,t);return h(r,P.default,p,a)},async validate(e,n,t){let r=await s.validate(e,n,t);return h(r,P.default,p,a)}}},On=function(a,s,e){let n=re(a);return{getOrderStatus(t,r,o){return n.getOrderStatus(t,r,o).then(i=>i(e,s))},validate(t,r,o){return n.validate(t,r,o).then(i=>i(e,s))}}},Re=class extends V{getOrderStatus(s,e,n){return re(this.configuration).getOrderStatus(s,e,n).then(t=>t(this.axios,this.basePath))}validate(s,e,n){return re(this.configuration).validate(s,e,n).then(t=>t(this.axios,this.basePath))}},it=function(a){return{getAdminTransactions:async(s,e,n,t={})=>{u("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},c={},d={};await C(c,a),s!==void 0&&(d.businessId=s),e!==void 0&&(d.page=e),n!==void 0&&(d.limit=n),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},getLoyaltyInfo:async(s,e={})=>{u("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 C(i,a),s!==void 0&&(l.businessId=s),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getUserById:async(s,e,n={})=>{u("getUserById","businessId",s),u("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={},c={};await C(l,a),s!==void 0&&(c.businessId=s),e!==void 0&&(c.userId=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},searchUser:async(s,e,n,t,r={})=>{u("searchUser","businessId",s);let o="/api/v1/loyalty/users/search",i=new URL(o,m),l;a&&(l=a.baseOptions);let c={method:"GET",...l,...r},d={},A={};await C(d,a),e!==void 0&&(A.phone=e),n!==void 0&&(A.country_code=n),t!==void 0&&(A.email=t),s!==void 0&&(A.businessId=s),g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},{url:y(i),options:c}},updatePoints:async(s,e,n={})=>{u("updatePoints","businessId",s),u("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={},c={};await C(l,a),s!==void 0&&(c.businessId=s),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}}}},W=function(a){let s=it(a);return{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 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)}}},Vn=function(a,s,e){let n=W(a);return{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))},searchUser(t,r,o,i,l){return n.searchUser(t,r,o,i,l).then(c=>c(e,s))},updatePoints(t,r,o){return n.updatePoints(t,r,o).then(i=>i(e,s))}}},be=class extends V{getAdminTransactions(s,e,n,t){return W(this.configuration).getAdminTransactions(s,e,n,t).then(r=>r(this.axios,this.basePath))}getLoyaltyInfo(s,e){return W(this.configuration).getLoyaltyInfo(s,e).then(n=>n(this.axios,this.basePath))}getUserById(s,e,n){return W(this.configuration).getUserById(s,e,n).then(t=>t(this.axios,this.basePath))}searchUser(s,e,n,t,r){return W(this.configuration).searchUser(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}updatePoints(s,e,n){return W(this.configuration).updatePoints(s,e,n).then(t=>t(this.axios,this.basePath))}},lt=function(a){return{editBusinessProduct:async(s,e,n={})=>{u("editBusinessProduct","businessId",s),u("editBusinessProduct","menuProductDto",e);let t="/api/v1/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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},editBusinessProductV2:async(s,e,n={})=>{u("editBusinessProductV2","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getBusinessExtras:async(s,e={})=>{u("getBusinessExtras","businessId",s);let n="/api/v1/menu/{businessId}/extras".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getProductsByCategoriesV2:async(s,e,n={})=>{u("getProductsByCategoriesV2","businessId",s);let t="/api/v2/menu/{businessId}/categories".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},c={};e!==void 0&&(c.filter=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},resetProductEod:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},H=function(a){let s=lt(a);return{async editBusinessProduct(e,n,t){let r=await s.editBusinessProduct(e,n,t);return h(r,P.default,p,a)},async editBusinessProductV2(e,n,t){let r=await s.editBusinessProductV2(e,n,t);return h(r,P.default,p,a)},async getBusinessExtras(e,n){let t=await s.getBusinessExtras(e,n);return h(t,P.default,p,a)},async getProductsByCategoriesV2(e,n,t){let r=await s.getProductsByCategoriesV2(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)}}},In=function(a,s,e){let n=H(a);return{editBusinessProduct(t,r,o){return n.editBusinessProduct(t,r,o).then(i=>i(e,s))},editBusinessProductV2(t,r,o){return n.editBusinessProductV2(t,r,o).then(i=>i(e,s))},getBusinessExtras(t,r){return n.getBusinessExtras(t,r).then(o=>o(e,s))},getProductsByCategoriesV2(t,r,o){return n.getProductsByCategoriesV2(t,r,o).then(i=>i(e,s))},resetProductEod(t,r){return n.resetProductEod(t,r).then(o=>o(e,s))}}},Ce=class extends V{editBusinessProduct(s,e,n){return H(this.configuration).editBusinessProduct(s,e,n).then(t=>t(this.axios,this.basePath))}editBusinessProductV2(s,e,n){return H(this.configuration).editBusinessProductV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessExtras(s,e){return H(this.configuration).getBusinessExtras(s,e).then(n=>n(this.axios,this.basePath))}getProductsByCategoriesV2(s,e,n){return H(this.configuration).getProductsByCategoriesV2(s,e,n).then(t=>t(this.axios,this.basePath))}resetProductEod(s,e){return H(this.configuration).resetProductEod(s,e).then(n=>n(this.axios,this.basePath))}},ct=function(a){return{addBusinessesToMerchant:async(s,e,n={})=>{u("addBusinessesToMerchant","merchantId",s),u("addBusinessesToMerchant","addBusinessesToMerchantDto",e);let t="/api/v1/merchants/{merchantId}/businesses".replace("{merchantId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},createMerchant:async(s,e={})=>{u("createMerchant","createMerchantDto",s);let n="/api/v1/merchants",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await C(i,a),i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},removeBusinessFromMerchant:async(s,e,n={})=>{u("removeBusinessFromMerchant","merchantId",s),u("removeBusinessFromMerchant","businessId",e);let t="/api/v1/merchants/{merchantId}/businesses/{businessId}".replace("{merchantId}",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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}}}},J=function(a){let s=ct(a);return{async addBusinessesToMerchant(e,n,t){let r=await s.addBusinessesToMerchant(e,n,t);return h(r,P.default,p,a)},async createMerchant(e,n){let t=await s.createMerchant(e,n);return h(t,P.default,p,a)},async removeBusinessFromMerchant(e,n,t){let r=await s.removeBusinessFromMerchant(e,n,t);return h(r,P.default,p,a)}}},vn=function(a,s,e){let n=J(a);return{addBusinessesToMerchant(t,r,o){return n.addBusinessesToMerchant(t,r,o).then(i=>i(e,s))},createMerchant(t,r){return n.createMerchant(t,r).then(o=>o(e,s))},removeBusinessFromMerchant(t,r,o){return n.removeBusinessFromMerchant(t,r,o).then(i=>i(e,s))}}},De=class extends V{addBusinessesToMerchant(s,e,n){return J(this.configuration).addBusinessesToMerchant(s,e,n).then(t=>t(this.axios,this.basePath))}createMerchant(s,e){return J(this.configuration).createMerchant(s,e).then(n=>n(this.axios,this.basePath))}removeBusinessFromMerchant(s,e,n){return J(this.configuration).removeBusinessFromMerchant(s,e,n).then(t=>t(this.axios,this.basePath))}},ut=function(a){return{addVenueSubscriptionsV2:async(s,e={})=>{u("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={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},removeVenueSubscriptionsV2:async(s,e={})=>{u("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={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},oe=function(a){let s=ut(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)}}},Sn=function(a,s,e){let n=oe(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))}}},Oe=class extends V{addVenueSubscriptionsV2(s,e){return oe(this.configuration).addVenueSubscriptionsV2(s,e).then(n=>n(this.axios,this.basePath))}removeVenueSubscriptionsV2(s,e){return oe(this.configuration).removeVenueSubscriptionsV2(s,e).then(n=>n(this.axios,this.basePath))}},dt=function(a){return{updateTaxRate:async(s,e={})=>{u("updateTaxRate","body",s);let n="/api/v1/ordering/update-tax-rate",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"PUT",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},He=function(a){let s=dt(a);return{async updateTaxRate(e,n){let t=await s.updateTaxRate(e,n);return h(t,P.default,p,a)}}},Tn=function(a,s,e){let n=He(a);return{updateTaxRate(t,r){return n.updateTaxRate(t,r).then(o=>o(e,s))}}},Ve=class extends V{updateTaxRate(s,e){return He(this.configuration).updateTaxRate(s,e).then(n=>n(this.axios,this.basePath))}},pt=function(a){return{acceptOrder:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},confirmPreOrder:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},deletePosParkedOrderV2:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},deliverOrder:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getAllOrdersV2:async(s,e={})=>{u("getAllOrdersV2","businessIds",s);let n="/api/v2/orders",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};s!==void 0&&(l.businessIds=s),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getOrdersV2:async(s,e,n,t,r={})=>{u("getOrdersV2","status",s),u("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 c={method:"GET",...l,...r},d={},A={};n!==void 0&&(A.posBusinessId=n),t!==void 0&&(A.extraProvider=t),e!==void 0&&(A.businessIds=e),g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},{url:y(i),options:c}},getParkedPosOrderV2:async(s,e={})=>{u("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),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},markOrderAsReady:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},placePosOrderV4:async(s,e={})=>{u("placePosOrderV4","posOrderPayloadDto",s);let n="/api/v4/orders/pos/place",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},processPosOrderActions:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},rejectOrder:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},updatePosOrderV2:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},B=function(a){let s=pt(a);return{async acceptOrder(e,n){let t=await s.acceptOrder(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 getAllOrdersV2(e,n){let t=await s.getAllOrdersV2(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 getParkedPosOrderV2(e,n){let t=await s.getParkedPosOrderV2(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 placePosOrderV4(e,n){let t=await s.placePosOrderV4(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 updatePosOrderV2(e,n){let t=await s.updatePosOrderV2(e,n);return h(t,P.default,p,a)}}},qn=function(a,s,e){let n=B(a);return{acceptOrder(t,r){return n.acceptOrder(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))},getAllOrdersV2(t,r){return n.getAllOrdersV2(t,r).then(o=>o(e,s))},getOrdersV2(t,r,o,i,l){return n.getOrdersV2(t,r,o,i,l).then(c=>c(e,s))},getParkedPosOrderV2(t,r){return n.getParkedPosOrderV2(t,r).then(o=>o(e,s))},markOrderAsReady(t,r){return n.markOrderAsReady(t,r).then(o=>o(e,s))},placePosOrderV4(t,r){return n.placePosOrderV4(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))},updatePosOrderV2(t,r){return n.updatePosOrderV2(t,r).then(o=>o(e,s))}}},Ie=class extends V{acceptOrder(s,e){return B(this.configuration).acceptOrder(s,e).then(n=>n(this.axios,this.basePath))}confirmPreOrder(s,e){return B(this.configuration).confirmPreOrder(s,e).then(n=>n(this.axios,this.basePath))}deletePosParkedOrderV2(s,e){return B(this.configuration).deletePosParkedOrderV2(s,e).then(n=>n(this.axios,this.basePath))}deliverOrder(s,e){return B(this.configuration).deliverOrder(s,e).then(n=>n(this.axios,this.basePath))}getAllOrdersV2(s,e){return B(this.configuration).getAllOrdersV2(s,e).then(n=>n(this.axios,this.basePath))}getOrdersV2(s,e,n,t,r){return B(this.configuration).getOrdersV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}getParkedPosOrderV2(s,e){return B(this.configuration).getParkedPosOrderV2(s,e).then(n=>n(this.axios,this.basePath))}markOrderAsReady(s,e){return B(this.configuration).markOrderAsReady(s,e).then(n=>n(this.axios,this.basePath))}placePosOrderV4(s,e){return B(this.configuration).placePosOrderV4(s,e).then(n=>n(this.axios,this.basePath))}processPosOrderActions(s,e){return B(this.configuration).processPosOrderActions(s,e).then(n=>n(this.axios,this.basePath))}rejectOrder(s,e){return B(this.configuration).rejectOrder(s,e).then(n=>n(this.axios,this.basePath))}updatePosOrderV2(s,e){return B(this.configuration).updatePosOrderV2(s,e).then(n=>n(this.axios,this.basePath))}},mt=function(a){return{getPosSession:async(s,e={})=>{u("getPosSession","businessId",s);let n="/api/v1/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={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getPosSessionV2:async(s,e={})=>{u("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={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}}}},ae=function(a){let s=mt(a);return{async getPosSession(e,n){let t=await s.getPosSession(e,n);return h(t,P.default,p,a)},async getPosSessionV2(e,n){let t=await s.getPosSessionV2(e,n);return h(t,P.default,p,a)}}},Un=function(a,s,e){let n=ae(a);return{getPosSession(t,r){return n.getPosSession(t,r).then(o=>o(e,s))},getPosSessionV2(t,r){return n.getPosSessionV2(t,r).then(o=>o(e,s))}}},ve=class extends V{getPosSession(s,e){return ae(this.configuration).getPosSession(s,e).then(n=>n(this.axios,this.basePath))}getPosSessionV2(s,e){return ae(this.configuration).getPosSessionV2(s,e).then(n=>n(this.axios,this.basePath))}},gt=function(a){return{cancelNetsTerminalTransaction:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},cancelStripePayment:async(s,e={})=>{u("cancelStripePayment","paymentIntentIdDto",s);let n="/api/v1/payment/stripe/cancel",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},cancelTransaction:async(s,e={})=>{u("cancelTransaction","vivaCancelTransactionDto",s);let n="/api/v1/payment/viva/cancelTransaction",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},cancelVivaTransactionV2:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},captureStripePayment:async(s,e={})=>{u("captureStripePayment","paymentIntentIdDto",s);let n="/api/v1/payment/stripe/capture",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},createNetsRefundTransaction:async(s,e={})=>{u("createNetsRefundTransaction","createRefundDto",s);let n="/api/v4/payment/nets/refund/transaction",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},createVivaPayment:async(s,e={})=>{u("createVivaPayment","vivaCreatePaymentDto",s);let n="/api/v1/payment/viva/createPayment",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},createVivaPaymentV3:async(s,e={})=>{u("createVivaPaymentV3","vivaCreatePaymentDto",s);let n="/api/v3/payment/viva/createPayment",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},discoverDevices:async(s,e={})=>{u("discoverDevices","vivaDiscoverDevicesDto",s);let n="/api/v1/payment/viva/discoverDevices",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getConnectionToken:async(s,e={})=>{u("getConnectionToken","connectionTokenPayloadDto",s);let n="/api/v1/payment/connectionToken",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getPaymentStatus:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getToken:async(s,e={})=>{u("getToken","businessId",s);let n="/api/v1/payment/stripe/connectionToken",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};s!==void 0&&(l.businessId=s),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},initiateNetsTerminalTransaction:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},initiateTerminalTransaction:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},processOnlineOrderRefund:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundCashPaymentV3:async(s,e={})=>{u("refundCashPaymentV3","cashRefundPayload",s);let n="/api/v3/payment/cash/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundManualPaymentV3:async(s,e={})=>{u("refundManualPaymentV3","manualRefundPayload",s);let n="/api/v3/payment/manual/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundNetsTransactionV3:async(s,e={})=>{u("refundNetsTransactionV3","refundPayloadDtoV4",s);let n="/api/v3/payment/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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundSingleVivaTransaction:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundVivaTransactionV3:async(s,e={})=>{u("refundVivaTransactionV3","refundPayloadDto",s);let n="/api/v3/payment/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundVivaTransactionV4:async(s,e={})=>{u("refundVivaTransactionV4","refundPayloadDtoV4",s);let n="/api/v4/payment/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},q=function(a){let s=gt(a);return{async cancelNetsTerminalTransaction(e,n){let t=await s.cancelNetsTerminalTransaction(e,n);return h(t,P.default,p,a)},async cancelStripePayment(e,n){let t=await s.cancelStripePayment(e,n);return h(t,P.default,p,a)},async cancelTransaction(e,n){let t=await s.cancelTransaction(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 captureStripePayment(e,n){let t=await s.captureStripePayment(e,n);return h(t,P.default,p,a)},async createNetsRefundTransaction(e,n){let t=await s.createNetsRefundTransaction(e,n);return h(t,P.default,p,a)},async createVivaPayment(e,n){let t=await s.createVivaPayment(e,n);return h(t,P.default,p,a)},async createVivaPaymentV3(e,n){let t=await s.createVivaPaymentV3(e,n);return h(t,P.default,p,a)},async discoverDevices(e,n){let t=await s.discoverDevices(e,n);return h(t,P.default,p,a)},async getConnectionToken(e,n){let t=await s.getConnectionToken(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 getToken(e,n){let t=await s.getToken(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 refundCashPaymentV3(e,n){let t=await s.refundCashPaymentV3(e,n);return h(t,P.default,p,a)},async refundManualPaymentV3(e,n){let t=await s.refundManualPaymentV3(e,n);return h(t,P.default,p,a)},async refundNetsTransactionV3(e,n){let t=await s.refundNetsTransactionV3(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)},async refundVivaTransactionV3(e,n){let t=await s.refundVivaTransactionV3(e,n);return h(t,P.default,p,a)},async refundVivaTransactionV4(e,n){let t=await s.refundVivaTransactionV4(e,n);return h(t,P.default,p,a)}}},En=function(a,s,e){let n=q(a);return{cancelNetsTerminalTransaction(t,r){return n.cancelNetsTerminalTransaction(t,r).then(o=>o(e,s))},cancelStripePayment(t,r){return n.cancelStripePayment(t,r).then(o=>o(e,s))},cancelTransaction(t,r){return n.cancelTransaction(t,r).then(o=>o(e,s))},cancelVivaTransactionV2(t,r){return n.cancelVivaTransactionV2(t,r).then(o=>o(e,s))},captureStripePayment(t,r){return n.captureStripePayment(t,r).then(o=>o(e,s))},createNetsRefundTransaction(t,r){return n.createNetsRefundTransaction(t,r).then(o=>o(e,s))},createVivaPayment(t,r){return n.createVivaPayment(t,r).then(o=>o(e,s))},createVivaPaymentV3(t,r){return n.createVivaPaymentV3(t,r).then(o=>o(e,s))},discoverDevices(t,r){return n.discoverDevices(t,r).then(o=>o(e,s))},getConnectionToken(t,r){return n.getConnectionToken(t,r).then(o=>o(e,s))},getPaymentStatus(t,r){return n.getPaymentStatus(t,r).then(o=>o(e,s))},getToken(t,r){return n.getToken(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))},refundCashPaymentV3(t,r){return n.refundCashPaymentV3(t,r).then(o=>o(e,s))},refundManualPaymentV3(t,r){return n.refundManualPaymentV3(t,r).then(o=>o(e,s))},refundNetsTransactionV3(t,r){return n.refundNetsTransactionV3(t,r).then(o=>o(e,s))},refundSingleVivaTransaction(t,r){return n.refundSingleVivaTransaction(t,r).then(o=>o(e,s))},refundVivaTransactionV3(t,r){return n.refundVivaTransactionV3(t,r).then(o=>o(e,s))},refundVivaTransactionV4(t,r){return n.refundVivaTransactionV4(t,r).then(o=>o(e,s))}}},Se=class extends V{cancelNetsTerminalTransaction(s,e){return q(this.configuration).cancelNetsTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}cancelStripePayment(s,e){return q(this.configuration).cancelStripePayment(s,e).then(n=>n(this.axios,this.basePath))}cancelTransaction(s,e){return q(this.configuration).cancelTransaction(s,e).then(n=>n(this.axios,this.basePath))}cancelVivaTransactionV2(s,e){return q(this.configuration).cancelVivaTransactionV2(s,e).then(n=>n(this.axios,this.basePath))}captureStripePayment(s,e){return q(this.configuration).captureStripePayment(s,e).then(n=>n(this.axios,this.basePath))}createNetsRefundTransaction(s,e){return q(this.configuration).createNetsRefundTransaction(s,e).then(n=>n(this.axios,this.basePath))}createVivaPayment(s,e){return q(this.configuration).createVivaPayment(s,e).then(n=>n(this.axios,this.basePath))}createVivaPaymentV3(s,e){return q(this.configuration).createVivaPaymentV3(s,e).then(n=>n(this.axios,this.basePath))}discoverDevices(s,e){return q(this.configuration).discoverDevices(s,e).then(n=>n(this.axios,this.basePath))}getConnectionToken(s,e){return q(this.configuration).getConnectionToken(s,e).then(n=>n(this.axios,this.basePath))}getPaymentStatus(s,e){return q(this.configuration).getPaymentStatus(s,e).then(n=>n(this.axios,this.basePath))}getToken(s,e){return q(this.configuration).getToken(s,e).then(n=>n(this.axios,this.basePath))}initiateNetsTerminalTransaction(s,e){return q(this.configuration).initiateNetsTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}initiateTerminalTransaction(s,e){return q(this.configuration).initiateTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}processOnlineOrderRefund(s,e){return q(this.configuration).processOnlineOrderRefund(s,e).then(n=>n(this.axios,this.basePath))}refundCashPaymentV3(s,e){return q(this.configuration).refundCashPaymentV3(s,e).then(n=>n(this.axios,this.basePath))}refundManualPaymentV3(s,e){return q(this.configuration).refundManualPaymentV3(s,e).then(n=>n(this.axios,this.basePath))}refundNetsTransactionV3(s,e){return q(this.configuration).refundNetsTransactionV3(s,e).then(n=>n(this.axios,this.basePath))}refundSingleVivaTransaction(s,e){return q(this.configuration).refundSingleVivaTransaction(s,e).then(n=>n(this.axios,this.basePath))}refundVivaTransactionV3(s,e){return q(this.configuration).refundVivaTransactionV3(s,e).then(n=>n(this.axios,this.basePath))}refundVivaTransactionV4(s,e){return q(this.configuration).refundVivaTransactionV4(s,e).then(n=>n(this.axios,this.basePath))}},yt=function(a){return{loadConfigFile:async(s={})=>{let e="/api/plugin/config.json",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},upsertBusiness:async(s={})=>{let e="/api/plugin/business/upsert",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}}}},ie=function(a){let s=yt(a);return{async loadConfigFile(e){let n=await s.loadConfigFile(e);return h(n,P.default,p,a)},async upsertBusiness(e){let n=await s.upsertBusiness(e);return h(n,P.default,p,a)}}},Bn=function(a,s,e){let n=ie(a);return{loadConfigFile(t){return n.loadConfigFile(t).then(r=>r(e,s))},upsertBusiness(t){return n.upsertBusiness(t).then(r=>r(e,s))}}},Te=class extends V{loadConfigFile(s){return ie(this.configuration).loadConfigFile(s).then(e=>e(this.axios,this.basePath))}upsertBusiness(s){return ie(this.configuration).upsertBusiness(s).then(e=>e(this.axios,this.basePath))}},ht=function(a){return{updateChannelInventoryV2:async(s,e,n,t,r={})=>{u("updateChannelInventoryV2","businessId",s),u("updateChannelInventoryV2","categoryId",e),u("updateChannelInventoryV2","productId",n),u("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 c={method:"PUT",...l,...r},d={},A={};d["Content-Type"]="application/json",g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},c.data=f(t,c,a),{url:y(i),options:c}}}},Ke=function(a){let s=ht(a);return{async updateChannelInventoryV2(e,n,t,r,o){let i=await s.updateChannelInventoryV2(e,n,t,r,o);return h(i,P.default,p,a)}}},Mn=function(a,s,e){let n=Ke(a);return{updateChannelInventoryV2(t,r,o,i,l){return n.updateChannelInventoryV2(t,r,o,i,l).then(c=>c(e,s))}}},qe=class extends V{updateChannelInventoryV2(s,e,n,t,r){return Ke(this.configuration).updateChannelInventoryV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}},Pt=function(a){return{getSupportedChannels:async(s,e={})=>{u("getSupportedChannels","businessId",s);let n="/api/v1/provider/supported-channels/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},registerCredential:async(s,e={})=>{u("registerCredential","body",s);let n="/api/v1/provider/credentials",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},registerProvider:async(s,e={})=>{u("registerProvider","body",s);let n="/api/v1/provider",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},X=function(a){let s=Pt(a);return{async getSupportedChannels(e,n){let t=await s.getSupportedChannels(e,n);return h(t,P.default,p,a)},async registerCredential(e,n){let t=await s.registerCredential(e,n);return h(t,P.default,p,a)},async registerProvider(e,n){let t=await s.registerProvider(e,n);return h(t,P.default,p,a)}}},kn=function(a,s,e){let n=X(a);return{getSupportedChannels(t,r){return n.getSupportedChannels(t,r).then(o=>o(e,s))},registerCredential(t,r){return n.registerCredential(t,r).then(o=>o(e,s))},registerProvider(t,r){return n.registerProvider(t,r).then(o=>o(e,s))}}},Ue=class extends V{getSupportedChannels(s,e){return X(this.configuration).getSupportedChannels(s,e).then(n=>n(this.axios,this.basePath))}registerCredential(s,e){return X(this.configuration).registerCredential(s,e).then(n=>n(this.axios,this.basePath))}registerProvider(s,e){return X(this.configuration).registerProvider(s,e).then(n=>n(this.axios,this.basePath))}},At=function(a){return{cancelPlan:async(s,e,n,t={})=>{u("cancelPlan","businessId",s),u("cancelPlan","orderId",e),u("cancelPlan","refundId",n);let r="/api/v1/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},c={};g(o,{});let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},createRefundPlan:async(s,e,n,t={})=>{u("createRefundPlan","businessId",s),u("createRefundPlan","orderId",e),u("createRefundPlan","createRefundPlanDto",n);let r="/api/v1/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},c={},d={};c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},getRefundPlan:async(s,e,n,t={})=>{u("getRefundPlan","businessId",s),u("getRefundPlan","orderId",e),u("getRefundPlan","status",n);let r="/api/v1/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},c={},d={};n!==void 0&&(d.status=n),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},recordRefundPlan:async(s,e,n,t,r={})=>{u("recordRefundPlan","businessId",s),u("recordRefundPlan","orderId",e),u("recordRefundPlan","refundId",n),u("recordRefundPlan","completedStepDto",t);let o="/api/v1/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 c={method:"POST",...l,...r},d={},A={};d["Content-Type"]="application/json",g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},c.data=f(t,c,a),{url:y(i),options:c}},refundOnlineOrder:async(s,e,n,t={})=>{u("refundOnlineOrder","businessId",s),u("refundOnlineOrder","orderId",e),u("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},c={},d={};n!==void 0&&(d.provider=n),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},resolveRefundChoice:async(s,e,n,t,r={})=>{u("resolveRefundChoice","businessId",s),u("resolveRefundChoice","orderId",e),u("resolveRefundChoice","refundId",n),u("resolveRefundChoice","resolveChoiceDto",t);let o="/api/v1/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 c={method:"POST",...l,...r},d={},A={};d["Content-Type"]="application/json",g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},c.data=f(t,c,a),{url:y(i),options:c}},startProcessPlan:async(s,e,n,t={})=>{u("startProcessPlan","businessId",s),u("startProcessPlan","orderId",e),u("startProcessPlan","refundId",n);let r="/api/v1/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},c={};g(o,{});let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}}}},_=function(a){let s=At(a);return{async cancelPlan(e,n,t,r){let o=await s.cancelPlan(e,n,t,r);return h(o,P.default,p,a)},async createRefundPlan(e,n,t,r){let o=await s.createRefundPlan(e,n,t,r);return h(o,P.default,p,a)},async getRefundPlan(e,n,t,r){let o=await s.getRefundPlan(e,n,t,r);return h(o,P.default,p,a)},async recordRefundPlan(e,n,t,r,o){let i=await s.recordRefundPlan(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 resolveRefundChoice(e,n,t,r,o){let i=await s.resolveRefundChoice(e,n,t,r,o);return h(i,P.default,p,a)},async startProcessPlan(e,n,t,r){let o=await s.startProcessPlan(e,n,t,r);return h(o,P.default,p,a)}}},_n=function(a,s,e){let n=_(a);return{cancelPlan(t,r,o,i){return n.cancelPlan(t,r,o,i).then(l=>l(e,s))},createRefundPlan(t,r,o,i){return n.createRefundPlan(t,r,o,i).then(l=>l(e,s))},getRefundPlan(t,r,o,i){return n.getRefundPlan(t,r,o,i).then(l=>l(e,s))},recordRefundPlan(t,r,o,i,l){return n.recordRefundPlan(t,r,o,i,l).then(c=>c(e,s))},refundOnlineOrder(t,r,o,i){return n.refundOnlineOrder(t,r,o,i).then(l=>l(e,s))},resolveRefundChoice(t,r,o,i,l){return n.resolveRefundChoice(t,r,o,i,l).then(c=>c(e,s))},startProcessPlan(t,r,o,i){return n.startProcessPlan(t,r,o,i).then(l=>l(e,s))}}},Ee=class extends V{cancelPlan(s,e,n,t){return _(this.configuration).cancelPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}createRefundPlan(s,e,n,t){return _(this.configuration).createRefundPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}getRefundPlan(s,e,n,t){return _(this.configuration).getRefundPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}recordRefundPlan(s,e,n,t,r){return _(this.configuration).recordRefundPlan(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}refundOnlineOrder(s,e,n,t){return _(this.configuration).refundOnlineOrder(s,e,n,t).then(r=>r(this.axios,this.basePath))}resolveRefundChoice(s,e,n,t,r){return _(this.configuration).resolveRefundChoice(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}startProcessPlan(s,e,n,t){return _(this.configuration).startProcessPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}},ft=function(a){return{getEndOfDayReportV5:async(s,e,n,t,r,o,i={})=>{u("getEndOfDayReportV5","businessIds",s);let l="/api/v5/report/end-of-day",c=new URL(l,m),d;a&&(d=a.baseOptions);let A={method:"GET",...d,...i},x={},b={};e!==void 0&&(b.timeSpan=e),n!==void 0&&(b.start=n),t!==void 0&&(b.end=t),s&&(b.businessIds=s),r!==void 0&&(b.timezone=r),o!==void 0&&(b.provider=o),g(c,b);let D=d&&d.headers?d.headers:{};return A.headers={...x,...D,...i.headers},{url:y(c),options:A}},getPOSEndOfDayReportV4:async(s,e,n,t,r,o={})=>{u("getPOSEndOfDayReportV4","businessIds",s);let i="/api/v4/report/pos/end-of-day",l=new URL(i,m),c;a&&(c=a.baseOptions);let d={method:"GET",...c,...o},A={},x={};e!==void 0&&(x.timeSpan=e),n!==void 0&&(x.start=n),t!==void 0&&(x.end=t),s&&(x.businessIds=s),r!==void 0&&(x.timezone=r),g(l,x);let b=c&&c.headers?c.headers:{};return d.headers={...A,...b,...o.headers},{url:y(l),options:d}},sendReportEmailV4:async(s,e,n,t,r,o,i={})=>{u("sendReportEmailV4","businessIds",s),u("sendReportEmailV4","timezone",e),u("sendReportEmailV4","sendReportEmailDto",n);let l="/api/v4/report/email",c=new URL(l,m),d;a&&(d=a.baseOptions);let A={method:"POST",...d,...i},x={},b={};t!==void 0&&(b.timeSpan=t),r!==void 0&&(b.start=r),o!==void 0&&(b.end=o),s&&(b.businessIds=s),e!==void 0&&(b.timezone=e),x["Content-Type"]="application/json",g(c,b);let D=d&&d.headers?d.headers:{};return A.headers={...x,...D,...i.headers},A.data=f(n,A,a),{url:y(c),options:A}},sendReportEmailV5:async(s,e,n,t,r,o,i,l={})=>{u("sendReportEmailV5","businessIds",s),u("sendReportEmailV5","timezone",e),u("sendReportEmailV5","sendReportEmailDto",n);let c="/api/v5/report/email",d=new URL(c,m),A;a&&(A=a.baseOptions);let x={method:"POST",...A,...l},b={},D={};t!==void 0&&(D.timeSpan=t),r!==void 0&&(D.start=r),o!==void 0&&(D.end=o),s&&(D.businessIds=s),e!==void 0&&(D.timezone=e),i!==void 0&&(D.provider=i),b["Content-Type"]="application/json",g(d,D);let O=A&&A.headers?A.headers:{};return x.headers={...b,...O,...l.headers},x.data=f(n,x,a),{url:y(d),options:x}}}},G=function(a){let s=ft(a);return{async getEndOfDayReportV5(e,n,t,r,o,i,l){let c=await s.getEndOfDayReportV5(e,n,t,r,o,i,l);return h(c,P.default,p,a)},async getPOSEndOfDayReportV4(e,n,t,r,o,i){let l=await s.getPOSEndOfDayReportV4(e,n,t,r,o,i);return h(l,P.default,p,a)},async sendReportEmailV4(e,n,t,r,o,i,l){let c=await s.sendReportEmailV4(e,n,t,r,o,i,l);return h(c,P.default,p,a)},async sendReportEmailV5(e,n,t,r,o,i,l,c){let d=await s.sendReportEmailV5(e,n,t,r,o,i,l,c);return h(d,P.default,p,a)}}},wn=function(a,s,e){let n=G(a);return{getEndOfDayReportV5(t,r,o,i,l,c,d){return n.getEndOfDayReportV5(t,r,o,i,l,c,d).then(A=>A(e,s))},getPOSEndOfDayReportV4(t,r,o,i,l,c){return n.getPOSEndOfDayReportV4(t,r,o,i,l,c).then(d=>d(e,s))},sendReportEmailV4(t,r,o,i,l,c,d){return n.sendReportEmailV4(t,r,o,i,l,c,d).then(A=>A(e,s))},sendReportEmailV5(t,r,o,i,l,c,d,A){return n.sendReportEmailV5(t,r,o,i,l,c,d,A).then(x=>x(e,s))}}},Be=class extends V{getEndOfDayReportV5(s,e,n,t,r,o,i){return G(this.configuration).getEndOfDayReportV5(s,e,n,t,r,o,i).then(l=>l(this.axios,this.basePath))}getPOSEndOfDayReportV4(s,e,n,t,r,o){return G(this.configuration).getPOSEndOfDayReportV4(s,e,n,t,r,o).then(i=>i(this.axios,this.basePath))}sendReportEmailV4(s,e,n,t,r,o,i){return G(this.configuration).sendReportEmailV4(s,e,n,t,r,o,i).then(l=>l(this.axios,this.basePath))}sendReportEmailV5(s,e,n,t,r,o,i,l){return G(this.configuration).sendReportEmailV5(s,e,n,t,r,o,i,l).then(c=>c(this.axios,this.basePath))}},xt=function(a){return{clockIn:async(s,e,n={})=>{u("clockIn","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},clockOut:async(s,e,n={})=>{u("clockOut","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getTodayShift:async(s,e,n={})=>{u("getTodayShift","businessId",s),u("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={},c={};e!==void 0&&(c.employeeId=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},unlock:async(s,e,n={})=>{u("unlock","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}}}},$=function(a){let s=xt(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 unlock(e,n,t){let r=await s.unlock(e,n,t);return h(r,P.default,p,a)}}},Nn=function(a,s,e){let n=$(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))},unlock(t,r,o){return n.unlock(t,r,o).then(i=>i(e,s))}}},Me=class extends V{clockIn(s,e,n){return $(this.configuration).clockIn(s,e,n).then(t=>t(this.axios,this.basePath))}clockOut(s,e,n){return $(this.configuration).clockOut(s,e,n).then(t=>t(this.axios,this.basePath))}getTodayShift(s,e,n){return $(this.configuration).getTodayShift(s,e,n).then(t=>t(this.axios,this.basePath))}unlock(s,e,n){return $(this.configuration).unlock(s,e,n).then(t=>t(this.axios,this.basePath))}},Rt=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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},syncStation:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},syncTerminal:async(s,e={})=>{u("syncTerminal","syncTerminalDto",s);let n="/api/v1/station/terminal/sync",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},z=function(a){let s=Rt(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)},async syncTerminal(e,n){let t=await s.syncTerminal(e,n);return h(t,P.default,p,a)}}},Ln=function(a,s,e){let n=z(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))},syncTerminal(t,r){return n.syncTerminal(t,r).then(o=>o(e,s))}}},ke=class extends V{deactivateStation(s){return z(this.configuration).deactivateStation(s).then(e=>e(this.axios,this.basePath))}getStation(s){return z(this.configuration).getStation(s).then(e=>e(this.axios,this.basePath))}syncStation(s,e){return z(this.configuration).syncStation(s,e).then(n=>n(this.axios,this.basePath))}syncTerminal(s,e){return z(this.configuration).syncTerminal(s,e).then(n=>n(this.axios,this.basePath))}},bt=function(a){return{connectTerminal:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},discoverTerminal:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getTerminalStatus:async(s,e,n,t={})=>{u("getTerminalStatus","businessId",s),u("getTerminalStatus","provider",e),u("getTerminalStatus","terminalId",n);let r="/api/v1/terminal/status/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},c={},d={};e!==void 0&&(d.provider=e),n!==void 0&&(d.terminalId=n),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}}}},Y=function(a){let s=bt(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)},async getTerminalStatus(e,n,t,r){let o=await s.getTerminalStatus(e,n,t,r);return h(o,P.default,p,a)}}},Fn=function(a,s,e){let n=Y(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))},getTerminalStatus(t,r,o,i){return n.getTerminalStatus(t,r,o,i).then(l=>l(e,s))}}},_e=class extends V{connectTerminal(s,e){return Y(this.configuration).connectTerminal(s,e).then(n=>n(this.axios,this.basePath))}disconnectTerminal(s){return Y(this.configuration).disconnectTerminal(s).then(e=>e(this.axios,this.basePath))}discoverTerminal(s,e){return Y(this.configuration).discoverTerminal(s,e).then(n=>n(this.axios,this.basePath))}getTerminalStatus(s,e,n,t){return Y(this.configuration).getTerminalStatus(s,e,n,t).then(r=>r(this.axios,this.basePath))}},Ct=function(a){return{getUserBusiness: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 C(o,a),g(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},getUserInfo:async(s={})=>{let e="/api/v1/user",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={},i={};await C(o,a),g(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}}}},le=function(a){let s=Ct(a);return{async getUserBusiness(e){let n=await s.getUserBusiness(e);return h(n,P.default,p,a)},async getUserInfo(e){let n=await s.getUserInfo(e);return h(n,P.default,p,a)}}},jn=function(a,s,e){let n=le(a);return{getUserBusiness(t){return n.getUserBusiness(t).then(r=>r(e,s))},getUserInfo(t){return n.getUserInfo(t).then(r=>r(e,s))}}},we=class extends V{getUserBusiness(s){return le(this.configuration).getUserBusiness(s).then(e=>e(this.axios,this.basePath))}getUserInfo(s){return le(this.configuration).getUserInfo(s).then(e=>e(this.axios,this.basePath))}},Dt=function(a){return{getUser:async(s,e={})=>{u("getUser","userValidation",s);let n="/api/v1/users",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await C(i,a),i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},updateUserRewardPoints:async(s,e,n,t={})=>{u("updateUserRewardPoints","userId",s),u("updateUserRewardPoints","walletId",e),u("updateUserRewardPoints","rewardPointPayload",n);let r="/api/v1/users/{userId}/wallets/{walletId}/events".replace("{userId}",encodeURIComponent(String(s))).replace("{walletId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},c={},d={};await C(c,a),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}}}},ce=function(a){let s=Dt(a);return{async getUser(e,n){let t=await s.getUser(e,n);return h(t,P.default,p,a)},async updateUserRewardPoints(e,n,t,r){let o=await s.updateUserRewardPoints(e,n,t,r);return h(o,P.default,p,a)}}},Wn=function(a,s,e){let n=ce(a);return{getUser(t,r){return n.getUser(t,r).then(o=>o(e,s))},updateUserRewardPoints(t,r,o,i){return n.updateUserRewardPoints(t,r,o,i).then(l=>l(e,s))}}},Ne=class extends V{getUser(s,e){return ce(this.configuration).getUser(s,e).then(n=>n(this.axios,this.basePath))}updateUserRewardPoints(s,e,n,t){return ce(this.configuration).updateUserRewardPoints(s,e,n,t).then(r=>r(this.axios,this.basePath))}},Ot=function(a){return{handleAssignmentWebhook:async(s={})=>{let e="/api/webhook/add-employee-assignments",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleBusinessWebhook:async(s={})=>{let e="/api/webhook/add-business",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleFoodoraEvent:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},handleLoadEmployee:async(s={})=>{let e="/api/webhook/load-employee",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleNetsEvents:async(s={})=>{let e="/api/webhook/nets",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleNetsEventsV2:async(s={})=>{let e="/api/webhook/v2/nets",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleNetsRefundEvents:async(s={})=>{let e="/api/webhook/nets/refund",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handlePreorderReminder:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},handleRoleWebhook:async(s={})=>{let e="/api/webhook/add-roles",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleShiftWebhook:async(s={})=>{let e="/api/webhook/add-employee-shifts",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleVivaEvents:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},handleWebhook:async(s={})=>{let e="/api/webhook/ship-day",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleWoltDriveEvent:async(s={})=>{let e="/api/webhook/wolt-drive/event",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleWoltDriveEventByCountry:async(s,e={})=>{u("handleWoltDriveEventByCountry","country",s);let n="/api/webhook/wolt-drive/{country}/event".replace("{country}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},updateWoltProduct:async(s={})=>{let e="/api/webhook/wolt/product/edit",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}}}},E=function(a){let s=Ot(a);return{async handleAssignmentWebhook(e){let n=await s.handleAssignmentWebhook(e);return h(n,P.default,p,a)},async handleBusinessWebhook(e){let n=await s.handleBusinessWebhook(e);return h(n,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){let n=await s.handleLoadEmployee(e);return h(n,P.default,p,a)},async handleNetsEvents(e){let n=await s.handleNetsEvents(e);return h(n,P.default,p,a)},async handleNetsEventsV2(e){let n=await s.handleNetsEventsV2(e);return h(n,P.default,p,a)},async handleNetsRefundEvents(e){let n=await s.handleNetsRefundEvents(e);return h(n,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){let n=await s.handleRoleWebhook(e);return h(n,P.default,p,a)},async handleShiftWebhook(e){let n=await s.handleShiftWebhook(e);return h(n,P.default,p,a)},async handleVivaEvents(e,n){let t=await s.handleVivaEvents(e,n);return h(t,P.default,p,a)},async handleWebhook(e){let n=await s.handleWebhook(e);return h(n,P.default,p,a)},async handleWoltDriveEvent(e){let n=await s.handleWoltDriveEvent(e);return h(n,P.default,p,a)},async handleWoltDriveEventByCountry(e,n){let t=await s.handleWoltDriveEventByCountry(e,n);return h(t,P.default,p,a)},async handleWorldlineEvents(e){let n=await s.handleWorldlineEvents(e);return h(n,P.default,p,a)},async updateWoltProduct(e){let n=await s.updateWoltProduct(e);return h(n,P.default,p,a)},async verifyVivaWebhook(e){let n=await s.verifyVivaWebhook(e);return h(n,P.default,p,a)}}},Hn=function(a,s,e){let n=E(a);return{handleAssignmentWebhook(t){return n.handleAssignmentWebhook(t).then(r=>r(e,s))},handleBusinessWebhook(t){return n.handleBusinessWebhook(t).then(r=>r(e,s))},handleFoodoraEvent(t,r){return n.handleFoodoraEvent(t,r).then(o=>o(e,s))},handleLoadEmployee(t){return n.handleLoadEmployee(t).then(r=>r(e,s))},handleNetsEvents(t){return n.handleNetsEvents(t).then(r=>r(e,s))},handleNetsEventsV2(t){return n.handleNetsEventsV2(t).then(r=>r(e,s))},handleNetsRefundEvents(t){return n.handleNetsRefundEvents(t).then(r=>r(e,s))},handlePreorderReminder(t,r){return n.handlePreorderReminder(t,r).then(o=>o(e,s))},handleRoleWebhook(t){return n.handleRoleWebhook(t).then(r=>r(e,s))},handleShiftWebhook(t){return n.handleShiftWebhook(t).then(r=>r(e,s))},handleVivaEvents(t,r){return n.handleVivaEvents(t,r).then(o=>o(e,s))},handleWebhook(t){return n.handleWebhook(t).then(r=>r(e,s))},handleWoltDriveEvent(t){return n.handleWoltDriveEvent(t).then(r=>r(e,s))},handleWoltDriveEventByCountry(t,r){return n.handleWoltDriveEventByCountry(t,r).then(o=>o(e,s))},handleWorldlineEvents(t){return n.handleWorldlineEvents(t).then(r=>r(e,s))},updateWoltProduct(t){return n.updateWoltProduct(t).then(r=>r(e,s))},verifyVivaWebhook(t){return n.verifyVivaWebhook(t).then(r=>r(e,s))}}},Le=class extends V{handleAssignmentWebhook(s){return E(this.configuration).handleAssignmentWebhook(s).then(e=>e(this.axios,this.basePath))}handleBusinessWebhook(s){return E(this.configuration).handleBusinessWebhook(s).then(e=>e(this.axios,this.basePath))}handleFoodoraEvent(s,e){return E(this.configuration).handleFoodoraEvent(s,e).then(n=>n(this.axios,this.basePath))}handleLoadEmployee(s){return E(this.configuration).handleLoadEmployee(s).then(e=>e(this.axios,this.basePath))}handleNetsEvents(s){return E(this.configuration).handleNetsEvents(s).then(e=>e(this.axios,this.basePath))}handleNetsEventsV2(s){return E(this.configuration).handleNetsEventsV2(s).then(e=>e(this.axios,this.basePath))}handleNetsRefundEvents(s){return E(this.configuration).handleNetsRefundEvents(s).then(e=>e(this.axios,this.basePath))}handlePreorderReminder(s,e){return E(this.configuration).handlePreorderReminder(s,e).then(n=>n(this.axios,this.basePath))}handleRoleWebhook(s){return E(this.configuration).handleRoleWebhook(s).then(e=>e(this.axios,this.basePath))}handleShiftWebhook(s){return E(this.configuration).handleShiftWebhook(s).then(e=>e(this.axios,this.basePath))}handleVivaEvents(s,e){return E(this.configuration).handleVivaEvents(s,e).then(n=>n(this.axios,this.basePath))}handleWebhook(s){return E(this.configuration).handleWebhook(s).then(e=>e(this.axios,this.basePath))}handleWoltDriveEvent(s){return E(this.configuration).handleWoltDriveEvent(s).then(e=>e(this.axios,this.basePath))}handleWoltDriveEventByCountry(s,e){return E(this.configuration).handleWoltDriveEventByCountry(s,e).then(n=>n(this.axios,this.basePath))}handleWorldlineEvents(s){return E(this.configuration).handleWorldlineEvents(s).then(e=>e(this.axios,this.basePath))}updateWoltProduct(s){return E(this.configuration).updateWoltProduct(s).then(e=>e(this.axios,this.basePath))}verifyVivaWebhook(s){return E(this.configuration).verifyVivaWebhook(s).then(e=>e(this.axios,this.basePath))}},Vt=function(a){return{cancelPayment:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},createPayment:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},createRefund:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getNextRequest:async(s,e,n,t,r={})=>{u("getNextRequest","terminalId",s),u("getNextRequest","authorization",e),u("getNextRequest","sessionID",n),u("getNextRequest","protocolVersion",t);let o="/api/v2/terminals/{terminalId}/requests".replace("{terminalId}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let c={method:"GET",...l,...r},d={},A={};e!=null&&(d.Authorization=String(e)),n!=null&&(d["Session-ID"]=String(n)),t!=null&&(d["Protocol-Version"]=String(t)),g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},{url:y(i),options:c}},submitEvent:async(s,e,n={})=>{u("submitEvent","terminalId",s),u("submitEvent","worldlineEventEnvelopeDto",e);let t="/api/v2/terminals/{terminalId}/events".replace("{terminalId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},submitResponse:async(s,e,n={})=>{u("submitResponse","terminalId",s),u("submitResponse","worldlineResponseEnvelopeDto",e);let t="/api/v2/terminals/{terminalId}/responses".replace("{terminalId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}}}},L=function(a){let s=Vt(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)},async getNextRequest(e,n,t,r,o){let i=await s.getNextRequest(e,n,t,r,o);return h(i,P.default,p,a)},async submitEvent(e,n,t){let r=await s.submitEvent(e,n,t);return h(r,P.default,p,a)},async submitResponse(e,n,t){let r=await s.submitResponse(e,n,t);return h(r,P.default,p,a)}}},Kn=function(a,s,e){let n=L(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))},getNextRequest(t,r,o,i,l){return n.getNextRequest(t,r,o,i,l).then(c=>c(e,s))},submitEvent(t,r,o){return n.submitEvent(t,r,o).then(i=>i(e,s))},submitResponse(t,r,o){return n.submitResponse(t,r,o).then(i=>i(e,s))}}},Fe=class extends V{cancelPayment(s,e){return L(this.configuration).cancelPayment(s,e).then(n=>n(this.axios,this.basePath))}createPayment(s,e){return L(this.configuration).createPayment(s,e).then(n=>n(this.axios,this.basePath))}createRefund(s,e){return L(this.configuration).createRefund(s,e).then(n=>n(this.axios,this.basePath))}getNextRequest(s,e,n,t,r){return L(this.configuration).getNextRequest(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}submitEvent(s,e,n){return L(this.configuration).submitEvent(s,e,n).then(t=>t(this.axios,this.basePath))}submitResponse(s,e,n){return L(this.configuration).submitResponse(s,e,n).then(t=>t(this.axios,this.basePath))}},It=function(a){return{createPaymentRequest:async(s,e,n={})=>{u("createPaymentRequest","terminalId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},createRefundRequest:async(s,e,n={})=>{u("createRefundRequest","terminalId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getPaymentResult:async(s,e={})=>{u("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={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getTerminalAuthContext:async(s,e,n={})=>{u("getTerminalAuthContext","terminalId",s),u("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={},c={};e!==void 0&&(c.channel=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getTerminalContext:async(s,e,n={})=>{u("getTerminalContext","terminalId",s),u("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={},c={};e!==void 0&&(c.channel=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getTerminalState:async(s,e={})=>{u("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={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},handleCallback:async(s={})=>{let e="/api/v2/worldline/internal/callback",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}}}},w=function(a){let s=It(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){let n=await s.handleCallback(e);return h(n,P.default,p,a)}}},Qn=function(a,s,e){let n=w(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){return n.handleCallback(t).then(r=>r(e,s))}}},je=class extends V{createPaymentRequest(s,e,n){return w(this.configuration).createPaymentRequest(s,e,n).then(t=>t(this.axios,this.basePath))}createRefundRequest(s,e,n){return w(this.configuration).createRefundRequest(s,e,n).then(t=>t(this.axios,this.basePath))}getPaymentResult(s,e){return w(this.configuration).getPaymentResult(s,e).then(n=>n(this.axios,this.basePath))}getTerminalAuthContext(s,e,n){return w(this.configuration).getTerminalAuthContext(s,e,n).then(t=>t(this.axios,this.basePath))}getTerminalContext(s,e,n){return w(this.configuration).getTerminalContext(s,e,n).then(t=>t(this.axios,this.basePath))}getTerminalState(s,e){return w(this.configuration).getTerminalState(s,e).then(n=>n(this.axios,this.basePath))}handleCallback(s){return w(this.configuration).handleCallback(s).then(e=>e(this.axios,this.basePath))}};var Qe=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 vt="1.4.3";0&&(module.exports={AblyApi,AblyApiAxiosParamCreator,AblyApiFactory,AblyApiFp,ActionEnum,ActionPasscodesApi,ActionPasscodesApiAxiosParamCreator,ActionPasscodesApiFactory,ActionPasscodesApiFp,ActionsEnum,AuthApi,AuthApiAxiosParamCreator,AuthApiFactory,AuthApiFp,BusinessApi,BusinessApiAxiosParamCreator,BusinessApiFactory,BusinessApiFp,BusinessBackgroundType,BusinessEventAction,BusinessEventType,BusinessPaymentIntegrationType,BusinessStatusEnum,CashLogReason,CashLogType,CashManagementApi,CashManagementApiAxiosParamCreator,CashManagementApiFactory,CashManagementApiFp,CashSessionDtoEnum,CashSessionStatus,ChannelEnum,CheckoutModelEnum,ConfigManagementApi,ConfigManagementApiAxiosParamCreator,ConfigManagementApiFactory,ConfigManagementApiFp,Configuration,CurrencyCode,CurrencyCodeEnum,DeliveryStatus,DeliveryType,DeviceStatus,DiscountScope,DiscountType,EmployeesApi,EmployeesApiAxiosParamCreator,EmployeesApiFactory,EmployeesApiFp,EntityType,EntityTypeEnum,EventTypeEnum,EventTypeIdEnum,GiftcardApi,GiftcardApiAxiosParamCreator,GiftcardApiFactory,GiftcardApiFp,HistoryApi,HistoryApiAxiosParamCreator,HistoryApiFactory,HistoryApiFp,IntegrationType,InvoiceCompaniesApi,InvoiceCompaniesApiAxiosParamCreator,InvoiceCompaniesApiFactory,InvoiceCompaniesApiFp,KioskEventType,KioskLayout,KiosksApi,KiosksApiAxiosParamCreator,KiosksApiFactory,KiosksApiFp,KitchenStatus,LocatorType,LoyaltyActionKey,LoyaltyIntegerationsApi,LoyaltyIntegerationsApiAxiosParamCreator,LoyaltyIntegerationsApiFactory,LoyaltyIntegerationsApiFp,MUNCHI_CORE_VERSION,MenuApi,MenuApiAxiosParamCreator,MenuApiFactory,MenuApiFp,MerchantsApi,MerchantsApiAxiosParamCreator,MerchantsApiFactory,MerchantsApiFp,NameEnum,NotificationApi,NotificationApiAxiosParamCreator,NotificationApiFactory,NotificationApiFp,OperatingMode,OperatingModeEnum,OrderFormat,OrderRefundStatus,OrderSource,OrderStatusEnum,OrderType,OrderTypePOS,OrderingCoApi,OrderingCoApiAxiosParamCreator,OrderingCoApiFactory,OrderingCoApiFp,OrdersApi,OrdersApiAxiosParamCreator,OrdersApiFactory,OrdersApiFp,POSSessionApi,POSSessionApiAxiosParamCreator,POSSessionApiFactory,POSSessionApiFp,PaymentApi,PaymentApiAxiosParamCreator,PaymentApiFactory,PaymentApiFp,PaymentEventType,PaymentFailureCode,PaymentMethod,PaymentProvider,PaymentProviderEnum,PaymentStatus,PaymentTypeEnum,PluginApi,PluginApiAxiosParamCreator,PluginApiFactory,PluginApiFp,PosDiscountTargetType,PosDiscountType,PosPaymentStatus,PosPaymentType,PosPermission,PreorderStatus,PrinterTypeEnum,ProductApi,ProductApiAxiosParamCreator,ProductApiFactory,ProductApiFp,ProductAvailability,ProductDetailLayout,ProductDetailLayoutEnum,ProviderApi,ProviderApiAxiosParamCreator,ProviderApiFactory,ProviderApiFp,ProviderEnum,RefundMode,RefundOverallStatus,RefundStatusEnum,RefundStepStatus,RefundsApi,RefundsApiAxiosParamCreator,RefundsApiFactory,RefundsApiFp,ReportApi,ReportApiAxiosParamCreator,ReportApiFactory,ReportApiFp,SYNCKEY,SelectedPaymentProviderEnum,ShiftTrackingApi,ShiftTrackingApiAxiosParamCreator,ShiftTrackingApiFactory,ShiftTrackingApiFp,SimplePaymentStatus,StaffActivityActionType,StationType,StationsApi,StationsApiAxiosParamCreator,StationsApiFactory,StationsApiFp,Status,StatusEnum,TerminalApi,TerminalApiAxiosParamCreator,TerminalApiFactory,TerminalApiFp,TerminalConnectionType,TimeSpan,TransactionEventType,TransactionType,Type,UpsellMode,UserApi,UserApiAxiosParamCreator,UserApiFactory,UserApiFp,UsersApi,UsersApiAxiosParamCreator,UsersApiFactory,UsersApiFp,VivaCurrencyCode,VivaErrorId,VivaEventId,WebhookApi,WebhookApiAxiosParamCreator,WebhookApiFactory,WebhookApiFp,WorldlineApi,WorldlineApiAxiosParamCreator,WorldlineApiFactory,WorldlineApiFp,WorldlineAuthorizationMethod,WorldlineAuthorizationResponder,WorldlineEntryMode,WorldlineEventType,WorldlineInternalApi,WorldlineInternalApiAxiosParamCreator,WorldlineInternalApiFactory,WorldlineInternalApiFp,WorldlineOutcomeDescription,WorldlineResponseStatus,WorldlineTransactionOutcome,WorldlineTransactionType,WorldlineVerificationMethod});
1
+ var St=Object.create;var ee=Object.defineProperty;var Tt=Object.getOwnPropertyDescriptor;var qt=Object.getOwnPropertyNames;var Ut=Object.getPrototypeOf,Et=Object.prototype.hasOwnProperty;var Bt=(a,s)=>{for(var e in s)ee(a,e,{get:s[e],enumerable:!0})},Ge=(a,s,e,n)=>{if(s&&typeof s=="object"||typeof s=="function")for(let t of qt(s))!Et.call(a,t)&&t!==e&&ee(a,t,{get:()=>s[t],enumerable:!(n=Tt(s,t))||n.enumerable});return a};var $e=(a,s,e)=>(e=a!=null?St(Ut(a)):{},Ge(s||!a||!a.__esModule?ee(e,"default",{value:a,enumerable:!0}):e,a)),Mt=a=>Ge(ee({},"__esModule",{value:!0}),a);var $n={};Bt($n,{AblyApi:()=>de,AblyApiAxiosParamCreator:()=>Ye,AblyApiFactory:()=>hn,AblyApiFp:()=>se,ActionEnum:()=>kt,ActionPasscodesApi:()=>pe,ActionPasscodesApiAxiosParamCreator:()=>Ze,ActionPasscodesApiFactory:()=>Pn,ActionPasscodesApiFp:()=>Z,ActionsEnum:()=>qs,AuthApi:()=>me,AuthApiAxiosParamCreator:()=>Je,AuthApiFactory:()=>An,AuthApiFp:()=>K,BusinessApi:()=>ge,BusinessApiAxiosParamCreator:()=>Xe,BusinessApiFactory:()=>fn,BusinessApiFp:()=>T,BusinessBackgroundType:()=>Nt,BusinessEventAction:()=>Ft,BusinessEventType:()=>Lt,BusinessPaymentIntegrationType:()=>jt,BusinessStatusEnum:()=>Wt,CashLogReason:()=>Ht,CashLogType:()=>Kt,CashManagementApi:()=>ye,CashManagementApiAxiosParamCreator:()=>et,CashManagementApiFactory:()=>xn,CashManagementApiFp:()=>j,CashSessionDtoEnum:()=>Qt,CashSessionStatus:()=>Gt,ChannelEnum:()=>$t,CheckoutModelEnum:()=>zt,ConfigManagementApi:()=>he,ConfigManagementApiAxiosParamCreator:()=>tt,ConfigManagementApiFactory:()=>Rn,ConfigManagementApiFp:()=>M,Configuration:()=>Qe,CurrencyCode:()=>Yt,CurrencyCodeEnum:()=>rn,DeliveryStatus:()=>Zt,DeliveryType:()=>Jt,DeviceStatus:()=>Xt,DiscountScope:()=>es,DiscountType:()=>ts,EmployeesApi:()=>Pe,EmployeesApiAxiosParamCreator:()=>st,EmployeesApiFactory:()=>bn,EmployeesApiFp:()=>We,EntityType:()=>ss,EntityTypeEnum:()=>_t,EventTypeEnum:()=>wt,EventTypeIdEnum:()=>on,FeeType:()=>ns,GiftcardApi:()=>Ae,GiftcardApiAxiosParamCreator:()=>nt,GiftcardApiFactory:()=>Cn,GiftcardApiFp:()=>ne,HistoryApi:()=>fe,HistoryApiAxiosParamCreator:()=>rt,HistoryApiFactory:()=>Dn,HistoryApiFp:()=>Q,IntegrationType:()=>rs,InvoiceCompaniesApi:()=>xe,InvoiceCompaniesApiAxiosParamCreator:()=>ot,InvoiceCompaniesApiFactory:()=>On,InvoiceCompaniesApiFp:()=>N,KioskEventType:()=>os,KioskLayout:()=>as,KiosksApi:()=>Re,KiosksApiAxiosParamCreator:()=>at,KiosksApiFactory:()=>Vn,KiosksApiFp:()=>re,KitchenStatus:()=>is,LocatorType:()=>ls,LoyaltyActionKey:()=>cs,LoyaltyIntegerationsApi:()=>be,LoyaltyIntegerationsApiAxiosParamCreator:()=>it,LoyaltyIntegerationsApiFactory:()=>In,LoyaltyIntegerationsApiFp:()=>W,MUNCHI_CORE_VERSION:()=>vt,MenuApi:()=>Ce,MenuApiAxiosParamCreator:()=>lt,MenuApiFactory:()=>vn,MenuApiFp:()=>H,MerchantsApi:()=>De,MerchantsApiAxiosParamCreator:()=>ct,MerchantsApiFactory:()=>Sn,MerchantsApiFp:()=>J,NameEnum:()=>en,NotificationApi:()=>Oe,NotificationApiAxiosParamCreator:()=>ut,NotificationApiFactory:()=>Tn,NotificationApiFp:()=>oe,OperatingMode:()=>us,OperatingModeEnum:()=>Js,OrderFormat:()=>ds,OrderRefundStatus:()=>ps,OrderSource:()=>ms,OrderStatusEnum:()=>gs,OrderType:()=>ys,OrderTypePOS:()=>hs,OrderingCoApi:()=>Ve,OrderingCoApiAxiosParamCreator:()=>dt,OrderingCoApiFactory:()=>qn,OrderingCoApiFp:()=>He,OrdersApi:()=>Ie,OrdersApiAxiosParamCreator:()=>pt,OrdersApiFactory:()=>Un,OrdersApiFp:()=>B,POSSessionApi:()=>ve,POSSessionApiAxiosParamCreator:()=>mt,POSSessionApiFactory:()=>En,POSSessionApiFp:()=>ae,PaymentApi:()=>Se,PaymentApiAxiosParamCreator:()=>gt,PaymentApiFactory:()=>Bn,PaymentApiFp:()=>q,PaymentEventType:()=>Ps,PaymentFailureCode:()=>As,PaymentMethod:()=>fs,PaymentProvider:()=>xs,PaymentProviderEnum:()=>Rs,PaymentStatus:()=>bs,PaymentTypeEnum:()=>Cs,PluginApi:()=>Te,PluginApiAxiosParamCreator:()=>yt,PluginApiFactory:()=>Mn,PluginApiFp:()=>ie,PosDiscountTargetType:()=>Ds,PosDiscountType:()=>Os,PosPaymentStatus:()=>Vs,PosPaymentType:()=>Is,PosPermission:()=>vs,PreorderStatus:()=>Ss,PrinterTypeEnum:()=>Ts,ProductApi:()=>qe,ProductApiAxiosParamCreator:()=>ht,ProductApiFactory:()=>kn,ProductApiFp:()=>Ke,ProductAvailability:()=>Us,ProductDetailLayout:()=>Es,ProductDetailLayoutEnum:()=>Xs,ProviderApi:()=>Ue,ProviderApiAxiosParamCreator:()=>Pt,ProviderApiFactory:()=>_n,ProviderApiFp:()=>X,ProviderEnum:()=>Bs,RefundMode:()=>Ms,RefundOverallStatus:()=>ks,RefundStatusEnum:()=>_s,RefundStepStatus:()=>ws,RefundsApi:()=>Ee,RefundsApiAxiosParamCreator:()=>At,RefundsApiFactory:()=>wn,RefundsApiFp:()=>_,ReportApi:()=>Be,ReportApiAxiosParamCreator:()=>ft,ReportApiFactory:()=>Nn,ReportApiFp:()=>G,SYNCKEY:()=>Ns,SelectedPaymentProviderEnum:()=>Zs,ShiftTrackingApi:()=>Me,ShiftTrackingApiAxiosParamCreator:()=>xt,ShiftTrackingApiFactory:()=>Fn,ShiftTrackingApiFp:()=>$,SimplePaymentStatus:()=>Fs,StaffActivityActionType:()=>Ls,StationType:()=>js,StationsApi:()=>ke,StationsApiAxiosParamCreator:()=>Rt,StationsApiFactory:()=>Ln,StationsApiFp:()=>z,Status:()=>Ws,StatusEnum:()=>Hs,TerminalApi:()=>_e,TerminalApiAxiosParamCreator:()=>bt,TerminalApiFactory:()=>jn,TerminalApiFp:()=>Y,TerminalConnectionType:()=>Ks,TimeSpan:()=>Qs,TransactionEventType:()=>Gs,TransactionType:()=>$s,Type:()=>zs,UpsellMode:()=>Ys,UserApi:()=>we,UserApiAxiosParamCreator:()=>Ct,UserApiFactory:()=>Wn,UserApiFp:()=>le,UsersApi:()=>Ne,UsersApiAxiosParamCreator:()=>Dt,UsersApiFactory:()=>Hn,UsersApiFp:()=>ce,VivaCurrencyCode:()=>tn,VivaErrorId:()=>sn,VivaEventId:()=>nn,WebhookApi:()=>Fe,WebhookApiAxiosParamCreator:()=>Ot,WebhookApiFactory:()=>Kn,WebhookApiFp:()=>E,WorldlineApi:()=>Le,WorldlineApiAxiosParamCreator:()=>Vt,WorldlineApiFactory:()=>Qn,WorldlineApiFp:()=>F,WorldlineAuthorizationMethod:()=>an,WorldlineAuthorizationResponder:()=>ln,WorldlineEntryMode:()=>cn,WorldlineEventType:()=>un,WorldlineInternalApi:()=>je,WorldlineInternalApiAxiosParamCreator:()=>It,WorldlineInternalApiFactory:()=>Gn,WorldlineInternalApiFp:()=>w,WorldlineOutcomeDescription:()=>dn,WorldlineResponseStatus:()=>pn,WorldlineTransactionOutcome:()=>mn,WorldlineTransactionType:()=>gn,WorldlineVerificationMethod:()=>yn});module.exports=Mt($n);var P=$e(require("axios"));var ze=$e(require("axios")),p="http://localhost".replace(/\/+$/,"");var V=class{constructor(s,e=p,n=ze.default){this.basePath=e;this.axios=n;s&&(this.configuration=s,this.basePath=s.basePath||this.basePath)}configuration},te=class extends Error{constructor(e,n){super(n);this.field=e;this.name="RequiredError"}};var m="https://example.com",u=function(a,s,e){if(e==null)throw new te(s,`Required parameter ${s} was null or undefined when calling ${a}.`)};var C=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 ue(a,s,e=""){s!=null&&(typeof s=="object"?Array.isArray(s)?s.forEach(n=>ue(a,n,e)):Object.keys(s).forEach(n=>ue(a,s[n],`${e}${e!==""?".":""}${n}`)):a.has(e)?a.append(e,s):a.set(e,s))}var g=function(a,...s){let e=new URLSearchParams(a.search);ue(e,s),a.search=e.toString()},f=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||""},y=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 kt={BusinessConfigUpdated:"BUSINESS_CONFIG_UPDATED",DataSyncRequired:"DATA_SYNC_REQUIRED",PosSessionUpdated:"POS_SESSION_UPDATED",BusinessDataUpdated:"BUSINESS_DATA_UPDATED"},_t={Product:"product",Menu:"menu",Category:"category",Extra:"extra",Option:"option",Role:"role",Shift:"shift",Employee:"employee",Config:"config",Business:"business",Suboption:"suboption",Site:"site"},wt={Earn:"earn",Redeem:"redeem",Collect:"collect",Credit:"credit",Debit:"debit",Claimed:"claimed"},Nt={Image:"image",Video:"video",Animation:"animation"},Ft={BusinessConfigUpdated:"BUSINESS_CONFIG_UPDATED",DataSyncRequired:"DATA_SYNC_REQUIRED",PosSessionUpdated:"POS_SESSION_UPDATED",BusinessDataUpdated:"BUSINESS_DATA_UPDATED"},Lt={StatusUpdated:"business:status-updated",MenuUpdated:"business:menu-updated",ConfigUpdated:"business:config-updated"},jt={GiftCard:"GiftCard"},Wt={Online:"ONLINE",Offline:"OFFLINE"},Ht={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"},Kt={Opening:"OPENING",Sale:"SALE",Refund:"REFUND",ManualIn:"MANUAL_IN",ManualOut:"MANUAL_OUT",Closing:"CLOSING"},Qt={SessionUpdated:"SESSION_UPDATED",SessionClosed:"SESSION_CLOSED",LogAdded:"LOG_ADDED"},Gt={Open:"OPEN",Counting:"COUNTING",Closed:"CLOSED"},$t={Wolt:"Wolt",MunchiOnline:"MunchiOnline",MunchiKiosk:"MunchiKiosk",MunchiPos:"MunchiPos",UberEats:"UberEats",Foodora:"Foodora",Bolt:"Bolt",MunchiKioskV2:"MunchiKioskV2",Kiosk:"Kiosk",WoltStorefront:"WoltStorefront"},zt={EqualSplit:"EQUAL_SPLIT",ItemSplit:"ITEM_SPLIT",Full:"FULL"},Yt={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"},Zt={None:"none",PickupEtaUpdated:"pickup_eta_updated",PickupStarted:"pickup_started",PickedUp:"picked_up",DropoffStarted:"dropoff_started",DropoffCompleted:"dropoff_completed",Delivered:"delivered",DropoffEtaUpdated:"dropoff_eta_updated"},Jt={SelfDelivery:"self_delivery",HomeDelivery:"home_delivery"},Xt={NUMBER_0:0,NUMBER_1:1,NUMBER_2:2,NUMBER_3:3,NUMBER_4:4,NUMBER_5:5,NUMBER_6:6,NUMBER_7:7},es={Item:"ITEM",Cart:"CART"},ts={Percentage:"PERCENTAGE",Fixed:"FIXED"},ss={Product:"product",Menu:"menu",Category:"category",Extra:"extra",Option:"option",Role:"role",Shift:"shift",Employee:"employee",Config:"config",Business:"business",Suboption:"suboption",Site:"site"},ns={TipAmount:"TIP_AMOUNT"},rs={Orders:"ORDERS",Menu:"MENU",Venue:"VENUE"},os={StatusUpdated:"kiosk.status.updated",ConfigUpdated:"kiosk.config.updated"},as={Vertical:"VERTICAL",Horizontal:"HORIZONTAL"},is={NotApplicable:"not_applicable",Pending:"pending",OnHold:"on_hold",SentToOm:"sent_to_om",DispatchedToKitchen:"dispatched_to_kitchen",Completed:"completed",Cancelled:"cancelled"},ls={Table:"table",Indicator:"indicator"},cs={Self:"self",GetUserById:"getUserById",SearchUser:"searchUser",AddPoints:"addPoints",GetAdminHistory:"getAdminHistory"},us={Standard:"STANDARD",Team:"TEAM",Pinlock:"PINLOCK"},ds={Open:"OPEN",Instant:"INSTANT"},ps={None:"NONE",Partial:"PARTIAL",Full:"FULL"},ms={Platform:"PLATFORM",Pos:"POS"},gs={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"},ys={Delivery:"delivery",PickUp:"pick_up",DineIn:"dine_in"},hs={DineIn:"dine_in",PickUp:"pick_up"},Ps={StatusChanged:"payment:status-changed",RefundStatusChanged:"payment:refund-status-changed"},As={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",SystemProviderError:"system.provider_error",SystemUnknown:"system.unknown"},fs={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"},xs={Stripe:"stripe",Viva:"viva",Nets:"nets",Worldline:"worldline"},Rs={Stripe:"stripe",Viva:"viva",Nets:"nets",Worldline:"worldline"},bs={Paid:"paid",Pending:"pending"},Cs={Cash:"cash",Card:"card"},Ds={Order:"ORDER",LineItem:"LINE_ITEM",ItemSplitSeat:"ITEM_SPLIT_SEAT",ItemSplitAssignment:"ITEM_SPLIT_ASSIGNMENT",EqualSplitPart:"EQUAL_SPLIT_PART"},Os={Percentage:"percentage",Fixed:"fixed"},Vs={Unpaid:"unpaid",Paying:"paying",Paid:"paid"},Is={Manual:"manual",Static:"static",NonStatic:"non_static",Common:"common"},vs={AccessPosApp:"Access::PosApp",PagePos:"Page::Pos",PageOpenOrders:"Page::OpenOrders",PageOrders:"Page::Orders",PageTransactions:"Page::Transactions",PageProducts:"Page::Products",PageReports:"Page::Reports",PageSettings:"Page::Settings",Cart:"Cart::*",CartAddItem:"Cart::AddItem",CartRemoveItem:"Cart::RemoveItem",CartApplyDiscount:"Cart::ApplyDiscount",CartVoidItem:"Cart::VoidItem",CartClear:"Cart::Clear",Transaction:"Transaction::*",TransactionView:"Transaction::View",TransactionRefund:"Transaction::Refund",Shift:"Shift::*",ShiftForceClockOut:"Shift::ForceClockOut",Settings:"Settings::*",SettingsEditProfile:"Settings::EditProfile",OpenOrdersDelete:"OpenOrders::Delete"},Ss={Waiting:"waiting",Confirm:"confirm"},Ts={Kitchen:"KITCHEN",Bar:"BAR",Receipt:"RECEIPT",Cloud:"CLOUD"},qs={Ticketing:"Ticketing",OrderChange:"OrderChange",NewOrder:"NewOrder",Printing:"Printing",PosOrderChange:"PosOrderChange",UpdateLoyaltyPoints:"UpdateLoyaltyPoints"},Us={Available:"AVAILABLE",UnavailableToday:"UNAVAILABLE_TODAY",UnavailableIndefinitely:"UNAVAILABLE_INDEFINITELY"},Es={Modal:"MODAL",Screen:"SCREEN"},Bs={Wolt:"Wolt",MunchiOnline:"MunchiOnline",MunchiKiosk:"MunchiKiosk",MunchiPos:"MunchiPos",UberEats:"UberEats",Foodora:"Foodora",Bolt:"Bolt",MunchiKioskV2:"MunchiKioskV2",Kiosk:"Kiosk",WoltStorefront:"WoltStorefront"},Ms={Full:"FULL",Item:"ITEM"},ks={Pending:"PENDING",InProgress:"IN_PROGRESS",ChoiceRequired:"CHOICE_REQUIRED",Completed:"COMPLETED",Failed:"FAILED"},_s={Pending:"PENDING",Success:"SUCCESS",Failed:"FAILED",Canceled:"CANCELED"},ws={Pending:"PENDING",InProgress:"in_progress",Failed:"FAILED",Completed:"COMPLETED"},Ns={Menu:"MENU",Products:"PRODUCTS",Discounts:"DISCOUNTS",LoyaltySettings:"LOYALTY_SETTINGS",BusinessConfig:"BUSINESS_CONFIG",PosSession:"POS_SESSION",InvoiceCompanies:"INVOICE_COMPANIES",BusinessTax:"BUSINESS_TAX"},Fs={Pending:"PENDING",Success:"SUCCESS",Failed:"FAILED"},Ls={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"},js={Kiosk:"KIOSK",Pos:"POS"},Ws={Active:"ACTIVE",Inactive:"INACTIVE"},Hs={RequiresPaymentMethod:"requires_payment_method",RequiresConfirmation:"requires_confirmation",RequiresAction:"requires_action",Processing:"processing",RequiresCapture:"requires_capture",Canceled:"canceled",Succeeded:"succeeded"},Ks={Network:"NETWORK"},Qs={Custom:"CUSTOM",Day:"DAY",Week:"WEEK",Month:"MONTH",Year:"YEAR"},Gs={Earn:"earn",Redeem:"redeem",Collect:"collect",Credit:"credit",Debit:"debit",Claimed:"claimed"},$s={Purchase:"purchase",PurchaseWithCashback:"purchaseWithCashback",Reversal:"reversal",ReturnOfGoods:"returnOfGoods",Bonus:"bonus",Authorization:"authorization",PreAuthorizationIncremental:"preAuthorizationIncremental",PreAuthorizationReversal:"preAuthorizationReversal",PreAuthorizationSaleCompletion:"preAuthorizationSaleCompletion",Deposit:"deposit",BalanceInquiry:"balanceInquiry"},zs={Instant:"instant",Preorder:"preorder"},Ys={AfterAddProduct:"AfterAddProduct",BeforeCheckout:"BeforeCheckout",Disabled:"Disabled"},Zs={Stripe:"stripe",Viva:"viva",Nets:"nets",Worldline:"worldline"},Js={Standard:"STANDARD",Team:"TEAM",Pinlock:"PINLOCK"},Xs={Modal:"MODAL",Screen:"SCREEN"},en={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"},tn={_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"},sn={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},nn={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},rn={_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"},on={NUMBER_1796:1796,NUMBER_1797:1797,NUMBER_1798:1798,NUMBER_1799:1799,NUMBER_1802:1802,NUMBER_1803:1803,NUMBER_8193:8193,NUMBER_8194:8194},an={Online:"Online",Offline:"Offline"},ln={Manual:"Manual",Unknown:"Unknown",Local:"Local",Base24:"Base24",Issuer:"Issuer",Network:"Network",Acquirer:"Acquirer",Other:"Other"},cn={Keyed:"Keyed",Magstripe:"Magstripe",Chip:"Chip",Contactless:"Contactless"},un={PaymentCompleted:"PaymentCompleted",RefundCompleted:"RefundCompleted",CaptureCompleted:"CaptureCompleted",ReversalCompleted:"ReversalCompleted",ReadCardCompleted:"ReadCardCompleted",PrintCompleted:"PrintCompleted",DialogShown:"DialogShown"},dn={None:"None",Aborted:"Aborted",UserCancel:"UserCancel",UserTimeout:"UserTimeout",CommunicationError:"CommunicationError",GenericError:"GenericError"},pn={Ok:"OK",NotFound:"NotFound",BadRequest:"BadRequest",Unauthorized:"Unauthorized",Forbidden:"Forbidden",TooManyRequests:"TooManyRequests",ServiceUnavailable:"ServiceUnavailable",InternalServerError:"InternalServerError"},mn={Approved:"Approved",Declined:"Declined",Cancelled:"Cancelled"},gn={Payment:"Payment",Refund:"Refund",Capture:"Capture",Reversal:"Reversal",Print:"Print"},yn={Failed:"Failed",OnlinePin:"OnlinePin",OfflinePin:"OfflinePin",Signature:"Signature",NoCvm:"NoCvm",ConsumerDevice:"ConsumerDevice",Skipped:"Skipped"},Ye=function(a){return{refreshConfig:async(s={})=>{let e="/api/v1/ably/refresh-config",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},requestSettings:async(s={})=>{let e="/api/v1/ably/request-settings",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}}}},se=function(a){let s=Ye(a);return{async refreshConfig(e){let n=await s.refreshConfig(e);return h(n,P.default,p,a)},async requestSettings(e){let n=await s.requestSettings(e);return h(n,P.default,p,a)}}},hn=function(a,s,e){let n=se(a);return{refreshConfig(t){return n.refreshConfig(t).then(r=>r(e,s))},requestSettings(t){return n.requestSettings(t).then(r=>r(e,s))}}},de=class extends V{refreshConfig(s){return se(this.configuration).refreshConfig(s).then(e=>e(this.axios,this.basePath))}requestSettings(s){return se(this.configuration).requestSettings(s).then(e=>e(this.axios,this.basePath))}},Ze=function(a){return{createActionPasscode:async(s,e={})=>{u("createActionPasscode","createActionPasscodeDto",s);let n="/api/v1/action-passcodes",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await C(i,a),i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},deleteActionPasscode:async(s,e={})=>{u("deleteActionPasscode","id",s);let n="/api/v1/action-passcodes/{id}".replace("{id}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={},l={};await C(i,a),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},updateActionPasscode:async(s,e,n={})=>{u("updateActionPasscode","id",s),u("updateActionPasscode","updateActionPasscodeDto",e);let t="/api/v1/action-passcodes/{id}".replace("{id}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"PATCH",...o,...n},l={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}}}},Z=function(a){let s=Ze(a);return{async createActionPasscode(e,n){let t=await s.createActionPasscode(e,n);return h(t,P.default,p,a)},async deleteActionPasscode(e,n){let t=await s.deleteActionPasscode(e,n);return h(t,P.default,p,a)},async updateActionPasscode(e,n,t){let r=await s.updateActionPasscode(e,n,t);return h(r,P.default,p,a)}}},Pn=function(a,s,e){let n=Z(a);return{createActionPasscode(t,r){return n.createActionPasscode(t,r).then(o=>o(e,s))},deleteActionPasscode(t,r){return n.deleteActionPasscode(t,r).then(o=>o(e,s))},updateActionPasscode(t,r,o){return n.updateActionPasscode(t,r,o).then(i=>i(e,s))}}},pe=class extends V{createActionPasscode(s,e){return Z(this.configuration).createActionPasscode(s,e).then(n=>n(this.axios,this.basePath))}deleteActionPasscode(s,e){return Z(this.configuration).deleteActionPasscode(s,e).then(n=>n(this.axios,this.basePath))}updateActionPasscode(s,e,n){return Z(this.configuration).updateActionPasscode(s,e,n).then(t=>t(this.axios,this.basePath))}},Je=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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},login:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},refreshToken:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},K=function(a){let s=Je(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)}}},An=function(a,s,e){let n=K(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))}}},me=class extends V{firebaseAuth(s){return K(this.configuration).firebaseAuth(s).then(e=>e(this.axios,this.basePath))}login(s,e){return K(this.configuration).login(s,e).then(n=>n(this.axios,this.basePath))}logout(s){return K(this.configuration).logout(s).then(e=>e(this.axios,this.basePath))}refreshToken(s,e){return K(this.configuration).refreshToken(s,e).then(n=>n(this.axios,this.basePath))}},Xe=function(a){return{createBusinessPermission:async(s,e,n={})=>{u("createBusinessPermission","businessId",s),u("createBusinessPermission","permissionDto",e);let t="/api/v1/business/{businessId}/permissions".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},deleteBusinessPermission:async(s,e,n={})=>{u("deleteBusinessPermission","permissionId",s),u("deleteBusinessPermission","businessId",e);let t="/api/v1/business/{businessId}/permissions/{permissionId}".replace("{permissionId}",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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessCategoriesByMenuId:async(s,e,n={})=>{u("getBusinessCategoriesByMenuId","businessId",s),u("getBusinessCategoriesByMenuId","businessCategoryBodyDto",e);let t="/api/v1/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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getBusinessCategoriesByMenuIdV2:async(s,e,n={})=>{u("getBusinessCategoriesByMenuIdV2","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getBusinessChannelConfig:async(s,e,n={})=>{u("getBusinessChannelConfig","businessId",s);let t="/api/v1/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={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessChannelConfigV2:async(s,e,n={})=>{u("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={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessConfig:async(s,e,n={})=>{u("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={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessConfigById:async(s,e,n={})=>{u("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={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessConfigByIdV2:async(s,e,n={})=>{u("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={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessConfiguration:async(s,e,n={})=>{u("getBusinessConfiguration","businessId",s);let t="/api/v1/business/{businessId}/internal/configs".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},c={};await C(l,a),e!==void 0&&(c.lang=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessMenuByType:async(s,e,n={})=>{u("getBusinessMenuByType","businessId",s),u("getBusinessMenuByType","menuType",e);let t="/api/v1/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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessMenuByTypeV2:async(s,e,n={})=>{u("getBusinessMenuByTypeV2","businessId",s),u("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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessMenuByTypeV3:async(s,e,n={})=>{u("getBusinessMenuByTypeV3","businessId",s),u("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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessMenuByTypeV4:async(s,e,n={})=>{u("getBusinessMenuByTypeV4","businessId",s),u("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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessProviderStatus:async(s,e={})=>{u("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 C(i,a),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getBusinessProviderStatusExternal:async(s,e,n={})=>{u("getBusinessProviderStatusExternal","businessId",s);let t="/api/v1/business/{businessId}/provider/status/external".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},c={};await C(l,a),e!==void 0&&(c.channel=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getBusinessTax:async(s={})=>{let e="/api/v1/business/tax",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={},i={};await C(o,a),g(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},getSingleBusinessProviderStatus:async(s,e,n,t={})=>{u("getSingleBusinessProviderStatus","businessId",s),u("getSingleBusinessProviderStatus","provider",e),u("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},c={},d={};await C(c,a),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},getUnifiedDiscounts:async(s,e={})=>{u("getUnifiedDiscounts","businessId",s);let n="/api/v1/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 C(i,a),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},setBusinessStatus:async(s,e,n={})=>{u("setBusinessStatus","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},setBusinessStatusSchedule:async(s,e,n={})=>{u("setBusinessStatusSchedule","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},updateBusinessPermission:async(s,e,n,t={})=>{u("updateBusinessPermission","permissionId",s),u("updateBusinessPermission","businessId",e),u("updateBusinessPermission","updatePermissionDto",n);let r="/api/v1/business/{businessId}/permissions/{permissionId}".replace("{permissionId}",encodeURIComponent(String(s))).replace("{businessId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"PUT",...i,...t},c={},d={};await C(c,a),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},validateBusiness:async(s,e={})=>{u("validateBusiness","businessId",s);let n="/api/v1/business/{businessId}/validate".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};await C(i,a),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}}}},T=function(a){let s=Xe(a);return{async createBusinessPermission(e,n,t){let r=await s.createBusinessPermission(e,n,t);return h(r,P.default,p,a)},async deleteBusinessPermission(e,n,t){let r=await s.deleteBusinessPermission(e,n,t);return h(r,P.default,p,a)},async getBusinessCategoriesByMenuId(e,n,t){let r=await s.getBusinessCategoriesByMenuId(e,n,t);return h(r,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 getBusinessChannelConfig(e,n,t){let r=await s.getBusinessChannelConfig(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 getBusinessConfiguration(e,n,t){let r=await s.getBusinessConfiguration(e,n,t);return h(r,P.default,p,a)},async getBusinessMenuByType(e,n,t){let r=await s.getBusinessMenuByType(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 getBusinessProviderStatusExternal(e,n,t){let r=await s.getBusinessProviderStatusExternal(e,n,t);return h(r,P.default,p,a)},async getBusinessTax(e){let n=await s.getBusinessTax(e);return h(n,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 getUnifiedDiscounts(e,n){let t=await s.getUnifiedDiscounts(e,n);return h(t,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)},async updateBusinessPermission(e,n,t,r){let o=await s.updateBusinessPermission(e,n,t,r);return h(o,P.default,p,a)},async validateBusiness(e,n){let t=await s.validateBusiness(e,n);return h(t,P.default,p,a)}}},fn=function(a,s,e){let n=T(a);return{createBusinessPermission(t,r,o){return n.createBusinessPermission(t,r,o).then(i=>i(e,s))},deleteBusinessPermission(t,r,o){return n.deleteBusinessPermission(t,r,o).then(i=>i(e,s))},getBusinessCategoriesByMenuId(t,r,o){return n.getBusinessCategoriesByMenuId(t,r,o).then(i=>i(e,s))},getBusinessCategoriesByMenuIdV2(t,r,o){return n.getBusinessCategoriesByMenuIdV2(t,r,o).then(i=>i(e,s))},getBusinessChannelConfig(t,r,o){return n.getBusinessChannelConfig(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))},getBusinessConfiguration(t,r,o){return n.getBusinessConfiguration(t,r,o).then(i=>i(e,s))},getBusinessMenuByType(t,r,o){return n.getBusinessMenuByType(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))},getBusinessProviderStatusExternal(t,r,o){return n.getBusinessProviderStatusExternal(t,r,o).then(i=>i(e,s))},getBusinessTax(t){return n.getBusinessTax(t).then(r=>r(e,s))},getSingleBusinessProviderStatus(t,r,o,i){return n.getSingleBusinessProviderStatus(t,r,o,i).then(l=>l(e,s))},getUnifiedDiscounts(t,r){return n.getUnifiedDiscounts(t,r).then(o=>o(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))},updateBusinessPermission(t,r,o,i){return n.updateBusinessPermission(t,r,o,i).then(l=>l(e,s))},validateBusiness(t,r){return n.validateBusiness(t,r).then(o=>o(e,s))}}},ge=class extends V{createBusinessPermission(s,e,n){return T(this.configuration).createBusinessPermission(s,e,n).then(t=>t(this.axios,this.basePath))}deleteBusinessPermission(s,e,n){return T(this.configuration).deleteBusinessPermission(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessCategoriesByMenuId(s,e,n){return T(this.configuration).getBusinessCategoriesByMenuId(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessCategoriesByMenuIdV2(s,e,n){return T(this.configuration).getBusinessCategoriesByMenuIdV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessChannelConfig(s,e,n){return T(this.configuration).getBusinessChannelConfig(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessChannelConfigV2(s,e,n){return T(this.configuration).getBusinessChannelConfigV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfig(s,e,n){return T(this.configuration).getBusinessConfig(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfigById(s,e,n){return T(this.configuration).getBusinessConfigById(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfigByIdV2(s,e,n){return T(this.configuration).getBusinessConfigByIdV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfiguration(s,e,n){return T(this.configuration).getBusinessConfiguration(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByType(s,e,n){return T(this.configuration).getBusinessMenuByType(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV2(s,e,n){return T(this.configuration).getBusinessMenuByTypeV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV3(s,e,n){return T(this.configuration).getBusinessMenuByTypeV3(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV4(s,e,n){return T(this.configuration).getBusinessMenuByTypeV4(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessProviderStatus(s,e){return T(this.configuration).getBusinessProviderStatus(s,e).then(n=>n(this.axios,this.basePath))}getBusinessProviderStatusExternal(s,e,n){return T(this.configuration).getBusinessProviderStatusExternal(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessTax(s){return T(this.configuration).getBusinessTax(s).then(e=>e(this.axios,this.basePath))}getSingleBusinessProviderStatus(s,e,n,t){return T(this.configuration).getSingleBusinessProviderStatus(s,e,n,t).then(r=>r(this.axios,this.basePath))}getUnifiedDiscounts(s,e){return T(this.configuration).getUnifiedDiscounts(s,e).then(n=>n(this.axios,this.basePath))}setBusinessStatus(s,e,n){return T(this.configuration).setBusinessStatus(s,e,n).then(t=>t(this.axios,this.basePath))}setBusinessStatusSchedule(s,e,n){return T(this.configuration).setBusinessStatusSchedule(s,e,n).then(t=>t(this.axios,this.basePath))}updateBusinessPermission(s,e,n,t){return T(this.configuration).updateBusinessPermission(s,e,n,t).then(r=>r(this.axios,this.basePath))}validateBusiness(s,e){return T(this.configuration).validateBusiness(s,e).then(n=>n(this.axios,this.basePath))}},et=function(a){return{create:async(s,e,n={})=>{u("create","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getCashSession:async(s,e={})=>{u("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={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getSessionReport:async(s,e,n={})=>{u("getSessionReport","businessId",s),u("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={};g(r,{});let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},recordCashLog:async(s,e,n={})=>{u("recordCashLog","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},sendSessionReport:async(s,e,n,t={})=>{u("sendSessionReport","businessId",s),u("sendSessionReport","sessionId",e),u("sendSessionReport","sendCashReportDto",n);let r="/api/v1/cash-management/{businessId}/sessions/{sessionId}/send-report".replace("{businessId}",encodeURIComponent(String(s))).replace("{sessionId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},c={},d={};c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}}}},j=function(a){let s=et(a);return{async create(e,n,t){let r=await s.create(e,n,t);return h(r,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){let o=await s.sendSessionReport(e,n,t,r);return h(o,P.default,p,a)}}},xn=function(a,s,e){let n=j(a);return{create(t,r,o){return n.create(t,r,o).then(i=>i(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){return n.sendSessionReport(t,r,o,i).then(l=>l(e,s))}}},ye=class extends V{create(s,e,n){return j(this.configuration).create(s,e,n).then(t=>t(this.axios,this.basePath))}getCashSession(s,e){return j(this.configuration).getCashSession(s,e).then(n=>n(this.axios,this.basePath))}getSessionReport(s,e,n){return j(this.configuration).getSessionReport(s,e,n).then(t=>t(this.axios,this.basePath))}recordCashLog(s,e,n){return j(this.configuration).recordCashLog(s,e,n).then(t=>t(this.axios,this.basePath))}sendSessionReport(s,e,n,t){return j(this.configuration).sendSessionReport(s,e,n,t).then(r=>r(this.axios,this.basePath))}},tt=function(a){return{configManualSync:async(s,e,n={})=>{u("configManualSync","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},configRemovePaymentOption:async(s,e,n,t={})=>{u("configRemovePaymentOption","businessId",s),u("configRemovePaymentOption","id",e),u("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},c={},d={};await C(c,a),n!=null&&(c["x-app-x"]=String(n)),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},configUpsertBusiness:async(s,e,n={})=>{u("configUpsertBusiness","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},configUpsertChannelConfig:async(s,e,n,t={})=>{u("configUpsertChannelConfig","businessId",s),u("configUpsertChannelConfig","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},configUpsertGiftCard:async(s,e,n,t={})=>{u("configUpsertGiftCard","businessId",s),u("configUpsertGiftCard","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},configUpsertLoyalty:async(s,e,n={})=>{u("configUpsertLoyalty","businessId",s),u("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={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},configUpsertNets:async(s,e,n,t={})=>{u("configUpsertNets","businessId",s),u("configUpsertNets","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},configUpsertPaymentOptions:async(s,e,n,t={})=>{u("configUpsertPaymentOptions","businessId",s),u("configUpsertPaymentOptions","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},configUpsertStripe:async(s,e,n,t={})=>{u("configUpsertStripe","businessId",s),u("configUpsertStripe","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},configUpsertViva:async(s,e,n,t={})=>{u("configUpsertViva","businessId",s),u("configUpsertViva","xAppX",e),u("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},c={},d={};await C(c,a),e!=null&&(c["x-app-x"]=String(e)),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}}}},M=function(a){let s=tt(a);return{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 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 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)}}},Rn=function(a,s,e){let n=M(a);return{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))},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))},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))}}},he=class extends V{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))}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))}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))}},st=function(a){return{createAssignment:async(s,e,n={})=>{u("createAssignment","businessId",s),u("createAssignment","createEmployeeAssignmentDto",e);let t="/api/v1/businesses/{businessId}/assignments".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}}}},We=function(a){let s=st(a);return{async createAssignment(e,n,t){let r=await s.createAssignment(e,n,t);return h(r,P.default,p,a)}}},bn=function(a,s,e){let n=We(a);return{createAssignment(t,r,o){return n.createAssignment(t,r,o).then(i=>i(e,s))}}},Pe=class extends V{createAssignment(s,e,n){return We(this.configuration).createAssignment(s,e,n).then(t=>t(this.axios,this.basePath))}},nt=function(a){return{redeemGiftCard:async(s,e={})=>{u("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={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},validateGiftCard:async(s,e={})=>{u("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={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},ne=function(a){let s=nt(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)}}},Cn=function(a,s,e){let n=ne(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))}}},Ae=class extends V{redeemGiftCard(s,e){return ne(this.configuration).redeemGiftCard(s,e).then(n=>n(this.axios,this.basePath))}validateGiftCard(s,e){return ne(this.configuration).validateGiftCard(s,e).then(n=>n(this.axios,this.basePath))}},rt=function(a){return{getInternalOrderHistoryOnline:async(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O={})=>{u("getInternalOrderHistoryOnline","businessIds",s);let I="/api/v1/history/internal/orders",S=new URL(I,m),v;a&&(v=a.baseOptions);let U={method:"GET",...v,...O},k={},R={};e!==void 0&&(R.timeSpan=e),n!==void 0&&(R.start=n),t!==void 0&&(R.end=t),s&&(R.businessIds=s),r!==void 0&&(R.page=r),o!==void 0&&(R.rowPerPage=o),i&&(R.provider=i),l&&(R.paymentType=l),c&&(R.orderStatus=c),d&&(R.paymentStatus=d),A&&(R.orderType=A),x&&(R.paymentTypePos=x),b!==void 0&&(R.invoiceCompanyId=b),D!==void 0&&(R.timezone=D),g(S,R);let L=v&&v.headers?v.headers:{};return U.headers={...k,...L,...O.headers},{url:y(S),options:U}},getOrderHistoryOnline:async(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O={})=>{u("getOrderHistoryOnline","businessIds",s);let I="/api/v1/history/orders",S=new URL(I,m),v;a&&(v=a.baseOptions);let U={method:"GET",...v,...O},k={},R={};e!==void 0&&(R.timeSpan=e),n!==void 0&&(R.start=n),t!==void 0&&(R.end=t),s&&(R.businessIds=s),r!==void 0&&(R.page=r),o!==void 0&&(R.rowPerPage=o),i&&(R.provider=i),l&&(R.paymentType=l),c&&(R.orderStatus=c),d&&(R.paymentStatus=d),A&&(R.orderType=A),x&&(R.paymentTypePos=x),b!==void 0&&(R.invoiceCompanyId=b),D!==void 0&&(R.timezone=D),g(S,R);let L=v&&v.headers?v.headers:{};return U.headers={...k,...L,...O.headers},{url:y(S),options:U}},getOrderHistoryPOSV5:async(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O={})=>{u("getOrderHistoryPOSV5","businessIds",s);let I="/api/v5/history/orders/pos",S=new URL(I,m),v;a&&(v=a.baseOptions);let U={method:"GET",...v,...O},k={},R={};await C(k,a),e!==void 0&&(R.timeSpan=e),n!==void 0&&(R.start=n),t!==void 0&&(R.end=t),s&&(R.businessIds=s),r!==void 0&&(R.page=r),o!==void 0&&(R.rowPerPage=o),i&&(R.provider=i),l&&(R.paymentType=l),c&&(R.orderStatus=c),d&&(R.paymentStatus=d),A&&(R.orderType=A),x&&(R.paymentTypePos=x),b!==void 0&&(R.invoiceCompanyId=b),D!==void 0&&(R.timezone=D),g(S,R);let L=v&&v.headers?v.headers:{};return U.headers={...k,...L,...O.headers},{url:y(S),options:U}},getOrderHistoryPOSV5Internal:async(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O={})=>{u("getOrderHistoryPOSV5Internal","businessIds",s);let I="/api/v5/history/internal/orders/pos",S=new URL(I,m),v;a&&(v=a.baseOptions);let U={method:"GET",...v,...O},k={},R={};await C(k,a),e!==void 0&&(R.timeSpan=e),n!==void 0&&(R.start=n),t!==void 0&&(R.end=t),s&&(R.businessIds=s),r!==void 0&&(R.page=r),o!==void 0&&(R.rowPerPage=o),i&&(R.provider=i),l&&(R.paymentType=l),c&&(R.orderStatus=c),d&&(R.paymentStatus=d),A&&(R.orderType=A),x&&(R.paymentTypePos=x),b!==void 0&&(R.invoiceCompanyId=b),D!==void 0&&(R.timezone=D),g(S,R);let L=v&&v.headers?v.headers:{};return U.headers={...k,...L,...O.headers},{url:y(S),options:U}}}},Q=function(a){let s=rt(a);return{async getInternalOrderHistoryOnline(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I){let S=await s.getInternalOrderHistoryOnline(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I);return h(S,P.default,p,a)},async getOrderHistoryOnline(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I){let S=await s.getOrderHistoryOnline(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I);return h(S,P.default,p,a)},async getOrderHistoryPOSV5(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I){let S=await s.getOrderHistoryPOSV5(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I);return h(S,P.default,p,a)},async getOrderHistoryPOSV5Internal(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I){let S=await s.getOrderHistoryPOSV5Internal(e,n,t,r,o,i,l,c,d,A,x,b,D,O,I);return h(S,P.default,p,a)}}},Dn=function(a,s,e){let n=Q(a);return{getInternalOrderHistoryOnline(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v){return n.getInternalOrderHistoryOnline(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v).then(U=>U(e,s))},getOrderHistoryOnline(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v){return n.getOrderHistoryOnline(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v).then(U=>U(e,s))},getOrderHistoryPOSV5(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v){return n.getOrderHistoryPOSV5(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v).then(U=>U(e,s))},getOrderHistoryPOSV5Internal(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v){return n.getOrderHistoryPOSV5Internal(t,r,o,i,l,c,d,A,x,b,D,O,I,S,v).then(U=>U(e,s))}}},fe=class extends V{getInternalOrderHistoryOnline(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O){return Q(this.configuration).getInternalOrderHistoryOnline(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O).then(I=>I(this.axios,this.basePath))}getOrderHistoryOnline(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O){return Q(this.configuration).getOrderHistoryOnline(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O).then(I=>I(this.axios,this.basePath))}getOrderHistoryPOSV5(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O){return Q(this.configuration).getOrderHistoryPOSV5(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O).then(I=>I(this.axios,this.basePath))}getOrderHistoryPOSV5Internal(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O){return Q(this.configuration).getOrderHistoryPOSV5Internal(s,e,n,t,r,o,i,l,c,d,A,x,b,D,O).then(I=>I(this.axios,this.basePath))}},ot=function(a){return{createInvoiceCompany:async(s,e,n={})=>{u("createInvoiceCompany","businessId",s),u("createInvoiceCompany","createInvoiceCompanyDto",e);let t="/api/v1/invoice-companies",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};s!==void 0&&(c.businessId=s),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},deleteInvoiceCompany:async(s,e,n={})=>{u("deleteInvoiceCompany","id",s),u("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={},c={};e!==void 0&&(c.businessId=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getInvoiceCompanies:async(s,e={})=>{u("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={};s!==void 0&&(l.businessId=s),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getInvoiceCompanyById:async(s,e,n={})=>{u("getInvoiceCompanyById","id",s),u("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={},c={};e!==void 0&&(c.businessId=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},searchInvoiceCompanies:async(s,e,n={})=>{u("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={},c={};s!==void 0&&(c.businessId=s),e!==void 0&&(c.search=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},updateInvoiceCompany:async(s,e,n,t={})=>{u("updateInvoiceCompany","id",s),u("updateInvoiceCompany","businessId",e),u("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},c={},d={};e!==void 0&&(d.businessId=e),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}}}},N=function(a){let s=ot(a);return{async createInvoiceCompany(e,n,t){let r=await s.createInvoiceCompany(e,n,t);return h(r,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)}}},On=function(a,s,e){let n=N(a);return{createInvoiceCompany(t,r,o){return n.createInvoiceCompany(t,r,o).then(i=>i(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))}}},xe=class extends V{createInvoiceCompany(s,e,n){return N(this.configuration).createInvoiceCompany(s,e,n).then(t=>t(this.axios,this.basePath))}deleteInvoiceCompany(s,e,n){return N(this.configuration).deleteInvoiceCompany(s,e,n).then(t=>t(this.axios,this.basePath))}getInvoiceCompanies(s,e){return N(this.configuration).getInvoiceCompanies(s,e).then(n=>n(this.axios,this.basePath))}getInvoiceCompanyById(s,e,n){return N(this.configuration).getInvoiceCompanyById(s,e,n).then(t=>t(this.axios,this.basePath))}searchInvoiceCompanies(s,e,n){return N(this.configuration).searchInvoiceCompanies(s,e,n).then(t=>t(this.axios,this.basePath))}updateInvoiceCompany(s,e,n,t){return N(this.configuration).updateInvoiceCompany(s,e,n,t).then(r=>r(this.axios,this.basePath))}},at=function(a){return{getOrderStatus:async(s,e,n={})=>{u("getOrderStatus","orderId",s),u("getOrderStatus","businessId",e);let t="/api/v1/kiosk/orders/{orderId}/{businessId}/status".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={};g(r,{});let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},validate:async(s,e,n={})=>{u("validate","terminalId",s),u("validate","provider",e);let t="/api/v1/kiosk/terminal/validate",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},c={};s!==void 0&&(c.terminalId=s),e!==void 0&&(c.provider=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}}}},re=function(a){let s=at(a);return{async getOrderStatus(e,n,t){let r=await s.getOrderStatus(e,n,t);return h(r,P.default,p,a)},async validate(e,n,t){let r=await s.validate(e,n,t);return h(r,P.default,p,a)}}},Vn=function(a,s,e){let n=re(a);return{getOrderStatus(t,r,o){return n.getOrderStatus(t,r,o).then(i=>i(e,s))},validate(t,r,o){return n.validate(t,r,o).then(i=>i(e,s))}}},Re=class extends V{getOrderStatus(s,e,n){return re(this.configuration).getOrderStatus(s,e,n).then(t=>t(this.axios,this.basePath))}validate(s,e,n){return re(this.configuration).validate(s,e,n).then(t=>t(this.axios,this.basePath))}},it=function(a){return{getAdminTransactions:async(s,e,n,t={})=>{u("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},c={},d={};await C(c,a),s!==void 0&&(d.businessId=s),e!==void 0&&(d.page=e),n!==void 0&&(d.limit=n),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},getLoyaltyInfo:async(s,e={})=>{u("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 C(i,a),s!==void 0&&(l.businessId=s),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getUserById:async(s,e,n={})=>{u("getUserById","businessId",s),u("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={},c={};await C(l,a),s!==void 0&&(c.businessId=s),e!==void 0&&(c.userId=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},searchUser:async(s,e,n,t,r={})=>{u("searchUser","businessId",s);let o="/api/v1/loyalty/users/search",i=new URL(o,m),l;a&&(l=a.baseOptions);let c={method:"GET",...l,...r},d={},A={};await C(d,a),e!==void 0&&(A.phone=e),n!==void 0&&(A.country_code=n),t!==void 0&&(A.email=t),s!==void 0&&(A.businessId=s),g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},{url:y(i),options:c}},updatePoints:async(s,e,n={})=>{u("updatePoints","businessId",s),u("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={},c={};await C(l,a),s!==void 0&&(c.businessId=s),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}}}},W=function(a){let s=it(a);return{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 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)}}},In=function(a,s,e){let n=W(a);return{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))},searchUser(t,r,o,i,l){return n.searchUser(t,r,o,i,l).then(c=>c(e,s))},updatePoints(t,r,o){return n.updatePoints(t,r,o).then(i=>i(e,s))}}},be=class extends V{getAdminTransactions(s,e,n,t){return W(this.configuration).getAdminTransactions(s,e,n,t).then(r=>r(this.axios,this.basePath))}getLoyaltyInfo(s,e){return W(this.configuration).getLoyaltyInfo(s,e).then(n=>n(this.axios,this.basePath))}getUserById(s,e,n){return W(this.configuration).getUserById(s,e,n).then(t=>t(this.axios,this.basePath))}searchUser(s,e,n,t,r){return W(this.configuration).searchUser(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}updatePoints(s,e,n){return W(this.configuration).updatePoints(s,e,n).then(t=>t(this.axios,this.basePath))}},lt=function(a){return{editBusinessProduct:async(s,e,n={})=>{u("editBusinessProduct","businessId",s),u("editBusinessProduct","menuProductDto",e);let t="/api/v1/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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},editBusinessProductV2:async(s,e,n={})=>{u("editBusinessProductV2","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getBusinessExtras:async(s,e={})=>{u("getBusinessExtras","businessId",s);let n="/api/v1/menu/{businessId}/extras".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getProductsByCategoriesV2:async(s,e,n={})=>{u("getProductsByCategoriesV2","businessId",s);let t="/api/v2/menu/{businessId}/categories".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"GET",...o,...n},l={},c={};e!==void 0&&(c.filter=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},resetProductEod:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},H=function(a){let s=lt(a);return{async editBusinessProduct(e,n,t){let r=await s.editBusinessProduct(e,n,t);return h(r,P.default,p,a)},async editBusinessProductV2(e,n,t){let r=await s.editBusinessProductV2(e,n,t);return h(r,P.default,p,a)},async getBusinessExtras(e,n){let t=await s.getBusinessExtras(e,n);return h(t,P.default,p,a)},async getProductsByCategoriesV2(e,n,t){let r=await s.getProductsByCategoriesV2(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)}}},vn=function(a,s,e){let n=H(a);return{editBusinessProduct(t,r,o){return n.editBusinessProduct(t,r,o).then(i=>i(e,s))},editBusinessProductV2(t,r,o){return n.editBusinessProductV2(t,r,o).then(i=>i(e,s))},getBusinessExtras(t,r){return n.getBusinessExtras(t,r).then(o=>o(e,s))},getProductsByCategoriesV2(t,r,o){return n.getProductsByCategoriesV2(t,r,o).then(i=>i(e,s))},resetProductEod(t,r){return n.resetProductEod(t,r).then(o=>o(e,s))}}},Ce=class extends V{editBusinessProduct(s,e,n){return H(this.configuration).editBusinessProduct(s,e,n).then(t=>t(this.axios,this.basePath))}editBusinessProductV2(s,e,n){return H(this.configuration).editBusinessProductV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessExtras(s,e){return H(this.configuration).getBusinessExtras(s,e).then(n=>n(this.axios,this.basePath))}getProductsByCategoriesV2(s,e,n){return H(this.configuration).getProductsByCategoriesV2(s,e,n).then(t=>t(this.axios,this.basePath))}resetProductEod(s,e){return H(this.configuration).resetProductEod(s,e).then(n=>n(this.axios,this.basePath))}},ct=function(a){return{addBusinessesToMerchant:async(s,e,n={})=>{u("addBusinessesToMerchant","merchantId",s),u("addBusinessesToMerchant","addBusinessesToMerchantDto",e);let t="/api/v1/merchants/{merchantId}/businesses".replace("{merchantId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};await C(l,a),l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},createMerchant:async(s,e={})=>{u("createMerchant","createMerchantDto",s);let n="/api/v1/merchants",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await C(i,a),i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},removeBusinessFromMerchant:async(s,e,n={})=>{u("removeBusinessFromMerchant","merchantId",s),u("removeBusinessFromMerchant","businessId",e);let t="/api/v1/merchants/{merchantId}/businesses/{businessId}".replace("{merchantId}",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={},c={};await C(l,a),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}}}},J=function(a){let s=ct(a);return{async addBusinessesToMerchant(e,n,t){let r=await s.addBusinessesToMerchant(e,n,t);return h(r,P.default,p,a)},async createMerchant(e,n){let t=await s.createMerchant(e,n);return h(t,P.default,p,a)},async removeBusinessFromMerchant(e,n,t){let r=await s.removeBusinessFromMerchant(e,n,t);return h(r,P.default,p,a)}}},Sn=function(a,s,e){let n=J(a);return{addBusinessesToMerchant(t,r,o){return n.addBusinessesToMerchant(t,r,o).then(i=>i(e,s))},createMerchant(t,r){return n.createMerchant(t,r).then(o=>o(e,s))},removeBusinessFromMerchant(t,r,o){return n.removeBusinessFromMerchant(t,r,o).then(i=>i(e,s))}}},De=class extends V{addBusinessesToMerchant(s,e,n){return J(this.configuration).addBusinessesToMerchant(s,e,n).then(t=>t(this.axios,this.basePath))}createMerchant(s,e){return J(this.configuration).createMerchant(s,e).then(n=>n(this.axios,this.basePath))}removeBusinessFromMerchant(s,e,n){return J(this.configuration).removeBusinessFromMerchant(s,e,n).then(t=>t(this.axios,this.basePath))}},ut=function(a){return{addVenueSubscriptionsV2:async(s,e={})=>{u("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={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},removeVenueSubscriptionsV2:async(s,e={})=>{u("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={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},oe=function(a){let s=ut(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)}}},Tn=function(a,s,e){let n=oe(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))}}},Oe=class extends V{addVenueSubscriptionsV2(s,e){return oe(this.configuration).addVenueSubscriptionsV2(s,e).then(n=>n(this.axios,this.basePath))}removeVenueSubscriptionsV2(s,e){return oe(this.configuration).removeVenueSubscriptionsV2(s,e).then(n=>n(this.axios,this.basePath))}},dt=function(a){return{updateTaxRate:async(s,e={})=>{u("updateTaxRate","body",s);let n="/api/v1/ordering/update-tax-rate",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"PUT",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},He=function(a){let s=dt(a);return{async updateTaxRate(e,n){let t=await s.updateTaxRate(e,n);return h(t,P.default,p,a)}}},qn=function(a,s,e){let n=He(a);return{updateTaxRate(t,r){return n.updateTaxRate(t,r).then(o=>o(e,s))}}},Ve=class extends V{updateTaxRate(s,e){return He(this.configuration).updateTaxRate(s,e).then(n=>n(this.axios,this.basePath))}},pt=function(a){return{acceptOrder:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},confirmPreOrder:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},deletePosParkedOrderV2:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},deliverOrder:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getAllOrdersV2:async(s,e={})=>{u("getAllOrdersV2","businessIds",s);let n="/api/v2/orders",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};s!==void 0&&(l.businessIds=s),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getOrdersV2:async(s,e,n,t,r={})=>{u("getOrdersV2","status",s),u("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 c={method:"GET",...l,...r},d={},A={};n!==void 0&&(A.posBusinessId=n),t!==void 0&&(A.extraProvider=t),e!==void 0&&(A.businessIds=e),g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},{url:y(i),options:c}},getParkedPosOrderV2:async(s,e={})=>{u("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),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},markOrderAsReady:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},placePosOrderV4:async(s,e={})=>{u("placePosOrderV4","posOrderPayloadDto",s);let n="/api/v4/orders/pos/place",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},processPosOrderActions:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},rejectOrder:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},updatePosOrderV2:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},B=function(a){let s=pt(a);return{async acceptOrder(e,n){let t=await s.acceptOrder(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 getAllOrdersV2(e,n){let t=await s.getAllOrdersV2(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 getParkedPosOrderV2(e,n){let t=await s.getParkedPosOrderV2(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 placePosOrderV4(e,n){let t=await s.placePosOrderV4(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 updatePosOrderV2(e,n){let t=await s.updatePosOrderV2(e,n);return h(t,P.default,p,a)}}},Un=function(a,s,e){let n=B(a);return{acceptOrder(t,r){return n.acceptOrder(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))},getAllOrdersV2(t,r){return n.getAllOrdersV2(t,r).then(o=>o(e,s))},getOrdersV2(t,r,o,i,l){return n.getOrdersV2(t,r,o,i,l).then(c=>c(e,s))},getParkedPosOrderV2(t,r){return n.getParkedPosOrderV2(t,r).then(o=>o(e,s))},markOrderAsReady(t,r){return n.markOrderAsReady(t,r).then(o=>o(e,s))},placePosOrderV4(t,r){return n.placePosOrderV4(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))},updatePosOrderV2(t,r){return n.updatePosOrderV2(t,r).then(o=>o(e,s))}}},Ie=class extends V{acceptOrder(s,e){return B(this.configuration).acceptOrder(s,e).then(n=>n(this.axios,this.basePath))}confirmPreOrder(s,e){return B(this.configuration).confirmPreOrder(s,e).then(n=>n(this.axios,this.basePath))}deletePosParkedOrderV2(s,e){return B(this.configuration).deletePosParkedOrderV2(s,e).then(n=>n(this.axios,this.basePath))}deliverOrder(s,e){return B(this.configuration).deliverOrder(s,e).then(n=>n(this.axios,this.basePath))}getAllOrdersV2(s,e){return B(this.configuration).getAllOrdersV2(s,e).then(n=>n(this.axios,this.basePath))}getOrdersV2(s,e,n,t,r){return B(this.configuration).getOrdersV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}getParkedPosOrderV2(s,e){return B(this.configuration).getParkedPosOrderV2(s,e).then(n=>n(this.axios,this.basePath))}markOrderAsReady(s,e){return B(this.configuration).markOrderAsReady(s,e).then(n=>n(this.axios,this.basePath))}placePosOrderV4(s,e){return B(this.configuration).placePosOrderV4(s,e).then(n=>n(this.axios,this.basePath))}processPosOrderActions(s,e){return B(this.configuration).processPosOrderActions(s,e).then(n=>n(this.axios,this.basePath))}rejectOrder(s,e){return B(this.configuration).rejectOrder(s,e).then(n=>n(this.axios,this.basePath))}updatePosOrderV2(s,e){return B(this.configuration).updatePosOrderV2(s,e).then(n=>n(this.axios,this.basePath))}},mt=function(a){return{getPosSession:async(s,e={})=>{u("getPosSession","businessId",s);let n="/api/v1/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={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getPosSessionV2:async(s,e={})=>{u("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={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}}}},ae=function(a){let s=mt(a);return{async getPosSession(e,n){let t=await s.getPosSession(e,n);return h(t,P.default,p,a)},async getPosSessionV2(e,n){let t=await s.getPosSessionV2(e,n);return h(t,P.default,p,a)}}},En=function(a,s,e){let n=ae(a);return{getPosSession(t,r){return n.getPosSession(t,r).then(o=>o(e,s))},getPosSessionV2(t,r){return n.getPosSessionV2(t,r).then(o=>o(e,s))}}},ve=class extends V{getPosSession(s,e){return ae(this.configuration).getPosSession(s,e).then(n=>n(this.axios,this.basePath))}getPosSessionV2(s,e){return ae(this.configuration).getPosSessionV2(s,e).then(n=>n(this.axios,this.basePath))}},gt=function(a){return{cancelNetsTerminalTransaction:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},cancelStripePayment:async(s,e={})=>{u("cancelStripePayment","paymentIntentIdDto",s);let n="/api/v1/payment/stripe/cancel",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},cancelTransaction:async(s,e={})=>{u("cancelTransaction","vivaCancelTransactionDto",s);let n="/api/v1/payment/viva/cancelTransaction",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},cancelVivaTransactionV2:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},captureStripePayment:async(s,e={})=>{u("captureStripePayment","paymentIntentIdDto",s);let n="/api/v1/payment/stripe/capture",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},createNetsRefundTransaction:async(s,e={})=>{u("createNetsRefundTransaction","createRefundDto",s);let n="/api/v4/payment/nets/refund/transaction",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},createVivaPayment:async(s,e={})=>{u("createVivaPayment","vivaCreatePaymentDto",s);let n="/api/v1/payment/viva/createPayment",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},createVivaPaymentV3:async(s,e={})=>{u("createVivaPaymentV3","vivaCreatePaymentDto",s);let n="/api/v3/payment/viva/createPayment",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},discoverDevices:async(s,e={})=>{u("discoverDevices","vivaDiscoverDevicesDto",s);let n="/api/v1/payment/viva/discoverDevices",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getConnectionToken:async(s,e={})=>{u("getConnectionToken","connectionTokenPayloadDto",s);let n="/api/v1/payment/connectionToken",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getPaymentStatus:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getToken:async(s,e={})=>{u("getToken","businessId",s);let n="/api/v1/payment/stripe/connectionToken",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={},l={};s!==void 0&&(l.businessId=s),g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},initiateNetsTerminalTransaction:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},initiateTerminalTransaction:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},processOnlineOrderRefund:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundCashPaymentV3:async(s,e={})=>{u("refundCashPaymentV3","cashRefundPayload",s);let n="/api/v3/payment/cash/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundManualPaymentV3:async(s,e={})=>{u("refundManualPaymentV3","manualRefundPayload",s);let n="/api/v3/payment/manual/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundNetsTransactionV3:async(s,e={})=>{u("refundNetsTransactionV3","refundPayloadDtoV4",s);let n="/api/v3/payment/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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundSingleVivaTransaction:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundVivaTransactionV3:async(s,e={})=>{u("refundVivaTransactionV3","refundPayloadDto",s);let n="/api/v3/payment/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},refundVivaTransactionV4:async(s,e={})=>{u("refundVivaTransactionV4","refundPayloadDtoV4",s);let n="/api/v4/payment/refund",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},q=function(a){let s=gt(a);return{async cancelNetsTerminalTransaction(e,n){let t=await s.cancelNetsTerminalTransaction(e,n);return h(t,P.default,p,a)},async cancelStripePayment(e,n){let t=await s.cancelStripePayment(e,n);return h(t,P.default,p,a)},async cancelTransaction(e,n){let t=await s.cancelTransaction(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 captureStripePayment(e,n){let t=await s.captureStripePayment(e,n);return h(t,P.default,p,a)},async createNetsRefundTransaction(e,n){let t=await s.createNetsRefundTransaction(e,n);return h(t,P.default,p,a)},async createVivaPayment(e,n){let t=await s.createVivaPayment(e,n);return h(t,P.default,p,a)},async createVivaPaymentV3(e,n){let t=await s.createVivaPaymentV3(e,n);return h(t,P.default,p,a)},async discoverDevices(e,n){let t=await s.discoverDevices(e,n);return h(t,P.default,p,a)},async getConnectionToken(e,n){let t=await s.getConnectionToken(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 getToken(e,n){let t=await s.getToken(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 refundCashPaymentV3(e,n){let t=await s.refundCashPaymentV3(e,n);return h(t,P.default,p,a)},async refundManualPaymentV3(e,n){let t=await s.refundManualPaymentV3(e,n);return h(t,P.default,p,a)},async refundNetsTransactionV3(e,n){let t=await s.refundNetsTransactionV3(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)},async refundVivaTransactionV3(e,n){let t=await s.refundVivaTransactionV3(e,n);return h(t,P.default,p,a)},async refundVivaTransactionV4(e,n){let t=await s.refundVivaTransactionV4(e,n);return h(t,P.default,p,a)}}},Bn=function(a,s,e){let n=q(a);return{cancelNetsTerminalTransaction(t,r){return n.cancelNetsTerminalTransaction(t,r).then(o=>o(e,s))},cancelStripePayment(t,r){return n.cancelStripePayment(t,r).then(o=>o(e,s))},cancelTransaction(t,r){return n.cancelTransaction(t,r).then(o=>o(e,s))},cancelVivaTransactionV2(t,r){return n.cancelVivaTransactionV2(t,r).then(o=>o(e,s))},captureStripePayment(t,r){return n.captureStripePayment(t,r).then(o=>o(e,s))},createNetsRefundTransaction(t,r){return n.createNetsRefundTransaction(t,r).then(o=>o(e,s))},createVivaPayment(t,r){return n.createVivaPayment(t,r).then(o=>o(e,s))},createVivaPaymentV3(t,r){return n.createVivaPaymentV3(t,r).then(o=>o(e,s))},discoverDevices(t,r){return n.discoverDevices(t,r).then(o=>o(e,s))},getConnectionToken(t,r){return n.getConnectionToken(t,r).then(o=>o(e,s))},getPaymentStatus(t,r){return n.getPaymentStatus(t,r).then(o=>o(e,s))},getToken(t,r){return n.getToken(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))},refundCashPaymentV3(t,r){return n.refundCashPaymentV3(t,r).then(o=>o(e,s))},refundManualPaymentV3(t,r){return n.refundManualPaymentV3(t,r).then(o=>o(e,s))},refundNetsTransactionV3(t,r){return n.refundNetsTransactionV3(t,r).then(o=>o(e,s))},refundSingleVivaTransaction(t,r){return n.refundSingleVivaTransaction(t,r).then(o=>o(e,s))},refundVivaTransactionV3(t,r){return n.refundVivaTransactionV3(t,r).then(o=>o(e,s))},refundVivaTransactionV4(t,r){return n.refundVivaTransactionV4(t,r).then(o=>o(e,s))}}},Se=class extends V{cancelNetsTerminalTransaction(s,e){return q(this.configuration).cancelNetsTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}cancelStripePayment(s,e){return q(this.configuration).cancelStripePayment(s,e).then(n=>n(this.axios,this.basePath))}cancelTransaction(s,e){return q(this.configuration).cancelTransaction(s,e).then(n=>n(this.axios,this.basePath))}cancelVivaTransactionV2(s,e){return q(this.configuration).cancelVivaTransactionV2(s,e).then(n=>n(this.axios,this.basePath))}captureStripePayment(s,e){return q(this.configuration).captureStripePayment(s,e).then(n=>n(this.axios,this.basePath))}createNetsRefundTransaction(s,e){return q(this.configuration).createNetsRefundTransaction(s,e).then(n=>n(this.axios,this.basePath))}createVivaPayment(s,e){return q(this.configuration).createVivaPayment(s,e).then(n=>n(this.axios,this.basePath))}createVivaPaymentV3(s,e){return q(this.configuration).createVivaPaymentV3(s,e).then(n=>n(this.axios,this.basePath))}discoverDevices(s,e){return q(this.configuration).discoverDevices(s,e).then(n=>n(this.axios,this.basePath))}getConnectionToken(s,e){return q(this.configuration).getConnectionToken(s,e).then(n=>n(this.axios,this.basePath))}getPaymentStatus(s,e){return q(this.configuration).getPaymentStatus(s,e).then(n=>n(this.axios,this.basePath))}getToken(s,e){return q(this.configuration).getToken(s,e).then(n=>n(this.axios,this.basePath))}initiateNetsTerminalTransaction(s,e){return q(this.configuration).initiateNetsTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}initiateTerminalTransaction(s,e){return q(this.configuration).initiateTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}processOnlineOrderRefund(s,e){return q(this.configuration).processOnlineOrderRefund(s,e).then(n=>n(this.axios,this.basePath))}refundCashPaymentV3(s,e){return q(this.configuration).refundCashPaymentV3(s,e).then(n=>n(this.axios,this.basePath))}refundManualPaymentV3(s,e){return q(this.configuration).refundManualPaymentV3(s,e).then(n=>n(this.axios,this.basePath))}refundNetsTransactionV3(s,e){return q(this.configuration).refundNetsTransactionV3(s,e).then(n=>n(this.axios,this.basePath))}refundSingleVivaTransaction(s,e){return q(this.configuration).refundSingleVivaTransaction(s,e).then(n=>n(this.axios,this.basePath))}refundVivaTransactionV3(s,e){return q(this.configuration).refundVivaTransactionV3(s,e).then(n=>n(this.axios,this.basePath))}refundVivaTransactionV4(s,e){return q(this.configuration).refundVivaTransactionV4(s,e).then(n=>n(this.axios,this.basePath))}},yt=function(a){return{loadConfigFile:async(s={})=>{let e="/api/plugin/config.json",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},upsertBusiness:async(s={})=>{let e="/api/plugin/business/upsert",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}}}},ie=function(a){let s=yt(a);return{async loadConfigFile(e){let n=await s.loadConfigFile(e);return h(n,P.default,p,a)},async upsertBusiness(e){let n=await s.upsertBusiness(e);return h(n,P.default,p,a)}}},Mn=function(a,s,e){let n=ie(a);return{loadConfigFile(t){return n.loadConfigFile(t).then(r=>r(e,s))},upsertBusiness(t){return n.upsertBusiness(t).then(r=>r(e,s))}}},Te=class extends V{loadConfigFile(s){return ie(this.configuration).loadConfigFile(s).then(e=>e(this.axios,this.basePath))}upsertBusiness(s){return ie(this.configuration).upsertBusiness(s).then(e=>e(this.axios,this.basePath))}},ht=function(a){return{updateChannelInventoryV2:async(s,e,n,t,r={})=>{u("updateChannelInventoryV2","businessId",s),u("updateChannelInventoryV2","categoryId",e),u("updateChannelInventoryV2","productId",n),u("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 c={method:"PUT",...l,...r},d={},A={};d["Content-Type"]="application/json",g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},c.data=f(t,c,a),{url:y(i),options:c}}}},Ke=function(a){let s=ht(a);return{async updateChannelInventoryV2(e,n,t,r,o){let i=await s.updateChannelInventoryV2(e,n,t,r,o);return h(i,P.default,p,a)}}},kn=function(a,s,e){let n=Ke(a);return{updateChannelInventoryV2(t,r,o,i,l){return n.updateChannelInventoryV2(t,r,o,i,l).then(c=>c(e,s))}}},qe=class extends V{updateChannelInventoryV2(s,e,n,t,r){return Ke(this.configuration).updateChannelInventoryV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}},Pt=function(a){return{getSupportedChannels:async(s,e={})=>{u("getSupportedChannels","businessId",s);let n="/api/v1/provider/supported-channels/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},registerCredential:async(s,e={})=>{u("registerCredential","body",s);let n="/api/v1/provider/credentials",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},registerProvider:async(s,e={})=>{u("registerProvider","body",s);let n="/api/v1/provider",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},X=function(a){let s=Pt(a);return{async getSupportedChannels(e,n){let t=await s.getSupportedChannels(e,n);return h(t,P.default,p,a)},async registerCredential(e,n){let t=await s.registerCredential(e,n);return h(t,P.default,p,a)},async registerProvider(e,n){let t=await s.registerProvider(e,n);return h(t,P.default,p,a)}}},_n=function(a,s,e){let n=X(a);return{getSupportedChannels(t,r){return n.getSupportedChannels(t,r).then(o=>o(e,s))},registerCredential(t,r){return n.registerCredential(t,r).then(o=>o(e,s))},registerProvider(t,r){return n.registerProvider(t,r).then(o=>o(e,s))}}},Ue=class extends V{getSupportedChannels(s,e){return X(this.configuration).getSupportedChannels(s,e).then(n=>n(this.axios,this.basePath))}registerCredential(s,e){return X(this.configuration).registerCredential(s,e).then(n=>n(this.axios,this.basePath))}registerProvider(s,e){return X(this.configuration).registerProvider(s,e).then(n=>n(this.axios,this.basePath))}},At=function(a){return{cancelPlan:async(s,e,n,t={})=>{u("cancelPlan","businessId",s),u("cancelPlan","orderId",e),u("cancelPlan","refundId",n);let r="/api/v1/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},c={};g(o,{});let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},createRefundPlan:async(s,e,n,t={})=>{u("createRefundPlan","businessId",s),u("createRefundPlan","orderId",e),u("createRefundPlan","createRefundPlanDto",n);let r="/api/v1/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},c={},d={};c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}},getRefundPlan:async(s,e,n,t={})=>{u("getRefundPlan","businessId",s),u("getRefundPlan","orderId",e),u("getRefundPlan","status",n);let r="/api/v1/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},c={},d={};n!==void 0&&(d.status=n),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},recordRefundPlan:async(s,e,n,t,r={})=>{u("recordRefundPlan","businessId",s),u("recordRefundPlan","orderId",e),u("recordRefundPlan","refundId",n),u("recordRefundPlan","completedStepDto",t);let o="/api/v1/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 c={method:"POST",...l,...r},d={},A={};d["Content-Type"]="application/json",g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},c.data=f(t,c,a),{url:y(i),options:c}},refundOnlineOrder:async(s,e,n,t={})=>{u("refundOnlineOrder","businessId",s),u("refundOnlineOrder","orderId",e),u("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},c={},d={};n!==void 0&&(d.provider=n),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}},resolveRefundChoice:async(s,e,n,t,r={})=>{u("resolveRefundChoice","businessId",s),u("resolveRefundChoice","orderId",e),u("resolveRefundChoice","refundId",n),u("resolveRefundChoice","resolveChoiceDto",t);let o="/api/v1/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 c={method:"POST",...l,...r},d={},A={};d["Content-Type"]="application/json",g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},c.data=f(t,c,a),{url:y(i),options:c}},startProcessPlan:async(s,e,n,t={})=>{u("startProcessPlan","businessId",s),u("startProcessPlan","orderId",e),u("startProcessPlan","refundId",n);let r="/api/v1/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},c={};g(o,{});let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}}}},_=function(a){let s=At(a);return{async cancelPlan(e,n,t,r){let o=await s.cancelPlan(e,n,t,r);return h(o,P.default,p,a)},async createRefundPlan(e,n,t,r){let o=await s.createRefundPlan(e,n,t,r);return h(o,P.default,p,a)},async getRefundPlan(e,n,t,r){let o=await s.getRefundPlan(e,n,t,r);return h(o,P.default,p,a)},async recordRefundPlan(e,n,t,r,o){let i=await s.recordRefundPlan(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 resolveRefundChoice(e,n,t,r,o){let i=await s.resolveRefundChoice(e,n,t,r,o);return h(i,P.default,p,a)},async startProcessPlan(e,n,t,r){let o=await s.startProcessPlan(e,n,t,r);return h(o,P.default,p,a)}}},wn=function(a,s,e){let n=_(a);return{cancelPlan(t,r,o,i){return n.cancelPlan(t,r,o,i).then(l=>l(e,s))},createRefundPlan(t,r,o,i){return n.createRefundPlan(t,r,o,i).then(l=>l(e,s))},getRefundPlan(t,r,o,i){return n.getRefundPlan(t,r,o,i).then(l=>l(e,s))},recordRefundPlan(t,r,o,i,l){return n.recordRefundPlan(t,r,o,i,l).then(c=>c(e,s))},refundOnlineOrder(t,r,o,i){return n.refundOnlineOrder(t,r,o,i).then(l=>l(e,s))},resolveRefundChoice(t,r,o,i,l){return n.resolveRefundChoice(t,r,o,i,l).then(c=>c(e,s))},startProcessPlan(t,r,o,i){return n.startProcessPlan(t,r,o,i).then(l=>l(e,s))}}},Ee=class extends V{cancelPlan(s,e,n,t){return _(this.configuration).cancelPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}createRefundPlan(s,e,n,t){return _(this.configuration).createRefundPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}getRefundPlan(s,e,n,t){return _(this.configuration).getRefundPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}recordRefundPlan(s,e,n,t,r){return _(this.configuration).recordRefundPlan(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}refundOnlineOrder(s,e,n,t){return _(this.configuration).refundOnlineOrder(s,e,n,t).then(r=>r(this.axios,this.basePath))}resolveRefundChoice(s,e,n,t,r){return _(this.configuration).resolveRefundChoice(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}startProcessPlan(s,e,n,t){return _(this.configuration).startProcessPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}},ft=function(a){return{getEndOfDayReportV5:async(s,e,n,t,r,o,i={})=>{u("getEndOfDayReportV5","businessIds",s);let l="/api/v5/report/end-of-day",c=new URL(l,m),d;a&&(d=a.baseOptions);let A={method:"GET",...d,...i},x={},b={};e!==void 0&&(b.timeSpan=e),n!==void 0&&(b.start=n),t!==void 0&&(b.end=t),s&&(b.businessIds=s),r!==void 0&&(b.timezone=r),o!==void 0&&(b.provider=o),g(c,b);let D=d&&d.headers?d.headers:{};return A.headers={...x,...D,...i.headers},{url:y(c),options:A}},getPOSEndOfDayReportV4:async(s,e,n,t,r,o={})=>{u("getPOSEndOfDayReportV4","businessIds",s);let i="/api/v4/report/pos/end-of-day",l=new URL(i,m),c;a&&(c=a.baseOptions);let d={method:"GET",...c,...o},A={},x={};e!==void 0&&(x.timeSpan=e),n!==void 0&&(x.start=n),t!==void 0&&(x.end=t),s&&(x.businessIds=s),r!==void 0&&(x.timezone=r),g(l,x);let b=c&&c.headers?c.headers:{};return d.headers={...A,...b,...o.headers},{url:y(l),options:d}},sendReportEmailV4:async(s,e,n,t,r,o,i={})=>{u("sendReportEmailV4","businessIds",s),u("sendReportEmailV4","timezone",e),u("sendReportEmailV4","sendReportEmailDto",n);let l="/api/v4/report/email",c=new URL(l,m),d;a&&(d=a.baseOptions);let A={method:"POST",...d,...i},x={},b={};t!==void 0&&(b.timeSpan=t),r!==void 0&&(b.start=r),o!==void 0&&(b.end=o),s&&(b.businessIds=s),e!==void 0&&(b.timezone=e),x["Content-Type"]="application/json",g(c,b);let D=d&&d.headers?d.headers:{};return A.headers={...x,...D,...i.headers},A.data=f(n,A,a),{url:y(c),options:A}},sendReportEmailV5:async(s,e,n,t,r,o,i,l={})=>{u("sendReportEmailV5","businessIds",s),u("sendReportEmailV5","timezone",e),u("sendReportEmailV5","sendReportEmailDto",n);let c="/api/v5/report/email",d=new URL(c,m),A;a&&(A=a.baseOptions);let x={method:"POST",...A,...l},b={},D={};t!==void 0&&(D.timeSpan=t),r!==void 0&&(D.start=r),o!==void 0&&(D.end=o),s&&(D.businessIds=s),e!==void 0&&(D.timezone=e),i!==void 0&&(D.provider=i),b["Content-Type"]="application/json",g(d,D);let O=A&&A.headers?A.headers:{};return x.headers={...b,...O,...l.headers},x.data=f(n,x,a),{url:y(d),options:x}}}},G=function(a){let s=ft(a);return{async getEndOfDayReportV5(e,n,t,r,o,i,l){let c=await s.getEndOfDayReportV5(e,n,t,r,o,i,l);return h(c,P.default,p,a)},async getPOSEndOfDayReportV4(e,n,t,r,o,i){let l=await s.getPOSEndOfDayReportV4(e,n,t,r,o,i);return h(l,P.default,p,a)},async sendReportEmailV4(e,n,t,r,o,i,l){let c=await s.sendReportEmailV4(e,n,t,r,o,i,l);return h(c,P.default,p,a)},async sendReportEmailV5(e,n,t,r,o,i,l,c){let d=await s.sendReportEmailV5(e,n,t,r,o,i,l,c);return h(d,P.default,p,a)}}},Nn=function(a,s,e){let n=G(a);return{getEndOfDayReportV5(t,r,o,i,l,c,d){return n.getEndOfDayReportV5(t,r,o,i,l,c,d).then(A=>A(e,s))},getPOSEndOfDayReportV4(t,r,o,i,l,c){return n.getPOSEndOfDayReportV4(t,r,o,i,l,c).then(d=>d(e,s))},sendReportEmailV4(t,r,o,i,l,c,d){return n.sendReportEmailV4(t,r,o,i,l,c,d).then(A=>A(e,s))},sendReportEmailV5(t,r,o,i,l,c,d,A){return n.sendReportEmailV5(t,r,o,i,l,c,d,A).then(x=>x(e,s))}}},Be=class extends V{getEndOfDayReportV5(s,e,n,t,r,o,i){return G(this.configuration).getEndOfDayReportV5(s,e,n,t,r,o,i).then(l=>l(this.axios,this.basePath))}getPOSEndOfDayReportV4(s,e,n,t,r,o){return G(this.configuration).getPOSEndOfDayReportV4(s,e,n,t,r,o).then(i=>i(this.axios,this.basePath))}sendReportEmailV4(s,e,n,t,r,o,i){return G(this.configuration).sendReportEmailV4(s,e,n,t,r,o,i).then(l=>l(this.axios,this.basePath))}sendReportEmailV5(s,e,n,t,r,o,i,l){return G(this.configuration).sendReportEmailV5(s,e,n,t,r,o,i,l).then(c=>c(this.axios,this.basePath))}},xt=function(a){return{clockIn:async(s,e,n={})=>{u("clockIn","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},clockOut:async(s,e,n={})=>{u("clockOut","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getTodayShift:async(s,e,n={})=>{u("getTodayShift","businessId",s),u("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={},c={};e!==void 0&&(c.employeeId=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},unlock:async(s,e,n={})=>{u("unlock","businessId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}}}},$=function(a){let s=xt(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 unlock(e,n,t){let r=await s.unlock(e,n,t);return h(r,P.default,p,a)}}},Fn=function(a,s,e){let n=$(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))},unlock(t,r,o){return n.unlock(t,r,o).then(i=>i(e,s))}}},Me=class extends V{clockIn(s,e,n){return $(this.configuration).clockIn(s,e,n).then(t=>t(this.axios,this.basePath))}clockOut(s,e,n){return $(this.configuration).clockOut(s,e,n).then(t=>t(this.axios,this.basePath))}getTodayShift(s,e,n){return $(this.configuration).getTodayShift(s,e,n).then(t=>t(this.axios,this.basePath))}unlock(s,e,n){return $(this.configuration).unlock(s,e,n).then(t=>t(this.axios,this.basePath))}},Rt=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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},syncStation:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},syncTerminal:async(s,e={})=>{u("syncTerminal","syncTerminalDto",s);let n="/api/v1/station/terminal/sync",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}}}},z=function(a){let s=Rt(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)},async syncTerminal(e,n){let t=await s.syncTerminal(e,n);return h(t,P.default,p,a)}}},Ln=function(a,s,e){let n=z(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))},syncTerminal(t,r){return n.syncTerminal(t,r).then(o=>o(e,s))}}},ke=class extends V{deactivateStation(s){return z(this.configuration).deactivateStation(s).then(e=>e(this.axios,this.basePath))}getStation(s){return z(this.configuration).getStation(s).then(e=>e(this.axios,this.basePath))}syncStation(s,e){return z(this.configuration).syncStation(s,e).then(n=>n(this.axios,this.basePath))}syncTerminal(s,e){return z(this.configuration).syncTerminal(s,e).then(n=>n(this.axios,this.basePath))}},bt=function(a){return{connectTerminal:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},discoverTerminal:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getTerminalStatus:async(s,e,n,t={})=>{u("getTerminalStatus","businessId",s),u("getTerminalStatus","provider",e),u("getTerminalStatus","terminalId",n);let r="/api/v1/terminal/status/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},c={},d={};e!==void 0&&(d.provider=e),n!==void 0&&(d.terminalId=n),g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},{url:y(o),options:l}}}},Y=function(a){let s=bt(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)},async getTerminalStatus(e,n,t,r){let o=await s.getTerminalStatus(e,n,t,r);return h(o,P.default,p,a)}}},jn=function(a,s,e){let n=Y(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))},getTerminalStatus(t,r,o,i){return n.getTerminalStatus(t,r,o,i).then(l=>l(e,s))}}},_e=class extends V{connectTerminal(s,e){return Y(this.configuration).connectTerminal(s,e).then(n=>n(this.axios,this.basePath))}disconnectTerminal(s){return Y(this.configuration).disconnectTerminal(s).then(e=>e(this.axios,this.basePath))}discoverTerminal(s,e){return Y(this.configuration).discoverTerminal(s,e).then(n=>n(this.axios,this.basePath))}getTerminalStatus(s,e,n,t){return Y(this.configuration).getTerminalStatus(s,e,n,t).then(r=>r(this.axios,this.basePath))}},Ct=function(a){return{getUserBusiness: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 C(o,a),g(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},getUserInfo:async(s={})=>{let e="/api/v1/user",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={},i={};await C(o,a),g(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}}}},le=function(a){let s=Ct(a);return{async getUserBusiness(e){let n=await s.getUserBusiness(e);return h(n,P.default,p,a)},async getUserInfo(e){let n=await s.getUserInfo(e);return h(n,P.default,p,a)}}},Wn=function(a,s,e){let n=le(a);return{getUserBusiness(t){return n.getUserBusiness(t).then(r=>r(e,s))},getUserInfo(t){return n.getUserInfo(t).then(r=>r(e,s))}}},we=class extends V{getUserBusiness(s){return le(this.configuration).getUserBusiness(s).then(e=>e(this.axios,this.basePath))}getUserInfo(s){return le(this.configuration).getUserInfo(s).then(e=>e(this.axios,this.basePath))}},Dt=function(a){return{getUser:async(s,e={})=>{u("getUser","userValidation",s);let n="/api/v1/users",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};await C(i,a),i["Content-Type"]="application/json",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},updateUserRewardPoints:async(s,e,n,t={})=>{u("updateUserRewardPoints","userId",s),u("updateUserRewardPoints","walletId",e),u("updateUserRewardPoints","rewardPointPayload",n);let r="/api/v1/users/{userId}/wallets/{walletId}/events".replace("{userId}",encodeURIComponent(String(s))).replace("{walletId}",encodeURIComponent(String(e))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"POST",...i,...t},c={},d={};await C(c,a),c["Content-Type"]="application/json",g(o,d);let A=i&&i.headers?i.headers:{};return l.headers={...c,...A,...t.headers},l.data=f(n,l,a),{url:y(o),options:l}}}},ce=function(a){let s=Dt(a);return{async getUser(e,n){let t=await s.getUser(e,n);return h(t,P.default,p,a)},async updateUserRewardPoints(e,n,t,r){let o=await s.updateUserRewardPoints(e,n,t,r);return h(o,P.default,p,a)}}},Hn=function(a,s,e){let n=ce(a);return{getUser(t,r){return n.getUser(t,r).then(o=>o(e,s))},updateUserRewardPoints(t,r,o,i){return n.updateUserRewardPoints(t,r,o,i).then(l=>l(e,s))}}},Ne=class extends V{getUser(s,e){return ce(this.configuration).getUser(s,e).then(n=>n(this.axios,this.basePath))}updateUserRewardPoints(s,e,n,t){return ce(this.configuration).updateUserRewardPoints(s,e,n,t).then(r=>r(this.axios,this.basePath))}},Ot=function(a){return{handleAssignmentWebhook:async(s={})=>{let e="/api/webhook/add-employee-assignments",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleBusinessWebhook:async(s={})=>{let e="/api/webhook/add-business",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleFoodoraEvent:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},handleLoadEmployee:async(s={})=>{let e="/api/webhook/load-employee",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleNetsEvents:async(s={})=>{let e="/api/webhook/nets",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleNetsEventsV2:async(s={})=>{let e="/api/webhook/v2/nets",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleNetsRefundEvents:async(s={})=>{let e="/api/webhook/nets/refund",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handlePreorderReminder:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},handleRoleWebhook:async(s={})=>{let e="/api/webhook/add-roles",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleShiftWebhook:async(s={})=>{let e="/api/webhook/add-employee-shifts",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleVivaEvents:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},handleWebhook:async(s={})=>{let e="/api/webhook/ship-day",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleWoltDriveEvent:async(s={})=>{let e="/api/webhook/wolt-drive/event",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},handleWoltDriveEventByCountry:async(s,e={})=>{u("handleWoltDriveEventByCountry","country",s);let n="/api/webhook/wolt-drive/{country}/event".replace("{country}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}},updateWoltProduct:async(s={})=>{let e="/api/webhook/wolt/product/edit",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(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={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}}}},E=function(a){let s=Ot(a);return{async handleAssignmentWebhook(e){let n=await s.handleAssignmentWebhook(e);return h(n,P.default,p,a)},async handleBusinessWebhook(e){let n=await s.handleBusinessWebhook(e);return h(n,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){let n=await s.handleLoadEmployee(e);return h(n,P.default,p,a)},async handleNetsEvents(e){let n=await s.handleNetsEvents(e);return h(n,P.default,p,a)},async handleNetsEventsV2(e){let n=await s.handleNetsEventsV2(e);return h(n,P.default,p,a)},async handleNetsRefundEvents(e){let n=await s.handleNetsRefundEvents(e);return h(n,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){let n=await s.handleRoleWebhook(e);return h(n,P.default,p,a)},async handleShiftWebhook(e){let n=await s.handleShiftWebhook(e);return h(n,P.default,p,a)},async handleVivaEvents(e,n){let t=await s.handleVivaEvents(e,n);return h(t,P.default,p,a)},async handleWebhook(e){let n=await s.handleWebhook(e);return h(n,P.default,p,a)},async handleWoltDriveEvent(e){let n=await s.handleWoltDriveEvent(e);return h(n,P.default,p,a)},async handleWoltDriveEventByCountry(e,n){let t=await s.handleWoltDriveEventByCountry(e,n);return h(t,P.default,p,a)},async handleWorldlineEvents(e){let n=await s.handleWorldlineEvents(e);return h(n,P.default,p,a)},async updateWoltProduct(e){let n=await s.updateWoltProduct(e);return h(n,P.default,p,a)},async verifyVivaWebhook(e){let n=await s.verifyVivaWebhook(e);return h(n,P.default,p,a)}}},Kn=function(a,s,e){let n=E(a);return{handleAssignmentWebhook(t){return n.handleAssignmentWebhook(t).then(r=>r(e,s))},handleBusinessWebhook(t){return n.handleBusinessWebhook(t).then(r=>r(e,s))},handleFoodoraEvent(t,r){return n.handleFoodoraEvent(t,r).then(o=>o(e,s))},handleLoadEmployee(t){return n.handleLoadEmployee(t).then(r=>r(e,s))},handleNetsEvents(t){return n.handleNetsEvents(t).then(r=>r(e,s))},handleNetsEventsV2(t){return n.handleNetsEventsV2(t).then(r=>r(e,s))},handleNetsRefundEvents(t){return n.handleNetsRefundEvents(t).then(r=>r(e,s))},handlePreorderReminder(t,r){return n.handlePreorderReminder(t,r).then(o=>o(e,s))},handleRoleWebhook(t){return n.handleRoleWebhook(t).then(r=>r(e,s))},handleShiftWebhook(t){return n.handleShiftWebhook(t).then(r=>r(e,s))},handleVivaEvents(t,r){return n.handleVivaEvents(t,r).then(o=>o(e,s))},handleWebhook(t){return n.handleWebhook(t).then(r=>r(e,s))},handleWoltDriveEvent(t){return n.handleWoltDriveEvent(t).then(r=>r(e,s))},handleWoltDriveEventByCountry(t,r){return n.handleWoltDriveEventByCountry(t,r).then(o=>o(e,s))},handleWorldlineEvents(t){return n.handleWorldlineEvents(t).then(r=>r(e,s))},updateWoltProduct(t){return n.updateWoltProduct(t).then(r=>r(e,s))},verifyVivaWebhook(t){return n.verifyVivaWebhook(t).then(r=>r(e,s))}}},Fe=class extends V{handleAssignmentWebhook(s){return E(this.configuration).handleAssignmentWebhook(s).then(e=>e(this.axios,this.basePath))}handleBusinessWebhook(s){return E(this.configuration).handleBusinessWebhook(s).then(e=>e(this.axios,this.basePath))}handleFoodoraEvent(s,e){return E(this.configuration).handleFoodoraEvent(s,e).then(n=>n(this.axios,this.basePath))}handleLoadEmployee(s){return E(this.configuration).handleLoadEmployee(s).then(e=>e(this.axios,this.basePath))}handleNetsEvents(s){return E(this.configuration).handleNetsEvents(s).then(e=>e(this.axios,this.basePath))}handleNetsEventsV2(s){return E(this.configuration).handleNetsEventsV2(s).then(e=>e(this.axios,this.basePath))}handleNetsRefundEvents(s){return E(this.configuration).handleNetsRefundEvents(s).then(e=>e(this.axios,this.basePath))}handlePreorderReminder(s,e){return E(this.configuration).handlePreorderReminder(s,e).then(n=>n(this.axios,this.basePath))}handleRoleWebhook(s){return E(this.configuration).handleRoleWebhook(s).then(e=>e(this.axios,this.basePath))}handleShiftWebhook(s){return E(this.configuration).handleShiftWebhook(s).then(e=>e(this.axios,this.basePath))}handleVivaEvents(s,e){return E(this.configuration).handleVivaEvents(s,e).then(n=>n(this.axios,this.basePath))}handleWebhook(s){return E(this.configuration).handleWebhook(s).then(e=>e(this.axios,this.basePath))}handleWoltDriveEvent(s){return E(this.configuration).handleWoltDriveEvent(s).then(e=>e(this.axios,this.basePath))}handleWoltDriveEventByCountry(s,e){return E(this.configuration).handleWoltDriveEventByCountry(s,e).then(n=>n(this.axios,this.basePath))}handleWorldlineEvents(s){return E(this.configuration).handleWorldlineEvents(s).then(e=>e(this.axios,this.basePath))}updateWoltProduct(s){return E(this.configuration).updateWoltProduct(s).then(e=>e(this.axios,this.basePath))}verifyVivaWebhook(s){return E(this.configuration).verifyVivaWebhook(s).then(e=>e(this.axios,this.basePath))}},Vt=function(a){return{cancelPayment:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},createPayment:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},createRefund:async(s,e={})=>{u("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",g(t,l);let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},o.data=f(s,o,a),{url:y(t),options:o}},getNextRequest:async(s,e,n,t,r={})=>{u("getNextRequest","terminalId",s),u("getNextRequest","authorization",e),u("getNextRequest","sessionID",n),u("getNextRequest","protocolVersion",t);let o="/api/v2/terminals/{terminalId}/requests".replace("{terminalId}",encodeURIComponent(String(s))),i=new URL(o,m),l;a&&(l=a.baseOptions);let c={method:"GET",...l,...r},d={},A={};e!=null&&(d.Authorization=String(e)),n!=null&&(d["Session-ID"]=String(n)),t!=null&&(d["Protocol-Version"]=String(t)),g(i,A);let x=l&&l.headers?l.headers:{};return c.headers={...d,...x,...r.headers},{url:y(i),options:c}},submitEvent:async(s,e,n={})=>{u("submitEvent","terminalId",s),u("submitEvent","worldlineEventEnvelopeDto",e);let t="/api/v2/terminals/{terminalId}/events".replace("{terminalId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},submitResponse:async(s,e,n={})=>{u("submitResponse","terminalId",s),u("submitResponse","worldlineResponseEnvelopeDto",e);let t="/api/v2/terminals/{terminalId}/responses".replace("{terminalId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}}}},F=function(a){let s=Vt(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)},async getNextRequest(e,n,t,r,o){let i=await s.getNextRequest(e,n,t,r,o);return h(i,P.default,p,a)},async submitEvent(e,n,t){let r=await s.submitEvent(e,n,t);return h(r,P.default,p,a)},async submitResponse(e,n,t){let r=await s.submitResponse(e,n,t);return h(r,P.default,p,a)}}},Qn=function(a,s,e){let n=F(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))},getNextRequest(t,r,o,i,l){return n.getNextRequest(t,r,o,i,l).then(c=>c(e,s))},submitEvent(t,r,o){return n.submitEvent(t,r,o).then(i=>i(e,s))},submitResponse(t,r,o){return n.submitResponse(t,r,o).then(i=>i(e,s))}}},Le=class extends V{cancelPayment(s,e){return F(this.configuration).cancelPayment(s,e).then(n=>n(this.axios,this.basePath))}createPayment(s,e){return F(this.configuration).createPayment(s,e).then(n=>n(this.axios,this.basePath))}createRefund(s,e){return F(this.configuration).createRefund(s,e).then(n=>n(this.axios,this.basePath))}getNextRequest(s,e,n,t,r){return F(this.configuration).getNextRequest(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}submitEvent(s,e,n){return F(this.configuration).submitEvent(s,e,n).then(t=>t(this.axios,this.basePath))}submitResponse(s,e,n){return F(this.configuration).submitResponse(s,e,n).then(t=>t(this.axios,this.basePath))}},It=function(a){return{createPaymentRequest:async(s,e,n={})=>{u("createPaymentRequest","terminalId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},createRefundRequest:async(s,e,n={})=>{u("createRefundRequest","terminalId",s),u("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={},c={};l["Content-Type"]="application/json",g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},i.data=f(e,i,a),{url:y(r),options:i}},getPaymentResult:async(s,e={})=>{u("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={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},getTerminalAuthContext:async(s,e,n={})=>{u("getTerminalAuthContext","terminalId",s),u("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={},c={};e!==void 0&&(c.channel=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getTerminalContext:async(s,e,n={})=>{u("getTerminalContext","terminalId",s),u("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={},c={};e!==void 0&&(c.channel=e),g(r,c);let d=o&&o.headers?o.headers:{};return i.headers={...l,...d,...n.headers},{url:y(r),options:i}},getTerminalState:async(s,e={})=>{u("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={};g(t,{});let c=r&&r.headers?r.headers:{};return o.headers={...i,...c,...e.headers},{url:y(t),options:o}},handleCallback:async(s={})=>{let e="/api/v2/worldline/internal/callback",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};g(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:y(n),options:r}}}},w=function(a){let s=It(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){let n=await s.handleCallback(e);return h(n,P.default,p,a)}}},Gn=function(a,s,e){let n=w(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){return n.handleCallback(t).then(r=>r(e,s))}}},je=class extends V{createPaymentRequest(s,e,n){return w(this.configuration).createPaymentRequest(s,e,n).then(t=>t(this.axios,this.basePath))}createRefundRequest(s,e,n){return w(this.configuration).createRefundRequest(s,e,n).then(t=>t(this.axios,this.basePath))}getPaymentResult(s,e){return w(this.configuration).getPaymentResult(s,e).then(n=>n(this.axios,this.basePath))}getTerminalAuthContext(s,e,n){return w(this.configuration).getTerminalAuthContext(s,e,n).then(t=>t(this.axios,this.basePath))}getTerminalContext(s,e,n){return w(this.configuration).getTerminalContext(s,e,n).then(t=>t(this.axios,this.basePath))}getTerminalState(s,e){return w(this.configuration).getTerminalState(s,e).then(n=>n(this.axios,this.basePath))}handleCallback(s){return w(this.configuration).handleCallback(s).then(e=>e(this.axios,this.basePath))}};var Qe=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 vt="1.4.4";0&&(module.exports={AblyApi,AblyApiAxiosParamCreator,AblyApiFactory,AblyApiFp,ActionEnum,ActionPasscodesApi,ActionPasscodesApiAxiosParamCreator,ActionPasscodesApiFactory,ActionPasscodesApiFp,ActionsEnum,AuthApi,AuthApiAxiosParamCreator,AuthApiFactory,AuthApiFp,BusinessApi,BusinessApiAxiosParamCreator,BusinessApiFactory,BusinessApiFp,BusinessBackgroundType,BusinessEventAction,BusinessEventType,BusinessPaymentIntegrationType,BusinessStatusEnum,CashLogReason,CashLogType,CashManagementApi,CashManagementApiAxiosParamCreator,CashManagementApiFactory,CashManagementApiFp,CashSessionDtoEnum,CashSessionStatus,ChannelEnum,CheckoutModelEnum,ConfigManagementApi,ConfigManagementApiAxiosParamCreator,ConfigManagementApiFactory,ConfigManagementApiFp,Configuration,CurrencyCode,CurrencyCodeEnum,DeliveryStatus,DeliveryType,DeviceStatus,DiscountScope,DiscountType,EmployeesApi,EmployeesApiAxiosParamCreator,EmployeesApiFactory,EmployeesApiFp,EntityType,EntityTypeEnum,EventTypeEnum,EventTypeIdEnum,FeeType,GiftcardApi,GiftcardApiAxiosParamCreator,GiftcardApiFactory,GiftcardApiFp,HistoryApi,HistoryApiAxiosParamCreator,HistoryApiFactory,HistoryApiFp,IntegrationType,InvoiceCompaniesApi,InvoiceCompaniesApiAxiosParamCreator,InvoiceCompaniesApiFactory,InvoiceCompaniesApiFp,KioskEventType,KioskLayout,KiosksApi,KiosksApiAxiosParamCreator,KiosksApiFactory,KiosksApiFp,KitchenStatus,LocatorType,LoyaltyActionKey,LoyaltyIntegerationsApi,LoyaltyIntegerationsApiAxiosParamCreator,LoyaltyIntegerationsApiFactory,LoyaltyIntegerationsApiFp,MUNCHI_CORE_VERSION,MenuApi,MenuApiAxiosParamCreator,MenuApiFactory,MenuApiFp,MerchantsApi,MerchantsApiAxiosParamCreator,MerchantsApiFactory,MerchantsApiFp,NameEnum,NotificationApi,NotificationApiAxiosParamCreator,NotificationApiFactory,NotificationApiFp,OperatingMode,OperatingModeEnum,OrderFormat,OrderRefundStatus,OrderSource,OrderStatusEnum,OrderType,OrderTypePOS,OrderingCoApi,OrderingCoApiAxiosParamCreator,OrderingCoApiFactory,OrderingCoApiFp,OrdersApi,OrdersApiAxiosParamCreator,OrdersApiFactory,OrdersApiFp,POSSessionApi,POSSessionApiAxiosParamCreator,POSSessionApiFactory,POSSessionApiFp,PaymentApi,PaymentApiAxiosParamCreator,PaymentApiFactory,PaymentApiFp,PaymentEventType,PaymentFailureCode,PaymentMethod,PaymentProvider,PaymentProviderEnum,PaymentStatus,PaymentTypeEnum,PluginApi,PluginApiAxiosParamCreator,PluginApiFactory,PluginApiFp,PosDiscountTargetType,PosDiscountType,PosPaymentStatus,PosPaymentType,PosPermission,PreorderStatus,PrinterTypeEnum,ProductApi,ProductApiAxiosParamCreator,ProductApiFactory,ProductApiFp,ProductAvailability,ProductDetailLayout,ProductDetailLayoutEnum,ProviderApi,ProviderApiAxiosParamCreator,ProviderApiFactory,ProviderApiFp,ProviderEnum,RefundMode,RefundOverallStatus,RefundStatusEnum,RefundStepStatus,RefundsApi,RefundsApiAxiosParamCreator,RefundsApiFactory,RefundsApiFp,ReportApi,ReportApiAxiosParamCreator,ReportApiFactory,ReportApiFp,SYNCKEY,SelectedPaymentProviderEnum,ShiftTrackingApi,ShiftTrackingApiAxiosParamCreator,ShiftTrackingApiFactory,ShiftTrackingApiFp,SimplePaymentStatus,StaffActivityActionType,StationType,StationsApi,StationsApiAxiosParamCreator,StationsApiFactory,StationsApiFp,Status,StatusEnum,TerminalApi,TerminalApiAxiosParamCreator,TerminalApiFactory,TerminalApiFp,TerminalConnectionType,TimeSpan,TransactionEventType,TransactionType,Type,UpsellMode,UserApi,UserApiAxiosParamCreator,UserApiFactory,UserApiFp,UsersApi,UsersApiAxiosParamCreator,UsersApiFactory,UsersApiFp,VivaCurrencyCode,VivaErrorId,VivaEventId,WebhookApi,WebhookApiAxiosParamCreator,WebhookApiFactory,WebhookApiFp,WorldlineApi,WorldlineApiAxiosParamCreator,WorldlineApiFactory,WorldlineApiFp,WorldlineAuthorizationMethod,WorldlineAuthorizationResponder,WorldlineEntryMode,WorldlineEventType,WorldlineInternalApi,WorldlineInternalApiAxiosParamCreator,WorldlineInternalApiFactory,WorldlineInternalApiFp,WorldlineOutcomeDescription,WorldlineResponseStatus,WorldlineTransactionOutcome,WorldlineTransactionType,WorldlineVerificationMethod});