@51eat/sdk 0.0.43 → 0.0.45

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 (354) hide show
  1. package/README.md +9 -11
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +0 -6
  4. package/dist/cjs/Client.js +8 -18
  5. package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +1 -0
  6. package/dist/cjs/api/resources/customer/client/Client.d.ts +2 -2
  7. package/dist/cjs/api/resources/customer/client/Client.js +4 -4
  8. package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +41 -13
  9. package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +146 -46
  10. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/FavoriteBusinessesRequest.d.ts +2 -1
  11. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.ts +2 -1
  12. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.ts +6 -1
  13. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.ts +6 -1
  14. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ProfileBusinessesRequest.d.ts +2 -1
  15. package/dist/cjs/api/resources/customer/resources/businesses/client/requests/UnfavoriteBusinessesRequest.d.ts +2 -1
  16. package/dist/cjs/api/resources/customer/resources/businesses/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/customer/resources/businesses/index.js +1 -0
  18. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/Client.d.ts +8 -3
  19. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/Client.js +34 -9
  20. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.ts +6 -1
  21. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/index.js +1 -0
  23. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.ts +43 -17
  24. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.js +152 -42
  25. package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.d.ts +2 -2
  26. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.ts +8 -2
  27. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.ts +10 -3
  28. package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.d.ts +2 -2
  29. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.ts +2 -2
  30. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.d.ts +1 -0
  31. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.js +1 -0
  32. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/CreateCommentsResponse.d.ts +4 -0
  33. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListCommentsResponse.d.ts +4 -0
  34. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListRepliesCommentsResponse.d.ts +4 -0
  35. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.d.ts +4 -0
  36. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.d.ts +4 -0
  37. package/dist/cjs/api/resources/{customerShop → customer/resources/businesses/resources/bulletins/resources/comments/types}/index.js +4 -2
  38. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/index.d.ts +1 -0
  39. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/index.js +1 -0
  40. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.d.ts +4 -0
  41. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/types/index.d.ts +1 -0
  42. package/dist/cjs/api/resources/{customerBusinesses/client → customer/resources/businesses/resources/bulletins/types}/index.js +1 -1
  43. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.d.ts +33 -12
  44. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.js +116 -34
  45. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/CancelRsvpEventsRequest.d.ts +4 -2
  46. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/GetEventsRequest.d.ts +3 -1
  47. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.ts +6 -1
  48. package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.d.ts +2 -2
  49. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/index.d.ts +1 -1
  50. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/index.js +3 -0
  51. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/index.d.ts +1 -0
  52. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/index.js +1 -0
  53. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/GetEventsResponse.d.ts +4 -0
  54. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/ListEventsResponse.d.ts +4 -0
  55. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/RsvpEventsResponse.d.ts +4 -0
  56. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/index.d.ts +3 -0
  57. package/dist/cjs/api/resources/{customerShop/client → customer/resources/businesses/resources/events/types}/index.js +3 -1
  58. package/dist/cjs/api/resources/customer/resources/businesses/resources/index.d.ts +2 -0
  59. package/dist/cjs/api/resources/customer/resources/businesses/resources/index.js +2 -0
  60. package/dist/cjs/api/resources/customer/resources/businesses/types/FavoriteBusinessesResponse.d.ts +3 -0
  61. package/dist/cjs/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.ts +4 -0
  62. package/dist/cjs/api/resources/customer/resources/businesses/types/MenusBusinessesResponse.d.ts +4 -0
  63. package/dist/cjs/api/resources/customer/resources/businesses/types/PhotosBusinessesResponse.d.ts +4 -0
  64. package/dist/cjs/api/resources/customer/resources/businesses/types/ProfileBusinessesResponse.d.ts +4 -0
  65. package/dist/cjs/api/resources/customer/resources/businesses/types/index.d.ts +5 -0
  66. package/dist/cjs/api/resources/{customerShop/exports.js → customer/resources/businesses/types/index.js} +5 -5
  67. package/dist/cjs/api/resources/customer/resources/index.d.ts +2 -0
  68. package/dist/cjs/api/resources/customer/resources/index.js +2 -0
  69. package/dist/cjs/api/resources/customer/resources/shop/client/Client.d.ts +13 -7
  70. package/dist/cjs/api/resources/customer/resources/shop/client/Client.js +63 -23
  71. package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +3 -1
  72. package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +2 -1
  73. package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +6 -1
  74. package/dist/cjs/api/resources/customer/resources/shop/index.d.ts +1 -0
  75. package/dist/cjs/api/resources/customer/resources/shop/index.js +1 -0
  76. package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.d.ts +4 -0
  77. package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.ts +4 -0
  78. package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.ts +4 -0
  79. package/dist/cjs/api/resources/customer/resources/shop/types/index.d.ts +3 -0
  80. package/dist/cjs/api/resources/{customerShop → customer/resources/shop}/types/index.js +3 -3
  81. package/dist/cjs/api/resources/index.d.ts +0 -6
  82. package/dist/cjs/api/resources/index.js +1 -7
  83. package/dist/cjs/version.d.ts +1 -1
  84. package/dist/cjs/version.js +1 -1
  85. package/dist/esm/BaseClient.mjs +2 -2
  86. package/dist/esm/Client.d.mts +0 -6
  87. package/dist/esm/Client.mjs +0 -10
  88. package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +1 -0
  89. package/dist/esm/api/resources/customer/client/Client.d.mts +2 -2
  90. package/dist/esm/api/resources/customer/client/Client.mjs +4 -4
  91. package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +41 -13
  92. package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +146 -46
  93. package/dist/esm/api/resources/customer/resources/businesses/client/requests/FavoriteBusinessesRequest.d.mts +2 -1
  94. package/dist/esm/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.mts +2 -1
  95. package/dist/esm/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.mts +6 -1
  96. package/dist/esm/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.mts +6 -1
  97. package/dist/esm/api/resources/customer/resources/businesses/client/requests/ProfileBusinessesRequest.d.mts +2 -1
  98. package/dist/esm/api/resources/customer/resources/businesses/client/requests/UnfavoriteBusinessesRequest.d.mts +2 -1
  99. package/dist/esm/api/resources/customer/resources/businesses/index.d.mts +1 -0
  100. package/dist/esm/api/resources/customer/resources/businesses/index.mjs +1 -0
  101. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/Client.d.mts +8 -3
  102. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/Client.mjs +34 -9
  103. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.mts +6 -1
  104. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/index.d.mts +1 -0
  105. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/index.mjs +1 -0
  106. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.mts +43 -17
  107. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.mjs +152 -42
  108. package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.d.mts +2 -2
  109. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.mts +8 -2
  110. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.mts +10 -3
  111. package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.d.mts +2 -2
  112. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.mts +2 -2
  113. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.d.mts +1 -0
  114. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.mjs +1 -0
  115. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/CreateCommentsResponse.d.mts +4 -0
  116. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListCommentsResponse.d.mts +4 -0
  117. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListRepliesCommentsResponse.d.mts +4 -0
  118. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.d.mts +4 -0
  119. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.d.mts +4 -0
  120. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.mjs +4 -0
  121. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/index.d.mts +1 -0
  122. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/index.mjs +1 -0
  123. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.d.mts +4 -0
  124. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/types/index.d.mts +1 -0
  125. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/types/index.mjs +1 -0
  126. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.d.mts +33 -12
  127. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.mjs +116 -34
  128. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/CancelRsvpEventsRequest.d.mts +4 -2
  129. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/GetEventsRequest.d.mts +3 -1
  130. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.mts +6 -1
  131. package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.d.mts +2 -2
  132. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/index.d.mts +1 -1
  133. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/index.mjs +1 -1
  134. package/dist/esm/api/resources/customer/resources/businesses/resources/events/index.d.mts +1 -0
  135. package/dist/esm/api/resources/customer/resources/businesses/resources/events/index.mjs +1 -0
  136. package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/GetEventsResponse.d.mts +4 -0
  137. package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/ListEventsResponse.d.mts +4 -0
  138. package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/RsvpEventsResponse.d.mts +4 -0
  139. package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/index.d.mts +3 -0
  140. package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/index.mjs +3 -0
  141. package/dist/esm/api/resources/customer/resources/businesses/resources/index.d.mts +2 -0
  142. package/dist/esm/api/resources/customer/resources/businesses/resources/index.mjs +2 -0
  143. package/dist/esm/api/resources/customer/resources/businesses/types/FavoriteBusinessesResponse.d.mts +3 -0
  144. package/dist/esm/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.mts +4 -0
  145. package/dist/esm/api/resources/customer/resources/businesses/types/MenusBusinessesResponse.d.mts +4 -0
  146. package/dist/esm/api/resources/customer/resources/businesses/types/PhotosBusinessesResponse.d.mts +4 -0
  147. package/dist/esm/api/resources/customer/resources/businesses/types/ProfileBusinessesResponse.d.mts +4 -0
  148. package/dist/esm/api/resources/customer/resources/businesses/types/index.d.mts +5 -0
  149. package/dist/esm/api/resources/customer/resources/businesses/types/index.mjs +5 -0
  150. package/dist/esm/api/resources/customer/resources/index.d.mts +2 -0
  151. package/dist/esm/api/resources/customer/resources/index.mjs +2 -0
  152. package/dist/esm/api/resources/customer/resources/shop/client/Client.d.mts +13 -7
  153. package/dist/esm/api/resources/customer/resources/shop/client/Client.mjs +63 -23
  154. package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +3 -1
  155. package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +2 -1
  156. package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +6 -1
  157. package/dist/esm/api/resources/customer/resources/shop/index.d.mts +1 -0
  158. package/dist/esm/api/resources/customer/resources/shop/index.mjs +1 -0
  159. package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.d.mts +4 -0
  160. package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.mts +4 -0
  161. package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.mts +4 -0
  162. package/dist/esm/api/resources/customer/resources/shop/types/index.d.mts +3 -0
  163. package/dist/esm/api/resources/customer/resources/shop/types/index.mjs +3 -0
  164. package/dist/esm/api/resources/index.d.mts +0 -6
  165. package/dist/esm/api/resources/index.mjs +0 -6
  166. package/dist/esm/version.d.mts +1 -1
  167. package/dist/esm/version.mjs +1 -1
  168. package/package.json +12 -34
  169. package/reference.md +693 -1623
  170. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/CreateCommentsRequest.d.ts +0 -11
  171. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ReplyCommentsRequest.d.ts +0 -13
  172. package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/RsvpEventsRequest.d.ts +0 -11
  173. package/dist/cjs/api/resources/customerBusinesses/client/Client.d.ts +0 -267
  174. package/dist/cjs/api/resources/customerBusinesses/client/Client.js +0 -982
  175. package/dist/cjs/api/resources/customerBusinesses/client/index.d.ts +0 -1
  176. package/dist/cjs/api/resources/customerBusinesses/client/requests/BusinessesEventShowRequest.d.ts +0 -13
  177. package/dist/cjs/api/resources/customerBusinesses/client/requests/DestroyEventRsvpRequest.d.ts +0 -13
  178. package/dist/cjs/api/resources/customerBusinesses/client/requests/FavoritesBusinessRequest.d.ts +0 -10
  179. package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.d.ts +0 -20
  180. package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBulletinCommentsRequest.d.ts +0 -17
  181. package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessBulletinsRequest.d.ts +0 -14
  182. package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessEventsRequest.d.ts +0 -14
  183. package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessMenusRequest.d.ts +0 -14
  184. package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessPhotosRequest.d.ts +0 -14
  185. package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.d.ts +0 -10
  186. package/dist/cjs/api/resources/customerBusinesses/client/requests/ProfileShowRequest.d.ts +0 -10
  187. package/dist/cjs/api/resources/customerBusinesses/client/requests/UnfavoritesBusinessRequest.d.ts +0 -10
  188. package/dist/cjs/api/resources/customerBusinesses/client/requests/index.d.ts +0 -15
  189. package/dist/cjs/api/resources/customerBusinesses/client/requests/index.js +0 -5
  190. package/dist/cjs/api/resources/customerBusinesses/exports.d.ts +0 -2
  191. package/dist/cjs/api/resources/customerBusinesses/exports.js +0 -21
  192. package/dist/cjs/api/resources/customerBusinesses/index.d.ts +0 -2
  193. package/dist/cjs/api/resources/customerBusinesses/index.js +0 -18
  194. package/dist/cjs/api/resources/customerBusinesses/types/BusinessesEventShowResponse.d.ts +0 -4
  195. package/dist/cjs/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.d.ts +0 -4
  196. package/dist/cjs/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.js +0 -3
  197. package/dist/cjs/api/resources/customerBusinesses/types/FavoritesBusinessResponse.d.ts +0 -3
  198. package/dist/cjs/api/resources/customerBusinesses/types/FavoritesBusinessResponse.js +0 -3
  199. package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.d.ts +0 -4
  200. package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.js +0 -3
  201. package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.d.ts +0 -4
  202. package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.js +0 -3
  203. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.d.ts +0 -4
  204. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.js +0 -3
  205. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessEventsResponse.d.ts +0 -4
  206. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessEventsResponse.js +0 -3
  207. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessMenusResponse.d.ts +0 -4
  208. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessMenusResponse.js +0 -3
  209. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.d.ts +0 -4
  210. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.js +0 -3
  211. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.d.ts +0 -4
  212. package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.js +0 -3
  213. package/dist/cjs/api/resources/customerBusinesses/types/ProfileShowResponse.d.ts +0 -4
  214. package/dist/cjs/api/resources/customerBusinesses/types/ProfileShowResponse.js +0 -3
  215. package/dist/cjs/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.d.ts +0 -4
  216. package/dist/cjs/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.js +0 -3
  217. package/dist/cjs/api/resources/customerBusinesses/types/StoreEventRsvpResponse.d.ts +0 -4
  218. package/dist/cjs/api/resources/customerBusinesses/types/StoreEventRsvpResponse.js +0 -3
  219. package/dist/cjs/api/resources/customerBusinesses/types/index.d.ts +0 -13
  220. package/dist/cjs/api/resources/customerBusinesses/types/index.js +0 -29
  221. package/dist/cjs/api/resources/customerShop/client/Client.d.ts +0 -53
  222. package/dist/cjs/api/resources/customerShop/client/Client.js +0 -219
  223. package/dist/cjs/api/resources/customerShop/client/index.d.ts +0 -1
  224. package/dist/cjs/api/resources/customerShop/client/requests/GetShopProductRequest.d.ts +0 -13
  225. package/dist/cjs/api/resources/customerShop/client/requests/GetShopProductRequest.js +0 -3
  226. package/dist/cjs/api/resources/customerShop/client/requests/ListShopCategoriesRequest.d.ts +0 -10
  227. package/dist/cjs/api/resources/customerShop/client/requests/ListShopCategoriesRequest.js +0 -3
  228. package/dist/cjs/api/resources/customerShop/client/requests/ListShopProductsRequest.d.ts +0 -14
  229. package/dist/cjs/api/resources/customerShop/client/requests/ListShopProductsRequest.js +0 -3
  230. package/dist/cjs/api/resources/customerShop/client/requests/index.d.ts +0 -3
  231. package/dist/cjs/api/resources/customerShop/client/requests/index.js +0 -2
  232. package/dist/cjs/api/resources/customerShop/exports.d.ts +0 -2
  233. package/dist/cjs/api/resources/customerShop/index.d.ts +0 -2
  234. package/dist/cjs/api/resources/customerShop/types/GetShopProductResponse.d.ts +0 -4
  235. package/dist/cjs/api/resources/customerShop/types/GetShopProductResponse.js +0 -3
  236. package/dist/cjs/api/resources/customerShop/types/ListShopCategoriesResponse.d.ts +0 -4
  237. package/dist/cjs/api/resources/customerShop/types/ListShopCategoriesResponse.js +0 -3
  238. package/dist/cjs/api/resources/customerShop/types/ListShopProductsResponse.d.ts +0 -4
  239. package/dist/cjs/api/resources/customerShop/types/ListShopProductsResponse.js +0 -3
  240. package/dist/cjs/api/resources/customerShop/types/index.d.ts +0 -3
  241. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/CreateCommentsRequest.d.mts +0 -11
  242. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ReplyCommentsRequest.d.mts +0 -13
  243. package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/RsvpEventsRequest.d.mts +0 -11
  244. package/dist/esm/api/resources/customerBusinesses/client/Client.d.mts +0 -267
  245. package/dist/esm/api/resources/customerBusinesses/client/Client.mjs +0 -945
  246. package/dist/esm/api/resources/customerBusinesses/client/index.d.mts +0 -1
  247. package/dist/esm/api/resources/customerBusinesses/client/index.mjs +0 -1
  248. package/dist/esm/api/resources/customerBusinesses/client/requests/BusinessesEventShowRequest.d.mts +0 -13
  249. package/dist/esm/api/resources/customerBusinesses/client/requests/DestroyEventRsvpRequest.d.mts +0 -13
  250. package/dist/esm/api/resources/customerBusinesses/client/requests/FavoritesBusinessRequest.d.mts +0 -10
  251. package/dist/esm/api/resources/customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.d.mts +0 -20
  252. package/dist/esm/api/resources/customerBusinesses/client/requests/GetBulletinCommentsRequest.d.mts +0 -17
  253. package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessBulletinsRequest.d.mts +0 -14
  254. package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessEventsRequest.d.mts +0 -14
  255. package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessMenusRequest.d.mts +0 -14
  256. package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessPhotosRequest.d.mts +0 -14
  257. package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.d.mts +0 -10
  258. package/dist/esm/api/resources/customerBusinesses/client/requests/ProfileShowRequest.d.mts +0 -10
  259. package/dist/esm/api/resources/customerBusinesses/client/requests/UnfavoritesBusinessRequest.d.mts +0 -10
  260. package/dist/esm/api/resources/customerBusinesses/client/requests/index.d.mts +0 -15
  261. package/dist/esm/api/resources/customerBusinesses/client/requests/index.mjs +0 -1
  262. package/dist/esm/api/resources/customerBusinesses/exports.d.mts +0 -2
  263. package/dist/esm/api/resources/customerBusinesses/exports.mjs +0 -3
  264. package/dist/esm/api/resources/customerBusinesses/index.d.mts +0 -2
  265. package/dist/esm/api/resources/customerBusinesses/index.mjs +0 -2
  266. package/dist/esm/api/resources/customerBusinesses/types/BusinessesEventShowResponse.d.mts +0 -4
  267. package/dist/esm/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.d.mts +0 -4
  268. package/dist/esm/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.mjs +0 -2
  269. package/dist/esm/api/resources/customerBusinesses/types/FavoritesBusinessResponse.d.mts +0 -3
  270. package/dist/esm/api/resources/customerBusinesses/types/FavoritesBusinessResponse.mjs +0 -2
  271. package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.d.mts +0 -4
  272. package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.mjs +0 -2
  273. package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.d.mts +0 -4
  274. package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.mjs +0 -2
  275. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.d.mts +0 -4
  276. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.mjs +0 -2
  277. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessEventsResponse.d.mts +0 -4
  278. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessEventsResponse.mjs +0 -2
  279. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessMenusResponse.d.mts +0 -4
  280. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessMenusResponse.mjs +0 -2
  281. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.d.mts +0 -4
  282. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.mjs +0 -2
  283. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.d.mts +0 -4
  284. package/dist/esm/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.mjs +0 -2
  285. package/dist/esm/api/resources/customerBusinesses/types/ProfileShowResponse.d.mts +0 -4
  286. package/dist/esm/api/resources/customerBusinesses/types/ProfileShowResponse.mjs +0 -2
  287. package/dist/esm/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.d.mts +0 -4
  288. package/dist/esm/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.mjs +0 -2
  289. package/dist/esm/api/resources/customerBusinesses/types/StoreEventRsvpResponse.d.mts +0 -4
  290. package/dist/esm/api/resources/customerBusinesses/types/StoreEventRsvpResponse.mjs +0 -2
  291. package/dist/esm/api/resources/customerBusinesses/types/index.d.mts +0 -13
  292. package/dist/esm/api/resources/customerBusinesses/types/index.mjs +0 -13
  293. package/dist/esm/api/resources/customerShop/client/Client.d.mts +0 -53
  294. package/dist/esm/api/resources/customerShop/client/Client.mjs +0 -182
  295. package/dist/esm/api/resources/customerShop/client/index.d.mts +0 -1
  296. package/dist/esm/api/resources/customerShop/client/index.mjs +0 -1
  297. package/dist/esm/api/resources/customerShop/client/requests/GetShopProductRequest.d.mts +0 -13
  298. package/dist/esm/api/resources/customerShop/client/requests/GetShopProductRequest.mjs +0 -2
  299. package/dist/esm/api/resources/customerShop/client/requests/ListShopCategoriesRequest.d.mts +0 -10
  300. package/dist/esm/api/resources/customerShop/client/requests/ListShopCategoriesRequest.mjs +0 -2
  301. package/dist/esm/api/resources/customerShop/client/requests/ListShopProductsRequest.d.mts +0 -14
  302. package/dist/esm/api/resources/customerShop/client/requests/ListShopProductsRequest.mjs +0 -2
  303. package/dist/esm/api/resources/customerShop/client/requests/index.d.mts +0 -3
  304. package/dist/esm/api/resources/customerShop/client/requests/index.mjs +0 -1
  305. package/dist/esm/api/resources/customerShop/exports.d.mts +0 -2
  306. package/dist/esm/api/resources/customerShop/exports.mjs +0 -3
  307. package/dist/esm/api/resources/customerShop/index.d.mts +0 -2
  308. package/dist/esm/api/resources/customerShop/index.mjs +0 -2
  309. package/dist/esm/api/resources/customerShop/types/GetShopProductResponse.d.mts +0 -4
  310. package/dist/esm/api/resources/customerShop/types/GetShopProductResponse.mjs +0 -2
  311. package/dist/esm/api/resources/customerShop/types/ListShopCategoriesResponse.d.mts +0 -4
  312. package/dist/esm/api/resources/customerShop/types/ListShopCategoriesResponse.mjs +0 -2
  313. package/dist/esm/api/resources/customerShop/types/ListShopProductsResponse.d.mts +0 -4
  314. package/dist/esm/api/resources/customerShop/types/ListShopProductsResponse.mjs +0 -2
  315. package/dist/esm/api/resources/customerShop/types/index.d.mts +0 -3
  316. package/dist/esm/api/resources/customerShop/types/index.mjs +0 -3
  317. /package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.js +0 -0
  318. /package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.js +0 -0
  319. /package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/CreateCommentsRequest.js → types/CreateCommentsResponse.js} +0 -0
  320. /package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/ReplyCommentsRequest.js → types/ListCommentsResponse.js} +0 -0
  321. /package/dist/cjs/api/resources/customer/resources/businesses/resources/{events/client/requests/RsvpEventsRequest.js → bulletins/resources/comments/types/ListRepliesCommentsResponse.js} +0 -0
  322. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/BusinessesEventShowRequest.js → customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.js} +0 -0
  323. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/DestroyEventRsvpRequest.js → customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.js} +0 -0
  324. /package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.js +0 -0
  325. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/FavoritesBusinessRequest.js → customer/resources/businesses/resources/events/types/GetEventsResponse.js} +0 -0
  326. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.js → customer/resources/businesses/resources/events/types/ListEventsResponse.js} +0 -0
  327. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBulletinCommentsRequest.js → customer/resources/businesses/resources/events/types/RsvpEventsResponse.js} +0 -0
  328. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessBulletinsRequest.js → customer/resources/businesses/types/FavoriteBusinessesResponse.js} +0 -0
  329. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessEventsRequest.js → customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.js} +0 -0
  330. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessMenusRequest.js → customer/resources/businesses/types/MenusBusinessesResponse.js} +0 -0
  331. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessPhotosRequest.js → customer/resources/businesses/types/PhotosBusinessesResponse.js} +0 -0
  332. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.js → customer/resources/businesses/types/ProfileBusinessesResponse.js} +0 -0
  333. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/ProfileShowRequest.js → customer/resources/shop/types/GetProductShopResponse.js} +0 -0
  334. /package/dist/cjs/api/resources/{customerBusinesses/client/requests/UnfavoritesBusinessRequest.js → customer/resources/shop/types/ListCategoriesShopResponse.js} +0 -0
  335. /package/dist/cjs/api/resources/{customerBusinesses/types/BusinessesEventShowResponse.js → customer/resources/shop/types/ListProductsShopResponse.js} +0 -0
  336. /package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.mjs +0 -0
  337. /package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.mjs +0 -0
  338. /package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/CreateCommentsRequest.mjs → types/CreateCommentsResponse.mjs} +0 -0
  339. /package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/ReplyCommentsRequest.mjs → types/ListCommentsResponse.mjs} +0 -0
  340. /package/dist/esm/api/resources/customer/resources/businesses/resources/{events/client/requests/RsvpEventsRequest.mjs → bulletins/resources/comments/types/ListRepliesCommentsResponse.mjs} +0 -0
  341. /package/dist/esm/api/resources/{customerBusinesses/client/requests/BusinessesEventShowRequest.mjs → customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.mjs} +0 -0
  342. /package/dist/esm/api/resources/{customerBusinesses/client/requests/DestroyEventRsvpRequest.mjs → customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.mjs} +0 -0
  343. /package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.mjs +0 -0
  344. /package/dist/esm/api/resources/{customerBusinesses/client/requests/FavoritesBusinessRequest.mjs → customer/resources/businesses/resources/events/types/GetEventsResponse.mjs} +0 -0
  345. /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.mjs → customer/resources/businesses/resources/events/types/ListEventsResponse.mjs} +0 -0
  346. /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBulletinCommentsRequest.mjs → customer/resources/businesses/resources/events/types/RsvpEventsResponse.mjs} +0 -0
  347. /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessBulletinsRequest.mjs → customer/resources/businesses/types/FavoriteBusinessesResponse.mjs} +0 -0
  348. /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessEventsRequest.mjs → customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.mjs} +0 -0
  349. /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessMenusRequest.mjs → customer/resources/businesses/types/MenusBusinessesResponse.mjs} +0 -0
  350. /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessPhotosRequest.mjs → customer/resources/businesses/types/PhotosBusinessesResponse.mjs} +0 -0
  351. /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.mjs → customer/resources/businesses/types/ProfileBusinessesResponse.mjs} +0 -0
  352. /package/dist/esm/api/resources/{customerBusinesses/client/requests/ProfileShowRequest.mjs → customer/resources/shop/types/GetProductShopResponse.mjs} +0 -0
  353. /package/dist/esm/api/resources/{customerBusinesses/client/requests/UnfavoritesBusinessRequest.mjs → customer/resources/shop/types/ListCategoriesShopResponse.mjs} +0 -0
  354. /package/dist/esm/api/resources/{customerBusinesses/types/BusinessesEventShowResponse.mjs → customer/resources/shop/types/ListProductsShopResponse.mjs} +0 -0
@@ -1,7 +1,7 @@
1
1
  import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient.mjs";
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.mjs";
3
3
  import * as core from "../../../../../../../../core/index.mjs";
4
- import type * as FiveOneEat from "../../../../../../../index.mjs";
4
+ import * as FiveOneEat from "../../../../../../../index.mjs";
5
5
  export declare namespace EventsClient {
6
6
  type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
@@ -11,50 +11,71 @@ export declare class EventsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<EventsClient.Options>;
12
12
  constructor(options?: EventsClient.Options);
13
13
  /**
14
+ * Retrieve upcoming events for the business with pagination.
15
+ *
14
16
  * @param {FiveOneEat.customer.businesses.ListEventsRequest} request
15
17
  * @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
16
18
  *
19
+ * @throws {@link FiveOneEat.UnauthorizedError}
20
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
21
+ *
17
22
  * @example
18
23
  * await client.customer.businesses.events.list({
19
- * business: "business"
24
+ * business: "katzs-deli"
20
25
  * })
21
26
  */
22
- list(request: FiveOneEat.customer.businesses.ListEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<void>;
27
+ list(request: FiveOneEat.customer.businesses.ListEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.businesses.ListEventsResponse>;
23
28
  private __list;
24
29
  /**
30
+ * Retrieve full details for a single upcoming event belonging to the business.
31
+ *
25
32
  * @param {FiveOneEat.customer.businesses.GetEventsRequest} request
26
33
  * @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
27
34
  *
35
+ * @throws {@link FiveOneEat.UnauthorizedError}
36
+ *
28
37
  * @example
29
38
  * await client.customer.businesses.events.get({
30
- * business: "business",
39
+ * business: "katzs-deli",
31
40
  * event: "event"
32
41
  * })
33
42
  */
34
- get(request: FiveOneEat.customer.businesses.GetEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<void>;
43
+ get(request: FiveOneEat.customer.businesses.GetEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.businesses.GetEventsResponse>;
35
44
  private __get;
36
45
  /**
37
- * @param {FiveOneEat.customer.businesses.RsvpEventsRequest} request
46
+ * Create or update the authenticated user's RSVP for a business event.
47
+ *
48
+ * @param {FiveOneEat.customer.businesses.StoreEventRsvpRequest} request
38
49
  * @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
39
50
  *
51
+ * @throws {@link FiveOneEat.UnauthorizedError}
52
+ * @throws {@link FiveOneEat.NotFoundError}
53
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
54
+ *
40
55
  * @example
41
56
  * await client.customer.businesses.events.rsvp({
42
- * business: "business",
43
- * event: "event"
57
+ * business: "katzs-deli",
58
+ * event: "01950e7d-1234-7000-abcd-ef0123456789",
59
+ * status: "attending"
44
60
  * })
45
61
  */
46
- rsvp(request: FiveOneEat.customer.businesses.RsvpEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<void>;
62
+ rsvp(request: FiveOneEat.customer.businesses.StoreEventRsvpRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.businesses.RsvpEventsResponse>;
47
63
  private __rsvp;
48
64
  /**
65
+ * Cancel the authenticated user's RSVP for a business event.
66
+ *
49
67
  * @param {FiveOneEat.customer.businesses.CancelRsvpEventsRequest} request
50
68
  * @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
51
69
  *
70
+ * @throws {@link FiveOneEat.UnauthorizedError}
71
+ * @throws {@link FiveOneEat.NotFoundError}
72
+ *
52
73
  * @example
53
74
  * await client.customer.businesses.events.cancelRsvp({
54
- * business: "business",
55
- * event: "event"
75
+ * business: "katzs-deli",
76
+ * event: "01950e7d-1234-7000-abcd-ef0123456789"
56
77
  * })
57
78
  */
58
- cancelRsvp(request: FiveOneEat.customer.businesses.CancelRsvpEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<void>;
79
+ cancelRsvp(request: FiveOneEat.customer.businesses.CancelRsvpEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<number>;
59
80
  private __cancelRsvp;
60
81
  }
@@ -8,23 +8,40 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
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
+ };
11
22
  import { normalizeClientOptionsWithAuth, } from "../../../../../../../../BaseClient.mjs";
12
23
  import { mergeHeaders } from "../../../../../../../../core/headers.mjs";
13
24
  import * as core from "../../../../../../../../core/index.mjs";
14
25
  import * as environments from "../../../../../../../../environments.mjs";
15
26
  import { handleNonStatusCodeError } from "../../../../../../../../errors/handleNonStatusCodeError.mjs";
16
27
  import * as errors from "../../../../../../../../errors/index.mjs";
28
+ import * as FiveOneEat from "../../../../../../../index.mjs";
17
29
  export class EventsClient {
18
30
  constructor(options = {}) {
19
31
  this._options = normalizeClientOptionsWithAuth(options);
20
32
  }
21
33
  /**
34
+ * Retrieve upcoming events for the business with pagination.
35
+ *
22
36
  * @param {FiveOneEat.customer.businesses.ListEventsRequest} request
23
37
  * @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
24
38
  *
39
+ * @throws {@link FiveOneEat.UnauthorizedError}
40
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
41
+ *
25
42
  * @example
26
43
  * await client.customer.businesses.events.list({
27
- * business: "business"
44
+ * business: "katzs-deli"
28
45
  * })
29
46
  */
30
47
  list(request, requestOptions) {
@@ -33,14 +50,23 @@ export class EventsClient {
33
50
  __list(request, requestOptions) {
34
51
  return __awaiter(this, void 0, void 0, function* () {
35
52
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
36
- const { business } = request;
53
+ const { business, page, per_page: perPage } = request;
54
+ const _queryParams = {
55
+ page,
56
+ per_page: perPage,
57
+ };
37
58
  const _authRequest = yield this._options.authProvider.getAuthRequest();
38
59
  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);
39
60
  const _response = yield core.fetcher({
40
61
  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/businesses/${core.url.encodePathParam(business)}/events`),
41
62
  method: "GET",
42
63
  headers: _headers,
43
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
64
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
65
+ queryString: core.url
66
+ .queryBuilder()
67
+ .addMany(_queryParams)
68
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
69
+ .build(),
44
70
  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,
45
71
  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,
46
72
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -48,25 +74,39 @@ export class EventsClient {
48
74
  logging: this._options.logging,
49
75
  });
50
76
  if (_response.ok) {
51
- return { data: undefined, rawResponse: _response.rawResponse };
77
+ return {
78
+ data: _response.body,
79
+ rawResponse: _response.rawResponse,
80
+ };
52
81
  }
53
82
  if (_response.error.reason === "status-code") {
54
- throw new errors.FiveOneEatError({
55
- statusCode: _response.error.statusCode,
56
- body: _response.error.body,
57
- rawResponse: _response.rawResponse,
58
- });
83
+ switch (_response.error.statusCode) {
84
+ case 401:
85
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
86
+ case 422:
87
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
88
+ default:
89
+ throw new errors.FiveOneEatError({
90
+ statusCode: _response.error.statusCode,
91
+ body: _response.error.body,
92
+ rawResponse: _response.rawResponse,
93
+ });
94
+ }
59
95
  }
60
96
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/customer/businesses/{business}/events");
61
97
  });
62
98
  }
63
99
  /**
100
+ * Retrieve full details for a single upcoming event belonging to the business.
101
+ *
64
102
  * @param {FiveOneEat.customer.businesses.GetEventsRequest} request
65
103
  * @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
66
104
  *
105
+ * @throws {@link FiveOneEat.UnauthorizedError}
106
+ *
67
107
  * @example
68
108
  * await client.customer.businesses.events.get({
69
- * business: "business",
109
+ * business: "katzs-deli",
70
110
  * event: "event"
71
111
  * })
72
112
  */
@@ -91,26 +131,41 @@ export class EventsClient {
91
131
  logging: this._options.logging,
92
132
  });
93
133
  if (_response.ok) {
94
- return { data: undefined, rawResponse: _response.rawResponse };
134
+ return {
135
+ data: _response.body,
136
+ rawResponse: _response.rawResponse,
137
+ };
95
138
  }
96
139
  if (_response.error.reason === "status-code") {
97
- throw new errors.FiveOneEatError({
98
- statusCode: _response.error.statusCode,
99
- body: _response.error.body,
100
- rawResponse: _response.rawResponse,
101
- });
140
+ switch (_response.error.statusCode) {
141
+ case 401:
142
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
143
+ default:
144
+ throw new errors.FiveOneEatError({
145
+ statusCode: _response.error.statusCode,
146
+ body: _response.error.body,
147
+ rawResponse: _response.rawResponse,
148
+ });
149
+ }
102
150
  }
103
151
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/customer/businesses/{business}/events/{event}");
104
152
  });
105
153
  }
106
154
  /**
107
- * @param {FiveOneEat.customer.businesses.RsvpEventsRequest} request
155
+ * Create or update the authenticated user's RSVP for a business event.
156
+ *
157
+ * @param {FiveOneEat.customer.businesses.StoreEventRsvpRequest} request
108
158
  * @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
109
159
  *
160
+ * @throws {@link FiveOneEat.UnauthorizedError}
161
+ * @throws {@link FiveOneEat.NotFoundError}
162
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
163
+ *
110
164
  * @example
111
165
  * await client.customer.businesses.events.rsvp({
112
- * business: "business",
113
- * event: "event"
166
+ * business: "katzs-deli",
167
+ * event: "01950e7d-1234-7000-abcd-ef0123456789",
168
+ * status: "attending"
114
169
  * })
115
170
  */
116
171
  rsvp(request, requestOptions) {
@@ -119,14 +174,17 @@ export class EventsClient {
119
174
  __rsvp(request, requestOptions) {
120
175
  return __awaiter(this, void 0, void 0, function* () {
121
176
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
122
- const { business, event } = request;
177
+ const { business, event } = request, _body = __rest(request, ["business", "event"]);
123
178
  const _authRequest = yield this._options.authProvider.getAuthRequest();
124
179
  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);
125
180
  const _response = yield core.fetcher({
126
181
  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/businesses/${core.url.encodePathParam(business)}/events/${core.url.encodePathParam(event)}/rsvp`),
127
182
  method: "POST",
128
183
  headers: _headers,
184
+ contentType: "application/json",
129
185
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
186
+ requestType: "json",
187
+ body: _body,
130
188
  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,
131
189
  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,
132
190
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -134,26 +192,43 @@ export class EventsClient {
134
192
  logging: this._options.logging,
135
193
  });
136
194
  if (_response.ok) {
137
- return { data: undefined, rawResponse: _response.rawResponse };
195
+ return {
196
+ data: _response.body,
197
+ rawResponse: _response.rawResponse,
198
+ };
138
199
  }
139
200
  if (_response.error.reason === "status-code") {
140
- throw new errors.FiveOneEatError({
141
- statusCode: _response.error.statusCode,
142
- body: _response.error.body,
143
- rawResponse: _response.rawResponse,
144
- });
201
+ switch (_response.error.statusCode) {
202
+ case 401:
203
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
204
+ case 404:
205
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
206
+ case 422:
207
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
208
+ default:
209
+ throw new errors.FiveOneEatError({
210
+ statusCode: _response.error.statusCode,
211
+ body: _response.error.body,
212
+ rawResponse: _response.rawResponse,
213
+ });
214
+ }
145
215
  }
146
216
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/customer/businesses/{business}/events/{event}/rsvp");
147
217
  });
148
218
  }
149
219
  /**
220
+ * Cancel the authenticated user's RSVP for a business event.
221
+ *
150
222
  * @param {FiveOneEat.customer.businesses.CancelRsvpEventsRequest} request
151
223
  * @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
152
224
  *
225
+ * @throws {@link FiveOneEat.UnauthorizedError}
226
+ * @throws {@link FiveOneEat.NotFoundError}
227
+ *
153
228
  * @example
154
229
  * await client.customer.businesses.events.cancelRsvp({
155
- * business: "business",
156
- * event: "event"
230
+ * business: "katzs-deli",
231
+ * event: "01950e7d-1234-7000-abcd-ef0123456789"
157
232
  * })
158
233
  */
159
234
  cancelRsvp(request, requestOptions) {
@@ -177,14 +252,21 @@ export class EventsClient {
177
252
  logging: this._options.logging,
178
253
  });
179
254
  if (_response.ok) {
180
- return { data: undefined, rawResponse: _response.rawResponse };
255
+ return { data: _response.body, rawResponse: _response.rawResponse };
181
256
  }
182
257
  if (_response.error.reason === "status-code") {
183
- throw new errors.FiveOneEatError({
184
- statusCode: _response.error.statusCode,
185
- body: _response.error.body,
186
- rawResponse: _response.rawResponse,
187
- });
258
+ switch (_response.error.statusCode) {
259
+ case 401:
260
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
261
+ case 404:
262
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
263
+ default:
264
+ throw new errors.FiveOneEatError({
265
+ statusCode: _response.error.statusCode,
266
+ body: _response.error.body,
267
+ rawResponse: _response.rawResponse,
268
+ });
269
+ }
188
270
  }
189
271
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/customer/businesses/{business}/events/{event}/rsvp");
190
272
  });
@@ -1,11 +1,13 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * business: "business",
5
- * event: "event"
4
+ * business: "katzs-deli",
5
+ * event: "01950e7d-1234-7000-abcd-ef0123456789"
6
6
  * }
7
7
  */
8
8
  export interface CancelRsvpEventsRequest {
9
+ /** The business handle */
9
10
  business: string;
11
+ /** The event ID */
10
12
  event: string;
11
13
  }
@@ -1,11 +1,13 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * business: "business",
4
+ * business: "katzs-deli",
5
5
  * event: "event"
6
6
  * }
7
7
  */
8
8
  export interface GetEventsRequest {
9
+ /** The business handle */
9
10
  business: string;
11
+ /** The event ID */
10
12
  event: string;
11
13
  }
@@ -1,9 +1,14 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * business: "business"
4
+ * business: "katzs-deli"
5
5
  * }
6
6
  */
7
7
  export interface ListEventsRequest {
8
+ /** The business handle */
8
9
  business: string;
10
+ /** Page number for pagination */
11
+ page?: number;
12
+ /** Number of events per page */
13
+ per_page?: number;
9
14
  }
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * @example
3
3
  * {
4
- * handle: "katzs-deli",
4
+ * business: "katzs-deli",
5
5
  * event: "01950e7d-1234-7000-abcd-ef0123456789",
6
6
  * status: "attending"
7
7
  * }
8
8
  */
9
9
  export interface StoreEventRsvpRequest {
10
10
  /** The business handle */
11
- handle: string;
11
+ business: string;
12
12
  /** The event ID */
13
13
  event: string;
14
14
  status: StoreEventRsvpRequest.Status;
@@ -1,4 +1,4 @@
1
1
  export type { CancelRsvpEventsRequest } from "./CancelRsvpEventsRequest.mjs";
2
2
  export type { GetEventsRequest } from "./GetEventsRequest.mjs";
3
3
  export type { ListEventsRequest } from "./ListEventsRequest.mjs";
4
- export type { RsvpEventsRequest } from "./RsvpEventsRequest.mjs";
4
+ export { StoreEventRsvpRequest } from "./StoreEventRsvpRequest.mjs";
@@ -1 +1 @@
1
- export {};
1
+ export { StoreEventRsvpRequest } from "./StoreEventRsvpRequest.mjs";
@@ -1 +1,2 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -1 +1,2 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.mjs";
2
+ export interface GetEventsResponse {
3
+ data: FiveOneEat.CustomerEventDetail;
4
+ }
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.mjs";
2
+ export interface ListEventsResponse {
3
+ data: FiveOneEat.CustomerEventResponse;
4
+ }
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.mjs";
2
+ export interface RsvpEventsResponse {
3
+ data: FiveOneEat.CustomerEventRsvp;
4
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./GetEventsResponse.mjs";
2
+ export * from "./ListEventsResponse.mjs";
3
+ export * from "./RsvpEventsResponse.mjs";
@@ -0,0 +1,3 @@
1
+ export * from "./GetEventsResponse.mjs";
2
+ export * from "./ListEventsResponse.mjs";
3
+ export * from "./RsvpEventsResponse.mjs";
@@ -1,4 +1,6 @@
1
1
  export * from "./bulletins/client/requests/index.mjs";
2
2
  export * as bulletins from "./bulletins/index.mjs";
3
+ export * from "./bulletins/types/index.mjs";
3
4
  export * from "./events/client/requests/index.mjs";
4
5
  export * as events from "./events/index.mjs";
6
+ export * from "./events/types/index.mjs";
@@ -1,4 +1,6 @@
1
1
  export * from "./bulletins/client/requests/index.mjs";
2
2
  export * as bulletins from "./bulletins/index.mjs";
3
+ export * from "./bulletins/types/index.mjs";
3
4
  export * from "./events/client/requests/index.mjs";
4
5
  export * as events from "./events/index.mjs";
6
+ export * from "./events/types/index.mjs";
@@ -0,0 +1,3 @@
1
+ export interface FavoriteBusinessesResponse {
2
+ favorited: boolean;
3
+ }
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface ListTemporaryLocationsBusinessesResponse {
3
+ data: FiveOneEat.CustomerTemporaryLocation[];
4
+ }
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface MenusBusinessesResponse {
3
+ data: FiveOneEat.CustomerMenuResponse;
4
+ }
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface PhotosBusinessesResponse {
3
+ data: FiveOneEat.CustomerPhotoResponse;
4
+ }
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface ProfileBusinessesResponse {
3
+ data: FiveOneEat.CustomerBusinessProfile;
4
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./FavoriteBusinessesResponse.mjs";
2
+ export * from "./ListTemporaryLocationsBusinessesResponse.mjs";
3
+ export * from "./MenusBusinessesResponse.mjs";
4
+ export * from "./PhotosBusinessesResponse.mjs";
5
+ export * from "./ProfileBusinessesResponse.mjs";
@@ -0,0 +1,5 @@
1
+ export * from "./FavoriteBusinessesResponse.mjs";
2
+ export * from "./ListTemporaryLocationsBusinessesResponse.mjs";
3
+ export * from "./MenusBusinessesResponse.mjs";
4
+ export * from "./PhotosBusinessesResponse.mjs";
5
+ export * from "./ProfileBusinessesResponse.mjs";
@@ -3,6 +3,7 @@ export * as auth from "./auth/index.mjs";
3
3
  export * from "./auth/types/index.mjs";
4
4
  export * from "./businesses/client/requests/index.mjs";
5
5
  export * as businesses from "./businesses/index.mjs";
6
+ export * from "./businesses/types/index.mjs";
6
7
  export * from "./cart/client/requests/index.mjs";
7
8
  export * as cart from "./cart/index.mjs";
8
9
  export * from "./cart/types/index.mjs";
@@ -31,3 +32,4 @@ export * as pushNotifications from "./pushNotifications/index.mjs";
31
32
  export * from "./pushNotifications/types/index.mjs";
32
33
  export * from "./shop/client/requests/index.mjs";
33
34
  export * as shop from "./shop/index.mjs";
35
+ export * from "./shop/types/index.mjs";
@@ -3,6 +3,7 @@ export * as auth from "./auth/index.mjs";
3
3
  export * from "./auth/types/index.mjs";
4
4
  export * from "./businesses/client/requests/index.mjs";
5
5
  export * as businesses from "./businesses/index.mjs";
6
+ export * from "./businesses/types/index.mjs";
6
7
  export * from "./cart/client/requests/index.mjs";
7
8
  export * as cart from "./cart/index.mjs";
8
9
  export * from "./cart/types/index.mjs";
@@ -31,3 +32,4 @@ export * as pushNotifications from "./pushNotifications/index.mjs";
31
32
  export * from "./pushNotifications/types/index.mjs";
32
33
  export * from "./shop/client/requests/index.mjs";
33
34
  export * as shop from "./shop/index.mjs";
35
+ export * from "./shop/types/index.mjs";
@@ -1,7 +1,7 @@
1
1
  import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.mjs";
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
3
3
  import * as core from "../../../../../../core/index.mjs";
4
- import type * as FiveOneEat from "../../../../../index.mjs";
4
+ import * as FiveOneEat from "../../../../../index.mjs";
5
5
  export declare namespace ShopClient {
6
6
  type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
@@ -14,34 +14,40 @@ export declare class ShopClient {
14
14
  * @param {FiveOneEat.customer.ListProductsShopRequest} request
15
15
  * @param {ShopClient.RequestOptions} requestOptions - Request-specific configuration.
16
16
  *
17
+ * @throws {@link FiveOneEat.UnauthorizedError}
18
+ *
17
19
  * @example
18
20
  * await client.customer.shop.listProducts({
19
- * business: "business"
21
+ * business: "katzs-deli"
20
22
  * })
21
23
  */
22
- listProducts(request: FiveOneEat.customer.ListProductsShopRequest, requestOptions?: ShopClient.RequestOptions): core.HttpResponsePromise<void>;
24
+ listProducts(request: FiveOneEat.customer.ListProductsShopRequest, requestOptions?: ShopClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.ListProductsShopResponse>;
23
25
  private __listProducts;
24
26
  /**
25
27
  * @param {FiveOneEat.customer.GetProductShopRequest} request
26
28
  * @param {ShopClient.RequestOptions} requestOptions - Request-specific configuration.
27
29
  *
30
+ * @throws {@link FiveOneEat.UnauthorizedError}
31
+ *
28
32
  * @example
29
33
  * await client.customer.shop.getProduct({
30
- * business: "business",
34
+ * business: "katzs-deli",
31
35
  * product: "product"
32
36
  * })
33
37
  */
34
- getProduct(request: FiveOneEat.customer.GetProductShopRequest, requestOptions?: ShopClient.RequestOptions): core.HttpResponsePromise<void>;
38
+ getProduct(request: FiveOneEat.customer.GetProductShopRequest, requestOptions?: ShopClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.GetProductShopResponse>;
35
39
  private __getProduct;
36
40
  /**
37
41
  * @param {FiveOneEat.customer.ListCategoriesShopRequest} request
38
42
  * @param {ShopClient.RequestOptions} requestOptions - Request-specific configuration.
39
43
  *
44
+ * @throws {@link FiveOneEat.UnauthorizedError}
45
+ *
40
46
  * @example
41
47
  * await client.customer.shop.listCategories({
42
- * business: "business"
48
+ * business: "katzs-deli"
43
49
  * })
44
50
  */
45
- listCategories(request: FiveOneEat.customer.ListCategoriesShopRequest, requestOptions?: ShopClient.RequestOptions): core.HttpResponsePromise<void>;
51
+ listCategories(request: FiveOneEat.customer.ListCategoriesShopRequest, requestOptions?: ShopClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.ListCategoriesShopResponse>;
46
52
  private __listCategories;
47
53
  }