@51eat/sdk 0.0.27 → 0.0.29

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 (397) hide show
  1. package/README.md +3 -2
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/api/resources/business/client/Client.d.ts +6 -0
  4. package/dist/cjs/api/resources/business/client/Client.js +20 -10
  5. package/dist/cjs/api/resources/business/resources/bulletins/client/Client.d.ts +3 -0
  6. package/dist/cjs/api/resources/business/resources/bulletins/client/Client.js +5 -0
  7. package/dist/cjs/api/resources/business/resources/bulletins/exports.d.ts +1 -0
  8. package/dist/cjs/api/resources/business/resources/bulletins/exports.js +1 -0
  9. package/dist/cjs/api/resources/business/resources/bulletins/index.d.ts +1 -0
  10. package/dist/cjs/api/resources/business/resources/bulletins/index.js +1 -0
  11. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/Client.d.ts +49 -0
  12. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/Client.js +208 -0
  13. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/index.d.ts +1 -0
  14. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/index.js +17 -0
  15. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.ts +12 -0
  16. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.d.ts +13 -0
  17. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.js +3 -0
  18. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/requests/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/client/requests/index.js +2 -0
  20. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/exports.d.ts +2 -0
  21. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/exports.js +21 -0
  22. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/index.d.ts +2 -0
  23. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/index.js +18 -0
  24. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/CreateCommentsResponse.d.ts +4 -0
  25. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/CreateCommentsResponse.js +3 -0
  26. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/ListCommentsResponse.d.ts +4 -0
  27. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/ListCommentsResponse.js +3 -0
  28. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/index.d.ts +2 -0
  29. package/dist/cjs/api/resources/business/resources/bulletins/resources/comments/types/index.js +18 -0
  30. package/dist/cjs/api/resources/business/resources/bulletins/resources/index.d.ts +3 -0
  31. package/dist/cjs/api/resources/business/resources/bulletins/resources/index.js +42 -0
  32. package/dist/cjs/api/resources/business/resources/events/client/Client.d.ts +198 -0
  33. package/dist/cjs/api/resources/business/resources/events/client/Client.js +746 -0
  34. package/dist/cjs/api/resources/business/resources/events/client/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/business/resources/events/client/index.js +17 -0
  36. package/dist/cjs/api/resources/business/resources/events/client/requests/DeleteEventsRequest.d.ts +10 -0
  37. package/dist/cjs/api/resources/business/resources/events/client/requests/DeleteEventsRequest.js +3 -0
  38. package/dist/cjs/api/resources/business/resources/events/client/requests/DeleteImageEventsRequest.d.ts +10 -0
  39. package/dist/cjs/api/resources/business/resources/events/client/requests/DeleteImageEventsRequest.js +3 -0
  40. package/dist/cjs/api/resources/business/resources/events/client/requests/GetEventsRequest.d.ts +10 -0
  41. package/dist/cjs/api/resources/business/resources/events/client/requests/GetEventsRequest.js +3 -0
  42. package/dist/cjs/api/resources/business/resources/events/client/requests/ListAttendeesEventsRequest.d.ts +10 -0
  43. package/dist/cjs/api/resources/business/resources/events/client/requests/ListAttendeesEventsRequest.js +3 -0
  44. package/dist/cjs/api/resources/business/resources/events/client/requests/ListRsvpsEventsRequest.d.ts +10 -0
  45. package/dist/cjs/api/resources/business/resources/events/client/requests/ListRsvpsEventsRequest.js +3 -0
  46. package/dist/cjs/api/resources/business/resources/events/client/requests/SalesSummaryEventsRequest.d.ts +10 -0
  47. package/dist/cjs/api/resources/business/resources/events/client/requests/SalesSummaryEventsRequest.js +3 -0
  48. package/dist/cjs/api/resources/business/resources/events/client/requests/StoreEventRequest.d.ts +20 -0
  49. package/dist/cjs/api/resources/business/resources/events/client/requests/StoreEventRequest.js +3 -0
  50. package/dist/cjs/api/resources/business/resources/events/client/requests/TogglePublishedEventsRequest.d.ts +10 -0
  51. package/dist/cjs/api/resources/business/resources/events/client/requests/TogglePublishedEventsRequest.js +3 -0
  52. package/dist/cjs/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.ts +20 -0
  53. package/dist/cjs/api/resources/business/resources/events/client/requests/UpdateEventRequest.js +3 -0
  54. package/dist/cjs/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.ts +14 -0
  55. package/dist/cjs/api/resources/business/resources/events/client/requests/UploadEventImageRequest.js +3 -0
  56. package/dist/cjs/api/resources/business/resources/events/client/requests/index.d.ts +10 -0
  57. package/dist/cjs/api/resources/business/resources/events/client/requests/index.js +2 -0
  58. package/dist/cjs/api/resources/business/resources/events/exports.d.ts +3 -0
  59. package/dist/cjs/api/resources/business/resources/events/exports.js +22 -0
  60. package/dist/cjs/api/resources/business/resources/events/index.d.ts +3 -0
  61. package/dist/cjs/api/resources/business/resources/events/index.js +19 -0
  62. package/dist/cjs/api/resources/business/resources/events/resources/index.d.ts +6 -0
  63. package/dist/cjs/api/resources/business/resources/events/resources/index.js +45 -0
  64. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/Client.d.ts +46 -0
  65. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/Client.js +178 -0
  66. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/index.d.ts +1 -0
  67. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/index.js +17 -0
  68. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/GetOrdersRequest.d.ts +13 -0
  69. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/GetOrdersRequest.js +3 -0
  70. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/ListOrdersRequest.d.ts +10 -0
  71. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/ListOrdersRequest.js +3 -0
  72. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/index.d.ts +2 -0
  73. package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/index.js +2 -0
  74. package/dist/cjs/api/resources/business/resources/events/resources/orders/exports.d.ts +2 -0
  75. package/dist/cjs/api/resources/business/resources/events/resources/orders/exports.js +21 -0
  76. package/dist/cjs/api/resources/business/resources/events/resources/orders/index.d.ts +2 -0
  77. package/dist/cjs/api/resources/business/resources/events/resources/orders/index.js +18 -0
  78. package/dist/cjs/api/resources/business/resources/events/resources/orders/types/GetOrdersResponse.d.ts +4 -0
  79. package/dist/cjs/api/resources/business/resources/events/resources/orders/types/GetOrdersResponse.js +3 -0
  80. package/dist/cjs/api/resources/business/resources/events/resources/orders/types/ListOrdersResponse.d.ts +4 -0
  81. package/dist/cjs/api/resources/business/resources/events/resources/orders/types/ListOrdersResponse.js +3 -0
  82. package/dist/cjs/api/resources/business/resources/events/resources/orders/types/index.d.ts +2 -0
  83. package/dist/cjs/api/resources/business/resources/events/resources/orders/types/index.js +18 -0
  84. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/Client.d.ts +94 -0
  85. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/Client.js +378 -0
  86. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/index.d.ts +1 -0
  87. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/index.js +17 -0
  88. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/DeleteTicketTypesRequest.d.ts +10 -0
  89. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/DeleteTicketTypesRequest.js +3 -0
  90. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/GetTicketTypesRequest.d.ts +10 -0
  91. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/GetTicketTypesRequest.js +3 -0
  92. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/ListTicketTypesRequest.d.ts +10 -0
  93. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/ListTicketTypesRequest.js +3 -0
  94. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.d.ts +21 -0
  95. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.js +3 -0
  96. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.ts +18 -0
  97. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.js +3 -0
  98. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/index.d.ts +5 -0
  99. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/index.js +2 -0
  100. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/exports.d.ts +2 -0
  101. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/exports.js +21 -0
  102. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/index.d.ts +2 -0
  103. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/index.js +18 -0
  104. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/CreateTicketTypesResponse.d.ts +4 -0
  105. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/CreateTicketTypesResponse.js +3 -0
  106. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/DeleteTicketTypesResponse.d.ts +9 -0
  107. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/DeleteTicketTypesResponse.js +10 -0
  108. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/GetTicketTypesResponse.d.ts +4 -0
  109. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/GetTicketTypesResponse.js +3 -0
  110. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/ListTicketTypesResponse.d.ts +4 -0
  111. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/ListTicketTypesResponse.js +3 -0
  112. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/UpdateTicketTypesResponse.d.ts +4 -0
  113. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/UpdateTicketTypesResponse.js +3 -0
  114. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/index.d.ts +5 -0
  115. package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/index.js +21 -0
  116. package/dist/cjs/api/resources/business/resources/events/types/CreateEventsResponse.d.ts +4 -0
  117. package/dist/cjs/api/resources/business/resources/events/types/CreateEventsResponse.js +3 -0
  118. package/dist/cjs/api/resources/business/resources/events/types/DeleteEventsResponse.d.ts +9 -0
  119. package/dist/cjs/api/resources/business/resources/events/types/DeleteEventsResponse.js +10 -0
  120. package/dist/cjs/api/resources/business/resources/events/types/DeleteImageEventsResponse.d.ts +9 -0
  121. package/dist/cjs/api/resources/business/resources/events/types/DeleteImageEventsResponse.js +10 -0
  122. package/dist/cjs/api/resources/business/resources/events/types/GetEventsResponse.d.ts +4 -0
  123. package/dist/cjs/api/resources/business/resources/events/types/GetEventsResponse.js +3 -0
  124. package/dist/cjs/api/resources/business/resources/events/types/ListAttendeesEventsResponse.d.ts +4 -0
  125. package/dist/cjs/api/resources/business/resources/events/types/ListAttendeesEventsResponse.js +3 -0
  126. package/dist/cjs/api/resources/business/resources/events/types/ListEventsResponse.d.ts +4 -0
  127. package/dist/cjs/api/resources/business/resources/events/types/ListEventsResponse.js +3 -0
  128. package/dist/cjs/api/resources/business/resources/events/types/ListRsvpsEventsResponse.d.ts +4 -0
  129. package/dist/cjs/api/resources/business/resources/events/types/ListRsvpsEventsResponse.js +3 -0
  130. package/dist/cjs/api/resources/business/resources/events/types/SalesSummaryEventsResponse.d.ts +4 -0
  131. package/dist/cjs/api/resources/business/resources/events/types/SalesSummaryEventsResponse.js +3 -0
  132. package/dist/cjs/api/resources/business/resources/events/types/TogglePublishedEventsResponse.d.ts +4 -0
  133. package/dist/cjs/api/resources/business/resources/events/types/TogglePublishedEventsResponse.js +3 -0
  134. package/dist/cjs/api/resources/business/resources/events/types/UpdateEventsResponse.d.ts +4 -0
  135. package/dist/cjs/api/resources/business/resources/events/types/UpdateEventsResponse.js +3 -0
  136. package/dist/cjs/api/resources/business/resources/events/types/UploadImageEventsResponse.d.ts +4 -0
  137. package/dist/cjs/api/resources/business/resources/events/types/UploadImageEventsResponse.js +3 -0
  138. package/dist/cjs/api/resources/business/resources/events/types/index.d.ts +11 -0
  139. package/dist/cjs/api/resources/business/resources/events/types/index.js +27 -0
  140. package/dist/cjs/api/resources/business/resources/index.d.ts +6 -0
  141. package/dist/cjs/api/resources/business/resources/index.js +7 -1
  142. package/dist/cjs/api/resources/business/resources/stripeConnect/client/Client.d.ts +84 -0
  143. package/dist/cjs/api/resources/business/resources/stripeConnect/client/Client.js +295 -0
  144. package/dist/cjs/api/resources/business/resources/stripeConnect/client/index.d.ts +1 -0
  145. package/dist/cjs/api/resources/business/resources/stripeConnect/client/index.js +17 -0
  146. package/dist/cjs/api/resources/business/resources/stripeConnect/client/requests/CreateAccountSessionRequest.d.ts +21 -0
  147. package/dist/cjs/api/resources/business/resources/stripeConnect/client/requests/CreateAccountSessionRequest.js +3 -0
  148. package/dist/cjs/api/resources/business/resources/stripeConnect/client/requests/index.d.ts +1 -0
  149. package/dist/cjs/api/resources/business/resources/stripeConnect/client/requests/index.js +2 -0
  150. package/dist/cjs/api/resources/business/resources/stripeConnect/exports.d.ts +2 -0
  151. package/dist/cjs/api/resources/business/resources/stripeConnect/exports.js +21 -0
  152. package/dist/cjs/api/resources/business/resources/stripeConnect/index.d.ts +2 -0
  153. package/dist/cjs/api/resources/business/resources/stripeConnect/index.js +18 -0
  154. package/dist/cjs/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.d.ts +4 -0
  155. package/dist/cjs/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.js +3 -0
  156. package/dist/cjs/api/resources/business/resources/stripeConnect/types/DisconnectStripeConnectResponse.d.ts +9 -0
  157. package/dist/cjs/api/resources/business/resources/stripeConnect/types/DisconnectStripeConnectResponse.js +10 -0
  158. package/dist/cjs/api/resources/business/resources/stripeConnect/types/RefreshStripeConnectResponse.d.ts +12 -0
  159. package/dist/cjs/api/resources/business/resources/stripeConnect/types/RefreshStripeConnectResponse.js +3 -0
  160. package/dist/cjs/api/resources/business/resources/stripeConnect/types/StatusStripeConnectResponse.d.ts +12 -0
  161. package/dist/cjs/api/resources/business/resources/stripeConnect/types/StatusStripeConnectResponse.js +3 -0
  162. package/dist/cjs/api/resources/business/resources/stripeConnect/types/index.d.ts +4 -0
  163. package/dist/cjs/api/resources/business/resources/stripeConnect/types/index.js +20 -0
  164. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.ts +2 -2
  165. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.js +1 -1
  166. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/{StoreBulletinCommentRequest.d.ts → AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.d.ts} +2 -1
  167. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.js +3 -0
  168. package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.ts +1 -1
  169. package/dist/cjs/api/types/BusinessBulletinComment.d.ts +15 -0
  170. package/dist/cjs/api/types/BusinessBulletinComment.js +3 -0
  171. package/dist/cjs/api/types/BusinessBulletinCommentReply.d.ts +13 -0
  172. package/dist/cjs/api/types/BusinessBulletinCommentReply.js +3 -0
  173. package/dist/cjs/api/types/BusinessBulletinCommentResponse.d.ts +5 -0
  174. package/dist/cjs/api/types/BusinessBulletinCommentResponse.js +3 -0
  175. package/dist/cjs/api/types/BusinessEvent.d.ts +20 -0
  176. package/dist/cjs/api/types/BusinessEvent.js +3 -0
  177. package/dist/cjs/api/types/BusinessEventAttendee.d.ts +22 -0
  178. package/dist/cjs/api/types/BusinessEventAttendee.js +3 -0
  179. package/dist/cjs/api/types/BusinessEventOrder.d.ts +26 -0
  180. package/dist/cjs/api/types/BusinessEventOrder.js +3 -0
  181. package/dist/cjs/api/types/BusinessEventOrderDetail.d.ts +28 -0
  182. package/dist/cjs/api/types/BusinessEventOrderDetail.js +3 -0
  183. package/dist/cjs/api/types/BusinessEventRsvp.d.ts +16 -0
  184. package/dist/cjs/api/types/BusinessEventRsvp.js +3 -0
  185. package/dist/cjs/api/types/BusinessEventSalesSummary.d.ts +1 -0
  186. package/dist/cjs/api/types/BusinessEventSalesSummary.js +3 -0
  187. package/dist/cjs/api/types/BusinessEventTicketType.d.ts +17 -0
  188. package/dist/cjs/api/types/BusinessEventTicketType.js +3 -0
  189. package/dist/cjs/api/types/BusinessStripeConnection.d.ts +18 -0
  190. package/dist/cjs/api/types/BusinessStripeConnection.js +3 -0
  191. package/dist/cjs/api/types/CustomerBulletinCommentReply.d.ts +13 -0
  192. package/dist/cjs/api/types/CustomerBulletinCommentReply.js +3 -0
  193. package/dist/cjs/api/types/CustomerComment.d.ts +3 -0
  194. package/dist/cjs/api/types/index.d.ts +12 -0
  195. package/dist/cjs/api/types/index.js +12 -0
  196. package/dist/cjs/version.d.ts +1 -1
  197. package/dist/cjs/version.js +1 -1
  198. package/dist/esm/BaseClient.mjs +2 -2
  199. package/dist/esm/api/resources/business/client/Client.d.mts +6 -0
  200. package/dist/esm/api/resources/business/client/Client.mjs +10 -0
  201. package/dist/esm/api/resources/business/resources/bulletins/client/Client.d.mts +3 -0
  202. package/dist/esm/api/resources/business/resources/bulletins/client/Client.mjs +5 -0
  203. package/dist/esm/api/resources/business/resources/bulletins/exports.d.mts +1 -0
  204. package/dist/esm/api/resources/business/resources/bulletins/exports.mjs +1 -0
  205. package/dist/esm/api/resources/business/resources/bulletins/index.d.mts +1 -0
  206. package/dist/esm/api/resources/business/resources/bulletins/index.mjs +1 -0
  207. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/Client.d.mts +49 -0
  208. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/Client.mjs +171 -0
  209. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/index.d.mts +1 -0
  210. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/index.mjs +1 -0
  211. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.mts +12 -0
  212. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.d.mts +13 -0
  213. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.mjs +2 -0
  214. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/requests/index.d.mts +2 -0
  215. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/client/requests/index.mjs +1 -0
  216. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/exports.d.mts +2 -0
  217. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/exports.mjs +3 -0
  218. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/index.d.mts +2 -0
  219. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/index.mjs +2 -0
  220. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/CreateCommentsResponse.d.mts +4 -0
  221. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/CreateCommentsResponse.mjs +2 -0
  222. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/ListCommentsResponse.d.mts +4 -0
  223. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/ListCommentsResponse.mjs +2 -0
  224. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/index.d.mts +2 -0
  225. package/dist/esm/api/resources/business/resources/bulletins/resources/comments/types/index.mjs +2 -0
  226. package/dist/esm/api/resources/business/resources/bulletins/resources/index.d.mts +3 -0
  227. package/dist/esm/api/resources/business/resources/bulletins/resources/index.mjs +3 -0
  228. package/dist/esm/api/resources/business/resources/events/client/Client.d.mts +198 -0
  229. package/dist/esm/api/resources/business/resources/events/client/Client.mjs +709 -0
  230. package/dist/esm/api/resources/business/resources/events/client/index.d.mts +1 -0
  231. package/dist/esm/api/resources/business/resources/events/client/index.mjs +1 -0
  232. package/dist/esm/api/resources/business/resources/events/client/requests/DeleteEventsRequest.d.mts +10 -0
  233. package/dist/esm/api/resources/business/resources/events/client/requests/DeleteEventsRequest.mjs +2 -0
  234. package/dist/esm/api/resources/business/resources/events/client/requests/DeleteImageEventsRequest.d.mts +10 -0
  235. package/dist/esm/api/resources/business/resources/events/client/requests/DeleteImageEventsRequest.mjs +2 -0
  236. package/dist/esm/api/resources/business/resources/events/client/requests/GetEventsRequest.d.mts +10 -0
  237. package/dist/esm/api/resources/business/resources/events/client/requests/GetEventsRequest.mjs +2 -0
  238. package/dist/esm/api/resources/business/resources/events/client/requests/ListAttendeesEventsRequest.d.mts +10 -0
  239. package/dist/esm/api/resources/business/resources/events/client/requests/ListAttendeesEventsRequest.mjs +2 -0
  240. package/dist/esm/api/resources/business/resources/events/client/requests/ListRsvpsEventsRequest.d.mts +10 -0
  241. package/dist/esm/api/resources/business/resources/events/client/requests/ListRsvpsEventsRequest.mjs +2 -0
  242. package/dist/esm/api/resources/business/resources/events/client/requests/SalesSummaryEventsRequest.d.mts +10 -0
  243. package/dist/esm/api/resources/business/resources/events/client/requests/SalesSummaryEventsRequest.mjs +2 -0
  244. package/dist/esm/api/resources/business/resources/events/client/requests/StoreEventRequest.d.mts +20 -0
  245. package/dist/esm/api/resources/business/resources/events/client/requests/StoreEventRequest.mjs +2 -0
  246. package/dist/esm/api/resources/business/resources/events/client/requests/TogglePublishedEventsRequest.d.mts +10 -0
  247. package/dist/esm/api/resources/business/resources/events/client/requests/TogglePublishedEventsRequest.mjs +2 -0
  248. package/dist/esm/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.mts +20 -0
  249. package/dist/esm/api/resources/business/resources/events/client/requests/UpdateEventRequest.mjs +2 -0
  250. package/dist/esm/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.mts +14 -0
  251. package/dist/esm/api/resources/business/resources/events/client/requests/UploadEventImageRequest.mjs +2 -0
  252. package/dist/esm/api/resources/business/resources/events/client/requests/index.d.mts +10 -0
  253. package/dist/esm/api/resources/business/resources/events/client/requests/index.mjs +1 -0
  254. package/dist/esm/api/resources/business/resources/events/exports.d.mts +3 -0
  255. package/dist/esm/api/resources/business/resources/events/exports.mjs +4 -0
  256. package/dist/esm/api/resources/business/resources/events/index.d.mts +3 -0
  257. package/dist/esm/api/resources/business/resources/events/index.mjs +3 -0
  258. package/dist/esm/api/resources/business/resources/events/resources/index.d.mts +6 -0
  259. package/dist/esm/api/resources/business/resources/events/resources/index.mjs +6 -0
  260. package/dist/esm/api/resources/business/resources/events/resources/orders/client/Client.d.mts +46 -0
  261. package/dist/esm/api/resources/business/resources/events/resources/orders/client/Client.mjs +141 -0
  262. package/dist/esm/api/resources/business/resources/events/resources/orders/client/index.d.mts +1 -0
  263. package/dist/esm/api/resources/business/resources/events/resources/orders/client/index.mjs +1 -0
  264. package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/GetOrdersRequest.d.mts +13 -0
  265. package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/GetOrdersRequest.mjs +2 -0
  266. package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/ListOrdersRequest.d.mts +10 -0
  267. package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/ListOrdersRequest.mjs +2 -0
  268. package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/index.d.mts +2 -0
  269. package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/index.mjs +1 -0
  270. package/dist/esm/api/resources/business/resources/events/resources/orders/exports.d.mts +2 -0
  271. package/dist/esm/api/resources/business/resources/events/resources/orders/exports.mjs +3 -0
  272. package/dist/esm/api/resources/business/resources/events/resources/orders/index.d.mts +2 -0
  273. package/dist/esm/api/resources/business/resources/events/resources/orders/index.mjs +2 -0
  274. package/dist/esm/api/resources/business/resources/events/resources/orders/types/GetOrdersResponse.d.mts +4 -0
  275. package/dist/esm/api/resources/business/resources/events/resources/orders/types/GetOrdersResponse.mjs +2 -0
  276. package/dist/esm/api/resources/business/resources/events/resources/orders/types/ListOrdersResponse.d.mts +4 -0
  277. package/dist/esm/api/resources/business/resources/events/resources/orders/types/ListOrdersResponse.mjs +2 -0
  278. package/dist/esm/api/resources/business/resources/events/resources/orders/types/index.d.mts +2 -0
  279. package/dist/esm/api/resources/business/resources/events/resources/orders/types/index.mjs +2 -0
  280. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/Client.d.mts +94 -0
  281. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/Client.mjs +341 -0
  282. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/index.d.mts +1 -0
  283. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/index.mjs +1 -0
  284. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/DeleteTicketTypesRequest.d.mts +10 -0
  285. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/DeleteTicketTypesRequest.mjs +2 -0
  286. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/GetTicketTypesRequest.d.mts +10 -0
  287. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/GetTicketTypesRequest.mjs +2 -0
  288. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/ListTicketTypesRequest.d.mts +10 -0
  289. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/ListTicketTypesRequest.mjs +2 -0
  290. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.d.mts +21 -0
  291. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.mjs +2 -0
  292. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.mts +18 -0
  293. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.mjs +2 -0
  294. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/index.d.mts +5 -0
  295. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/index.mjs +1 -0
  296. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/exports.d.mts +2 -0
  297. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/exports.mjs +3 -0
  298. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/index.d.mts +2 -0
  299. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/index.mjs +2 -0
  300. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/CreateTicketTypesResponse.d.mts +4 -0
  301. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/CreateTicketTypesResponse.mjs +2 -0
  302. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/DeleteTicketTypesResponse.d.mts +9 -0
  303. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/DeleteTicketTypesResponse.mjs +7 -0
  304. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/GetTicketTypesResponse.d.mts +4 -0
  305. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/GetTicketTypesResponse.mjs +2 -0
  306. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/ListTicketTypesResponse.d.mts +4 -0
  307. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/ListTicketTypesResponse.mjs +2 -0
  308. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/UpdateTicketTypesResponse.d.mts +4 -0
  309. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/UpdateTicketTypesResponse.mjs +2 -0
  310. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/index.d.mts +5 -0
  311. package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/index.mjs +5 -0
  312. package/dist/esm/api/resources/business/resources/events/types/CreateEventsResponse.d.mts +4 -0
  313. package/dist/esm/api/resources/business/resources/events/types/CreateEventsResponse.mjs +2 -0
  314. package/dist/esm/api/resources/business/resources/events/types/DeleteEventsResponse.d.mts +9 -0
  315. package/dist/esm/api/resources/business/resources/events/types/DeleteEventsResponse.mjs +7 -0
  316. package/dist/esm/api/resources/business/resources/events/types/DeleteImageEventsResponse.d.mts +9 -0
  317. package/dist/esm/api/resources/business/resources/events/types/DeleteImageEventsResponse.mjs +7 -0
  318. package/dist/esm/api/resources/business/resources/events/types/GetEventsResponse.d.mts +4 -0
  319. package/dist/esm/api/resources/business/resources/events/types/GetEventsResponse.mjs +2 -0
  320. package/dist/esm/api/resources/business/resources/events/types/ListAttendeesEventsResponse.d.mts +4 -0
  321. package/dist/esm/api/resources/business/resources/events/types/ListAttendeesEventsResponse.mjs +2 -0
  322. package/dist/esm/api/resources/business/resources/events/types/ListEventsResponse.d.mts +4 -0
  323. package/dist/esm/api/resources/business/resources/events/types/ListEventsResponse.mjs +2 -0
  324. package/dist/esm/api/resources/business/resources/events/types/ListRsvpsEventsResponse.d.mts +4 -0
  325. package/dist/esm/api/resources/business/resources/events/types/ListRsvpsEventsResponse.mjs +2 -0
  326. package/dist/esm/api/resources/business/resources/events/types/SalesSummaryEventsResponse.d.mts +4 -0
  327. package/dist/esm/api/resources/business/resources/events/types/SalesSummaryEventsResponse.mjs +2 -0
  328. package/dist/esm/api/resources/business/resources/events/types/TogglePublishedEventsResponse.d.mts +4 -0
  329. package/dist/esm/api/resources/business/resources/events/types/TogglePublishedEventsResponse.mjs +2 -0
  330. package/dist/esm/api/resources/business/resources/events/types/UpdateEventsResponse.d.mts +4 -0
  331. package/dist/esm/api/resources/business/resources/events/types/UpdateEventsResponse.mjs +2 -0
  332. package/dist/esm/api/resources/business/resources/events/types/UploadImageEventsResponse.d.mts +4 -0
  333. package/dist/esm/api/resources/business/resources/events/types/UploadImageEventsResponse.mjs +2 -0
  334. package/dist/esm/api/resources/business/resources/events/types/index.d.mts +11 -0
  335. package/dist/esm/api/resources/business/resources/events/types/index.mjs +11 -0
  336. package/dist/esm/api/resources/business/resources/index.d.mts +6 -0
  337. package/dist/esm/api/resources/business/resources/index.mjs +6 -0
  338. package/dist/esm/api/resources/business/resources/stripeConnect/client/Client.d.mts +84 -0
  339. package/dist/esm/api/resources/business/resources/stripeConnect/client/Client.mjs +258 -0
  340. package/dist/esm/api/resources/business/resources/stripeConnect/client/index.d.mts +1 -0
  341. package/dist/esm/api/resources/business/resources/stripeConnect/client/index.mjs +1 -0
  342. package/dist/esm/api/resources/business/resources/stripeConnect/client/requests/CreateAccountSessionRequest.d.mts +21 -0
  343. package/dist/esm/api/resources/business/resources/stripeConnect/client/requests/CreateAccountSessionRequest.mjs +2 -0
  344. package/dist/esm/api/resources/business/resources/stripeConnect/client/requests/index.d.mts +1 -0
  345. package/dist/esm/api/resources/business/resources/stripeConnect/client/requests/index.mjs +1 -0
  346. package/dist/esm/api/resources/business/resources/stripeConnect/exports.d.mts +2 -0
  347. package/dist/esm/api/resources/business/resources/stripeConnect/exports.mjs +3 -0
  348. package/dist/esm/api/resources/business/resources/stripeConnect/index.d.mts +2 -0
  349. package/dist/esm/api/resources/business/resources/stripeConnect/index.mjs +2 -0
  350. package/dist/esm/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.d.mts +4 -0
  351. package/dist/esm/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.mjs +2 -0
  352. package/dist/esm/api/resources/business/resources/stripeConnect/types/DisconnectStripeConnectResponse.d.mts +9 -0
  353. package/dist/esm/api/resources/business/resources/stripeConnect/types/DisconnectStripeConnectResponse.mjs +7 -0
  354. package/dist/esm/api/resources/business/resources/stripeConnect/types/RefreshStripeConnectResponse.d.mts +12 -0
  355. package/dist/esm/api/resources/business/resources/stripeConnect/types/RefreshStripeConnectResponse.mjs +2 -0
  356. package/dist/esm/api/resources/business/resources/stripeConnect/types/StatusStripeConnectResponse.d.mts +12 -0
  357. package/dist/esm/api/resources/business/resources/stripeConnect/types/StatusStripeConnectResponse.mjs +2 -0
  358. package/dist/esm/api/resources/business/resources/stripeConnect/types/index.d.mts +4 -0
  359. package/dist/esm/api/resources/business/resources/stripeConnect/types/index.mjs +4 -0
  360. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.mts +2 -2
  361. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.mjs +1 -1
  362. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/{StoreBulletinCommentRequest.d.mts → AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.d.mts} +2 -1
  363. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.mjs +2 -0
  364. package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.mts +1 -1
  365. package/dist/esm/api/types/BusinessBulletinComment.d.mts +15 -0
  366. package/dist/esm/api/types/BusinessBulletinComment.mjs +2 -0
  367. package/dist/esm/api/types/BusinessBulletinCommentReply.d.mts +13 -0
  368. package/dist/esm/api/types/BusinessBulletinCommentReply.mjs +2 -0
  369. package/dist/esm/api/types/BusinessBulletinCommentResponse.d.mts +5 -0
  370. package/dist/esm/api/types/BusinessBulletinCommentResponse.mjs +2 -0
  371. package/dist/esm/api/types/BusinessEvent.d.mts +20 -0
  372. package/dist/esm/api/types/BusinessEvent.mjs +2 -0
  373. package/dist/esm/api/types/BusinessEventAttendee.d.mts +22 -0
  374. package/dist/esm/api/types/BusinessEventAttendee.mjs +2 -0
  375. package/dist/esm/api/types/BusinessEventOrder.d.mts +26 -0
  376. package/dist/esm/api/types/BusinessEventOrder.mjs +2 -0
  377. package/dist/esm/api/types/BusinessEventOrderDetail.d.mts +28 -0
  378. package/dist/esm/api/types/BusinessEventOrderDetail.mjs +2 -0
  379. package/dist/esm/api/types/BusinessEventRsvp.d.mts +16 -0
  380. package/dist/esm/api/types/BusinessEventRsvp.mjs +2 -0
  381. package/dist/esm/api/types/BusinessEventSalesSummary.d.mts +1 -0
  382. package/dist/esm/api/types/BusinessEventSalesSummary.mjs +2 -0
  383. package/dist/esm/api/types/BusinessEventTicketType.d.mts +17 -0
  384. package/dist/esm/api/types/BusinessEventTicketType.mjs +2 -0
  385. package/dist/esm/api/types/BusinessStripeConnection.d.mts +18 -0
  386. package/dist/esm/api/types/BusinessStripeConnection.mjs +2 -0
  387. package/dist/esm/api/types/CustomerBulletinCommentReply.d.mts +13 -0
  388. package/dist/esm/api/types/CustomerBulletinCommentReply.mjs +2 -0
  389. package/dist/esm/api/types/CustomerComment.d.mts +3 -0
  390. package/dist/esm/api/types/index.d.mts +12 -0
  391. package/dist/esm/api/types/index.mjs +12 -0
  392. package/dist/esm/version.d.mts +1 -1
  393. package/dist/esm/version.mjs +1 -1
  394. package/package.json +56 -1
  395. package/reference.md +1572 -203
  396. /package/dist/cjs/api/resources/{customer/resources/businesses/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.js → business/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.js} +0 -0
  397. /package/dist/esm/api/resources/{customer/resources/businesses/resources/bulletins/resources/comments/client/requests/StoreBulletinCommentRequest.mjs → business/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.mjs} +0 -0
package/README.md CHANGED
@@ -109,8 +109,9 @@ import * as fs from "fs";
109
109
  import { FiveOneEatClient } from "@51eat/sdk";
110
110
 
111
111
  const client = new FiveOneEatClient({ token: "YOUR_TOKEN" });
112
- await client.business.gallery.upload({
113
- photo: fs.createReadStream("/path/to/your/file")
112
+ await client.business.events.uploadImage({
113
+ image: fs.createReadStream("/path/to/your/file"),
114
+ event: "event"
114
115
  });
115
116
  ```
116
117
  The client accepts a variety of types for file upload parameters:
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@51eat/sdk",
46
- "X-Fern-SDK-Version": "0.0.27",
47
- "User-Agent": "@51eat/sdk/0.0.27",
46
+ "X-Fern-SDK-Version": "0.0.29",
47
+ "User-Agent": "@51eat/sdk/0.0.29",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -6,11 +6,13 @@ import { BusinessesClient } from "../resources/businesses/client/Client.js";
6
6
  import { CategoriesClient } from "../resources/categories/client/Client.js";
7
7
  import { CertificationsClient } from "../resources/certifications/client/Client.js";
8
8
  import { CuisinesClient } from "../resources/cuisines/client/Client.js";
9
+ import { EventsClient } from "../resources/events/client/Client.js";
9
10
  import { GalleryClient } from "../resources/gallery/client/Client.js";
10
11
  import { MenusClient } from "../resources/menus/client/Client.js";
11
12
  import { MessagingClient } from "../resources/messaging/client/Client.js";
12
13
  import { ProfileClient } from "../resources/profile/client/Client.js";
13
14
  import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.js";
15
+ import { StripeConnectClient } from "../resources/stripeConnect/client/Client.js";
14
16
  export declare namespace BusinessClient {
15
17
  type Options = BaseClientOptions;
16
18
  }
@@ -19,11 +21,13 @@ export declare class BusinessClient {
19
21
  protected _auth: AuthClient | undefined;
20
22
  protected _bulletins: BulletinsClient | undefined;
21
23
  protected _businesses: BusinessesClient | undefined;
24
+ protected _events: EventsClient | undefined;
22
25
  protected _gallery: GalleryClient | undefined;
23
26
  protected _menus: MenusClient | undefined;
24
27
  protected _messaging: MessagingClient | undefined;
25
28
  protected _profile: ProfileClient | undefined;
26
29
  protected _pushNotifications: PushNotificationsClient | undefined;
30
+ protected _stripeConnect: StripeConnectClient | undefined;
27
31
  protected _cuisines: CuisinesClient | undefined;
28
32
  protected _certifications: CertificationsClient | undefined;
29
33
  protected _categories: CategoriesClient | undefined;
@@ -31,11 +35,13 @@ export declare class BusinessClient {
31
35
  get auth(): AuthClient;
32
36
  get bulletins(): BulletinsClient;
33
37
  get businesses(): BusinessesClient;
38
+ get events(): EventsClient;
34
39
  get gallery(): GalleryClient;
35
40
  get menus(): MenusClient;
36
41
  get messaging(): MessagingClient;
37
42
  get profile(): ProfileClient;
38
43
  get pushNotifications(): PushNotificationsClient;
44
+ get stripeConnect(): StripeConnectClient;
39
45
  get cuisines(): CuisinesClient;
40
46
  get certifications(): CertificationsClient;
41
47
  get categories(): CategoriesClient;
@@ -9,11 +9,13 @@ const Client_js_3 = require("../resources/businesses/client/Client.js");
9
9
  const Client_js_4 = require("../resources/categories/client/Client.js");
10
10
  const Client_js_5 = require("../resources/certifications/client/Client.js");
11
11
  const Client_js_6 = require("../resources/cuisines/client/Client.js");
12
- const Client_js_7 = require("../resources/gallery/client/Client.js");
13
- const Client_js_8 = require("../resources/menus/client/Client.js");
14
- const Client_js_9 = require("../resources/messaging/client/Client.js");
15
- const Client_js_10 = require("../resources/profile/client/Client.js");
16
- const Client_js_11 = require("../resources/pushNotifications/client/Client.js");
12
+ const Client_js_7 = require("../resources/events/client/Client.js");
13
+ const Client_js_8 = require("../resources/gallery/client/Client.js");
14
+ const Client_js_9 = require("../resources/menus/client/Client.js");
15
+ const Client_js_10 = require("../resources/messaging/client/Client.js");
16
+ const Client_js_11 = require("../resources/profile/client/Client.js");
17
+ const Client_js_12 = require("../resources/pushNotifications/client/Client.js");
18
+ const Client_js_13 = require("../resources/stripeConnect/client/Client.js");
17
19
  class BusinessClient {
18
20
  constructor(options = {}) {
19
21
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
@@ -30,25 +32,33 @@ class BusinessClient {
30
32
  var _a;
31
33
  return ((_a = this._businesses) !== null && _a !== void 0 ? _a : (this._businesses = new Client_js_3.BusinessesClient(this._options)));
32
34
  }
35
+ get events() {
36
+ var _a;
37
+ return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_js_7.EventsClient(this._options)));
38
+ }
33
39
  get gallery() {
34
40
  var _a;
35
- return ((_a = this._gallery) !== null && _a !== void 0 ? _a : (this._gallery = new Client_js_7.GalleryClient(this._options)));
41
+ return ((_a = this._gallery) !== null && _a !== void 0 ? _a : (this._gallery = new Client_js_8.GalleryClient(this._options)));
36
42
  }
37
43
  get menus() {
38
44
  var _a;
39
- return ((_a = this._menus) !== null && _a !== void 0 ? _a : (this._menus = new Client_js_8.MenusClient(this._options)));
45
+ return ((_a = this._menus) !== null && _a !== void 0 ? _a : (this._menus = new Client_js_9.MenusClient(this._options)));
40
46
  }
41
47
  get messaging() {
42
48
  var _a;
43
- return ((_a = this._messaging) !== null && _a !== void 0 ? _a : (this._messaging = new Client_js_9.MessagingClient(this._options)));
49
+ return ((_a = this._messaging) !== null && _a !== void 0 ? _a : (this._messaging = new Client_js_10.MessagingClient(this._options)));
44
50
  }
45
51
  get profile() {
46
52
  var _a;
47
- return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new Client_js_10.ProfileClient(this._options)));
53
+ return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new Client_js_11.ProfileClient(this._options)));
48
54
  }
49
55
  get pushNotifications() {
50
56
  var _a;
51
- return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new Client_js_11.PushNotificationsClient(this._options)));
57
+ return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new Client_js_12.PushNotificationsClient(this._options)));
58
+ }
59
+ get stripeConnect() {
60
+ var _a;
61
+ return ((_a = this._stripeConnect) !== null && _a !== void 0 ? _a : (this._stripeConnect = new Client_js_13.StripeConnectClient(this._options)));
52
62
  }
53
63
  get cuisines() {
54
64
  var _a;
@@ -2,6 +2,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../Ba
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
3
  import * as core from "../../../../../../core/index.js";
4
4
  import * as FiveOneEat from "../../../../../index.js";
5
+ import { CommentsClient } from "../resources/comments/client/Client.js";
5
6
  export declare namespace BulletinsClient {
6
7
  type Options = BaseClientOptions;
7
8
  interface RequestOptions extends BaseRequestOptions {
@@ -9,7 +10,9 @@ export declare namespace BulletinsClient {
9
10
  }
10
11
  export declare class BulletinsClient {
11
12
  protected readonly _options: NormalizedClientOptionsWithAuth<BulletinsClient.Options>;
13
+ protected _comments: CommentsClient | undefined;
12
14
  constructor(options?: BulletinsClient.Options);
15
+ get comments(): CommentsClient;
13
16
  /**
14
17
  * @param {BulletinsClient.RequestOptions} requestOptions - Request-specific configuration.
15
18
  *
@@ -62,10 +62,15 @@ const environments = __importStar(require("../../../../../../environments.js"));
62
62
  const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
63
63
  const errors = __importStar(require("../../../../../../errors/index.js"));
64
64
  const FiveOneEat = __importStar(require("../../../../../index.js"));
65
+ const Client_js_1 = require("../resources/comments/client/Client.js");
65
66
  class BulletinsClient {
66
67
  constructor(options = {}) {
67
68
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
68
69
  }
70
+ get comments() {
71
+ var _a;
72
+ return ((_a = this._comments) !== null && _a !== void 0 ? _a : (this._comments = new Client_js_1.CommentsClient(this._options)));
73
+ }
69
74
  /**
70
75
  * @param {BulletinsClient.RequestOptions} requestOptions - Request-specific configuration.
71
76
  *
@@ -1,2 +1,3 @@
1
1
  export { BulletinsClient } from "./client/Client.js";
2
2
  export * from "./client/index.js";
3
+ export * from "./resources/index.js";
@@ -19,3 +19,4 @@ exports.BulletinsClient = void 0;
19
19
  var Client_js_1 = require("./client/Client.js");
20
20
  Object.defineProperty(exports, "BulletinsClient", { enumerable: true, get: function () { return Client_js_1.BulletinsClient; } });
21
21
  __exportStar(require("./client/index.js"), exports);
22
+ __exportStar(require("./resources/index.js"), exports);
@@ -1,2 +1,3 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./resources/index.js";
2
3
  export * from "./types/index.js";
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./resources/index.js"), exports);
18
19
  __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,49 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.js";
3
+ import * as core from "../../../../../../../../core/index.js";
4
+ import * as FiveOneEat from "../../../../../../../index.js";
5
+ export declare namespace CommentsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class CommentsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<CommentsClient.Options>;
12
+ constructor(options?: CommentsClient.Options);
13
+ /**
14
+ * @param {FiveOneEat.business.bulletins.ListCommentsRequest} request
15
+ * @param {CommentsClient.RequestOptions} requestOptions - Request-specific configuration.
16
+ *
17
+ * @throws {@link FiveOneEat.UnauthorizedError}
18
+ * @throws {@link FiveOneEat.ForbiddenError}
19
+ * @throws {@link FiveOneEat.NotFoundError}
20
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
21
+ *
22
+ * @example
23
+ * await client.business.bulletins.comments.list({
24
+ * bulletin: "bulletin"
25
+ * })
26
+ */
27
+ list(request: FiveOneEat.business.bulletins.ListCommentsRequest, requestOptions?: CommentsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.bulletins.ListCommentsResponse>;
28
+ private __list;
29
+ /**
30
+ * Omit `parent_id` for a top-level comment. Set `parent_id` to a top-level
31
+ * comment's id to post a one-level reply (replies to replies are not allowed).
32
+ *
33
+ * @param {FiveOneEat.business.bulletins.StoreBulletinCommentRequest} request
34
+ * @param {CommentsClient.RequestOptions} requestOptions - Request-specific configuration.
35
+ *
36
+ * @throws {@link FiveOneEat.UnauthorizedError}
37
+ * @throws {@link FiveOneEat.ForbiddenError}
38
+ * @throws {@link FiveOneEat.NotFoundError}
39
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.business.bulletins.comments.create({
43
+ * bulletin: "bulletin",
44
+ * body: "body"
45
+ * })
46
+ */
47
+ create(request: FiveOneEat.business.bulletins.StoreBulletinCommentRequest, requestOptions?: CommentsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.bulletins.CreateCommentsResponse>;
48
+ private __create;
49
+ }
@@ -0,0 +1,208 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ var __rest = (this && this.__rest) || function (s, e) {
46
+ var t = {};
47
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
48
+ t[p] = s[p];
49
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
50
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
51
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
52
+ t[p[i]] = s[p[i]];
53
+ }
54
+ return t;
55
+ };
56
+ Object.defineProperty(exports, "__esModule", { value: true });
57
+ exports.CommentsClient = void 0;
58
+ const BaseClient_js_1 = require("../../../../../../../../BaseClient.js");
59
+ const headers_js_1 = require("../../../../../../../../core/headers.js");
60
+ const core = __importStar(require("../../../../../../../../core/index.js"));
61
+ const environments = __importStar(require("../../../../../../../../environments.js"));
62
+ const handleNonStatusCodeError_js_1 = require("../../../../../../../../errors/handleNonStatusCodeError.js");
63
+ const errors = __importStar(require("../../../../../../../../errors/index.js"));
64
+ const FiveOneEat = __importStar(require("../../../../../../../index.js"));
65
+ class CommentsClient {
66
+ constructor(options = {}) {
67
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
68
+ }
69
+ /**
70
+ * @param {FiveOneEat.business.bulletins.ListCommentsRequest} request
71
+ * @param {CommentsClient.RequestOptions} requestOptions - Request-specific configuration.
72
+ *
73
+ * @throws {@link FiveOneEat.UnauthorizedError}
74
+ * @throws {@link FiveOneEat.ForbiddenError}
75
+ * @throws {@link FiveOneEat.NotFoundError}
76
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
77
+ *
78
+ * @example
79
+ * await client.business.bulletins.comments.list({
80
+ * bulletin: "bulletin"
81
+ * })
82
+ */
83
+ list(request, requestOptions) {
84
+ return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
85
+ }
86
+ __list(request, requestOptions) {
87
+ return __awaiter(this, void 0, void 0, function* () {
88
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
89
+ const { bulletin, page, per_page: perPage } = request;
90
+ const _queryParams = {
91
+ page,
92
+ per_page: perPage,
93
+ };
94
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
95
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
96
+ const _response = yield core.fetcher({
97
+ 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, `business/bulletins/${core.url.encodePathParam(bulletin)}/comments`),
98
+ method: "GET",
99
+ headers: _headers,
100
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
101
+ queryString: core.url
102
+ .queryBuilder()
103
+ .addMany(_queryParams)
104
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
105
+ .build(),
106
+ 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,
107
+ 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,
108
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
109
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
110
+ logging: this._options.logging,
111
+ });
112
+ if (_response.ok) {
113
+ return {
114
+ data: _response.body,
115
+ rawResponse: _response.rawResponse,
116
+ };
117
+ }
118
+ if (_response.error.reason === "status-code") {
119
+ switch (_response.error.statusCode) {
120
+ case 401:
121
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
122
+ case 403:
123
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
124
+ case 404:
125
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
126
+ case 422:
127
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
128
+ default:
129
+ throw new errors.FiveOneEatError({
130
+ statusCode: _response.error.statusCode,
131
+ body: _response.error.body,
132
+ rawResponse: _response.rawResponse,
133
+ });
134
+ }
135
+ }
136
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/bulletins/{bulletin}/comments");
137
+ });
138
+ }
139
+ /**
140
+ * Omit `parent_id` for a top-level comment. Set `parent_id` to a top-level
141
+ * comment's id to post a one-level reply (replies to replies are not allowed).
142
+ *
143
+ * @param {FiveOneEat.business.bulletins.StoreBulletinCommentRequest} request
144
+ * @param {CommentsClient.RequestOptions} requestOptions - Request-specific configuration.
145
+ *
146
+ * @throws {@link FiveOneEat.UnauthorizedError}
147
+ * @throws {@link FiveOneEat.ForbiddenError}
148
+ * @throws {@link FiveOneEat.NotFoundError}
149
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
150
+ *
151
+ * @example
152
+ * await client.business.bulletins.comments.create({
153
+ * bulletin: "bulletin",
154
+ * body: "body"
155
+ * })
156
+ */
157
+ create(request, requestOptions) {
158
+ return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
159
+ }
160
+ __create(request, requestOptions) {
161
+ return __awaiter(this, void 0, void 0, function* () {
162
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
163
+ const { bulletin } = request, _body = __rest(request, ["bulletin"]);
164
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
165
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
166
+ const _response = yield core.fetcher({
167
+ 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, `business/bulletins/${core.url.encodePathParam(bulletin)}/comments`),
168
+ method: "POST",
169
+ headers: _headers,
170
+ contentType: "application/json",
171
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
172
+ requestType: "json",
173
+ body: _body,
174
+ 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,
175
+ 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,
176
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
177
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
178
+ logging: this._options.logging,
179
+ });
180
+ if (_response.ok) {
181
+ return {
182
+ data: _response.body,
183
+ rawResponse: _response.rawResponse,
184
+ };
185
+ }
186
+ if (_response.error.reason === "status-code") {
187
+ switch (_response.error.statusCode) {
188
+ case 401:
189
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
190
+ case 403:
191
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
192
+ case 404:
193
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
194
+ case 422:
195
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
196
+ default:
197
+ throw new errors.FiveOneEatError({
198
+ statusCode: _response.error.statusCode,
199
+ body: _response.error.body,
200
+ rawResponse: _response.rawResponse,
201
+ });
202
+ }
203
+ }
204
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/business/bulletins/{bulletin}/comments");
205
+ });
206
+ }
207
+ }
208
+ exports.CommentsClient = CommentsClient;
@@ -0,0 +1 @@
1
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * bulletin: "bulletin"
5
+ * }
6
+ */
7
+ export interface ListCommentsRequest {
8
+ /** The bulletin ID */
9
+ bulletin: string;
10
+ page?: number | null;
11
+ per_page?: number | null;
12
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * bulletin: "bulletin",
5
+ * body: "body"
6
+ * }
7
+ */
8
+ export interface StoreBulletinCommentRequest {
9
+ /** The bulletin ID */
10
+ bulletin: string;
11
+ body: string;
12
+ parent_id?: string | null;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export type { ListCommentsRequest } from "./ListCommentsRequest.js";
2
+ export type { StoreBulletinCommentRequest } from "./StoreBulletinCommentRequest.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { CommentsClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.CommentsClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "CommentsClient", { enumerable: true, get: function () { return Client_js_1.CommentsClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.js";
2
+ export interface CreateCommentsResponse {
3
+ data: FiveOneEat.BusinessBulletinComment;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../../../index.js";
2
+ export interface ListCommentsResponse {
3
+ data: FiveOneEat.BusinessBulletinCommentResponse;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./CreateCommentsResponse.js";
2
+ export * from "./ListCommentsResponse.js";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CreateCommentsResponse.js"), exports);
18
+ __exportStar(require("./ListCommentsResponse.js"), exports);
@@ -0,0 +1,3 @@
1
+ export * from "./comments/client/requests/index.js";
2
+ export * as comments from "./comments/index.js";
3
+ export * from "./comments/types/index.js";