@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
@@ -0,0 +1,22 @@
1
+ export interface BusinessEventAttendee {
2
+ id: string;
3
+ ticket_number: string;
4
+ status: string;
5
+ used_at: string;
6
+ order_id: string;
7
+ ticket_type?: BusinessEventAttendee.TicketType | undefined;
8
+ user?: BusinessEventAttendee.User | undefined;
9
+ created_at: string;
10
+ }
11
+ export declare namespace BusinessEventAttendee {
12
+ interface TicketType {
13
+ id: string;
14
+ name: string;
15
+ price: string;
16
+ }
17
+ interface User {
18
+ id: string;
19
+ name: string;
20
+ email: string;
21
+ }
22
+ }
@@ -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,26 @@
1
+ export interface BusinessEventOrder {
2
+ id: string;
3
+ event_id: string;
4
+ order_number: string;
5
+ status: string;
6
+ subtotal: string;
7
+ fees: string;
8
+ total_amount: string;
9
+ refunded_amount: string;
10
+ remaining_refundable_amount: string;
11
+ customer_name: string;
12
+ customer_email: string;
13
+ payment_completed_at: string;
14
+ refunded_at: string;
15
+ tickets_count?: number | undefined;
16
+ user?: BusinessEventOrder.User | undefined;
17
+ created_at: string;
18
+ updated_at: string;
19
+ }
20
+ export declare namespace BusinessEventOrder {
21
+ interface User {
22
+ id: string;
23
+ name: string;
24
+ email: string;
25
+ }
26
+ }
@@ -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,28 @@
1
+ export interface BusinessEventOrderDetail {
2
+ id: string;
3
+ event_id: string;
4
+ order_number: string;
5
+ status: string;
6
+ subtotal: string;
7
+ fees: string;
8
+ total_amount: string;
9
+ refunded_amount: string;
10
+ remaining_refundable_amount: string;
11
+ customer_name: string;
12
+ customer_email: string;
13
+ stripe_payment_intent_id: string;
14
+ payment_completed_at: string;
15
+ refunded_at: string;
16
+ refund_reason: string;
17
+ user?: BusinessEventOrderDetail.User | undefined;
18
+ tickets?: string | undefined;
19
+ created_at: string;
20
+ updated_at: string;
21
+ }
22
+ export declare namespace BusinessEventOrderDetail {
23
+ interface User {
24
+ id: string;
25
+ name: string;
26
+ email: string;
27
+ }
28
+ }
@@ -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,16 @@
1
+ export interface BusinessEventRsvp {
2
+ id: string;
3
+ event_id: string;
4
+ status: string;
5
+ notes: string | null;
6
+ user?: BusinessEventRsvp.User | undefined;
7
+ created_at: string | null;
8
+ updated_at: string | null;
9
+ }
10
+ export declare namespace BusinessEventRsvp {
11
+ interface User {
12
+ id: string;
13
+ name: string;
14
+ email: string;
15
+ }
16
+ }
@@ -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 @@
1
+ export type BusinessEventSalesSummary = unknown[];
@@ -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,17 @@
1
+ export interface BusinessEventTicketType {
2
+ id: string;
3
+ event_id: string;
4
+ name: string;
5
+ description: string | null;
6
+ price: number;
7
+ quantity_available: number;
8
+ quantity_sold: number;
9
+ remaining_quantity: string;
10
+ is_available_for_sale: boolean;
11
+ sales_start_at: string | null;
12
+ sales_end_at: string | null;
13
+ is_active: boolean;
14
+ sort_order: number;
15
+ created_at: string | null;
16
+ updated_at: string | null;
17
+ }
@@ -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,18 @@
1
+ export interface BusinessStripeConnection {
2
+ id: number;
3
+ stripe_account_id: string;
4
+ charges_enabled: boolean;
5
+ payouts_enabled: boolean;
6
+ details_submitted: boolean;
7
+ is_ready: boolean;
8
+ is_active: boolean;
9
+ requirements: unknown[] | null;
10
+ capabilities: unknown[] | null;
11
+ country: string | null;
12
+ default_currency: string | null;
13
+ email: string | null;
14
+ deauthorized_at: string | null;
15
+ stripe_updated_at: string | null;
16
+ created_at: string | null;
17
+ updated_at: string | null;
18
+ }
@@ -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,13 @@
1
+ export interface CustomerBulletinCommentReply {
2
+ id: string;
3
+ parent_id: string;
4
+ body: string;
5
+ user: CustomerBulletinCommentReply.User;
6
+ created_at: string;
7
+ }
8
+ export declare namespace CustomerBulletinCommentReply {
9
+ interface User {
10
+ id: string;
11
+ name: string;
12
+ }
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 });
@@ -1,8 +1,11 @@
1
+ import type * as FiveOneEat from "../index.js";
1
2
  export interface CustomerComment {
2
3
  id: string;
4
+ parent_id: string | null;
3
5
  body: string;
4
6
  user: CustomerComment.User;
5
7
  created_at: string | null;
8
+ replies?: FiveOneEat.CustomerBulletinCommentReply[] | undefined;
6
9
  }
7
10
  export declare namespace CustomerComment {
8
11
  interface User {
@@ -21,10 +21,20 @@ export * from "./BardSetNode.js";
21
21
  export * from "./BardSetValues.js";
22
22
  export * from "./BardTextNode.js";
23
23
  export * from "./BusinessBulletin.js";
24
+ export * from "./BusinessBulletinComment.js";
25
+ export * from "./BusinessBulletinCommentReply.js";
26
+ export * from "./BusinessBulletinCommentResponse.js";
24
27
  export * from "./BusinessCategory.js";
25
28
  export * from "./BusinessCertification.js";
26
29
  export * from "./BusinessConversation.js";
27
30
  export * from "./BusinessCuisine.js";
31
+ export * from "./BusinessEvent.js";
32
+ export * from "./BusinessEventAttendee.js";
33
+ export * from "./BusinessEventOrder.js";
34
+ export * from "./BusinessEventOrderDetail.js";
35
+ export * from "./BusinessEventRsvp.js";
36
+ export * from "./BusinessEventSalesSummary.js";
37
+ export * from "./BusinessEventTicketType.js";
28
38
  export * from "./BusinessLoginResponse.js";
29
39
  export * from "./BusinessMe.js";
30
40
  export * from "./BusinessMenu.js";
@@ -36,12 +46,14 @@ export * from "./BusinessMessage.js";
36
46
  export * from "./BusinessPhoto.js";
37
47
  export * from "./BusinessProfile.js";
38
48
  export * from "./BusinessSearchResult.js";
49
+ export * from "./BusinessStripeConnection.js";
39
50
  export * from "./BusinessSummary.js";
40
51
  export * from "./BusinessToken.js";
41
52
  export * from "./ConflictErrorBody.js";
42
53
  export * from "./Conversation.js";
43
54
  export * from "./Cuisine.js";
44
55
  export * from "./CustomerBulletin.js";
56
+ export * from "./CustomerBulletinCommentReply.js";
45
57
  export * from "./CustomerBulletinResponse.js";
46
58
  export * from "./CustomerBusinessProfile.js";
47
59
  export * from "./CustomerComment.js";
@@ -37,10 +37,20 @@ __exportStar(require("./BardSetNode.js"), exports);
37
37
  __exportStar(require("./BardSetValues.js"), exports);
38
38
  __exportStar(require("./BardTextNode.js"), exports);
39
39
  __exportStar(require("./BusinessBulletin.js"), exports);
40
+ __exportStar(require("./BusinessBulletinComment.js"), exports);
41
+ __exportStar(require("./BusinessBulletinCommentReply.js"), exports);
42
+ __exportStar(require("./BusinessBulletinCommentResponse.js"), exports);
40
43
  __exportStar(require("./BusinessCategory.js"), exports);
41
44
  __exportStar(require("./BusinessCertification.js"), exports);
42
45
  __exportStar(require("./BusinessConversation.js"), exports);
43
46
  __exportStar(require("./BusinessCuisine.js"), exports);
47
+ __exportStar(require("./BusinessEvent.js"), exports);
48
+ __exportStar(require("./BusinessEventAttendee.js"), exports);
49
+ __exportStar(require("./BusinessEventOrder.js"), exports);
50
+ __exportStar(require("./BusinessEventOrderDetail.js"), exports);
51
+ __exportStar(require("./BusinessEventRsvp.js"), exports);
52
+ __exportStar(require("./BusinessEventSalesSummary.js"), exports);
53
+ __exportStar(require("./BusinessEventTicketType.js"), exports);
44
54
  __exportStar(require("./BusinessLoginResponse.js"), exports);
45
55
  __exportStar(require("./BusinessMe.js"), exports);
46
56
  __exportStar(require("./BusinessMenu.js"), exports);
@@ -52,12 +62,14 @@ __exportStar(require("./BusinessMessage.js"), exports);
52
62
  __exportStar(require("./BusinessPhoto.js"), exports);
53
63
  __exportStar(require("./BusinessProfile.js"), exports);
54
64
  __exportStar(require("./BusinessSearchResult.js"), exports);
65
+ __exportStar(require("./BusinessStripeConnection.js"), exports);
55
66
  __exportStar(require("./BusinessSummary.js"), exports);
56
67
  __exportStar(require("./BusinessToken.js"), exports);
57
68
  __exportStar(require("./ConflictErrorBody.js"), exports);
58
69
  __exportStar(require("./Conversation.js"), exports);
59
70
  __exportStar(require("./Cuisine.js"), exports);
60
71
  __exportStar(require("./CustomerBulletin.js"), exports);
72
+ __exportStar(require("./CustomerBulletinCommentReply.js"), exports);
61
73
  __exportStar(require("./CustomerBulletinResponse.js"), exports);
62
74
  __exportStar(require("./CustomerBusinessProfile.js"), exports);
63
75
  __exportStar(require("./CustomerComment.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.27";
1
+ export declare const SDK_VERSION = "0.0.29";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.27";
4
+ exports.SDK_VERSION = "0.0.29";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@51eat/sdk",
9
- "X-Fern-SDK-Version": "0.0.27",
10
- "User-Agent": "@51eat/sdk/0.0.27",
9
+ "X-Fern-SDK-Version": "0.0.29",
10
+ "User-Agent": "@51eat/sdk/0.0.29",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -6,11 +6,13 @@ import { BusinessesClient } from "../resources/businesses/client/Client.mjs";
6
6
  import { CategoriesClient } from "../resources/categories/client/Client.mjs";
7
7
  import { CertificationsClient } from "../resources/certifications/client/Client.mjs";
8
8
  import { CuisinesClient } from "../resources/cuisines/client/Client.mjs";
9
+ import { EventsClient } from "../resources/events/client/Client.mjs";
9
10
  import { GalleryClient } from "../resources/gallery/client/Client.mjs";
10
11
  import { MenusClient } from "../resources/menus/client/Client.mjs";
11
12
  import { MessagingClient } from "../resources/messaging/client/Client.mjs";
12
13
  import { ProfileClient } from "../resources/profile/client/Client.mjs";
13
14
  import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.mjs";
15
+ import { StripeConnectClient } from "../resources/stripeConnect/client/Client.mjs";
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;
@@ -6,11 +6,13 @@ import { BusinessesClient } from "../resources/businesses/client/Client.mjs";
6
6
  import { CategoriesClient } from "../resources/categories/client/Client.mjs";
7
7
  import { CertificationsClient } from "../resources/certifications/client/Client.mjs";
8
8
  import { CuisinesClient } from "../resources/cuisines/client/Client.mjs";
9
+ import { EventsClient } from "../resources/events/client/Client.mjs";
9
10
  import { GalleryClient } from "../resources/gallery/client/Client.mjs";
10
11
  import { MenusClient } from "../resources/menus/client/Client.mjs";
11
12
  import { MessagingClient } from "../resources/messaging/client/Client.mjs";
12
13
  import { ProfileClient } from "../resources/profile/client/Client.mjs";
13
14
  import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.mjs";
15
+ import { StripeConnectClient } from "../resources/stripeConnect/client/Client.mjs";
14
16
  export class BusinessClient {
15
17
  constructor(options = {}) {
16
18
  this._options = normalizeClientOptionsWithAuth(options);
@@ -27,6 +29,10 @@ export class BusinessClient {
27
29
  var _a;
28
30
  return ((_a = this._businesses) !== null && _a !== void 0 ? _a : (this._businesses = new BusinessesClient(this._options)));
29
31
  }
32
+ get events() {
33
+ var _a;
34
+ return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new EventsClient(this._options)));
35
+ }
30
36
  get gallery() {
31
37
  var _a;
32
38
  return ((_a = this._gallery) !== null && _a !== void 0 ? _a : (this._gallery = new GalleryClient(this._options)));
@@ -47,6 +53,10 @@ export class BusinessClient {
47
53
  var _a;
48
54
  return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new PushNotificationsClient(this._options)));
49
55
  }
56
+ get stripeConnect() {
57
+ var _a;
58
+ return ((_a = this._stripeConnect) !== null && _a !== void 0 ? _a : (this._stripeConnect = new StripeConnectClient(this._options)));
59
+ }
50
60
  get cuisines() {
51
61
  var _a;
52
62
  return ((_a = this._cuisines) !== null && _a !== void 0 ? _a : (this._cuisines = new CuisinesClient(this._options)));
@@ -2,6 +2,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../Ba
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
3
3
  import * as core from "../../../../../../core/index.mjs";
4
4
  import * as FiveOneEat from "../../../../../index.mjs";
5
+ import { CommentsClient } from "../resources/comments/client/Client.mjs";
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
  *
@@ -26,10 +26,15 @@ import * as environments from "../../../../../../environments.mjs";
26
26
  import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
27
27
  import * as errors from "../../../../../../errors/index.mjs";
28
28
  import * as FiveOneEat from "../../../../../index.mjs";
29
+ import { CommentsClient } from "../resources/comments/client/Client.mjs";
29
30
  export class BulletinsClient {
30
31
  constructor(options = {}) {
31
32
  this._options = normalizeClientOptionsWithAuth(options);
32
33
  }
34
+ get comments() {
35
+ var _a;
36
+ return ((_a = this._comments) !== null && _a !== void 0 ? _a : (this._comments = new CommentsClient(this._options)));
37
+ }
33
38
  /**
34
39
  * @param {BulletinsClient.RequestOptions} requestOptions - Request-specific configuration.
35
40
  *
@@ -1,2 +1,3 @@
1
1
  export { BulletinsClient } from "./client/Client.mjs";
2
2
  export * from "./client/index.mjs";
3
+ export * from "./resources/index.mjs";
@@ -1,3 +1,4 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  export { BulletinsClient } from "./client/Client.mjs";
3
3
  export * from "./client/index.mjs";
4
+ export * from "./resources/index.mjs";
@@ -1,2 +1,3 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
2
3
  export * from "./types/index.mjs";
@@ -1,2 +1,3 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
2
3
  export * from "./types/index.mjs";
@@ -0,0 +1,49 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient.mjs";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.mjs";
3
+ import * as core from "../../../../../../../../core/index.mjs";
4
+ import * as FiveOneEat from "../../../../../../../index.mjs";
5
+ export declare namespace 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
+ }