@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
@@ -37,6 +37,7 @@ export class VariationsClient {
37
37
  * @throws {@link FiveOneEat.UnauthorizedError}
38
38
  * @throws {@link FiveOneEat.ForbiddenError}
39
39
  * @throws {@link FiveOneEat.NotFoundError}
40
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
40
41
  *
41
42
  * @example
42
43
  * await client.business.menus.items.variations.list({
@@ -77,6 +78,8 @@ export class VariationsClient {
77
78
  throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
78
79
  case 404:
79
80
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
81
+ case 422:
82
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
80
83
  default:
81
84
  throw new errors.FiveOneEatError({
82
85
  statusCode: _response.error.statusCode,
@@ -227,6 +230,7 @@ export class VariationsClient {
227
230
  * @throws {@link FiveOneEat.UnauthorizedError}
228
231
  * @throws {@link FiveOneEat.ForbiddenError}
229
232
  * @throws {@link FiveOneEat.NotFoundError}
233
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
230
234
  *
231
235
  * @example
232
236
  * await client.business.menus.items.variations.delete({
@@ -267,6 +271,8 @@ export class VariationsClient {
267
271
  throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
268
272
  case 404:
269
273
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
274
+ case 422:
275
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
270
276
  default:
271
277
  throw new errors.FiveOneEatError({
272
278
  statusCode: _response.error.statusCode,
@@ -14,6 +14,8 @@ export declare class ProductCategoriesClient {
14
14
  * @param {ProductCategoriesClient.RequestOptions} requestOptions - Request-specific configuration.
15
15
  *
16
16
  * @throws {@link FiveOneEat.UnauthorizedError}
17
+ * @throws {@link FiveOneEat.ForbiddenError}
18
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
17
19
  *
18
20
  * @example
19
21
  * await client.business.productCategories.list()
@@ -25,6 +27,7 @@ export declare class ProductCategoriesClient {
25
27
  * @param {ProductCategoriesClient.RequestOptions} requestOptions - Request-specific configuration.
26
28
  *
27
29
  * @throws {@link FiveOneEat.UnauthorizedError}
30
+ * @throws {@link FiveOneEat.ForbiddenError}
28
31
  * @throws {@link FiveOneEat.UnprocessableEntityError}
29
32
  *
30
33
  * @example
@@ -57,6 +60,7 @@ export declare class ProductCategoriesClient {
57
60
  * @throws {@link FiveOneEat.UnauthorizedError}
58
61
  * @throws {@link FiveOneEat.ForbiddenError}
59
62
  * @throws {@link FiveOneEat.NotFoundError}
63
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
60
64
  *
61
65
  * @example
62
66
  * await client.business.productCategories.delete({
@@ -34,6 +34,8 @@ export class ProductCategoriesClient {
34
34
  * @param {ProductCategoriesClient.RequestOptions} requestOptions - Request-specific configuration.
35
35
  *
36
36
  * @throws {@link FiveOneEat.UnauthorizedError}
37
+ * @throws {@link FiveOneEat.ForbiddenError}
38
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
37
39
  *
38
40
  * @example
39
41
  * await client.business.productCategories.list()
@@ -67,6 +69,10 @@ export class ProductCategoriesClient {
67
69
  switch (_response.error.statusCode) {
68
70
  case 401:
69
71
  throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
72
+ case 403:
73
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
74
+ case 422:
75
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
70
76
  default:
71
77
  throw new errors.FiveOneEatError({
72
78
  statusCode: _response.error.statusCode,
@@ -83,6 +89,7 @@ export class ProductCategoriesClient {
83
89
  * @param {ProductCategoriesClient.RequestOptions} requestOptions - Request-specific configuration.
84
90
  *
85
91
  * @throws {@link FiveOneEat.UnauthorizedError}
92
+ * @throws {@link FiveOneEat.ForbiddenError}
86
93
  * @throws {@link FiveOneEat.UnprocessableEntityError}
87
94
  *
88
95
  * @example
@@ -122,6 +129,8 @@ export class ProductCategoriesClient {
122
129
  switch (_response.error.statusCode) {
123
130
  case 401:
124
131
  throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
132
+ case 403:
133
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
125
134
  case 422:
126
135
  throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
127
136
  default:
@@ -206,6 +215,7 @@ export class ProductCategoriesClient {
206
215
  * @throws {@link FiveOneEat.UnauthorizedError}
207
216
  * @throws {@link FiveOneEat.ForbiddenError}
208
217
  * @throws {@link FiveOneEat.NotFoundError}
218
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
209
219
  *
210
220
  * @example
211
221
  * await client.business.productCategories.delete({
@@ -246,6 +256,8 @@ export class ProductCategoriesClient {
246
256
  throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
247
257
  case 404:
248
258
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
259
+ case 422:
260
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
249
261
  default:
250
262
  throw new errors.FiveOneEatError({
251
263
  statusCode: _response.error.statusCode,
@@ -20,6 +20,8 @@ export declare class ProductsClient {
20
20
  * @param {ProductsClient.RequestOptions} requestOptions - Request-specific configuration.
21
21
  *
22
22
  * @throws {@link FiveOneEat.UnauthorizedError}
23
+ * @throws {@link FiveOneEat.ForbiddenError}
24
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
23
25
  *
24
26
  * @example
25
27
  * await client.business.products.list()
@@ -50,6 +52,7 @@ export declare class ProductsClient {
50
52
  * @throws {@link FiveOneEat.UnauthorizedError}
51
53
  * @throws {@link FiveOneEat.ForbiddenError}
52
54
  * @throws {@link FiveOneEat.NotFoundError}
55
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
53
56
  *
54
57
  * @example
55
58
  * await client.business.products.get({
@@ -81,6 +84,7 @@ export declare class ProductsClient {
81
84
  * @throws {@link FiveOneEat.UnauthorizedError}
82
85
  * @throws {@link FiveOneEat.ForbiddenError}
83
86
  * @throws {@link FiveOneEat.NotFoundError}
87
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
84
88
  *
85
89
  * @example
86
90
  * await client.business.products.delete({
@@ -44,6 +44,8 @@ export class ProductsClient {
44
44
  * @param {ProductsClient.RequestOptions} requestOptions - Request-specific configuration.
45
45
  *
46
46
  * @throws {@link FiveOneEat.UnauthorizedError}
47
+ * @throws {@link FiveOneEat.ForbiddenError}
48
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
47
49
  *
48
50
  * @example
49
51
  * await client.business.products.list()
@@ -77,6 +79,10 @@ export class ProductsClient {
77
79
  switch (_response.error.statusCode) {
78
80
  case 401:
79
81
  throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
82
+ case 403:
83
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
84
+ case 422:
85
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
80
86
  default:
81
87
  throw new errors.FiveOneEatError({
82
88
  statusCode: _response.error.statusCode,
@@ -157,6 +163,7 @@ export class ProductsClient {
157
163
  * @throws {@link FiveOneEat.UnauthorizedError}
158
164
  * @throws {@link FiveOneEat.ForbiddenError}
159
165
  * @throws {@link FiveOneEat.NotFoundError}
166
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
160
167
  *
161
168
  * @example
162
169
  * await client.business.products.get({
@@ -197,6 +204,8 @@ export class ProductsClient {
197
204
  throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
198
205
  case 404:
199
206
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
207
+ case 422:
208
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
200
209
  default:
201
210
  throw new errors.FiveOneEatError({
202
211
  statusCode: _response.error.statusCode,
@@ -279,6 +288,7 @@ export class ProductsClient {
279
288
  * @throws {@link FiveOneEat.UnauthorizedError}
280
289
  * @throws {@link FiveOneEat.ForbiddenError}
281
290
  * @throws {@link FiveOneEat.NotFoundError}
291
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
282
292
  *
283
293
  * @example
284
294
  * await client.business.products.delete({
@@ -319,6 +329,8 @@ export class ProductsClient {
319
329
  throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
320
330
  case 404:
321
331
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
332
+ case 422:
333
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
322
334
  default:
323
335
  throw new errors.FiveOneEatError({
324
336
  statusCode: _response.error.statusCode,
@@ -57,6 +57,7 @@ export declare class ImagesClient {
57
57
  * @throws {@link FiveOneEat.UnauthorizedError}
58
58
  * @throws {@link FiveOneEat.ForbiddenError}
59
59
  * @throws {@link FiveOneEat.NotFoundError}
60
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
60
61
  *
61
62
  * @example
62
63
  * await client.business.products.images.delete({
@@ -167,6 +167,7 @@ export class ImagesClient {
167
167
  * @throws {@link FiveOneEat.UnauthorizedError}
168
168
  * @throws {@link FiveOneEat.ForbiddenError}
169
169
  * @throws {@link FiveOneEat.NotFoundError}
170
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
170
171
  *
171
172
  * @example
172
173
  * await client.business.products.images.delete({
@@ -208,6 +209,8 @@ export class ImagesClient {
208
209
  throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
209
210
  case 404:
210
211
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
212
+ case 422:
213
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
211
214
  default:
212
215
  throw new errors.FiveOneEatError({
213
216
  statusCode: _response.error.statusCode,
@@ -54,6 +54,7 @@ export declare class VariantsClient {
54
54
  * @throws {@link FiveOneEat.UnauthorizedError}
55
55
  * @throws {@link FiveOneEat.ForbiddenError}
56
56
  * @throws {@link FiveOneEat.NotFoundError}
57
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
57
58
  *
58
59
  * @example
59
60
  * await client.business.products.variants.delete({
@@ -172,6 +172,7 @@ export class VariantsClient {
172
172
  * @throws {@link FiveOneEat.UnauthorizedError}
173
173
  * @throws {@link FiveOneEat.ForbiddenError}
174
174
  * @throws {@link FiveOneEat.NotFoundError}
175
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
175
176
  *
176
177
  * @example
177
178
  * await client.business.products.variants.delete({
@@ -212,6 +213,8 @@ export class VariantsClient {
212
213
  throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
213
214
  case 404:
214
215
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
216
+ case 422:
217
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
215
218
  default:
216
219
  throw new errors.FiveOneEatError({
217
220
  statusCode: _response.error.statusCode,
@@ -57,6 +57,7 @@ export declare class ImagesClient {
57
57
  * @throws {@link FiveOneEat.UnauthorizedError}
58
58
  * @throws {@link FiveOneEat.ForbiddenError}
59
59
  * @throws {@link FiveOneEat.NotFoundError}
60
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
60
61
  *
61
62
  * @example
62
63
  * await client.business.products.variants.images.delete({
@@ -167,6 +167,7 @@ export class ImagesClient {
167
167
  * @throws {@link FiveOneEat.UnauthorizedError}
168
168
  * @throws {@link FiveOneEat.ForbiddenError}
169
169
  * @throws {@link FiveOneEat.NotFoundError}
170
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
170
171
  *
171
172
  * @example
172
173
  * await client.business.products.variants.images.delete({
@@ -208,6 +209,8 @@ export class ImagesClient {
208
209
  throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
209
210
  case 404:
210
211
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
212
+ case 422:
213
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
211
214
  default:
212
215
  throw new errors.FiveOneEatError({
213
216
  statusCode: _response.error.statusCode,
@@ -29,8 +29,6 @@ export interface UpdateBusinessProfileRequest {
29
29
  pickup_hours?: string[] | null;
30
30
  same_day_cutoff?: string | null;
31
31
  pickup_instructions?: string | null;
32
- ownership?: string[] | null;
33
- badges?: string[] | null;
34
32
  category_ids?: number[];
35
33
  operating_months?: number[] | null;
36
34
  }
@@ -36,6 +36,7 @@ export declare class BusinessProductsClient {
36
36
  * @throws {@link FiveOneEat.UnauthorizedError}
37
37
  * @throws {@link FiveOneEat.ForbiddenError}
38
38
  * @throws {@link FiveOneEat.NotFoundError}
39
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
39
40
  *
40
41
  * @example
41
42
  * await client.businessProducts.listVariantInventoryHistory({
@@ -51,6 +52,7 @@ export declare class BusinessProductsClient {
51
52
  * @throws {@link FiveOneEat.UnauthorizedError}
52
53
  * @throws {@link FiveOneEat.ForbiddenError}
53
54
  * @throws {@link FiveOneEat.NotFoundError}
55
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
54
56
  *
55
57
  * @example
56
58
  * await client.businessProducts.getProductInventorySummary({
@@ -104,6 +104,7 @@ export class BusinessProductsClient {
104
104
  * @throws {@link FiveOneEat.UnauthorizedError}
105
105
  * @throws {@link FiveOneEat.ForbiddenError}
106
106
  * @throws {@link FiveOneEat.NotFoundError}
107
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
107
108
  *
108
109
  * @example
109
110
  * await client.businessProducts.listVariantInventoryHistory({
@@ -152,6 +153,8 @@ export class BusinessProductsClient {
152
153
  throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
153
154
  case 404:
154
155
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
156
+ case 422:
157
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
155
158
  default:
156
159
  throw new errors.FiveOneEatError({
157
160
  statusCode: _response.error.statusCode,
@@ -170,6 +173,7 @@ export class BusinessProductsClient {
170
173
  * @throws {@link FiveOneEat.UnauthorizedError}
171
174
  * @throws {@link FiveOneEat.ForbiddenError}
172
175
  * @throws {@link FiveOneEat.NotFoundError}
176
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
173
177
  *
174
178
  * @example
175
179
  * await client.businessProducts.getProductInventorySummary({
@@ -210,6 +214,8 @@ export class BusinessProductsClient {
210
214
  throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
211
215
  case 404:
212
216
  throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
217
+ case 422:
218
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
213
219
  default:
214
220
  throw new errors.FiveOneEatError({
215
221
  statusCode: _response.error.statusCode,
@@ -0,0 +1,106 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
+ import * as core from "../../../../core/index.mjs";
4
+ import * as FiveOneEat from "../../../index.mjs";
5
+ export declare namespace BusinessStandsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class BusinessStandsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<BusinessStandsClient.Options>;
12
+ constructor(options?: BusinessStandsClient.Options);
13
+ /**
14
+ * @param {BusinessStandsClient.RequestOptions} requestOptions - Request-specific configuration.
15
+ *
16
+ * @throws {@link FiveOneEat.UnauthorizedError}
17
+ * @throws {@link FiveOneEat.ForbiddenError}
18
+ *
19
+ * @example
20
+ * await client.businessStands.listBusinessStands()
21
+ */
22
+ listBusinessStands(requestOptions?: BusinessStandsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.ListBusinessStandsResponse>;
23
+ private __listBusinessStands;
24
+ /**
25
+ * @param {FiveOneEat.StoreStandRequest} request
26
+ * @param {BusinessStandsClient.RequestOptions} requestOptions - Request-specific configuration.
27
+ *
28
+ * @throws {@link FiveOneEat.UnauthorizedError}
29
+ * @throws {@link FiveOneEat.ForbiddenError}
30
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
31
+ *
32
+ * @example
33
+ * await client.businessStands.createBusinessStand({
34
+ * name: "name"
35
+ * })
36
+ */
37
+ createBusinessStand(request: FiveOneEat.StoreStandRequest, requestOptions?: BusinessStandsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.CreateBusinessStandResponse>;
38
+ private __createBusinessStand;
39
+ /**
40
+ * @param {FiveOneEat.GetBusinessStandRequest} request
41
+ * @param {BusinessStandsClient.RequestOptions} requestOptions - Request-specific configuration.
42
+ *
43
+ * @throws {@link FiveOneEat.UnauthorizedError}
44
+ * @throws {@link FiveOneEat.ForbiddenError}
45
+ * @throws {@link FiveOneEat.NotFoundError}
46
+ *
47
+ * @example
48
+ * await client.businessStands.getBusinessStand({
49
+ * stand: "stand"
50
+ * })
51
+ */
52
+ getBusinessStand(request: FiveOneEat.GetBusinessStandRequest, requestOptions?: BusinessStandsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.GetBusinessStandResponse>;
53
+ private __getBusinessStand;
54
+ /**
55
+ * @param {FiveOneEat.UpdateStandRequest} request
56
+ * @param {BusinessStandsClient.RequestOptions} requestOptions - Request-specific configuration.
57
+ *
58
+ * @throws {@link FiveOneEat.UnauthorizedError}
59
+ * @throws {@link FiveOneEat.ForbiddenError}
60
+ * @throws {@link FiveOneEat.NotFoundError}
61
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
62
+ *
63
+ * @example
64
+ * await client.businessStands.updateBusinessStand({
65
+ * stand: "stand"
66
+ * })
67
+ */
68
+ updateBusinessStand(request: FiveOneEat.UpdateStandRequest, requestOptions?: BusinessStandsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.UpdateBusinessStandResponse>;
69
+ private __updateBusinessStand;
70
+ /**
71
+ * @param {FiveOneEat.DeleteBusinessStandRequest} request
72
+ * @param {BusinessStandsClient.RequestOptions} requestOptions - Request-specific configuration.
73
+ *
74
+ * @throws {@link FiveOneEat.UnauthorizedError}
75
+ * @throws {@link FiveOneEat.ForbiddenError}
76
+ * @throws {@link FiveOneEat.NotFoundError}
77
+ *
78
+ * @example
79
+ * await client.businessStands.deleteBusinessStand({
80
+ * stand: "stand"
81
+ * })
82
+ */
83
+ deleteBusinessStand(request: FiveOneEat.DeleteBusinessStandRequest, requestOptions?: BusinessStandsClient.RequestOptions): core.HttpResponsePromise<void>;
84
+ private __deleteBusinessStand;
85
+ /**
86
+ * Replaces the stand's product list with the submitted set. Send an empty
87
+ * array to clear all assignments. Only products belonging to the
88
+ * authenticated business are accepted.
89
+ *
90
+ * @param {FiveOneEat.SyncStandProductsRequest} request
91
+ * @param {BusinessStandsClient.RequestOptions} requestOptions - Request-specific configuration.
92
+ *
93
+ * @throws {@link FiveOneEat.UnauthorizedError}
94
+ * @throws {@link FiveOneEat.ForbiddenError}
95
+ * @throws {@link FiveOneEat.NotFoundError}
96
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
97
+ *
98
+ * @example
99
+ * await client.businessStands.syncStandProducts({
100
+ * stand: "stand",
101
+ * product_ids: ["product_ids"]
102
+ * })
103
+ */
104
+ syncStandProducts(request: FiveOneEat.SyncStandProductsRequest, requestOptions?: BusinessStandsClient.RequestOptions): core.HttpResponsePromise<number>;
105
+ private __syncStandProducts;
106
+ }