@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,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface ListRsvpsEventsResponse {
3
+ data: FiveOneEat.BusinessEventRsvp[];
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface SalesSummaryEventsResponse {
3
+ data: FiveOneEat.BusinessEventSalesSummary;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface TogglePublishedEventsResponse {
3
+ data: FiveOneEat.BusinessEvent;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface UpdateEventsResponse {
3
+ data: FiveOneEat.BusinessEvent;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface UploadImageEventsResponse {
3
+ data: FiveOneEat.BusinessEvent;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,11 @@
1
+ export * from "./CreateEventsResponse.mjs";
2
+ export * from "./DeleteEventsResponse.mjs";
3
+ export * from "./DeleteImageEventsResponse.mjs";
4
+ export * from "./GetEventsResponse.mjs";
5
+ export * from "./ListAttendeesEventsResponse.mjs";
6
+ export * from "./ListEventsResponse.mjs";
7
+ export * from "./ListRsvpsEventsResponse.mjs";
8
+ export * from "./SalesSummaryEventsResponse.mjs";
9
+ export * from "./TogglePublishedEventsResponse.mjs";
10
+ export * from "./UpdateEventsResponse.mjs";
11
+ export * from "./UploadImageEventsResponse.mjs";
@@ -0,0 +1,11 @@
1
+ export * from "./CreateEventsResponse.mjs";
2
+ export * from "./DeleteEventsResponse.mjs";
3
+ export * from "./DeleteImageEventsResponse.mjs";
4
+ export * from "./GetEventsResponse.mjs";
5
+ export * from "./ListAttendeesEventsResponse.mjs";
6
+ export * from "./ListEventsResponse.mjs";
7
+ export * from "./ListRsvpsEventsResponse.mjs";
8
+ export * from "./SalesSummaryEventsResponse.mjs";
9
+ export * from "./TogglePublishedEventsResponse.mjs";
10
+ export * from "./UpdateEventsResponse.mjs";
11
+ export * from "./UploadImageEventsResponse.mjs";
@@ -13,6 +13,9 @@ export * as certifications from "./certifications/index.mjs";
13
13
  export * from "./certifications/types/index.mjs";
14
14
  export * as cuisines from "./cuisines/index.mjs";
15
15
  export * from "./cuisines/types/index.mjs";
16
+ export * from "./events/client/requests/index.mjs";
17
+ export * as events from "./events/index.mjs";
18
+ export * from "./events/types/index.mjs";
16
19
  export * from "./gallery/client/requests/index.mjs";
17
20
  export * as gallery from "./gallery/index.mjs";
18
21
  export * from "./gallery/types/index.mjs";
@@ -27,3 +30,6 @@ export * from "./profile/types/index.mjs";
27
30
  export * from "./pushNotifications/client/requests/index.mjs";
28
31
  export * as pushNotifications from "./pushNotifications/index.mjs";
29
32
  export * from "./pushNotifications/types/index.mjs";
33
+ export * from "./stripeConnect/client/requests/index.mjs";
34
+ export * as stripeConnect from "./stripeConnect/index.mjs";
35
+ export * from "./stripeConnect/types/index.mjs";
@@ -13,6 +13,9 @@ export * as certifications from "./certifications/index.mjs";
13
13
  export * from "./certifications/types/index.mjs";
14
14
  export * as cuisines from "./cuisines/index.mjs";
15
15
  export * from "./cuisines/types/index.mjs";
16
+ export * from "./events/client/requests/index.mjs";
17
+ export * as events from "./events/index.mjs";
18
+ export * from "./events/types/index.mjs";
16
19
  export * from "./gallery/client/requests/index.mjs";
17
20
  export * as gallery from "./gallery/index.mjs";
18
21
  export * from "./gallery/types/index.mjs";
@@ -27,3 +30,6 @@ export * from "./profile/types/index.mjs";
27
30
  export * from "./pushNotifications/client/requests/index.mjs";
28
31
  export * as pushNotifications from "./pushNotifications/index.mjs";
29
32
  export * from "./pushNotifications/types/index.mjs";
33
+ export * from "./stripeConnect/client/requests/index.mjs";
34
+ export * as stripeConnect from "./stripeConnect/index.mjs";
35
+ export * from "./stripeConnect/types/index.mjs";
@@ -0,0 +1,84 @@
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 StripeConnectClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class StripeConnectClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<StripeConnectClient.Options>;
12
+ constructor(options?: StripeConnectClient.Options);
13
+ /**
14
+ * Returns the current Stripe Connect connection for the active business,
15
+ * creating a new Express account on Stripe if one does not yet exist.
16
+ * Also returns the publishable key and derived flags that the mobile
17
+ * client uses to decide whether to present onboarding or the management UI.
18
+ *
19
+ * @param {StripeConnectClient.RequestOptions} requestOptions - Request-specific configuration.
20
+ *
21
+ * @throws {@link FiveOneEat.UnauthorizedError}
22
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
23
+ *
24
+ * @example
25
+ * await client.business.stripeConnect.status()
26
+ */
27
+ status(requestOptions?: StripeConnectClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.StatusStripeConnectResponse>;
28
+ private __status;
29
+ /**
30
+ * Deletes the local StripeConnection record. The Stripe account itself is
31
+ * not deleted; it becomes orphaned from the business and can be reconnected
32
+ * later by calling the status endpoint.
33
+ *
34
+ * @param {StripeConnectClient.RequestOptions} requestOptions - Request-specific configuration.
35
+ *
36
+ * @throws {@link FiveOneEat.UnauthorizedError}
37
+ * @throws {@link FiveOneEat.NotFoundError}
38
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
39
+ *
40
+ * @example
41
+ * await client.business.stripeConnect.disconnect()
42
+ */
43
+ disconnect(requestOptions?: StripeConnectClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.DisconnectStripeConnectResponse>;
44
+ private __disconnect;
45
+ /**
46
+ * The request body specifies which embedded components to enable on the
47
+ * session. Use `account_onboarding` during onboarding and any of the
48
+ * management components (payments, payouts, balances, documents,
49
+ * account_management, notification_banner, tax_settings, tax_registrations)
50
+ * after the connected account has submitted their details.
51
+ *
52
+ * @param {FiveOneEat.business.CreateAccountSessionRequest} request
53
+ * @param {StripeConnectClient.RequestOptions} requestOptions - Request-specific configuration.
54
+ *
55
+ * @throws {@link FiveOneEat.UnauthorizedError}
56
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
57
+ *
58
+ * @example
59
+ * await client.business.stripeConnect.createAccountSession({
60
+ * components: [{
61
+ * enabled: true,
62
+ * features: ["features"]
63
+ * }]
64
+ * })
65
+ */
66
+ createAccountSession(request: FiveOneEat.business.CreateAccountSessionRequest, requestOptions?: StripeConnectClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.CreateAccountSessionStripeConnectResponse>;
67
+ private __createAccountSession;
68
+ /**
69
+ * Pulls the latest account data from Stripe and updates the local
70
+ * `stripe_connections` record. Provided as a belt-and-suspenders option
71
+ * alongside the `account.updated` webhook so mobile clients can guarantee
72
+ * freshness immediately after returning from an onboarding flow.
73
+ *
74
+ * @param {StripeConnectClient.RequestOptions} requestOptions - Request-specific configuration.
75
+ *
76
+ * @throws {@link FiveOneEat.UnauthorizedError}
77
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
78
+ *
79
+ * @example
80
+ * await client.business.stripeConnect.refresh()
81
+ */
82
+ refresh(requestOptions?: StripeConnectClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.RefreshStripeConnectResponse>;
83
+ private __refresh;
84
+ }
@@ -0,0 +1,258 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
12
+ import { mergeHeaders } from "../../../../../../core/headers.mjs";
13
+ import * as core from "../../../../../../core/index.mjs";
14
+ import * as environments from "../../../../../../environments.mjs";
15
+ import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
16
+ import * as errors from "../../../../../../errors/index.mjs";
17
+ import * as FiveOneEat from "../../../../../index.mjs";
18
+ export class StripeConnectClient {
19
+ constructor(options = {}) {
20
+ this._options = normalizeClientOptionsWithAuth(options);
21
+ }
22
+ /**
23
+ * Returns the current Stripe Connect connection for the active business,
24
+ * creating a new Express account on Stripe if one does not yet exist.
25
+ * Also returns the publishable key and derived flags that the mobile
26
+ * client uses to decide whether to present onboarding or the management UI.
27
+ *
28
+ * @param {StripeConnectClient.RequestOptions} requestOptions - Request-specific configuration.
29
+ *
30
+ * @throws {@link FiveOneEat.UnauthorizedError}
31
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
32
+ *
33
+ * @example
34
+ * await client.business.stripeConnect.status()
35
+ */
36
+ status(requestOptions) {
37
+ return core.HttpResponsePromise.fromPromise(this.__status(requestOptions));
38
+ }
39
+ __status(requestOptions) {
40
+ return __awaiter(this, void 0, void 0, function* () {
41
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
42
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
43
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
44
+ const _response = yield core.fetcher({
45
+ 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/stripe-connect"),
46
+ method: "GET",
47
+ headers: _headers,
48
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
49
+ 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,
50
+ 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,
51
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
52
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
53
+ logging: this._options.logging,
54
+ });
55
+ if (_response.ok) {
56
+ return {
57
+ data: _response.body,
58
+ rawResponse: _response.rawResponse,
59
+ };
60
+ }
61
+ if (_response.error.reason === "status-code") {
62
+ switch (_response.error.statusCode) {
63
+ case 401:
64
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
65
+ case 422:
66
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
67
+ default:
68
+ throw new errors.FiveOneEatError({
69
+ statusCode: _response.error.statusCode,
70
+ body: _response.error.body,
71
+ rawResponse: _response.rawResponse,
72
+ });
73
+ }
74
+ }
75
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/business/stripe-connect");
76
+ });
77
+ }
78
+ /**
79
+ * Deletes the local StripeConnection record. The Stripe account itself is
80
+ * not deleted; it becomes orphaned from the business and can be reconnected
81
+ * later by calling the status endpoint.
82
+ *
83
+ * @param {StripeConnectClient.RequestOptions} requestOptions - Request-specific configuration.
84
+ *
85
+ * @throws {@link FiveOneEat.UnauthorizedError}
86
+ * @throws {@link FiveOneEat.NotFoundError}
87
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
88
+ *
89
+ * @example
90
+ * await client.business.stripeConnect.disconnect()
91
+ */
92
+ disconnect(requestOptions) {
93
+ return core.HttpResponsePromise.fromPromise(this.__disconnect(requestOptions));
94
+ }
95
+ __disconnect(requestOptions) {
96
+ return __awaiter(this, void 0, void 0, function* () {
97
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
98
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
99
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
100
+ const _response = yield core.fetcher({
101
+ 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/stripe-connect"),
102
+ method: "DELETE",
103
+ headers: _headers,
104
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
105
+ 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,
106
+ 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,
107
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
108
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
109
+ logging: this._options.logging,
110
+ });
111
+ if (_response.ok) {
112
+ return {
113
+ data: _response.body,
114
+ rawResponse: _response.rawResponse,
115
+ };
116
+ }
117
+ if (_response.error.reason === "status-code") {
118
+ switch (_response.error.statusCode) {
119
+ case 401:
120
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
121
+ case 404:
122
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
123
+ case 422:
124
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
125
+ default:
126
+ throw new errors.FiveOneEatError({
127
+ statusCode: _response.error.statusCode,
128
+ body: _response.error.body,
129
+ rawResponse: _response.rawResponse,
130
+ });
131
+ }
132
+ }
133
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/business/stripe-connect");
134
+ });
135
+ }
136
+ /**
137
+ * The request body specifies which embedded components to enable on the
138
+ * session. Use `account_onboarding` during onboarding and any of the
139
+ * management components (payments, payouts, balances, documents,
140
+ * account_management, notification_banner, tax_settings, tax_registrations)
141
+ * after the connected account has submitted their details.
142
+ *
143
+ * @param {FiveOneEat.business.CreateAccountSessionRequest} request
144
+ * @param {StripeConnectClient.RequestOptions} requestOptions - Request-specific configuration.
145
+ *
146
+ * @throws {@link FiveOneEat.UnauthorizedError}
147
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
148
+ *
149
+ * @example
150
+ * await client.business.stripeConnect.createAccountSession({
151
+ * components: [{
152
+ * enabled: true,
153
+ * features: ["features"]
154
+ * }]
155
+ * })
156
+ */
157
+ createAccountSession(request, requestOptions) {
158
+ return core.HttpResponsePromise.fromPromise(this.__createAccountSession(request, requestOptions));
159
+ }
160
+ __createAccountSession(request, requestOptions) {
161
+ return __awaiter(this, void 0, void 0, function* () {
162
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
163
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
164
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
165
+ const _response = yield core.fetcher({
166
+ 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/stripe-connect/account-session"),
167
+ method: "POST",
168
+ headers: _headers,
169
+ contentType: "application/json",
170
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
171
+ requestType: "json",
172
+ body: request,
173
+ 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,
174
+ 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,
175
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
176
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
177
+ logging: this._options.logging,
178
+ });
179
+ if (_response.ok) {
180
+ return {
181
+ data: _response.body,
182
+ rawResponse: _response.rawResponse,
183
+ };
184
+ }
185
+ if (_response.error.reason === "status-code") {
186
+ switch (_response.error.statusCode) {
187
+ case 401:
188
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
189
+ case 422:
190
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
191
+ default:
192
+ throw new errors.FiveOneEatError({
193
+ statusCode: _response.error.statusCode,
194
+ body: _response.error.body,
195
+ rawResponse: _response.rawResponse,
196
+ });
197
+ }
198
+ }
199
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/business/stripe-connect/account-session");
200
+ });
201
+ }
202
+ /**
203
+ * Pulls the latest account data from Stripe and updates the local
204
+ * `stripe_connections` record. Provided as a belt-and-suspenders option
205
+ * alongside the `account.updated` webhook so mobile clients can guarantee
206
+ * freshness immediately after returning from an onboarding flow.
207
+ *
208
+ * @param {StripeConnectClient.RequestOptions} requestOptions - Request-specific configuration.
209
+ *
210
+ * @throws {@link FiveOneEat.UnauthorizedError}
211
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
212
+ *
213
+ * @example
214
+ * await client.business.stripeConnect.refresh()
215
+ */
216
+ refresh(requestOptions) {
217
+ return core.HttpResponsePromise.fromPromise(this.__refresh(requestOptions));
218
+ }
219
+ __refresh(requestOptions) {
220
+ return __awaiter(this, void 0, void 0, function* () {
221
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
222
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
223
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
224
+ const _response = yield core.fetcher({
225
+ 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/stripe-connect/refresh"),
226
+ method: "POST",
227
+ headers: _headers,
228
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
229
+ 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,
230
+ 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,
231
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
232
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
233
+ logging: this._options.logging,
234
+ });
235
+ if (_response.ok) {
236
+ return {
237
+ data: _response.body,
238
+ rawResponse: _response.rawResponse,
239
+ };
240
+ }
241
+ if (_response.error.reason === "status-code") {
242
+ switch (_response.error.statusCode) {
243
+ case 401:
244
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
245
+ case 422:
246
+ throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
247
+ default:
248
+ throw new errors.FiveOneEatError({
249
+ statusCode: _response.error.statusCode,
250
+ body: _response.error.body,
251
+ rawResponse: _response.rawResponse,
252
+ });
253
+ }
254
+ }
255
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/business/stripe-connect/refresh");
256
+ });
257
+ }
258
+ }
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * components: [{
5
+ * enabled: true,
6
+ * features: ["features"]
7
+ * }]
8
+ * }
9
+ */
10
+ export interface CreateAccountSessionRequest {
11
+ components: CreateAccountSessionRequest.Components.Item[];
12
+ }
13
+ export declare namespace CreateAccountSessionRequest {
14
+ type Components = Components.Item[];
15
+ namespace Components {
16
+ interface Item {
17
+ enabled: boolean;
18
+ features: string[];
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1 @@
1
+ export type { CreateAccountSessionRequest } from "./CreateAccountSessionRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { StripeConnectClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { StripeConnectClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,4 @@
1
+ export interface CreateAccountSessionStripeConnectResponse {
2
+ client_secret: string;
3
+ expires_at: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ export interface DisconnectStripeConnectResponse {
2
+ message: DisconnectStripeConnectResponse.Message;
3
+ }
4
+ export declare namespace DisconnectStripeConnectResponse {
5
+ const Message: {
6
+ readonly StripeAccountHasBeenDisconnected: "Stripe account has been disconnected.";
7
+ };
8
+ type Message = (typeof Message)[keyof typeof Message];
9
+ }
@@ -0,0 +1,7 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export var DisconnectStripeConnectResponse;
3
+ (function (DisconnectStripeConnectResponse) {
4
+ DisconnectStripeConnectResponse.Message = {
5
+ StripeAccountHasBeenDisconnected: "Stripe account has been disconnected.",
6
+ };
7
+ })(DisconnectStripeConnectResponse || (DisconnectStripeConnectResponse = {}));
@@ -0,0 +1,12 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface RefreshStripeConnectResponse {
3
+ data: FiveOneEat.BusinessStripeConnection;
4
+ meta: RefreshStripeConnectResponse.Meta;
5
+ }
6
+ export declare namespace RefreshStripeConnectResponse {
7
+ interface Meta {
8
+ publishable_key: string;
9
+ onboarding_required: boolean;
10
+ requires_action: string;
11
+ }
12
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,12 @@
1
+ import type * as FiveOneEat from "../../../../../index.mjs";
2
+ export interface StatusStripeConnectResponse {
3
+ data: FiveOneEat.BusinessStripeConnection;
4
+ meta: StatusStripeConnectResponse.Meta;
5
+ }
6
+ export declare namespace StatusStripeConnectResponse {
7
+ interface Meta {
8
+ publishable_key: string;
9
+ onboarding_required: boolean;
10
+ requires_action: string;
11
+ }
12
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from "./CreateAccountSessionStripeConnectResponse.mjs";
2
+ export * from "./DisconnectStripeConnectResponse.mjs";
3
+ export * from "./RefreshStripeConnectResponse.mjs";
4
+ export * from "./StatusStripeConnectResponse.mjs";
@@ -0,0 +1,4 @@
1
+ export * from "./CreateAccountSessionStripeConnectResponse.mjs";
2
+ export * from "./DisconnectStripeConnectResponse.mjs";
3
+ export * from "./RefreshStripeConnectResponse.mjs";
4
+ export * from "./StatusStripeConnectResponse.mjs";
@@ -31,7 +31,7 @@ export declare class CommentsClient {
31
31
  /**
32
32
  * Post a comment on a business bulletin. Requires authentication.
33
33
  *
34
- * @param {FiveOneEat.customer.businesses.bulletins.StoreBulletinCommentRequest} request
34
+ * @param {FiveOneEat.customer.businesses.bulletins.AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest} request
35
35
  * @param {CommentsClient.RequestOptions} requestOptions - Request-specific configuration.
36
36
  *
37
37
  * @throws {@link FiveOneEat.UnauthorizedError}
@@ -45,6 +45,6 @@ export declare class CommentsClient {
45
45
  * body: "body"
46
46
  * })
47
47
  */
48
- create(request: FiveOneEat.customer.businesses.bulletins.StoreBulletinCommentRequest, requestOptions?: CommentsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.businesses.bulletins.CreateCommentsResponse>;
48
+ create(request: FiveOneEat.customer.businesses.bulletins.AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest, requestOptions?: CommentsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.businesses.bulletins.CreateCommentsResponse>;
49
49
  private __create;
50
50
  }
@@ -103,7 +103,7 @@ export class CommentsClient {
103
103
  /**
104
104
  * Post a comment on a business bulletin. Requires authentication.
105
105
  *
106
- * @param {FiveOneEat.customer.businesses.bulletins.StoreBulletinCommentRequest} request
106
+ * @param {FiveOneEat.customer.businesses.bulletins.AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest} request
107
107
  * @param {CommentsClient.RequestOptions} requestOptions - Request-specific configuration.
108
108
  *
109
109
  * @throws {@link FiveOneEat.UnauthorizedError}
@@ -6,10 +6,11 @@
6
6
  * body: "body"
7
7
  * }
8
8
  */
9
- export interface StoreBulletinCommentRequest {
9
+ export interface AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest {
10
10
  /** The business handle */
11
11
  handle: string;
12
12
  /** The bulletin ID */
13
13
  bulletin: string;
14
14
  body: string;
15
+ parent_id?: string | null;
15
16
  }