@51eat/sdk 0.0.74 → 0.0.76

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 (322) 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/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.ts +22 -2
  17. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.js +21 -0
  18. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.d.ts +1 -1
  19. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.js +3 -0
  20. package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.ts +1 -0
  21. package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.ts +5 -1
  22. package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.ts +5 -1
  23. package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.ts +5 -1
  24. package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.ts +6 -1
  25. package/dist/cjs/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponse.d.ts +1 -1
  26. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.ts +5 -1
  27. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.ts +7 -7
  28. package/dist/cjs/api/resources/customer/resources/me/client/Client.d.ts +21 -1
  29. package/dist/cjs/api/resources/customer/resources/me/client/Client.js +75 -8
  30. package/dist/cjs/api/resources/customer/resources/me/client/requests/FavoritesMeRequest.d.ts +8 -4
  31. package/dist/cjs/api/resources/customer/resources/me/resources/index.d.ts +3 -0
  32. package/dist/cjs/api/resources/customer/resources/me/resources/index.js +4 -1
  33. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/Client.d.ts +122 -0
  34. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/Client.js +428 -0
  35. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/index.d.ts +1 -0
  36. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/index.js +17 -0
  37. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.d.ts +10 -0
  38. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.d.ts +10 -0
  39. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.d.ts +10 -0
  40. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.js +3 -0
  41. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.d.ts +11 -0
  42. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.js +3 -0
  43. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.d.ts +14 -0
  44. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.js +3 -0
  45. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/index.d.ts +5 -0
  46. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/index.js +2 -0
  47. package/dist/cjs/api/resources/customer/resources/me/resources/lists/exports.d.ts +3 -0
  48. package/dist/cjs/api/resources/customer/resources/me/resources/lists/exports.js +22 -0
  49. package/dist/cjs/api/resources/customer/resources/me/resources/lists/index.d.ts +3 -0
  50. package/dist/cjs/api/resources/customer/resources/me/resources/lists/index.js +19 -0
  51. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/index.d.ts +3 -0
  52. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/index.js +42 -0
  53. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.d.ts +73 -0
  54. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.js +266 -0
  55. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/index.d.ts +1 -0
  56. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/index.js +17 -0
  57. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.d.ts +13 -0
  58. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.js +3 -0
  59. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.d.ts +13 -0
  60. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.js +3 -0
  61. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.d.ts +14 -0
  62. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.js +3 -0
  63. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.d.ts +3 -0
  64. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.js +2 -0
  65. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/exports.d.ts +2 -0
  66. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/exports.js +21 -0
  67. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/index.d.ts +2 -0
  68. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/index.js +18 -0
  69. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.d.ts +3 -0
  70. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.js +3 -0
  71. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.d.ts +3 -0
  72. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.js +3 -0
  73. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/index.d.ts +2 -0
  74. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/index.js +18 -0
  75. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.d.ts +4 -0
  76. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.js +3 -0
  77. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.d.ts +4 -0
  78. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.js +3 -0
  79. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.d.ts +4 -0
  80. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.js +3 -0
  81. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.d.ts +4 -0
  82. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.js +3 -0
  83. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.d.ts +4 -0
  84. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.js +3 -0
  85. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/index.d.ts +5 -0
  86. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/index.js +21 -0
  87. package/dist/cjs/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.d.ts +4 -0
  88. package/dist/cjs/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.js +3 -0
  89. package/dist/cjs/api/resources/customer/resources/me/types/FavoritesMeRequestSort.d.ts +6 -0
  90. package/dist/cjs/api/resources/customer/resources/me/types/FavoritesMeRequestSort.js +9 -0
  91. package/dist/cjs/api/resources/customer/resources/me/types/index.d.ts +2 -0
  92. package/dist/cjs/api/resources/customer/resources/me/types/index.js +2 -0
  93. package/dist/cjs/api/resources/index.d.ts +3 -0
  94. package/dist/cjs/api/resources/index.js +4 -1
  95. package/dist/cjs/api/resources/publicLists/client/Client.d.ts +34 -0
  96. package/dist/cjs/api/resources/publicLists/client/Client.js +116 -0
  97. package/dist/cjs/api/resources/publicLists/client/index.d.ts +1 -0
  98. package/dist/cjs/api/resources/publicLists/client/index.js +17 -0
  99. package/dist/cjs/api/resources/publicLists/client/requests/GetPublicListsRequest.d.ts +10 -0
  100. package/dist/cjs/api/resources/publicLists/client/requests/GetPublicListsRequest.js +3 -0
  101. package/dist/cjs/api/resources/publicLists/client/requests/index.d.ts +1 -0
  102. package/dist/cjs/api/resources/publicLists/client/requests/index.js +2 -0
  103. package/dist/cjs/api/resources/publicLists/exports.d.ts +2 -0
  104. package/dist/cjs/api/resources/publicLists/exports.js +21 -0
  105. package/dist/cjs/api/resources/publicLists/index.d.ts +2 -0
  106. package/dist/cjs/api/resources/publicLists/index.js +18 -0
  107. package/dist/cjs/api/resources/publicLists/types/GetPublicListsResponse.d.ts +4 -0
  108. package/dist/cjs/api/resources/publicLists/types/GetPublicListsResponse.js +3 -0
  109. package/dist/cjs/api/resources/publicLists/types/index.d.ts +1 -0
  110. package/dist/cjs/api/resources/publicLists/types/index.js +17 -0
  111. package/dist/cjs/api/types/Address.d.ts +2 -2
  112. package/dist/cjs/api/types/BusinessAllergen.d.ts +2 -2
  113. package/dist/cjs/api/types/BusinessBulletin.d.ts +6 -6
  114. package/dist/cjs/api/types/BusinessConversation.d.ts +1 -1
  115. package/dist/cjs/api/types/BusinessEvent.d.ts +11 -11
  116. package/dist/cjs/api/types/BusinessEventRsvp.d.ts +3 -3
  117. package/dist/cjs/api/types/BusinessEventTicketType.d.ts +11 -11
  118. package/dist/cjs/api/types/BusinessList.d.ts +11 -0
  119. package/dist/cjs/api/types/BusinessList.js +3 -0
  120. package/dist/cjs/api/types/BusinessListCollection.d.ts +4 -0
  121. package/dist/cjs/api/types/BusinessListCollection.js +3 -0
  122. package/dist/cjs/api/types/BusinessListDetail.d.ts +12 -0
  123. package/dist/cjs/api/types/BusinessListDetail.js +3 -0
  124. package/dist/cjs/api/types/BusinessListItem.d.ts +7 -0
  125. package/dist/cjs/api/types/BusinessListItem.js +3 -0
  126. package/dist/cjs/api/types/BusinessListMembership.d.ts +14 -0
  127. package/dist/cjs/api/types/BusinessListMembership.js +3 -0
  128. package/dist/cjs/api/types/BusinessMenu.d.ts +2 -2
  129. package/dist/cjs/api/types/BusinessMenuGroup.d.ts +2 -2
  130. package/dist/cjs/api/types/BusinessMenuItem.d.ts +6 -24
  131. package/dist/cjs/api/types/BusinessMenuItemModifier.d.ts +3 -3
  132. package/dist/cjs/api/types/BusinessMenuItemVariation.d.ts +4 -4
  133. package/dist/cjs/api/types/BusinessProfile.d.ts +1 -1
  134. package/dist/cjs/api/types/BusinessStand.d.ts +2 -2
  135. package/dist/cjs/api/types/BusinessStripeConnection.d.ts +15 -15
  136. package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +2 -2
  137. package/dist/cjs/api/types/CartResource.d.ts +2 -2
  138. package/dist/cjs/api/types/Conversation.d.ts +1 -1
  139. package/dist/cjs/api/types/CustomerBulletin.d.ts +1 -1
  140. package/dist/cjs/api/types/CustomerComment.d.ts +2 -2
  141. package/dist/cjs/api/types/CustomerDiscoveryAllergen.d.ts +2 -2
  142. package/dist/cjs/api/types/CustomerEvent.d.ts +1 -1
  143. package/dist/cjs/api/types/CustomerEventRsvp.d.ts +2 -2
  144. package/dist/cjs/api/types/CustomerEventTicketType.d.ts +2 -2
  145. package/dist/cjs/api/types/DiscoveryBusiness.d.ts +3 -3
  146. package/dist/cjs/api/types/FavoriteFacets.d.ts +34 -0
  147. package/dist/cjs/api/types/FavoriteFacets.js +3 -0
  148. package/dist/cjs/api/types/ProductResource.d.ts +5 -5
  149. package/dist/cjs/api/types/PublicBusinessList.d.ts +10 -0
  150. package/dist/cjs/api/types/PublicBusinessList.js +3 -0
  151. package/dist/cjs/api/types/ShippingAccountResource.d.ts +5 -5
  152. package/dist/cjs/api/types/Transaction.d.ts +2 -2
  153. package/dist/cjs/api/types/index.d.ts +7 -2
  154. package/dist/cjs/api/types/index.js +7 -2
  155. package/dist/cjs/version.d.ts +1 -1
  156. package/dist/cjs/version.js +1 -1
  157. package/dist/esm/BaseClient.mjs +2 -2
  158. package/dist/esm/Client.d.mts +3 -0
  159. package/dist/esm/Client.mjs +5 -0
  160. package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +1 -1
  161. package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.mts +1 -1
  162. package/dist/esm/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.mts +1 -0
  163. package/dist/esm/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.mts +1 -0
  164. package/dist/esm/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.mts +1 -1
  165. package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.mts +22 -2
  166. package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.mjs +20 -1
  167. package/dist/esm/api/resources/business/resources/profile/client/requests/index.d.mts +1 -1
  168. package/dist/esm/api/resources/business/resources/profile/client/requests/index.mjs +1 -1
  169. package/dist/esm/api/resources/business/resources/profile/resources/logo/client/requests/UploadLogoRequest.d.mts +1 -0
  170. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.mts +1 -1
  171. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.mts +1 -1
  172. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.mts +22 -2
  173. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.mjs +20 -1
  174. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.d.mts +1 -1
  175. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.mjs +1 -1
  176. package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.mts +1 -0
  177. package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.mts +5 -1
  178. package/dist/esm/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.mts +5 -1
  179. package/dist/esm/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.mts +5 -1
  180. package/dist/esm/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.mts +6 -1
  181. package/dist/esm/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponse.d.mts +1 -1
  182. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.mts +5 -1
  183. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.mts +7 -7
  184. package/dist/esm/api/resources/customer/resources/me/client/Client.d.mts +21 -1
  185. package/dist/esm/api/resources/customer/resources/me/client/Client.mjs +69 -2
  186. package/dist/esm/api/resources/customer/resources/me/client/requests/FavoritesMeRequest.d.mts +8 -4
  187. package/dist/esm/api/resources/customer/resources/me/resources/index.d.mts +3 -0
  188. package/dist/esm/api/resources/customer/resources/me/resources/index.mjs +3 -0
  189. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/Client.d.mts +122 -0
  190. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/Client.mjs +391 -0
  191. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/index.d.mts +1 -0
  192. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/index.mjs +1 -0
  193. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.d.mts +10 -0
  194. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.d.mts +10 -0
  195. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.d.mts +10 -0
  196. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.mjs +2 -0
  197. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.d.mts +11 -0
  198. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.mjs +2 -0
  199. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.d.mts +14 -0
  200. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.mjs +2 -0
  201. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/index.d.mts +5 -0
  202. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/index.mjs +1 -0
  203. package/dist/esm/api/resources/customer/resources/me/resources/lists/exports.d.mts +3 -0
  204. package/dist/esm/api/resources/customer/resources/me/resources/lists/exports.mjs +4 -0
  205. package/dist/esm/api/resources/customer/resources/me/resources/lists/index.d.mts +3 -0
  206. package/dist/esm/api/resources/customer/resources/me/resources/lists/index.mjs +3 -0
  207. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/index.d.mts +3 -0
  208. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/index.mjs +3 -0
  209. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.d.mts +73 -0
  210. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.mjs +229 -0
  211. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/index.d.mts +1 -0
  212. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/index.mjs +1 -0
  213. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.d.mts +13 -0
  214. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.mjs +2 -0
  215. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.d.mts +13 -0
  216. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.mjs +2 -0
  217. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.d.mts +14 -0
  218. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.mjs +2 -0
  219. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.d.mts +3 -0
  220. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.mjs +1 -0
  221. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/exports.d.mts +2 -0
  222. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/exports.mjs +3 -0
  223. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/index.d.mts +2 -0
  224. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/index.mjs +2 -0
  225. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.d.mts +3 -0
  226. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.mjs +2 -0
  227. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.d.mts +3 -0
  228. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.mjs +2 -0
  229. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/index.d.mts +2 -0
  230. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/index.mjs +2 -0
  231. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.d.mts +4 -0
  232. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.mjs +2 -0
  233. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.d.mts +4 -0
  234. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.mjs +2 -0
  235. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.d.mts +4 -0
  236. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.mjs +2 -0
  237. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.d.mts +4 -0
  238. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.mjs +2 -0
  239. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.d.mts +4 -0
  240. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.mjs +2 -0
  241. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/index.d.mts +5 -0
  242. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/index.mjs +5 -0
  243. package/dist/esm/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.d.mts +4 -0
  244. package/dist/esm/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.mjs +2 -0
  245. package/dist/esm/api/resources/customer/resources/me/types/FavoritesMeRequestSort.d.mts +6 -0
  246. package/dist/esm/api/resources/customer/resources/me/types/FavoritesMeRequestSort.mjs +6 -0
  247. package/dist/esm/api/resources/customer/resources/me/types/index.d.mts +2 -0
  248. package/dist/esm/api/resources/customer/resources/me/types/index.mjs +2 -0
  249. package/dist/esm/api/resources/index.d.mts +3 -0
  250. package/dist/esm/api/resources/index.mjs +3 -0
  251. package/dist/esm/api/resources/publicLists/client/Client.d.mts +34 -0
  252. package/dist/esm/api/resources/publicLists/client/Client.mjs +79 -0
  253. package/dist/esm/api/resources/publicLists/client/index.d.mts +1 -0
  254. package/dist/esm/api/resources/publicLists/client/index.mjs +1 -0
  255. package/dist/esm/api/resources/publicLists/client/requests/GetPublicListsRequest.d.mts +10 -0
  256. package/dist/esm/api/resources/publicLists/client/requests/GetPublicListsRequest.mjs +2 -0
  257. package/dist/esm/api/resources/publicLists/client/requests/index.d.mts +1 -0
  258. package/dist/esm/api/resources/publicLists/client/requests/index.mjs +1 -0
  259. package/dist/esm/api/resources/publicLists/exports.d.mts +2 -0
  260. package/dist/esm/api/resources/publicLists/exports.mjs +3 -0
  261. package/dist/esm/api/resources/publicLists/index.d.mts +2 -0
  262. package/dist/esm/api/resources/publicLists/index.mjs +2 -0
  263. package/dist/esm/api/resources/publicLists/types/GetPublicListsResponse.d.mts +4 -0
  264. package/dist/esm/api/resources/publicLists/types/GetPublicListsResponse.mjs +2 -0
  265. package/dist/esm/api/resources/publicLists/types/index.d.mts +1 -0
  266. package/dist/esm/api/resources/publicLists/types/index.mjs +1 -0
  267. package/dist/esm/api/types/Address.d.mts +2 -2
  268. package/dist/esm/api/types/BusinessAllergen.d.mts +2 -2
  269. package/dist/esm/api/types/BusinessBulletin.d.mts +6 -6
  270. package/dist/esm/api/types/BusinessConversation.d.mts +1 -1
  271. package/dist/esm/api/types/BusinessEvent.d.mts +11 -11
  272. package/dist/esm/api/types/BusinessEventRsvp.d.mts +3 -3
  273. package/dist/esm/api/types/BusinessEventTicketType.d.mts +11 -11
  274. package/dist/esm/api/types/BusinessList.d.mts +11 -0
  275. package/dist/esm/api/types/BusinessList.mjs +2 -0
  276. package/dist/esm/api/types/BusinessListCollection.d.mts +4 -0
  277. package/dist/esm/api/types/BusinessListCollection.mjs +2 -0
  278. package/dist/esm/api/types/BusinessListDetail.d.mts +12 -0
  279. package/dist/esm/api/types/BusinessListDetail.mjs +2 -0
  280. package/dist/esm/api/types/BusinessListItem.d.mts +7 -0
  281. package/dist/esm/api/types/BusinessListItem.mjs +2 -0
  282. package/dist/esm/api/types/BusinessListMembership.d.mts +14 -0
  283. package/dist/esm/api/types/BusinessListMembership.mjs +2 -0
  284. package/dist/esm/api/types/BusinessMenu.d.mts +2 -2
  285. package/dist/esm/api/types/BusinessMenuGroup.d.mts +2 -2
  286. package/dist/esm/api/types/BusinessMenuItem.d.mts +6 -24
  287. package/dist/esm/api/types/BusinessMenuItemModifier.d.mts +3 -3
  288. package/dist/esm/api/types/BusinessMenuItemVariation.d.mts +4 -4
  289. package/dist/esm/api/types/BusinessProfile.d.mts +1 -1
  290. package/dist/esm/api/types/BusinessStand.d.mts +2 -2
  291. package/dist/esm/api/types/BusinessStripeConnection.d.mts +15 -15
  292. package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +2 -2
  293. package/dist/esm/api/types/CartResource.d.mts +2 -2
  294. package/dist/esm/api/types/Conversation.d.mts +1 -1
  295. package/dist/esm/api/types/CustomerBulletin.d.mts +1 -1
  296. package/dist/esm/api/types/CustomerComment.d.mts +2 -2
  297. package/dist/esm/api/types/CustomerDiscoveryAllergen.d.mts +2 -2
  298. package/dist/esm/api/types/CustomerEvent.d.mts +1 -1
  299. package/dist/esm/api/types/CustomerEventRsvp.d.mts +2 -2
  300. package/dist/esm/api/types/CustomerEventTicketType.d.mts +2 -2
  301. package/dist/esm/api/types/DiscoveryBusiness.d.mts +3 -3
  302. package/dist/esm/api/types/FavoriteFacets.d.mts +34 -0
  303. package/dist/esm/api/types/FavoriteFacets.mjs +2 -0
  304. package/dist/esm/api/types/ProductResource.d.mts +5 -5
  305. package/dist/esm/api/types/PublicBusinessList.d.mts +10 -0
  306. package/dist/esm/api/types/PublicBusinessList.mjs +2 -0
  307. package/dist/esm/api/types/ShippingAccountResource.d.mts +5 -5
  308. package/dist/esm/api/types/Transaction.d.mts +2 -2
  309. package/dist/esm/api/types/index.d.mts +7 -2
  310. package/dist/esm/api/types/index.mjs +7 -2
  311. package/dist/esm/version.d.mts +1 -1
  312. package/dist/esm/version.mjs +1 -1
  313. package/package.json +34 -1
  314. package/reference.md +818 -90
  315. package/dist/cjs/api/types/Allergen.d.ts +0 -10
  316. package/dist/cjs/api/types/Image.d.ts +0 -16
  317. package/dist/esm/api/types/Allergen.d.mts +0 -10
  318. package/dist/esm/api/types/Image.d.mts +0 -16
  319. /package/dist/cjs/api/{types/Allergen.js → resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.js} +0 -0
  320. /package/dist/cjs/api/{types/Image.js → resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.js} +0 -0
  321. /package/dist/esm/api/{types/Allergen.mjs → resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.mjs} +0 -0
  322. /package/dist/esm/api/{types/Image.mjs → resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.mjs} +0 -0
@@ -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;
@@ -12,6 +12,6 @@ export interface BusinessStand {
12
12
  notes: string | null;
13
13
  is_active: boolean;
14
14
  product_ids?: string[] | undefined;
15
- created_at: string | null;
16
- updated_at: string | null;
15
+ created_at: string;
16
+ updated_at: string;
17
17
  }
@@ -1,18 +1,18 @@
1
1
  export interface BusinessStripeConnection {
2
- id: number;
2
+ id: string;
3
3
  stripe_account_id: string;
4
- charges_enabled: boolean;
5
- payouts_enabled: boolean;
6
- details_submitted: boolean;
7
- is_ready: boolean;
8
- is_active: boolean;
9
- requirements: unknown[] | null;
10
- capabilities: unknown[] | null;
11
- country: string | null;
12
- default_currency: string | null;
13
- email: string | null;
14
- deauthorized_at: string | null;
15
- stripe_updated_at: string | null;
16
- created_at: string | null;
17
- updated_at: string | null;
4
+ charges_enabled: string;
5
+ payouts_enabled: string;
6
+ details_submitted: string;
7
+ is_ready: string;
8
+ is_active: string;
9
+ requirements: string;
10
+ capabilities: string;
11
+ country: string;
12
+ default_currency: string;
13
+ email: string;
14
+ deauthorized_at: string;
15
+ stripe_updated_at: string;
16
+ created_at: string;
17
+ updated_at: string;
18
18
  }
@@ -13,8 +13,8 @@ export interface BusinessTemporaryLocation {
13
13
  full_address: string;
14
14
  starts_at: string;
15
15
  ends_at: string;
16
- created_at: string | null;
17
- updated_at: string | null;
16
+ created_at: string;
17
+ updated_at: string;
18
18
  }
19
19
  export declare namespace BusinessTemporaryLocation {
20
20
  namespace Hours {
@@ -12,10 +12,10 @@ export declare namespace CartResource {
12
12
  id: string;
13
13
  variant_id: string | null;
14
14
  variant_name: string | null;
15
- product_name: string;
15
+ product_name: string | null;
16
16
  quantity: number;
17
17
  unit_price_cents: number;
18
- total_cents: string;
18
+ total_cents: number;
19
19
  }
20
20
  }
21
21
  }
@@ -16,6 +16,6 @@ export declare namespace Conversation {
16
16
  interface LastMessage {
17
17
  id: string;
18
18
  content: string;
19
- created_at: string | null;
19
+ created_at: string;
20
20
  }
21
21
  }
@@ -2,5 +2,5 @@ export interface CustomerBulletin {
2
2
  id: string;
3
3
  title: string | null;
4
4
  content: string | null;
5
- published_at: string | null;
5
+ published_at: string;
6
6
  }
@@ -1,10 +1,10 @@
1
1
  import type * as FiveOneEat from "../index.js";
2
2
  export interface CustomerComment {
3
3
  id: string;
4
- parent_id: string | null;
4
+ parent_id: string;
5
5
  body: string;
6
6
  user: CustomerComment.User;
7
- created_at: string | null;
7
+ created_at: string;
8
8
  replies?: FiveOneEat.CustomerBulletinCommentReply[] | undefined;
9
9
  }
10
10
  export declare namespace CustomerComment {
@@ -2,7 +2,7 @@ export interface CustomerDiscoveryAllergen {
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
  }
@@ -9,7 +9,7 @@ export interface CustomerEvent {
9
9
  ticket_sales_enabled: boolean;
10
10
  image: string | null;
11
11
  rsvp_count: number;
12
- user_rsvp_status?: string | undefined;
12
+ user_rsvp_status?: (string | null) | undefined;
13
13
  user_has_tickets?: boolean | undefined;
14
14
  ticket_price_from?: string | undefined;
15
15
  }
@@ -2,6 +2,6 @@ export interface CustomerEventRsvp {
2
2
  id: string;
3
3
  status: string;
4
4
  notes: string | null;
5
- created_at: string | null;
6
- updated_at: string | null;
5
+ created_at: string;
6
+ updated_at: string;
7
7
  }
@@ -5,6 +5,6 @@ export interface CustomerEventTicketType {
5
5
  price: string;
6
6
  remaining_quantity: number | null;
7
7
  is_available_for_sale: boolean;
8
- sales_start_at: string | null;
9
- sales_end_at: string | null;
8
+ sales_start_at: string;
9
+ sales_end_at: string;
10
10
  }
@@ -8,9 +8,9 @@ export interface DiscoveryBusiness {
8
8
  bio: string | null;
9
9
  location: DiscoveryBusiness.Location;
10
10
  logo: string | null;
11
- photos: DiscoveryBusiness.Photos.Item[];
12
- has_bulletins: boolean;
13
- latest_bulletin: DiscoveryBusiness.LatestBulletin | null;
11
+ photos?: DiscoveryBusiness.Photos.Item[] | undefined;
12
+ has_bulletins?: boolean | undefined;
13
+ latest_bulletin?: (DiscoveryBusiness.LatestBulletin | null) | undefined;
14
14
  badges: DiscoveryBusiness.Badges;
15
15
  created_at: string;
16
16
  editorial?: (DiscoveryBusiness.Editorial | null) | undefined;
@@ -0,0 +1,34 @@
1
+ export interface FavoriteFacets {
2
+ categories: FavoriteFacets.Categories.Item[];
3
+ cuisines: FavoriteFacets.Cuisines.Item[];
4
+ certifications: FavoriteFacets.Certifications.Item[];
5
+ }
6
+ export declare namespace FavoriteFacets {
7
+ type Categories = Categories.Item[];
8
+ namespace Categories {
9
+ interface Item {
10
+ id: number;
11
+ name: string;
12
+ slug: string;
13
+ count: number;
14
+ }
15
+ }
16
+ type Cuisines = Cuisines.Item[];
17
+ namespace Cuisines {
18
+ interface Item {
19
+ id: number;
20
+ name: string;
21
+ slug: string;
22
+ count: number;
23
+ }
24
+ }
25
+ type Certifications = Certifications.Item[];
26
+ namespace Certifications {
27
+ interface Item {
28
+ id: number;
29
+ name: string;
30
+ slug: string;
31
+ count: number;
32
+ }
33
+ }
34
+ }
@@ -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 });
@@ -2,15 +2,15 @@ export interface ProductResource {
2
2
  id: string;
3
3
  name: string;
4
4
  slug: string;
5
- description: string;
5
+ description: string | null;
6
6
  is_active: boolean;
7
- published_at: string;
7
+ published_at: string | null;
8
8
  metadata: Record<string, unknown> | null;
9
- product_category_id: string;
9
+ product_category_id: string | null;
10
10
  category?: unknown[] | undefined;
11
11
  images?: unknown[] | undefined;
12
12
  variants?: unknown[] | undefined;
13
13
  default_variant?: unknown[] | undefined;
14
- created_at: string;
15
- updated_at: string;
14
+ created_at: string | null;
15
+ updated_at: string | null;
16
16
  }
@@ -0,0 +1,10 @@
1
+ import type * as FiveOneEat from "../index.js";
2
+ export interface PublicBusinessList {
3
+ id: string;
4
+ name: string;
5
+ description: string | null;
6
+ slug: string;
7
+ owner_name: string;
8
+ items?: FiveOneEat.BusinessListItem[] | undefined;
9
+ created_at: 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 });
@@ -1,10 +1,10 @@
1
1
  export interface ShippingAccountResource {
2
2
  id: string;
3
3
  ship_from_name: string;
4
- ship_from_phone: string | null;
5
- is_active: boolean;
6
- live_rates_enabled: boolean;
4
+ ship_from_phone: string;
5
+ is_active: string;
6
+ live_rates_enabled: string;
7
7
  card?: string | undefined;
8
- created_at: string | null;
9
- updated_at: string | null;
8
+ created_at: string;
9
+ updated_at: string;
10
10
  }
@@ -10,7 +10,7 @@ export interface Transaction {
10
10
  customer_name: string | null;
11
11
  customer_email: string;
12
12
  stripe_payment_intent_id: string | null;
13
- payment_completed_at: string | null;
14
- refunded_at: string | null;
13
+ payment_completed_at: string;
14
+ refunded_at: string;
15
15
  refund_reason: string | null;
16
16
  }
@@ -1,7 +1,6 @@
1
1
  export * from "./Ad.js";
2
2
  export * from "./Address.js";
3
3
  export * from "./AddressCollection.js";
4
- export * from "./Allergen.js";
5
4
  export * from "./AppHttpResourcesApiV1BusinessCommerceProductResource.js";
6
5
  export * from "./BardBlockquoteNode.js";
7
6
  export * from "./BardBody.js";
@@ -50,6 +49,11 @@ export * from "./BusinessEventTicketType.js";
50
49
  export * from "./BusinessHourExceptionResource.js";
51
50
  export * from "./BusinessHourSlotResource.js";
52
51
  export * from "./BusinessHoursResource.js";
52
+ export * from "./BusinessList.js";
53
+ export * from "./BusinessListCollection.js";
54
+ export * from "./BusinessListDetail.js";
55
+ export * from "./BusinessListItem.js";
56
+ export * from "./BusinessListMembership.js";
53
57
  export * from "./BusinessLoginResponse.js";
54
58
  export * from "./BusinessMe.js";
55
59
  export * from "./BusinessMenu.js";
@@ -115,9 +119,9 @@ export * from "./ExploreBusiness.js";
115
119
  export * from "./ExploreEvent.js";
116
120
  export * from "./ExploreResponse.js";
117
121
  export * from "./ExploreTemporaryLocation.js";
122
+ export * from "./FavoriteFacets.js";
118
123
  export * from "./FavoriteResponse.js";
119
124
  export * from "./ForbiddenErrorBody.js";
120
- export * from "./Image.js";
121
125
  export * from "./InternalServerErrorBody.js";
122
126
  export * from "./InventoryLevelResource.js";
123
127
  export * from "./MenuItemSearchResult.js";
@@ -131,6 +135,7 @@ export * from "./PriceListResource.js";
131
135
  export * from "./PriceResource.js";
132
136
  export * from "./ProductResource.js";
133
137
  export * from "./ProductSearchResult.js";
138
+ export * from "./PublicBusinessList.js";
134
139
  export * from "./RsvpEvent.js";
135
140
  export * from "./RsvpItem.js";
136
141
  export * from "./RsvpResponse.js";
@@ -17,7 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Ad.js"), exports);
18
18
  __exportStar(require("./Address.js"), exports);
19
19
  __exportStar(require("./AddressCollection.js"), exports);
20
- __exportStar(require("./Allergen.js"), exports);
21
20
  __exportStar(require("./AppHttpResourcesApiV1BusinessCommerceProductResource.js"), exports);
22
21
  __exportStar(require("./BardBlockquoteNode.js"), exports);
23
22
  __exportStar(require("./BardBody.js"), exports);
@@ -66,6 +65,11 @@ __exportStar(require("./BusinessEventTicketType.js"), exports);
66
65
  __exportStar(require("./BusinessHourExceptionResource.js"), exports);
67
66
  __exportStar(require("./BusinessHourSlotResource.js"), exports);
68
67
  __exportStar(require("./BusinessHoursResource.js"), exports);
68
+ __exportStar(require("./BusinessList.js"), exports);
69
+ __exportStar(require("./BusinessListCollection.js"), exports);
70
+ __exportStar(require("./BusinessListDetail.js"), exports);
71
+ __exportStar(require("./BusinessListItem.js"), exports);
72
+ __exportStar(require("./BusinessListMembership.js"), exports);
69
73
  __exportStar(require("./BusinessLoginResponse.js"), exports);
70
74
  __exportStar(require("./BusinessMe.js"), exports);
71
75
  __exportStar(require("./BusinessMenu.js"), exports);
@@ -131,9 +135,9 @@ __exportStar(require("./ExploreBusiness.js"), exports);
131
135
  __exportStar(require("./ExploreEvent.js"), exports);
132
136
  __exportStar(require("./ExploreResponse.js"), exports);
133
137
  __exportStar(require("./ExploreTemporaryLocation.js"), exports);
138
+ __exportStar(require("./FavoriteFacets.js"), exports);
134
139
  __exportStar(require("./FavoriteResponse.js"), exports);
135
140
  __exportStar(require("./ForbiddenErrorBody.js"), exports);
136
- __exportStar(require("./Image.js"), exports);
137
141
  __exportStar(require("./InternalServerErrorBody.js"), exports);
138
142
  __exportStar(require("./InventoryLevelResource.js"), exports);
139
143
  __exportStar(require("./MenuItemSearchResult.js"), exports);
@@ -147,6 +151,7 @@ __exportStar(require("./PriceListResource.js"), exports);
147
151
  __exportStar(require("./PriceResource.js"), exports);
148
152
  __exportStar(require("./ProductResource.js"), exports);
149
153
  __exportStar(require("./ProductSearchResult.js"), exports);
154
+ __exportStar(require("./PublicBusinessList.js"), exports);
150
155
  __exportStar(require("./RsvpEvent.js"), exports);
151
156
  __exportStar(require("./RsvpItem.js"), exports);
152
157
  __exportStar(require("./RsvpResponse.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.74";
1
+ export declare const SDK_VERSION = "0.0.76";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.74";
4
+ exports.SDK_VERSION = "0.0.76";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@51eat/sdk",
9
- "X-Fern-SDK-Version": "0.0.74",
10
- "User-Agent": "@51eat/sdk/0.0.74",
9
+ "X-Fern-SDK-Version": "0.0.76",
10
+ "User-Agent": "@51eat/sdk/0.0.76",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,6 +1,7 @@
1
1
  import { BusinessClient } from "./api/resources/business/client/Client.mjs";
2
2
  import { CustomerClient } from "./api/resources/customer/client/Client.mjs";
3
3
  import { CustomerStandsClient } from "./api/resources/customerStands/client/Client.mjs";
4
+ import { PublicListsClient } from "./api/resources/publicLists/client/Client.mjs";
4
5
  import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
5
6
  import { type NormalizedClientOptionsWithAuth } from "./BaseClient.mjs";
6
7
  import * as core from "./core/index.mjs";
@@ -13,10 +14,12 @@ export declare class FiveOneEatClient {
13
14
  protected readonly _options: NormalizedClientOptionsWithAuth<FiveOneEatClient.Options>;
14
15
  protected _customer: CustomerClient | undefined;
15
16
  protected _customerStands: CustomerStandsClient | undefined;
17
+ protected _publicLists: PublicListsClient | undefined;
16
18
  protected _business: BusinessClient | undefined;
17
19
  constructor(options?: FiveOneEatClient.Options);
18
20
  get customer(): CustomerClient;
19
21
  get customerStands(): CustomerStandsClient;
22
+ get publicLists(): PublicListsClient;
20
23
  get business(): BusinessClient;
21
24
  /**
22
25
  * Make a passthrough request using the SDK's configured auth, retry, logging, etc.
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  import { BusinessClient } from "./api/resources/business/client/Client.mjs";
12
12
  import { CustomerClient } from "./api/resources/customer/client/Client.mjs";
13
13
  import { CustomerStandsClient } from "./api/resources/customerStands/client/Client.mjs";
14
+ import { PublicListsClient } from "./api/resources/publicLists/client/Client.mjs";
14
15
  import { normalizeClientOptionsWithAuth } from "./BaseClient.mjs";
15
16
  import * as core from "./core/index.mjs";
16
17
  export class FiveOneEatClient {
@@ -25,6 +26,10 @@ export class FiveOneEatClient {
25
26
  var _a;
26
27
  return ((_a = this._customerStands) !== null && _a !== void 0 ? _a : (this._customerStands = new CustomerStandsClient(this._options)));
27
28
  }
29
+ get publicLists() {
30
+ var _a;
31
+ return ((_a = this._publicLists) !== null && _a !== void 0 ? _a : (this._publicLists = new PublicListsClient(this._options)));
32
+ }
28
33
  get business() {
29
34
  var _a;
30
35
  return ((_a = this._business) !== null && _a !== void 0 ? _a : (this._business = new BusinessClient(this._options)));
@@ -9,6 +9,7 @@
9
9
  export interface StoreBusinessRequest {
10
10
  name: string;
11
11
  handle: string;
12
+ category_ids: number[];
12
13
  email?: string | null;
13
14
  phone?: string | null;
14
15
  website?: string | null;
@@ -22,7 +23,6 @@ export interface StoreBusinessRequest {
22
23
  longitude?: number | null;
23
24
  has_location?: boolean;
24
25
  seasonal?: boolean;
25
- category_ids: number[];
26
26
  operating_months?: StoreBusinessRequest.OperatingMonths.Item[] | null;
27
27
  }
28
28
  export declare namespace StoreBusinessRequest {
@@ -12,6 +12,7 @@ export interface UpdateBusinessRequest {
12
12
  business: string;
13
13
  name: string;
14
14
  handle: string;
15
+ category_ids: number[];
15
16
  email?: string | null;
16
17
  phone?: string | null;
17
18
  website?: string | null;
@@ -32,7 +33,6 @@ export interface UpdateBusinessRequest {
32
33
  longitude?: number | null;
33
34
  has_location?: boolean;
34
35
  seasonal?: boolean;
35
- category_ids: number[];
36
36
  operating_months?: UpdateBusinessRequest.OperatingMonths.Item[] | null;
37
37
  certification_ids?: number[] | null;
38
38
  cuisine_ids?: number[] | null;
@@ -9,6 +9,7 @@ import type * as core from "../../../../../../../core/index.mjs";
9
9
  export interface UploadEventImageRequest {
10
10
  /** The event ID */
11
11
  event: string;
12
+ /** Maximum file size: 10240 kilobytes. */
12
13
  image: core.file.Uploadable;
13
14
  alt_text?: string | null;
14
15
  }
@@ -6,6 +6,7 @@ import type * as core from "../../../../../../../core/index.mjs";
6
6
  * }
7
7
  */
8
8
  export interface StoreGalleryPhotoRequest {
9
+ /** Maximum file size: 10240 kilobytes. */
9
10
  photo: core.file.Uploadable;
10
11
  alt_text?: string | null;
11
12
  }
@@ -2,7 +2,7 @@ export interface GetLabelRatesProductOrdersResponseItem {
2
2
  provider_rate_id: string;
3
3
  carrier: string;
4
4
  service: string;
5
- amount: string;
5
+ amount: number;
6
6
  amount_cents: number;
7
7
  currency: string;
8
8
  carrier_delivery_days: number | null;
@@ -5,6 +5,7 @@
5
5
  export interface UpdateBusinessProfileRequest {
6
6
  name?: string;
7
7
  handle?: string;
8
+ category_ids?: number[];
8
9
  phone?: string | null;
9
10
  email?: string | null;
10
11
  website?: string | null;
@@ -25,10 +26,29 @@ export interface UpdateBusinessProfileRequest {
25
26
  longitude?: number | null;
26
27
  has_location?: boolean;
27
28
  seasonal?: boolean;
29
+ operating_months?: UpdateBusinessProfileRequest.OperatingMonths.Item[] | null;
28
30
  pickup_enabled?: boolean;
29
31
  pickup_hours?: string[] | null;
30
32
  same_day_cutoff?: string | null;
31
33
  pickup_instructions?: string | null;
32
- category_ids?: number[];
33
- operating_months?: number[] | null;
34
+ }
35
+ export declare namespace UpdateBusinessProfileRequest {
36
+ type OperatingMonths = OperatingMonths.Item[];
37
+ namespace OperatingMonths {
38
+ const Item: {
39
+ readonly January: "january";
40
+ readonly February: "february";
41
+ readonly March: "march";
42
+ readonly April: "april";
43
+ readonly May: "may";
44
+ readonly June: "june";
45
+ readonly July: "july";
46
+ readonly August: "august";
47
+ readonly September: "september";
48
+ readonly October: "october";
49
+ readonly November: "november";
50
+ readonly December: "december";
51
+ };
52
+ type Item = (typeof Item)[keyof typeof Item];
53
+ }
34
54
  }
@@ -1,2 +1,21 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export {};
2
+ export var UpdateBusinessProfileRequest;
3
+ (function (UpdateBusinessProfileRequest) {
4
+ let OperatingMonths;
5
+ (function (OperatingMonths) {
6
+ OperatingMonths.Item = {
7
+ January: "january",
8
+ February: "february",
9
+ March: "march",
10
+ April: "april",
11
+ May: "may",
12
+ June: "june",
13
+ July: "july",
14
+ August: "august",
15
+ September: "september",
16
+ October: "october",
17
+ November: "november",
18
+ December: "december",
19
+ };
20
+ })(OperatingMonths = UpdateBusinessProfileRequest.OperatingMonths || (UpdateBusinessProfileRequest.OperatingMonths = {}));
21
+ })(UpdateBusinessProfileRequest || (UpdateBusinessProfileRequest = {}));
@@ -1,3 +1,3 @@
1
1
  export type { SyncCertificationsRequest } from "./SyncCertificationsRequest.mjs";
2
2
  export type { SyncCuisinesRequest } from "./SyncCuisinesRequest.mjs";
3
- export type { UpdateBusinessProfileRequest } from "./UpdateBusinessProfileRequest.mjs";
3
+ export { UpdateBusinessProfileRequest } from "./UpdateBusinessProfileRequest.mjs";