@51eat/sdk 0.0.73 → 0.0.75

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 (340) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +5 -0
  4. package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.ts +1 -1
  5. package/dist/cjs/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.ts +1 -1
  6. package/dist/cjs/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.ts +1 -0
  7. package/dist/cjs/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.ts +1 -0
  8. package/dist/cjs/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.ts +1 -1
  9. package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.ts +22 -2
  10. package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.js +21 -0
  11. package/dist/cjs/api/resources/business/resources/profile/client/requests/index.d.ts +1 -1
  12. package/dist/cjs/api/resources/business/resources/profile/client/requests/index.js +3 -0
  13. package/dist/cjs/api/resources/business/resources/profile/resources/logo/client/requests/UploadLogoRequest.d.ts +1 -0
  14. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.ts +1 -1
  15. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.ts +1 -1
  16. package/dist/cjs/api/resources/customer/resources/auth/client/Client.d.ts +19 -0
  17. package/dist/cjs/api/resources/customer/resources/auth/client/Client.js +62 -0
  18. package/dist/cjs/api/resources/customer/resources/auth/client/requests/DeleteAccountRequest.d.ts +9 -0
  19. package/dist/cjs/api/resources/customer/resources/auth/client/requests/index.d.ts +1 -0
  20. package/dist/cjs/api/resources/customer/resources/auth/types/DeleteAccountAuthResponse.d.ts +3 -0
  21. package/dist/cjs/api/resources/customer/resources/auth/types/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/customer/resources/auth/types/index.js +1 -0
  23. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.ts +22 -2
  24. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.js +21 -0
  25. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.d.ts +1 -1
  26. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.js +3 -0
  27. package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.ts +1 -0
  28. package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.ts +5 -1
  29. package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.ts +5 -1
  30. package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.ts +5 -1
  31. package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.ts +6 -1
  32. package/dist/cjs/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponse.d.ts +1 -1
  33. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.ts +5 -1
  34. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.ts +7 -7
  35. package/dist/cjs/api/resources/customer/resources/me/client/Client.d.ts +21 -1
  36. package/dist/cjs/api/resources/customer/resources/me/client/Client.js +75 -8
  37. package/dist/cjs/api/resources/customer/resources/me/client/requests/FavoritesMeRequest.d.ts +8 -4
  38. package/dist/cjs/api/resources/customer/resources/me/resources/index.d.ts +3 -0
  39. package/dist/cjs/api/resources/customer/resources/me/resources/index.js +4 -1
  40. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/Client.d.ts +122 -0
  41. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/Client.js +428 -0
  42. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/index.js +17 -0
  44. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.d.ts +10 -0
  45. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.js +3 -0
  46. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.d.ts +10 -0
  47. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.js +3 -0
  48. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.d.ts +10 -0
  49. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.js +3 -0
  50. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.d.ts +11 -0
  51. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.js +3 -0
  52. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.d.ts +14 -0
  53. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.js +3 -0
  54. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/index.d.ts +5 -0
  55. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/index.js +2 -0
  56. package/dist/cjs/api/resources/customer/resources/me/resources/lists/exports.d.ts +3 -0
  57. package/dist/cjs/api/resources/customer/resources/me/resources/lists/exports.js +22 -0
  58. package/dist/cjs/api/resources/customer/resources/me/resources/lists/index.d.ts +3 -0
  59. package/dist/cjs/api/resources/customer/resources/me/resources/lists/index.js +19 -0
  60. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/index.d.ts +3 -0
  61. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/index.js +42 -0
  62. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.d.ts +73 -0
  63. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.js +266 -0
  64. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/index.d.ts +1 -0
  65. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/index.js +17 -0
  66. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.d.ts +13 -0
  67. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.js +3 -0
  68. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.d.ts +13 -0
  69. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.js +3 -0
  70. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.d.ts +14 -0
  71. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.js +3 -0
  72. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.d.ts +3 -0
  73. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.js +2 -0
  74. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/exports.d.ts +2 -0
  75. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/exports.js +21 -0
  76. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/index.d.ts +2 -0
  77. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/index.js +18 -0
  78. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.d.ts +3 -0
  79. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.js +3 -0
  80. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.d.ts +3 -0
  81. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.js +3 -0
  82. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/index.d.ts +2 -0
  83. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/index.js +18 -0
  84. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.d.ts +4 -0
  85. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.js +3 -0
  86. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.d.ts +4 -0
  87. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.js +3 -0
  88. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.d.ts +4 -0
  89. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.js +3 -0
  90. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.d.ts +4 -0
  91. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.js +3 -0
  92. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.d.ts +4 -0
  93. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.js +3 -0
  94. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/index.d.ts +5 -0
  95. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/index.js +21 -0
  96. package/dist/cjs/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.d.ts +4 -0
  97. package/dist/cjs/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.js +3 -0
  98. package/dist/cjs/api/resources/customer/resources/me/types/FavoritesMeRequestSort.d.ts +6 -0
  99. package/dist/cjs/api/resources/customer/resources/me/types/FavoritesMeRequestSort.js +9 -0
  100. package/dist/cjs/api/resources/customer/resources/me/types/index.d.ts +2 -0
  101. package/dist/cjs/api/resources/customer/resources/me/types/index.js +2 -0
  102. package/dist/cjs/api/resources/index.d.ts +3 -0
  103. package/dist/cjs/api/resources/index.js +4 -1
  104. package/dist/cjs/api/resources/publicLists/client/Client.d.ts +34 -0
  105. package/dist/cjs/api/resources/publicLists/client/Client.js +116 -0
  106. package/dist/cjs/api/resources/publicLists/client/index.d.ts +1 -0
  107. package/dist/cjs/api/resources/publicLists/client/index.js +17 -0
  108. package/dist/cjs/api/resources/publicLists/client/requests/GetPublicListsRequest.d.ts +10 -0
  109. package/dist/cjs/api/resources/publicLists/client/requests/GetPublicListsRequest.js +3 -0
  110. package/dist/cjs/api/resources/publicLists/client/requests/index.d.ts +1 -0
  111. package/dist/cjs/api/resources/publicLists/client/requests/index.js +2 -0
  112. package/dist/cjs/api/resources/publicLists/exports.d.ts +2 -0
  113. package/dist/cjs/api/resources/publicLists/exports.js +21 -0
  114. package/dist/cjs/api/resources/publicLists/index.d.ts +2 -0
  115. package/dist/cjs/api/resources/publicLists/index.js +18 -0
  116. package/dist/cjs/api/resources/publicLists/types/GetPublicListsResponse.d.ts +4 -0
  117. package/dist/cjs/api/resources/publicLists/types/GetPublicListsResponse.js +3 -0
  118. package/dist/cjs/api/resources/publicLists/types/index.d.ts +1 -0
  119. package/dist/cjs/api/resources/publicLists/types/index.js +17 -0
  120. package/dist/cjs/api/types/Address.d.ts +2 -2
  121. package/dist/cjs/api/types/BusinessAllergen.d.ts +2 -2
  122. package/dist/cjs/api/types/BusinessBulletin.d.ts +6 -6
  123. package/dist/cjs/api/types/BusinessConversation.d.ts +1 -1
  124. package/dist/cjs/api/types/BusinessEvent.d.ts +11 -11
  125. package/dist/cjs/api/types/BusinessEventRsvp.d.ts +3 -3
  126. package/dist/cjs/api/types/BusinessEventTicketType.d.ts +11 -11
  127. package/dist/cjs/api/types/BusinessList.d.ts +11 -0
  128. package/dist/cjs/api/types/BusinessList.js +3 -0
  129. package/dist/cjs/api/types/BusinessListCollection.d.ts +4 -0
  130. package/dist/cjs/api/types/BusinessListCollection.js +3 -0
  131. package/dist/cjs/api/types/BusinessListDetail.d.ts +12 -0
  132. package/dist/cjs/api/types/BusinessListDetail.js +3 -0
  133. package/dist/cjs/api/types/BusinessListItem.d.ts +7 -0
  134. package/dist/cjs/api/types/BusinessListItem.js +3 -0
  135. package/dist/cjs/api/types/BusinessListMembership.d.ts +14 -0
  136. package/dist/cjs/api/types/BusinessListMembership.js +3 -0
  137. package/dist/cjs/api/types/BusinessMenu.d.ts +2 -2
  138. package/dist/cjs/api/types/BusinessMenuGroup.d.ts +2 -2
  139. package/dist/cjs/api/types/BusinessMenuItem.d.ts +6 -24
  140. package/dist/cjs/api/types/BusinessMenuItemModifier.d.ts +3 -3
  141. package/dist/cjs/api/types/BusinessMenuItemVariation.d.ts +4 -4
  142. package/dist/cjs/api/types/BusinessProfile.d.ts +1 -1
  143. package/dist/cjs/api/types/BusinessStand.d.ts +2 -2
  144. package/dist/cjs/api/types/BusinessStripeConnection.d.ts +15 -15
  145. package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +2 -2
  146. package/dist/cjs/api/types/CartResource.d.ts +2 -2
  147. package/dist/cjs/api/types/Conversation.d.ts +1 -1
  148. package/dist/cjs/api/types/CustomerBulletin.d.ts +1 -1
  149. package/dist/cjs/api/types/CustomerComment.d.ts +2 -2
  150. package/dist/cjs/api/types/CustomerDiscoveryAllergen.d.ts +2 -2
  151. package/dist/cjs/api/types/CustomerEvent.d.ts +1 -1
  152. package/dist/cjs/api/types/CustomerEventRsvp.d.ts +2 -2
  153. package/dist/cjs/api/types/CustomerEventTicketType.d.ts +2 -2
  154. package/dist/cjs/api/types/DiscoveryBusiness.d.ts +3 -3
  155. package/dist/cjs/api/types/FavoriteFacets.d.ts +34 -0
  156. package/dist/cjs/api/types/FavoriteFacets.js +3 -0
  157. package/dist/cjs/api/types/ProductResource.d.ts +5 -5
  158. package/dist/cjs/api/types/PublicBusinessList.d.ts +10 -0
  159. package/dist/cjs/api/types/PublicBusinessList.js +3 -0
  160. package/dist/cjs/api/types/ShippingAccountResource.d.ts +5 -5
  161. package/dist/cjs/api/types/Transaction.d.ts +2 -2
  162. package/dist/cjs/api/types/index.d.ts +7 -2
  163. package/dist/cjs/api/types/index.js +7 -2
  164. package/dist/cjs/version.d.ts +1 -1
  165. package/dist/cjs/version.js +1 -1
  166. package/dist/esm/BaseClient.mjs +2 -2
  167. package/dist/esm/Client.d.mts +3 -0
  168. package/dist/esm/Client.mjs +5 -0
  169. package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +1 -1
  170. package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.mts +1 -1
  171. package/dist/esm/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.mts +1 -0
  172. package/dist/esm/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.mts +1 -0
  173. package/dist/esm/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.mts +1 -1
  174. package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.mts +22 -2
  175. package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.mjs +20 -1
  176. package/dist/esm/api/resources/business/resources/profile/client/requests/index.d.mts +1 -1
  177. package/dist/esm/api/resources/business/resources/profile/client/requests/index.mjs +1 -1
  178. package/dist/esm/api/resources/business/resources/profile/resources/logo/client/requests/UploadLogoRequest.d.mts +1 -0
  179. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.mts +1 -1
  180. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.mts +1 -1
  181. package/dist/esm/api/resources/customer/resources/auth/client/Client.d.mts +19 -0
  182. package/dist/esm/api/resources/customer/resources/auth/client/Client.mjs +62 -0
  183. package/dist/esm/api/resources/customer/resources/auth/client/requests/DeleteAccountRequest.d.mts +9 -0
  184. package/dist/esm/api/resources/customer/resources/auth/client/requests/index.d.mts +1 -0
  185. package/dist/esm/api/resources/customer/resources/auth/types/DeleteAccountAuthResponse.d.mts +3 -0
  186. package/dist/esm/api/resources/customer/resources/auth/types/index.d.mts +1 -0
  187. package/dist/esm/api/resources/customer/resources/auth/types/index.mjs +1 -0
  188. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.mts +22 -2
  189. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.mjs +20 -1
  190. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.d.mts +1 -1
  191. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.mjs +1 -1
  192. package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.mts +1 -0
  193. package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.mts +5 -1
  194. package/dist/esm/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.mts +5 -1
  195. package/dist/esm/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.mts +5 -1
  196. package/dist/esm/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.mts +6 -1
  197. package/dist/esm/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponse.d.mts +1 -1
  198. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.mts +5 -1
  199. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.mts +7 -7
  200. package/dist/esm/api/resources/customer/resources/me/client/Client.d.mts +21 -1
  201. package/dist/esm/api/resources/customer/resources/me/client/Client.mjs +69 -2
  202. package/dist/esm/api/resources/customer/resources/me/client/requests/FavoritesMeRequest.d.mts +8 -4
  203. package/dist/esm/api/resources/customer/resources/me/resources/index.d.mts +3 -0
  204. package/dist/esm/api/resources/customer/resources/me/resources/index.mjs +3 -0
  205. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/Client.d.mts +122 -0
  206. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/Client.mjs +391 -0
  207. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/index.d.mts +1 -0
  208. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/index.mjs +1 -0
  209. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.d.mts +10 -0
  210. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.mjs +2 -0
  211. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.d.mts +10 -0
  212. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.mjs +2 -0
  213. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.d.mts +10 -0
  214. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.mjs +2 -0
  215. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.d.mts +11 -0
  216. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.mjs +2 -0
  217. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.d.mts +14 -0
  218. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.mjs +2 -0
  219. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/index.d.mts +5 -0
  220. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/index.mjs +1 -0
  221. package/dist/esm/api/resources/customer/resources/me/resources/lists/exports.d.mts +3 -0
  222. package/dist/esm/api/resources/customer/resources/me/resources/lists/exports.mjs +4 -0
  223. package/dist/esm/api/resources/customer/resources/me/resources/lists/index.d.mts +3 -0
  224. package/dist/esm/api/resources/customer/resources/me/resources/lists/index.mjs +3 -0
  225. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/index.d.mts +3 -0
  226. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/index.mjs +3 -0
  227. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.d.mts +73 -0
  228. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.mjs +229 -0
  229. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/index.d.mts +1 -0
  230. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/index.mjs +1 -0
  231. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.d.mts +13 -0
  232. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.mjs +2 -0
  233. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.d.mts +13 -0
  234. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.mjs +2 -0
  235. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.d.mts +14 -0
  236. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.mjs +2 -0
  237. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.d.mts +3 -0
  238. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.mjs +1 -0
  239. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/exports.d.mts +2 -0
  240. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/exports.mjs +3 -0
  241. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/index.d.mts +2 -0
  242. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/index.mjs +2 -0
  243. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.d.mts +3 -0
  244. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.mjs +2 -0
  245. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.d.mts +3 -0
  246. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.mjs +2 -0
  247. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/index.d.mts +2 -0
  248. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/index.mjs +2 -0
  249. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.d.mts +4 -0
  250. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.mjs +2 -0
  251. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.d.mts +4 -0
  252. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.mjs +2 -0
  253. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.d.mts +4 -0
  254. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.mjs +2 -0
  255. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.d.mts +4 -0
  256. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.mjs +2 -0
  257. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.d.mts +4 -0
  258. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.mjs +2 -0
  259. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/index.d.mts +5 -0
  260. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/index.mjs +5 -0
  261. package/dist/esm/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.d.mts +4 -0
  262. package/dist/esm/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.mjs +2 -0
  263. package/dist/esm/api/resources/customer/resources/me/types/FavoritesMeRequestSort.d.mts +6 -0
  264. package/dist/esm/api/resources/customer/resources/me/types/FavoritesMeRequestSort.mjs +6 -0
  265. package/dist/esm/api/resources/customer/resources/me/types/index.d.mts +2 -0
  266. package/dist/esm/api/resources/customer/resources/me/types/index.mjs +2 -0
  267. package/dist/esm/api/resources/index.d.mts +3 -0
  268. package/dist/esm/api/resources/index.mjs +3 -0
  269. package/dist/esm/api/resources/publicLists/client/Client.d.mts +34 -0
  270. package/dist/esm/api/resources/publicLists/client/Client.mjs +79 -0
  271. package/dist/esm/api/resources/publicLists/client/index.d.mts +1 -0
  272. package/dist/esm/api/resources/publicLists/client/index.mjs +1 -0
  273. package/dist/esm/api/resources/publicLists/client/requests/GetPublicListsRequest.d.mts +10 -0
  274. package/dist/esm/api/resources/publicLists/client/requests/GetPublicListsRequest.mjs +2 -0
  275. package/dist/esm/api/resources/publicLists/client/requests/index.d.mts +1 -0
  276. package/dist/esm/api/resources/publicLists/client/requests/index.mjs +1 -0
  277. package/dist/esm/api/resources/publicLists/exports.d.mts +2 -0
  278. package/dist/esm/api/resources/publicLists/exports.mjs +3 -0
  279. package/dist/esm/api/resources/publicLists/index.d.mts +2 -0
  280. package/dist/esm/api/resources/publicLists/index.mjs +2 -0
  281. package/dist/esm/api/resources/publicLists/types/GetPublicListsResponse.d.mts +4 -0
  282. package/dist/esm/api/resources/publicLists/types/GetPublicListsResponse.mjs +2 -0
  283. package/dist/esm/api/resources/publicLists/types/index.d.mts +1 -0
  284. package/dist/esm/api/resources/publicLists/types/index.mjs +1 -0
  285. package/dist/esm/api/types/Address.d.mts +2 -2
  286. package/dist/esm/api/types/BusinessAllergen.d.mts +2 -2
  287. package/dist/esm/api/types/BusinessBulletin.d.mts +6 -6
  288. package/dist/esm/api/types/BusinessConversation.d.mts +1 -1
  289. package/dist/esm/api/types/BusinessEvent.d.mts +11 -11
  290. package/dist/esm/api/types/BusinessEventRsvp.d.mts +3 -3
  291. package/dist/esm/api/types/BusinessEventTicketType.d.mts +11 -11
  292. package/dist/esm/api/types/BusinessList.d.mts +11 -0
  293. package/dist/esm/api/types/BusinessList.mjs +2 -0
  294. package/dist/esm/api/types/BusinessListCollection.d.mts +4 -0
  295. package/dist/esm/api/types/BusinessListCollection.mjs +2 -0
  296. package/dist/esm/api/types/BusinessListDetail.d.mts +12 -0
  297. package/dist/esm/api/types/BusinessListDetail.mjs +2 -0
  298. package/dist/esm/api/types/BusinessListItem.d.mts +7 -0
  299. package/dist/esm/api/types/BusinessListItem.mjs +2 -0
  300. package/dist/esm/api/types/BusinessListMembership.d.mts +14 -0
  301. package/dist/esm/api/types/BusinessListMembership.mjs +2 -0
  302. package/dist/esm/api/types/BusinessMenu.d.mts +2 -2
  303. package/dist/esm/api/types/BusinessMenuGroup.d.mts +2 -2
  304. package/dist/esm/api/types/BusinessMenuItem.d.mts +6 -24
  305. package/dist/esm/api/types/BusinessMenuItemModifier.d.mts +3 -3
  306. package/dist/esm/api/types/BusinessMenuItemVariation.d.mts +4 -4
  307. package/dist/esm/api/types/BusinessProfile.d.mts +1 -1
  308. package/dist/esm/api/types/BusinessStand.d.mts +2 -2
  309. package/dist/esm/api/types/BusinessStripeConnection.d.mts +15 -15
  310. package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +2 -2
  311. package/dist/esm/api/types/CartResource.d.mts +2 -2
  312. package/dist/esm/api/types/Conversation.d.mts +1 -1
  313. package/dist/esm/api/types/CustomerBulletin.d.mts +1 -1
  314. package/dist/esm/api/types/CustomerComment.d.mts +2 -2
  315. package/dist/esm/api/types/CustomerDiscoveryAllergen.d.mts +2 -2
  316. package/dist/esm/api/types/CustomerEvent.d.mts +1 -1
  317. package/dist/esm/api/types/CustomerEventRsvp.d.mts +2 -2
  318. package/dist/esm/api/types/CustomerEventTicketType.d.mts +2 -2
  319. package/dist/esm/api/types/DiscoveryBusiness.d.mts +3 -3
  320. package/dist/esm/api/types/FavoriteFacets.d.mts +34 -0
  321. package/dist/esm/api/types/FavoriteFacets.mjs +2 -0
  322. package/dist/esm/api/types/ProductResource.d.mts +5 -5
  323. package/dist/esm/api/types/PublicBusinessList.d.mts +10 -0
  324. package/dist/esm/api/types/PublicBusinessList.mjs +2 -0
  325. package/dist/esm/api/types/ShippingAccountResource.d.mts +5 -5
  326. package/dist/esm/api/types/Transaction.d.mts +2 -2
  327. package/dist/esm/api/types/index.d.mts +7 -2
  328. package/dist/esm/api/types/index.mjs +7 -2
  329. package/dist/esm/version.d.mts +1 -1
  330. package/dist/esm/version.mjs +1 -1
  331. package/package.json +34 -1
  332. package/reference.md +857 -61
  333. package/dist/cjs/api/types/Allergen.d.ts +0 -10
  334. package/dist/cjs/api/types/Image.d.ts +0 -16
  335. package/dist/esm/api/types/Allergen.d.mts +0 -10
  336. package/dist/esm/api/types/Image.d.mts +0 -16
  337. /package/dist/cjs/api/{types/Allergen.js → resources/customer/resources/auth/client/requests/DeleteAccountRequest.js} +0 -0
  338. /package/dist/cjs/api/{types/Image.js → resources/customer/resources/auth/types/DeleteAccountAuthResponse.js} +0 -0
  339. /package/dist/esm/api/{types/Allergen.mjs → resources/customer/resources/auth/client/requests/DeleteAccountRequest.mjs} +0 -0
  340. /package/dist/esm/api/{types/Image.mjs → resources/customer/resources/auth/types/DeleteAccountAuthResponse.mjs} +0 -0
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.FavoritesMeRequestSort = void 0;
5
+ exports.FavoritesMeRequestSort = {
6
+ Recent: "recent",
7
+ Name: "name",
8
+ Popular: "popular",
9
+ };
@@ -1,2 +1,4 @@
1
+ export * from "./FavoriteFacetsMeResponse.js";
2
+ export * from "./FavoritesMeRequestSort.js";
1
3
  export * from "./FavoritesMeResponse.js";
2
4
  export * from "./RsvpsMeResponse.js";
@@ -14,5 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./FavoriteFacetsMeResponse.js"), exports);
18
+ __exportStar(require("./FavoritesMeRequestSort.js"), exports);
17
19
  __exportStar(require("./FavoritesMeResponse.js"), exports);
18
20
  __exportStar(require("./RsvpsMeResponse.js"), exports);
@@ -5,3 +5,6 @@ export * from "./customer/types/index.js";
5
5
  export * from "./customerStands/client/requests/index.js";
6
6
  export * as customerStands from "./customerStands/index.js";
7
7
  export * from "./customerStands/types/index.js";
8
+ export * from "./publicLists/client/requests/index.js";
9
+ export * as publicLists from "./publicLists/index.js";
10
+ export * from "./publicLists/types/index.js";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.customerStands = exports.customer = exports.business = void 0;
39
+ exports.publicLists = exports.customerStands = exports.customer = exports.business = void 0;
40
40
  exports.business = __importStar(require("./business/index.js"));
41
41
  __exportStar(require("./customer/client/requests/index.js"), exports);
42
42
  exports.customer = __importStar(require("./customer/index.js"));
@@ -44,3 +44,6 @@ __exportStar(require("./customer/types/index.js"), exports);
44
44
  __exportStar(require("./customerStands/client/requests/index.js"), exports);
45
45
  exports.customerStands = __importStar(require("./customerStands/index.js"));
46
46
  __exportStar(require("./customerStands/types/index.js"), exports);
47
+ __exportStar(require("./publicLists/client/requests/index.js"), exports);
48
+ exports.publicLists = __importStar(require("./publicLists/index.js"));
49
+ __exportStar(require("./publicLists/types/index.js"), exports);
@@ -0,0 +1,34 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
+ import * as core from "../../../../core/index.js";
4
+ import * as FiveOneEat from "../../../index.js";
5
+ export declare namespace PublicListsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class PublicListsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<PublicListsClient.Options>;
12
+ constructor(options?: PublicListsClient.Options);
13
+ /**
14
+ * Read a publicly shared list. No authentication required — this is what a
15
+ * share link resolves to.
16
+ *
17
+ * A private list returns 404 rather than 403: a 403 would confirm the list
18
+ * exists, which is more than a stranger should learn from a guessed URL.
19
+ * Items exclude delisted businesses, so a business that has left the
20
+ * platform cannot leak through someone's shared link.
21
+ *
22
+ * @param {FiveOneEat.GetPublicListsRequest} request
23
+ * @param {PublicListsClient.RequestOptions} requestOptions - Request-specific configuration.
24
+ *
25
+ * @throws {@link FiveOneEat.NotFoundError}
26
+ *
27
+ * @example
28
+ * await client.publicLists.get({
29
+ * businessList: "businessList"
30
+ * })
31
+ */
32
+ get(request: FiveOneEat.GetPublicListsRequest, requestOptions?: PublicListsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.GetPublicListsResponse>;
33
+ private __get;
34
+ }
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ Object.defineProperty(exports, "__esModule", { value: true });
46
+ exports.PublicListsClient = void 0;
47
+ const BaseClient_js_1 = require("../../../../BaseClient.js");
48
+ const headers_js_1 = require("../../../../core/headers.js");
49
+ const core = __importStar(require("../../../../core/index.js"));
50
+ const environments = __importStar(require("../../../../environments.js"));
51
+ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
52
+ const errors = __importStar(require("../../../../errors/index.js"));
53
+ const FiveOneEat = __importStar(require("../../../index.js"));
54
+ class PublicListsClient {
55
+ constructor(options = {}) {
56
+ this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
+ }
58
+ /**
59
+ * Read a publicly shared list. No authentication required — this is what a
60
+ * share link resolves to.
61
+ *
62
+ * A private list returns 404 rather than 403: a 403 would confirm the list
63
+ * exists, which is more than a stranger should learn from a guessed URL.
64
+ * Items exclude delisted businesses, so a business that has left the
65
+ * platform cannot leak through someone's shared link.
66
+ *
67
+ * @param {FiveOneEat.GetPublicListsRequest} request
68
+ * @param {PublicListsClient.RequestOptions} requestOptions - Request-specific configuration.
69
+ *
70
+ * @throws {@link FiveOneEat.NotFoundError}
71
+ *
72
+ * @example
73
+ * await client.publicLists.get({
74
+ * businessList: "businessList"
75
+ * })
76
+ */
77
+ get(request, requestOptions) {
78
+ return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
79
+ }
80
+ __get(request, requestOptions) {
81
+ return __awaiter(this, void 0, void 0, function* () {
82
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
83
+ const { businessList } = request;
84
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
85
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
86
+ const _response = yield core.fetcher({
87
+ 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, `public/lists/${core.url.encodePathParam(businessList)}`),
88
+ method: "GET",
89
+ headers: _headers,
90
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
91
+ 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,
92
+ 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,
93
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
94
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
95
+ logging: this._options.logging,
96
+ });
97
+ if (_response.ok) {
98
+ return { data: _response.body, rawResponse: _response.rawResponse };
99
+ }
100
+ if (_response.error.reason === "status-code") {
101
+ switch (_response.error.statusCode) {
102
+ case 404:
103
+ throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
104
+ default:
105
+ throw new errors.FiveOneEatError({
106
+ statusCode: _response.error.statusCode,
107
+ body: _response.error.body,
108
+ rawResponse: _response.rawResponse,
109
+ });
110
+ }
111
+ }
112
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/public/lists/{businessList}");
113
+ });
114
+ }
115
+ }
116
+ exports.PublicListsClient = PublicListsClient;
@@ -0,0 +1 @@
1
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * businessList: "businessList"
5
+ * }
6
+ */
7
+ export interface GetPublicListsRequest {
8
+ /** The list uuid */
9
+ businessList: string;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export type { GetPublicListsRequest } from "./GetPublicListsRequest.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { PublicListsClient } from "./client/Client.js";
2
+ export * from "./client/index.js";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.PublicListsClient = void 0;
19
+ var Client_js_1 = require("./client/Client.js");
20
+ Object.defineProperty(exports, "PublicListsClient", { enumerable: true, get: function () { return Client_js_1.PublicListsClient; } });
21
+ __exportStar(require("./client/index.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../../../index.js";
2
+ export interface GetPublicListsResponse {
3
+ data: FiveOneEat.PublicBusinessList;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./GetPublicListsResponse.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./GetPublicListsResponse.js"), exports);
@@ -10,6 +10,6 @@ export interface Address {
10
10
  latitude: number | null;
11
11
  longitude: number | null;
12
12
  is_default: boolean;
13
- created_at: string | null;
14
- updated_at: string | null;
13
+ created_at: string;
14
+ updated_at: string;
15
15
  }
@@ -2,7 +2,7 @@ export interface BusinessAllergen {
2
2
  id: string;
3
3
  name: string;
4
4
  slug: string;
5
- icon: string | null;
6
- description: string | null;
5
+ icon: string;
6
+ description: string;
7
7
  color: string;
8
8
  }
@@ -3,10 +3,10 @@ export interface BusinessBulletin {
3
3
  title: string;
4
4
  content: string;
5
5
  type: string;
6
- is_pinned: boolean;
7
- is_published: boolean;
8
- published_at: string | null;
9
- image?: string | undefined;
10
- created_at: string | null;
11
- updated_at: string | null;
6
+ is_pinned: string;
7
+ is_published: string;
8
+ published_at: string;
9
+ image?: (string | null) | undefined;
10
+ created_at: string;
11
+ updated_at: string;
12
12
  }
@@ -15,6 +15,6 @@ export declare namespace BusinessConversation {
15
15
  interface LastMessage {
16
16
  id: string;
17
17
  content: string;
18
- created_at: string | null;
18
+ created_at: string;
19
19
  }
20
20
  }
@@ -3,21 +3,21 @@ export interface BusinessEvent {
3
3
  id: string;
4
4
  business_id: string;
5
5
  title: string;
6
- description: string | null;
6
+ description: string;
7
7
  starts_at: string;
8
8
  ends_at: string;
9
- location: string | null;
10
- is_all_day: boolean;
11
- is_featured: boolean;
12
- ticket_sales_enabled: boolean;
13
- is_published: boolean;
14
- published_at: string | null;
15
- sort_order: number;
16
- image?: string | undefined;
9
+ location: string;
10
+ is_all_day: string;
11
+ is_featured: string;
12
+ ticket_sales_enabled: string;
13
+ is_published: string;
14
+ published_at: string;
15
+ sort_order: string;
16
+ image?: (string | null) | undefined;
17
17
  ticket_types?: FiveOneEat.BusinessEventTicketType[] | undefined;
18
18
  rsvps_count?: number | undefined;
19
19
  attendees_count?: number | undefined;
20
20
  tickets_count?: number | undefined;
21
- created_at: string | null;
22
- updated_at: string | null;
21
+ created_at: string;
22
+ updated_at: string;
23
23
  }
@@ -2,10 +2,10 @@ export interface BusinessEventRsvp {
2
2
  id: string;
3
3
  event_id: string;
4
4
  status: string;
5
- notes: string | null;
5
+ notes: string;
6
6
  user?: BusinessEventRsvp.User | undefined;
7
- created_at: string | null;
8
- updated_at: string | null;
7
+ created_at: string;
8
+ updated_at: string;
9
9
  }
10
10
  export declare namespace BusinessEventRsvp {
11
11
  interface User {
@@ -2,16 +2,16 @@ export interface BusinessEventTicketType {
2
2
  id: string;
3
3
  event_id: string;
4
4
  name: string;
5
- description: string | null;
6
- price: number;
7
- quantity_available: number;
8
- quantity_sold: number;
5
+ description: string;
6
+ price: string;
7
+ quantity_available: string;
8
+ quantity_sold: string;
9
9
  remaining_quantity: string;
10
- is_available_for_sale: boolean;
11
- sales_start_at: string | null;
12
- sales_end_at: string | null;
13
- is_active: boolean;
14
- sort_order: number;
15
- created_at: string | null;
16
- updated_at: string | null;
10
+ is_available_for_sale: string;
11
+ sales_start_at: string;
12
+ sales_end_at: string;
13
+ is_active: string;
14
+ sort_order: string;
15
+ created_at: string;
16
+ updated_at: string;
17
17
  }
@@ -0,0 +1,11 @@
1
+ export interface BusinessList {
2
+ id: string;
3
+ name: string;
4
+ description: string | null;
5
+ slug: string;
6
+ is_public: boolean;
7
+ items_count: number;
8
+ cover_image?: (string | null) | undefined;
9
+ created_at: string;
10
+ updated_at: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as FiveOneEat from "../index.js";
2
+ export interface BusinessListCollection {
3
+ lists: FiveOneEat.BusinessList[];
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import type * as FiveOneEat from "../index.js";
2
+ export interface BusinessListDetail {
3
+ id: string;
4
+ name: string;
5
+ description: string | null;
6
+ slug: string;
7
+ is_public: boolean;
8
+ items_count: number;
9
+ items?: FiveOneEat.BusinessListItem[] | undefined;
10
+ created_at: string;
11
+ updated_at: string;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type * as FiveOneEat from "../index.js";
2
+ export interface BusinessListItem {
3
+ id: string;
4
+ note: string | null;
5
+ business: FiveOneEat.DiscoveryBusiness;
6
+ created_at: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ export interface BusinessListMembership {
2
+ lists: BusinessListMembership.Lists.Item[];
3
+ }
4
+ export declare namespace BusinessListMembership {
5
+ type Lists = Lists.Item[];
6
+ namespace Lists {
7
+ interface Item {
8
+ id: string;
9
+ name: string;
10
+ is_public: boolean;
11
+ contains: boolean;
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  export interface BusinessMenu {
2
2
  id: string;
3
3
  name: string;
4
- description: string | null;
5
- created_at: string | null;
4
+ description: string;
5
+ created_at: string;
6
6
  groups?: unknown[] | undefined;
7
7
  }
@@ -2,7 +2,7 @@ export interface BusinessMenuGroup {
2
2
  id: string;
3
3
  menu_id: string;
4
4
  name: string;
5
- description: string | null;
6
- sort_order: number;
5
+ description: string;
6
+ sort_order: string;
7
7
  items?: unknown[] | undefined;
8
8
  }
@@ -2,13 +2,13 @@ export interface BusinessMenuItem {
2
2
  id: string;
3
3
  menu_group_id: string;
4
4
  name: string;
5
- description: string | null;
6
- price: number | null;
7
- is_available: boolean;
8
- sort_order: number;
5
+ description: string;
6
+ price: string;
7
+ is_available: string;
8
+ sort_order: string;
9
9
  image?: (BusinessMenuItem.Image | null) | undefined;
10
- tags?: BusinessMenuItem.Tags.Item[] | undefined;
11
- allergens?: BusinessMenuItem.Allergens.Item[] | undefined;
10
+ tags?: string | undefined;
11
+ allergens?: string | undefined;
12
12
  variations?: unknown[] | undefined;
13
13
  modifiers?: unknown[] | undefined;
14
14
  }
@@ -17,22 +17,4 @@ export declare namespace BusinessMenuItem {
17
17
  id: string;
18
18
  url: string;
19
19
  }
20
- type Tags = Tags.Item[];
21
- namespace Tags {
22
- interface Item {
23
- id: string;
24
- name: string;
25
- slug: string;
26
- color: string;
27
- }
28
- }
29
- type Allergens = Allergens.Item[];
30
- namespace Allergens {
31
- interface Item {
32
- id: string;
33
- name: string;
34
- slug: string;
35
- icon: string | null;
36
- }
37
- }
38
20
  }
@@ -1,7 +1,7 @@
1
1
  export interface BusinessMenuItemModifier {
2
2
  id: string;
3
3
  name: string;
4
- description: string | null;
5
- price: number;
6
- is_default: boolean;
4
+ description: string;
5
+ price: string;
6
+ is_default: string;
7
7
  }
@@ -2,8 +2,8 @@ export interface BusinessMenuItemVariation {
2
2
  id: string;
3
3
  menu_item_id: string;
4
4
  name: string;
5
- description: string | null;
6
- price: number | null;
7
- is_default: boolean;
8
- sort_order: number;
5
+ description: string;
6
+ price: string;
7
+ is_default: string;
8
+ sort_order: string;
9
9
  }
@@ -26,7 +26,7 @@ export interface BusinessProfile {
26
26
  logo_url: string | null;
27
27
  hours: BusinessProfile.Hours;
28
28
  seasonal: boolean;
29
- operating_months: number[];
29
+ operating_months: string[];
30
30
  pickup_enabled: boolean;
31
31
  pickup_hours: Record<string, unknown>;
32
32
  same_day_cutoff: string | null;