//Statusdatathatconveyswhycreatingawaitlistentryfails.//Ifthereisabusinesslogicerrorthatisnotcapturedhere,please//reachouttotheReservewithGoogleteamtoaddittothislist.Other//errorsshouldbereturnedusingstandardHTTPerrorcodes.messageWaitlistBusinessLogicFailure{enumCause{//Defaultvalue:Don't use; amounts to an "unknown error"//UnexpectederrorsmustbereturnedusingstandardHTTPerrorcodes.CAUSE_UNSPECIFIED=0;//Theuserhasalreadybookedawaitlistentrywiththepartner.EXISTING_WAITLIST_ENTRY=1;//Therequestedpartysizeisbelowthemerchant’sminimum.BELOW_MIN_PARTY_SIZE=2;//Therequestedpartysizeisabovethemerchant’smaximum.ABOVE_MAX_PARTY_SIZE=3;//Therequestedmerchantiscurrentlyclosed.MERCHANT_CLOSED=4;//Thereiscurrentlynowaitandtheusershouldwalkinwithoutjoining//thewaitlist.NO_WAIT=5;//Thewaitlistisatcapacityandnewusersarenotbeingacceptedatthis//time.WAITLIST_FULL=6;//Thecountryofthephonenumberisnotsupported.PHONE_NUMBER_COUNTRY_UNSUPPORTED=7;//Thewaitlistisclosedandnotacceptingnewusers.Thisisexpectedwhen//thewaitlistentersstateCLOSED_OTHERaftertheuserhasalreadyseena//waitestimate.WAITLIST_CLOSED=8;}//Required.Thereasonwhythebookingfailed.Causecause=1;//Thisoptionalfieldisusedforthepartnertoincludeadditional//informationfordebuggingpurposesonly.stringdescription=2;}
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-11-26 UTC"],[[["`WaitlistEntry` creation can fail due to various business logic reasons, such as existing entries, party size constraints, merchant status (closed or no wait), waitlist capacity, unsupported phone number country, or waitlist closure."],["If the failure reason isn't explicitly listed in `WaitlistBusinessLogicFailure`, standard HTTP error codes should be used instead, and unexpected errors should be reported."],["`WaitlistBusinessLogicFailure` includes a `cause` field to specify the reason for the failure and an optional `description` field for debugging purposes."]]],[]]