@51eat/sdk 0.0.62 → 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 (248) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +6 -0
  3. package/dist/cjs/Client.js +24 -14
  4. package/dist/cjs/api/resources/business/resources/bulletins/client/Client.d.ts +7 -0
  5. package/dist/cjs/api/resources/business/resources/bulletins/client/Client.js +21 -0
  6. package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.ts +0 -3
  7. package/dist/cjs/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.ts +0 -3
  8. package/dist/cjs/api/resources/business/resources/events/client/Client.d.ts +8 -0
  9. package/dist/cjs/api/resources/business/resources/events/client/Client.js +24 -0
  10. package/dist/cjs/api/resources/business/resources/events/client/requests/StoreEventRequest.d.ts +1 -1
  11. package/dist/cjs/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.ts +1 -1
  12. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.d.ts +2 -0
  13. package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.js +6 -0
  14. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/Client.d.ts +2 -0
  15. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/Client.js +6 -0
  16. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/Client.d.ts +2 -0
  17. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/Client.js +6 -0
  18. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.d.ts +1 -1
  19. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.ts +1 -1
  20. package/dist/cjs/api/resources/business/resources/menus/client/Client.d.ts +5 -0
  21. package/dist/cjs/api/resources/business/resources/menus/client/Client.js +15 -0
  22. package/dist/cjs/api/resources/business/resources/menus/resources/groups/client/Client.d.ts +5 -2
  23. package/dist/cjs/api/resources/business/resources/menus/resources/groups/client/Client.js +10 -1
  24. package/dist/cjs/api/resources/business/resources/menus/resources/groups/client/requests/{ReorderGroupsRequest.d.ts → ReorderMenuGroupsRequest.d.ts} +3 -3
  25. package/dist/cjs/api/resources/business/resources/menus/resources/groups/client/requests/index.d.ts +1 -1
  26. package/dist/cjs/api/resources/business/resources/menus/resources/items/client/Client.d.ts +7 -4
  27. package/dist/cjs/api/resources/business/resources/menus/resources/items/client/Client.js +11 -2
  28. 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
  29. package/dist/cjs/api/resources/business/resources/menus/resources/items/client/requests/{ReorderItemsRequest.d.ts → ReorderMenuItemsRequest.d.ts} +3 -3
  30. package/dist/cjs/api/resources/business/resources/menus/resources/items/client/requests/index.d.ts +2 -2
  31. package/dist/cjs/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.d.ts +2 -0
  32. package/dist/cjs/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.js +6 -0
  33. package/dist/cjs/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.d.ts +2 -0
  34. package/dist/cjs/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.js +6 -0
  35. package/dist/cjs/api/resources/business/resources/productCategories/client/Client.d.ts +4 -0
  36. package/dist/cjs/api/resources/business/resources/productCategories/client/Client.js +12 -0
  37. package/dist/cjs/api/resources/business/resources/products/client/Client.d.ts +4 -0
  38. package/dist/cjs/api/resources/business/resources/products/client/Client.js +12 -0
  39. package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.d.ts +1 -0
  40. package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.js +3 -0
  41. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.d.ts +1 -0
  42. package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.js +3 -0
  43. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.ts +1 -0
  44. package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.js +3 -0
  45. package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.ts +0 -2
  46. package/dist/cjs/api/resources/businessProducts/client/Client.d.ts +2 -0
  47. package/dist/cjs/api/resources/businessProducts/client/Client.js +6 -0
  48. package/dist/cjs/api/resources/businessStands/client/Client.d.ts +106 -0
  49. package/dist/cjs/api/resources/businessStands/client/Client.js +421 -0
  50. package/dist/cjs/api/resources/businessStands/client/index.d.ts +1 -0
  51. package/dist/cjs/api/resources/businessStands/client/index.js +17 -0
  52. package/dist/cjs/api/resources/businessStands/client/requests/DeleteBusinessStandRequest.d.ts +10 -0
  53. package/dist/cjs/api/resources/businessStands/client/requests/DeleteBusinessStandRequest.js +3 -0
  54. package/dist/cjs/api/resources/businessStands/client/requests/GetBusinessStandRequest.d.ts +10 -0
  55. package/dist/cjs/api/resources/businessStands/client/requests/GetBusinessStandRequest.js +3 -0
  56. package/dist/cjs/api/resources/businessStands/client/requests/StoreStandRequest.d.ts +18 -0
  57. package/dist/cjs/api/resources/businessStands/client/requests/StoreStandRequest.js +3 -0
  58. package/dist/cjs/api/resources/businessStands/client/requests/SyncStandProductsRequest.d.ts +12 -0
  59. package/dist/cjs/api/resources/businessStands/client/requests/SyncStandProductsRequest.js +3 -0
  60. package/dist/cjs/api/resources/businessStands/client/requests/UpdateStandRequest.d.ts +20 -0
  61. package/dist/cjs/api/resources/businessStands/client/requests/UpdateStandRequest.js +3 -0
  62. package/dist/cjs/api/resources/businessStands/client/requests/index.d.ts +5 -0
  63. package/dist/cjs/api/resources/businessStands/client/requests/index.js +2 -0
  64. package/dist/cjs/api/resources/businessStands/exports.d.ts +2 -0
  65. package/dist/cjs/api/resources/businessStands/exports.js +21 -0
  66. package/dist/cjs/api/resources/businessStands/index.d.ts +2 -0
  67. package/dist/cjs/api/resources/businessStands/index.js +18 -0
  68. package/dist/cjs/api/resources/businessStands/types/CreateBusinessStandResponse.d.ts +4 -0
  69. package/dist/cjs/api/resources/businessStands/types/CreateBusinessStandResponse.js +3 -0
  70. package/dist/cjs/api/resources/businessStands/types/GetBusinessStandResponse.d.ts +4 -0
  71. package/dist/cjs/api/resources/businessStands/types/GetBusinessStandResponse.js +3 -0
  72. package/dist/cjs/api/resources/businessStands/types/ListBusinessStandsResponse.d.ts +4 -0
  73. package/dist/cjs/api/resources/businessStands/types/ListBusinessStandsResponse.js +3 -0
  74. package/dist/cjs/api/resources/businessStands/types/UpdateBusinessStandResponse.d.ts +4 -0
  75. package/dist/cjs/api/resources/businessStands/types/UpdateBusinessStandResponse.js +3 -0
  76. package/dist/cjs/api/resources/businessStands/types/index.d.ts +4 -0
  77. package/dist/cjs/api/resources/businessStands/types/index.js +20 -0
  78. package/dist/cjs/api/resources/customerStands/client/Client.d.ts +63 -0
  79. package/dist/cjs/api/resources/customerStands/client/Client.js +245 -0
  80. package/dist/cjs/api/resources/customerStands/client/index.d.ts +1 -0
  81. package/dist/cjs/api/resources/customerStands/client/index.js +17 -0
  82. package/dist/cjs/api/resources/customerStands/client/requests/CreateStandPaymentIntentRequest.d.ts +11 -0
  83. package/dist/cjs/api/resources/customerStands/client/requests/CreateStandPaymentIntentRequest.js +3 -0
  84. package/dist/cjs/api/resources/customerStands/client/requests/ScanStandRequest.d.ts +10 -0
  85. package/dist/cjs/api/resources/customerStands/client/requests/ScanStandRequest.js +3 -0
  86. package/dist/cjs/api/resources/customerStands/client/requests/SelfCheckoutRequest.d.ts +12 -0
  87. package/dist/cjs/api/resources/customerStands/client/requests/SelfCheckoutRequest.js +3 -0
  88. package/dist/cjs/api/resources/customerStands/client/requests/index.d.ts +3 -0
  89. package/dist/cjs/api/resources/customerStands/client/requests/index.js +2 -0
  90. package/dist/cjs/api/resources/customerStands/exports.d.ts +2 -0
  91. package/dist/cjs/api/resources/customerStands/exports.js +21 -0
  92. package/dist/cjs/api/resources/customerStands/index.d.ts +2 -0
  93. package/dist/cjs/api/resources/customerStands/index.js +18 -0
  94. package/dist/cjs/api/resources/customerStands/types/CreateStandPaymentIntentResponse.d.ts +6 -0
  95. package/dist/cjs/api/resources/customerStands/types/CreateStandPaymentIntentResponse.js +3 -0
  96. package/dist/cjs/api/resources/customerStands/types/ScanStandResponse.d.ts +4 -0
  97. package/dist/cjs/api/resources/customerStands/types/ScanStandResponse.js +3 -0
  98. package/dist/cjs/api/resources/customerStands/types/StandCheckoutResponse.d.ts +4 -0
  99. package/dist/cjs/api/resources/customerStands/types/StandCheckoutResponse.js +3 -0
  100. package/dist/cjs/api/resources/customerStands/types/index.d.ts +3 -0
  101. package/dist/cjs/api/resources/customerStands/types/index.js +19 -0
  102. package/dist/cjs/api/resources/index.d.ts +6 -0
  103. package/dist/cjs/api/resources/index.js +7 -1
  104. package/dist/cjs/api/types/BusinessEvent.d.ts +3 -0
  105. package/dist/cjs/api/types/BusinessMenu.d.ts +1 -0
  106. package/dist/cjs/api/types/BusinessMenuItem.d.ts +5 -1
  107. package/dist/cjs/api/types/BusinessProduct.d.ts +14 -0
  108. package/dist/cjs/api/types/BusinessProductCategory.d.ts +1 -0
  109. package/dist/cjs/api/types/BusinessProfile.d.ts +0 -2
  110. package/dist/cjs/api/types/BusinessStand.d.ts +16 -0
  111. package/dist/cjs/api/types/BusinessStand.js +3 -0
  112. package/dist/cjs/api/types/CustomerBusinessProfile.d.ts +0 -3
  113. package/dist/cjs/api/types/ExploreEvent.d.ts +2 -1
  114. package/dist/cjs/api/types/ExploreTemporaryLocation.d.ts +2 -1
  115. package/dist/cjs/api/types/StandShop.d.ts +24 -0
  116. package/dist/cjs/api/types/StandShop.js +3 -0
  117. package/dist/cjs/api/types/index.d.ts +2 -0
  118. package/dist/cjs/api/types/index.js +2 -0
  119. package/dist/cjs/version.d.ts +1 -1
  120. package/dist/cjs/version.js +1 -1
  121. package/dist/esm/BaseClient.mjs +2 -2
  122. package/dist/esm/Client.d.mts +6 -0
  123. package/dist/esm/Client.mjs +10 -0
  124. package/dist/esm/api/resources/business/resources/bulletins/client/Client.d.mts +7 -0
  125. package/dist/esm/api/resources/business/resources/bulletins/client/Client.mjs +21 -0
  126. package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +0 -3
  127. package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.mts +0 -3
  128. package/dist/esm/api/resources/business/resources/events/client/Client.d.mts +8 -0
  129. package/dist/esm/api/resources/business/resources/events/client/Client.mjs +24 -0
  130. package/dist/esm/api/resources/business/resources/events/client/requests/StoreEventRequest.d.mts +1 -1
  131. package/dist/esm/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.mts +1 -1
  132. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts +2 -0
  133. package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.mjs +6 -0
  134. package/dist/esm/api/resources/business/resources/events/resources/orders/client/Client.d.mts +2 -0
  135. package/dist/esm/api/resources/business/resources/events/resources/orders/client/Client.mjs +6 -0
  136. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/Client.d.mts +2 -0
  137. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/Client.mjs +6 -0
  138. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.d.mts +1 -1
  139. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.mts +1 -1
  140. package/dist/esm/api/resources/business/resources/menus/client/Client.d.mts +5 -0
  141. package/dist/esm/api/resources/business/resources/menus/client/Client.mjs +15 -0
  142. package/dist/esm/api/resources/business/resources/menus/resources/groups/client/Client.d.mts +5 -2
  143. package/dist/esm/api/resources/business/resources/menus/resources/groups/client/Client.mjs +10 -1
  144. package/dist/esm/api/resources/business/resources/menus/resources/groups/client/requests/{ReorderGroupsRequest.d.mts → ReorderMenuGroupsRequest.d.mts} +3 -3
  145. package/dist/esm/api/resources/business/resources/menus/resources/groups/client/requests/index.d.mts +1 -1
  146. package/dist/esm/api/resources/business/resources/menus/resources/items/client/Client.d.mts +7 -4
  147. package/dist/esm/api/resources/business/resources/menus/resources/items/client/Client.mjs +11 -2
  148. 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
  149. package/dist/esm/api/resources/business/resources/menus/resources/items/client/requests/{ReorderItemsRequest.d.mts → ReorderMenuItemsRequest.d.mts} +3 -3
  150. package/dist/esm/api/resources/business/resources/menus/resources/items/client/requests/index.d.mts +2 -2
  151. package/dist/esm/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.d.mts +2 -0
  152. package/dist/esm/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.mjs +6 -0
  153. package/dist/esm/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.d.mts +2 -0
  154. package/dist/esm/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.mjs +6 -0
  155. package/dist/esm/api/resources/business/resources/productCategories/client/Client.d.mts +4 -0
  156. package/dist/esm/api/resources/business/resources/productCategories/client/Client.mjs +12 -0
  157. package/dist/esm/api/resources/business/resources/products/client/Client.d.mts +4 -0
  158. package/dist/esm/api/resources/business/resources/products/client/Client.mjs +12 -0
  159. package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.d.mts +1 -0
  160. package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.mjs +3 -0
  161. package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.d.mts +1 -0
  162. package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.mjs +3 -0
  163. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.mts +1 -0
  164. package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.mjs +3 -0
  165. package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.mts +0 -2
  166. package/dist/esm/api/resources/businessProducts/client/Client.d.mts +2 -0
  167. package/dist/esm/api/resources/businessProducts/client/Client.mjs +6 -0
  168. package/dist/esm/api/resources/businessStands/client/Client.d.mts +106 -0
  169. package/dist/esm/api/resources/businessStands/client/Client.mjs +384 -0
  170. package/dist/esm/api/resources/businessStands/client/index.d.mts +1 -0
  171. package/dist/esm/api/resources/businessStands/client/index.mjs +1 -0
  172. package/dist/esm/api/resources/businessStands/client/requests/DeleteBusinessStandRequest.d.mts +10 -0
  173. package/dist/esm/api/resources/businessStands/client/requests/DeleteBusinessStandRequest.mjs +2 -0
  174. package/dist/esm/api/resources/businessStands/client/requests/GetBusinessStandRequest.d.mts +10 -0
  175. package/dist/esm/api/resources/businessStands/client/requests/GetBusinessStandRequest.mjs +2 -0
  176. package/dist/esm/api/resources/businessStands/client/requests/StoreStandRequest.d.mts +18 -0
  177. package/dist/esm/api/resources/businessStands/client/requests/StoreStandRequest.mjs +2 -0
  178. package/dist/esm/api/resources/businessStands/client/requests/SyncStandProductsRequest.d.mts +12 -0
  179. package/dist/esm/api/resources/businessStands/client/requests/SyncStandProductsRequest.mjs +2 -0
  180. package/dist/esm/api/resources/businessStands/client/requests/UpdateStandRequest.d.mts +20 -0
  181. package/dist/esm/api/resources/businessStands/client/requests/UpdateStandRequest.mjs +2 -0
  182. package/dist/esm/api/resources/businessStands/client/requests/index.d.mts +5 -0
  183. package/dist/esm/api/resources/businessStands/client/requests/index.mjs +1 -0
  184. package/dist/esm/api/resources/businessStands/exports.d.mts +2 -0
  185. package/dist/esm/api/resources/businessStands/exports.mjs +3 -0
  186. package/dist/esm/api/resources/businessStands/index.d.mts +2 -0
  187. package/dist/esm/api/resources/businessStands/index.mjs +2 -0
  188. package/dist/esm/api/resources/businessStands/types/CreateBusinessStandResponse.d.mts +4 -0
  189. package/dist/esm/api/resources/businessStands/types/CreateBusinessStandResponse.mjs +2 -0
  190. package/dist/esm/api/resources/businessStands/types/GetBusinessStandResponse.d.mts +4 -0
  191. package/dist/esm/api/resources/businessStands/types/GetBusinessStandResponse.mjs +2 -0
  192. package/dist/esm/api/resources/businessStands/types/ListBusinessStandsResponse.d.mts +4 -0
  193. package/dist/esm/api/resources/businessStands/types/ListBusinessStandsResponse.mjs +2 -0
  194. package/dist/esm/api/resources/businessStands/types/UpdateBusinessStandResponse.d.mts +4 -0
  195. package/dist/esm/api/resources/businessStands/types/UpdateBusinessStandResponse.mjs +2 -0
  196. package/dist/esm/api/resources/businessStands/types/index.d.mts +4 -0
  197. package/dist/esm/api/resources/businessStands/types/index.mjs +4 -0
  198. package/dist/esm/api/resources/customerStands/client/Client.d.mts +63 -0
  199. package/dist/esm/api/resources/customerStands/client/Client.mjs +208 -0
  200. package/dist/esm/api/resources/customerStands/client/index.d.mts +1 -0
  201. package/dist/esm/api/resources/customerStands/client/index.mjs +1 -0
  202. package/dist/esm/api/resources/customerStands/client/requests/CreateStandPaymentIntentRequest.d.mts +11 -0
  203. package/dist/esm/api/resources/customerStands/client/requests/CreateStandPaymentIntentRequest.mjs +2 -0
  204. package/dist/esm/api/resources/customerStands/client/requests/ScanStandRequest.d.mts +10 -0
  205. package/dist/esm/api/resources/customerStands/client/requests/ScanStandRequest.mjs +2 -0
  206. package/dist/esm/api/resources/customerStands/client/requests/SelfCheckoutRequest.d.mts +12 -0
  207. package/dist/esm/api/resources/customerStands/client/requests/SelfCheckoutRequest.mjs +2 -0
  208. package/dist/esm/api/resources/customerStands/client/requests/index.d.mts +3 -0
  209. package/dist/esm/api/resources/customerStands/client/requests/index.mjs +1 -0
  210. package/dist/esm/api/resources/customerStands/exports.d.mts +2 -0
  211. package/dist/esm/api/resources/customerStands/exports.mjs +3 -0
  212. package/dist/esm/api/resources/customerStands/index.d.mts +2 -0
  213. package/dist/esm/api/resources/customerStands/index.mjs +2 -0
  214. package/dist/esm/api/resources/customerStands/types/CreateStandPaymentIntentResponse.d.mts +6 -0
  215. package/dist/esm/api/resources/customerStands/types/CreateStandPaymentIntentResponse.mjs +2 -0
  216. package/dist/esm/api/resources/customerStands/types/ScanStandResponse.d.mts +4 -0
  217. package/dist/esm/api/resources/customerStands/types/ScanStandResponse.mjs +2 -0
  218. package/dist/esm/api/resources/customerStands/types/StandCheckoutResponse.d.mts +4 -0
  219. package/dist/esm/api/resources/customerStands/types/StandCheckoutResponse.mjs +2 -0
  220. package/dist/esm/api/resources/customerStands/types/index.d.mts +3 -0
  221. package/dist/esm/api/resources/customerStands/types/index.mjs +3 -0
  222. package/dist/esm/api/resources/index.d.mts +6 -0
  223. package/dist/esm/api/resources/index.mjs +6 -0
  224. package/dist/esm/api/types/BusinessEvent.d.mts +3 -0
  225. package/dist/esm/api/types/BusinessMenu.d.mts +1 -0
  226. package/dist/esm/api/types/BusinessMenuItem.d.mts +5 -1
  227. package/dist/esm/api/types/BusinessProduct.d.mts +14 -0
  228. package/dist/esm/api/types/BusinessProductCategory.d.mts +1 -0
  229. package/dist/esm/api/types/BusinessProfile.d.mts +0 -2
  230. package/dist/esm/api/types/BusinessStand.d.mts +16 -0
  231. package/dist/esm/api/types/BusinessStand.mjs +2 -0
  232. package/dist/esm/api/types/CustomerBusinessProfile.d.mts +0 -3
  233. package/dist/esm/api/types/ExploreEvent.d.mts +2 -1
  234. package/dist/esm/api/types/ExploreTemporaryLocation.d.mts +2 -1
  235. package/dist/esm/api/types/StandShop.d.mts +24 -0
  236. package/dist/esm/api/types/StandShop.mjs +2 -0
  237. package/dist/esm/api/types/index.d.mts +2 -0
  238. package/dist/esm/api/types/index.mjs +2 -0
  239. package/dist/esm/version.d.mts +1 -1
  240. package/dist/esm/version.mjs +1 -1
  241. package/package.json +23 -1
  242. package/reference.md +502 -3
  243. /package/dist/cjs/api/resources/business/resources/menus/resources/groups/client/requests/{ReorderGroupsRequest.js → ReorderMenuGroupsRequest.js} +0 -0
  244. /package/dist/cjs/api/resources/business/resources/menus/resources/items/client/requests/{MoveItemsRequest.js → MoveMenuItemRequest.js} +0 -0
  245. /package/dist/cjs/api/resources/business/resources/menus/resources/items/client/requests/{ReorderItemsRequest.js → ReorderMenuItemsRequest.js} +0 -0
  246. /package/dist/esm/api/resources/business/resources/menus/resources/groups/client/requests/{ReorderGroupsRequest.mjs → ReorderMenuGroupsRequest.mjs} +0 -0
  247. /package/dist/esm/api/resources/business/resources/menus/resources/items/client/requests/{MoveItemsRequest.mjs → MoveMenuItemRequest.mjs} +0 -0
  248. /package/dist/esm/api/resources/business/resources/menus/resources/items/client/requests/{ReorderItemsRequest.mjs → ReorderMenuItemsRequest.mjs} +0 -0
@@ -0,0 +1,208 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __rest = (this && this.__rest) || function (s, e) {
12
+ var t = {};
13
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14
+ t[p] = s[p];
15
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
16
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
18
+ t[p[i]] = s[p[i]];
19
+ }
20
+ return t;
21
+ };
22
+ import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
23
+ import { mergeHeaders } from "../../../../core/headers.mjs";
24
+ import * as core from "../../../../core/index.mjs";
25
+ import * as environments from "../../../../environments.mjs";
26
+ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
27
+ import * as errors from "../../../../errors/index.mjs";
28
+ import * as FiveOneEat from "../../../index.mjs";
29
+ export class CustomerStandsClient {
30
+ constructor(options = {}) {
31
+ this._options = normalizeClientOptionsWithAuth(options);
32
+ }
33
+ /**
34
+ * Logs the scan (user id captured when authenticated) and returns the
35
+ * stand, its business, and the business's published products.
36
+ *
37
+ * @param {FiveOneEat.ScanStandRequest} request
38
+ * @param {CustomerStandsClient.RequestOptions} requestOptions - Request-specific configuration.
39
+ *
40
+ * @throws {@link FiveOneEat.NotFoundError}
41
+ *
42
+ * @example
43
+ * await client.customerStands.scanStand({
44
+ * stand: "stand"
45
+ * })
46
+ */
47
+ scanStand(request, requestOptions) {
48
+ return core.HttpResponsePromise.fromPromise(this.__scanStand(request, requestOptions));
49
+ }
50
+ __scanStand(request, requestOptions) {
51
+ return __awaiter(this, void 0, void 0, function* () {
52
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
53
+ const { stand } = request;
54
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
55
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
56
+ const _response = yield core.fetcher({
57
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `stand/${core.url.encodePathParam(stand)}`),
58
+ method: "GET",
59
+ headers: _headers,
60
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
61
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
62
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
63
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
64
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
65
+ logging: this._options.logging,
66
+ });
67
+ if (_response.ok) {
68
+ return { data: _response.body, rawResponse: _response.rawResponse };
69
+ }
70
+ if (_response.error.reason === "status-code") {
71
+ switch (_response.error.statusCode) {
72
+ case 404:
73
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
74
+ default:
75
+ throw new errors.FiveOneEatError({
76
+ statusCode: _response.error.statusCode,
77
+ body: _response.error.body,
78
+ rawResponse: _response.rawResponse,
79
+ });
80
+ }
81
+ }
82
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/stand/{stand}");
83
+ });
84
+ }
85
+ /**
86
+ * Returns client_secret, price breakdown, and tax calculation for use with Stripe SDK.
87
+ * Shipping is always zero for stand orders.
88
+ *
89
+ * @param {FiveOneEat.CreateStandPaymentIntentRequest} request
90
+ * @param {CustomerStandsClient.RequestOptions} requestOptions - Request-specific configuration.
91
+ *
92
+ * @throws {@link FiveOneEat.UnauthorizedError}
93
+ * @throws {@link FiveOneEat.NotFoundError}
94
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
95
+ *
96
+ * @example
97
+ * await client.customerStands.createStandPaymentIntent({
98
+ * stand: "stand"
99
+ * })
100
+ */
101
+ createStandPaymentIntent(request, requestOptions) {
102
+ return core.HttpResponsePromise.fromPromise(this.__createStandPaymentIntent(request, requestOptions));
103
+ }
104
+ __createStandPaymentIntent(request, requestOptions) {
105
+ return __awaiter(this, void 0, void 0, function* () {
106
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
107
+ const { stand } = request, _body = __rest(request, ["stand"]);
108
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
109
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
110
+ const _response = yield core.fetcher({
111
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/stands/${core.url.encodePathParam(stand)}/payment-intent`),
112
+ method: "POST",
113
+ headers: _headers,
114
+ contentType: "application/json",
115
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
116
+ requestType: "json",
117
+ body: _body,
118
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
119
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
120
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
121
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
122
+ logging: this._options.logging,
123
+ });
124
+ if (_response.ok) {
125
+ return {
126
+ data: _response.body,
127
+ rawResponse: _response.rawResponse,
128
+ };
129
+ }
130
+ if (_response.error.reason === "status-code") {
131
+ switch (_response.error.statusCode) {
132
+ case 401:
133
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
134
+ case 404:
135
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
136
+ case 422:
137
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
138
+ default:
139
+ throw new errors.FiveOneEatError({
140
+ statusCode: _response.error.statusCode,
141
+ body: _response.error.body,
142
+ rawResponse: _response.rawResponse,
143
+ });
144
+ }
145
+ }
146
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/customer/stands/{stand}/payment-intent");
147
+ });
148
+ }
149
+ /**
150
+ * @param {FiveOneEat.SelfCheckoutRequest} request
151
+ * @param {CustomerStandsClient.RequestOptions} requestOptions - Request-specific configuration.
152
+ *
153
+ * @throws {@link FiveOneEat.UnauthorizedError}
154
+ * @throws {@link FiveOneEat.NotFoundError}
155
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
156
+ *
157
+ * @example
158
+ * await client.customerStands.standCheckout({
159
+ * stand: "stand",
160
+ * payment_intent_id: "payment_intent_id"
161
+ * })
162
+ */
163
+ standCheckout(request, requestOptions) {
164
+ return core.HttpResponsePromise.fromPromise(this.__standCheckout(request, requestOptions));
165
+ }
166
+ __standCheckout(request, requestOptions) {
167
+ return __awaiter(this, void 0, void 0, function* () {
168
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
169
+ const { stand } = request, _body = __rest(request, ["stand"]);
170
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
171
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
172
+ const _response = yield core.fetcher({
173
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/stands/${core.url.encodePathParam(stand)}/checkout`),
174
+ method: "POST",
175
+ headers: _headers,
176
+ contentType: "application/json",
177
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
178
+ requestType: "json",
179
+ body: _body,
180
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
181
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
182
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
183
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
184
+ logging: this._options.logging,
185
+ });
186
+ if (_response.ok) {
187
+ return { data: _response.body, rawResponse: _response.rawResponse };
188
+ }
189
+ if (_response.error.reason === "status-code") {
190
+ switch (_response.error.statusCode) {
191
+ case 401:
192
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
193
+ case 404:
194
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
195
+ case 422:
196
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
197
+ default:
198
+ throw new errors.FiveOneEatError({
199
+ statusCode: _response.error.statusCode,
200
+ body: _response.error.body,
201
+ rawResponse: _response.rawResponse,
202
+ });
203
+ }
204
+ }
205
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/customer/stands/{stand}/checkout");
206
+ });
207
+ }
208
+ }
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * stand: "stand"
5
+ * }
6
+ */
7
+ export interface CreateStandPaymentIntentRequest {
8
+ /** The stand ID */
9
+ stand: string;
10
+ payment_method_id?: string | null;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * stand: "stand"
5
+ * }
6
+ */
7
+ export interface ScanStandRequest {
8
+ /** The stand ID */
9
+ stand: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * stand: "stand",
5
+ * payment_intent_id: "payment_intent_id"
6
+ * }
7
+ */
8
+ export interface SelfCheckoutRequest {
9
+ /** The stand ID */
10
+ stand: string;
11
+ payment_intent_id: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,3 @@
1
+ export type { CreateStandPaymentIntentRequest } from "./CreateStandPaymentIntentRequest.mjs";
2
+ export type { ScanStandRequest } from "./ScanStandRequest.mjs";
3
+ export type { SelfCheckoutRequest } from "./SelfCheckoutRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { CustomerStandsClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { CustomerStandsClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,6 @@
1
+ export interface CreateStandPaymentIntentResponse {
2
+ client_secret: string;
3
+ subtotal: number;
4
+ tax: number;
5
+ total: number;
6
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../index.mjs";
2
+ export interface ScanStandResponse {
3
+ data: FiveOneEat.StandShop;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../index.mjs";
2
+ export interface StandCheckoutResponse {
3
+ data: FiveOneEat.CustomerProductOrder;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from "./CreateStandPaymentIntentResponse.mjs";
2
+ export * from "./ScanStandResponse.mjs";
3
+ export * from "./StandCheckoutResponse.mjs";
@@ -0,0 +1,3 @@
1
+ export * from "./CreateStandPaymentIntentResponse.mjs";
2
+ export * from "./ScanStandResponse.mjs";
3
+ export * from "./StandCheckoutResponse.mjs";
@@ -11,6 +11,9 @@ export * from "./businessProducts/types/index.mjs";
11
11
  export * from "./businessShipping/client/requests/index.mjs";
12
12
  export * as businessShipping from "./businessShipping/index.mjs";
13
13
  export * from "./businessShipping/types/index.mjs";
14
+ export * from "./businessStands/client/requests/index.mjs";
15
+ export * as businessStands from "./businessStands/index.mjs";
16
+ export * from "./businessStands/types/index.mjs";
14
17
  export * from "./customer/client/requests/index.mjs";
15
18
  export * as customer from "./customer/index.mjs";
16
19
  export * from "./customer/types/index.mjs";
@@ -25,6 +28,9 @@ export * from "./customerMessaging/types/index.mjs";
25
28
  export * from "./customerMyAccount/client/requests/index.mjs";
26
29
  export * as customerMyAccount from "./customerMyAccount/index.mjs";
27
30
  export * from "./customerMyAccount/types/index.mjs";
31
+ export * from "./customerStands/client/requests/index.mjs";
32
+ export * as customerStands from "./customerStands/index.mjs";
33
+ export * from "./customerStands/types/index.mjs";
28
34
  export * from "./recordClick/client/requests/index.mjs";
29
35
  export * as recordClick from "./recordClick/index.mjs";
30
36
  export * from "./serveAd/client/requests/index.mjs";
@@ -11,6 +11,9 @@ export * from "./businessProducts/types/index.mjs";
11
11
  export * from "./businessShipping/client/requests/index.mjs";
12
12
  export * as businessShipping from "./businessShipping/index.mjs";
13
13
  export * from "./businessShipping/types/index.mjs";
14
+ export * from "./businessStands/client/requests/index.mjs";
15
+ export * as businessStands from "./businessStands/index.mjs";
16
+ export * from "./businessStands/types/index.mjs";
14
17
  export * from "./customer/client/requests/index.mjs";
15
18
  export * as customer from "./customer/index.mjs";
16
19
  export * from "./customer/types/index.mjs";
@@ -25,6 +28,9 @@ export * from "./customerMessaging/types/index.mjs";
25
28
  export * from "./customerMyAccount/client/requests/index.mjs";
26
29
  export * as customerMyAccount from "./customerMyAccount/index.mjs";
27
30
  export * from "./customerMyAccount/types/index.mjs";
31
+ export * from "./customerStands/client/requests/index.mjs";
32
+ export * as customerStands from "./customerStands/index.mjs";
33
+ export * from "./customerStands/types/index.mjs";
28
34
  export * from "./recordClick/client/requests/index.mjs";
29
35
  export * as recordClick from "./recordClick/index.mjs";
30
36
  export * from "./serveAd/client/requests/index.mjs";
@@ -1,5 +1,7 @@
1
+ import type * as FiveOneEat from "../index.mjs";
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;
@@ -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;
@@ -31,8 +31,6 @@ export interface BusinessProfile {
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;
@@ -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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -27,9 +27,6 @@ export interface CustomerBusinessProfile {
27
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;
@@ -1,3 +1,4 @@
1
+ import type * as FiveOneEat from "../index.mjs";
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.mjs";
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.mjs";
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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -69,6 +69,7 @@ export * from "./BusinessProductVariant.mjs";
69
69
  export * from "./BusinessProfile.mjs";
70
70
  export * from "./BusinessScheduleDayResource.mjs";
71
71
  export * from "./BusinessSearchResult.mjs";
72
+ export * from "./BusinessStand.mjs";
72
73
  export * from "./BusinessStripeConnection.mjs";
73
74
  export * from "./BusinessSummary.mjs";
74
75
  export * from "./BusinessTemporaryLocation.mjs";
@@ -145,6 +146,7 @@ export * from "./SearchResults.mjs";
145
146
  export * from "./ServiceUnavailableErrorBody.mjs";
146
147
  export * from "./ShippingAccountResource.mjs";
147
148
  export * from "./ShippingRateResource.mjs";
149
+ export * from "./StandShop.mjs";
148
150
  export * from "./StoreAddressRequest.mjs";
149
151
  export * from "./StoreProductImageRequest.mjs";
150
152
  export * from "./Ticket.mjs";
@@ -69,6 +69,7 @@ export * from "./BusinessProductVariant.mjs";
69
69
  export * from "./BusinessProfile.mjs";
70
70
  export * from "./BusinessScheduleDayResource.mjs";
71
71
  export * from "./BusinessSearchResult.mjs";
72
+ export * from "./BusinessStand.mjs";
72
73
  export * from "./BusinessStripeConnection.mjs";
73
74
  export * from "./BusinessSummary.mjs";
74
75
  export * from "./BusinessTemporaryLocation.mjs";
@@ -145,6 +146,7 @@ export * from "./SearchResults.mjs";
145
146
  export * from "./ServiceUnavailableErrorBody.mjs";
146
147
  export * from "./ShippingAccountResource.mjs";
147
148
  export * from "./ShippingRateResource.mjs";
149
+ export * from "./StandShop.mjs";
148
150
  export * from "./StoreAddressRequest.mjs";
149
151
  export * from "./StoreProductImageRequest.mjs";
150
152
  export * from "./Ticket.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.62";
1
+ export declare const SDK_VERSION = "0.0.63";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.62";
1
+ export const SDK_VERSION = "0.0.63";