@51eat/sdk 0.0.43 → 0.0.44

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