@munchi_oy/core 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ import h from"axios";import Fe from"axios";var p="http://localhost".replace(/\/+$/,"");var S=class{constructor(s,e=p,n=Fe){this.basePath=e;this.axios=n;s&&(this.configuration=s,this.basePath=s.basePath||this.basePath)}configuration},z=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 z(s,`Required parameter ${s} was null or undefined when calling ${a}.`)};var v=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 J(a,s,e=""){s!=null&&(typeof s=="object"?Array.isArray(s)?s.forEach(n=>J(a,n,e)):Object.keys(s).forEach(n=>J(a,s[n],`${e}${e!==""?".":""}${n}`)):a.has(e)?a.append(e,s):a.set(e,s))}var y=function(a,...s){let e=new URLSearchParams(a.search);J(e,s),a.search=e.toString()},R=function(a,s,e){let n=typeof a!="string";return(n&&e&&e.isJsonMime?e.isJsonMime(s.headers["Content-Type"]):n)?JSON.stringify(a!==void 0?a:{}):a||""},g=function(a){return a.pathname+a.search+a.hash},P=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 qt={ProductUpdated:"PRODUCT_UPDATED",ProductDeleted:"PRODUCT_DELETED",MenuUpdated:"MENU_UPDATED",CategoryUpdated:"CATEGORY_UPDATED",ExtraUpdated:"EXTRA_UPDATED",ExtraDeleted:"EXTRA_DELETED",OptionUpdated:"OPTION_UPDATED",OptionDeleted:"OPTION_DELETED",SuboptionUpdated:"SUBOPTION_UPDATED",SuboptionDeleted:"SUBOPTION_DELETED",SiteUpdated:"SITE_UPDATED",CategoryDeleted:"CATEGORY_DELETED",ProductCreated:"PRODUCT_CREATED",BusinessConfigUpdated:"BUSINESS_CONFIG_UPDATED",DataSyncRequired:"data_sync_required",PosSessionUpdated:"pos_session_updated"},Bt={Product:"product",Menu:"menu",Category:"category",Extra:"extra",Option:"option",Role:"role",Shift:"shift",Employee:"employee",Config:"config"},Ut={Earn:"earn",Redeem:"redeem",Collect:"collect",Credit:"credit",Debit:"debit",Claimed:"claimed"},_t={Image:"image",Video:"video",Animation:"animation"},kt={ProductUpdated:"PRODUCT_UPDATED",ProductDeleted:"PRODUCT_DELETED",MenuUpdated:"MENU_UPDATED",CategoryUpdated:"CATEGORY_UPDATED",ExtraUpdated:"EXTRA_UPDATED",ExtraDeleted:"EXTRA_DELETED",OptionUpdated:"OPTION_UPDATED",OptionDeleted:"OPTION_DELETED",SuboptionUpdated:"SUBOPTION_UPDATED",SuboptionDeleted:"SUBOPTION_DELETED",SiteUpdated:"SITE_UPDATED",CategoryDeleted:"CATEGORY_DELETED",ProductCreated:"PRODUCT_CREATED",BusinessConfigUpdated:"BUSINESS_CONFIG_UPDATED",DataSyncRequired:"data_sync_required",PosSessionUpdated:"pos_session_updated"},Mt={StatusUpdated:"business:status-updated",MenuUpdated:"business:menu-updated",ConfigUpdated:"business:config-updated"},Nt={GiftCard:"GiftCard"},wt={Online:"ONLINE",Offline:"OFFLINE"},jt={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"},Lt={Opening:"OPENING",Sale:"SALE",Refund:"REFUND",ManualIn:"MANUAL_IN",ManualOut:"MANUAL_OUT",Closing:"CLOSING"},Ft={SessionUpdated:"SESSION_UPDATED",SessionClosed:"SESSION_CLOSED",LogAdded:"LOG_ADDED"},Ht={Open:"OPEN",Counting:"COUNTING",Closed:"CLOSED"},Qt={Wolt:"Wolt",MunchiOnline:"MunchiOnline",MunchiKiosk:"MunchiKiosk",MunchiPos:"MunchiPos",UberEats:"UberEats",Foodora:"Foodora",Bolt:"Bolt",MunchiKioskV2:"MunchiKioskV2",Kiosk:"Kiosk",WoltStorefront:"WoltStorefront"},Gt={NUMBER_1:1,NUMBER_2:2,NUMBER_3:3,NUMBER_4:4},Wt={Business:"BUSINESS",Chain:"CHAIN"},Kt={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"},$t={None:"none",PickupEtaUpdated:"pickup_eta_updated",PickupStarted:"pickup_started",PickedUp:"picked_up",DropoffStarted:"dropoff_started",DropoffCompleted:"dropoff_completed",Delivered:"delivered",DropoffEtaUpdated:"dropoff_eta_updated"},zt={SelfDelivery:"self_delivery",HomeDelivery:"home_delivery"},Yt={NUMBER_0:0,NUMBER_1:1,NUMBER_2:2,NUMBER_3:3,NUMBER_4:4,NUMBER_5:5,NUMBER_6:6,NUMBER_7:7},Zt={Item:"ITEM",Cart:"CART"},Xt={Percentage:"PERCENTAGE",Fixed:"FIXED"},Jt={Product:"product",Menu:"menu",Category:"category",Extra:"extra",Option:"option",Role:"role",Shift:"shift",Employee:"employee",Config:"config"},es={Orders:"ORDERS",Menu:"MENU",Venue:"VENUE"},ts={StatusUpdated:"kiosk.status.updated",ConfigUpdated:"kiosk.config.updated"},ss={Vertical:"VERTICAL",Horizontal:"HORIZONTAL"},rs={NotApplicable:"not_applicable",Pending:"pending",OnHold:"on_hold",SentToOm:"sent_to_om",DispatchedToKitchen:"dispatched_to_kitchen",Completed:"completed",Cancelled:"cancelled"},ns={Table:"table",Indicator:"indicator"},os={Self:"self",GetUserById:"getUserById",SearchUser:"searchUser",AddPoints:"addPoints",GetAdminHistory:"getAdminHistory"},as={Standard:"STANDARD",Team:"TEAM",Pinlock:"PINLOCK"},is={Open:"OPEN",Instant:"INSTANT"},ls={None:"NONE",Partial:"PARTIAL",Full:"FULL"},ds={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"},cs={Delivery:"delivery",PickUp:"pick_up",DineIn:"dine_in"},us={DineIn:"dine_in",PickUp:"pick_up"},ps={Business:"BUSINESS",Chain:"CHAIN"},ms={StatusChanged:"payment:status-changed",RefundStatusChanged:"payment:refund-status-changed"},ys={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",TerminalOffline:"terminal.offline",TerminalTimeout:"terminal.timeout",TerminalBusy:"terminal.busy",SystemProviderError:"system.provider_error",SystemUnknown:"system.unknown"},gs={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"},Ps={Stripe:"stripe",Viva:"viva",Nets:"nets"},hs={Stripe:"stripe",Viva:"viva",Nets:"nets"},As={Paid:"paid",Pending:"pending"},xs={Cash:"cash",Card:"card"},fs={Percentage:"percentage",Fixed:"fixed"},Rs={Unpaid:"unpaid",Paying:"paying",Paid:"paid"},bs={Manual:"manual",Static:"static",NonStatic:"non_static",Common:"common"},Cs={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"},Ds={Waiting:"waiting",Confirm:"confirm"},Os={Kitchen:"KITCHEN",Bar:"BAR",Receipt:"RECEIPT",Cloud:"CLOUD"},Vs={Ticketing:"Ticketing",OrderChange:"OrderChange",NewOrder:"NewOrder",Printing:"Printing",PosOrderChange:"PosOrderChange",UpdateLoyaltyPoints:"UpdateLoyaltyPoints"},Is={Available:"AVAILABLE",UnavailableToday:"UNAVAILABLE_TODAY",UnavailableIndefinitely:"UNAVAILABLE_INDEFINITELY"},vs={Modal:"MODAL",Screen:"SCREEN"},Ts={Wolt:"Wolt",MunchiOnline:"MunchiOnline",MunchiKiosk:"MunchiKiosk",MunchiPos:"MunchiPos",UberEats:"UberEats",Foodora:"Foodora",Bolt:"Bolt",MunchiKioskV2:"MunchiKioskV2",Kiosk:"Kiosk",WoltStorefront:"WoltStorefront"},Ss={Full:"FULL",Item:"ITEM"},Es={Pending:"PENDING",InProgress:"IN_PROGRESS",ChoiceRequired:"CHOICE_REQUIRED",Completed:"COMPLETED",Failed:"FAILED"},qs={Pending:"PENDING",Success:"SUCCESS",Failed:"FAILED",Canceled:"CANCELED"},Bs={Pending:"PENDING",InProgress:"in_progress",Failed:"FAILED",Completed:"COMPLETED"},Us={Pending:"PENDING",Success:"SUCCESS",Failed:"FAILED"},_s={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"},ks={Kiosk:"KIOSK",Pos:"POS"},Ms={Active:"ACTIVE",Inactive:"INACTIVE"},Ns={RequiresPaymentMethod:"requires_payment_method",RequiresConfirmation:"requires_confirmation",RequiresAction:"requires_action",Processing:"processing",RequiresCapture:"requires_capture",Canceled:"canceled",Succeeded:"succeeded"},ws={Network:"NETWORK"},js={Custom:"CUSTOM",Day:"DAY",Week:"WEEK",Month:"MONTH",Year:"YEAR"},Ls={Earn:"earn",Redeem:"redeem",Collect:"collect",Credit:"credit",Debit:"debit",Claimed:"claimed"},Fs={Purchase:"purchase",PurchaseWithCashback:"purchaseWithCashback",Reversal:"reversal",ReturnOfGoods:"returnOfGoods",Bonus:"bonus",Authorization:"authorization",PreAuthorizationIncremental:"preAuthorizationIncremental",PreAuthorizationReversal:"preAuthorizationReversal",PreAuthorizationSaleCompletion:"preAuthorizationSaleCompletion",Deposit:"deposit",BalanceInquiry:"balanceInquiry"},Hs={Instant:"instant",Preorder:"preorder"},Qs={AfterAddProduct:"AfterAddProduct",BeforeCheckout:"BeforeCheckout",Disabled:"Disabled"},Gs={NUMBER_1:1,NUMBER_2:2,NUMBER_3:3,NUMBER_4:4},Ws={_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"},Ks={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},$s={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},zs={_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"},Ys={NUMBER_1796:1796,NUMBER_1797:1797,NUMBER_1798:1798,NUMBER_1799:1799,NUMBER_1802:1802,NUMBER_1803:1803,NUMBER_8193:8193,NUMBER_8194:8194},He=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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}}}},ee=function(a){let s=He(a);return{async refreshConfig(e){let n=await s.refreshConfig(e);return P(n,h,p,a)},async requestSettings(e){let n=await s.requestSettings(e);return P(n,h,p,a)}}},Zs=function(a,s,e){let n=ee(a);return{refreshConfig(t){return n.refreshConfig(t).then(r=>r(e,s))},requestSettings(t){return n.requestSettings(t).then(r=>r(e,s))}}},le=class extends S{refreshConfig(s){return ee(this.configuration).refreshConfig(s).then(e=>e(this.axios,this.basePath))}requestSettings(s){return ee(this.configuration).requestSettings(s).then(e=>e(this.axios,this.basePath))}},Qe=function(a){return{firebaseAuth:async(s={})=>{let e="/api/v1/auth/firebase-login",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},generateCode:async(s,e={})=>{u("generateCode","generateCodeDto",s);let n="/api/v1/auth/code/generate",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},logout:async(s={})=>{let e="/api/v1/auth/logout",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},refreshToken:async(s,e={})=>{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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},registerUser:async(s,e={})=>{u("registerUser","userDto",s);let n="/api/v1/auth/register",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},verifyCode:async(s,e,n={})=>{u("verifyCode","orderingAccessToken",s),u("verifyCode","phoneCodeVerificationDto",e);let t="/api/v1/auth/code/verify",r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},d={};s!=null&&(l.orderingAccessToken=String(s)),l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(r),options:i}}}},N=function(a){let s=Qe(a);return{async firebaseAuth(e){let n=await s.firebaseAuth(e);return P(n,h,p,a)},async generateCode(e,n){let t=await s.generateCode(e,n);return P(t,h,p,a)},async login(e,n){let t=await s.login(e,n);return P(t,h,p,a)},async logout(e){let n=await s.logout(e);return P(n,h,p,a)},async refreshToken(e,n){let t=await s.refreshToken(e,n);return P(t,h,p,a)},async registerUser(e,n){let t=await s.registerUser(e,n);return P(t,h,p,a)},async verifyCode(e,n,t){let r=await s.verifyCode(e,n,t);return P(r,h,p,a)}}},Xs=function(a,s,e){let n=N(a);return{firebaseAuth(t){return n.firebaseAuth(t).then(r=>r(e,s))},generateCode(t,r){return n.generateCode(t,r).then(o=>o(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))},registerUser(t,r){return n.registerUser(t,r).then(o=>o(e,s))},verifyCode(t,r,o){return n.verifyCode(t,r,o).then(i=>i(e,s))}}},de=class extends S{firebaseAuth(s){return N(this.configuration).firebaseAuth(s).then(e=>e(this.axios,this.basePath))}generateCode(s,e){return N(this.configuration).generateCode(s,e).then(n=>n(this.axios,this.basePath))}login(s,e){return N(this.configuration).login(s,e).then(n=>n(this.axios,this.basePath))}logout(s){return N(this.configuration).logout(s).then(e=>e(this.axios,this.basePath))}refreshToken(s,e){return N(this.configuration).refreshToken(s,e).then(n=>n(this.axios,this.basePath))}registerUser(s,e){return N(this.configuration).registerUser(s,e).then(n=>n(this.axios,this.basePath))}verifyCode(s,e,n){return N(this.configuration).verifyCode(s,e,n).then(t=>t(this.axios,this.basePath))}},Ge=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={},d={};await v(l,a),l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(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={},d={};await v(l,a),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};await v(l,a),l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(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={},d={};await v(l,a),l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(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={},d={};await v(l,a),e!==void 0&&(d.lang=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};await v(l,a),e!==void 0&&(d.lang=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};await v(l,a),e!==void 0&&(d.lang=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};await v(l,a),e!==void 0&&(d.lang=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};await v(l,a),e!==void 0&&(d.lang=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};await v(l,a),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};await v(l,a),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};await v(l,a),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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 v(i,a),y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(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={},d={};await v(l,a),e!==void 0&&(d.channel=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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 v(o,a),y(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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},d={},c={};await v(d,a),y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},{url:g(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 v(i,a),y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(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={},d={};await v(l,a),l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(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={},d={};await v(l,a),l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(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},d={},c={};await v(d,a),d["Content-Type"]="application/json",y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},l.data=R(n,l,a),{url:g(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 v(i,a),y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(t),options:o}}}},q=function(a){let s=Ge(a);return{async createBusinessPermission(e,n,t){let r=await s.createBusinessPermission(e,n,t);return P(r,h,p,a)},async deleteBusinessPermission(e,n,t){let r=await s.deleteBusinessPermission(e,n,t);return P(r,h,p,a)},async getBusinessCategoriesByMenuId(e,n,t){let r=await s.getBusinessCategoriesByMenuId(e,n,t);return P(r,h,p,a)},async getBusinessCategoriesByMenuIdV2(e,n,t){let r=await s.getBusinessCategoriesByMenuIdV2(e,n,t);return P(r,h,p,a)},async getBusinessChannelConfig(e,n,t){let r=await s.getBusinessChannelConfig(e,n,t);return P(r,h,p,a)},async getBusinessConfig(e,n,t){let r=await s.getBusinessConfig(e,n,t);return P(r,h,p,a)},async getBusinessConfigById(e,n,t){let r=await s.getBusinessConfigById(e,n,t);return P(r,h,p,a)},async getBusinessConfigByIdV2(e,n,t){let r=await s.getBusinessConfigByIdV2(e,n,t);return P(r,h,p,a)},async getBusinessConfiguration(e,n,t){let r=await s.getBusinessConfiguration(e,n,t);return P(r,h,p,a)},async getBusinessMenuByType(e,n,t){let r=await s.getBusinessMenuByType(e,n,t);return P(r,h,p,a)},async getBusinessMenuByTypeV2(e,n,t){let r=await s.getBusinessMenuByTypeV2(e,n,t);return P(r,h,p,a)},async getBusinessMenuByTypeV3(e,n,t){let r=await s.getBusinessMenuByTypeV3(e,n,t);return P(r,h,p,a)},async getBusinessProviderStatus(e,n){let t=await s.getBusinessProviderStatus(e,n);return P(t,h,p,a)},async getBusinessProviderStatusExternal(e,n,t){let r=await s.getBusinessProviderStatusExternal(e,n,t);return P(r,h,p,a)},async getBusinessTax(e){let n=await s.getBusinessTax(e);return P(n,h,p,a)},async getSingleBusinessProviderStatus(e,n,t,r){let o=await s.getSingleBusinessProviderStatus(e,n,t,r);return P(o,h,p,a)},async getUnifiedDiscounts(e,n){let t=await s.getUnifiedDiscounts(e,n);return P(t,h,p,a)},async setBusinessStatus(e,n,t){let r=await s.setBusinessStatus(e,n,t);return P(r,h,p,a)},async setBusinessStatusSchedule(e,n,t){let r=await s.setBusinessStatusSchedule(e,n,t);return P(r,h,p,a)},async updateBusinessPermission(e,n,t,r){let o=await s.updateBusinessPermission(e,n,t,r);return P(o,h,p,a)},async validateBusiness(e,n){let t=await s.validateBusiness(e,n);return P(t,h,p,a)}}},Js=function(a,s,e){let n=q(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))},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))},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))}}},ce=class extends S{createBusinessPermission(s,e,n){return q(this.configuration).createBusinessPermission(s,e,n).then(t=>t(this.axios,this.basePath))}deleteBusinessPermission(s,e,n){return q(this.configuration).deleteBusinessPermission(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessCategoriesByMenuId(s,e,n){return q(this.configuration).getBusinessCategoriesByMenuId(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessCategoriesByMenuIdV2(s,e,n){return q(this.configuration).getBusinessCategoriesByMenuIdV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessChannelConfig(s,e,n){return q(this.configuration).getBusinessChannelConfig(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfig(s,e,n){return q(this.configuration).getBusinessConfig(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfigById(s,e,n){return q(this.configuration).getBusinessConfigById(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfigByIdV2(s,e,n){return q(this.configuration).getBusinessConfigByIdV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessConfiguration(s,e,n){return q(this.configuration).getBusinessConfiguration(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByType(s,e,n){return q(this.configuration).getBusinessMenuByType(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV2(s,e,n){return q(this.configuration).getBusinessMenuByTypeV2(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessMenuByTypeV3(s,e,n){return q(this.configuration).getBusinessMenuByTypeV3(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessProviderStatus(s,e){return q(this.configuration).getBusinessProviderStatus(s,e).then(n=>n(this.axios,this.basePath))}getBusinessProviderStatusExternal(s,e,n){return q(this.configuration).getBusinessProviderStatusExternal(s,e,n).then(t=>t(this.axios,this.basePath))}getBusinessTax(s){return q(this.configuration).getBusinessTax(s).then(e=>e(this.axios,this.basePath))}getSingleBusinessProviderStatus(s,e,n,t){return q(this.configuration).getSingleBusinessProviderStatus(s,e,n,t).then(r=>r(this.axios,this.basePath))}getUnifiedDiscounts(s,e){return q(this.configuration).getUnifiedDiscounts(s,e).then(n=>n(this.axios,this.basePath))}setBusinessStatus(s,e,n){return q(this.configuration).setBusinessStatus(s,e,n).then(t=>t(this.axios,this.basePath))}setBusinessStatusSchedule(s,e,n){return q(this.configuration).setBusinessStatusSchedule(s,e,n).then(t=>t(this.axios,this.basePath))}updateBusinessPermission(s,e,n,t){return q(this.configuration).updateBusinessPermission(s,e,n,t).then(r=>r(this.axios,this.basePath))}validateBusiness(s,e){return q(this.configuration).validateBusiness(s,e).then(n=>n(this.axios,this.basePath))}},We=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={},d={};l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(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={};y(t,{});let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(t),options:o}},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={},d={};l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(r),options:i}}}},Y=function(a){let s=We(a);return{async create(e,n,t){let r=await s.create(e,n,t);return P(r,h,p,a)},async getCashSession(e,n){let t=await s.getCashSession(e,n);return P(t,h,p,a)},async recordCashLog(e,n,t){let r=await s.recordCashLog(e,n,t);return P(r,h,p,a)}}},er=function(a,s,e){let n=Y(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))},recordCashLog(t,r,o){return n.recordCashLog(t,r,o).then(i=>i(e,s))}}},ue=class extends S{create(s,e,n){return Y(this.configuration).create(s,e,n).then(t=>t(this.axios,this.basePath))}getCashSession(s,e){return Y(this.configuration).getCashSession(s,e).then(n=>n(this.axios,this.basePath))}recordCashLog(s,e,n){return Y(this.configuration).recordCashLog(s,e,n).then(t=>t(this.axios,this.basePath))}},Ke=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={},d={};l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(r),options:i}},createEmployee:async(s,e={})=>{u("createEmployee","createEmployeeDto",s);let n="/api/v1/employees",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},getEmployees:async(s,e,n,t={})=>{u("getEmployees","merchantId",s);let r="/api/v1/employees",o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},d={},c={};s!==void 0&&(c.merchantId=s),e!==void 0&&(c.limit=e),n!==void 0&&(c.page=n),y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},{url:g(o),options:l}}}},Z=function(a){let s=Ke(a);return{async createAssignment(e,n,t){let r=await s.createAssignment(e,n,t);return P(r,h,p,a)},async createEmployee(e,n){let t=await s.createEmployee(e,n);return P(t,h,p,a)},async getEmployees(e,n,t,r){let o=await s.getEmployees(e,n,t,r);return P(o,h,p,a)}}},tr=function(a,s,e){let n=Z(a);return{createAssignment(t,r,o){return n.createAssignment(t,r,o).then(i=>i(e,s))},createEmployee(t,r){return n.createEmployee(t,r).then(o=>o(e,s))},getEmployees(t,r,o,i){return n.getEmployees(t,r,o,i).then(l=>l(e,s))}}},pe=class extends S{createAssignment(s,e,n){return Z(this.configuration).createAssignment(s,e,n).then(t=>t(this.axios,this.basePath))}createEmployee(s,e){return Z(this.configuration).createEmployee(s,e).then(n=>n(this.axios,this.basePath))}getEmployees(s,e,n,t){return Z(this.configuration).getEmployees(s,e,n,t).then(r=>r(this.axios,this.basePath))}},$e=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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}}}},te=function(a){let s=$e(a);return{async redeemGiftCard(e,n){let t=await s.redeemGiftCard(e,n);return P(t,h,p,a)},async validateGiftCard(e,n){let t=await s.validateGiftCard(e,n);return P(t,h,p,a)}}},sr=function(a,s,e){let n=te(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))}}},me=class extends S{redeemGiftCard(s,e){return te(this.configuration).redeemGiftCard(s,e).then(n=>n(this.axios,this.basePath))}validateGiftCard(s,e){return te(this.configuration).validateGiftCard(s,e).then(n=>n(this.axios,this.basePath))}},ze=function(a){return{getInternalOrderHistoryOnline:async(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D={})=>{u("getInternalOrderHistoryOnline","businessIds",s);let O="/api/v1/history/internal/orders",I=new URL(O,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...D},B={},f={};e!==void 0&&(f.timeSpan=e),n!==void 0&&(f.start=n),t!==void 0&&(f.end=t),s&&(f.businessIds=s),r!==void 0&&(f.page=r),o!==void 0&&(f.rowPerPage=o),i&&(f.provider=i),l&&(f.paymentType=l),d&&(f.orderStatus=d),c&&(f.paymentStatus=c),A&&(f.orderType=A),x&&(f.paymentTypePos=x),b!==void 0&&(f.invoiceCompanyId=b),C!==void 0&&(f.timezone=C),y(I,f);let k=V&&V.headers?V.headers:{};return T.headers={...B,...k,...D.headers},{url:g(I),options:T}},getOrderHistoryOnline:async(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D={})=>{u("getOrderHistoryOnline","businessIds",s);let O="/api/v1/history/orders",I=new URL(O,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...D},B={},f={};e!==void 0&&(f.timeSpan=e),n!==void 0&&(f.start=n),t!==void 0&&(f.end=t),s&&(f.businessIds=s),r!==void 0&&(f.page=r),o!==void 0&&(f.rowPerPage=o),i&&(f.provider=i),l&&(f.paymentType=l),d&&(f.orderStatus=d),c&&(f.paymentStatus=c),A&&(f.orderType=A),x&&(f.paymentTypePos=x),b!==void 0&&(f.invoiceCompanyId=b),C!==void 0&&(f.timezone=C),y(I,f);let k=V&&V.headers?V.headers:{};return T.headers={...B,...k,...D.headers},{url:g(I),options:T}},getOrderHistoryPOSV2:async(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D={})=>{u("getOrderHistoryPOSV2","businessIds",s);let O="/api/v2/history/orders/pos",I=new URL(O,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...D},B={},f={};await v(B,a),e!==void 0&&(f.timeSpan=e),n!==void 0&&(f.start=n),t!==void 0&&(f.end=t),s&&(f.businessIds=s),r!==void 0&&(f.page=r),o!==void 0&&(f.rowPerPage=o),i&&(f.provider=i),l&&(f.paymentType=l),d&&(f.orderStatus=d),c&&(f.paymentStatus=c),A&&(f.orderType=A),x&&(f.paymentTypePos=x),b!==void 0&&(f.invoiceCompanyId=b),C!==void 0&&(f.timezone=C),y(I,f);let k=V&&V.headers?V.headers:{};return T.headers={...B,...k,...D.headers},{url:g(I),options:T}},getOrderHistoryPOSV3:async(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D={})=>{u("getOrderHistoryPOSV3","businessIds",s);let O="/api/v3/history/orders/pos",I=new URL(O,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...D},B={},f={};await v(B,a),e!==void 0&&(f.timeSpan=e),n!==void 0&&(f.start=n),t!==void 0&&(f.end=t),s&&(f.businessIds=s),r!==void 0&&(f.page=r),o!==void 0&&(f.rowPerPage=o),i&&(f.provider=i),l&&(f.paymentType=l),d&&(f.orderStatus=d),c&&(f.paymentStatus=c),A&&(f.orderType=A),x&&(f.paymentTypePos=x),b!==void 0&&(f.invoiceCompanyId=b),C!==void 0&&(f.timezone=C),y(I,f);let k=V&&V.headers?V.headers:{};return T.headers={...B,...k,...D.headers},{url:g(I),options:T}},getOrderHistoryPOSV4:async(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D={})=>{u("getOrderHistoryPOSV4","businessIds",s);let O="/api/v4/history/orders/pos",I=new URL(O,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...D},B={},f={};await v(B,a),e!==void 0&&(f.timeSpan=e),n!==void 0&&(f.start=n),t!==void 0&&(f.end=t),s&&(f.businessIds=s),r!==void 0&&(f.page=r),o!==void 0&&(f.rowPerPage=o),i&&(f.provider=i),l&&(f.paymentType=l),d&&(f.orderStatus=d),c&&(f.paymentStatus=c),A&&(f.orderType=A),x&&(f.paymentTypePos=x),b!==void 0&&(f.invoiceCompanyId=b),C!==void 0&&(f.timezone=C),y(I,f);let k=V&&V.headers?V.headers:{};return T.headers={...B,...k,...D.headers},{url:g(I),options:T}},getOrderHistoryPOSV5:async(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D={})=>{u("getOrderHistoryPOSV5","businessIds",s);let O="/api/v5/history/orders/pos",I=new URL(O,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...D},B={},f={};await v(B,a),e!==void 0&&(f.timeSpan=e),n!==void 0&&(f.start=n),t!==void 0&&(f.end=t),s&&(f.businessIds=s),r!==void 0&&(f.page=r),o!==void 0&&(f.rowPerPage=o),i&&(f.provider=i),l&&(f.paymentType=l),d&&(f.orderStatus=d),c&&(f.paymentStatus=c),A&&(f.orderType=A),x&&(f.paymentTypePos=x),b!==void 0&&(f.invoiceCompanyId=b),C!==void 0&&(f.timezone=C),y(I,f);let k=V&&V.headers?V.headers:{};return T.headers={...B,...k,...D.headers},{url:g(I),options:T}},getOrderHistoryPOSV5Internal:async(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D={})=>{u("getOrderHistoryPOSV5Internal","businessIds",s);let O="/api/v5/history/internal/orders/pos",I=new URL(O,m),V;a&&(V=a.baseOptions);let T={method:"GET",...V,...D},B={},f={};await v(B,a),e!==void 0&&(f.timeSpan=e),n!==void 0&&(f.start=n),t!==void 0&&(f.end=t),s&&(f.businessIds=s),r!==void 0&&(f.page=r),o!==void 0&&(f.rowPerPage=o),i&&(f.provider=i),l&&(f.paymentType=l),d&&(f.orderStatus=d),c&&(f.paymentStatus=c),A&&(f.orderType=A),x&&(f.paymentTypePos=x),b!==void 0&&(f.invoiceCompanyId=b),C!==void 0&&(f.timezone=C),y(I,f);let k=V&&V.headers?V.headers:{};return T.headers={...B,...k,...D.headers},{url:g(I),options:T}}}},w=function(a){let s=ze(a);return{async getInternalOrderHistoryOnline(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O){let I=await s.getInternalOrderHistoryOnline(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O);return P(I,h,p,a)},async getOrderHistoryOnline(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O){let I=await s.getOrderHistoryOnline(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O);return P(I,h,p,a)},async getOrderHistoryPOSV2(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O){let I=await s.getOrderHistoryPOSV2(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O);return P(I,h,p,a)},async getOrderHistoryPOSV3(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O){let I=await s.getOrderHistoryPOSV3(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O);return P(I,h,p,a)},async getOrderHistoryPOSV4(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O){let I=await s.getOrderHistoryPOSV4(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O);return P(I,h,p,a)},async getOrderHistoryPOSV5(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O){let I=await s.getOrderHistoryPOSV5(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O);return P(I,h,p,a)},async getOrderHistoryPOSV5Internal(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O){let I=await s.getOrderHistoryPOSV5Internal(e,n,t,r,o,i,l,d,c,A,x,b,C,D,O);return P(I,h,p,a)}}},rr=function(a,s,e){let n=w(a);return{getInternalOrderHistoryOnline(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V){return n.getInternalOrderHistoryOnline(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V).then(T=>T(e,s))},getOrderHistoryOnline(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V){return n.getOrderHistoryOnline(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V).then(T=>T(e,s))},getOrderHistoryPOSV2(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V){return n.getOrderHistoryPOSV2(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V).then(T=>T(e,s))},getOrderHistoryPOSV3(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V){return n.getOrderHistoryPOSV3(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V).then(T=>T(e,s))},getOrderHistoryPOSV4(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V){return n.getOrderHistoryPOSV4(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V).then(T=>T(e,s))},getOrderHistoryPOSV5(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V){return n.getOrderHistoryPOSV5(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V).then(T=>T(e,s))},getOrderHistoryPOSV5Internal(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V){return n.getOrderHistoryPOSV5Internal(t,r,o,i,l,d,c,A,x,b,C,D,O,I,V).then(T=>T(e,s))}}},ye=class extends S{getInternalOrderHistoryOnline(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D){return w(this.configuration).getInternalOrderHistoryOnline(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D).then(O=>O(this.axios,this.basePath))}getOrderHistoryOnline(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D){return w(this.configuration).getOrderHistoryOnline(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D).then(O=>O(this.axios,this.basePath))}getOrderHistoryPOSV2(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D){return w(this.configuration).getOrderHistoryPOSV2(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D).then(O=>O(this.axios,this.basePath))}getOrderHistoryPOSV3(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D){return w(this.configuration).getOrderHistoryPOSV3(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D).then(O=>O(this.axios,this.basePath))}getOrderHistoryPOSV4(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D){return w(this.configuration).getOrderHistoryPOSV4(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D).then(O=>O(this.axios,this.basePath))}getOrderHistoryPOSV5(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D){return w(this.configuration).getOrderHistoryPOSV5(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D).then(O=>O(this.axios,this.basePath))}getOrderHistoryPOSV5Internal(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D){return w(this.configuration).getOrderHistoryPOSV5Internal(s,e,n,t,r,o,i,l,d,c,A,x,b,C,D).then(O=>O(this.axios,this.basePath))}},Ye=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={},d={};s!==void 0&&(d.businessId=s),l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(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={},d={};e!==void 0&&(d.businessId=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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),y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(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={},d={};e!==void 0&&(d.businessId=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};s!==void 0&&(d.businessId=s),e!==void 0&&(d.search=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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},d={},c={};e!==void 0&&(c.businessId=e),d["Content-Type"]="application/json",y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},l.data=R(n,l,a),{url:g(o),options:l}}}},j=function(a){let s=Ye(a);return{async createInvoiceCompany(e,n,t){let r=await s.createInvoiceCompany(e,n,t);return P(r,h,p,a)},async deleteInvoiceCompany(e,n,t){let r=await s.deleteInvoiceCompany(e,n,t);return P(r,h,p,a)},async getInvoiceCompanies(e,n){let t=await s.getInvoiceCompanies(e,n);return P(t,h,p,a)},async getInvoiceCompanyById(e,n,t){let r=await s.getInvoiceCompanyById(e,n,t);return P(r,h,p,a)},async searchInvoiceCompanies(e,n,t){let r=await s.searchInvoiceCompanies(e,n,t);return P(r,h,p,a)},async updateInvoiceCompany(e,n,t,r){let o=await s.updateInvoiceCompany(e,n,t,r);return P(o,h,p,a)}}},nr=function(a,s,e){let n=j(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))}}},ge=class extends S{createInvoiceCompany(s,e,n){return j(this.configuration).createInvoiceCompany(s,e,n).then(t=>t(this.axios,this.basePath))}deleteInvoiceCompany(s,e,n){return j(this.configuration).deleteInvoiceCompany(s,e,n).then(t=>t(this.axios,this.basePath))}getInvoiceCompanies(s,e){return j(this.configuration).getInvoiceCompanies(s,e).then(n=>n(this.axios,this.basePath))}getInvoiceCompanyById(s,e,n){return j(this.configuration).getInvoiceCompanyById(s,e,n).then(t=>t(this.axios,this.basePath))}searchInvoiceCompanies(s,e,n){return j(this.configuration).searchInvoiceCompanies(s,e,n).then(t=>t(this.axios,this.basePath))}updateInvoiceCompany(s,e,n,t){return j(this.configuration).updateInvoiceCompany(s,e,n,t).then(r=>r(this.axios,this.basePath))}},Ze=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={};y(r,{});let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};s!==void 0&&(d.terminalId=s),e!==void 0&&(d.provider=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(r),options:i}}}},se=function(a){let s=Ze(a);return{async getOrderStatus(e,n,t){let r=await s.getOrderStatus(e,n,t);return P(r,h,p,a)},async validate(e,n,t){let r=await s.validate(e,n,t);return P(r,h,p,a)}}},or=function(a,s,e){let n=se(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))}}},Pe=class extends S{getOrderStatus(s,e,n){return se(this.configuration).getOrderStatus(s,e,n).then(t=>t(this.axios,this.basePath))}validate(s,e,n){return se(this.configuration).validate(s,e,n).then(t=>t(this.axios,this.basePath))}},Xe=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},d={},c={};await v(d,a),s!==void 0&&(c.businessId=s),e!==void 0&&(c.page=e),n!==void 0&&(c.limit=n),y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},{url:g(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 v(i,a),s!==void 0&&(l.businessId=s),y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(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={},d={};await v(l,a),s!==void 0&&(d.businessId=s),e!==void 0&&(d.userId=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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 d={method:"GET",...l,...r},c={},A={};await v(c,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),y(i,A);let x=l&&l.headers?l.headers:{};return d.headers={...c,...x,...r.headers},{url:g(i),options:d}},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={},d={};await v(l,a),s!==void 0&&(d.businessId=s),l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(r),options:i}}}},F=function(a){let s=Xe(a);return{async getAdminTransactions(e,n,t,r){let o=await s.getAdminTransactions(e,n,t,r);return P(o,h,p,a)},async getLoyaltyInfo(e,n){let t=await s.getLoyaltyInfo(e,n);return P(t,h,p,a)},async getUserById(e,n,t){let r=await s.getUserById(e,n,t);return P(r,h,p,a)},async searchUser(e,n,t,r,o){let i=await s.searchUser(e,n,t,r,o);return P(i,h,p,a)},async updatePoints(e,n,t){let r=await s.updatePoints(e,n,t);return P(r,h,p,a)}}},ar=function(a,s,e){let n=F(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(d=>d(e,s))},updatePoints(t,r,o){return n.updatePoints(t,r,o).then(i=>i(e,s))}}},he=class extends S{getAdminTransactions(s,e,n,t){return F(this.configuration).getAdminTransactions(s,e,n,t).then(r=>r(this.axios,this.basePath))}getLoyaltyInfo(s,e){return F(this.configuration).getLoyaltyInfo(s,e).then(n=>n(this.axios,this.basePath))}getUserById(s,e,n){return F(this.configuration).getUserById(s,e,n).then(t=>t(this.axios,this.basePath))}searchUser(s,e,n,t,r){return F(this.configuration).searchUser(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}updatePoints(s,e,n){return F(this.configuration).updatePoints(s,e,n).then(t=>t(this.axios,this.basePath))}},Je=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={},d={};l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(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={},d={};l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(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={};y(t,{});let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(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={},d={};e!==void 0&&(d.filter=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}}}},H=function(a){let s=Je(a);return{async editBusinessProduct(e,n,t){let r=await s.editBusinessProduct(e,n,t);return P(r,h,p,a)},async editBusinessProductV2(e,n,t){let r=await s.editBusinessProductV2(e,n,t);return P(r,h,p,a)},async getBusinessExtras(e,n){let t=await s.getBusinessExtras(e,n);return P(t,h,p,a)},async getProductsByCategoriesV2(e,n,t){let r=await s.getProductsByCategoriesV2(e,n,t);return P(r,h,p,a)},async resetProductEod(e,n){let t=await s.resetProductEod(e,n);return P(t,h,p,a)}}},ir=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))}}},Ae=class extends S{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))}},et=function(a){return{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={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}}}},Ne=function(a){let s=et(a);return{async createMerchant(e,n){let t=await s.createMerchant(e,n);return P(t,h,p,a)}}},lr=function(a,s,e){let n=Ne(a);return{createMerchant(t,r){return n.createMerchant(t,r).then(o=>o(e,s))}}},xe=class extends S{createMerchant(s,e){return Ne(this.configuration).createMerchant(s,e).then(n=>n(this.axios,this.basePath))}},tt=function(a){return{addVenueSubscriptions:async(s,e={})=>{u("addVenueSubscriptions","deviceSubscriptionDto",s);let n="/api/v1/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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},removeVenueSubscriptions:async(s,e={})=>{u("removeVenueSubscriptions","deviceSubscriptionDto",s);let n="/api/v1/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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}}}},G=function(a){let s=tt(a);return{async addVenueSubscriptions(e,n){let t=await s.addVenueSubscriptions(e,n);return P(t,h,p,a)},async addVenueSubscriptionsV2(e,n){let t=await s.addVenueSubscriptionsV2(e,n);return P(t,h,p,a)},async removeVenueSubscriptions(e,n){let t=await s.removeVenueSubscriptions(e,n);return P(t,h,p,a)},async removeVenueSubscriptionsV2(e,n){let t=await s.removeVenueSubscriptionsV2(e,n);return P(t,h,p,a)}}},dr=function(a,s,e){let n=G(a);return{addVenueSubscriptions(t,r){return n.addVenueSubscriptions(t,r).then(o=>o(e,s))},addVenueSubscriptionsV2(t,r){return n.addVenueSubscriptionsV2(t,r).then(o=>o(e,s))},removeVenueSubscriptions(t,r){return n.removeVenueSubscriptions(t,r).then(o=>o(e,s))},removeVenueSubscriptionsV2(t,r){return n.removeVenueSubscriptionsV2(t,r).then(o=>o(e,s))}}},fe=class extends S{addVenueSubscriptions(s,e){return G(this.configuration).addVenueSubscriptions(s,e).then(n=>n(this.axios,this.basePath))}addVenueSubscriptionsV2(s,e){return G(this.configuration).addVenueSubscriptionsV2(s,e).then(n=>n(this.axios,this.basePath))}removeVenueSubscriptions(s,e){return G(this.configuration).removeVenueSubscriptions(s,e).then(n=>n(this.axios,this.basePath))}removeVenueSubscriptionsV2(s,e){return G(this.configuration).removeVenueSubscriptionsV2(s,e).then(n=>n(this.axios,this.basePath))}},st=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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}}}},we=function(a){let s=st(a);return{async updateTaxRate(e,n){let t=await s.updateTaxRate(e,n);return P(t,h,p,a)}}},cr=function(a,s,e){let n=we(a);return{updateTaxRate(t,r){return n.updateTaxRate(t,r).then(o=>o(e,s))}}},Re=class extends S{updateTaxRate(s,e){return we(this.configuration).updateTaxRate(s,e).then(n=>n(this.axios,this.basePath))}},rt=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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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),y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(t),options:o}},getAllOrdersV3:async(s,e,n,t={})=>{u("getAllOrdersV3","businessIds",s);let r="/api/v3/orders",o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},d={},c={};e!==void 0&&(c.limit=e),n!==void 0&&(c.page=n),s!==void 0&&(c.businessIds=s),y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},{url:g(o),options:l}},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 d={method:"GET",...l,...r},c={},A={};n!==void 0&&(A.posBusinessId=n),t!==void 0&&(A.extraProvider=t),e!==void 0&&(A.businessIds=e),y(i,A);let x=l&&l.headers?l.headers:{};return d.headers={...c,...x,...r.headers},{url:g(i),options:d}},getOrdersV3:async(s,e,n,t,r,o,i={})=>{u("getOrdersV3","status",s),u("getOrdersV3","businessIds",e);let l="/api/v3/orders/{status}".replace("{status}",encodeURIComponent(String(s))),d=new URL(l,m),c;a&&(c=a.baseOptions);let A={method:"GET",...c,...i},x={},b={};n!==void 0&&(b.limit=n),t!==void 0&&(b.page=t),r!==void 0&&(b.posBusinessId=r),o!==void 0&&(b.extraProvider=o),e!==void 0&&(b.businessIds=e),y(d,b);let C=c&&c.headers?c.headers:{};return A.headers={...x,...C,...i.headers},{url:g(d),options:A}},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),y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},placePosOrderV2:async(s,e={})=>{u("placePosOrderV2","posOrderPayloadDto",s);let n="/api/v2/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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},placePosOrderV3:async(s,e={})=>{u("placePosOrderV3","posOrderPayloadDto",s);let n="/api/v3/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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},sendPosOrderTicketV2:async(s,e={})=>{u("sendPosOrderTicketV2","sendPosOrderTicketDto",s);let n="/api/v2/orders/pos/ticket",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}}}},U=function(a){let s=rt(a);return{async acceptOrder(e,n){let t=await s.acceptOrder(e,n);return P(t,h,p,a)},async confirmPreOrder(e,n){let t=await s.confirmPreOrder(e,n);return P(t,h,p,a)},async deletePosParkedOrderV2(e,n){let t=await s.deletePosParkedOrderV2(e,n);return P(t,h,p,a)},async deliverOrder(e,n){let t=await s.deliverOrder(e,n);return P(t,h,p,a)},async getAllOrdersV2(e,n){let t=await s.getAllOrdersV2(e,n);return P(t,h,p,a)},async getAllOrdersV3(e,n,t,r){let o=await s.getAllOrdersV3(e,n,t,r);return P(o,h,p,a)},async getOrdersV2(e,n,t,r,o){let i=await s.getOrdersV2(e,n,t,r,o);return P(i,h,p,a)},async getOrdersV3(e,n,t,r,o,i,l){let d=await s.getOrdersV3(e,n,t,r,o,i,l);return P(d,h,p,a)},async getParkedPosOrderV2(e,n){let t=await s.getParkedPosOrderV2(e,n);return P(t,h,p,a)},async markOrderAsReady(e,n){let t=await s.markOrderAsReady(e,n);return P(t,h,p,a)},async placePosOrderV2(e,n){let t=await s.placePosOrderV2(e,n);return P(t,h,p,a)},async placePosOrderV3(e,n){let t=await s.placePosOrderV3(e,n);return P(t,h,p,a)},async placePosOrderV4(e,n){let t=await s.placePosOrderV4(e,n);return P(t,h,p,a)},async processPosOrderActions(e,n){let t=await s.processPosOrderActions(e,n);return P(t,h,p,a)},async rejectOrder(e,n){let t=await s.rejectOrder(e,n);return P(t,h,p,a)},async sendPosOrderTicketV2(e,n){let t=await s.sendPosOrderTicketV2(e,n);return P(t,h,p,a)},async updatePosOrderV2(e,n){let t=await s.updatePosOrderV2(e,n);return P(t,h,p,a)}}},ur=function(a,s,e){let n=U(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))},getAllOrdersV3(t,r,o,i){return n.getAllOrdersV3(t,r,o,i).then(l=>l(e,s))},getOrdersV2(t,r,o,i,l){return n.getOrdersV2(t,r,o,i,l).then(d=>d(e,s))},getOrdersV3(t,r,o,i,l,d,c){return n.getOrdersV3(t,r,o,i,l,d,c).then(A=>A(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))},placePosOrderV2(t,r){return n.placePosOrderV2(t,r).then(o=>o(e,s))},placePosOrderV3(t,r){return n.placePosOrderV3(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))},sendPosOrderTicketV2(t,r){return n.sendPosOrderTicketV2(t,r).then(o=>o(e,s))},updatePosOrderV2(t,r){return n.updatePosOrderV2(t,r).then(o=>o(e,s))}}},be=class extends S{acceptOrder(s,e){return U(this.configuration).acceptOrder(s,e).then(n=>n(this.axios,this.basePath))}confirmPreOrder(s,e){return U(this.configuration).confirmPreOrder(s,e).then(n=>n(this.axios,this.basePath))}deletePosParkedOrderV2(s,e){return U(this.configuration).deletePosParkedOrderV2(s,e).then(n=>n(this.axios,this.basePath))}deliverOrder(s,e){return U(this.configuration).deliverOrder(s,e).then(n=>n(this.axios,this.basePath))}getAllOrdersV2(s,e){return U(this.configuration).getAllOrdersV2(s,e).then(n=>n(this.axios,this.basePath))}getAllOrdersV3(s,e,n,t){return U(this.configuration).getAllOrdersV3(s,e,n,t).then(r=>r(this.axios,this.basePath))}getOrdersV2(s,e,n,t,r){return U(this.configuration).getOrdersV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}getOrdersV3(s,e,n,t,r,o,i){return U(this.configuration).getOrdersV3(s,e,n,t,r,o,i).then(l=>l(this.axios,this.basePath))}getParkedPosOrderV2(s,e){return U(this.configuration).getParkedPosOrderV2(s,e).then(n=>n(this.axios,this.basePath))}markOrderAsReady(s,e){return U(this.configuration).markOrderAsReady(s,e).then(n=>n(this.axios,this.basePath))}placePosOrderV2(s,e){return U(this.configuration).placePosOrderV2(s,e).then(n=>n(this.axios,this.basePath))}placePosOrderV3(s,e){return U(this.configuration).placePosOrderV3(s,e).then(n=>n(this.axios,this.basePath))}placePosOrderV4(s,e){return U(this.configuration).placePosOrderV4(s,e).then(n=>n(this.axios,this.basePath))}processPosOrderActions(s,e){return U(this.configuration).processPosOrderActions(s,e).then(n=>n(this.axios,this.basePath))}rejectOrder(s,e){return U(this.configuration).rejectOrder(s,e).then(n=>n(this.axios,this.basePath))}sendPosOrderTicketV2(s,e){return U(this.configuration).sendPosOrderTicketV2(s,e).then(n=>n(this.axios,this.basePath))}updatePosOrderV2(s,e){return U(this.configuration).updatePosOrderV2(s,e).then(n=>n(this.axios,this.basePath))}},nt=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={};y(t,{});let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(t),options:o}}}},je=function(a){let s=nt(a);return{async getPosSession(e,n){let t=await s.getPosSession(e,n);return P(t,h,p,a)}}},pr=function(a,s,e){let n=je(a);return{getPosSession(t,r){return n.getPosSession(t,r).then(o=>o(e,s))}}},Ce=class extends S{getPosSession(s,e){return je(this.configuration).getPosSession(s,e).then(n=>n(this.axios,this.basePath))}},ot=function(a){return{createPasscode:async(s,e={})=>{u("createPasscode","createPasscodeDto",s);let n="/api/v1/passcode/create",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},deletePasscode:async(s,e={})=>{u("deletePasscode","passcodeId",s);let n="/api/v1/passcode/{passcodeId}".replace("{passcodeId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"DELETE",...r,...e},i={};y(t,{});let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(t),options:o}},getPasscodeOptions:async(s,e={})=>{u("getPasscodeOptions","businessId",s);let n="/api/v1/passcode/options/{businessId}".replace("{businessId}",encodeURIComponent(String(s))),t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"GET",...r,...e},i={};y(t,{});let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(t),options:o}},validatePasscode:async(s,e={})=>{u("validatePasscode","validatePasscodeDto",s);let n="/api/v1/passcode/validate",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}}}},W=function(a){let s=ot(a);return{async createPasscode(e,n){let t=await s.createPasscode(e,n);return P(t,h,p,a)},async deletePasscode(e,n){let t=await s.deletePasscode(e,n);return P(t,h,p,a)},async getPasscodeOptions(e,n){let t=await s.getPasscodeOptions(e,n);return P(t,h,p,a)},async validatePasscode(e,n){let t=await s.validatePasscode(e,n);return P(t,h,p,a)}}},mr=function(a,s,e){let n=W(a);return{createPasscode(t,r){return n.createPasscode(t,r).then(o=>o(e,s))},deletePasscode(t,r){return n.deletePasscode(t,r).then(o=>o(e,s))},getPasscodeOptions(t,r){return n.getPasscodeOptions(t,r).then(o=>o(e,s))},validatePasscode(t,r){return n.validatePasscode(t,r).then(o=>o(e,s))}}},De=class extends S{createPasscode(s,e){return W(this.configuration).createPasscode(s,e).then(n=>n(this.axios,this.basePath))}deletePasscode(s,e){return W(this.configuration).deletePasscode(s,e).then(n=>n(this.axios,this.basePath))}getPasscodeOptions(s,e){return W(this.configuration).getPasscodeOptions(s,e).then(n=>n(this.axios,this.basePath))}validatePasscode(s,e){return W(this.configuration).validatePasscode(s,e).then(n=>n(this.axios,this.basePath))}},at=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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},cancelNetsTransaction:async(s,e={})=>{u("cancelNetsTransaction","netsCancelPayloadDto",s);let n="/api/v2/payment/nets/cancelTransaction",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},cleanupNetsTransaction:async(s,e={})=>{u("cleanupNetsTransaction","netsRemoveFailedTransactionPayloadDto",s);let n="/api/v2/payment/nets/cleanupTransaction",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},connectNetsTerminal:async(s,e={})=>{u("connectNetsTerminal","connectTerminalPayloadDto",s);let n="/api/v2/payment/nets/connectTerminal",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},createNetsPayment:async(s,e={})=>{u("createNetsPayment","createNetsTransactionDto",s);let n="/api/v2/payment/nets/createPayment",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},createVivaPaymentV2:async(s,e={})=>{u("createVivaPaymentV2","vivaCreatePaymentDto",s);let n="/api/v2/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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},disconnectNetsTerminal:async(s,e={})=>{u("disconnectNetsTerminal","connectTerminalPayloadDto",s);let n="/api/v2/payment/nets/disconnectTerminal",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},discoverNetsDevices:async(s,e={})=>{u("discoverNetsDevices","shareOrderingBusinessIdPayload",s);let n="/api/v2/payment/nets/discoverDevices",t=new URL(n,m),r;a&&(r=a.baseOptions);let o={method:"POST",...r,...e},i={},l={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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),y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},refundCashPayment:async(s,e={})=>{u("refundCashPayment","cashRefundPayload",s);let n="/api/v2/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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},refundManualPayment:async(s,e={})=>{u("refundManualPayment","manualRefundPayload",s);let n="/api/v2/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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},refundNetsTransaction:async(s,e={})=>{u("refundNetsTransaction","refundPayloadDto",s);let n="/api/v2/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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},refundVivaTransactionV2:async(s,e={})=>{u("refundVivaTransactionV2","refundPayloadDto",s);let n="/api/v2/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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}}}},E=function(a){let s=at(a);return{async cancelNetsTerminalTransaction(e,n){let t=await s.cancelNetsTerminalTransaction(e,n);return P(t,h,p,a)},async cancelNetsTransaction(e,n){let t=await s.cancelNetsTransaction(e,n);return P(t,h,p,a)},async cancelStripePayment(e,n){let t=await s.cancelStripePayment(e,n);return P(t,h,p,a)},async cancelTransaction(e,n){let t=await s.cancelTransaction(e,n);return P(t,h,p,a)},async cancelVivaTransactionV2(e,n){let t=await s.cancelVivaTransactionV2(e,n);return P(t,h,p,a)},async captureStripePayment(e,n){let t=await s.captureStripePayment(e,n);return P(t,h,p,a)},async cleanupNetsTransaction(e,n){let t=await s.cleanupNetsTransaction(e,n);return P(t,h,p,a)},async connectNetsTerminal(e,n){let t=await s.connectNetsTerminal(e,n);return P(t,h,p,a)},async createNetsPayment(e,n){let t=await s.createNetsPayment(e,n);return P(t,h,p,a)},async createNetsRefundTransaction(e,n){let t=await s.createNetsRefundTransaction(e,n);return P(t,h,p,a)},async createVivaPayment(e,n){let t=await s.createVivaPayment(e,n);return P(t,h,p,a)},async createVivaPaymentV2(e,n){let t=await s.createVivaPaymentV2(e,n);return P(t,h,p,a)},async createVivaPaymentV3(e,n){let t=await s.createVivaPaymentV3(e,n);return P(t,h,p,a)},async disconnectNetsTerminal(e,n){let t=await s.disconnectNetsTerminal(e,n);return P(t,h,p,a)},async discoverDevices(e,n){let t=await s.discoverDevices(e,n);return P(t,h,p,a)},async discoverNetsDevices(e,n){let t=await s.discoverNetsDevices(e,n);return P(t,h,p,a)},async getConnectionToken(e,n){let t=await s.getConnectionToken(e,n);return P(t,h,p,a)},async getPaymentStatus(e,n){let t=await s.getPaymentStatus(e,n);return P(t,h,p,a)},async getToken(e,n){let t=await s.getToken(e,n);return P(t,h,p,a)},async initiateNetsTerminalTransaction(e,n){let t=await s.initiateNetsTerminalTransaction(e,n);return P(t,h,p,a)},async initiateTerminalTransaction(e,n){let t=await s.initiateTerminalTransaction(e,n);return P(t,h,p,a)},async processOnlineOrderRefund(e,n){let t=await s.processOnlineOrderRefund(e,n);return P(t,h,p,a)},async refundCashPayment(e,n){let t=await s.refundCashPayment(e,n);return P(t,h,p,a)},async refundCashPaymentV3(e,n){let t=await s.refundCashPaymentV3(e,n);return P(t,h,p,a)},async refundManualPayment(e,n){let t=await s.refundManualPayment(e,n);return P(t,h,p,a)},async refundManualPaymentV3(e,n){let t=await s.refundManualPaymentV3(e,n);return P(t,h,p,a)},async refundNetsTransaction(e,n){let t=await s.refundNetsTransaction(e,n);return P(t,h,p,a)},async refundNetsTransactionV3(e,n){let t=await s.refundNetsTransactionV3(e,n);return P(t,h,p,a)},async refundSingleVivaTransaction(e,n){let t=await s.refundSingleVivaTransaction(e,n);return P(t,h,p,a)},async refundVivaTransactionV2(e,n){let t=await s.refundVivaTransactionV2(e,n);return P(t,h,p,a)},async refundVivaTransactionV3(e,n){let t=await s.refundVivaTransactionV3(e,n);return P(t,h,p,a)},async refundVivaTransactionV4(e,n){let t=await s.refundVivaTransactionV4(e,n);return P(t,h,p,a)}}},yr=function(a,s,e){let n=E(a);return{cancelNetsTerminalTransaction(t,r){return n.cancelNetsTerminalTransaction(t,r).then(o=>o(e,s))},cancelNetsTransaction(t,r){return n.cancelNetsTransaction(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))},cleanupNetsTransaction(t,r){return n.cleanupNetsTransaction(t,r).then(o=>o(e,s))},connectNetsTerminal(t,r){return n.connectNetsTerminal(t,r).then(o=>o(e,s))},createNetsPayment(t,r){return n.createNetsPayment(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))},createVivaPaymentV2(t,r){return n.createVivaPaymentV2(t,r).then(o=>o(e,s))},createVivaPaymentV3(t,r){return n.createVivaPaymentV3(t,r).then(o=>o(e,s))},disconnectNetsTerminal(t,r){return n.disconnectNetsTerminal(t,r).then(o=>o(e,s))},discoverDevices(t,r){return n.discoverDevices(t,r).then(o=>o(e,s))},discoverNetsDevices(t,r){return n.discoverNetsDevices(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))},refundCashPayment(t,r){return n.refundCashPayment(t,r).then(o=>o(e,s))},refundCashPaymentV3(t,r){return n.refundCashPaymentV3(t,r).then(o=>o(e,s))},refundManualPayment(t,r){return n.refundManualPayment(t,r).then(o=>o(e,s))},refundManualPaymentV3(t,r){return n.refundManualPaymentV3(t,r).then(o=>o(e,s))},refundNetsTransaction(t,r){return n.refundNetsTransaction(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))},refundVivaTransactionV2(t,r){return n.refundVivaTransactionV2(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))}}},Oe=class extends S{cancelNetsTerminalTransaction(s,e){return E(this.configuration).cancelNetsTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}cancelNetsTransaction(s,e){return E(this.configuration).cancelNetsTransaction(s,e).then(n=>n(this.axios,this.basePath))}cancelStripePayment(s,e){return E(this.configuration).cancelStripePayment(s,e).then(n=>n(this.axios,this.basePath))}cancelTransaction(s,e){return E(this.configuration).cancelTransaction(s,e).then(n=>n(this.axios,this.basePath))}cancelVivaTransactionV2(s,e){return E(this.configuration).cancelVivaTransactionV2(s,e).then(n=>n(this.axios,this.basePath))}captureStripePayment(s,e){return E(this.configuration).captureStripePayment(s,e).then(n=>n(this.axios,this.basePath))}cleanupNetsTransaction(s,e){return E(this.configuration).cleanupNetsTransaction(s,e).then(n=>n(this.axios,this.basePath))}connectNetsTerminal(s,e){return E(this.configuration).connectNetsTerminal(s,e).then(n=>n(this.axios,this.basePath))}createNetsPayment(s,e){return E(this.configuration).createNetsPayment(s,e).then(n=>n(this.axios,this.basePath))}createNetsRefundTransaction(s,e){return E(this.configuration).createNetsRefundTransaction(s,e).then(n=>n(this.axios,this.basePath))}createVivaPayment(s,e){return E(this.configuration).createVivaPayment(s,e).then(n=>n(this.axios,this.basePath))}createVivaPaymentV2(s,e){return E(this.configuration).createVivaPaymentV2(s,e).then(n=>n(this.axios,this.basePath))}createVivaPaymentV3(s,e){return E(this.configuration).createVivaPaymentV3(s,e).then(n=>n(this.axios,this.basePath))}disconnectNetsTerminal(s,e){return E(this.configuration).disconnectNetsTerminal(s,e).then(n=>n(this.axios,this.basePath))}discoverDevices(s,e){return E(this.configuration).discoverDevices(s,e).then(n=>n(this.axios,this.basePath))}discoverNetsDevices(s,e){return E(this.configuration).discoverNetsDevices(s,e).then(n=>n(this.axios,this.basePath))}getConnectionToken(s,e){return E(this.configuration).getConnectionToken(s,e).then(n=>n(this.axios,this.basePath))}getPaymentStatus(s,e){return E(this.configuration).getPaymentStatus(s,e).then(n=>n(this.axios,this.basePath))}getToken(s,e){return E(this.configuration).getToken(s,e).then(n=>n(this.axios,this.basePath))}initiateNetsTerminalTransaction(s,e){return E(this.configuration).initiateNetsTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}initiateTerminalTransaction(s,e){return E(this.configuration).initiateTerminalTransaction(s,e).then(n=>n(this.axios,this.basePath))}processOnlineOrderRefund(s,e){return E(this.configuration).processOnlineOrderRefund(s,e).then(n=>n(this.axios,this.basePath))}refundCashPayment(s,e){return E(this.configuration).refundCashPayment(s,e).then(n=>n(this.axios,this.basePath))}refundCashPaymentV3(s,e){return E(this.configuration).refundCashPaymentV3(s,e).then(n=>n(this.axios,this.basePath))}refundManualPayment(s,e){return E(this.configuration).refundManualPayment(s,e).then(n=>n(this.axios,this.basePath))}refundManualPaymentV3(s,e){return E(this.configuration).refundManualPaymentV3(s,e).then(n=>n(this.axios,this.basePath))}refundNetsTransaction(s,e){return E(this.configuration).refundNetsTransaction(s,e).then(n=>n(this.axios,this.basePath))}refundNetsTransactionV3(s,e){return E(this.configuration).refundNetsTransactionV3(s,e).then(n=>n(this.axios,this.basePath))}refundSingleVivaTransaction(s,e){return E(this.configuration).refundSingleVivaTransaction(s,e).then(n=>n(this.axios,this.basePath))}refundVivaTransactionV2(s,e){return E(this.configuration).refundVivaTransactionV2(s,e).then(n=>n(this.axios,this.basePath))}refundVivaTransactionV3(s,e){return E(this.configuration).refundVivaTransactionV3(s,e).then(n=>n(this.axios,this.basePath))}refundVivaTransactionV4(s,e){return E(this.configuration).refundVivaTransactionV4(s,e).then(n=>n(this.axios,this.basePath))}},it=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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}}}},re=function(a){let s=it(a);return{async loadConfigFile(e){let n=await s.loadConfigFile(e);return P(n,h,p,a)},async upsertBusiness(e){let n=await s.upsertBusiness(e);return P(n,h,p,a)}}},gr=function(a,s,e){let n=re(a);return{loadConfigFile(t){return n.loadConfigFile(t).then(r=>r(e,s))},upsertBusiness(t){return n.upsertBusiness(t).then(r=>r(e,s))}}},Ve=class extends S{loadConfigFile(s){return re(this.configuration).loadConfigFile(s).then(e=>e(this.axios,this.basePath))}upsertBusiness(s){return re(this.configuration).upsertBusiness(s).then(e=>e(this.axios,this.basePath))}},lt=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 d={method:"PUT",...l,...r},c={},A={};c["Content-Type"]="application/json",y(i,A);let x=l&&l.headers?l.headers:{};return d.headers={...c,...x,...r.headers},d.data=R(t,d,a),{url:g(i),options:d}},updatePosInventory:async(s,e,n,t,r={})=>{u("updatePosInventory","businessId",s),u("updatePosInventory","categoryId",e),u("updatePosInventory","productId",n),u("updatePosInventory","updatePosInventoryDto",t);let o="/api/v1/business/{businessId}/categories/{categoryId}/products/{productId}/pos-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 d={method:"PUT",...l,...r},c={},A={};c["Content-Type"]="application/json",y(i,A);let x=l&&l.headers?l.headers:{};return d.headers={...c,...x,...r.headers},d.data=R(t,d,a),{url:g(i),options:d}}}},ne=function(a){let s=lt(a);return{async updateChannelInventoryV2(e,n,t,r,o){let i=await s.updateChannelInventoryV2(e,n,t,r,o);return P(i,h,p,a)},async updatePosInventory(e,n,t,r,o){let i=await s.updatePosInventory(e,n,t,r,o);return P(i,h,p,a)}}},Pr=function(a,s,e){let n=ne(a);return{updateChannelInventoryV2(t,r,o,i,l){return n.updateChannelInventoryV2(t,r,o,i,l).then(d=>d(e,s))},updatePosInventory(t,r,o,i,l){return n.updatePosInventory(t,r,o,i,l).then(d=>d(e,s))}}},Ie=class extends S{updateChannelInventoryV2(s,e,n,t,r){return ne(this.configuration).updateChannelInventoryV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}updatePosInventory(s,e,n,t,r){return ne(this.configuration).updatePosInventory(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}},dt=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={};y(t,{});let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}}}},X=function(a){let s=dt(a);return{async getSupportedChannels(e,n){let t=await s.getSupportedChannels(e,n);return P(t,h,p,a)},async registerCredential(e,n){let t=await s.registerCredential(e,n);return P(t,h,p,a)},async registerProvider(e,n){let t=await s.registerProvider(e,n);return P(t,h,p,a)}}},hr=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))}}},ve=class extends S{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))}},ct=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},d={};y(o,{});let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},{url:g(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},d={},c={};d["Content-Type"]="application/json",y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},l.data=R(n,l,a),{url:g(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},d={},c={};n!==void 0&&(c.status=n),y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},{url:g(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 d={method:"POST",...l,...r},c={},A={};c["Content-Type"]="application/json",y(i,A);let x=l&&l.headers?l.headers:{};return d.headers={...c,...x,...r.headers},d.data=R(t,d,a),{url:g(i),options:d}},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 d={method:"POST",...l,...r},c={},A={};c["Content-Type"]="application/json",y(i,A);let x=l&&l.headers?l.headers:{};return d.headers={...c,...x,...r.headers},d.data=R(t,d,a),{url:g(i),options:d}},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},d={};y(o,{});let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},{url:g(o),options:l}}}},L=function(a){let s=ct(a);return{async cancelPlan(e,n,t,r){let o=await s.cancelPlan(e,n,t,r);return P(o,h,p,a)},async createRefundPlan(e,n,t,r){let o=await s.createRefundPlan(e,n,t,r);return P(o,h,p,a)},async getRefundPlan(e,n,t,r){let o=await s.getRefundPlan(e,n,t,r);return P(o,h,p,a)},async recordRefundPlan(e,n,t,r,o){let i=await s.recordRefundPlan(e,n,t,r,o);return P(i,h,p,a)},async resolveRefundChoice(e,n,t,r,o){let i=await s.resolveRefundChoice(e,n,t,r,o);return P(i,h,p,a)},async startProcessPlan(e,n,t,r){let o=await s.startProcessPlan(e,n,t,r);return P(o,h,p,a)}}},Ar=function(a,s,e){let n=L(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(d=>d(e,s))},resolveRefundChoice(t,r,o,i,l){return n.resolveRefundChoice(t,r,o,i,l).then(d=>d(e,s))},startProcessPlan(t,r,o,i){return n.startProcessPlan(t,r,o,i).then(l=>l(e,s))}}},Te=class extends S{cancelPlan(s,e,n,t){return L(this.configuration).cancelPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}createRefundPlan(s,e,n,t){return L(this.configuration).createRefundPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}getRefundPlan(s,e,n,t){return L(this.configuration).getRefundPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}recordRefundPlan(s,e,n,t,r){return L(this.configuration).recordRefundPlan(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}resolveRefundChoice(s,e,n,t,r){return L(this.configuration).resolveRefundChoice(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}startProcessPlan(s,e,n,t){return L(this.configuration).startProcessPlan(s,e,n,t).then(r=>r(this.axios,this.basePath))}},ut=function(a){return{getPOSEndOfDayReport:async(s,e,n,t,r={})=>{u("getPOSEndOfDayReport","businessIds",s);let o="/api/v1/report/pos/end-of-day",i=new URL(o,m),l;a&&(l=a.baseOptions);let d={method:"GET",...l,...r},c={},A={};e!==void 0&&(A.timeSpan=e),n!==void 0&&(A.start=n),t!==void 0&&(A.end=t),s&&(A.businessIds=s),y(i,A);let x=l&&l.headers?l.headers:{};return d.headers={...c,...x,...r.headers},{url:g(i),options:d}},getPOSEndOfDayReportV2:async(s,e,n,t,r={})=>{u("getPOSEndOfDayReportV2","businessIds",s);let o="/api/v2/report/pos/end-of-day",i=new URL(o,m),l;a&&(l=a.baseOptions);let d={method:"GET",...l,...r},c={},A={};e!==void 0&&(A.timeSpan=e),n!==void 0&&(A.start=n),t!==void 0&&(A.end=t),s&&(A.businessIds=s),y(i,A);let x=l&&l.headers?l.headers:{};return d.headers={...c,...x,...r.headers},{url:g(i),options:d}},getPOSEndOfDayReportV3:async(s,e,n,t,r,o={})=>{u("getPOSEndOfDayReportV3","businessIds",s);let i="/api/v3/report/pos/end-of-day",l=new URL(i,m),d;a&&(d=a.baseOptions);let c={method:"GET",...d,...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),y(l,x);let b=d&&d.headers?d.headers:{};return c.headers={...A,...b,...o.headers},{url:g(l),options:c}},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),d;a&&(d=a.baseOptions);let c={method:"GET",...d,...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),y(l,x);let b=d&&d.headers?d.headers:{};return c.headers={...A,...b,...o.headers},{url:g(l),options:c}},sendReportEmail:async(s,e,n,t,r,o={})=>{u("sendReportEmail","businessIds",s),u("sendReportEmail","sendReportEmailDto",e);let i="/api/v1/report/email",l=new URL(i,m),d;a&&(d=a.baseOptions);let c={method:"POST",...d,...o},A={},x={};n!==void 0&&(x.timeSpan=n),t!==void 0&&(x.start=t),r!==void 0&&(x.end=r),s&&(x.businessIds=s),A["Content-Type"]="application/json",y(l,x);let b=d&&d.headers?d.headers:{};return c.headers={...A,...b,...o.headers},c.data=R(e,c,a),{url:g(l),options:c}},sendReportEmailV2:async(s,e,n,t,r,o={})=>{u("sendReportEmailV2","businessIds",s),u("sendReportEmailV2","sendReportEmailDto",e);let i="/api/v2/report/email",l=new URL(i,m),d;a&&(d=a.baseOptions);let c={method:"POST",...d,...o},A={},x={};n!==void 0&&(x.timeSpan=n),t!==void 0&&(x.start=t),r!==void 0&&(x.end=r),s&&(x.businessIds=s),A["Content-Type"]="application/json",y(l,x);let b=d&&d.headers?d.headers:{};return c.headers={...A,...b,...o.headers},c.data=R(e,c,a),{url:g(l),options:c}},sendReportEmailV3:async(s,e,n,t,r,o,i={})=>{u("sendReportEmailV3","businessIds",s),u("sendReportEmailV3","timezone",e),u("sendReportEmailV3","sendReportEmailDto",n);let l="/api/v3/report/email",d=new URL(l,m),c;a&&(c=a.baseOptions);let A={method:"POST",...c,...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",y(d,b);let C=c&&c.headers?c.headers:{};return A.headers={...x,...C,...i.headers},A.data=R(n,A,a),{url:g(d),options:A}},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",d=new URL(l,m),c;a&&(c=a.baseOptions);let A={method:"POST",...c,...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",y(d,b);let C=c&&c.headers?c.headers:{};return A.headers={...x,...C,...i.headers},A.data=R(n,A,a),{url:g(d),options:A}}}},M=function(a){let s=ut(a);return{async getPOSEndOfDayReport(e,n,t,r,o){let i=await s.getPOSEndOfDayReport(e,n,t,r,o);return P(i,h,p,a)},async getPOSEndOfDayReportV2(e,n,t,r,o){let i=await s.getPOSEndOfDayReportV2(e,n,t,r,o);return P(i,h,p,a)},async getPOSEndOfDayReportV3(e,n,t,r,o,i){let l=await s.getPOSEndOfDayReportV3(e,n,t,r,o,i);return P(l,h,p,a)},async getPOSEndOfDayReportV4(e,n,t,r,o,i){let l=await s.getPOSEndOfDayReportV4(e,n,t,r,o,i);return P(l,h,p,a)},async sendReportEmail(e,n,t,r,o,i){let l=await s.sendReportEmail(e,n,t,r,o,i);return P(l,h,p,a)},async sendReportEmailV2(e,n,t,r,o,i){let l=await s.sendReportEmailV2(e,n,t,r,o,i);return P(l,h,p,a)},async sendReportEmailV3(e,n,t,r,o,i,l){let d=await s.sendReportEmailV3(e,n,t,r,o,i,l);return P(d,h,p,a)},async sendReportEmailV4(e,n,t,r,o,i,l){let d=await s.sendReportEmailV4(e,n,t,r,o,i,l);return P(d,h,p,a)}}},xr=function(a,s,e){let n=M(a);return{getPOSEndOfDayReport(t,r,o,i,l){return n.getPOSEndOfDayReport(t,r,o,i,l).then(d=>d(e,s))},getPOSEndOfDayReportV2(t,r,o,i,l){return n.getPOSEndOfDayReportV2(t,r,o,i,l).then(d=>d(e,s))},getPOSEndOfDayReportV3(t,r,o,i,l,d){return n.getPOSEndOfDayReportV3(t,r,o,i,l,d).then(c=>c(e,s))},getPOSEndOfDayReportV4(t,r,o,i,l,d){return n.getPOSEndOfDayReportV4(t,r,o,i,l,d).then(c=>c(e,s))},sendReportEmail(t,r,o,i,l,d){return n.sendReportEmail(t,r,o,i,l,d).then(c=>c(e,s))},sendReportEmailV2(t,r,o,i,l,d){return n.sendReportEmailV2(t,r,o,i,l,d).then(c=>c(e,s))},sendReportEmailV3(t,r,o,i,l,d,c){return n.sendReportEmailV3(t,r,o,i,l,d,c).then(A=>A(e,s))},sendReportEmailV4(t,r,o,i,l,d,c){return n.sendReportEmailV4(t,r,o,i,l,d,c).then(A=>A(e,s))}}},Se=class extends S{getPOSEndOfDayReport(s,e,n,t,r){return M(this.configuration).getPOSEndOfDayReport(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}getPOSEndOfDayReportV2(s,e,n,t,r){return M(this.configuration).getPOSEndOfDayReportV2(s,e,n,t,r).then(o=>o(this.axios,this.basePath))}getPOSEndOfDayReportV3(s,e,n,t,r,o){return M(this.configuration).getPOSEndOfDayReportV3(s,e,n,t,r,o).then(i=>i(this.axios,this.basePath))}getPOSEndOfDayReportV4(s,e,n,t,r,o){return M(this.configuration).getPOSEndOfDayReportV4(s,e,n,t,r,o).then(i=>i(this.axios,this.basePath))}sendReportEmail(s,e,n,t,r,o){return M(this.configuration).sendReportEmail(s,e,n,t,r,o).then(i=>i(this.axios,this.basePath))}sendReportEmailV2(s,e,n,t,r,o){return M(this.configuration).sendReportEmailV2(s,e,n,t,r,o).then(i=>i(this.axios,this.basePath))}sendReportEmailV3(s,e,n,t,r,o,i){return M(this.configuration).sendReportEmailV3(s,e,n,t,r,o,i).then(l=>l(this.axios,this.basePath))}sendReportEmailV4(s,e,n,t,r,o,i){return M(this.configuration).sendReportEmailV4(s,e,n,t,r,o,i).then(l=>l(this.axios,this.basePath))}},pt=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={};i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},createRole:async(s,e,n={})=>{u("createRole","businessId",s),u("createRole","createRoleDto",e);let t="/api/v1/businesses/{businessId}/roles".replace("{businessId}",encodeURIComponent(String(s))),r=new URL(t,m),o;a&&(o=a.baseOptions);let i={method:"POST",...o,...n},l={},d={};l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(r),options:i}}}},oe=function(a){let s=pt(a);return{async createActionPasscode(e,n){let t=await s.createActionPasscode(e,n);return P(t,h,p,a)},async createRole(e,n,t){let r=await s.createRole(e,n,t);return P(r,h,p,a)}}},fr=function(a,s,e){let n=oe(a);return{createActionPasscode(t,r){return n.createActionPasscode(t,r).then(o=>o(e,s))},createRole(t,r,o){return n.createRole(t,r,o).then(i=>i(e,s))}}},Ee=class extends S{createActionPasscode(s,e){return oe(this.configuration).createActionPasscode(s,e).then(n=>n(this.axios,this.basePath))}createRole(s,e,n){return oe(this.configuration).createRole(s,e,n).then(t=>t(this.axios,this.basePath))}},mt=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={},d={};l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(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={},d={};l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(r),options:i}},getShifts:async(s,e,n,t={})=>{u("getShifts","businessId",s);let r="/api/v1/businesses/{businessId}/shifts".replace("{businessId}",encodeURIComponent(String(s))),o=new URL(r,m),i;a&&(i=a.baseOptions);let l={method:"GET",...i,...t},d={},c={};e!==void 0&&(c.page=e),n!==void 0&&(c.limit=n),y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},{url:g(o),options:l}},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={},d={};e!==void 0&&(d.employeeId=e),y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},{url:g(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={},d={};l["Content-Type"]="application/json",y(r,d);let c=o&&o.headers?o.headers:{};return i.headers={...l,...c,...n.headers},i.data=R(e,i,a),{url:g(r),options:i}}}},Q=function(a){let s=mt(a);return{async clockIn(e,n,t){let r=await s.clockIn(e,n,t);return P(r,h,p,a)},async clockOut(e,n,t){let r=await s.clockOut(e,n,t);return P(r,h,p,a)},async getShifts(e,n,t,r){let o=await s.getShifts(e,n,t,r);return P(o,h,p,a)},async getTodayShift(e,n,t){let r=await s.getTodayShift(e,n,t);return P(r,h,p,a)},async unlock(e,n,t){let r=await s.unlock(e,n,t);return P(r,h,p,a)}}},Rr=function(a,s,e){let n=Q(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))},getShifts(t,r,o,i){return n.getShifts(t,r,o,i).then(l=>l(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))}}},qe=class extends S{clockIn(s,e,n){return Q(this.configuration).clockIn(s,e,n).then(t=>t(this.axios,this.basePath))}clockOut(s,e,n){return Q(this.configuration).clockOut(s,e,n).then(t=>t(this.axios,this.basePath))}getShifts(s,e,n,t){return Q(this.configuration).getShifts(s,e,n,t).then(r=>r(this.axios,this.basePath))}getTodayShift(s,e,n){return Q(this.configuration).getTodayShift(s,e,n).then(t=>t(this.axios,this.basePath))}unlock(s,e,n){return Q(this.configuration).unlock(s,e,n).then(t=>t(this.axios,this.basePath))}},yt=function(a){return{deactivateStation:async(s={})=>{let e="/api/v1/station/deactivate",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},getStation:async(s={})=>{let e="/api/v1/station",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},syncStation:async(s,e={})=>{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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}}}},K=function(a){let s=yt(a);return{async deactivateStation(e){let n=await s.deactivateStation(e);return P(n,h,p,a)},async getStation(e){let n=await s.getStation(e);return P(n,h,p,a)},async syncStation(e,n){let t=await s.syncStation(e,n);return P(t,h,p,a)},async syncTerminal(e,n){let t=await s.syncTerminal(e,n);return P(t,h,p,a)}}},br=function(a,s,e){let n=K(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))}}},Be=class extends S{deactivateStation(s){return K(this.configuration).deactivateStation(s).then(e=>e(this.axios,this.basePath))}getStation(s){return K(this.configuration).getStation(s).then(e=>e(this.axios,this.basePath))}syncStation(s,e){return K(this.configuration).syncStation(s,e).then(n=>n(this.axios,this.basePath))}syncTerminal(s,e){return K(this.configuration).syncTerminal(s,e).then(n=>n(this.axios,this.basePath))}},gt=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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(t),options:o}},disconnectTerminal:async(s={})=>{let e="/api/v1/terminal/disconnect",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"POST",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},discoverTerminal:async(s,e={})=>{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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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},d={},c={};e!==void 0&&(c.provider=e),n!==void 0&&(c.terminalId=n),y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},{url:g(o),options:l}}}},$=function(a){let s=gt(a);return{async connectTerminal(e,n){let t=await s.connectTerminal(e,n);return P(t,h,p,a)},async disconnectTerminal(e){let n=await s.disconnectTerminal(e);return P(n,h,p,a)},async discoverTerminal(e,n){let t=await s.discoverTerminal(e,n);return P(t,h,p,a)},async getTerminalStatus(e,n,t,r){let o=await s.getTerminalStatus(e,n,t,r);return P(o,h,p,a)}}},Cr=function(a,s,e){let n=$(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))}}},Ue=class extends S{connectTerminal(s,e){return $(this.configuration).connectTerminal(s,e).then(n=>n(this.axios,this.basePath))}disconnectTerminal(s){return $(this.configuration).disconnectTerminal(s).then(e=>e(this.axios,this.basePath))}discoverTerminal(s,e){return $(this.configuration).discoverTerminal(s,e).then(n=>n(this.axios,this.basePath))}getTerminalStatus(s,e,n,t){return $(this.configuration).getTerminalStatus(s,e,n,t).then(r=>r(this.axios,this.basePath))}},Pt=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 v(o,a),y(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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 v(o,a),y(n,i);let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}}}},ae=function(a){let s=Pt(a);return{async getUserBusiness(e){let n=await s.getUserBusiness(e);return P(n,h,p,a)},async getUserInfo(e){let n=await s.getUserInfo(e);return P(n,h,p,a)}}},Dr=function(a,s,e){let n=ae(a);return{getUserBusiness(t){return n.getUserBusiness(t).then(r=>r(e,s))},getUserInfo(t){return n.getUserInfo(t).then(r=>r(e,s))}}},_e=class extends S{getUserBusiness(s){return ae(this.configuration).getUserBusiness(s).then(e=>e(this.axios,this.basePath))}getUserInfo(s){return ae(this.configuration).getUserInfo(s).then(e=>e(this.axios,this.basePath))}},ht=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 v(i,a),i["Content-Type"]="application/json",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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},d={},c={};await v(d,a),d["Content-Type"]="application/json",y(o,c);let A=i&&i.headers?i.headers:{};return l.headers={...d,...A,...t.headers},l.data=R(n,l,a),{url:g(o),options:l}}}},ie=function(a){let s=ht(a);return{async getUser(e,n){let t=await s.getUser(e,n);return P(t,h,p,a)},async updateUserRewardPoints(e,n,t,r){let o=await s.updateUserRewardPoints(e,n,t,r);return P(o,h,p,a)}}},Or=function(a,s,e){let n=ie(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))}}},ke=class extends S{getUser(s,e){return ie(this.configuration).getUser(s,e).then(n=>n(this.axios,this.basePath))}updateUserRewardPoints(s,e,n,t){return ie(this.configuration).updateUserRewardPoints(s,e,n,t).then(r=>r(this.axios,this.basePath))}},At=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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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",y(t,l);let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},o.data=R(s,o,a),{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(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={};y(t,{});let d=r&&r.headers?r.headers:{};return o.headers={...i,...d,...e.headers},{url:g(t),options:o}},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={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}},verifyVivaWebhook:async(s={})=>{let e="/api/webhook/viva/verification",n=new URL(e,m),t;a&&(t=a.baseOptions);let r={method:"GET",...t,...s},o={};y(n,{});let l=t&&t.headers?t.headers:{};return r.headers={...o,...l,...s.headers},{url:g(n),options:r}}}},_=function(a){let s=At(a);return{async handleAssignmentWebhook(e){let n=await s.handleAssignmentWebhook(e);return P(n,h,p,a)},async handleBusinessWebhook(e){let n=await s.handleBusinessWebhook(e);return P(n,h,p,a)},async handleFoodoraEvent(e,n){let t=await s.handleFoodoraEvent(e,n);return P(t,h,p,a)},async handleLoadEmployee(e){let n=await s.handleLoadEmployee(e);return P(n,h,p,a)},async handleNetsEvents(e){let n=await s.handleNetsEvents(e);return P(n,h,p,a)},async handleNetsEventsV2(e){let n=await s.handleNetsEventsV2(e);return P(n,h,p,a)},async handleNetsRefundEvents(e){let n=await s.handleNetsRefundEvents(e);return P(n,h,p,a)},async handlePreorderReminder(e,n){let t=await s.handlePreorderReminder(e,n);return P(t,h,p,a)},async handleRoleWebhook(e){let n=await s.handleRoleWebhook(e);return P(n,h,p,a)},async handleShiftWebhook(e){let n=await s.handleShiftWebhook(e);return P(n,h,p,a)},async handleVivaEvents(e,n){let t=await s.handleVivaEvents(e,n);return P(t,h,p,a)},async handleWebhook(e){let n=await s.handleWebhook(e);return P(n,h,p,a)},async handleWoltDriveEvent(e){let n=await s.handleWoltDriveEvent(e);return P(n,h,p,a)},async handleWoltDriveEventByCountry(e,n){let t=await s.handleWoltDriveEventByCountry(e,n);return P(t,h,p,a)},async updateWoltProduct(e){let n=await s.updateWoltProduct(e);return P(n,h,p,a)},async verifyVivaWebhook(e){let n=await s.verifyVivaWebhook(e);return P(n,h,p,a)}}},Vr=function(a,s,e){let n=_(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))},updateWoltProduct(t){return n.updateWoltProduct(t).then(r=>r(e,s))},verifyVivaWebhook(t){return n.verifyVivaWebhook(t).then(r=>r(e,s))}}},Me=class extends S{handleAssignmentWebhook(s){return _(this.configuration).handleAssignmentWebhook(s).then(e=>e(this.axios,this.basePath))}handleBusinessWebhook(s){return _(this.configuration).handleBusinessWebhook(s).then(e=>e(this.axios,this.basePath))}handleFoodoraEvent(s,e){return _(this.configuration).handleFoodoraEvent(s,e).then(n=>n(this.axios,this.basePath))}handleLoadEmployee(s){return _(this.configuration).handleLoadEmployee(s).then(e=>e(this.axios,this.basePath))}handleNetsEvents(s){return _(this.configuration).handleNetsEvents(s).then(e=>e(this.axios,this.basePath))}handleNetsEventsV2(s){return _(this.configuration).handleNetsEventsV2(s).then(e=>e(this.axios,this.basePath))}handleNetsRefundEvents(s){return _(this.configuration).handleNetsRefundEvents(s).then(e=>e(this.axios,this.basePath))}handlePreorderReminder(s,e){return _(this.configuration).handlePreorderReminder(s,e).then(n=>n(this.axios,this.basePath))}handleRoleWebhook(s){return _(this.configuration).handleRoleWebhook(s).then(e=>e(this.axios,this.basePath))}handleShiftWebhook(s){return _(this.configuration).handleShiftWebhook(s).then(e=>e(this.axios,this.basePath))}handleVivaEvents(s,e){return _(this.configuration).handleVivaEvents(s,e).then(n=>n(this.axios,this.basePath))}handleWebhook(s){return _(this.configuration).handleWebhook(s).then(e=>e(this.axios,this.basePath))}handleWoltDriveEvent(s){return _(this.configuration).handleWoltDriveEvent(s).then(e=>e(this.axios,this.basePath))}handleWoltDriveEventByCountry(s,e){return _(this.configuration).handleWoltDriveEventByCountry(s,e).then(n=>n(this.axios,this.basePath))}updateWoltProduct(s){return _(this.configuration).updateWoltProduct(s).then(e=>e(this.axios,this.basePath))}verifyVivaWebhook(s){return _(this.configuration).verifyVivaWebhook(s).then(e=>e(this.axios,this.basePath))}};var Le=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 xt="1.2.5";export{le as AblyApi,He as AblyApiAxiosParamCreator,Zs as AblyApiFactory,ee as AblyApiFp,qt as ActionEnum,Vs as ActionsEnum,de as AuthApi,Qe as AuthApiAxiosParamCreator,Xs as AuthApiFactory,N as AuthApiFp,ce as BusinessApi,Ge as BusinessApiAxiosParamCreator,Js as BusinessApiFactory,q as BusinessApiFp,_t as BusinessBackgroundType,kt as BusinessEventAction,Mt as BusinessEventType,Nt as BusinessPaymentIntegrationType,wt as BusinessStatusEnum,jt as CashLogReason,Lt as CashLogType,ue as CashManagementApi,We as CashManagementApiAxiosParamCreator,er as CashManagementApiFactory,Y as CashManagementApiFp,Ft as CashSessionDtoEnum,Ht as CashSessionStatus,Qt as ChannelEnum,Gt as CodeChannel,Le as Configuration,Kt as CurrencyCode,zs as CurrencyCodeEnum,$t as DeliveryStatus,zt as DeliveryType,Yt as DeviceStatus,Zt as DiscountScope,Xt as DiscountType,pe as EmployeesApi,Ke as EmployeesApiAxiosParamCreator,tr as EmployeesApiFactory,Z as EmployeesApiFp,Jt as EntityType,Bt as EntityTypeEnum,Ut as EventTypeEnum,Ys as EventTypeIdEnum,me as GiftcardApi,$e as GiftcardApiAxiosParamCreator,sr as GiftcardApiFactory,te as GiftcardApiFp,ye as HistoryApi,ze as HistoryApiAxiosParamCreator,rr as HistoryApiFactory,w as HistoryApiFp,es as IntegrationType,ge as InvoiceCompaniesApi,Ye as InvoiceCompaniesApiAxiosParamCreator,nr as InvoiceCompaniesApiFactory,j as InvoiceCompaniesApiFp,ts as KioskEventType,ss as KioskLayout,Pe as KiosksApi,Ze as KiosksApiAxiosParamCreator,or as KiosksApiFactory,se as KiosksApiFp,rs as KitchenStatus,ns as LocatorType,os as LoyaltyActionKey,he as LoyaltyIntegerationsApi,Xe as LoyaltyIntegerationsApiAxiosParamCreator,ar as LoyaltyIntegerationsApiFactory,F as LoyaltyIntegerationsApiFp,xt as MUNCHI_CORE_VERSION,Ae as MenuApi,Je as MenuApiAxiosParamCreator,ir as MenuApiFactory,H as MenuApiFp,xe as MerchantsApi,et as MerchantsApiAxiosParamCreator,lr as MerchantsApiFactory,Ne as MerchantsApiFp,fe as NotificationApi,tt as NotificationApiAxiosParamCreator,dr as NotificationApiFactory,G as NotificationApiFp,as as OperatingMode,is as OrderFormat,ls as OrderRefundStatus,ds as OrderStatusEnum,cs as OrderType,us as OrderTypePOS,Re as OrderingCoApi,st as OrderingCoApiAxiosParamCreator,cr as OrderingCoApiFactory,we as OrderingCoApiFp,be as OrdersApi,rt as OrdersApiAxiosParamCreator,ur as OrdersApiFactory,U as OrdersApiFp,Ce as POSSessionApi,nt as POSSessionApiAxiosParamCreator,pr as POSSessionApiFactory,je as POSSessionApiFp,De as PasscodeApi,ot as PasscodeApiAxiosParamCreator,mr as PasscodeApiFactory,W as PasscodeApiFp,ps as PasscodeScopeType,Oe as PaymentApi,at as PaymentApiAxiosParamCreator,yr as PaymentApiFactory,E as PaymentApiFp,ms as PaymentEventType,ys as PaymentFailureCode,gs as PaymentMethod,Ps as PaymentProvider,hs as PaymentProviderEnum,As as PaymentStatus,xs as PaymentTypeEnum,Ve as PluginApi,it as PluginApiAxiosParamCreator,gr as PluginApiFactory,re as PluginApiFp,fs as PosDiscountType,Rs as PosPaymentStatus,bs as PosPaymentType,Cs as PosPermission,Ds as PreorderStatus,Os as PrinterTypeEnum,Ie as ProductApi,lt as ProductApiAxiosParamCreator,Pr as ProductApiFactory,ne as ProductApiFp,Is as ProductAvailability,vs as ProductDetailLayout,ve as ProviderApi,dt as ProviderApiAxiosParamCreator,hr as ProviderApiFactory,X as ProviderApiFp,Ts as ProviderEnum,Ss as RefundMode,Es as RefundOverallStatus,qs as RefundStatusEnum,Bs as RefundStepStatus,Te as RefundsApi,ct as RefundsApiAxiosParamCreator,Ar as RefundsApiFactory,L as RefundsApiFp,Se as ReportApi,ut as ReportApiAxiosParamCreator,xr as ReportApiFactory,M as ReportApiFp,Ee as RolesPermissionsApi,pt as RolesPermissionsApiAxiosParamCreator,fr as RolesPermissionsApiFactory,oe as RolesPermissionsApiFp,Wt as ScopeTypeEnum,qe as ShiftTrackingApi,mt as ShiftTrackingApiAxiosParamCreator,Rr as ShiftTrackingApiFactory,Q as ShiftTrackingApiFp,Us as SimplePaymentStatus,_s as StaffActivityActionType,ks as StationType,Be as StationsApi,yt as StationsApiAxiosParamCreator,br as StationsApiFactory,K as StationsApiFp,Ms as Status,Ns as StatusEnum,Ue as TerminalApi,gt as TerminalApiAxiosParamCreator,Cr as TerminalApiFactory,$ as TerminalApiFp,ws as TerminalConnectionType,js as TimeSpan,Ls as TransactionEventType,Fs as TransactionType,Hs as Type,Qs as UpsellMode,_e as UserApi,Pt as UserApiAxiosParamCreator,Dr as UserApiFactory,ae as UserApiFp,ke as UsersApi,ht as UsersApiAxiosParamCreator,Or as UsersApiFactory,ie as UsersApiFp,Gs as VerificationType,Ws as VivaCurrencyCode,Ks as VivaErrorId,$s as VivaEventId,Me as WebhookApi,At as WebhookApiAxiosParamCreator,Vr as WebhookApiFactory,_ as WebhookApiFp};
@@ -0,0 +1,2 @@
1
+ export declare const VERSION = "1.2.5";
2
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,UAAU,CAAC"}
@@ -0,0 +1 @@
1
+ {"fileNames":["../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2024.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.error.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.esnext.full.d.ts","../../node_modules/.pnpm/@types+react@18.3.27/node_modules/@types/react/global.d.ts","../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/index.d.ts","../../node_modules/.pnpm/@types+prop-types@15.7.15/node_modules/@types/prop-types/index.d.ts","../../node_modules/.pnpm/@types+react@18.3.27/node_modules/@types/react/index.d.ts","../../node_modules/.pnpm/@types+react@18.3.27/node_modules/@types/react/jsx-runtime.d.ts","../generated/configuration.ts","../../node_modules/.pnpm/axios@1.13.2/node_modules/axios/index.d.ts","../generated/base.ts","../generated/common.ts","../generated/api.ts","../generated/index.ts","../src/version.ts","../index.ts","../src/globals.d.ts"],"fileIdsList":[[91,92,93,94,95],[91,92,93],[91,92,93,94],[91],[91,92,96],[91,97,98],[87,88,89],[90]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"bde31fd423cd93b0eff97197a3f66df7c93e8c0c335cbeb113b7ff1ac35c23f4","impliedFormat":1},{"version":"eb5b19b86227ace1d29ea4cf81387279d04bb34051e944bc53df69f58914b788","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"87d9d29dbc745f182683f63187bf3d53fd8673e5fca38ad5eaab69798ed29fbc","impliedFormat":1},{"version":"7a3aa194cfd5919c4da251ef04ea051077e22702638d4edcb9579e9101653519","affectsGlobalScope":true,"impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"e99f1a7ed8e754255cda9d65b130edf3222d0dc1d6cf087d5a47358fb10e6357","signature":"fa561a0c49bf5bf2d685383d8c8cb5c8acebede9205d7010c1218a47dbea9c74"},{"version":"1c9800fbae1b443d77672e6d3e715df7280479b7c41f08cb790e750f01b50d90","impliedFormat":99},{"version":"cce33417672f9a497509a9e0c3ac0c9ff214343905d10b29eb10bb98ac761fc2","signature":"cbc9ae1ef9c2ac596d117c447e91685d925615355438708c0c98b9259d51bb42"},{"version":"f81908542fb96e4e4b20c22b2582d9f50dc874a8859bb4072e4a61acf415dadf","signature":"fd02ccaf41f0d29d8ce94326ba625f675bdabc04fcf16d0b87852770f360b2c7"},{"version":"dd66464eae58717dd04372b2485b66d1cccb19e0d51ce5f7c2b30af9bbd497ca","signature":"5dcf6893c24fc6d60a15567b33b3c3e8cdc8f78d469a5f746c0b46adf4a69204"},{"version":"6b80b095e1ec9a663cf77aaec3389c71d1fbde42232cc906a1eba2cf65481841","signature":"b0c72f06c24c5580cb7a5ae6b77ef782285343569db8f69e7bc4d2b572e0ad43"},{"version":"068ae6c3bd3fe664093e3e97f31be134d5b139831b79e28c590013c3b0161420","signature":"bb621c2f5527d6cfed4009ea44d68fa3dbb25628aa89ed67889e18d471036de7"},"37d5025e35fc2ff1858cf73a24db63874069f0f64cb8415dbe1ce25e9e01832b",{"version":"776d9cba068da55bd63d181879e384f4b9cc6f3d164cbdd5033cf661aec49b88","affectsGlobalScope":true}],"root":[92,[94,100]],"options":{"checkJs":false,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"exactOptionalPropertyTypes":false,"jsx":4,"module":7,"noImplicitAny":false,"noUncheckedIndexedAccess":true,"noUncheckedSideEffectImports":true,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":false,"strictNullChecks":false,"target":99,"verbatimModuleSyntax":true},"referencedMap":[[96,1],[94,2],[95,3],[92,4],[97,5],[99,6],[98,4],[90,7],[91,8]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
@@ -0,0 +1,8 @@
1
+ .gitignore
2
+ .npmignore
3
+ api.ts
4
+ base.ts
5
+ common.ts
6
+ configuration.ts
7
+ git_push.sh
8
+ index.ts
@@ -0,0 +1 @@
1
+ 6.6.0
@@ -0,0 +1,23 @@
1
+ # OpenAPI Generator Ignore
2
+ # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
+
4
+ # Use this file to prevent files from being overwritten by the generator.
5
+ # The patterns follow closely to .gitignore or .dockerignore.
6
+
7
+ # As an example, the C# client generator defines ApiClient.cs.
8
+ # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
+ #ApiClient.cs
10
+
11
+ # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
+ #foo/*/qux
13
+ # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
+
15
+ # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
+ #foo/**/qux
17
+ # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
+
19
+ # You can also negate patterns with an exclamation (!).
20
+ # For example, you can ignore all files in a docs folder with the file extension .md:
21
+ #docs/*.md
22
+ # Then explicitly reverse the ignore rule for a single file:
23
+ #!docs/README.md