@51eat/sdk 0.0.4 → 0.0.6

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 (989) hide show
  1. package/dist/cjs/BaseClient.d.ts +39 -0
  2. package/dist/cjs/BaseClient.js +62 -0
  3. package/dist/cjs/Client.d.ts +72 -0
  4. package/dist/cjs/Client.js +204 -0
  5. package/dist/cjs/api/client/index.d.ts +1 -0
  6. package/dist/cjs/api/client/index.js +17 -0
  7. package/dist/cjs/api/client/requests/SearchRequest.d.ts +30 -0
  8. package/dist/cjs/api/client/requests/SearchRequest.js +3 -0
  9. package/dist/cjs/api/client/requests/index.d.ts +1 -0
  10. package/dist/cjs/api/client/requests/index.js +2 -0
  11. package/dist/cjs/api/errors/ConflictError.d.ts +6 -0
  12. package/dist/cjs/api/errors/ConflictError.js +54 -0
  13. package/dist/cjs/api/errors/ForbiddenError.d.ts +5 -0
  14. package/dist/cjs/api/errors/ForbiddenError.js +54 -0
  15. package/dist/cjs/api/errors/NotFoundError.d.ts +5 -0
  16. package/dist/cjs/api/errors/NotFoundError.js +54 -0
  17. package/dist/cjs/api/errors/UnauthorizedError.d.ts +5 -0
  18. package/dist/cjs/api/errors/UnauthorizedError.js +54 -0
  19. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +5 -0
  20. package/dist/cjs/api/errors/UnprocessableEntityError.js +54 -0
  21. package/dist/cjs/api/errors/index.d.ts +5 -0
  22. package/dist/cjs/api/errors/index.js +21 -0
  23. package/dist/cjs/api/index.d.ts +4 -0
  24. package/dist/cjs/api/index.js +20 -0
  25. package/dist/cjs/api/resources/authentication/client/Client.d.ts +112 -0
  26. package/dist/cjs/api/resources/authentication/client/Client.js +408 -0
  27. package/dist/cjs/api/resources/authentication/client/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/authentication/client/index.js +17 -0
  29. package/dist/cjs/api/resources/authentication/client/requests/LoginCustomerRequest.d.ts +13 -0
  30. package/dist/cjs/api/resources/authentication/client/requests/LoginCustomerRequest.js +3 -0
  31. package/dist/cjs/api/resources/authentication/client/requests/RegisterCustomerRequest.d.ts +17 -0
  32. package/dist/cjs/api/resources/authentication/client/requests/RegisterCustomerRequest.js +3 -0
  33. package/dist/cjs/api/resources/authentication/client/requests/RevokeTokenRequest.d.ts +9 -0
  34. package/dist/cjs/api/resources/authentication/client/requests/RevokeTokenRequest.js +3 -0
  35. package/dist/cjs/api/resources/authentication/client/requests/index.d.ts +3 -0
  36. package/dist/cjs/api/resources/authentication/client/requests/index.js +2 -0
  37. package/dist/cjs/api/resources/authentication/exports.d.ts +2 -0
  38. package/dist/cjs/api/resources/authentication/exports.js +21 -0
  39. package/dist/cjs/api/resources/authentication/index.d.ts +2 -0
  40. package/dist/cjs/api/resources/authentication/index.js +18 -0
  41. package/dist/cjs/api/resources/authentication/types/GetCurrentUserResponse.d.ts +4 -0
  42. package/dist/cjs/api/resources/authentication/types/GetCurrentUserResponse.js +3 -0
  43. package/dist/cjs/api/resources/authentication/types/GetUserTokensResponse.d.ts +4 -0
  44. package/dist/cjs/api/resources/authentication/types/GetUserTokensResponse.js +3 -0
  45. package/dist/cjs/api/resources/authentication/types/LoginCustomerResponse.d.ts +4 -0
  46. package/dist/cjs/api/resources/authentication/types/LoginCustomerResponse.js +3 -0
  47. package/dist/cjs/api/resources/authentication/types/LogoutAllResponse.d.ts +9 -0
  48. package/dist/cjs/api/resources/authentication/types/LogoutAllResponse.js +10 -0
  49. package/dist/cjs/api/resources/authentication/types/LogoutCurrentResponse.d.ts +9 -0
  50. package/dist/cjs/api/resources/authentication/types/LogoutCurrentResponse.js +10 -0
  51. package/dist/cjs/api/resources/authentication/types/RegisterCustomerResponse.d.ts +4 -0
  52. package/dist/cjs/api/resources/authentication/types/RegisterCustomerResponse.js +3 -0
  53. package/dist/cjs/api/resources/authentication/types/RevokeTokenResponse.d.ts +9 -0
  54. package/dist/cjs/api/resources/authentication/types/RevokeTokenResponse.js +10 -0
  55. package/dist/cjs/api/resources/authentication/types/index.d.ts +7 -0
  56. package/dist/cjs/api/resources/authentication/types/index.js +23 -0
  57. package/dist/cjs/api/resources/broadcasting/client/Client.d.ts +31 -0
  58. package/dist/cjs/api/resources/broadcasting/client/Client.js +117 -0
  59. package/dist/cjs/api/resources/broadcasting/client/index.d.ts +1 -0
  60. package/dist/cjs/api/resources/broadcasting/client/index.js +17 -0
  61. package/dist/cjs/api/resources/broadcasting/client/requests/ChannelAuthAuthenticateRequest.d.ts +13 -0
  62. package/dist/cjs/api/resources/broadcasting/client/requests/ChannelAuthAuthenticateRequest.js +3 -0
  63. package/dist/cjs/api/resources/broadcasting/client/requests/index.d.ts +1 -0
  64. package/dist/cjs/api/resources/broadcasting/client/requests/index.js +2 -0
  65. package/dist/cjs/api/resources/broadcasting/exports.d.ts +2 -0
  66. package/dist/cjs/api/resources/broadcasting/exports.js +21 -0
  67. package/dist/cjs/api/resources/broadcasting/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/broadcasting/index.js +17 -0
  69. package/dist/cjs/api/resources/businessContent/client/Client.d.ts +166 -0
  70. package/dist/cjs/api/resources/businessContent/client/Client.js +629 -0
  71. package/dist/cjs/api/resources/businessContent/client/index.d.ts +1 -0
  72. package/dist/cjs/api/resources/businessContent/client/index.js +17 -0
  73. package/dist/cjs/api/resources/businessContent/client/requests/DestroyEventRsvpRequest.d.ts +13 -0
  74. package/dist/cjs/api/resources/businessContent/client/requests/DestroyEventRsvpRequest.js +3 -0
  75. package/dist/cjs/api/resources/businessContent/client/requests/GetBulletinCommentsRequest.d.ts +17 -0
  76. package/dist/cjs/api/resources/businessContent/client/requests/GetBulletinCommentsRequest.js +3 -0
  77. package/dist/cjs/api/resources/businessContent/client/requests/GetBusinessBulletinsRequest.d.ts +14 -0
  78. package/dist/cjs/api/resources/businessContent/client/requests/GetBusinessBulletinsRequest.js +3 -0
  79. package/dist/cjs/api/resources/businessContent/client/requests/GetBusinessEventRequest.d.ts +13 -0
  80. package/dist/cjs/api/resources/businessContent/client/requests/GetBusinessEventRequest.js +3 -0
  81. package/dist/cjs/api/resources/businessContent/client/requests/GetBusinessEventsRequest.d.ts +14 -0
  82. package/dist/cjs/api/resources/businessContent/client/requests/GetBusinessEventsRequest.js +3 -0
  83. package/dist/cjs/api/resources/businessContent/client/requests/GetBusinessMenusRequest.d.ts +14 -0
  84. package/dist/cjs/api/resources/businessContent/client/requests/GetBusinessMenusRequest.js +3 -0
  85. package/dist/cjs/api/resources/businessContent/client/requests/GetBusinessPhotosRequest.d.ts +14 -0
  86. package/dist/cjs/api/resources/businessContent/client/requests/GetBusinessPhotosRequest.js +3 -0
  87. package/dist/cjs/api/resources/businessContent/client/requests/StoreBulletinCommentRequest.d.ts +15 -0
  88. package/dist/cjs/api/resources/businessContent/client/requests/StoreBulletinCommentRequest.js +3 -0
  89. package/dist/cjs/api/resources/businessContent/client/requests/StoreEventRsvpRequest.d.ts +24 -0
  90. package/dist/cjs/api/resources/businessContent/client/requests/StoreEventRsvpRequest.js +12 -0
  91. package/dist/cjs/api/resources/businessContent/client/requests/index.d.ts +9 -0
  92. package/dist/cjs/api/resources/businessContent/client/requests/index.js +5 -0
  93. package/dist/cjs/api/resources/businessContent/exports.d.ts +2 -0
  94. package/dist/cjs/api/resources/businessContent/exports.js +21 -0
  95. package/dist/cjs/api/resources/businessContent/index.d.ts +2 -0
  96. package/dist/cjs/api/resources/businessContent/index.js +18 -0
  97. package/dist/cjs/api/resources/businessContent/types/CreateBulletinCommentResponse.d.ts +4 -0
  98. package/dist/cjs/api/resources/businessContent/types/CreateBulletinCommentResponse.js +3 -0
  99. package/dist/cjs/api/resources/businessContent/types/GetBulletinCommentsResponse.d.ts +4 -0
  100. package/dist/cjs/api/resources/businessContent/types/GetBulletinCommentsResponse.js +3 -0
  101. package/dist/cjs/api/resources/businessContent/types/GetBusinessBulletinsResponse.d.ts +4 -0
  102. package/dist/cjs/api/resources/businessContent/types/GetBusinessBulletinsResponse.js +3 -0
  103. package/dist/cjs/api/resources/businessContent/types/GetBusinessEventResponse.d.ts +4 -0
  104. package/dist/cjs/api/resources/businessContent/types/GetBusinessEventResponse.js +3 -0
  105. package/dist/cjs/api/resources/businessContent/types/GetBusinessEventsResponse.d.ts +4 -0
  106. package/dist/cjs/api/resources/businessContent/types/GetBusinessEventsResponse.js +3 -0
  107. package/dist/cjs/api/resources/businessContent/types/GetBusinessMenusResponse.d.ts +4 -0
  108. package/dist/cjs/api/resources/businessContent/types/GetBusinessMenusResponse.js +3 -0
  109. package/dist/cjs/api/resources/businessContent/types/GetBusinessPhotosResponse.d.ts +4 -0
  110. package/dist/cjs/api/resources/businessContent/types/GetBusinessPhotosResponse.js +3 -0
  111. package/dist/cjs/api/resources/businessContent/types/StoreEventRsvpResponse.d.ts +4 -0
  112. package/dist/cjs/api/resources/businessContent/types/StoreEventRsvpResponse.js +3 -0
  113. package/dist/cjs/api/resources/businessContent/types/index.d.ts +8 -0
  114. package/dist/cjs/api/resources/businessContent/types/index.js +24 -0
  115. package/dist/cjs/api/resources/businessProfiles/client/Client.d.ts +60 -0
  116. package/dist/cjs/api/resources/businessProfiles/client/Client.js +221 -0
  117. package/dist/cjs/api/resources/businessProfiles/client/index.d.ts +1 -0
  118. package/dist/cjs/api/resources/businessProfiles/client/index.js +17 -0
  119. package/dist/cjs/api/resources/businessProfiles/client/requests/FavoritesBusinessRequest.d.ts +10 -0
  120. package/dist/cjs/api/resources/businessProfiles/client/requests/FavoritesBusinessRequest.js +3 -0
  121. package/dist/cjs/api/resources/businessProfiles/client/requests/GetBusinessProfileRequest.d.ts +10 -0
  122. package/dist/cjs/api/resources/businessProfiles/client/requests/GetBusinessProfileRequest.js +3 -0
  123. package/dist/cjs/api/resources/businessProfiles/client/requests/UnfavoritesBusinessRequest.d.ts +10 -0
  124. package/dist/cjs/api/resources/businessProfiles/client/requests/UnfavoritesBusinessRequest.js +3 -0
  125. package/dist/cjs/api/resources/businessProfiles/client/requests/index.d.ts +3 -0
  126. package/dist/cjs/api/resources/businessProfiles/client/requests/index.js +2 -0
  127. package/dist/cjs/api/resources/businessProfiles/exports.d.ts +2 -0
  128. package/dist/cjs/api/resources/businessProfiles/exports.js +21 -0
  129. package/dist/cjs/api/resources/businessProfiles/index.d.ts +2 -0
  130. package/dist/cjs/api/resources/businessProfiles/index.js +18 -0
  131. package/dist/cjs/api/resources/businessProfiles/types/FavoritesBusinessResponse.d.ts +3 -0
  132. package/dist/cjs/api/resources/businessProfiles/types/FavoritesBusinessResponse.js +3 -0
  133. package/dist/cjs/api/resources/businessProfiles/types/GetBusinessProfileResponse.d.ts +4 -0
  134. package/dist/cjs/api/resources/businessProfiles/types/GetBusinessProfileResponse.js +3 -0
  135. package/dist/cjs/api/resources/businessProfiles/types/index.d.ts +2 -0
  136. package/dist/cjs/api/resources/businessProfiles/types/index.js +18 -0
  137. package/dist/cjs/api/resources/customerMessaging/client/Client.d.ts +149 -0
  138. package/dist/cjs/api/resources/customerMessaging/client/Client.js +541 -0
  139. package/dist/cjs/api/resources/customerMessaging/client/index.d.ts +1 -0
  140. package/dist/cjs/api/resources/customerMessaging/client/index.js +17 -0
  141. package/dist/cjs/api/resources/customerMessaging/client/requests/DeleteConversationRequest.d.ts +10 -0
  142. package/dist/cjs/api/resources/customerMessaging/client/requests/DeleteConversationRequest.js +3 -0
  143. package/dist/cjs/api/resources/customerMessaging/client/requests/GetConversationMessagesRequest.d.ts +14 -0
  144. package/dist/cjs/api/resources/customerMessaging/client/requests/GetConversationMessagesRequest.js +3 -0
  145. package/dist/cjs/api/resources/customerMessaging/client/requests/GetConversationRequest.d.ts +10 -0
  146. package/dist/cjs/api/resources/customerMessaging/client/requests/GetConversationRequest.js +3 -0
  147. package/dist/cjs/api/resources/customerMessaging/client/requests/GetCustomerConversationsRequest.d.ts +10 -0
  148. package/dist/cjs/api/resources/customerMessaging/client/requests/GetCustomerConversationsRequest.js +3 -0
  149. package/dist/cjs/api/resources/customerMessaging/client/requests/GetUnreadCountRequest.d.ts +10 -0
  150. package/dist/cjs/api/resources/customerMessaging/client/requests/GetUnreadCountRequest.js +3 -0
  151. package/dist/cjs/api/resources/customerMessaging/client/requests/MarkMessagesAsReadRequest.d.ts +10 -0
  152. package/dist/cjs/api/resources/customerMessaging/client/requests/MarkMessagesAsReadRequest.js +3 -0
  153. package/dist/cjs/api/resources/customerMessaging/client/requests/SendMessageRequest.d.ts +17 -0
  154. package/dist/cjs/api/resources/customerMessaging/client/requests/SendMessageRequest.js +3 -0
  155. package/dist/cjs/api/resources/customerMessaging/client/requests/StartConversationRequest.d.ts +10 -0
  156. package/dist/cjs/api/resources/customerMessaging/client/requests/StartConversationRequest.js +3 -0
  157. package/dist/cjs/api/resources/customerMessaging/client/requests/index.d.ts +8 -0
  158. package/dist/cjs/api/resources/customerMessaging/client/requests/index.js +2 -0
  159. package/dist/cjs/api/resources/customerMessaging/exports.d.ts +2 -0
  160. package/dist/cjs/api/resources/customerMessaging/exports.js +21 -0
  161. package/dist/cjs/api/resources/customerMessaging/index.d.ts +2 -0
  162. package/dist/cjs/api/resources/customerMessaging/index.js +18 -0
  163. package/dist/cjs/api/resources/customerMessaging/types/GetConversationMessagesResponse.d.ts +4 -0
  164. package/dist/cjs/api/resources/customerMessaging/types/GetConversationMessagesResponse.js +3 -0
  165. package/dist/cjs/api/resources/customerMessaging/types/GetConversationResponse.d.ts +4 -0
  166. package/dist/cjs/api/resources/customerMessaging/types/GetConversationResponse.js +3 -0
  167. package/dist/cjs/api/resources/customerMessaging/types/GetCustomerConversationsResponse.d.ts +4 -0
  168. package/dist/cjs/api/resources/customerMessaging/types/GetCustomerConversationsResponse.js +3 -0
  169. package/dist/cjs/api/resources/customerMessaging/types/SendMessageResponse.d.ts +4 -0
  170. package/dist/cjs/api/resources/customerMessaging/types/SendMessageResponse.js +3 -0
  171. package/dist/cjs/api/resources/customerMessaging/types/StartConversationResponse.d.ts +4 -0
  172. package/dist/cjs/api/resources/customerMessaging/types/StartConversationResponse.js +3 -0
  173. package/dist/cjs/api/resources/customerMessaging/types/index.d.ts +5 -0
  174. package/dist/cjs/api/resources/customerMessaging/types/index.js +21 -0
  175. package/dist/cjs/api/resources/discovery/client/Client.d.ts +79 -0
  176. package/dist/cjs/api/resources/discovery/client/Client.js +311 -0
  177. package/dist/cjs/api/resources/discovery/client/index.d.ts +1 -0
  178. package/dist/cjs/api/resources/discovery/client/index.js +17 -0
  179. package/dist/cjs/api/resources/discovery/client/requests/ExploreBusinessesRequest.d.ts +12 -0
  180. package/dist/cjs/api/resources/discovery/client/requests/ExploreBusinessesRequest.js +3 -0
  181. package/dist/cjs/api/resources/discovery/client/requests/GetCategoryBusinessesRequest.d.ts +17 -0
  182. package/dist/cjs/api/resources/discovery/client/requests/GetCategoryBusinessesRequest.js +3 -0
  183. package/dist/cjs/api/resources/discovery/client/requests/GetDiscoveryFeedRequest.d.ts +18 -0
  184. package/dist/cjs/api/resources/discovery/client/requests/GetDiscoveryFeedRequest.js +3 -0
  185. package/dist/cjs/api/resources/discovery/client/requests/index.d.ts +3 -0
  186. package/dist/cjs/api/resources/discovery/client/requests/index.js +2 -0
  187. package/dist/cjs/api/resources/discovery/exports.d.ts +2 -0
  188. package/dist/cjs/api/resources/discovery/exports.js +21 -0
  189. package/dist/cjs/api/resources/discovery/index.d.ts +2 -0
  190. package/dist/cjs/api/resources/discovery/index.js +18 -0
  191. package/dist/cjs/api/resources/discovery/types/ExploreBusinessesResponse.d.ts +4 -0
  192. package/dist/cjs/api/resources/discovery/types/ExploreBusinessesResponse.js +3 -0
  193. package/dist/cjs/api/resources/discovery/types/GetCategoryBusinessesResponse.d.ts +4 -0
  194. package/dist/cjs/api/resources/discovery/types/GetCategoryBusinessesResponse.js +3 -0
  195. package/dist/cjs/api/resources/discovery/types/GetDiscoveryCategoriesResponse.d.ts +4 -0
  196. package/dist/cjs/api/resources/discovery/types/GetDiscoveryCategoriesResponse.js +3 -0
  197. package/dist/cjs/api/resources/discovery/types/index.d.ts +3 -0
  198. package/dist/cjs/api/resources/discovery/types/index.js +19 -0
  199. package/dist/cjs/api/resources/events/client/Client.d.ts +32 -0
  200. package/dist/cjs/api/resources/events/client/Client.js +127 -0
  201. package/dist/cjs/api/resources/events/client/index.d.ts +1 -0
  202. package/dist/cjs/api/resources/events/client/index.js +17 -0
  203. package/dist/cjs/api/resources/events/client/requests/GetEventFeedRequest.d.ts +17 -0
  204. package/dist/cjs/api/resources/events/client/requests/GetEventFeedRequest.js +3 -0
  205. package/dist/cjs/api/resources/events/client/requests/index.d.ts +1 -0
  206. package/dist/cjs/api/resources/events/client/requests/index.js +2 -0
  207. package/dist/cjs/api/resources/events/exports.d.ts +2 -0
  208. package/dist/cjs/api/resources/events/exports.js +21 -0
  209. package/dist/cjs/api/resources/events/index.d.ts +2 -0
  210. package/dist/cjs/api/resources/events/index.js +18 -0
  211. package/dist/cjs/api/resources/events/types/GetEventFeedResponse.d.ts +4 -0
  212. package/dist/cjs/api/resources/events/types/GetEventFeedResponse.js +3 -0
  213. package/dist/cjs/api/resources/events/types/index.d.ts +1 -0
  214. package/dist/cjs/api/resources/events/types/index.js +17 -0
  215. package/dist/cjs/api/resources/index.d.ts +26 -0
  216. package/dist/cjs/api/resources/index.js +65 -0
  217. package/dist/cjs/api/resources/myAccount/client/Client.d.ts +101 -0
  218. package/dist/cjs/api/resources/myAccount/client/Client.js +408 -0
  219. package/dist/cjs/api/resources/myAccount/client/index.d.ts +1 -0
  220. package/dist/cjs/api/resources/myAccount/client/index.js +17 -0
  221. package/dist/cjs/api/resources/myAccount/client/requests/GetMyFavoritesRequest.d.ts +10 -0
  222. package/dist/cjs/api/resources/myAccount/client/requests/GetMyFavoritesRequest.js +3 -0
  223. package/dist/cjs/api/resources/myAccount/client/requests/GetMyRsvpsRequest.d.ts +14 -0
  224. package/dist/cjs/api/resources/myAccount/client/requests/GetMyRsvpsRequest.js +3 -0
  225. package/dist/cjs/api/resources/myAccount/client/requests/GetMyTicketOrderRequest.d.ts +9 -0
  226. package/dist/cjs/api/resources/myAccount/client/requests/GetMyTicketOrderRequest.js +3 -0
  227. package/dist/cjs/api/resources/myAccount/client/requests/GetMyTicketOrdersRequest.d.ts +10 -0
  228. package/dist/cjs/api/resources/myAccount/client/requests/GetMyTicketOrdersRequest.js +3 -0
  229. package/dist/cjs/api/resources/myAccount/client/requests/GetMyTicketRequest.d.ts +9 -0
  230. package/dist/cjs/api/resources/myAccount/client/requests/GetMyTicketRequest.js +3 -0
  231. package/dist/cjs/api/resources/myAccount/client/requests/GetMyTicketsRequest.d.ts +10 -0
  232. package/dist/cjs/api/resources/myAccount/client/requests/GetMyTicketsRequest.js +3 -0
  233. package/dist/cjs/api/resources/myAccount/client/requests/index.d.ts +6 -0
  234. package/dist/cjs/api/resources/myAccount/client/requests/index.js +2 -0
  235. package/dist/cjs/api/resources/myAccount/exports.d.ts +2 -0
  236. package/dist/cjs/api/resources/myAccount/exports.js +21 -0
  237. package/dist/cjs/api/resources/myAccount/index.d.ts +2 -0
  238. package/dist/cjs/api/resources/myAccount/index.js +18 -0
  239. package/dist/cjs/api/resources/myAccount/types/GetMyFavoritesResponse.d.ts +4 -0
  240. package/dist/cjs/api/resources/myAccount/types/GetMyFavoritesResponse.js +3 -0
  241. package/dist/cjs/api/resources/myAccount/types/GetMyRsvpsResponse.d.ts +4 -0
  242. package/dist/cjs/api/resources/myAccount/types/GetMyRsvpsResponse.js +3 -0
  243. package/dist/cjs/api/resources/myAccount/types/GetMyTicketOrderResponse.d.ts +4 -0
  244. package/dist/cjs/api/resources/myAccount/types/GetMyTicketOrderResponse.js +3 -0
  245. package/dist/cjs/api/resources/myAccount/types/GetMyTicketOrdersResponse.d.ts +4 -0
  246. package/dist/cjs/api/resources/myAccount/types/GetMyTicketOrdersResponse.js +3 -0
  247. package/dist/cjs/api/resources/myAccount/types/GetMyTicketResponse.d.ts +4 -0
  248. package/dist/cjs/api/resources/myAccount/types/GetMyTicketResponse.js +3 -0
  249. package/dist/cjs/api/resources/myAccount/types/GetMyTicketsResponse.d.ts +4 -0
  250. package/dist/cjs/api/resources/myAccount/types/GetMyTicketsResponse.js +3 -0
  251. package/dist/cjs/api/resources/myAccount/types/index.d.ts +6 -0
  252. package/dist/cjs/api/resources/myAccount/types/index.js +22 -0
  253. package/dist/cjs/api/resources/ticketing/client/Client.d.ts +110 -0
  254. package/dist/cjs/api/resources/ticketing/client/Client.js +384 -0
  255. package/dist/cjs/api/resources/ticketing/client/index.d.ts +1 -0
  256. package/dist/cjs/api/resources/ticketing/client/index.js +17 -0
  257. package/dist/cjs/api/resources/ticketing/client/requests/CalculatePriceRequest.d.ts +23 -0
  258. package/dist/cjs/api/resources/ticketing/client/requests/CalculatePriceRequest.js +3 -0
  259. package/dist/cjs/api/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.ts +11 -0
  260. package/dist/cjs/api/resources/ticketing/client/requests/CreatePaymentIntentRequest.js +3 -0
  261. package/dist/cjs/api/resources/ticketing/client/requests/ReleaseTicketHoldRequest.d.ts +11 -0
  262. package/dist/cjs/api/resources/ticketing/client/requests/ReleaseTicketHoldRequest.js +3 -0
  263. package/dist/cjs/api/resources/ticketing/client/requests/StoreTicketHoldRequest.d.ts +23 -0
  264. package/dist/cjs/api/resources/ticketing/client/requests/StoreTicketHoldRequest.js +3 -0
  265. package/dist/cjs/api/resources/ticketing/client/requests/StoreTicketOrderRequest.d.ts +13 -0
  266. package/dist/cjs/api/resources/ticketing/client/requests/StoreTicketOrderRequest.js +3 -0
  267. package/dist/cjs/api/resources/ticketing/client/requests/index.d.ts +5 -0
  268. package/dist/cjs/api/resources/ticketing/client/requests/index.js +2 -0
  269. package/dist/cjs/api/resources/ticketing/exports.d.ts +2 -0
  270. package/dist/cjs/api/resources/ticketing/exports.js +21 -0
  271. package/dist/cjs/api/resources/ticketing/index.d.ts +2 -0
  272. package/dist/cjs/api/resources/ticketing/index.js +18 -0
  273. package/dist/cjs/api/resources/ticketing/types/CalculateTicketPriceResponse.d.ts +11 -0
  274. package/dist/cjs/api/resources/ticketing/types/CalculateTicketPriceResponse.js +3 -0
  275. package/dist/cjs/api/resources/ticketing/types/ConfirmTicketOrderResponse.d.ts +4 -0
  276. package/dist/cjs/api/resources/ticketing/types/ConfirmTicketOrderResponse.js +3 -0
  277. package/dist/cjs/api/resources/ticketing/types/CreatePaymentIntentResponse.d.ts +13 -0
  278. package/dist/cjs/api/resources/ticketing/types/CreatePaymentIntentResponse.js +3 -0
  279. package/dist/cjs/api/resources/ticketing/types/HoldTicketsResponse.d.ts +11 -0
  280. package/dist/cjs/api/resources/ticketing/types/HoldTicketsResponse.js +3 -0
  281. package/dist/cjs/api/resources/ticketing/types/index.d.ts +4 -0
  282. package/dist/cjs/api/resources/ticketing/types/index.js +20 -0
  283. package/dist/cjs/api/types/Allergen.d.ts +10 -0
  284. package/dist/cjs/api/types/Allergen.js +3 -0
  285. package/dist/cjs/api/types/BulletinResource.d.ts +6 -0
  286. package/dist/cjs/api/types/BulletinResource.js +3 -0
  287. package/dist/cjs/api/types/BulletinResponseResource.d.ts +5 -0
  288. package/dist/cjs/api/types/BulletinResponseResource.js +3 -0
  289. package/dist/cjs/api/types/BusinessProfileResource.d.ts +67 -0
  290. package/dist/cjs/api/types/BusinessProfileResource.js +3 -0
  291. package/dist/cjs/api/types/BusinessResource.d.ts +10 -0
  292. package/dist/cjs/api/types/BusinessResource.js +3 -0
  293. package/dist/cjs/api/types/BusinessSearchResource.d.ts +12 -0
  294. package/dist/cjs/api/types/BusinessSearchResource.js +3 -0
  295. package/dist/cjs/api/types/CategoryResource.d.ts +5 -0
  296. package/dist/cjs/api/types/CategoryResource.js +3 -0
  297. package/dist/cjs/api/types/CommentResource.d.ts +12 -0
  298. package/dist/cjs/api/types/CommentResource.js +3 -0
  299. package/dist/cjs/api/types/CommentResponseResource.d.ts +5 -0
  300. package/dist/cjs/api/types/CommentResponseResource.js +3 -0
  301. package/dist/cjs/api/types/ConflictErrorBody.d.ts +9 -0
  302. package/dist/cjs/api/types/ConflictErrorBody.js +10 -0
  303. package/dist/cjs/api/types/ConversationResource.d.ts +21 -0
  304. package/dist/cjs/api/types/ConversationResource.js +3 -0
  305. package/dist/cjs/api/types/DiscoveryBusinessResource.d.ts +38 -0
  306. package/dist/cjs/api/types/DiscoveryBusinessResource.js +3 -0
  307. package/dist/cjs/api/types/DiscoveryCategoryResource.d.ts +6 -0
  308. package/dist/cjs/api/types/DiscoveryCategoryResource.js +3 -0
  309. package/dist/cjs/api/types/DiscoveryFeedResource.d.ts +13 -0
  310. package/dist/cjs/api/types/DiscoveryFeedResource.js +3 -0
  311. package/dist/cjs/api/types/DiscoveryResponseResource.d.ts +13 -0
  312. package/dist/cjs/api/types/DiscoveryResponseResource.js +3 -0
  313. package/dist/cjs/api/types/EventDetailResource.d.ts +17 -0
  314. package/dist/cjs/api/types/EventDetailResource.js +3 -0
  315. package/dist/cjs/api/types/EventFeedItemResource.d.ts +23 -0
  316. package/dist/cjs/api/types/EventFeedItemResource.js +3 -0
  317. package/dist/cjs/api/types/EventFeedResponseResource.d.ts +6 -0
  318. package/dist/cjs/api/types/EventFeedResponseResource.js +3 -0
  319. package/dist/cjs/api/types/EventResource.d.ts +15 -0
  320. package/dist/cjs/api/types/EventResource.js +3 -0
  321. package/dist/cjs/api/types/EventResponseResource.d.ts +5 -0
  322. package/dist/cjs/api/types/EventResponseResource.js +3 -0
  323. package/dist/cjs/api/types/EventRsvpResource.d.ts +7 -0
  324. package/dist/cjs/api/types/EventRsvpResource.js +3 -0
  325. package/dist/cjs/api/types/EventSearchResource.d.ts +17 -0
  326. package/dist/cjs/api/types/EventSearchResource.js +3 -0
  327. package/dist/cjs/api/types/EventTicketTypeResource.d.ts +10 -0
  328. package/dist/cjs/api/types/EventTicketTypeResource.js +3 -0
  329. package/dist/cjs/api/types/ExploreResponseResource.d.ts +13 -0
  330. package/dist/cjs/api/types/ExploreResponseResource.js +3 -0
  331. package/dist/cjs/api/types/FavoriteResponseResource.d.ts +5 -0
  332. package/dist/cjs/api/types/FavoriteResponseResource.js +3 -0
  333. package/dist/cjs/api/types/ForbiddenErrorBody.d.ts +4 -0
  334. package/dist/cjs/api/types/ForbiddenErrorBody.js +3 -0
  335. package/dist/cjs/api/types/Image.d.ts +16 -0
  336. package/dist/cjs/api/types/Image.js +3 -0
  337. package/dist/cjs/api/types/JsonResource.d.ts +1 -0
  338. package/dist/cjs/api/types/JsonResource.js +3 -0
  339. package/dist/cjs/api/types/LoginResponseResource.d.ts +5 -0
  340. package/dist/cjs/api/types/LoginResponseResource.js +3 -0
  341. package/dist/cjs/api/types/MenuGroupResource.d.ts +7 -0
  342. package/dist/cjs/api/types/MenuGroupResource.js +3 -0
  343. package/dist/cjs/api/types/MenuItemResource.d.ts +8 -0
  344. package/dist/cjs/api/types/MenuItemResource.js +3 -0
  345. package/dist/cjs/api/types/MenuItemSearchResource.d.ts +15 -0
  346. package/dist/cjs/api/types/MenuItemSearchResource.js +3 -0
  347. package/dist/cjs/api/types/MenuResource.d.ts +7 -0
  348. package/dist/cjs/api/types/MenuResource.js +3 -0
  349. package/dist/cjs/api/types/MenuResponseResource.d.ts +5 -0
  350. package/dist/cjs/api/types/MenuResponseResource.js +3 -0
  351. package/dist/cjs/api/types/MessageResource.d.ts +20 -0
  352. package/dist/cjs/api/types/MessageResource.js +3 -0
  353. package/dist/cjs/api/types/NotFoundErrorBody.d.ts +9 -0
  354. package/dist/cjs/api/types/NotFoundErrorBody.js +10 -0
  355. package/dist/cjs/api/types/PaginationResource.d.ts +6 -0
  356. package/dist/cjs/api/types/PaginationResource.js +3 -0
  357. package/dist/cjs/api/types/PhotoResource.d.ts +5 -0
  358. package/dist/cjs/api/types/PhotoResource.js +3 -0
  359. package/dist/cjs/api/types/PhotoResponseResource.d.ts +5 -0
  360. package/dist/cjs/api/types/PhotoResponseResource.js +3 -0
  361. package/dist/cjs/api/types/ProductSearchResource.d.ts +14 -0
  362. package/dist/cjs/api/types/ProductSearchResource.js +3 -0
  363. package/dist/cjs/api/types/RsvpEventResource.d.ts +12 -0
  364. package/dist/cjs/api/types/RsvpEventResource.js +3 -0
  365. package/dist/cjs/api/types/RsvpItemResource.d.ts +9 -0
  366. package/dist/cjs/api/types/RsvpItemResource.js +3 -0
  367. package/dist/cjs/api/types/RsvpResponseResource.d.ts +5 -0
  368. package/dist/cjs/api/types/RsvpResponseResource.js +3 -0
  369. package/dist/cjs/api/types/SearchResource.d.ts +8 -0
  370. package/dist/cjs/api/types/SearchResource.js +3 -0
  371. package/dist/cjs/api/types/SearchResponse.d.ts +4 -0
  372. package/dist/cjs/api/types/SearchResponse.js +3 -0
  373. package/dist/cjs/api/types/TemporaryLocationResource.d.ts +15 -0
  374. package/dist/cjs/api/types/TemporaryLocationResource.js +3 -0
  375. package/dist/cjs/api/types/TicketOrderResource.d.ts +13 -0
  376. package/dist/cjs/api/types/TicketOrderResource.js +3 -0
  377. package/dist/cjs/api/types/TicketOrderResponseResource.d.ts +5 -0
  378. package/dist/cjs/api/types/TicketOrderResponseResource.js +3 -0
  379. package/dist/cjs/api/types/TicketResource.d.ts +15 -0
  380. package/dist/cjs/api/types/TicketResource.js +3 -0
  381. package/dist/cjs/api/types/TicketResponseResource.d.ts +5 -0
  382. package/dist/cjs/api/types/TicketResponseResource.js +3 -0
  383. package/dist/cjs/api/types/TokenResource.d.ts +6 -0
  384. package/dist/cjs/api/types/TokenResource.js +3 -0
  385. package/dist/cjs/api/types/UnauthorizedErrorBody.d.ts +4 -0
  386. package/dist/cjs/api/types/UnauthorizedErrorBody.js +3 -0
  387. package/dist/cjs/api/types/UnprocessableEntityErrorBody.d.ts +6 -0
  388. package/dist/cjs/api/types/UnprocessableEntityErrorBody.js +3 -0
  389. package/dist/cjs/api/types/UserResource.d.ts +6 -0
  390. package/dist/cjs/api/types/UserResource.js +3 -0
  391. package/dist/cjs/api/types/index.d.ts +54 -0
  392. package/dist/cjs/api/types/index.js +70 -0
  393. package/dist/cjs/auth/BearerAuthProvider.d.ts +20 -0
  394. package/dist/cjs/auth/BearerAuthProvider.js +79 -0
  395. package/dist/cjs/auth/index.d.ts +1 -0
  396. package/dist/cjs/auth/index.js +5 -0
  397. package/dist/cjs/core/auth/AuthProvider.d.ts +7 -0
  398. package/dist/cjs/core/auth/AuthProvider.js +2 -0
  399. package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
  400. package/dist/cjs/core/auth/AuthRequest.js +2 -0
  401. package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
  402. package/dist/cjs/core/auth/BasicAuth.js +33 -0
  403. package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
  404. package/dist/cjs/core/auth/BearerToken.js +16 -0
  405. package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
  406. package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
  407. package/dist/cjs/core/auth/index.d.ts +5 -0
  408. package/dist/cjs/core/auth/index.js +9 -0
  409. package/dist/cjs/core/base64.d.ts +2 -0
  410. package/dist/cjs/core/base64.js +26 -0
  411. package/dist/cjs/core/exports.d.ts +1 -0
  412. package/dist/cjs/core/exports.js +17 -0
  413. package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
  414. package/dist/cjs/core/fetcher/APIResponse.js +2 -0
  415. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
  416. package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
  417. package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
  418. package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
  419. package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
  420. package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
  421. package/dist/cjs/core/fetcher/Fetcher.d.ts +51 -0
  422. package/dist/cjs/core/fetcher/Fetcher.js +332 -0
  423. package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
  424. package/dist/cjs/core/fetcher/Headers.js +84 -0
  425. package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
  426. package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
  427. package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
  428. package/dist/cjs/core/fetcher/RawResponse.js +44 -0
  429. package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
  430. package/dist/cjs/core/fetcher/Supplier.js +22 -0
  431. package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
  432. package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
  433. package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
  434. package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
  435. package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
  436. package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
  437. package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
  438. package/dist/cjs/core/fetcher/getHeader.js +11 -0
  439. package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
  440. package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
  441. package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
  442. package/dist/cjs/core/fetcher/getResponseBody.js +69 -0
  443. package/dist/cjs/core/fetcher/index.d.ts +13 -0
  444. package/dist/cjs/core/fetcher/index.js +19 -0
  445. package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
  446. package/dist/cjs/core/fetcher/makePassthroughRequest.js +135 -0
  447. package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -0
  448. package/dist/cjs/core/fetcher/makeRequest.js +61 -0
  449. package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
  450. package/dist/cjs/core/fetcher/requestWithRetries.js +67 -0
  451. package/dist/cjs/core/fetcher/signals.d.ts +5 -0
  452. package/dist/cjs/core/fetcher/signals.js +24 -0
  453. package/dist/cjs/core/headers.d.ts +2 -0
  454. package/dist/cjs/core/headers.js +31 -0
  455. package/dist/cjs/core/index.d.ts +6 -0
  456. package/dist/cjs/core/index.js +45 -0
  457. package/dist/cjs/core/json.d.ts +15 -0
  458. package/dist/cjs/core/json.js +24 -0
  459. package/dist/cjs/core/logging/exports.d.ts +18 -0
  460. package/dist/cjs/core/logging/exports.js +45 -0
  461. package/dist/cjs/core/logging/index.d.ts +1 -0
  462. package/dist/cjs/core/logging/index.js +17 -0
  463. package/dist/cjs/core/logging/logger.d.ts +126 -0
  464. package/dist/cjs/core/logging/logger.js +144 -0
  465. package/dist/cjs/core/runtime/index.d.ts +1 -0
  466. package/dist/cjs/core/runtime/index.js +5 -0
  467. package/dist/cjs/core/runtime/runtime.d.ts +9 -0
  468. package/dist/cjs/core/runtime/runtime.js +104 -0
  469. package/dist/cjs/core/url/QueryStringBuilder.d.ts +47 -0
  470. package/dist/cjs/core/url/QueryStringBuilder.js +83 -0
  471. package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
  472. package/dist/cjs/core/url/encodePathParam.js +21 -0
  473. package/dist/cjs/core/url/index.d.ts +4 -0
  474. package/dist/cjs/core/url/index.js +11 -0
  475. package/dist/cjs/core/url/join.d.ts +1 -0
  476. package/dist/cjs/core/url/join.js +68 -0
  477. package/dist/cjs/core/url/qs.d.ts +7 -0
  478. package/dist/cjs/core/url/qs.js +76 -0
  479. package/dist/cjs/environments.d.ts +6 -0
  480. package/dist/cjs/environments.js +9 -0
  481. package/dist/cjs/errors/FiveOneEatError.d.ts +14 -0
  482. package/dist/cjs/errors/FiveOneEatError.js +35 -0
  483. package/dist/cjs/errors/FiveOneEatTimeoutError.d.ts +6 -0
  484. package/dist/cjs/errors/FiveOneEatTimeoutError.js +18 -0
  485. package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
  486. package/dist/cjs/errors/handleNonStatusCodeError.js +68 -0
  487. package/dist/cjs/errors/index.d.ts +2 -0
  488. package/dist/cjs/errors/index.js +7 -0
  489. package/dist/cjs/exports.d.ts +1 -0
  490. package/dist/cjs/exports.js +17 -0
  491. package/dist/cjs/index.d.ts +6 -0
  492. package/dist/cjs/index.js +48 -0
  493. package/dist/cjs/version.d.ts +1 -0
  494. package/dist/cjs/version.js +4 -0
  495. package/dist/esm/BaseClient.d.mts +39 -0
  496. package/dist/esm/BaseClient.mjs +25 -0
  497. package/dist/esm/Client.d.mts +72 -0
  498. package/dist/esm/Client.mjs +167 -0
  499. package/dist/esm/api/client/index.d.mts +1 -0
  500. package/dist/esm/api/client/index.mjs +1 -0
  501. package/dist/esm/api/client/requests/SearchRequest.d.mts +30 -0
  502. package/dist/esm/api/client/requests/SearchRequest.mjs +2 -0
  503. package/dist/esm/api/client/requests/index.d.mts +1 -0
  504. package/dist/esm/api/client/requests/index.mjs +1 -0
  505. package/dist/esm/api/errors/ConflictError.d.mts +6 -0
  506. package/dist/esm/api/errors/ConflictError.mjs +17 -0
  507. package/dist/esm/api/errors/ForbiddenError.d.mts +5 -0
  508. package/dist/esm/api/errors/ForbiddenError.mjs +17 -0
  509. package/dist/esm/api/errors/NotFoundError.d.mts +5 -0
  510. package/dist/esm/api/errors/NotFoundError.mjs +17 -0
  511. package/dist/esm/api/errors/UnauthorizedError.d.mts +5 -0
  512. package/dist/esm/api/errors/UnauthorizedError.mjs +17 -0
  513. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +5 -0
  514. package/dist/esm/api/errors/UnprocessableEntityError.mjs +17 -0
  515. package/dist/esm/api/errors/index.d.mts +5 -0
  516. package/dist/esm/api/errors/index.mjs +5 -0
  517. package/dist/esm/api/index.d.mts +4 -0
  518. package/dist/esm/api/index.mjs +4 -0
  519. package/dist/esm/api/resources/authentication/client/Client.d.mts +112 -0
  520. package/dist/esm/api/resources/authentication/client/Client.mjs +371 -0
  521. package/dist/esm/api/resources/authentication/client/index.d.mts +1 -0
  522. package/dist/esm/api/resources/authentication/client/index.mjs +1 -0
  523. package/dist/esm/api/resources/authentication/client/requests/LoginCustomerRequest.d.mts +13 -0
  524. package/dist/esm/api/resources/authentication/client/requests/LoginCustomerRequest.mjs +2 -0
  525. package/dist/esm/api/resources/authentication/client/requests/RegisterCustomerRequest.d.mts +17 -0
  526. package/dist/esm/api/resources/authentication/client/requests/RegisterCustomerRequest.mjs +2 -0
  527. package/dist/esm/api/resources/authentication/client/requests/RevokeTokenRequest.d.mts +9 -0
  528. package/dist/esm/api/resources/authentication/client/requests/RevokeTokenRequest.mjs +2 -0
  529. package/dist/esm/api/resources/authentication/client/requests/index.d.mts +3 -0
  530. package/dist/esm/api/resources/authentication/client/requests/index.mjs +1 -0
  531. package/dist/esm/api/resources/authentication/exports.d.mts +2 -0
  532. package/dist/esm/api/resources/authentication/exports.mjs +3 -0
  533. package/dist/esm/api/resources/authentication/index.d.mts +2 -0
  534. package/dist/esm/api/resources/authentication/index.mjs +2 -0
  535. package/dist/esm/api/resources/authentication/types/GetCurrentUserResponse.d.mts +4 -0
  536. package/dist/esm/api/resources/authentication/types/GetCurrentUserResponse.mjs +2 -0
  537. package/dist/esm/api/resources/authentication/types/GetUserTokensResponse.d.mts +4 -0
  538. package/dist/esm/api/resources/authentication/types/GetUserTokensResponse.mjs +2 -0
  539. package/dist/esm/api/resources/authentication/types/LoginCustomerResponse.d.mts +4 -0
  540. package/dist/esm/api/resources/authentication/types/LoginCustomerResponse.mjs +2 -0
  541. package/dist/esm/api/resources/authentication/types/LogoutAllResponse.d.mts +9 -0
  542. package/dist/esm/api/resources/authentication/types/LogoutAllResponse.mjs +7 -0
  543. package/dist/esm/api/resources/authentication/types/LogoutCurrentResponse.d.mts +9 -0
  544. package/dist/esm/api/resources/authentication/types/LogoutCurrentResponse.mjs +7 -0
  545. package/dist/esm/api/resources/authentication/types/RegisterCustomerResponse.d.mts +4 -0
  546. package/dist/esm/api/resources/authentication/types/RegisterCustomerResponse.mjs +2 -0
  547. package/dist/esm/api/resources/authentication/types/RevokeTokenResponse.d.mts +9 -0
  548. package/dist/esm/api/resources/authentication/types/RevokeTokenResponse.mjs +7 -0
  549. package/dist/esm/api/resources/authentication/types/index.d.mts +7 -0
  550. package/dist/esm/api/resources/authentication/types/index.mjs +7 -0
  551. package/dist/esm/api/resources/broadcasting/client/Client.d.mts +31 -0
  552. package/dist/esm/api/resources/broadcasting/client/Client.mjs +80 -0
  553. package/dist/esm/api/resources/broadcasting/client/index.d.mts +1 -0
  554. package/dist/esm/api/resources/broadcasting/client/index.mjs +1 -0
  555. package/dist/esm/api/resources/broadcasting/client/requests/ChannelAuthAuthenticateRequest.d.mts +13 -0
  556. package/dist/esm/api/resources/broadcasting/client/requests/ChannelAuthAuthenticateRequest.mjs +2 -0
  557. package/dist/esm/api/resources/broadcasting/client/requests/index.d.mts +1 -0
  558. package/dist/esm/api/resources/broadcasting/client/requests/index.mjs +1 -0
  559. package/dist/esm/api/resources/broadcasting/exports.d.mts +2 -0
  560. package/dist/esm/api/resources/broadcasting/exports.mjs +3 -0
  561. package/dist/esm/api/resources/broadcasting/index.d.mts +1 -0
  562. package/dist/esm/api/resources/broadcasting/index.mjs +1 -0
  563. package/dist/esm/api/resources/businessContent/client/Client.d.mts +166 -0
  564. package/dist/esm/api/resources/businessContent/client/Client.mjs +592 -0
  565. package/dist/esm/api/resources/businessContent/client/index.d.mts +1 -0
  566. package/dist/esm/api/resources/businessContent/client/index.mjs +1 -0
  567. package/dist/esm/api/resources/businessContent/client/requests/DestroyEventRsvpRequest.d.mts +13 -0
  568. package/dist/esm/api/resources/businessContent/client/requests/DestroyEventRsvpRequest.mjs +2 -0
  569. package/dist/esm/api/resources/businessContent/client/requests/GetBulletinCommentsRequest.d.mts +17 -0
  570. package/dist/esm/api/resources/businessContent/client/requests/GetBulletinCommentsRequest.mjs +2 -0
  571. package/dist/esm/api/resources/businessContent/client/requests/GetBusinessBulletinsRequest.d.mts +14 -0
  572. package/dist/esm/api/resources/businessContent/client/requests/GetBusinessBulletinsRequest.mjs +2 -0
  573. package/dist/esm/api/resources/businessContent/client/requests/GetBusinessEventRequest.d.mts +13 -0
  574. package/dist/esm/api/resources/businessContent/client/requests/GetBusinessEventRequest.mjs +2 -0
  575. package/dist/esm/api/resources/businessContent/client/requests/GetBusinessEventsRequest.d.mts +14 -0
  576. package/dist/esm/api/resources/businessContent/client/requests/GetBusinessEventsRequest.mjs +2 -0
  577. package/dist/esm/api/resources/businessContent/client/requests/GetBusinessMenusRequest.d.mts +14 -0
  578. package/dist/esm/api/resources/businessContent/client/requests/GetBusinessMenusRequest.mjs +2 -0
  579. package/dist/esm/api/resources/businessContent/client/requests/GetBusinessPhotosRequest.d.mts +14 -0
  580. package/dist/esm/api/resources/businessContent/client/requests/GetBusinessPhotosRequest.mjs +2 -0
  581. package/dist/esm/api/resources/businessContent/client/requests/StoreBulletinCommentRequest.d.mts +15 -0
  582. package/dist/esm/api/resources/businessContent/client/requests/StoreBulletinCommentRequest.mjs +2 -0
  583. package/dist/esm/api/resources/businessContent/client/requests/StoreEventRsvpRequest.d.mts +24 -0
  584. package/dist/esm/api/resources/businessContent/client/requests/StoreEventRsvpRequest.mjs +9 -0
  585. package/dist/esm/api/resources/businessContent/client/requests/index.d.mts +9 -0
  586. package/dist/esm/api/resources/businessContent/client/requests/index.mjs +1 -0
  587. package/dist/esm/api/resources/businessContent/exports.d.mts +2 -0
  588. package/dist/esm/api/resources/businessContent/exports.mjs +3 -0
  589. package/dist/esm/api/resources/businessContent/index.d.mts +2 -0
  590. package/dist/esm/api/resources/businessContent/index.mjs +2 -0
  591. package/dist/esm/api/resources/businessContent/types/CreateBulletinCommentResponse.d.mts +4 -0
  592. package/dist/esm/api/resources/businessContent/types/CreateBulletinCommentResponse.mjs +2 -0
  593. package/dist/esm/api/resources/businessContent/types/GetBulletinCommentsResponse.d.mts +4 -0
  594. package/dist/esm/api/resources/businessContent/types/GetBulletinCommentsResponse.mjs +2 -0
  595. package/dist/esm/api/resources/businessContent/types/GetBusinessBulletinsResponse.d.mts +4 -0
  596. package/dist/esm/api/resources/businessContent/types/GetBusinessBulletinsResponse.mjs +2 -0
  597. package/dist/esm/api/resources/businessContent/types/GetBusinessEventResponse.d.mts +4 -0
  598. package/dist/esm/api/resources/businessContent/types/GetBusinessEventResponse.mjs +2 -0
  599. package/dist/esm/api/resources/businessContent/types/GetBusinessEventsResponse.d.mts +4 -0
  600. package/dist/esm/api/resources/businessContent/types/GetBusinessEventsResponse.mjs +2 -0
  601. package/dist/esm/api/resources/businessContent/types/GetBusinessMenusResponse.d.mts +4 -0
  602. package/dist/esm/api/resources/businessContent/types/GetBusinessMenusResponse.mjs +2 -0
  603. package/dist/esm/api/resources/businessContent/types/GetBusinessPhotosResponse.d.mts +4 -0
  604. package/dist/esm/api/resources/businessContent/types/GetBusinessPhotosResponse.mjs +2 -0
  605. package/dist/esm/api/resources/businessContent/types/StoreEventRsvpResponse.d.mts +4 -0
  606. package/dist/esm/api/resources/businessContent/types/StoreEventRsvpResponse.mjs +2 -0
  607. package/dist/esm/api/resources/businessContent/types/index.d.mts +8 -0
  608. package/dist/esm/api/resources/businessContent/types/index.mjs +8 -0
  609. package/dist/esm/api/resources/businessProfiles/client/Client.d.mts +60 -0
  610. package/dist/esm/api/resources/businessProfiles/client/Client.mjs +184 -0
  611. package/dist/esm/api/resources/businessProfiles/client/index.d.mts +1 -0
  612. package/dist/esm/api/resources/businessProfiles/client/index.mjs +1 -0
  613. package/dist/esm/api/resources/businessProfiles/client/requests/FavoritesBusinessRequest.d.mts +10 -0
  614. package/dist/esm/api/resources/businessProfiles/client/requests/FavoritesBusinessRequest.mjs +2 -0
  615. package/dist/esm/api/resources/businessProfiles/client/requests/GetBusinessProfileRequest.d.mts +10 -0
  616. package/dist/esm/api/resources/businessProfiles/client/requests/GetBusinessProfileRequest.mjs +2 -0
  617. package/dist/esm/api/resources/businessProfiles/client/requests/UnfavoritesBusinessRequest.d.mts +10 -0
  618. package/dist/esm/api/resources/businessProfiles/client/requests/UnfavoritesBusinessRequest.mjs +2 -0
  619. package/dist/esm/api/resources/businessProfiles/client/requests/index.d.mts +3 -0
  620. package/dist/esm/api/resources/businessProfiles/client/requests/index.mjs +1 -0
  621. package/dist/esm/api/resources/businessProfiles/exports.d.mts +2 -0
  622. package/dist/esm/api/resources/businessProfiles/exports.mjs +3 -0
  623. package/dist/esm/api/resources/businessProfiles/index.d.mts +2 -0
  624. package/dist/esm/api/resources/businessProfiles/index.mjs +2 -0
  625. package/dist/esm/api/resources/businessProfiles/types/FavoritesBusinessResponse.d.mts +3 -0
  626. package/dist/esm/api/resources/businessProfiles/types/FavoritesBusinessResponse.mjs +2 -0
  627. package/dist/esm/api/resources/businessProfiles/types/GetBusinessProfileResponse.d.mts +4 -0
  628. package/dist/esm/api/resources/businessProfiles/types/GetBusinessProfileResponse.mjs +2 -0
  629. package/dist/esm/api/resources/businessProfiles/types/index.d.mts +2 -0
  630. package/dist/esm/api/resources/businessProfiles/types/index.mjs +2 -0
  631. package/dist/esm/api/resources/customerMessaging/client/Client.d.mts +149 -0
  632. package/dist/esm/api/resources/customerMessaging/client/Client.mjs +504 -0
  633. package/dist/esm/api/resources/customerMessaging/client/index.d.mts +1 -0
  634. package/dist/esm/api/resources/customerMessaging/client/index.mjs +1 -0
  635. package/dist/esm/api/resources/customerMessaging/client/requests/DeleteConversationRequest.d.mts +10 -0
  636. package/dist/esm/api/resources/customerMessaging/client/requests/DeleteConversationRequest.mjs +2 -0
  637. package/dist/esm/api/resources/customerMessaging/client/requests/GetConversationMessagesRequest.d.mts +14 -0
  638. package/dist/esm/api/resources/customerMessaging/client/requests/GetConversationMessagesRequest.mjs +2 -0
  639. package/dist/esm/api/resources/customerMessaging/client/requests/GetConversationRequest.d.mts +10 -0
  640. package/dist/esm/api/resources/customerMessaging/client/requests/GetConversationRequest.mjs +2 -0
  641. package/dist/esm/api/resources/customerMessaging/client/requests/GetCustomerConversationsRequest.d.mts +10 -0
  642. package/dist/esm/api/resources/customerMessaging/client/requests/GetCustomerConversationsRequest.mjs +2 -0
  643. package/dist/esm/api/resources/customerMessaging/client/requests/GetUnreadCountRequest.d.mts +10 -0
  644. package/dist/esm/api/resources/customerMessaging/client/requests/GetUnreadCountRequest.mjs +2 -0
  645. package/dist/esm/api/resources/customerMessaging/client/requests/MarkMessagesAsReadRequest.d.mts +10 -0
  646. package/dist/esm/api/resources/customerMessaging/client/requests/MarkMessagesAsReadRequest.mjs +2 -0
  647. package/dist/esm/api/resources/customerMessaging/client/requests/SendMessageRequest.d.mts +17 -0
  648. package/dist/esm/api/resources/customerMessaging/client/requests/SendMessageRequest.mjs +2 -0
  649. package/dist/esm/api/resources/customerMessaging/client/requests/StartConversationRequest.d.mts +10 -0
  650. package/dist/esm/api/resources/customerMessaging/client/requests/StartConversationRequest.mjs +2 -0
  651. package/dist/esm/api/resources/customerMessaging/client/requests/index.d.mts +8 -0
  652. package/dist/esm/api/resources/customerMessaging/client/requests/index.mjs +1 -0
  653. package/dist/esm/api/resources/customerMessaging/exports.d.mts +2 -0
  654. package/dist/esm/api/resources/customerMessaging/exports.mjs +3 -0
  655. package/dist/esm/api/resources/customerMessaging/index.d.mts +2 -0
  656. package/dist/esm/api/resources/customerMessaging/index.mjs +2 -0
  657. package/dist/esm/api/resources/customerMessaging/types/GetConversationMessagesResponse.d.mts +4 -0
  658. package/dist/esm/api/resources/customerMessaging/types/GetConversationMessagesResponse.mjs +2 -0
  659. package/dist/esm/api/resources/customerMessaging/types/GetConversationResponse.d.mts +4 -0
  660. package/dist/esm/api/resources/customerMessaging/types/GetConversationResponse.mjs +2 -0
  661. package/dist/esm/api/resources/customerMessaging/types/GetCustomerConversationsResponse.d.mts +4 -0
  662. package/dist/esm/api/resources/customerMessaging/types/GetCustomerConversationsResponse.mjs +2 -0
  663. package/dist/esm/api/resources/customerMessaging/types/SendMessageResponse.d.mts +4 -0
  664. package/dist/esm/api/resources/customerMessaging/types/SendMessageResponse.mjs +2 -0
  665. package/dist/esm/api/resources/customerMessaging/types/StartConversationResponse.d.mts +4 -0
  666. package/dist/esm/api/resources/customerMessaging/types/StartConversationResponse.mjs +2 -0
  667. package/dist/esm/api/resources/customerMessaging/types/index.d.mts +5 -0
  668. package/dist/esm/api/resources/customerMessaging/types/index.mjs +5 -0
  669. package/dist/esm/api/resources/discovery/client/Client.d.mts +79 -0
  670. package/dist/esm/api/resources/discovery/client/Client.mjs +274 -0
  671. package/dist/esm/api/resources/discovery/client/index.d.mts +1 -0
  672. package/dist/esm/api/resources/discovery/client/index.mjs +1 -0
  673. package/dist/esm/api/resources/discovery/client/requests/ExploreBusinessesRequest.d.mts +12 -0
  674. package/dist/esm/api/resources/discovery/client/requests/ExploreBusinessesRequest.mjs +2 -0
  675. package/dist/esm/api/resources/discovery/client/requests/GetCategoryBusinessesRequest.d.mts +17 -0
  676. package/dist/esm/api/resources/discovery/client/requests/GetCategoryBusinessesRequest.mjs +2 -0
  677. package/dist/esm/api/resources/discovery/client/requests/GetDiscoveryFeedRequest.d.mts +18 -0
  678. package/dist/esm/api/resources/discovery/client/requests/GetDiscoveryFeedRequest.mjs +2 -0
  679. package/dist/esm/api/resources/discovery/client/requests/index.d.mts +3 -0
  680. package/dist/esm/api/resources/discovery/client/requests/index.mjs +1 -0
  681. package/dist/esm/api/resources/discovery/exports.d.mts +2 -0
  682. package/dist/esm/api/resources/discovery/exports.mjs +3 -0
  683. package/dist/esm/api/resources/discovery/index.d.mts +2 -0
  684. package/dist/esm/api/resources/discovery/index.mjs +2 -0
  685. package/dist/esm/api/resources/discovery/types/ExploreBusinessesResponse.d.mts +4 -0
  686. package/dist/esm/api/resources/discovery/types/ExploreBusinessesResponse.mjs +2 -0
  687. package/dist/esm/api/resources/discovery/types/GetCategoryBusinessesResponse.d.mts +4 -0
  688. package/dist/esm/api/resources/discovery/types/GetCategoryBusinessesResponse.mjs +2 -0
  689. package/dist/esm/api/resources/discovery/types/GetDiscoveryCategoriesResponse.d.mts +4 -0
  690. package/dist/esm/api/resources/discovery/types/GetDiscoveryCategoriesResponse.mjs +2 -0
  691. package/dist/esm/api/resources/discovery/types/index.d.mts +3 -0
  692. package/dist/esm/api/resources/discovery/types/index.mjs +3 -0
  693. package/dist/esm/api/resources/events/client/Client.d.mts +32 -0
  694. package/dist/esm/api/resources/events/client/Client.mjs +90 -0
  695. package/dist/esm/api/resources/events/client/index.d.mts +1 -0
  696. package/dist/esm/api/resources/events/client/index.mjs +1 -0
  697. package/dist/esm/api/resources/events/client/requests/GetEventFeedRequest.d.mts +17 -0
  698. package/dist/esm/api/resources/events/client/requests/GetEventFeedRequest.mjs +2 -0
  699. package/dist/esm/api/resources/events/client/requests/index.d.mts +1 -0
  700. package/dist/esm/api/resources/events/client/requests/index.mjs +1 -0
  701. package/dist/esm/api/resources/events/exports.d.mts +2 -0
  702. package/dist/esm/api/resources/events/exports.mjs +3 -0
  703. package/dist/esm/api/resources/events/index.d.mts +2 -0
  704. package/dist/esm/api/resources/events/index.mjs +2 -0
  705. package/dist/esm/api/resources/events/types/GetEventFeedResponse.d.mts +4 -0
  706. package/dist/esm/api/resources/events/types/GetEventFeedResponse.mjs +2 -0
  707. package/dist/esm/api/resources/events/types/index.d.mts +1 -0
  708. package/dist/esm/api/resources/events/types/index.mjs +1 -0
  709. package/dist/esm/api/resources/index.d.mts +26 -0
  710. package/dist/esm/api/resources/index.mjs +26 -0
  711. package/dist/esm/api/resources/myAccount/client/Client.d.mts +101 -0
  712. package/dist/esm/api/resources/myAccount/client/Client.mjs +371 -0
  713. package/dist/esm/api/resources/myAccount/client/index.d.mts +1 -0
  714. package/dist/esm/api/resources/myAccount/client/index.mjs +1 -0
  715. package/dist/esm/api/resources/myAccount/client/requests/GetMyFavoritesRequest.d.mts +10 -0
  716. package/dist/esm/api/resources/myAccount/client/requests/GetMyFavoritesRequest.mjs +2 -0
  717. package/dist/esm/api/resources/myAccount/client/requests/GetMyRsvpsRequest.d.mts +14 -0
  718. package/dist/esm/api/resources/myAccount/client/requests/GetMyRsvpsRequest.mjs +2 -0
  719. package/dist/esm/api/resources/myAccount/client/requests/GetMyTicketOrderRequest.d.mts +9 -0
  720. package/dist/esm/api/resources/myAccount/client/requests/GetMyTicketOrderRequest.mjs +2 -0
  721. package/dist/esm/api/resources/myAccount/client/requests/GetMyTicketOrdersRequest.d.mts +10 -0
  722. package/dist/esm/api/resources/myAccount/client/requests/GetMyTicketOrdersRequest.mjs +2 -0
  723. package/dist/esm/api/resources/myAccount/client/requests/GetMyTicketRequest.d.mts +9 -0
  724. package/dist/esm/api/resources/myAccount/client/requests/GetMyTicketRequest.mjs +2 -0
  725. package/dist/esm/api/resources/myAccount/client/requests/GetMyTicketsRequest.d.mts +10 -0
  726. package/dist/esm/api/resources/myAccount/client/requests/GetMyTicketsRequest.mjs +2 -0
  727. package/dist/esm/api/resources/myAccount/client/requests/index.d.mts +6 -0
  728. package/dist/esm/api/resources/myAccount/client/requests/index.mjs +1 -0
  729. package/dist/esm/api/resources/myAccount/exports.d.mts +2 -0
  730. package/dist/esm/api/resources/myAccount/exports.mjs +3 -0
  731. package/dist/esm/api/resources/myAccount/index.d.mts +2 -0
  732. package/dist/esm/api/resources/myAccount/index.mjs +2 -0
  733. package/dist/esm/api/resources/myAccount/types/GetMyFavoritesResponse.d.mts +4 -0
  734. package/dist/esm/api/resources/myAccount/types/GetMyFavoritesResponse.mjs +2 -0
  735. package/dist/esm/api/resources/myAccount/types/GetMyRsvpsResponse.d.mts +4 -0
  736. package/dist/esm/api/resources/myAccount/types/GetMyRsvpsResponse.mjs +2 -0
  737. package/dist/esm/api/resources/myAccount/types/GetMyTicketOrderResponse.d.mts +4 -0
  738. package/dist/esm/api/resources/myAccount/types/GetMyTicketOrderResponse.mjs +2 -0
  739. package/dist/esm/api/resources/myAccount/types/GetMyTicketOrdersResponse.d.mts +4 -0
  740. package/dist/esm/api/resources/myAccount/types/GetMyTicketOrdersResponse.mjs +2 -0
  741. package/dist/esm/api/resources/myAccount/types/GetMyTicketResponse.d.mts +4 -0
  742. package/dist/esm/api/resources/myAccount/types/GetMyTicketResponse.mjs +2 -0
  743. package/dist/esm/api/resources/myAccount/types/GetMyTicketsResponse.d.mts +4 -0
  744. package/dist/esm/api/resources/myAccount/types/GetMyTicketsResponse.mjs +2 -0
  745. package/dist/esm/api/resources/myAccount/types/index.d.mts +6 -0
  746. package/dist/esm/api/resources/myAccount/types/index.mjs +6 -0
  747. package/dist/esm/api/resources/ticketing/client/Client.d.mts +110 -0
  748. package/dist/esm/api/resources/ticketing/client/Client.mjs +347 -0
  749. package/dist/esm/api/resources/ticketing/client/index.d.mts +1 -0
  750. package/dist/esm/api/resources/ticketing/client/index.mjs +1 -0
  751. package/dist/esm/api/resources/ticketing/client/requests/CalculatePriceRequest.d.mts +23 -0
  752. package/dist/esm/api/resources/ticketing/client/requests/CalculatePriceRequest.mjs +2 -0
  753. package/dist/esm/api/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.mts +11 -0
  754. package/dist/esm/api/resources/ticketing/client/requests/CreatePaymentIntentRequest.mjs +2 -0
  755. package/dist/esm/api/resources/ticketing/client/requests/ReleaseTicketHoldRequest.d.mts +11 -0
  756. package/dist/esm/api/resources/ticketing/client/requests/ReleaseTicketHoldRequest.mjs +2 -0
  757. package/dist/esm/api/resources/ticketing/client/requests/StoreTicketHoldRequest.d.mts +23 -0
  758. package/dist/esm/api/resources/ticketing/client/requests/StoreTicketHoldRequest.mjs +2 -0
  759. package/dist/esm/api/resources/ticketing/client/requests/StoreTicketOrderRequest.d.mts +13 -0
  760. package/dist/esm/api/resources/ticketing/client/requests/StoreTicketOrderRequest.mjs +2 -0
  761. package/dist/esm/api/resources/ticketing/client/requests/index.d.mts +5 -0
  762. package/dist/esm/api/resources/ticketing/client/requests/index.mjs +1 -0
  763. package/dist/esm/api/resources/ticketing/exports.d.mts +2 -0
  764. package/dist/esm/api/resources/ticketing/exports.mjs +3 -0
  765. package/dist/esm/api/resources/ticketing/index.d.mts +2 -0
  766. package/dist/esm/api/resources/ticketing/index.mjs +2 -0
  767. package/dist/esm/api/resources/ticketing/types/CalculateTicketPriceResponse.d.mts +11 -0
  768. package/dist/esm/api/resources/ticketing/types/CalculateTicketPriceResponse.mjs +2 -0
  769. package/dist/esm/api/resources/ticketing/types/ConfirmTicketOrderResponse.d.mts +4 -0
  770. package/dist/esm/api/resources/ticketing/types/ConfirmTicketOrderResponse.mjs +2 -0
  771. package/dist/esm/api/resources/ticketing/types/CreatePaymentIntentResponse.d.mts +13 -0
  772. package/dist/esm/api/resources/ticketing/types/CreatePaymentIntentResponse.mjs +2 -0
  773. package/dist/esm/api/resources/ticketing/types/HoldTicketsResponse.d.mts +11 -0
  774. package/dist/esm/api/resources/ticketing/types/HoldTicketsResponse.mjs +2 -0
  775. package/dist/esm/api/resources/ticketing/types/index.d.mts +4 -0
  776. package/dist/esm/api/resources/ticketing/types/index.mjs +4 -0
  777. package/dist/esm/api/types/Allergen.d.mts +10 -0
  778. package/dist/esm/api/types/Allergen.mjs +2 -0
  779. package/dist/esm/api/types/BulletinResource.d.mts +6 -0
  780. package/dist/esm/api/types/BulletinResource.mjs +2 -0
  781. package/dist/esm/api/types/BulletinResponseResource.d.mts +5 -0
  782. package/dist/esm/api/types/BulletinResponseResource.mjs +2 -0
  783. package/dist/esm/api/types/BusinessProfileResource.d.mts +67 -0
  784. package/dist/esm/api/types/BusinessProfileResource.mjs +2 -0
  785. package/dist/esm/api/types/BusinessResource.d.mts +10 -0
  786. package/dist/esm/api/types/BusinessResource.mjs +2 -0
  787. package/dist/esm/api/types/BusinessSearchResource.d.mts +12 -0
  788. package/dist/esm/api/types/BusinessSearchResource.mjs +2 -0
  789. package/dist/esm/api/types/CategoryResource.d.mts +5 -0
  790. package/dist/esm/api/types/CategoryResource.mjs +2 -0
  791. package/dist/esm/api/types/CommentResource.d.mts +12 -0
  792. package/dist/esm/api/types/CommentResource.mjs +2 -0
  793. package/dist/esm/api/types/CommentResponseResource.d.mts +5 -0
  794. package/dist/esm/api/types/CommentResponseResource.mjs +2 -0
  795. package/dist/esm/api/types/ConflictErrorBody.d.mts +9 -0
  796. package/dist/esm/api/types/ConflictErrorBody.mjs +7 -0
  797. package/dist/esm/api/types/ConversationResource.d.mts +21 -0
  798. package/dist/esm/api/types/ConversationResource.mjs +2 -0
  799. package/dist/esm/api/types/DiscoveryBusinessResource.d.mts +38 -0
  800. package/dist/esm/api/types/DiscoveryBusinessResource.mjs +2 -0
  801. package/dist/esm/api/types/DiscoveryCategoryResource.d.mts +6 -0
  802. package/dist/esm/api/types/DiscoveryCategoryResource.mjs +2 -0
  803. package/dist/esm/api/types/DiscoveryFeedResource.d.mts +13 -0
  804. package/dist/esm/api/types/DiscoveryFeedResource.mjs +2 -0
  805. package/dist/esm/api/types/DiscoveryResponseResource.d.mts +13 -0
  806. package/dist/esm/api/types/DiscoveryResponseResource.mjs +2 -0
  807. package/dist/esm/api/types/EventDetailResource.d.mts +17 -0
  808. package/dist/esm/api/types/EventDetailResource.mjs +2 -0
  809. package/dist/esm/api/types/EventFeedItemResource.d.mts +23 -0
  810. package/dist/esm/api/types/EventFeedItemResource.mjs +2 -0
  811. package/dist/esm/api/types/EventFeedResponseResource.d.mts +6 -0
  812. package/dist/esm/api/types/EventFeedResponseResource.mjs +2 -0
  813. package/dist/esm/api/types/EventResource.d.mts +15 -0
  814. package/dist/esm/api/types/EventResource.mjs +2 -0
  815. package/dist/esm/api/types/EventResponseResource.d.mts +5 -0
  816. package/dist/esm/api/types/EventResponseResource.mjs +2 -0
  817. package/dist/esm/api/types/EventRsvpResource.d.mts +7 -0
  818. package/dist/esm/api/types/EventRsvpResource.mjs +2 -0
  819. package/dist/esm/api/types/EventSearchResource.d.mts +17 -0
  820. package/dist/esm/api/types/EventSearchResource.mjs +2 -0
  821. package/dist/esm/api/types/EventTicketTypeResource.d.mts +10 -0
  822. package/dist/esm/api/types/EventTicketTypeResource.mjs +2 -0
  823. package/dist/esm/api/types/ExploreResponseResource.d.mts +13 -0
  824. package/dist/esm/api/types/ExploreResponseResource.mjs +2 -0
  825. package/dist/esm/api/types/FavoriteResponseResource.d.mts +5 -0
  826. package/dist/esm/api/types/FavoriteResponseResource.mjs +2 -0
  827. package/dist/esm/api/types/ForbiddenErrorBody.d.mts +4 -0
  828. package/dist/esm/api/types/ForbiddenErrorBody.mjs +2 -0
  829. package/dist/esm/api/types/Image.d.mts +16 -0
  830. package/dist/esm/api/types/Image.mjs +2 -0
  831. package/dist/esm/api/types/JsonResource.d.mts +1 -0
  832. package/dist/esm/api/types/JsonResource.mjs +2 -0
  833. package/dist/esm/api/types/LoginResponseResource.d.mts +5 -0
  834. package/dist/esm/api/types/LoginResponseResource.mjs +2 -0
  835. package/dist/esm/api/types/MenuGroupResource.d.mts +7 -0
  836. package/dist/esm/api/types/MenuGroupResource.mjs +2 -0
  837. package/dist/esm/api/types/MenuItemResource.d.mts +8 -0
  838. package/dist/esm/api/types/MenuItemResource.mjs +2 -0
  839. package/dist/esm/api/types/MenuItemSearchResource.d.mts +15 -0
  840. package/dist/esm/api/types/MenuItemSearchResource.mjs +2 -0
  841. package/dist/esm/api/types/MenuResource.d.mts +7 -0
  842. package/dist/esm/api/types/MenuResource.mjs +2 -0
  843. package/dist/esm/api/types/MenuResponseResource.d.mts +5 -0
  844. package/dist/esm/api/types/MenuResponseResource.mjs +2 -0
  845. package/dist/esm/api/types/MessageResource.d.mts +20 -0
  846. package/dist/esm/api/types/MessageResource.mjs +2 -0
  847. package/dist/esm/api/types/NotFoundErrorBody.d.mts +9 -0
  848. package/dist/esm/api/types/NotFoundErrorBody.mjs +7 -0
  849. package/dist/esm/api/types/PaginationResource.d.mts +6 -0
  850. package/dist/esm/api/types/PaginationResource.mjs +2 -0
  851. package/dist/esm/api/types/PhotoResource.d.mts +5 -0
  852. package/dist/esm/api/types/PhotoResource.mjs +2 -0
  853. package/dist/esm/api/types/PhotoResponseResource.d.mts +5 -0
  854. package/dist/esm/api/types/PhotoResponseResource.mjs +2 -0
  855. package/dist/esm/api/types/ProductSearchResource.d.mts +14 -0
  856. package/dist/esm/api/types/ProductSearchResource.mjs +2 -0
  857. package/dist/esm/api/types/RsvpEventResource.d.mts +12 -0
  858. package/dist/esm/api/types/RsvpEventResource.mjs +2 -0
  859. package/dist/esm/api/types/RsvpItemResource.d.mts +9 -0
  860. package/dist/esm/api/types/RsvpItemResource.mjs +2 -0
  861. package/dist/esm/api/types/RsvpResponseResource.d.mts +5 -0
  862. package/dist/esm/api/types/RsvpResponseResource.mjs +2 -0
  863. package/dist/esm/api/types/SearchResource.d.mts +8 -0
  864. package/dist/esm/api/types/SearchResource.mjs +2 -0
  865. package/dist/esm/api/types/SearchResponse.d.mts +4 -0
  866. package/dist/esm/api/types/SearchResponse.mjs +2 -0
  867. package/dist/esm/api/types/TemporaryLocationResource.d.mts +15 -0
  868. package/dist/esm/api/types/TemporaryLocationResource.mjs +2 -0
  869. package/dist/esm/api/types/TicketOrderResource.d.mts +13 -0
  870. package/dist/esm/api/types/TicketOrderResource.mjs +2 -0
  871. package/dist/esm/api/types/TicketOrderResponseResource.d.mts +5 -0
  872. package/dist/esm/api/types/TicketOrderResponseResource.mjs +2 -0
  873. package/dist/esm/api/types/TicketResource.d.mts +15 -0
  874. package/dist/esm/api/types/TicketResource.mjs +2 -0
  875. package/dist/esm/api/types/TicketResponseResource.d.mts +5 -0
  876. package/dist/esm/api/types/TicketResponseResource.mjs +2 -0
  877. package/dist/esm/api/types/TokenResource.d.mts +6 -0
  878. package/dist/esm/api/types/TokenResource.mjs +2 -0
  879. package/dist/esm/api/types/UnauthorizedErrorBody.d.mts +4 -0
  880. package/dist/esm/api/types/UnauthorizedErrorBody.mjs +2 -0
  881. package/dist/esm/api/types/UnprocessableEntityErrorBody.d.mts +6 -0
  882. package/dist/esm/api/types/UnprocessableEntityErrorBody.mjs +2 -0
  883. package/dist/esm/api/types/UserResource.d.mts +6 -0
  884. package/dist/esm/api/types/UserResource.mjs +2 -0
  885. package/dist/esm/api/types/index.d.mts +54 -0
  886. package/dist/esm/api/types/index.mjs +54 -0
  887. package/dist/esm/auth/BearerAuthProvider.d.mts +20 -0
  888. package/dist/esm/auth/BearerAuthProvider.mjs +42 -0
  889. package/dist/esm/auth/index.d.mts +1 -0
  890. package/dist/esm/auth/index.mjs +1 -0
  891. package/dist/esm/core/auth/AuthProvider.d.mts +7 -0
  892. package/dist/esm/core/auth/AuthProvider.mjs +1 -0
  893. package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
  894. package/dist/esm/core/auth/AuthRequest.mjs +1 -0
  895. package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
  896. package/dist/esm/core/auth/BasicAuth.mjs +30 -0
  897. package/dist/esm/core/auth/BearerToken.d.mts +7 -0
  898. package/dist/esm/core/auth/BearerToken.mjs +13 -0
  899. package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
  900. package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
  901. package/dist/esm/core/auth/index.d.mts +5 -0
  902. package/dist/esm/core/auth/index.mjs +3 -0
  903. package/dist/esm/core/base64.d.mts +2 -0
  904. package/dist/esm/core/base64.mjs +22 -0
  905. package/dist/esm/core/exports.d.mts +1 -0
  906. package/dist/esm/core/exports.mjs +1 -0
  907. package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
  908. package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
  909. package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
  910. package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
  911. package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
  912. package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
  913. package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
  914. package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
  915. package/dist/esm/core/fetcher/Fetcher.d.mts +51 -0
  916. package/dist/esm/core/fetcher/Fetcher.mjs +328 -0
  917. package/dist/esm/core/fetcher/Headers.d.mts +2 -0
  918. package/dist/esm/core/fetcher/Headers.mjs +82 -0
  919. package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
  920. package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
  921. package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
  922. package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
  923. package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
  924. package/dist/esm/core/fetcher/Supplier.mjs +19 -0
  925. package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
  926. package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
  927. package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
  928. package/dist/esm/core/fetcher/getErrorResponseBody.mjs +42 -0
  929. package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
  930. package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
  931. package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
  932. package/dist/esm/core/fetcher/getHeader.mjs +8 -0
  933. package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
  934. package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
  935. package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
  936. package/dist/esm/core/fetcher/getResponseBody.mjs +66 -0
  937. package/dist/esm/core/fetcher/index.d.mts +13 -0
  938. package/dist/esm/core/fetcher/index.mjs +7 -0
  939. package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
  940. package/dist/esm/core/fetcher/makePassthroughRequest.mjs +132 -0
  941. package/dist/esm/core/fetcher/makeRequest.d.mts +6 -0
  942. package/dist/esm/core/fetcher/makeRequest.mjs +55 -0
  943. package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
  944. package/dist/esm/core/fetcher/requestWithRetries.mjs +64 -0
  945. package/dist/esm/core/fetcher/signals.d.mts +5 -0
  946. package/dist/esm/core/fetcher/signals.mjs +20 -0
  947. package/dist/esm/core/headers.d.mts +2 -0
  948. package/dist/esm/core/headers.mjs +27 -0
  949. package/dist/esm/core/index.d.mts +6 -0
  950. package/dist/esm/core/index.mjs +6 -0
  951. package/dist/esm/core/json.d.mts +15 -0
  952. package/dist/esm/core/json.mjs +19 -0
  953. package/dist/esm/core/logging/exports.d.mts +18 -0
  954. package/dist/esm/core/logging/exports.mjs +9 -0
  955. package/dist/esm/core/logging/index.d.mts +1 -0
  956. package/dist/esm/core/logging/index.mjs +1 -0
  957. package/dist/esm/core/logging/logger.d.mts +126 -0
  958. package/dist/esm/core/logging/logger.mjs +138 -0
  959. package/dist/esm/core/runtime/index.d.mts +1 -0
  960. package/dist/esm/core/runtime/index.mjs +1 -0
  961. package/dist/esm/core/runtime/runtime.d.mts +9 -0
  962. package/dist/esm/core/runtime/runtime.mjs +101 -0
  963. package/dist/esm/core/url/QueryStringBuilder.d.mts +47 -0
  964. package/dist/esm/core/url/QueryStringBuilder.mjs +80 -0
  965. package/dist/esm/core/url/encodePathParam.d.mts +1 -0
  966. package/dist/esm/core/url/encodePathParam.mjs +18 -0
  967. package/dist/esm/core/url/index.d.mts +4 -0
  968. package/dist/esm/core/url/index.mjs +4 -0
  969. package/dist/esm/core/url/join.d.mts +1 -0
  970. package/dist/esm/core/url/join.mjs +65 -0
  971. package/dist/esm/core/url/qs.d.mts +7 -0
  972. package/dist/esm/core/url/qs.mjs +73 -0
  973. package/dist/esm/environments.d.mts +6 -0
  974. package/dist/esm/environments.mjs +6 -0
  975. package/dist/esm/errors/FiveOneEatError.d.mts +14 -0
  976. package/dist/esm/errors/FiveOneEatError.mjs +31 -0
  977. package/dist/esm/errors/FiveOneEatTimeoutError.d.mts +6 -0
  978. package/dist/esm/errors/FiveOneEatTimeoutError.mjs +14 -0
  979. package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
  980. package/dist/esm/errors/handleNonStatusCodeError.mjs +32 -0
  981. package/dist/esm/errors/index.d.mts +2 -0
  982. package/dist/esm/errors/index.mjs +2 -0
  983. package/dist/esm/exports.d.mts +1 -0
  984. package/dist/esm/exports.mjs +1 -0
  985. package/dist/esm/index.d.mts +6 -0
  986. package/dist/esm/index.mjs +5 -0
  987. package/dist/esm/version.d.mts +1 -0
  988. package/dist/esm/version.mjs +1 -0
  989. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * handle: "katzs-deli",
5
+ * event: "event"
6
+ * }
7
+ */
8
+ export interface GetBusinessEventRequest {
9
+ /** The business handle */
10
+ handle: string;
11
+ /** The event ID */
12
+ event: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * handle: "katzs-deli"
5
+ * }
6
+ */
7
+ export interface GetBusinessEventsRequest {
8
+ /** The business handle */
9
+ handle: string;
10
+ /** Page number for pagination */
11
+ page?: number;
12
+ /** Number of events per page */
13
+ per_page?: number;
14
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * handle: "katzs-deli"
5
+ * }
6
+ */
7
+ export interface GetBusinessMenusRequest {
8
+ /** The business handle */
9
+ handle: string;
10
+ /** Page number for pagination */
11
+ page?: number;
12
+ /** Number of items per page */
13
+ per_page?: number;
14
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * handle: "katzs-deli"
5
+ * }
6
+ */
7
+ export interface GetBusinessPhotosRequest {
8
+ /** The business handle */
9
+ handle: string;
10
+ /** Page number for pagination */
11
+ page?: number;
12
+ /** Number of photos per page */
13
+ per_page?: number;
14
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * handle: "katzs-deli",
5
+ * bulletin: "01950e7d-1234-7000-abcd-ef0123456789",
6
+ * body: "body"
7
+ * }
8
+ */
9
+ export interface StoreBulletinCommentRequest {
10
+ /** The business handle */
11
+ handle: string;
12
+ /** The bulletin ID */
13
+ bulletin: string;
14
+ body: string;
15
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * handle: "katzs-deli",
5
+ * event: "01950e7d-1234-7000-abcd-ef0123456789",
6
+ * status: "attending"
7
+ * }
8
+ */
9
+ export interface StoreEventRsvpRequest {
10
+ /** The business handle */
11
+ handle: string;
12
+ /** The event ID */
13
+ event: string;
14
+ status: StoreEventRsvpRequest.Status;
15
+ notes?: string | null;
16
+ }
17
+ export declare namespace StoreEventRsvpRequest {
18
+ const Status: {
19
+ readonly Attending: "attending";
20
+ readonly NotAttending: "not_attending";
21
+ readonly Maybe: "maybe";
22
+ };
23
+ type Status = (typeof Status)[keyof typeof Status];
24
+ }
@@ -0,0 +1,9 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export var StoreEventRsvpRequest;
3
+ (function (StoreEventRsvpRequest) {
4
+ StoreEventRsvpRequest.Status = {
5
+ Attending: "attending",
6
+ NotAttending: "not_attending",
7
+ Maybe: "maybe",
8
+ };
9
+ })(StoreEventRsvpRequest || (StoreEventRsvpRequest = {}));
@@ -0,0 +1,9 @@
1
+ export type { DestroyEventRsvpRequest } from "./DestroyEventRsvpRequest.mjs";
2
+ export type { GetBulletinCommentsRequest } from "./GetBulletinCommentsRequest.mjs";
3
+ export type { GetBusinessBulletinsRequest } from "./GetBusinessBulletinsRequest.mjs";
4
+ export type { GetBusinessEventRequest } from "./GetBusinessEventRequest.mjs";
5
+ export type { GetBusinessEventsRequest } from "./GetBusinessEventsRequest.mjs";
6
+ export type { GetBusinessMenusRequest } from "./GetBusinessMenusRequest.mjs";
7
+ export type { GetBusinessPhotosRequest } from "./GetBusinessPhotosRequest.mjs";
8
+ export type { StoreBulletinCommentRequest } from "./StoreBulletinCommentRequest.mjs";
9
+ export { StoreEventRsvpRequest } from "./StoreEventRsvpRequest.mjs";
@@ -0,0 +1 @@
1
+ export { StoreEventRsvpRequest } from "./StoreEventRsvpRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { BusinessContentClient } 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 { BusinessContentClient } 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
+ import type * as FiveOneEat from "../../../index.mjs";
2
+ export interface CreateBulletinCommentResponse {
3
+ data: FiveOneEat.CommentResource;
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 GetBulletinCommentsResponse {
3
+ data: FiveOneEat.CommentResponseResource;
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 GetBusinessBulletinsResponse {
3
+ data: FiveOneEat.BulletinResponseResource;
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 GetBusinessEventResponse {
3
+ data: FiveOneEat.EventDetailResource;
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 GetBusinessEventsResponse {
3
+ data: FiveOneEat.EventResponseResource;
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 GetBusinessMenusResponse {
3
+ data: FiveOneEat.MenuResponseResource;
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 GetBusinessPhotosResponse {
3
+ data: FiveOneEat.PhotoResponseResource;
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 StoreEventRsvpResponse {
3
+ data: FiveOneEat.EventRsvpResource;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,8 @@
1
+ export * from "./CreateBulletinCommentResponse.mjs";
2
+ export * from "./GetBulletinCommentsResponse.mjs";
3
+ export * from "./GetBusinessBulletinsResponse.mjs";
4
+ export * from "./GetBusinessEventResponse.mjs";
5
+ export * from "./GetBusinessEventsResponse.mjs";
6
+ export * from "./GetBusinessMenusResponse.mjs";
7
+ export * from "./GetBusinessPhotosResponse.mjs";
8
+ export * from "./StoreEventRsvpResponse.mjs";
@@ -0,0 +1,8 @@
1
+ export * from "./CreateBulletinCommentResponse.mjs";
2
+ export * from "./GetBulletinCommentsResponse.mjs";
3
+ export * from "./GetBusinessBulletinsResponse.mjs";
4
+ export * from "./GetBusinessEventResponse.mjs";
5
+ export * from "./GetBusinessEventsResponse.mjs";
6
+ export * from "./GetBusinessMenusResponse.mjs";
7
+ export * from "./GetBusinessPhotosResponse.mjs";
8
+ export * from "./StoreEventRsvpResponse.mjs";
@@ -0,0 +1,60 @@
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 BusinessProfilesClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class BusinessProfilesClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<BusinessProfilesClient.Options>;
12
+ constructor(options?: BusinessProfilesClient.Options);
13
+ /**
14
+ * Retrieve core business information for the profile page.
15
+ *
16
+ * @param {FiveOneEat.GetBusinessProfileRequest} request
17
+ * @param {BusinessProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
18
+ *
19
+ * @throws {@link FiveOneEat.UnauthorizedError}
20
+ *
21
+ * @example
22
+ * await client.businessProfiles.getBusinessProfile({
23
+ * handle: "katzs-deli"
24
+ * })
25
+ */
26
+ getBusinessProfile(request: FiveOneEat.GetBusinessProfileRequest, requestOptions?: BusinessProfilesClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.GetBusinessProfileResponse>;
27
+ private __getBusinessProfile;
28
+ /**
29
+ * Add a business to the authenticated user's favorites.
30
+ *
31
+ * @param {FiveOneEat.FavoritesBusinessRequest} request
32
+ * @param {BusinessProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
33
+ *
34
+ * @throws {@link FiveOneEat.UnauthorizedError}
35
+ * @throws {@link FiveOneEat.NotFoundError}
36
+ * @throws {@link FiveOneEat.ConflictError}
37
+ *
38
+ * @example
39
+ * await client.businessProfiles.favoritesBusiness({
40
+ * handle: "katzs-deli"
41
+ * })
42
+ */
43
+ favoritesBusiness(request: FiveOneEat.FavoritesBusinessRequest, requestOptions?: BusinessProfilesClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.FavoritesBusinessResponse>;
44
+ private __favoritesBusiness;
45
+ /**
46
+ * Remove a business from the authenticated user's favorites.
47
+ *
48
+ * @param {FiveOneEat.UnfavoritesBusinessRequest} request
49
+ * @param {BusinessProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
50
+ *
51
+ * @throws {@link FiveOneEat.UnauthorizedError}
52
+ *
53
+ * @example
54
+ * await client.businessProfiles.unfavoritesBusiness({
55
+ * handle: "katzs-deli"
56
+ * })
57
+ */
58
+ unfavoritesBusiness(request: FiveOneEat.UnfavoritesBusinessRequest, requestOptions?: BusinessProfilesClient.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
59
+ private __unfavoritesBusiness;
60
+ }
@@ -0,0 +1,184 @@
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 BusinessProfilesClient {
19
+ constructor(options = {}) {
20
+ this._options = normalizeClientOptionsWithAuth(options);
21
+ }
22
+ /**
23
+ * Retrieve core business information for the profile page.
24
+ *
25
+ * @param {FiveOneEat.GetBusinessProfileRequest} request
26
+ * @param {BusinessProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
27
+ *
28
+ * @throws {@link FiveOneEat.UnauthorizedError}
29
+ *
30
+ * @example
31
+ * await client.businessProfiles.getBusinessProfile({
32
+ * handle: "katzs-deli"
33
+ * })
34
+ */
35
+ getBusinessProfile(request, requestOptions) {
36
+ return core.HttpResponsePromise.fromPromise(this.__getBusinessProfile(request, requestOptions));
37
+ }
38
+ __getBusinessProfile(request, requestOptions) {
39
+ return __awaiter(this, void 0, void 0, function* () {
40
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
41
+ const { handle } = request;
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, `customer/businesses/${core.url.encodePathParam(handle)}`),
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
+ default:
66
+ throw new errors.FiveOneEatError({
67
+ statusCode: _response.error.statusCode,
68
+ body: _response.error.body,
69
+ rawResponse: _response.rawResponse,
70
+ });
71
+ }
72
+ }
73
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/customer/businesses/{handle}");
74
+ });
75
+ }
76
+ /**
77
+ * Add a business to the authenticated user's favorites.
78
+ *
79
+ * @param {FiveOneEat.FavoritesBusinessRequest} request
80
+ * @param {BusinessProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
81
+ *
82
+ * @throws {@link FiveOneEat.UnauthorizedError}
83
+ * @throws {@link FiveOneEat.NotFoundError}
84
+ * @throws {@link FiveOneEat.ConflictError}
85
+ *
86
+ * @example
87
+ * await client.businessProfiles.favoritesBusiness({
88
+ * handle: "katzs-deli"
89
+ * })
90
+ */
91
+ favoritesBusiness(request, requestOptions) {
92
+ return core.HttpResponsePromise.fromPromise(this.__favoritesBusiness(request, requestOptions));
93
+ }
94
+ __favoritesBusiness(request, requestOptions) {
95
+ return __awaiter(this, void 0, void 0, function* () {
96
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
97
+ const { handle } = request;
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, `customer/businesses/${core.url.encodePathParam(handle)}/favorite`),
102
+ method: "POST",
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 { data: _response.body, rawResponse: _response.rawResponse };
113
+ }
114
+ if (_response.error.reason === "status-code") {
115
+ switch (_response.error.statusCode) {
116
+ case 401:
117
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
118
+ case 404:
119
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
120
+ case 409:
121
+ throw new FiveOneEat.ConflictError(_response.error.body, _response.rawResponse);
122
+ default:
123
+ throw new errors.FiveOneEatError({
124
+ statusCode: _response.error.statusCode,
125
+ body: _response.error.body,
126
+ rawResponse: _response.rawResponse,
127
+ });
128
+ }
129
+ }
130
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/customer/businesses/{handle}/favorite");
131
+ });
132
+ }
133
+ /**
134
+ * Remove a business from the authenticated user's favorites.
135
+ *
136
+ * @param {FiveOneEat.UnfavoritesBusinessRequest} request
137
+ * @param {BusinessProfilesClient.RequestOptions} requestOptions - Request-specific configuration.
138
+ *
139
+ * @throws {@link FiveOneEat.UnauthorizedError}
140
+ *
141
+ * @example
142
+ * await client.businessProfiles.unfavoritesBusiness({
143
+ * handle: "katzs-deli"
144
+ * })
145
+ */
146
+ unfavoritesBusiness(request, requestOptions) {
147
+ return core.HttpResponsePromise.fromPromise(this.__unfavoritesBusiness(request, requestOptions));
148
+ }
149
+ __unfavoritesBusiness(request, requestOptions) {
150
+ return __awaiter(this, void 0, void 0, function* () {
151
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
152
+ const { handle } = request;
153
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
154
+ 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);
155
+ const _response = yield core.fetcher({
156
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(handle)}/favorite`),
157
+ method: "DELETE",
158
+ headers: _headers,
159
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
160
+ 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,
161
+ 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,
162
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
163
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
164
+ logging: this._options.logging,
165
+ });
166
+ if (_response.ok) {
167
+ return { data: _response.body, rawResponse: _response.rawResponse };
168
+ }
169
+ if (_response.error.reason === "status-code") {
170
+ switch (_response.error.statusCode) {
171
+ case 401:
172
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
173
+ default:
174
+ throw new errors.FiveOneEatError({
175
+ statusCode: _response.error.statusCode,
176
+ body: _response.error.body,
177
+ rawResponse: _response.rawResponse,
178
+ });
179
+ }
180
+ }
181
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/customer/businesses/{handle}/favorite");
182
+ });
183
+ }
184
+ }
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * handle: "katzs-deli"
5
+ * }
6
+ */
7
+ export interface FavoritesBusinessRequest {
8
+ /** The business handle */
9
+ handle: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * handle: "katzs-deli"
5
+ * }
6
+ */
7
+ export interface GetBusinessProfileRequest {
8
+ /** The business handle */
9
+ handle: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * handle: "katzs-deli"
5
+ * }
6
+ */
7
+ export interface UnfavoritesBusinessRequest {
8
+ /** The business handle */
9
+ handle: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,3 @@
1
+ export type { FavoritesBusinessRequest } from "./FavoritesBusinessRequest.mjs";
2
+ export type { GetBusinessProfileRequest } from "./GetBusinessProfileRequest.mjs";
3
+ export type { UnfavoritesBusinessRequest } from "./UnfavoritesBusinessRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { BusinessProfilesClient } 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 { BusinessProfilesClient } 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,3 @@
1
+ export interface FavoritesBusinessResponse {
2
+ favorited: boolean;
3
+ }
@@ -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 GetBusinessProfileResponse {
3
+ data: FiveOneEat.BusinessProfileResource;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from "./FavoritesBusinessResponse.mjs";
2
+ export * from "./GetBusinessProfileResponse.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./FavoritesBusinessResponse.mjs";
2
+ export * from "./GetBusinessProfileResponse.mjs";