@51eat/sdk 0.0.62 → 0.0.64

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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@51eat/sdk",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -66,6 +66,17 @@
66
66
  },
67
67
  "default": "./dist/cjs/api/resources/businessShipping/exports.js"
68
68
  },
69
+ "./businessStands": {
70
+ "import": {
71
+ "types": "./dist/esm/api/resources/businessStands/exports.d.mts",
72
+ "default": "./dist/esm/api/resources/businessStands/exports.mjs"
73
+ },
74
+ "require": {
75
+ "types": "./dist/cjs/api/resources/businessStands/exports.d.ts",
76
+ "default": "./dist/cjs/api/resources/businessStands/exports.js"
77
+ },
78
+ "default": "./dist/cjs/api/resources/businessStands/exports.js"
79
+ },
69
80
  "./customerBusinesses": {
70
81
  "import": {
71
82
  "types": "./dist/esm/api/resources/customerBusinesses/exports.d.mts",
@@ -121,6 +132,17 @@
121
132
  },
122
133
  "default": "./dist/cjs/api/resources/customer/exports.js"
123
134
  },
135
+ "./customerStands": {
136
+ "import": {
137
+ "types": "./dist/esm/api/resources/customerStands/exports.d.mts",
138
+ "default": "./dist/esm/api/resources/customerStands/exports.mjs"
139
+ },
140
+ "require": {
141
+ "types": "./dist/cjs/api/resources/customerStands/exports.d.ts",
142
+ "default": "./dist/cjs/api/resources/customerStands/exports.js"
143
+ },
144
+ "default": "./dist/cjs/api/resources/customerStands/exports.js"
145
+ },
124
146
  "./recordClick": {
125
147
  "import": {
126
148
  "types": "./dist/esm/api/resources/recordClick/exports.d.mts",
package/reference.md CHANGED
@@ -909,6 +909,320 @@ await client.businessShipping.deleteBusinessShippingRate({
909
909
  </dl>
910
910
 
911
911
 
912
+ </dd>
913
+ </dl>
914
+ </details>
915
+
916
+ ## Business: Stands
917
+ <details><summary><code>client.businessStands.<a href="/src/api/resources/businessStands/client/Client.ts">listBusinessStands</a>() -> FiveOneEat.ListBusinessStandsResponse</code></summary>
918
+ <dl>
919
+ <dd>
920
+
921
+ #### 🔌 Usage
922
+
923
+ <dl>
924
+ <dd>
925
+
926
+ <dl>
927
+ <dd>
928
+
929
+ ```typescript
930
+ await client.businessStands.listBusinessStands();
931
+
932
+ ```
933
+ </dd>
934
+ </dl>
935
+ </dd>
936
+ </dl>
937
+
938
+ #### ⚙️ Parameters
939
+
940
+ <dl>
941
+ <dd>
942
+
943
+ <dl>
944
+ <dd>
945
+
946
+ **requestOptions:** `BusinessStandsClient.RequestOptions`
947
+
948
+ </dd>
949
+ </dl>
950
+ </dd>
951
+ </dl>
952
+
953
+
954
+ </dd>
955
+ </dl>
956
+ </details>
957
+
958
+ <details><summary><code>client.businessStands.<a href="/src/api/resources/businessStands/client/Client.ts">createBusinessStand</a>({ ...params }) -> FiveOneEat.CreateBusinessStandResponse</code></summary>
959
+ <dl>
960
+ <dd>
961
+
962
+ #### 🔌 Usage
963
+
964
+ <dl>
965
+ <dd>
966
+
967
+ <dl>
968
+ <dd>
969
+
970
+ ```typescript
971
+ await client.businessStands.createBusinessStand({
972
+ name: "name"
973
+ });
974
+
975
+ ```
976
+ </dd>
977
+ </dl>
978
+ </dd>
979
+ </dl>
980
+
981
+ #### ⚙️ Parameters
982
+
983
+ <dl>
984
+ <dd>
985
+
986
+ <dl>
987
+ <dd>
988
+
989
+ **request:** `FiveOneEat.StoreStandRequest`
990
+
991
+ </dd>
992
+ </dl>
993
+
994
+ <dl>
995
+ <dd>
996
+
997
+ **requestOptions:** `BusinessStandsClient.RequestOptions`
998
+
999
+ </dd>
1000
+ </dl>
1001
+ </dd>
1002
+ </dl>
1003
+
1004
+
1005
+ </dd>
1006
+ </dl>
1007
+ </details>
1008
+
1009
+ <details><summary><code>client.businessStands.<a href="/src/api/resources/businessStands/client/Client.ts">getBusinessStand</a>({ ...params }) -> FiveOneEat.GetBusinessStandResponse</code></summary>
1010
+ <dl>
1011
+ <dd>
1012
+
1013
+ #### 🔌 Usage
1014
+
1015
+ <dl>
1016
+ <dd>
1017
+
1018
+ <dl>
1019
+ <dd>
1020
+
1021
+ ```typescript
1022
+ await client.businessStands.getBusinessStand({
1023
+ stand: "stand"
1024
+ });
1025
+
1026
+ ```
1027
+ </dd>
1028
+ </dl>
1029
+ </dd>
1030
+ </dl>
1031
+
1032
+ #### ⚙️ Parameters
1033
+
1034
+ <dl>
1035
+ <dd>
1036
+
1037
+ <dl>
1038
+ <dd>
1039
+
1040
+ **request:** `FiveOneEat.GetBusinessStandRequest`
1041
+
1042
+ </dd>
1043
+ </dl>
1044
+
1045
+ <dl>
1046
+ <dd>
1047
+
1048
+ **requestOptions:** `BusinessStandsClient.RequestOptions`
1049
+
1050
+ </dd>
1051
+ </dl>
1052
+ </dd>
1053
+ </dl>
1054
+
1055
+
1056
+ </dd>
1057
+ </dl>
1058
+ </details>
1059
+
1060
+ <details><summary><code>client.businessStands.<a href="/src/api/resources/businessStands/client/Client.ts">updateBusinessStand</a>({ ...params }) -> FiveOneEat.UpdateBusinessStandResponse</code></summary>
1061
+ <dl>
1062
+ <dd>
1063
+
1064
+ #### 🔌 Usage
1065
+
1066
+ <dl>
1067
+ <dd>
1068
+
1069
+ <dl>
1070
+ <dd>
1071
+
1072
+ ```typescript
1073
+ await client.businessStands.updateBusinessStand({
1074
+ stand: "stand"
1075
+ });
1076
+
1077
+ ```
1078
+ </dd>
1079
+ </dl>
1080
+ </dd>
1081
+ </dl>
1082
+
1083
+ #### ⚙️ Parameters
1084
+
1085
+ <dl>
1086
+ <dd>
1087
+
1088
+ <dl>
1089
+ <dd>
1090
+
1091
+ **request:** `FiveOneEat.UpdateStandRequest`
1092
+
1093
+ </dd>
1094
+ </dl>
1095
+
1096
+ <dl>
1097
+ <dd>
1098
+
1099
+ **requestOptions:** `BusinessStandsClient.RequestOptions`
1100
+
1101
+ </dd>
1102
+ </dl>
1103
+ </dd>
1104
+ </dl>
1105
+
1106
+
1107
+ </dd>
1108
+ </dl>
1109
+ </details>
1110
+
1111
+ <details><summary><code>client.businessStands.<a href="/src/api/resources/businessStands/client/Client.ts">deleteBusinessStand</a>({ ...params }) -> void</code></summary>
1112
+ <dl>
1113
+ <dd>
1114
+
1115
+ #### 🔌 Usage
1116
+
1117
+ <dl>
1118
+ <dd>
1119
+
1120
+ <dl>
1121
+ <dd>
1122
+
1123
+ ```typescript
1124
+ await client.businessStands.deleteBusinessStand({
1125
+ stand: "stand"
1126
+ });
1127
+
1128
+ ```
1129
+ </dd>
1130
+ </dl>
1131
+ </dd>
1132
+ </dl>
1133
+
1134
+ #### ⚙️ Parameters
1135
+
1136
+ <dl>
1137
+ <dd>
1138
+
1139
+ <dl>
1140
+ <dd>
1141
+
1142
+ **request:** `FiveOneEat.DeleteBusinessStandRequest`
1143
+
1144
+ </dd>
1145
+ </dl>
1146
+
1147
+ <dl>
1148
+ <dd>
1149
+
1150
+ **requestOptions:** `BusinessStandsClient.RequestOptions`
1151
+
1152
+ </dd>
1153
+ </dl>
1154
+ </dd>
1155
+ </dl>
1156
+
1157
+
1158
+ </dd>
1159
+ </dl>
1160
+ </details>
1161
+
1162
+ <details><summary><code>client.businessStands.<a href="/src/api/resources/businessStands/client/Client.ts">syncStandProducts</a>({ ...params }) -> number</code></summary>
1163
+ <dl>
1164
+ <dd>
1165
+
1166
+ #### 📝 Description
1167
+
1168
+ <dl>
1169
+ <dd>
1170
+
1171
+ <dl>
1172
+ <dd>
1173
+
1174
+ Replaces the stand's product list with the submitted set. Send an empty
1175
+ array to clear all assignments. Only products belonging to the
1176
+ authenticated business are accepted.
1177
+ </dd>
1178
+ </dl>
1179
+ </dd>
1180
+ </dl>
1181
+
1182
+ #### 🔌 Usage
1183
+
1184
+ <dl>
1185
+ <dd>
1186
+
1187
+ <dl>
1188
+ <dd>
1189
+
1190
+ ```typescript
1191
+ await client.businessStands.syncStandProducts({
1192
+ stand: "stand",
1193
+ product_ids: ["product_ids"]
1194
+ });
1195
+
1196
+ ```
1197
+ </dd>
1198
+ </dl>
1199
+ </dd>
1200
+ </dl>
1201
+
1202
+ #### ⚙️ Parameters
1203
+
1204
+ <dl>
1205
+ <dd>
1206
+
1207
+ <dl>
1208
+ <dd>
1209
+
1210
+ **request:** `FiveOneEat.SyncStandProductsRequest`
1211
+
1212
+ </dd>
1213
+ </dl>
1214
+
1215
+ <dl>
1216
+ <dd>
1217
+
1218
+ **requestOptions:** `BusinessStandsClient.RequestOptions`
1219
+
1220
+ </dd>
1221
+ </dl>
1222
+ </dd>
1223
+ </dl>
1224
+
1225
+
912
1226
  </dd>
913
1227
  </dl>
914
1228
  </details>
@@ -1362,6 +1676,191 @@ await client.customer.search({
1362
1676
  </dl>
1363
1677
 
1364
1678
 
1679
+ </dd>
1680
+ </dl>
1681
+ </details>
1682
+
1683
+ ## Customer: Stands
1684
+ <details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">scanStand</a>({ ...params }) -> FiveOneEat.ScanStandResponse</code></summary>
1685
+ <dl>
1686
+ <dd>
1687
+
1688
+ #### 📝 Description
1689
+
1690
+ <dl>
1691
+ <dd>
1692
+
1693
+ <dl>
1694
+ <dd>
1695
+
1696
+ Logs the scan (user id captured when authenticated) and returns the
1697
+ stand, its business, and the business's published products.
1698
+ </dd>
1699
+ </dl>
1700
+ </dd>
1701
+ </dl>
1702
+
1703
+ #### 🔌 Usage
1704
+
1705
+ <dl>
1706
+ <dd>
1707
+
1708
+ <dl>
1709
+ <dd>
1710
+
1711
+ ```typescript
1712
+ await client.customerStands.scanStand({
1713
+ stand: "stand"
1714
+ });
1715
+
1716
+ ```
1717
+ </dd>
1718
+ </dl>
1719
+ </dd>
1720
+ </dl>
1721
+
1722
+ #### ⚙️ Parameters
1723
+
1724
+ <dl>
1725
+ <dd>
1726
+
1727
+ <dl>
1728
+ <dd>
1729
+
1730
+ **request:** `FiveOneEat.ScanStandRequest`
1731
+
1732
+ </dd>
1733
+ </dl>
1734
+
1735
+ <dl>
1736
+ <dd>
1737
+
1738
+ **requestOptions:** `CustomerStandsClient.RequestOptions`
1739
+
1740
+ </dd>
1741
+ </dl>
1742
+ </dd>
1743
+ </dl>
1744
+
1745
+
1746
+ </dd>
1747
+ </dl>
1748
+ </details>
1749
+
1750
+ <details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">createStandPaymentIntent</a>({ ...params }) -> FiveOneEat.CreateStandPaymentIntentResponse</code></summary>
1751
+ <dl>
1752
+ <dd>
1753
+
1754
+ #### 📝 Description
1755
+
1756
+ <dl>
1757
+ <dd>
1758
+
1759
+ <dl>
1760
+ <dd>
1761
+
1762
+ Returns client_secret, price breakdown, and tax calculation for use with Stripe SDK.
1763
+ Shipping is always zero for stand orders.
1764
+ </dd>
1765
+ </dl>
1766
+ </dd>
1767
+ </dl>
1768
+
1769
+ #### 🔌 Usage
1770
+
1771
+ <dl>
1772
+ <dd>
1773
+
1774
+ <dl>
1775
+ <dd>
1776
+
1777
+ ```typescript
1778
+ await client.customerStands.createStandPaymentIntent({
1779
+ stand: "stand"
1780
+ });
1781
+
1782
+ ```
1783
+ </dd>
1784
+ </dl>
1785
+ </dd>
1786
+ </dl>
1787
+
1788
+ #### ⚙️ Parameters
1789
+
1790
+ <dl>
1791
+ <dd>
1792
+
1793
+ <dl>
1794
+ <dd>
1795
+
1796
+ **request:** `FiveOneEat.CreateStandPaymentIntentRequest`
1797
+
1798
+ </dd>
1799
+ </dl>
1800
+
1801
+ <dl>
1802
+ <dd>
1803
+
1804
+ **requestOptions:** `CustomerStandsClient.RequestOptions`
1805
+
1806
+ </dd>
1807
+ </dl>
1808
+ </dd>
1809
+ </dl>
1810
+
1811
+
1812
+ </dd>
1813
+ </dl>
1814
+ </details>
1815
+
1816
+ <details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">standCheckout</a>({ ...params }) -> FiveOneEat.StandCheckoutResponse</code></summary>
1817
+ <dl>
1818
+ <dd>
1819
+
1820
+ #### 🔌 Usage
1821
+
1822
+ <dl>
1823
+ <dd>
1824
+
1825
+ <dl>
1826
+ <dd>
1827
+
1828
+ ```typescript
1829
+ await client.customerStands.standCheckout({
1830
+ stand: "stand",
1831
+ payment_intent_id: "payment_intent_id"
1832
+ });
1833
+
1834
+ ```
1835
+ </dd>
1836
+ </dl>
1837
+ </dd>
1838
+ </dl>
1839
+
1840
+ #### ⚙️ Parameters
1841
+
1842
+ <dl>
1843
+ <dd>
1844
+
1845
+ <dl>
1846
+ <dd>
1847
+
1848
+ **request:** `FiveOneEat.SelfCheckoutRequest`
1849
+
1850
+ </dd>
1851
+ </dl>
1852
+
1853
+ <dl>
1854
+ <dd>
1855
+
1856
+ **requestOptions:** `CustomerStandsClient.RequestOptions`
1857
+
1858
+ </dd>
1859
+ </dl>
1860
+ </dd>
1861
+ </dl>
1862
+
1863
+
1365
1864
  </dd>
1366
1865
  </dl>
1367
1866
  </details>
@@ -7501,7 +8000,7 @@ await client.business.menus.groups.reorder({
7501
8000
  <dl>
7502
8001
  <dd>
7503
8002
 
7504
- **request:** `FiveOneEat.business.menus.ReorderGroupsRequest`
8003
+ **request:** `FiveOneEat.business.menus.ReorderMenuGroupsRequest`
7505
8004
 
7506
8005
  </dd>
7507
8006
  </dl>
@@ -7834,7 +8333,7 @@ await client.business.menus.items.reorder({
7834
8333
  <dl>
7835
8334
  <dd>
7836
8335
 
7837
- **request:** `FiveOneEat.business.menus.ReorderItemsRequest`
8336
+ **request:** `FiveOneEat.business.menus.ReorderMenuItemsRequest`
7838
8337
 
7839
8338
  </dd>
7840
8339
  </dl>
@@ -7901,7 +8400,7 @@ await client.business.menus.items.move({
7901
8400
  <dl>
7902
8401
  <dd>
7903
8402
 
7904
- **request:** `FiveOneEat.business.menus.MoveItemsRequest`
8403
+ **request:** `FiveOneEat.business.menus.MoveMenuItemRequest`
7905
8404
 
7906
8405
  </dd>
7907
8406
  </dl>