Stay organized with collections
Save and categorize content based on your preferences.
A waitlist entry contains the information about a customer's position in the
waitlist, including information about the number of parties ahead, wait time,
etc.
enumWaitlistEntryState{WAITLIST_ENTRY_STATE_UNSPECIFIED=0;//Thewaitlistentrywascreatedandtheuseriscurrentlywaitinginthe//waitlist.WAITING=1;//Thewaitlistentryisawaitingconfirmationbythemerchant.PENDING_MERCHANT_CONFIRMATION=8;//Thewaitlistentryhasbeencanceledbytheuser.Cancellationforno-shows//shouldusetheNO_SHOWstate.CANCELED=2;//Thewaitlistentryhasbeendeclinedbythemerchant.DECLINED_BY_MERCHANT=7;//Themerchantisreadytoservetheuser.SERVICE_READY=3;//Theuserhascheckedinwiththehostandiswaitingtobeseated.CHECKED_IN=4;//Theuserhasarrivedandbeenseatedbythemerchant.SEATED=5;//Theuserdidnotarriveatthemerchantintimeandlosttheirspace.NO_SHOW=6;}//Thetimesatwhichthewaitlistentrychangedstate.messageWaitlistEntryStateTimes{//Required.Thetimeatwhichthewaitlistentrywascreated.//InsecondssinceUnixepoch.int64created_time_seconds=1;//Thetimethatthewaitlistentrywascancelled.Mustbepopulated//whenthewaitlistentryhasbeencanceledbutnotbefore.//InsecondssinceUnixepoch.int64canceled_time_seconds=2;//Thetimethemerchantwasreadytoservetheuser.//service_readied_time_secondsmustbepopulatedafterthemerchantis//readytoservetheuserbutnotbefore.//InsecondssinceUnixepoch.int64service_readied_time_seconds=3;//Theactualtimetheusercheckedinwiththehost.checked_in_timemustbe//populatedaftertheuserhascheckedinwiththemerchantbutnotbefore.//InsecondssinceUnixepoch.int64checked_in_time_seconds=4;//Theseatedtimefortheuser.seated_time_secondsmustbepopulated//whentheuserhasbeenseatedbutnotbefore.//InsecondssinceUnixepoch.int64seated_time_seconds=5;//Thetimethattheuserwasmarkedasano-show.marked_no_show_time_seconds//mustbepopulatedwhentheuserhasbeenmarkedano-showbutnotbefore.//InsecondssinceUnixepoch.int64marked_no_show_time_seconds=6;}//Anentryinthewaitlist.messageWaitlistEntry{//Required.WaitlistEntryStatewaitlist_entry_state=1;//Required.Thetimesatwhichthewaitlistentrychangedstate.WaitlistEntryStateTimeswaitlist_entry_state_times=2;//Required.Containsfieldsmeasuringhowlong(intimeor# of people) until//theuserisreadytoleavethewaitlistandbeseated.WaitEstimatewait_estimate=3;}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-20 UTC."],[[["\u003cp\u003eA \u003ccode\u003eWaitlistEntry\u003c/code\u003e stores a customer's position in a waitlist, tracking their status and estimated wait time.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWaitlistEntryState\u003c/code\u003e defines the various stages a customer can be in, such as waiting, canceled, seated, or no-show.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWaitlistEntryStateTimes\u003c/code\u003e records the timestamps for each state change, like creation, cancellation, or seating time.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWaitEstimate\u003c/code\u003e provides an estimated duration or number of parties ahead before the customer is served.\u003c/p\u003e\n"]]],["Waitlist entries track a customer's status and position. Possible states include WAITING, PENDING_MERCHANT_CONFIRMATION, CANCELED, DECLINED_BY_MERCHANT, SERVICE_READY, CHECKED_IN, SEATED, and NO_SHOW. Each state change is timestamped, including creation, cancellation, service readiness, check-in, seating, and no-show. Each entry also has a wait estimate to provide insight into wait times and the number of parties ahead.\n"],null,["# WaitlistEntry definition\n\nA waitlist entry contains the information about a customer's position in the\nwaitlist, including information about the number of parties ahead, wait time,\netc. \n\n```gdscript\nenum WaitlistEntryState {\n WAITLIST_ENTRY_STATE_UNSPECIFIED = 0;\n\n // The waitlist entry was created and the user is currently waiting in the\n // waitlist.\n WAITING = 1;\n\n // The waitlist entry is awaiting confirmation by the merchant.\n PENDING_MERCHANT_CONFIRMATION = 8;\n\n // The waitlist entry has been canceled by the user. Cancellation for no-shows\n // should use the NO_SHOW state.\n CANCELED = 2;\n\n // The waitlist entry has been declined by the merchant.\n DECLINED_BY_MERCHANT = 7;\n\n // The merchant is ready to serve the user.\n SERVICE_READY = 3;\n\n // The user has checked in with the host and is waiting to be seated.\n CHECKED_IN = 4;\n\n // The user has arrived and been seated by the merchant.\n SEATED = 5;\n\n // The user did not arrive at the merchant in time and lost their space.\n NO_SHOW = 6;\n}\n\n// The times at which the waitlist entry changed state.\nmessage WaitlistEntryStateTimes {\n // Required. The time at which the waitlist entry was created.\n // In seconds since Unix epoch.\n int64 created_time_seconds = 1;\n\n // The time that the waitlist entry was cancelled. Must be populated\n // when the waitlist entry has been canceled but not before.\n // In seconds since Unix epoch.\n int64 canceled_time_seconds = 2;\n\n // The time the merchant was ready to serve the user.\n // service_readied_time_seconds must be populated after the merchant is\n // ready to serve the user but not before.\n // In seconds since Unix epoch.\n int64 service_readied_time_seconds = 3;\n\n // The actual time the user checked in with the host. checked_in_time must be\n // populated after the user has checked in with the merchant but not before.\n // In seconds since Unix epoch.\n int64 checked_in_time_seconds = 4;\n\n // The seated time for the user. seated_time_seconds must be populated\n // when the user has been seated but not before.\n // In seconds since Unix epoch.\n int64 seated_time_seconds = 5;\n\n // The time that the user was marked as a no-show. marked_no_show_time_seconds\n // must be populated when the user has been marked a no-show but not before.\n // In seconds since Unix epoch.\n int64 marked_no_show_time_seconds = 6;\n}\n\n// An entry in the waitlist.\nmessage WaitlistEntry {\n // Required.\n WaitlistEntryState waitlist_entry_state = 1;\n\n // Required. The times at which the waitlist entry changed state.\n WaitlistEntryStateTimes waitlist_entry_state_times = 2;\n\n // Required. Contains fields measuring how long (in time or # of people) until\n // the user is ready to leave the waitlist and be seated.\n WaitEstimate wait_estimate = 3;\n}\n```"]]