@51eat/sdk 0.0.61 → 0.0.63

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.
Files changed (329) hide show
  1. package/README.md +13 -15
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +9 -0
  4. package/dist/cjs/Client.js +35 -20
  5. package/dist/cjs/api/resources/business/resources/bulletins/client/Client.d.ts +7 -0
  6. package/dist/cjs/api/resources/business/resources/bulletins/client/Client.js +21 -0
  7. package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.ts +0 -12
  8. package/dist/cjs/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.ts +0 -12
  9. package/dist/cjs/api/resources/business/resources/events/client/Client.d.ts +8 -0
  10. package/dist/cjs/api/resources/business/resources/events/client/Client.js +24 -0
  11. package/dist/cjs/api/resources/business/resources/events/client/requests/StoreEventRequest.d.ts +1 -1
  12. package/dist/cjs/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.ts +1 -1
  13. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.d.ts +2 -0
  14. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.js +6 -0
  15. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/Client.d.ts +2 -0
  16. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/Client.js +6 -0
  17. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/Client.d.ts +2 -0
  18. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/Client.js +6 -0
  19. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.d.ts +1 -1
  20. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.ts +1 -1
  21. package/dist/cjs/api/resources/business/resources/menus/client/Client.d.ts +5 -0
  22. package/dist/cjs/api/resources/business/resources/menus/client/Client.js +15 -0
  23. package/dist/cjs/api/resources/business/resources/menus/resources/groups/client/Client.d.ts +5 -2
  24. package/dist/cjs/api/resources/business/resources/menus/resources/groups/client/Client.js +10 -1
  25. package/dist/cjs/api/resources/business/resources/menus/resources/groups/client/requests/{ReorderGroupsRequest.d.ts → ReorderMenuGroupsRequest.d.ts} +3 -3
  26. package/dist/cjs/api/resources/business/resources/menus/resources/groups/client/requests/index.d.ts +1 -1
  27. package/dist/cjs/api/resources/business/resources/menus/resources/items/client/Client.d.ts +7 -4
  28. package/dist/cjs/api/resources/business/resources/menus/resources/items/client/Client.js +11 -2
  29. package/dist/{esm/api/resources/business/resources/menus/resources/items/client/requests/MoveItemsRequest.d.mts → cjs/api/resources/business/resources/menus/resources/items/client/requests/MoveMenuItemRequest.d.ts} +1 -1
  30. package/dist/cjs/api/resources/business/resources/menus/resources/items/client/requests/{ReorderItemsRequest.d.ts → ReorderMenuItemsRequest.d.ts} +3 -3
  31. package/dist/cjs/api/resources/business/resources/menus/resources/items/client/requests/index.d.ts +2 -2
  32. package/dist/cjs/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.d.ts +2 -0
  33. package/dist/cjs/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.js +6 -0
  34. package/dist/cjs/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.d.ts +2 -0
  35. package/dist/cjs/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.js +6 -0
  36. package/dist/cjs/api/resources/business/resources/productCategories/client/Client.d.ts +4 -0
  37. package/dist/cjs/api/resources/business/resources/productCategories/client/Client.js +12 -0
  38. package/dist/cjs/api/resources/business/resources/products/client/Client.d.ts +4 -0
  39. package/dist/cjs/api/resources/business/resources/products/client/Client.js +12 -0
  40. package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.d.ts +1 -0
  41. package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.js +3 -0
  42. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.d.ts +1 -0
  43. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.js +3 -0
  44. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.ts +1 -0
  45. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.js +3 -0
  46. package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.ts +0 -13
  47. package/dist/cjs/api/resources/businessHours/client/Client.d.ts +91 -0
  48. package/dist/cjs/api/resources/businessHours/client/Client.js +361 -0
  49. package/dist/cjs/api/resources/businessHours/client/index.d.ts +1 -0
  50. package/dist/cjs/api/resources/businessHours/client/index.js +17 -0
  51. package/dist/cjs/api/resources/businessHours/client/requests/DeleteBusinessHourExceptionRequest.d.ts +10 -0
  52. package/dist/cjs/api/resources/businessHours/client/requests/DeleteBusinessHourExceptionRequest.js +3 -0
  53. package/dist/cjs/api/resources/businessHours/client/requests/StoreBusinessHourExceptionRequest.d.ts +16 -0
  54. package/dist/cjs/api/resources/businessHours/client/requests/StoreBusinessHourExceptionRequest.js +3 -0
  55. package/dist/cjs/api/resources/businessHours/client/requests/UpdateBusinessHourExceptionRequest.d.ts +19 -0
  56. package/dist/cjs/api/resources/businessHours/client/requests/UpdateBusinessHourExceptionRequest.js +3 -0
  57. package/dist/cjs/api/resources/businessHours/client/requests/UpdateBusinessHoursRequest.d.ts +25 -0
  58. package/dist/cjs/api/resources/businessHours/client/requests/UpdateBusinessHoursRequest.js +3 -0
  59. package/dist/cjs/api/resources/businessHours/client/requests/index.d.ts +4 -0
  60. package/dist/cjs/api/resources/businessHours/client/requests/index.js +2 -0
  61. package/dist/cjs/api/resources/businessHours/exports.d.ts +2 -0
  62. package/dist/cjs/api/resources/businessHours/exports.js +21 -0
  63. package/dist/cjs/api/resources/businessHours/index.d.ts +2 -0
  64. package/dist/cjs/api/resources/businessHours/index.js +18 -0
  65. package/dist/cjs/api/resources/businessHours/types/CreateBusinessHourExceptionResponse.d.ts +4 -0
  66. package/dist/cjs/api/resources/businessHours/types/CreateBusinessHourExceptionResponse.js +3 -0
  67. package/dist/cjs/api/resources/businessHours/types/GetBusinessHoursResponse.d.ts +4 -0
  68. package/dist/cjs/api/resources/businessHours/types/GetBusinessHoursResponse.js +3 -0
  69. package/dist/cjs/api/resources/businessHours/types/UpdateBusinessHourExceptionResponse.d.ts +4 -0
  70. package/dist/cjs/api/resources/businessHours/types/UpdateBusinessHourExceptionResponse.js +3 -0
  71. package/dist/cjs/api/resources/businessHours/types/UpdateBusinessHoursResponse.d.ts +4 -0
  72. package/dist/cjs/api/resources/businessHours/types/UpdateBusinessHoursResponse.js +3 -0
  73. package/dist/cjs/api/resources/businessHours/types/index.d.ts +4 -0
  74. package/dist/cjs/api/resources/businessHours/types/index.js +20 -0
  75. package/dist/cjs/api/resources/businessProducts/client/Client.d.ts +2 -0
  76. package/dist/cjs/api/resources/businessProducts/client/Client.js +6 -0
  77. package/dist/cjs/api/resources/businessStands/client/Client.d.ts +106 -0
  78. package/dist/cjs/api/resources/businessStands/client/Client.js +421 -0
  79. package/dist/cjs/api/resources/businessStands/client/index.d.ts +1 -0
  80. package/dist/cjs/api/resources/businessStands/client/index.js +17 -0
  81. package/dist/cjs/api/resources/businessStands/client/requests/DeleteBusinessStandRequest.d.ts +10 -0
  82. package/dist/cjs/api/resources/businessStands/client/requests/DeleteBusinessStandRequest.js +3 -0
  83. package/dist/cjs/api/resources/businessStands/client/requests/GetBusinessStandRequest.d.ts +10 -0
  84. package/dist/cjs/api/resources/businessStands/client/requests/GetBusinessStandRequest.js +3 -0
  85. package/dist/cjs/api/resources/businessStands/client/requests/StoreStandRequest.d.ts +18 -0
  86. package/dist/cjs/api/resources/businessStands/client/requests/StoreStandRequest.js +3 -0
  87. package/dist/cjs/api/resources/businessStands/client/requests/SyncStandProductsRequest.d.ts +12 -0
  88. package/dist/cjs/api/resources/businessStands/client/requests/SyncStandProductsRequest.js +3 -0
  89. package/dist/cjs/api/resources/businessStands/client/requests/UpdateStandRequest.d.ts +20 -0
  90. package/dist/cjs/api/resources/businessStands/client/requests/UpdateStandRequest.js +3 -0
  91. package/dist/cjs/api/resources/businessStands/client/requests/index.d.ts +5 -0
  92. package/dist/cjs/api/resources/businessStands/client/requests/index.js +2 -0
  93. package/dist/cjs/api/resources/businessStands/exports.d.ts +2 -0
  94. package/dist/cjs/api/resources/businessStands/exports.js +21 -0
  95. package/dist/cjs/api/resources/businessStands/index.d.ts +2 -0
  96. package/dist/cjs/api/resources/businessStands/index.js +18 -0
  97. package/dist/cjs/api/resources/businessStands/types/CreateBusinessStandResponse.d.ts +4 -0
  98. package/dist/cjs/api/resources/businessStands/types/CreateBusinessStandResponse.js +3 -0
  99. package/dist/cjs/api/resources/businessStands/types/GetBusinessStandResponse.d.ts +4 -0
  100. package/dist/cjs/api/resources/businessStands/types/GetBusinessStandResponse.js +3 -0
  101. package/dist/cjs/api/resources/businessStands/types/ListBusinessStandsResponse.d.ts +4 -0
  102. package/dist/cjs/api/resources/businessStands/types/ListBusinessStandsResponse.js +3 -0
  103. package/dist/cjs/api/resources/businessStands/types/UpdateBusinessStandResponse.d.ts +4 -0
  104. package/dist/cjs/api/resources/businessStands/types/UpdateBusinessStandResponse.js +3 -0
  105. package/dist/cjs/api/resources/businessStands/types/index.d.ts +4 -0
  106. package/dist/cjs/api/resources/businessStands/types/index.js +20 -0
  107. package/dist/cjs/api/resources/customerStands/client/Client.d.ts +63 -0
  108. package/dist/cjs/api/resources/customerStands/client/Client.js +245 -0
  109. package/dist/cjs/api/resources/customerStands/client/index.d.ts +1 -0
  110. package/dist/cjs/api/resources/customerStands/client/index.js +17 -0
  111. package/dist/cjs/api/resources/customerStands/client/requests/CreateStandPaymentIntentRequest.d.ts +11 -0
  112. package/dist/cjs/api/resources/customerStands/client/requests/CreateStandPaymentIntentRequest.js +3 -0
  113. package/dist/cjs/api/resources/customerStands/client/requests/ScanStandRequest.d.ts +10 -0
  114. package/dist/cjs/api/resources/customerStands/client/requests/ScanStandRequest.js +3 -0
  115. package/dist/cjs/api/resources/customerStands/client/requests/SelfCheckoutRequest.d.ts +12 -0
  116. package/dist/cjs/api/resources/customerStands/client/requests/SelfCheckoutRequest.js +3 -0
  117. package/dist/cjs/api/resources/customerStands/client/requests/index.d.ts +3 -0
  118. package/dist/cjs/api/resources/customerStands/client/requests/index.js +2 -0
  119. package/dist/cjs/api/resources/customerStands/exports.d.ts +2 -0
  120. package/dist/cjs/api/resources/customerStands/exports.js +21 -0
  121. package/dist/cjs/api/resources/customerStands/index.d.ts +2 -0
  122. package/dist/cjs/api/resources/customerStands/index.js +18 -0
  123. package/dist/cjs/api/resources/customerStands/types/CreateStandPaymentIntentResponse.d.ts +6 -0
  124. package/dist/cjs/api/resources/customerStands/types/CreateStandPaymentIntentResponse.js +3 -0
  125. package/dist/cjs/api/resources/customerStands/types/ScanStandResponse.d.ts +4 -0
  126. package/dist/cjs/api/resources/customerStands/types/ScanStandResponse.js +3 -0
  127. package/dist/cjs/api/resources/customerStands/types/StandCheckoutResponse.d.ts +4 -0
  128. package/dist/cjs/api/resources/customerStands/types/StandCheckoutResponse.js +3 -0
  129. package/dist/cjs/api/resources/customerStands/types/index.d.ts +3 -0
  130. package/dist/cjs/api/resources/customerStands/types/index.js +19 -0
  131. package/dist/cjs/api/resources/index.d.ts +9 -0
  132. package/dist/cjs/api/resources/index.js +10 -1
  133. package/dist/cjs/api/types/BusinessEvent.d.ts +3 -0
  134. package/dist/cjs/api/types/BusinessHourExceptionResource.d.ts +10 -0
  135. package/dist/cjs/api/types/BusinessHourExceptionResource.js +3 -0
  136. package/dist/cjs/api/types/BusinessHourSlotResource.d.ts +6 -0
  137. package/dist/cjs/api/types/BusinessHourSlotResource.js +3 -0
  138. package/dist/cjs/api/types/BusinessHoursResource.d.ts +7 -0
  139. package/dist/cjs/api/types/BusinessHoursResource.js +3 -0
  140. package/dist/cjs/api/types/BusinessInventoryLog.d.ts +2 -2
  141. package/dist/cjs/api/types/BusinessMenu.d.ts +1 -0
  142. package/dist/cjs/api/types/BusinessMenuItem.d.ts +5 -1
  143. package/dist/cjs/api/types/BusinessProduct.d.ts +14 -0
  144. package/dist/cjs/api/types/BusinessProductCategory.d.ts +1 -0
  145. package/dist/cjs/api/types/BusinessProfile.d.ts +6 -9
  146. package/dist/cjs/api/types/BusinessScheduleDayResource.d.ts +5 -0
  147. package/dist/cjs/api/types/BusinessScheduleDayResource.js +3 -0
  148. package/dist/cjs/api/types/BusinessStand.d.ts +16 -0
  149. package/dist/cjs/api/types/BusinessStand.js +3 -0
  150. package/dist/cjs/api/types/CustomerBusinessProfile.d.ts +6 -10
  151. package/dist/cjs/api/types/CustomerCartItem.d.ts +1 -1
  152. package/dist/cjs/api/types/CustomerEventDetail.d.ts +1 -1
  153. package/dist/cjs/api/types/EventFeedItem.d.ts +1 -1
  154. package/dist/cjs/api/types/ExploreEvent.d.ts +2 -1
  155. package/dist/cjs/api/types/ExploreTemporaryLocation.d.ts +2 -1
  156. package/dist/cjs/api/types/StandShop.d.ts +24 -0
  157. package/dist/cjs/api/types/StandShop.js +3 -0
  158. package/dist/cjs/api/types/index.d.ts +6 -0
  159. package/dist/cjs/api/types/index.js +6 -0
  160. package/dist/cjs/version.d.ts +1 -1
  161. package/dist/cjs/version.js +1 -1
  162. package/dist/esm/BaseClient.mjs +2 -2
  163. package/dist/esm/Client.d.mts +9 -0
  164. package/dist/esm/Client.mjs +15 -0
  165. package/dist/esm/api/resources/business/resources/bulletins/client/Client.d.mts +7 -0
  166. package/dist/esm/api/resources/business/resources/bulletins/client/Client.mjs +21 -0
  167. package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +0 -12
  168. package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.mts +0 -12
  169. package/dist/esm/api/resources/business/resources/events/client/Client.d.mts +8 -0
  170. package/dist/esm/api/resources/business/resources/events/client/Client.mjs +24 -0
  171. package/dist/esm/api/resources/business/resources/events/client/requests/StoreEventRequest.d.mts +1 -1
  172. package/dist/esm/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.mts +1 -1
  173. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts +2 -0
  174. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.mjs +6 -0
  175. package/dist/esm/api/resources/business/resources/events/resources/orders/client/Client.d.mts +2 -0
  176. package/dist/esm/api/resources/business/resources/events/resources/orders/client/Client.mjs +6 -0
  177. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/Client.d.mts +2 -0
  178. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/Client.mjs +6 -0
  179. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.d.mts +1 -1
  180. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.mts +1 -1
  181. package/dist/esm/api/resources/business/resources/menus/client/Client.d.mts +5 -0
  182. package/dist/esm/api/resources/business/resources/menus/client/Client.mjs +15 -0
  183. package/dist/esm/api/resources/business/resources/menus/resources/groups/client/Client.d.mts +5 -2
  184. package/dist/esm/api/resources/business/resources/menus/resources/groups/client/Client.mjs +10 -1
  185. package/dist/esm/api/resources/business/resources/menus/resources/groups/client/requests/{ReorderGroupsRequest.d.mts → ReorderMenuGroupsRequest.d.mts} +3 -3
  186. package/dist/esm/api/resources/business/resources/menus/resources/groups/client/requests/index.d.mts +1 -1
  187. package/dist/esm/api/resources/business/resources/menus/resources/items/client/Client.d.mts +7 -4
  188. package/dist/esm/api/resources/business/resources/menus/resources/items/client/Client.mjs +11 -2
  189. package/dist/{cjs/api/resources/business/resources/menus/resources/items/client/requests/MoveItemsRequest.d.ts → esm/api/resources/business/resources/menus/resources/items/client/requests/MoveMenuItemRequest.d.mts} +1 -1
  190. package/dist/esm/api/resources/business/resources/menus/resources/items/client/requests/{ReorderItemsRequest.d.mts → ReorderMenuItemsRequest.d.mts} +3 -3
  191. package/dist/esm/api/resources/business/resources/menus/resources/items/client/requests/index.d.mts +2 -2
  192. package/dist/esm/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.d.mts +2 -0
  193. package/dist/esm/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.mjs +6 -0
  194. package/dist/esm/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.d.mts +2 -0
  195. package/dist/esm/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.mjs +6 -0
  196. package/dist/esm/api/resources/business/resources/productCategories/client/Client.d.mts +4 -0
  197. package/dist/esm/api/resources/business/resources/productCategories/client/Client.mjs +12 -0
  198. package/dist/esm/api/resources/business/resources/products/client/Client.d.mts +4 -0
  199. package/dist/esm/api/resources/business/resources/products/client/Client.mjs +12 -0
  200. package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.d.mts +1 -0
  201. package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.mjs +3 -0
  202. package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.d.mts +1 -0
  203. package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.mjs +3 -0
  204. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.mts +1 -0
  205. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.mjs +3 -0
  206. package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.mts +0 -13
  207. package/dist/esm/api/resources/businessHours/client/Client.d.mts +91 -0
  208. package/dist/esm/api/resources/businessHours/client/Client.mjs +324 -0
  209. package/dist/esm/api/resources/businessHours/client/index.d.mts +1 -0
  210. package/dist/esm/api/resources/businessHours/client/index.mjs +1 -0
  211. package/dist/esm/api/resources/businessHours/client/requests/DeleteBusinessHourExceptionRequest.d.mts +10 -0
  212. package/dist/esm/api/resources/businessHours/client/requests/DeleteBusinessHourExceptionRequest.mjs +2 -0
  213. package/dist/esm/api/resources/businessHours/client/requests/StoreBusinessHourExceptionRequest.d.mts +16 -0
  214. package/dist/esm/api/resources/businessHours/client/requests/StoreBusinessHourExceptionRequest.mjs +2 -0
  215. package/dist/esm/api/resources/businessHours/client/requests/UpdateBusinessHourExceptionRequest.d.mts +19 -0
  216. package/dist/esm/api/resources/businessHours/client/requests/UpdateBusinessHourExceptionRequest.mjs +2 -0
  217. package/dist/esm/api/resources/businessHours/client/requests/UpdateBusinessHoursRequest.d.mts +25 -0
  218. package/dist/esm/api/resources/businessHours/client/requests/UpdateBusinessHoursRequest.mjs +2 -0
  219. package/dist/esm/api/resources/businessHours/client/requests/index.d.mts +4 -0
  220. package/dist/esm/api/resources/businessHours/client/requests/index.mjs +1 -0
  221. package/dist/esm/api/resources/businessHours/exports.d.mts +2 -0
  222. package/dist/esm/api/resources/businessHours/exports.mjs +3 -0
  223. package/dist/esm/api/resources/businessHours/index.d.mts +2 -0
  224. package/dist/esm/api/resources/businessHours/index.mjs +2 -0
  225. package/dist/esm/api/resources/businessHours/types/CreateBusinessHourExceptionResponse.d.mts +4 -0
  226. package/dist/esm/api/resources/businessHours/types/CreateBusinessHourExceptionResponse.mjs +2 -0
  227. package/dist/esm/api/resources/businessHours/types/GetBusinessHoursResponse.d.mts +4 -0
  228. package/dist/esm/api/resources/businessHours/types/GetBusinessHoursResponse.mjs +2 -0
  229. package/dist/esm/api/resources/businessHours/types/UpdateBusinessHourExceptionResponse.d.mts +4 -0
  230. package/dist/esm/api/resources/businessHours/types/UpdateBusinessHourExceptionResponse.mjs +2 -0
  231. package/dist/esm/api/resources/businessHours/types/UpdateBusinessHoursResponse.d.mts +4 -0
  232. package/dist/esm/api/resources/businessHours/types/UpdateBusinessHoursResponse.mjs +2 -0
  233. package/dist/esm/api/resources/businessHours/types/index.d.mts +4 -0
  234. package/dist/esm/api/resources/businessHours/types/index.mjs +4 -0
  235. package/dist/esm/api/resources/businessProducts/client/Client.d.mts +2 -0
  236. package/dist/esm/api/resources/businessProducts/client/Client.mjs +6 -0
  237. package/dist/esm/api/resources/businessStands/client/Client.d.mts +106 -0
  238. package/dist/esm/api/resources/businessStands/client/Client.mjs +384 -0
  239. package/dist/esm/api/resources/businessStands/client/index.d.mts +1 -0
  240. package/dist/esm/api/resources/businessStands/client/index.mjs +1 -0
  241. package/dist/esm/api/resources/businessStands/client/requests/DeleteBusinessStandRequest.d.mts +10 -0
  242. package/dist/esm/api/resources/businessStands/client/requests/DeleteBusinessStandRequest.mjs +2 -0
  243. package/dist/esm/api/resources/businessStands/client/requests/GetBusinessStandRequest.d.mts +10 -0
  244. package/dist/esm/api/resources/businessStands/client/requests/GetBusinessStandRequest.mjs +2 -0
  245. package/dist/esm/api/resources/businessStands/client/requests/StoreStandRequest.d.mts +18 -0
  246. package/dist/esm/api/resources/businessStands/client/requests/StoreStandRequest.mjs +2 -0
  247. package/dist/esm/api/resources/businessStands/client/requests/SyncStandProductsRequest.d.mts +12 -0
  248. package/dist/esm/api/resources/businessStands/client/requests/SyncStandProductsRequest.mjs +2 -0
  249. package/dist/esm/api/resources/businessStands/client/requests/UpdateStandRequest.d.mts +20 -0
  250. package/dist/esm/api/resources/businessStands/client/requests/UpdateStandRequest.mjs +2 -0
  251. package/dist/esm/api/resources/businessStands/client/requests/index.d.mts +5 -0
  252. package/dist/esm/api/resources/businessStands/client/requests/index.mjs +1 -0
  253. package/dist/esm/api/resources/businessStands/exports.d.mts +2 -0
  254. package/dist/esm/api/resources/businessStands/exports.mjs +3 -0
  255. package/dist/esm/api/resources/businessStands/index.d.mts +2 -0
  256. package/dist/esm/api/resources/businessStands/index.mjs +2 -0
  257. package/dist/esm/api/resources/businessStands/types/CreateBusinessStandResponse.d.mts +4 -0
  258. package/dist/esm/api/resources/businessStands/types/CreateBusinessStandResponse.mjs +2 -0
  259. package/dist/esm/api/resources/businessStands/types/GetBusinessStandResponse.d.mts +4 -0
  260. package/dist/esm/api/resources/businessStands/types/GetBusinessStandResponse.mjs +2 -0
  261. package/dist/esm/api/resources/businessStands/types/ListBusinessStandsResponse.d.mts +4 -0
  262. package/dist/esm/api/resources/businessStands/types/ListBusinessStandsResponse.mjs +2 -0
  263. package/dist/esm/api/resources/businessStands/types/UpdateBusinessStandResponse.d.mts +4 -0
  264. package/dist/esm/api/resources/businessStands/types/UpdateBusinessStandResponse.mjs +2 -0
  265. package/dist/esm/api/resources/businessStands/types/index.d.mts +4 -0
  266. package/dist/esm/api/resources/businessStands/types/index.mjs +4 -0
  267. package/dist/esm/api/resources/customerStands/client/Client.d.mts +63 -0
  268. package/dist/esm/api/resources/customerStands/client/Client.mjs +208 -0
  269. package/dist/esm/api/resources/customerStands/client/index.d.mts +1 -0
  270. package/dist/esm/api/resources/customerStands/client/index.mjs +1 -0
  271. package/dist/esm/api/resources/customerStands/client/requests/CreateStandPaymentIntentRequest.d.mts +11 -0
  272. package/dist/esm/api/resources/customerStands/client/requests/CreateStandPaymentIntentRequest.mjs +2 -0
  273. package/dist/esm/api/resources/customerStands/client/requests/ScanStandRequest.d.mts +10 -0
  274. package/dist/esm/api/resources/customerStands/client/requests/ScanStandRequest.mjs +2 -0
  275. package/dist/esm/api/resources/customerStands/client/requests/SelfCheckoutRequest.d.mts +12 -0
  276. package/dist/esm/api/resources/customerStands/client/requests/SelfCheckoutRequest.mjs +2 -0
  277. package/dist/esm/api/resources/customerStands/client/requests/index.d.mts +3 -0
  278. package/dist/esm/api/resources/customerStands/client/requests/index.mjs +1 -0
  279. package/dist/esm/api/resources/customerStands/exports.d.mts +2 -0
  280. package/dist/esm/api/resources/customerStands/exports.mjs +3 -0
  281. package/dist/esm/api/resources/customerStands/index.d.mts +2 -0
  282. package/dist/esm/api/resources/customerStands/index.mjs +2 -0
  283. package/dist/esm/api/resources/customerStands/types/CreateStandPaymentIntentResponse.d.mts +6 -0
  284. package/dist/esm/api/resources/customerStands/types/CreateStandPaymentIntentResponse.mjs +2 -0
  285. package/dist/esm/api/resources/customerStands/types/ScanStandResponse.d.mts +4 -0
  286. package/dist/esm/api/resources/customerStands/types/ScanStandResponse.mjs +2 -0
  287. package/dist/esm/api/resources/customerStands/types/StandCheckoutResponse.d.mts +4 -0
  288. package/dist/esm/api/resources/customerStands/types/StandCheckoutResponse.mjs +2 -0
  289. package/dist/esm/api/resources/customerStands/types/index.d.mts +3 -0
  290. package/dist/esm/api/resources/customerStands/types/index.mjs +3 -0
  291. package/dist/esm/api/resources/index.d.mts +9 -0
  292. package/dist/esm/api/resources/index.mjs +9 -0
  293. package/dist/esm/api/types/BusinessEvent.d.mts +3 -0
  294. package/dist/esm/api/types/BusinessHourExceptionResource.d.mts +10 -0
  295. package/dist/esm/api/types/BusinessHourExceptionResource.mjs +2 -0
  296. package/dist/esm/api/types/BusinessHourSlotResource.d.mts +6 -0
  297. package/dist/esm/api/types/BusinessHourSlotResource.mjs +2 -0
  298. package/dist/esm/api/types/BusinessHoursResource.d.mts +7 -0
  299. package/dist/esm/api/types/BusinessHoursResource.mjs +2 -0
  300. package/dist/esm/api/types/BusinessInventoryLog.d.mts +2 -2
  301. package/dist/esm/api/types/BusinessMenu.d.mts +1 -0
  302. package/dist/esm/api/types/BusinessMenuItem.d.mts +5 -1
  303. package/dist/esm/api/types/BusinessProduct.d.mts +14 -0
  304. package/dist/esm/api/types/BusinessProductCategory.d.mts +1 -0
  305. package/dist/esm/api/types/BusinessProfile.d.mts +6 -9
  306. package/dist/esm/api/types/BusinessScheduleDayResource.d.mts +5 -0
  307. package/dist/esm/api/types/BusinessScheduleDayResource.mjs +2 -0
  308. package/dist/esm/api/types/BusinessStand.d.mts +16 -0
  309. package/dist/esm/api/types/BusinessStand.mjs +2 -0
  310. package/dist/esm/api/types/CustomerBusinessProfile.d.mts +6 -10
  311. package/dist/esm/api/types/CustomerCartItem.d.mts +1 -1
  312. package/dist/esm/api/types/CustomerEventDetail.d.mts +1 -1
  313. package/dist/esm/api/types/EventFeedItem.d.mts +1 -1
  314. package/dist/esm/api/types/ExploreEvent.d.mts +2 -1
  315. package/dist/esm/api/types/ExploreTemporaryLocation.d.mts +2 -1
  316. package/dist/esm/api/types/StandShop.d.mts +24 -0
  317. package/dist/esm/api/types/StandShop.mjs +2 -0
  318. package/dist/esm/api/types/index.d.mts +6 -0
  319. package/dist/esm/api/types/index.mjs +6 -0
  320. package/dist/esm/version.d.mts +1 -1
  321. package/dist/esm/version.mjs +1 -1
  322. package/package.json +34 -1
  323. package/reference.md +809 -57
  324. /package/dist/cjs/api/resources/business/resources/menus/resources/groups/client/requests/{ReorderGroupsRequest.js → ReorderMenuGroupsRequest.js} +0 -0
  325. /package/dist/cjs/api/resources/business/resources/menus/resources/items/client/requests/{MoveItemsRequest.js → MoveMenuItemRequest.js} +0 -0
  326. /package/dist/cjs/api/resources/business/resources/menus/resources/items/client/requests/{ReorderItemsRequest.js → ReorderMenuItemsRequest.js} +0 -0
  327. /package/dist/esm/api/resources/business/resources/menus/resources/groups/client/requests/{ReorderGroupsRequest.mjs → ReorderMenuGroupsRequest.mjs} +0 -0
  328. /package/dist/esm/api/resources/business/resources/menus/resources/items/client/requests/{MoveItemsRequest.mjs → MoveMenuItemRequest.mjs} +0 -0
  329. /package/dist/esm/api/resources/business/resources/menus/resources/items/client/requests/{ReorderItemsRequest.mjs → ReorderMenuItemsRequest.mjs} +0 -0
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from "./CreateStandPaymentIntentResponse.js";
2
+ export * from "./ScanStandResponse.js";
3
+ export * from "./StandCheckoutResponse.js";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CreateStandPaymentIntentResponse.js"), exports);
18
+ __exportStar(require("./ScanStandResponse.js"), exports);
19
+ __exportStar(require("./StandCheckoutResponse.js"), exports);
@@ -1,4 +1,7 @@
1
1
  export * as business from "./business/index.js";
2
+ export * from "./businessHours/client/requests/index.js";
3
+ export * as businessHours from "./businessHours/index.js";
4
+ export * from "./businessHours/types/index.js";
2
5
  export * from "./businessMessaging/client/requests/index.js";
3
6
  export * as businessMessaging from "./businessMessaging/index.js";
4
7
  export * from "./businessMessaging/types/index.js";
@@ -8,6 +11,9 @@ export * from "./businessProducts/types/index.js";
8
11
  export * from "./businessShipping/client/requests/index.js";
9
12
  export * as businessShipping from "./businessShipping/index.js";
10
13
  export * from "./businessShipping/types/index.js";
14
+ export * from "./businessStands/client/requests/index.js";
15
+ export * as businessStands from "./businessStands/index.js";
16
+ export * from "./businessStands/types/index.js";
11
17
  export * from "./customer/client/requests/index.js";
12
18
  export * as customer from "./customer/index.js";
13
19
  export * from "./customer/types/index.js";
@@ -22,6 +28,9 @@ export * from "./customerMessaging/types/index.js";
22
28
  export * from "./customerMyAccount/client/requests/index.js";
23
29
  export * as customerMyAccount from "./customerMyAccount/index.js";
24
30
  export * from "./customerMyAccount/types/index.js";
31
+ export * from "./customerStands/client/requests/index.js";
32
+ export * as customerStands from "./customerStands/index.js";
33
+ export * from "./customerStands/types/index.js";
25
34
  export * from "./recordClick/client/requests/index.js";
26
35
  export * as recordClick from "./recordClick/index.js";
27
36
  export * from "./serveAd/client/requests/index.js";
@@ -36,8 +36,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.serveAd = exports.recordClick = exports.customerMyAccount = exports.customerMessaging = exports.customerEvents = exports.customerBusinesses = exports.customer = exports.businessShipping = exports.businessProducts = exports.businessMessaging = exports.business = void 0;
39
+ exports.serveAd = exports.recordClick = exports.customerStands = exports.customerMyAccount = exports.customerMessaging = exports.customerEvents = exports.customerBusinesses = exports.customer = exports.businessStands = exports.businessShipping = exports.businessProducts = exports.businessMessaging = exports.businessHours = exports.business = void 0;
40
40
  exports.business = __importStar(require("./business/index.js"));
41
+ __exportStar(require("./businessHours/client/requests/index.js"), exports);
42
+ exports.businessHours = __importStar(require("./businessHours/index.js"));
43
+ __exportStar(require("./businessHours/types/index.js"), exports);
41
44
  __exportStar(require("./businessMessaging/client/requests/index.js"), exports);
42
45
  exports.businessMessaging = __importStar(require("./businessMessaging/index.js"));
43
46
  __exportStar(require("./businessMessaging/types/index.js"), exports);
@@ -47,6 +50,9 @@ __exportStar(require("./businessProducts/types/index.js"), exports);
47
50
  __exportStar(require("./businessShipping/client/requests/index.js"), exports);
48
51
  exports.businessShipping = __importStar(require("./businessShipping/index.js"));
49
52
  __exportStar(require("./businessShipping/types/index.js"), exports);
53
+ __exportStar(require("./businessStands/client/requests/index.js"), exports);
54
+ exports.businessStands = __importStar(require("./businessStands/index.js"));
55
+ __exportStar(require("./businessStands/types/index.js"), exports);
50
56
  __exportStar(require("./customer/client/requests/index.js"), exports);
51
57
  exports.customer = __importStar(require("./customer/index.js"));
52
58
  __exportStar(require("./customer/types/index.js"), exports);
@@ -61,6 +67,9 @@ __exportStar(require("./customerMessaging/types/index.js"), exports);
61
67
  __exportStar(require("./customerMyAccount/client/requests/index.js"), exports);
62
68
  exports.customerMyAccount = __importStar(require("./customerMyAccount/index.js"));
63
69
  __exportStar(require("./customerMyAccount/types/index.js"), exports);
70
+ __exportStar(require("./customerStands/client/requests/index.js"), exports);
71
+ exports.customerStands = __importStar(require("./customerStands/index.js"));
72
+ __exportStar(require("./customerStands/types/index.js"), exports);
64
73
  __exportStar(require("./recordClick/client/requests/index.js"), exports);
65
74
  exports.recordClick = __importStar(require("./recordClick/index.js"));
66
75
  __exportStar(require("./serveAd/client/requests/index.js"), exports);
@@ -1,5 +1,7 @@
1
+ import type * as FiveOneEat from "../index.js";
1
2
  export interface BusinessEvent {
2
3
  id: string;
4
+ business_id: string;
3
5
  title: string;
4
6
  description: string | null;
5
7
  starts_at: string;
@@ -12,6 +14,7 @@ export interface BusinessEvent {
12
14
  published_at: string | null;
13
15
  sort_order: number;
14
16
  image?: string | undefined;
17
+ ticket_types?: FiveOneEat.BusinessEventTicketType[] | undefined;
15
18
  rsvps_count?: number | undefined;
16
19
  attendees_count?: number | undefined;
17
20
  tickets_count?: number | undefined;
@@ -0,0 +1,10 @@
1
+ export interface BusinessHourExceptionResource {
2
+ id: string;
3
+ starts_on: string;
4
+ ends_on: string | null;
5
+ is_closed: boolean;
6
+ opens_at: string | null;
7
+ closes_at: string | null;
8
+ label: string | null;
9
+ message: string | null;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ export interface BusinessHourSlotResource {
2
+ opens_at: string;
3
+ closes_at: string;
4
+ label: string | null;
5
+ sort_order: number;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type * as FiveOneEat from "../index.js";
2
+ export interface BusinessHoursResource {
3
+ is_open_now: boolean;
4
+ next_open_at: string | null;
5
+ schedule: FiveOneEat.BusinessScheduleDayResource[];
6
+ exceptions: FiveOneEat.BusinessHourExceptionResource[];
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,7 +9,7 @@ export interface BusinessInventoryLog {
9
9
  }
10
10
  export declare namespace BusinessInventoryLog {
11
11
  interface CreatedBy {
12
- id: string;
13
- name: string;
12
+ id: string | null;
13
+ name: string | null;
14
14
  }
15
15
  }
@@ -3,5 +3,6 @@ export interface BusinessMenu {
3
3
  id: string;
4
4
  name: string;
5
5
  description: string | null;
6
+ created_at: string | null;
6
7
  groups?: FiveOneEat.BusinessMenuGroup[] | undefined;
7
8
  }
@@ -7,13 +7,17 @@ export interface BusinessMenuItem {
7
7
  price: number | null;
8
8
  is_available: boolean;
9
9
  sort_order: number;
10
- image?: string | undefined;
10
+ image?: (BusinessMenuItem.Image | null) | undefined;
11
11
  tags?: BusinessMenuItem.Tags.Item[] | undefined;
12
12
  allergens?: BusinessMenuItem.Allergens.Item[] | undefined;
13
13
  variations?: FiveOneEat.BusinessMenuItemVariation[] | undefined;
14
14
  modifiers?: FiveOneEat.BusinessMenuItemModifier[] | undefined;
15
15
  }
16
16
  export declare namespace BusinessMenuItem {
17
+ interface Image {
18
+ id: string;
19
+ url: string;
20
+ }
17
21
  type Tags = Tags.Item[];
18
22
  namespace Tags {
19
23
  interface Item {
@@ -19,14 +19,28 @@ export interface BusinessProduct {
19
19
  weight: number | null;
20
20
  weight_unit: string | null;
21
21
  is_pre_order: boolean;
22
+ pre_order_release_date: string | null;
23
+ digital_download_limit: number | null;
24
+ digital_link_expiry_hours: number | null;
22
25
  taxable: boolean;
23
26
  tax_code: string | null;
24
27
  is_active: boolean;
25
28
  is_featured: boolean;
26
29
  sort_order: number;
30
+ published_at: string | null;
27
31
  variants?: FiveOneEat.BusinessProductVariant[] | undefined;
28
32
  images?: FiveOneEat.BusinessPhoto[] | undefined;
29
33
  categories?: FiveOneEat.BusinessProductCategory[] | undefined;
34
+ digital_files?: BusinessProduct.DigitalFiles.Item[] | undefined;
30
35
  created_at: string | null;
31
36
  updated_at: string | null;
32
37
  }
38
+ export declare namespace BusinessProduct {
39
+ type DigitalFiles = DigitalFiles.Item[];
40
+ namespace DigitalFiles {
41
+ interface Item {
42
+ id: string;
43
+ file_name: string;
44
+ }
45
+ }
46
+ }
@@ -6,6 +6,7 @@ export interface BusinessProductCategory {
6
6
  description: string | null;
7
7
  parent_id: string | null;
8
8
  sort_order: number;
9
+ is_active: boolean;
9
10
  children?: FiveOneEat.BusinessProductCategory[] | undefined;
10
11
  created_at: string | null;
11
12
  updated_at: string | null;
@@ -24,15 +24,13 @@ export interface BusinessProfile {
24
24
  has_location: boolean;
25
25
  logo: string | null;
26
26
  logo_url: string | null;
27
- hours: Record<string, BusinessProfile.Hours.Value>;
27
+ hours: BusinessProfile.Hours;
28
28
  seasonal: boolean;
29
29
  operating_months: number[];
30
30
  pickup_enabled: boolean;
31
31
  pickup_hours: Record<string, unknown>;
32
32
  same_day_cutoff: string | null;
33
33
  pickup_instructions: string | null;
34
- ownership: string[];
35
- badges: string[];
36
34
  founding_partner: boolean;
37
35
  staff_pick: boolean;
38
36
  favorites_count: number;
@@ -42,12 +40,11 @@ export interface BusinessProfile {
42
40
  active_temporary_locations?: FiveOneEat.CustomerTemporaryLocation[] | undefined;
43
41
  }
44
42
  export declare namespace BusinessProfile {
45
- namespace Hours {
46
- interface Value {
47
- isOpen: boolean;
48
- openTime: string;
49
- closeTime: string;
50
- }
43
+ interface Hours {
44
+ is_open_now: string;
45
+ next_open_at: string | null;
46
+ schedule: FiveOneEat.BusinessScheduleDayResource[];
47
+ exceptions: FiveOneEat.BusinessHourExceptionResource[];
51
48
  }
52
49
  type Cuisines = Cuisines.Item[];
53
50
  namespace Cuisines {
@@ -0,0 +1,5 @@
1
+ import type * as FiveOneEat from "../index.js";
2
+ export interface BusinessScheduleDayResource {
3
+ day: string;
4
+ slots: FiveOneEat.BusinessHourSlotResource[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ export interface BusinessStand {
2
+ id: string;
3
+ name: string;
4
+ slug: string;
5
+ address: string | null;
6
+ city: string | null;
7
+ state: string | null;
8
+ zipcode: string | null;
9
+ country: string | null;
10
+ latitude: number | null;
11
+ longitude: number | null;
12
+ notes: string | null;
13
+ is_active: boolean;
14
+ created_at: string | null;
15
+ updated_at: string | null;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -24,12 +24,9 @@ export interface CustomerBusinessProfile {
24
24
  linkedin_url: string | null;
25
25
  logo: string | null;
26
26
  cover_photo?: (string | null) | undefined;
27
- hours: Record<string, CustomerBusinessProfile.Hours.Value>;
27
+ hours: CustomerBusinessProfile.Hours;
28
28
  seasonal: boolean;
29
29
  operating_months: string[];
30
- ownership: string[];
31
- badges: string[];
32
- metadata: Record<string, unknown>;
33
30
  founding_partner: boolean;
34
31
  staff_pick: boolean;
35
32
  favorites_count: number;
@@ -40,12 +37,11 @@ export interface CustomerBusinessProfile {
40
37
  temporary_locations?: FiveOneEat.CustomerTemporaryLocation[] | undefined;
41
38
  }
42
39
  export declare namespace CustomerBusinessProfile {
43
- namespace Hours {
44
- interface Value {
45
- isOpen: boolean;
46
- openTime: string;
47
- closeTime: string;
48
- }
40
+ interface Hours {
41
+ is_open_now: string;
42
+ next_open_at: string | null;
43
+ schedule: FiveOneEat.BusinessScheduleDayResource[];
44
+ exceptions: FiveOneEat.BusinessHourExceptionResource[];
49
45
  }
50
46
  type Cuisines = Cuisines.Item[];
51
47
  namespace Cuisines {
@@ -14,7 +14,7 @@ export declare namespace CustomerCartItem {
14
14
  name: string;
15
15
  slug: string;
16
16
  product_type: string;
17
- image: string;
17
+ image: string | null;
18
18
  }
19
19
  interface Variant {
20
20
  id: string;
@@ -10,7 +10,7 @@ export interface CustomerEventDetail {
10
10
  ticket_sales_enabled: boolean;
11
11
  image: string | null;
12
12
  rsvp_count: number;
13
- user_rsvp_status?: string | undefined;
13
+ user_rsvp_status?: (string | null) | undefined;
14
14
  user_has_tickets?: boolean | undefined;
15
15
  ticket_price_from?: string | undefined;
16
16
  ticket_types?: FiveOneEat.CustomerEventTicketType[] | undefined;
@@ -9,7 +9,7 @@ export interface EventFeedItem {
9
9
  ticket_sales_enabled: boolean;
10
10
  image: string | null;
11
11
  rsvp_count: number;
12
- user_rsvp_status?: string | undefined;
12
+ user_rsvp_status?: (string | null) | undefined;
13
13
  user_has_tickets?: boolean | undefined;
14
14
  ticket_price_from?: string | undefined;
15
15
  business: EventFeedItem.Business;
@@ -1,3 +1,4 @@
1
+ import type * as FiveOneEat from "../index.js";
1
2
  export interface ExploreEvent {
2
3
  id: string;
3
4
  title: string;
@@ -16,6 +17,6 @@ export declare namespace ExploreEvent {
16
17
  name: string;
17
18
  handle: string;
18
19
  logo: string;
19
- category: string;
20
+ categories: FiveOneEat.BusinessCategory[];
20
21
  }
21
22
  }
@@ -1,3 +1,4 @@
1
+ import type * as FiveOneEat from "../index.js";
1
2
  export interface ExploreTemporaryLocation {
2
3
  id: string;
3
4
  title: string;
@@ -28,6 +29,6 @@ export declare namespace ExploreTemporaryLocation {
28
29
  name: string;
29
30
  handle: string;
30
31
  logo: string;
31
- category: string;
32
+ categories: FiveOneEat.BusinessCategory[];
32
33
  }
33
34
  }
@@ -0,0 +1,24 @@
1
+ import type * as FiveOneEat from "../index.js";
2
+ export interface StandShop {
3
+ stand: StandShop.Stand;
4
+ business: StandShop.Business;
5
+ products: FiveOneEat.CustomerShopProduct[];
6
+ }
7
+ export declare namespace StandShop {
8
+ interface Stand {
9
+ id: string;
10
+ name: string;
11
+ address: string;
12
+ city: string;
13
+ state: string;
14
+ latitude: string;
15
+ longitude: string;
16
+ notes: string;
17
+ }
18
+ interface Business {
19
+ id: string;
20
+ handle: string;
21
+ name: string;
22
+ accepts_payments: boolean;
23
+ }
24
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -47,6 +47,9 @@ export * from "./BusinessEventOrderDetail.js";
47
47
  export * from "./BusinessEventRsvp.js";
48
48
  export * from "./BusinessEventSalesSummary.js";
49
49
  export * from "./BusinessEventTicketType.js";
50
+ export * from "./BusinessHourExceptionResource.js";
51
+ export * from "./BusinessHourSlotResource.js";
52
+ export * from "./BusinessHoursResource.js";
50
53
  export * from "./BusinessInventoryLog.js";
51
54
  export * from "./BusinessLoginResponse.js";
52
55
  export * from "./BusinessMe.js";
@@ -64,7 +67,9 @@ export * from "./BusinessProductOrder.js";
64
67
  export * from "./BusinessProductOrderItem.js";
65
68
  export * from "./BusinessProductVariant.js";
66
69
  export * from "./BusinessProfile.js";
70
+ export * from "./BusinessScheduleDayResource.js";
67
71
  export * from "./BusinessSearchResult.js";
72
+ export * from "./BusinessStand.js";
68
73
  export * from "./BusinessStripeConnection.js";
69
74
  export * from "./BusinessSummary.js";
70
75
  export * from "./BusinessTemporaryLocation.js";
@@ -141,6 +146,7 @@ export * from "./SearchResults.js";
141
146
  export * from "./ServiceUnavailableErrorBody.js";
142
147
  export * from "./ShippingAccountResource.js";
143
148
  export * from "./ShippingRateResource.js";
149
+ export * from "./StandShop.js";
144
150
  export * from "./StoreAddressRequest.js";
145
151
  export * from "./StoreProductImageRequest.js";
146
152
  export * from "./Ticket.js";
@@ -63,6 +63,9 @@ __exportStar(require("./BusinessEventOrderDetail.js"), exports);
63
63
  __exportStar(require("./BusinessEventRsvp.js"), exports);
64
64
  __exportStar(require("./BusinessEventSalesSummary.js"), exports);
65
65
  __exportStar(require("./BusinessEventTicketType.js"), exports);
66
+ __exportStar(require("./BusinessHourExceptionResource.js"), exports);
67
+ __exportStar(require("./BusinessHourSlotResource.js"), exports);
68
+ __exportStar(require("./BusinessHoursResource.js"), exports);
66
69
  __exportStar(require("./BusinessInventoryLog.js"), exports);
67
70
  __exportStar(require("./BusinessLoginResponse.js"), exports);
68
71
  __exportStar(require("./BusinessMe.js"), exports);
@@ -80,7 +83,9 @@ __exportStar(require("./BusinessProductOrder.js"), exports);
80
83
  __exportStar(require("./BusinessProductOrderItem.js"), exports);
81
84
  __exportStar(require("./BusinessProductVariant.js"), exports);
82
85
  __exportStar(require("./BusinessProfile.js"), exports);
86
+ __exportStar(require("./BusinessScheduleDayResource.js"), exports);
83
87
  __exportStar(require("./BusinessSearchResult.js"), exports);
88
+ __exportStar(require("./BusinessStand.js"), exports);
84
89
  __exportStar(require("./BusinessStripeConnection.js"), exports);
85
90
  __exportStar(require("./BusinessSummary.js"), exports);
86
91
  __exportStar(require("./BusinessTemporaryLocation.js"), exports);
@@ -157,6 +162,7 @@ __exportStar(require("./SearchResults.js"), exports);
157
162
  __exportStar(require("./ServiceUnavailableErrorBody.js"), exports);
158
163
  __exportStar(require("./ShippingAccountResource.js"), exports);
159
164
  __exportStar(require("./ShippingRateResource.js"), exports);
165
+ __exportStar(require("./StandShop.js"), exports);
160
166
  __exportStar(require("./StoreAddressRequest.js"), exports);
161
167
  __exportStar(require("./StoreProductImageRequest.js"), exports);
162
168
  __exportStar(require("./Ticket.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.61";
1
+ export declare const SDK_VERSION = "0.0.63";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.61";
4
+ exports.SDK_VERSION = "0.0.63";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@51eat/sdk",
9
- "X-Fern-SDK-Version": "0.0.61",
10
- "User-Agent": "@51eat/sdk/0.0.61",
9
+ "X-Fern-SDK-Version": "0.0.63",
10
+ "User-Agent": "@51eat/sdk/0.0.63",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,12 +1,15 @@
1
1
  import { BusinessClient } from "./api/resources/business/client/Client.mjs";
2
+ import { BusinessHoursClient } from "./api/resources/businessHours/client/Client.mjs";
2
3
  import { BusinessMessagingClient } from "./api/resources/businessMessaging/client/Client.mjs";
3
4
  import { BusinessProductsClient } from "./api/resources/businessProducts/client/Client.mjs";
4
5
  import { BusinessShippingClient } from "./api/resources/businessShipping/client/Client.mjs";
6
+ import { BusinessStandsClient } from "./api/resources/businessStands/client/Client.mjs";
5
7
  import { CustomerClient } from "./api/resources/customer/client/Client.mjs";
6
8
  import { CustomerBusinessesClient } from "./api/resources/customerBusinesses/client/Client.mjs";
7
9
  import { CustomerEventsClient } from "./api/resources/customerEvents/client/Client.mjs";
8
10
  import { CustomerMessagingClient } from "./api/resources/customerMessaging/client/Client.mjs";
9
11
  import { CustomerMyAccountClient } from "./api/resources/customerMyAccount/client/Client.mjs";
12
+ import { CustomerStandsClient } from "./api/resources/customerStands/client/Client.mjs";
10
13
  import { RecordClickClient } from "./api/resources/recordClick/client/Client.mjs";
11
14
  import { ServeAdClient } from "./api/resources/serveAd/client/Client.mjs";
12
15
  import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
@@ -19,26 +22,32 @@ export declare namespace FiveOneEatClient {
19
22
  }
20
23
  export declare class FiveOneEatClient {
21
24
  protected readonly _options: NormalizedClientOptionsWithAuth<FiveOneEatClient.Options>;
25
+ protected _businessHours: BusinessHoursClient | undefined;
22
26
  protected _businessMessaging: BusinessMessagingClient | undefined;
23
27
  protected _businessProducts: BusinessProductsClient | undefined;
24
28
  protected _businessShipping: BusinessShippingClient | undefined;
29
+ protected _businessStands: BusinessStandsClient | undefined;
25
30
  protected _customerBusinesses: CustomerBusinessesClient | undefined;
26
31
  protected _customerEvents: CustomerEventsClient | undefined;
27
32
  protected _customerMessaging: CustomerMessagingClient | undefined;
28
33
  protected _customerMyAccount: CustomerMyAccountClient | undefined;
29
34
  protected _customer: CustomerClient | undefined;
35
+ protected _customerStands: CustomerStandsClient | undefined;
30
36
  protected _recordClick: RecordClickClient | undefined;
31
37
  protected _serveAd: ServeAdClient | undefined;
32
38
  protected _business: BusinessClient | undefined;
33
39
  constructor(options?: FiveOneEatClient.Options);
40
+ get businessHours(): BusinessHoursClient;
34
41
  get businessMessaging(): BusinessMessagingClient;
35
42
  get businessProducts(): BusinessProductsClient;
36
43
  get businessShipping(): BusinessShippingClient;
44
+ get businessStands(): BusinessStandsClient;
37
45
  get customerBusinesses(): CustomerBusinessesClient;
38
46
  get customerEvents(): CustomerEventsClient;
39
47
  get customerMessaging(): CustomerMessagingClient;
40
48
  get customerMyAccount(): CustomerMyAccountClient;
41
49
  get customer(): CustomerClient;
50
+ get customerStands(): CustomerStandsClient;
42
51
  get recordClick(): RecordClickClient;
43
52
  get serveAd(): ServeAdClient;
44
53
  get business(): BusinessClient;
@@ -9,14 +9,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  import { BusinessClient } from "./api/resources/business/client/Client.mjs";
12
+ import { BusinessHoursClient } from "./api/resources/businessHours/client/Client.mjs";
12
13
  import { BusinessMessagingClient } from "./api/resources/businessMessaging/client/Client.mjs";
13
14
  import { BusinessProductsClient } from "./api/resources/businessProducts/client/Client.mjs";
14
15
  import { BusinessShippingClient } from "./api/resources/businessShipping/client/Client.mjs";
16
+ import { BusinessStandsClient } from "./api/resources/businessStands/client/Client.mjs";
15
17
  import { CustomerClient } from "./api/resources/customer/client/Client.mjs";
16
18
  import { CustomerBusinessesClient } from "./api/resources/customerBusinesses/client/Client.mjs";
17
19
  import { CustomerEventsClient } from "./api/resources/customerEvents/client/Client.mjs";
18
20
  import { CustomerMessagingClient } from "./api/resources/customerMessaging/client/Client.mjs";
19
21
  import { CustomerMyAccountClient } from "./api/resources/customerMyAccount/client/Client.mjs";
22
+ import { CustomerStandsClient } from "./api/resources/customerStands/client/Client.mjs";
20
23
  import { RecordClickClient } from "./api/resources/recordClick/client/Client.mjs";
21
24
  import { ServeAdClient } from "./api/resources/serveAd/client/Client.mjs";
22
25
  import { normalizeClientOptionsWithAuth } from "./BaseClient.mjs";
@@ -25,6 +28,10 @@ export class FiveOneEatClient {
25
28
  constructor(options = {}) {
26
29
  this._options = normalizeClientOptionsWithAuth(options);
27
30
  }
31
+ get businessHours() {
32
+ var _a;
33
+ return ((_a = this._businessHours) !== null && _a !== void 0 ? _a : (this._businessHours = new BusinessHoursClient(this._options)));
34
+ }
28
35
  get businessMessaging() {
29
36
  var _a;
30
37
  return ((_a = this._businessMessaging) !== null && _a !== void 0 ? _a : (this._businessMessaging = new BusinessMessagingClient(this._options)));
@@ -37,6 +44,10 @@ export class FiveOneEatClient {
37
44
  var _a;
38
45
  return ((_a = this._businessShipping) !== null && _a !== void 0 ? _a : (this._businessShipping = new BusinessShippingClient(this._options)));
39
46
  }
47
+ get businessStands() {
48
+ var _a;
49
+ return ((_a = this._businessStands) !== null && _a !== void 0 ? _a : (this._businessStands = new BusinessStandsClient(this._options)));
50
+ }
40
51
  get customerBusinesses() {
41
52
  var _a;
42
53
  return ((_a = this._customerBusinesses) !== null && _a !== void 0 ? _a : (this._customerBusinesses = new CustomerBusinessesClient(this._options)));
@@ -57,6 +68,10 @@ export class FiveOneEatClient {
57
68
  var _a;
58
69
  return ((_a = this._customer) !== null && _a !== void 0 ? _a : (this._customer = new CustomerClient(this._options)));
59
70
  }
71
+ get customerStands() {
72
+ var _a;
73
+ return ((_a = this._customerStands) !== null && _a !== void 0 ? _a : (this._customerStands = new CustomerStandsClient(this._options)));
74
+ }
60
75
  get recordClick() {
61
76
  var _a;
62
77
  return ((_a = this._recordClick) !== null && _a !== void 0 ? _a : (this._recordClick = new RecordClickClient(this._options)));