[{"data":1,"prerenderedAt":610},["ShallowReactive",2],{"navigation":3,"\u002Fbooki-documentation\u002Fflowcharts\u002Fowner-booking-management":303,"\u002Fbooki-documentation\u002Fflowcharts\u002Fowner-booking-management-surround":605},[4,55,105],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":54},"Nuxt Guide","i-lucide-layout","\u002Fnuxt-guide","1.nuxt-guide",[10,14,19,24,29,34,39,44,49],{"title":11,"path":12,"stem":13,"icon":6},"Overview","\u002Fnuxt-guide\u002Foverview","1.nuxt-guide\u002F1.overview",{"title":15,"path":16,"stem":17,"icon":18},"Folder Structure","\u002Fnuxt-guide\u002Ffolder-structure","1.nuxt-guide\u002F2.folder-structure","i-lucide-folder-tree",{"title":20,"path":21,"stem":22,"icon":23},"Components","\u002Fnuxt-guide\u002Fcomponents","1.nuxt-guide\u002F3.components","i-lucide-component",{"title":25,"path":26,"stem":27,"icon":28},"Composables","\u002Fnuxt-guide\u002Fcomposables","1.nuxt-guide\u002F4.composables","i-lucide-puzzle",{"title":30,"path":31,"stem":32,"icon":33},"Pages & Routing","\u002Fnuxt-guide\u002Fpages-routing","1.nuxt-guide\u002F5.pages-routing","i-lucide-file-text",{"title":35,"path":36,"stem":37,"icon":38},"Middleware","\u002Fnuxt-guide\u002Fmiddleware","1.nuxt-guide\u002F6.middleware","i-lucide-shield-check",{"title":40,"path":41,"stem":42,"icon":43},"Plugins","\u002Fnuxt-guide\u002Fplugins","1.nuxt-guide\u002F7.plugins","i-lucide-plug",{"title":45,"path":46,"stem":47,"icon":48},"State Management","\u002Fnuxt-guide\u002Fstate-management","1.nuxt-guide\u002F8.state-management","i-lucide-database",{"title":50,"path":51,"stem":52,"icon":53},"TypeScript","\u002Fnuxt-guide\u002Ftypescript","1.nuxt-guide\u002F9.typescript","i-lucide-braces",false,{"title":56,"icon":57,"path":58,"stem":59,"children":60,"page":54},"Node \u002F Express Guide","i-lucide-server","\u002Fnode-express-guide","2.node-express-guide",[61,64,69,72,77,82,86,91,96,100],{"title":11,"path":62,"stem":63,"icon":57},"\u002Fnode-express-guide\u002Foverview","2.node-express-guide\u002F1.overview",{"title":65,"path":66,"stem":67,"icon":68},"Error Handling","\u002Fnode-express-guide\u002Ferror-handling","2.node-express-guide\u002F10.error-handling","i-lucide-alert-triangle",{"title":15,"path":70,"stem":71,"icon":18},"\u002Fnode-express-guide\u002Ffolder-structure","2.node-express-guide\u002F2.folder-structure",{"title":73,"path":74,"stem":75,"icon":76},"Controllers","\u002Fnode-express-guide\u002Fcontrollers","2.node-express-guide\u002F3.controllers","i-lucide-cpu",{"title":78,"path":79,"stem":80,"icon":81},"Services","\u002Fnode-express-guide\u002Fservices","2.node-express-guide\u002F4.services","i-lucide-workflow",{"title":83,"path":84,"stem":85,"icon":48},"Repositories","\u002Fnode-express-guide\u002Frepositories","2.node-express-guide\u002F5.repositories",{"title":87,"path":88,"stem":89,"icon":90},"Models","\u002Fnode-express-guide\u002Fmodels","2.node-express-guide\u002F6.models","i-lucide-boxes",{"title":92,"path":93,"stem":94,"icon":95},"Routes","\u002Fnode-express-guide\u002Froutes","2.node-express-guide\u002F7.routes","i-lucide-route",{"title":35,"path":97,"stem":98,"icon":99},"\u002Fnode-express-guide\u002Fmiddleware","2.node-express-guide\u002F8.middleware","i-lucide-shield",{"title":101,"path":102,"stem":103,"icon":104},"Validation","\u002Fnode-express-guide\u002Fvalidation","2.node-express-guide\u002F9.validation","i-lucide-check-circle",{"title":106,"icon":107,"path":108,"stem":109,"children":110,"page":54},"Booki Documentation","i-lucide-book-open","\u002Fbooki-documentation","3.booki-documentation",[111,115,120,125,130,229,244,257],{"title":112,"path":113,"stem":114,"icon":107},"Project Overview","\u002Fbooki-documentation\u002Foverview","3.booki-documentation\u002F1.overview",{"title":116,"path":117,"stem":118,"icon":119},"Installation","\u002Fbooki-documentation\u002F1.installation","3.booki-documentation\u002F2.1.installation","i-lucide-download",{"title":121,"path":122,"stem":123,"icon":124},"Development Overview","\u002Fbooki-documentation\u002F2.architecture","3.booki-documentation\u002F2.2.architecture","i-lucide-layers",{"title":126,"path":127,"stem":128,"icon":129},"Local Development","\u002Fbooki-documentation\u002F3.local-development","3.booki-documentation\u002F2.3.local-development","i-lucide-monitor",{"title":131,"icon":57,"path":132,"stem":133,"children":134,"page":54},"API","\u002Fbooki-documentation\u002Fapi","3.booki-documentation\u002F3.api",[135,139,144,149,154,159,163,168,173,178,183,188,192,197,202,206,211,216,220,224],{"title":136,"path":137,"stem":138,"icon":57},"Booki API Reference","\u002Fbooki-documentation\u002Fapi\u002Fbooki-api","3.booki-documentation\u002F3.api\u002F1.booki-api",{"title":140,"path":141,"stem":142,"icon":143},"Auth - Login & Refresh","\u002Fbooki-documentation\u002Fapi\u002Fauth","3.booki-documentation\u002F3.api\u002F2.auth","i-lucide-key",{"title":145,"path":146,"stem":147,"icon":148},"Auth - Customer Registration","\u002Fbooki-documentation\u002Fapi\u002Fauth-customer-register","3.booki-documentation\u002F3.api\u002F2.auth-customer-register","i-lucide-user-check",{"title":150,"path":151,"stem":152,"icon":153},"Auth - Owner Registration","\u002Fbooki-documentation\u002Fapi\u002Fauth-owner-register","3.booki-documentation\u002F3.api\u002F2.auth-owner-register","i-lucide-user-plus",{"title":155,"path":156,"stem":157,"icon":158},"Bookings","\u002Fbooki-documentation\u002Fapi\u002Fbookings","3.booki-documentation\u002F3.api\u002F3.bookings","i-lucide-calendar-check",{"title":160,"path":161,"stem":162,"icon":158},"Bookings - Authenticated","\u002Fbooki-documentation\u002Fapi\u002Fbookings-auth","3.booki-documentation\u002F3.api\u002F3.bookings-auth",{"title":164,"path":165,"stem":166,"icon":167},"Bookings - Public & Guest","\u002Fbooki-documentation\u002Fapi\u002Fbookings-public","3.booki-documentation\u002F3.api\u002F3.bookings-public","i-lucide-calendar-plus",{"title":169,"path":170,"stem":171,"icon":172},"Booking Services","\u002Fbooki-documentation\u002Fapi\u002Fbooking-services","3.booki-documentation\u002F3.api\u002F4.booking-services","i-lucide-box",{"title":174,"path":175,"stem":176,"icon":177},"Organizations - Branches","\u002Fbooki-documentation\u002Fapi\u002Fbranches","3.booki-documentation\u002F3.api\u002F5.branches","i-lucide-git-branch",{"title":179,"path":180,"stem":181,"icon":182},"Organizations - Business Hours","\u002Fbooki-documentation\u002Fapi\u002Fbusiness-hours","3.booki-documentation\u002F3.api\u002F5.business-hours","i-lucide-clock",{"title":184,"path":185,"stem":186,"icon":187},"Organizations - Base","\u002Fbooki-documentation\u002Fapi\u002Forganizations","3.booki-documentation\u002F3.api\u002F5.organizations","i-lucide-building-2",{"title":189,"path":190,"stem":191,"icon":172},"Organizations - Packages","\u002Fbooki-documentation\u002Fapi\u002Fpackages","3.booki-documentation\u002F3.api\u002F5.packages",{"title":193,"path":194,"stem":195,"icon":196},"Organizations - Payments & Integrations","\u002Fbooki-documentation\u002Fapi\u002Fpayments","3.booki-documentation\u002F3.api\u002F5.payments","i-lucide-credit-card",{"title":198,"path":199,"stem":200,"icon":201},"Users - Profile & Settings","\u002Fbooki-documentation\u002Fapi\u002Fusers","3.booki-documentation\u002F3.api\u002F6.users","i-lucide-user",{"title":203,"path":204,"stem":205,"icon":196},"Maya Payments","\u002Fbooki-documentation\u002Fapi\u002Fmaya","3.booki-documentation\u002F3.api\u002F7.maya",{"title":207,"path":208,"stem":209,"icon":210},"Owner - Booking Management","\u002Fbooki-documentation\u002Fapi\u002Fowner-bookings","3.booki-documentation\u002F3.api\u002F7.owner-bookings","i-lucide-calendar",{"title":212,"path":213,"stem":214,"icon":215},"Owner - Customer Management","\u002Fbooki-documentation\u002Fapi\u002Fowner-customers","3.booki-documentation\u002F3.api\u002F7.owner-customers","i-lucide-users",{"title":217,"path":218,"stem":219,"icon":196},"Admin - Billing & Subscriptions","\u002Fbooki-documentation\u002Fapi\u002Fadmin-billing","3.booki-documentation\u002F3.api\u002F8.admin-billing",{"title":221,"path":222,"stem":223,"icon":187},"Admin - Organizations Management","\u002Fbooki-documentation\u002Fapi\u002Fadmin-organizations","3.booki-documentation\u002F3.api\u002F8.admin-organizations",{"title":225,"path":226,"stem":227,"icon":228},"Admin - User Management","\u002Fbooki-documentation\u002Fapi\u002Fadmin-users","3.booki-documentation\u002F3.api\u002F8.admin-users","i-lucide-shield-admin",{"title":230,"icon":231,"path":232,"stem":233,"children":234,"page":54},"Shared","i-lucide-package","\u002Fbooki-documentation\u002Fshared","3.booki-documentation\u002F4.shared",[235,240],{"title":236,"path":237,"stem":238,"icon":239},"codi-node-utils","\u002Fbooki-documentation\u002Fshared\u002Fcodi-node-utils","3.booki-documentation\u002F4.shared\u002F1.codi-node-utils","i-lucide-wrench",{"title":241,"path":242,"stem":243,"icon":124},"codi-layer","\u002Fbooki-documentation\u002Fshared\u002Fcodi-layer","3.booki-documentation\u002F4.shared\u002F2.codi-layer",{"title":245,"path":246,"stem":247,"children":248,"page":54},"Flowcharts","\u002Fbooki-documentation\u002Fflowcharts","3.booki-documentation\u002F5.flowcharts",[249,253],{"title":250,"path":251,"stem":252,"icon":158},"Owner Booking Management Flow","\u002Fbooki-documentation\u002Fflowcharts\u002Fowner-booking-management","3.booki-documentation\u002F5.flowcharts\u002F1.owner-booking-management",{"title":254,"path":255,"stem":256,"icon":167},"Customer Booking Flow","\u002Fbooki-documentation\u002Fflowcharts\u002Fcustomer-booking-flow","3.booki-documentation\u002F5.flowcharts\u002F2.customer-booking-flow",{"title":258,"path":259,"stem":260,"children":261,"page":54},"Guides","\u002Fbooki-documentation\u002Fguides","3.booki-documentation\u002Fguides",[262,267,271,275,280,285,290,294,298],{"title":263,"path":264,"stem":265,"icon":266},"Guide - Authentication Flow & Sessions","\u002Fbooki-documentation\u002Fguides\u002Fguides-auth-flow","3.booki-documentation\u002Fguides\u002Fguides-auth-flow","i-lucide-lock",{"title":268,"path":269,"stem":270,"icon":177},"Guide - Branch Management","\u002Fbooki-documentation\u002Fguides\u002Fguides-branch-management","3.booki-documentation\u002Fguides\u002Fguides-branch-management",{"title":272,"path":273,"stem":274,"icon":196},"Guide - Customer Payment Methods","\u002Fbooki-documentation\u002Fguides\u002Fguides-customer-payments","3.booki-documentation\u002Fguides\u002Fguides-customer-payments",{"title":276,"path":277,"stem":278,"icon":279},"Guide - Environment Setup","\u002Fbooki-documentation\u002Fguides\u002Fguides-environment-setup","3.booki-documentation\u002Fguides\u002Fguides-environment-setup","i-lucide-settings",{"title":281,"path":282,"stem":283,"icon":284},"Guide - Common Error Responses","\u002Fbooki-documentation\u002Fguides\u002Fguides-errors","3.booki-documentation\u002Fguides\u002Fguides-errors","i-lucide-alert-circle",{"title":286,"path":287,"stem":288,"icon":289},"Guide - Gmail SMTP Setup","\u002Fbooki-documentation\u002Fguides\u002Fguides-gmail-setup","3.booki-documentation\u002Fguides\u002Fguides-gmail-setup","i-lucide-mail",{"title":291,"path":292,"stem":293,"icon":124},"Guide - Multi-Tenancy & Tenant Slug Resolution","\u002Fbooki-documentation\u002Fguides\u002Fguides-multi-tenancy","3.booki-documentation\u002Fguides\u002Fguides-multi-tenancy",{"title":295,"path":296,"stem":297,"icon":48},"Guide - Redis Caching","\u002Fbooki-documentation\u002Fguides\u002Fguides-redis","3.booki-documentation\u002Fguides\u002Fguides-redis",{"title":299,"path":300,"stem":301,"icon":302},"Guide - Subscription Billing","\u002Fbooki-documentation\u002Fguides\u002Fguides-subscription-billing","3.booki-documentation\u002Fguides\u002Fguides-subscription-billing","i-lucide-receipt",{"id":304,"title":250,"body":305,"description":598,"extension":599,"links":600,"meta":601,"navigation":602,"path":251,"seo":603,"stem":252,"__hash__":604},"docs\u002F3.booki-documentation\u002F5.flowcharts\u002F1.owner-booking-management.md",{"type":306,"value":307,"toc":588},"minimark",[308,312,315,320,331,333,337,340,346,348,352,358,360,364,464,466,470,561,563,567],[309,310,311],"p",{},"This diagram covers the owner's side of every booking — from a new submission appearing in the queue to the appointment being marked complete or a customer being marked as no-show.",[313,314],"hr",{},[316,317,319],"h2",{"id":318},"full-flow","Full Flow",[321,322,328],"pre",{"className":323,"code":325,"language":326,"meta":327},[324],"language-text","┌─────────────────────────────────────────────────┐\n│  Customer submits booking                       │\n│  Booking status: pending                        │\n└──────────────────┬──────────────────────────────┘\n                   │\n                   ↓\n┌─────────────────────────────────────────────────┐\n│  Owner opens booking queue                      │\n│  GET \u002Fadmin\u002Fbookings\u002Fdate\u002F:date\u002Fperiod\u002F:period  │\n│  GET \u002Fadmin\u002Fbookings\u002Fcalendar (monthly view)    │\n└──────────────────┬──────────────────────────────┘\n                   │\n                   ↓\n┌─────────────────────────────────────────────────┐\n│  Review booking details                         │\n│  Package · Date · Time · Customer info          │\n└──────────────────┬──────────────────────────────┘\n                   │\n         ┌─────────┴──────────┐\n         │                    │\n      Confirm              Decline\n         │                    │\n         ↓                    ↓\nPUT \u002F:id\u002Fconfirm        PUT \u002F:id\u002Fdecline\n(status: confirmed)     body: { declineReason }\n         │                    │\n         ↓                    ↓\nCustomer notified       Customer notified\nvia email               via email\n(with confirmation)     (decline reason included)\n         │\n         ↓\n┌─────────────────────────────────────────────────┐\n│  Payment                                        │\n└──────────────────┬──────────────────────────────┘\n                   │\n         ┌─────────┴──────────┐\n         │                    │\n       Maya                 Cash\n         │                    │\n         ↓                    ↓\nCustomer creates        Customer pays on\ncheckout session        arrival; owner marks\nPOST \u002Fmaya\u002Fbookings\u002F    paid manually\n:id\u002Fcheckout-session\n         │                    │\n         ↓                    │\nPayment verified             │\nPOST \u002Fmaya\u002Fbookings\u002F         │\n:id\u002Fverify-session           │\n         │                    │\n         └─────────┬──────────┘\n                   │\n                   ↓\n┌─────────────────────────────────────────────────┐\n│  Appointment Day                                │\n└──────────────────┬──────────────────────────────┘\n                   │\n         ┌─────────┴──────────┐\n         │                    │\n  Customer shows up     Customer no-show\n         │                    │\n         ↓                    ↓\n  PUT \u002F:id\u002Fcomplete      PUT \u002F:id\u002Fno-show\n  (status: completed)    (status: no-show)\n","text","",[329,330,325],"code",{"__ignoreMap":327},[313,332],{},[316,334,336],{"id":335},"reschedule-request-sub-flow","Reschedule Request Sub-Flow",[309,338,339],{},"Customers can request a reschedule after booking. This creates a parallel review step:",[321,341,344],{"className":342,"code":343,"language":326,"meta":327},[324],"Customer requests reschedule\nPUT \u002Fapi\u002Fv1\u002Fbookings\u002F:id\u002Freschedule\n(status: pending-reschedule)\n         │\n         ↓\nOwner reviews pending reschedule list\nGET \u002Fadmin\u002Fbookings\u002Freschedule\n         │\n         ├── Approve → PUT \u002F:id\u002Fconfirm\n         │   (status: confirmed with new date\u002Ftime)\n         │\n         └── Decline → PUT \u002F:id\u002Fdecline\n             (original booking date restored)\n",[329,345,343],{"__ignoreMap":327},[313,347],{},[316,349,351],{"id":350},"booking-status-lifecycle","Booking Status Lifecycle",[321,353,356],{"className":354,"code":355,"language":326,"meta":327},[324],"             ┌─────────┐\n             │ pending │\n             └────┬────┘\n        ┌─────────┴─────────┐\n        ↓                   ↓\n  ┌───────────┐       ┌──────────┐\n  │ confirmed │       │ declined │\n  └─────┬─────┘       └──────────┘\n        │\n  ┌─────┴────────────────────┐\n  ↓                          ↓\n┌─────────┐           ┌──────────────────┐\n│ ongoing │           │pending-reschedule│\n└────┬────┘           └────────┬─────────┘\n     │                         │\n┌────┴────────┐         (back to confirmed\n↓             ↓          or declined)\n┌──────────┐  ┌─────────┐\n│completed │  │ no-show │\n└──────────┘  └─────────┘\n",[329,357,355],{"__ignoreMap":327},[313,359],{},[316,361,363],{"id":362},"booking-status-reference","Booking Status Reference",[365,366,367,380],"table",{},[368,369,370],"thead",{},[371,372,373,377],"tr",{},[374,375,376],"th",{},"Status",[374,378,379],{},"Description",[381,382,383,394,404,414,424,434,444,454],"tbody",{},[371,384,385,391],{},[386,387,388],"td",{},[329,389,390],{},"pending",[386,392,393],{},"Submitted by customer — awaiting owner action",[371,395,396,401],{},[386,397,398],{},[329,399,400],{},"confirmed",[386,402,403],{},"Owner accepted — customer can proceed to payment",[371,405,406,411],{},[386,407,408],{},[329,409,410],{},"declined",[386,412,413],{},"Owner declined — customer notified with reason",[371,415,416,421],{},[386,417,418],{},[329,419,420],{},"pending-reschedule",[386,422,423],{},"Customer requested a new date\u002Ftime — owner must review",[371,425,426,431],{},[386,427,428],{},[329,429,430],{},"ongoing",[386,432,433],{},"Appointment day has arrived",[371,435,436,441],{},[386,437,438],{},[329,439,440],{},"completed",[386,442,443],{},"Owner marked appointment as done",[371,445,446,451],{},[386,447,448],{},[329,449,450],{},"no-show",[386,452,453],{},"Customer did not arrive",[371,455,456,461],{},[386,457,458],{},[329,459,460],{},"cancelled",[386,462,463],{},"Customer cancelled before appointment",[313,465],{},[316,467,469],{"id":468},"key-endpoints","Key Endpoints",[365,471,472,485],{},[368,473,474],{},[371,475,476,479,482],{},[374,477,478],{},"Action",[374,480,481],{},"Method",[374,483,484],{},"Path",[381,486,487,500,512,524,537,549],{},[371,488,489,492,495],{},[386,490,491],{},"View bookings by date",[386,493,494],{},"GET",[386,496,497],{},[329,498,499],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbookings\u002Fdate\u002F:date\u002Fperiod\u002F:period",[371,501,502,505,507],{},[386,503,504],{},"View calendar (monthly)",[386,506,494],{},[386,508,509],{},[329,510,511],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbookings\u002Fcalendar",[371,513,514,517,519],{},[386,515,516],{},"View reschedule requests",[386,518,494],{},[386,520,521],{},[329,522,523],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbookings\u002Freschedule",[371,525,526,529,532],{},[386,527,528],{},"Confirm booking",[386,530,531],{},"PUT",[386,533,534],{},[329,535,536],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbookings\u002F:id\u002Fconfirm",[371,538,539,542,544],{},[386,540,541],{},"Decline booking",[386,543,531],{},[386,545,546],{},[329,547,548],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbookings\u002F:id\u002Fdecline",[371,550,551,554,556],{},[386,552,553],{},"Mark no-show",[386,555,531],{},[386,557,558],{},[329,559,560],{},"\u002Fapi\u002Fv1\u002Fadmin\u002Fbookings\u002F:id\u002Fno-show",[313,562],{},[316,564,566],{"id":565},"related","Related",[568,569,570,578,583],"ul",{},[571,572,573],"li",{},[574,575,577],"a",{"href":576},"..\u002Fapi\u002Fowner-bookings","Owner - Booking Management API",[571,579,580],{},[574,581,254],{"href":582},".\u002Fcustomer-booking-flow",[571,584,585],{},[574,586,203],{"href":587},"..\u002Fapi\u002Fmaya",{"title":327,"searchDepth":589,"depth":590,"links":591},1,2,[592,593,594,595,596,597],{"id":318,"depth":590,"text":319},{"id":335,"depth":590,"text":336},{"id":350,"depth":590,"text":351},{"id":362,"depth":590,"text":363},{"id":468,"depth":590,"text":469},{"id":565,"depth":590,"text":566},"How a business owner reviews, confirms, declines, and closes out bookings from the owner dashboard.","md",null,{},{"icon":158},{"title":250,"description":598},"zomylPZ2i-zil2O6WHQO_VnjSn8dt_0YGBHWOouaCCE",[606,608],{"title":241,"path":242,"stem":243,"description":607,"icon":124,"children":-1},"The shared Nuxt layer — composables, plugins, and types used by all frontend apps.",{"title":254,"path":255,"stem":256,"description":609,"icon":167,"children":-1},"End-to-end flow for how a customer discovers, books, pays for, and completes a service on the Booki platform.",1777787844708]