@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
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@51eat/sdk",
46
- "X-Fern-SDK-Version": "0.0.74",
47
- "User-Agent": "@51eat/sdk/0.0.74",
46
+ "X-Fern-SDK-Version": "0.0.76",
47
+ "User-Agent": "@51eat/sdk/0.0.76",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,6 +1,7 @@
1
1
  import { BusinessClient } from "./api/resources/business/client/Client.js";
2
2
  import { CustomerClient } from "./api/resources/customer/client/Client.js";
3
3
  import { CustomerStandsClient } from "./api/resources/customerStands/client/Client.js";
4
+ import { PublicListsClient } from "./api/resources/publicLists/client/Client.js";
4
5
  import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
5
6
  import { type NormalizedClientOptionsWithAuth } from "./BaseClient.js";
6
7
  import * as core from "./core/index.js";
@@ -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.
@@ -47,6 +47,7 @@ exports.FiveOneEatClient = void 0;
47
47
  const Client_js_1 = require("./api/resources/business/client/Client.js");
48
48
  const Client_js_2 = require("./api/resources/customer/client/Client.js");
49
49
  const Client_js_3 = require("./api/resources/customerStands/client/Client.js");
50
+ const Client_js_4 = require("./api/resources/publicLists/client/Client.js");
50
51
  const BaseClient_js_1 = require("./BaseClient.js");
51
52
  const core = __importStar(require("./core/index.js"));
52
53
  class FiveOneEatClient {
@@ -61,6 +62,10 @@ class FiveOneEatClient {
61
62
  var _a;
62
63
  return ((_a = this._customerStands) !== null && _a !== void 0 ? _a : (this._customerStands = new Client_js_3.CustomerStandsClient(this._options)));
63
64
  }
65
+ get publicLists() {
66
+ var _a;
67
+ return ((_a = this._publicLists) !== null && _a !== void 0 ? _a : (this._publicLists = new Client_js_4.PublicListsClient(this._options)));
68
+ }
64
69
  get business() {
65
70
  var _a;
66
71
  return ((_a = this._business) !== null && _a !== void 0 ? _a : (this._business = new Client_js_1.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.js";
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.js";
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,3 +1,24 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.UpdateBusinessProfileRequest = void 0;
5
+ var UpdateBusinessProfileRequest;
6
+ (function (UpdateBusinessProfileRequest) {
7
+ let OperatingMonths;
8
+ (function (OperatingMonths) {
9
+ OperatingMonths.Item = {
10
+ January: "january",
11
+ February: "february",
12
+ March: "march",
13
+ April: "april",
14
+ May: "may",
15
+ June: "june",
16
+ July: "july",
17
+ August: "august",
18
+ September: "september",
19
+ October: "october",
20
+ November: "november",
21
+ December: "december",
22
+ };
23
+ })(OperatingMonths = UpdateBusinessProfileRequest.OperatingMonths || (UpdateBusinessProfileRequest.OperatingMonths = {}));
24
+ })(UpdateBusinessProfileRequest || (exports.UpdateBusinessProfileRequest = UpdateBusinessProfileRequest = {}));
@@ -1,3 +1,3 @@
1
1
  export type { SyncCertificationsRequest } from "./SyncCertificationsRequest.js";
2
2
  export type { SyncCuisinesRequest } from "./SyncCuisinesRequest.js";
3
- export type { UpdateBusinessProfileRequest } from "./UpdateBusinessProfileRequest.js";
3
+ export { UpdateBusinessProfileRequest } from "./UpdateBusinessProfileRequest.js";
@@ -1,2 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateBusinessProfileRequest = void 0;
4
+ var UpdateBusinessProfileRequest_js_1 = require("./UpdateBusinessProfileRequest.js");
5
+ Object.defineProperty(exports, "UpdateBusinessProfileRequest", { enumerable: true, get: function () { return UpdateBusinessProfileRequest_js_1.UpdateBusinessProfileRequest; } });
@@ -6,5 +6,6 @@ import type * as core from "../../../../../../../../../core/index.js";
6
6
  * }
7
7
  */
8
8
  export interface UploadLogoRequest {
9
+ /** Maximum file size: 5120 kilobytes. */
9
10
  logo: core.file.Uploadable;
10
11
  }
@@ -16,9 +16,9 @@ export interface StoreTemporaryLocationRequest {
16
16
  country?: string | null;
17
17
  latitude?: number | null;
18
18
  longitude?: number | null;
19
+ hours?: StoreTemporaryLocationRequest.Hours.Item[] | null;
19
20
  starts_at: string;
20
21
  ends_at: string;
21
- hours?: StoreTemporaryLocationRequest.Hours.Item[] | null;
22
22
  }
23
23
  export declare namespace StoreTemporaryLocationRequest {
24
24
  type Hours = Hours.Item[];
@@ -16,9 +16,9 @@ export interface UpdateTemporaryLocationRequest {
16
16
  country?: string | null;
17
17
  latitude?: number | null;
18
18
  longitude?: number | null;
19
+ hours?: UpdateTemporaryLocationRequest.Hours.Item[] | null;
19
20
  starts_at?: string;
20
21
  ends_at?: string;
21
- hours?: UpdateTemporaryLocationRequest.Hours.Item[] | null;
22
22
  }
23
23
  export declare namespace UpdateTemporaryLocationRequest {
24
24
  type Hours = Hours.Item[];
@@ -23,7 +23,9 @@ export interface StoreBusinessSubmissionRequest {
23
23
  phone?: string | null;
24
24
  website?: string | null;
25
25
  description?: string | null;
26
+ category_slugs?: string[] | null;
26
27
  hours?: string[] | null;
28
+ operating_months?: StoreBusinessSubmissionRequest.OperatingMonths.Item[] | null;
27
29
  seasonal?: boolean | null;
28
30
  has_location?: boolean | null;
29
31
  facebook_url?: string | null;
@@ -32,6 +34,24 @@ export interface StoreBusinessSubmissionRequest {
32
34
  tiktok_url?: string | null;
33
35
  youtube_url?: string | null;
34
36
  linkedin_url?: string | null;
35
- category_slugs?: string[] | null;
36
- operating_months?: number[] | null;
37
+ }
38
+ export declare namespace StoreBusinessSubmissionRequest {
39
+ type OperatingMonths = OperatingMonths.Item[];
40
+ namespace OperatingMonths {
41
+ const Item: {
42
+ readonly January: "january";
43
+ readonly February: "february";
44
+ readonly March: "march";
45
+ readonly April: "april";
46
+ readonly May: "may";
47
+ readonly June: "june";
48
+ readonly July: "july";
49
+ readonly August: "august";
50
+ readonly September: "september";
51
+ readonly October: "october";
52
+ readonly November: "november";
53
+ readonly December: "december";
54
+ };
55
+ type Item = (typeof Item)[keyof typeof Item];
56
+ }
37
57
  }
@@ -1,3 +1,24 @@
1
1
  "use strict";
2
2
  // This file was auto-generated by Fern from our API Definition.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.StoreBusinessSubmissionRequest = void 0;
5
+ var StoreBusinessSubmissionRequest;
6
+ (function (StoreBusinessSubmissionRequest) {
7
+ let OperatingMonths;
8
+ (function (OperatingMonths) {
9
+ OperatingMonths.Item = {
10
+ January: "january",
11
+ February: "february",
12
+ March: "march",
13
+ April: "april",
14
+ May: "may",
15
+ June: "june",
16
+ July: "july",
17
+ August: "august",
18
+ September: "september",
19
+ October: "october",
20
+ November: "november",
21
+ December: "december",
22
+ };
23
+ })(OperatingMonths = StoreBusinessSubmissionRequest.OperatingMonths || (StoreBusinessSubmissionRequest.OperatingMonths = {}));
24
+ })(StoreBusinessSubmissionRequest || (exports.StoreBusinessSubmissionRequest = StoreBusinessSubmissionRequest = {}));
@@ -1,2 +1,2 @@
1
1
  export type { GetBusinessSubmissionsRequest } from "./GetBusinessSubmissionsRequest.js";
2
- export type { StoreBusinessSubmissionRequest } from "./StoreBusinessSubmissionRequest.js";
2
+ export { StoreBusinessSubmissionRequest } from "./StoreBusinessSubmissionRequest.js";
@@ -1,2 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StoreBusinessSubmissionRequest = void 0;
4
+ var StoreBusinessSubmissionRequest_js_1 = require("./StoreBusinessSubmissionRequest.js");
5
+ Object.defineProperty(exports, "StoreBusinessSubmissionRequest", { enumerable: true, get: function () { return StoreBusinessSubmissionRequest_js_1.StoreBusinessSubmissionRequest; } });
@@ -9,6 +9,7 @@ import type * as core from "../../../../../../../../../core/index.js";
9
9
  export interface UploadSubmissionPhotoRequest {
10
10
  /** The business ID */
11
11
  business: string;
12
+ /** Maximum file size: 10240 kilobytes. */
12
13
  image: core.file.Uploadable;
13
14
  alt_text?: string | null;
14
15
  }
@@ -1,4 +1,8 @@
1
1
  import type * as FiveOneEat from "../../../../../../../index.js";
2
2
  export interface UploadPhotosResponse {
3
- data: FiveOneEat.CustomerBusinessSubmission;
3
+ data: UploadPhotosResponse.Data;
4
+ }
5
+ export declare namespace UploadPhotosResponse {
6
+ interface Data extends FiveOneEat.CustomerBusinessSubmission {
7
+ }
4
8
  }
@@ -1,4 +1,8 @@
1
1
  import type * as FiveOneEat from "../../../../../index.js";
2
2
  export interface CreateBusinessSubmissionsResponse {
3
- data: FiveOneEat.CustomerBusinessSubmission;
3
+ data: CreateBusinessSubmissionsResponse.Data;
4
+ }
5
+ export declare namespace CreateBusinessSubmissionsResponse {
6
+ interface Data extends FiveOneEat.CustomerBusinessSubmission {
7
+ }
4
8
  }
@@ -1,4 +1,8 @@
1
1
  import type * as FiveOneEat from "../../../../../index.js";
2
2
  export interface GetBusinessSubmissionsResponse {
3
- data: FiveOneEat.CustomerBusinessSubmission;
3
+ data: GetBusinessSubmissionsResponse.Data;
4
+ }
5
+ export declare namespace GetBusinessSubmissionsResponse {
6
+ interface Data extends FiveOneEat.CustomerBusinessSubmission {
7
+ }
4
8
  }
@@ -1,10 +1,15 @@
1
1
  import type * as FiveOneEat from "../../../../../index.js";
2
2
  export interface ListBusinessSubmissionsResponse {
3
- data: FiveOneEat.CustomerBusinessSubmission[];
3
+ data: ListBusinessSubmissionsResponse.Data.Item[];
4
4
  links: ListBusinessSubmissionsResponse.Links;
5
5
  meta: ListBusinessSubmissionsResponse.Meta;
6
6
  }
7
7
  export declare namespace ListBusinessSubmissionsResponse {
8
+ type Data = Data.Item[];
9
+ namespace Data {
10
+ interface Item extends FiveOneEat.CustomerBusinessSubmission {
11
+ }
12
+ }
8
13
  interface Links {
9
14
  first: string | null;
10
15
  last: string | null;
@@ -3,7 +3,7 @@ export type GetShippingOptionsCartResponse = {
3
3
  provider_rate_id: string;
4
4
  carrier: string;
5
5
  service: string;
6
- amount: string;
6
+ amount: number;
7
7
  amount_cents: number;
8
8
  currency: string;
9
9
  carrier_delivery_days: number | null;
@@ -1,4 +1,8 @@
1
1
  import type * as FiveOneEat from "../../../../../../../index.js";
2
2
  export interface ConfirmOrderTicketingResponse {
3
- data: FiveOneEat.TicketOrder;
3
+ data: ConfirmOrderTicketingResponse.Data;
4
+ }
5
+ export declare namespace ConfirmOrderTicketingResponse {
6
+ interface Data extends FiveOneEat.TicketOrder {
7
+ }
4
8
  }
@@ -2,18 +2,18 @@ export interface CreatePaymentIntentTicketingResponse {
2
2
  status: string;
3
3
  client_secret: string;
4
4
  payment_intent_id: string;
5
- subtotal: string;
6
- tax_amount: string;
5
+ subtotal: number;
6
+ tax_amount: number;
7
7
  tax_calculation: CreatePaymentIntentTicketingResponse.TaxCalculation | null;
8
- shipping_amount: string;
8
+ shipping_amount: number;
9
9
  shipping_method: unknown | null;
10
- platform_fee: string;
11
- total_amount: string;
10
+ platform_fee: number;
11
+ total_amount: number;
12
12
  }
13
13
  export declare namespace CreatePaymentIntentTicketingResponse {
14
14
  interface TaxCalculation {
15
15
  id: string;
16
- amount_total: string;
17
- tax_amount_exclusive: string;
16
+ amount_total: number;
17
+ tax_amount_exclusive: number;
18
18
  }
19
19
  }
@@ -3,6 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClie
3
3
  import * as core from "../../../../../../core/index.js";
4
4
  import * as FiveOneEat from "../../../../../index.js";
5
5
  import { AddressesClient } from "../resources/addresses/client/Client.js";
6
+ import { ListsClient } from "../resources/lists/client/Client.js";
6
7
  import { PaymentMethodsClient } from "../resources/paymentMethods/client/Client.js";
7
8
  import { TicketOrdersClient } from "../resources/ticketOrders/client/Client.js";
8
9
  import { TicketsClient } from "../resources/tickets/client/Client.js";
@@ -13,22 +14,41 @@ export declare namespace MeClient {
13
14
  }
14
15
  export declare class MeClient {
15
16
  protected readonly _options: NormalizedClientOptionsWithAuth<MeClient.Options>;
17
+ protected _lists: ListsClient | undefined;
16
18
  protected _tickets: TicketsClient | undefined;
17
19
  protected _ticketOrders: TicketOrdersClient | undefined;
18
20
  protected _addresses: AddressesClient | undefined;
19
21
  protected _paymentMethods: PaymentMethodsClient | undefined;
20
22
  constructor(options?: MeClient.Options);
23
+ get lists(): ListsClient;
21
24
  get tickets(): TicketsClient;
22
25
  get ticketOrders(): TicketOrdersClient;
23
26
  get addresses(): AddressesClient;
24
27
  get paymentMethods(): PaymentMethodsClient;
25
28
  /**
26
- * Retrieve the authenticated user's favorited businesses with pagination.
29
+ * The filter options available for this user's favorites — only taxonomies
30
+ * actually present among them, each with a count. An option that cannot
31
+ * match anything is never returned.
32
+ *
33
+ * @param {MeClient.RequestOptions} requestOptions - Request-specific configuration.
34
+ *
35
+ * @throws {@link FiveOneEat.UnauthorizedError}
36
+ *
37
+ * @example
38
+ * await client.customer.me.favoriteFacets()
39
+ */
40
+ favoriteFacets(requestOptions?: MeClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.FavoriteFacetsMeResponse>;
41
+ private __favoriteFacets;
42
+ /**
43
+ * The authenticated user's favorited businesses, optionally narrowed by
44
+ * search term and taxonomy facets. Values within one facet are OR; separate
45
+ * facets compose as AND.
27
46
  *
28
47
  * @param {FiveOneEat.customer.FavoritesMeRequest} request
29
48
  * @param {MeClient.RequestOptions} requestOptions - Request-specific configuration.
30
49
  *
31
50
  * @throws {@link FiveOneEat.UnauthorizedError}
51
+ * @throws {@link FiveOneEat.ForbiddenError}
32
52
  * @throws {@link FiveOneEat.UnprocessableEntityError}
33
53
  *
34
54
  * @example
@@ -52,20 +52,25 @@ const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNo
52
52
  const errors = __importStar(require("../../../../../../errors/index.js"));
53
53
  const FiveOneEat = __importStar(require("../../../../../index.js"));
54
54
  const Client_js_1 = require("../resources/addresses/client/Client.js");
55
- const Client_js_2 = require("../resources/paymentMethods/client/Client.js");
56
- const Client_js_3 = require("../resources/ticketOrders/client/Client.js");
57
- const Client_js_4 = require("../resources/tickets/client/Client.js");
55
+ const Client_js_2 = require("../resources/lists/client/Client.js");
56
+ const Client_js_3 = require("../resources/paymentMethods/client/Client.js");
57
+ const Client_js_4 = require("../resources/ticketOrders/client/Client.js");
58
+ const Client_js_5 = require("../resources/tickets/client/Client.js");
58
59
  class MeClient {
59
60
  constructor(options = {}) {
60
61
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
61
62
  }
63
+ get lists() {
64
+ var _a;
65
+ return ((_a = this._lists) !== null && _a !== void 0 ? _a : (this._lists = new Client_js_2.ListsClient(this._options)));
66
+ }
62
67
  get tickets() {
63
68
  var _a;
64
- return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new Client_js_4.TicketsClient(this._options)));
69
+ return ((_a = this._tickets) !== null && _a !== void 0 ? _a : (this._tickets = new Client_js_5.TicketsClient(this._options)));
65
70
  }
66
71
  get ticketOrders() {
67
72
  var _a;
68
- return ((_a = this._ticketOrders) !== null && _a !== void 0 ? _a : (this._ticketOrders = new Client_js_3.TicketOrdersClient(this._options)));
73
+ return ((_a = this._ticketOrders) !== null && _a !== void 0 ? _a : (this._ticketOrders = new Client_js_4.TicketOrdersClient(this._options)));
69
74
  }
70
75
  get addresses() {
71
76
  var _a;
@@ -73,15 +78,70 @@ class MeClient {
73
78
  }
74
79
  get paymentMethods() {
75
80
  var _a;
76
- return ((_a = this._paymentMethods) !== null && _a !== void 0 ? _a : (this._paymentMethods = new Client_js_2.PaymentMethodsClient(this._options)));
81
+ return ((_a = this._paymentMethods) !== null && _a !== void 0 ? _a : (this._paymentMethods = new Client_js_3.PaymentMethodsClient(this._options)));
82
+ }
83
+ /**
84
+ * The filter options available for this user's favorites — only taxonomies
85
+ * actually present among them, each with a count. An option that cannot
86
+ * match anything is never returned.
87
+ *
88
+ * @param {MeClient.RequestOptions} requestOptions - Request-specific configuration.
89
+ *
90
+ * @throws {@link FiveOneEat.UnauthorizedError}
91
+ *
92
+ * @example
93
+ * await client.customer.me.favoriteFacets()
94
+ */
95
+ favoriteFacets(requestOptions) {
96
+ return core.HttpResponsePromise.fromPromise(this.__favoriteFacets(requestOptions));
97
+ }
98
+ __favoriteFacets(requestOptions) {
99
+ return __awaiter(this, void 0, void 0, function* () {
100
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
101
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
102
+ 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);
103
+ const _response = yield core.fetcher({
104
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, "customer/favorites/facets"),
105
+ method: "GET",
106
+ headers: _headers,
107
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
108
+ 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,
109
+ 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,
110
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
111
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
112
+ logging: this._options.logging,
113
+ });
114
+ if (_response.ok) {
115
+ return {
116
+ data: _response.body,
117
+ rawResponse: _response.rawResponse,
118
+ };
119
+ }
120
+ if (_response.error.reason === "status-code") {
121
+ switch (_response.error.statusCode) {
122
+ case 401:
123
+ throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
124
+ default:
125
+ throw new errors.FiveOneEatError({
126
+ statusCode: _response.error.statusCode,
127
+ body: _response.error.body,
128
+ rawResponse: _response.rawResponse,
129
+ });
130
+ }
131
+ }
132
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/favorites/facets");
133
+ });
77
134
  }
78
135
  /**
79
- * Retrieve the authenticated user's favorited businesses with pagination.
136
+ * The authenticated user's favorited businesses, optionally narrowed by
137
+ * search term and taxonomy facets. Values within one facet are OR; separate
138
+ * facets compose as AND.
80
139
  *
81
140
  * @param {FiveOneEat.customer.FavoritesMeRequest} request
82
141
  * @param {MeClient.RequestOptions} requestOptions - Request-specific configuration.
83
142
  *
84
143
  * @throws {@link FiveOneEat.UnauthorizedError}
144
+ * @throws {@link FiveOneEat.ForbiddenError}
85
145
  * @throws {@link FiveOneEat.UnprocessableEntityError}
86
146
  *
87
147
  * @example
@@ -93,8 +153,13 @@ class MeClient {
93
153
  __favorites() {
94
154
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
95
155
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
96
- const { page, per_page: perPage } = request;
156
+ const { search, categories, cuisines, certifications, sort, page, per_page: perPage } = request;
97
157
  const _queryParams = {
158
+ search,
159
+ categories,
160
+ cuisines,
161
+ certifications,
162
+ sort: sort !== undefined ? sort : undefined,
98
163
  page,
99
164
  per_page: perPage,
100
165
  };
@@ -126,6 +191,8 @@ class MeClient {
126
191
  switch (_response.error.statusCode) {
127
192
  case 401:
128
193
  throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
194
+ case 403:
195
+ throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
129
196
  case 422:
130
197
  throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
131
198
  default:
@@ -1,10 +1,14 @@
1
+ import type * as FiveOneEat from "../../../../../../index.js";
1
2
  /**
2
3
  * @example
3
4
  * {}
4
5
  */
5
6
  export interface FavoritesMeRequest {
6
- /** Page number for pagination */
7
- page?: number;
8
- /** Number of businesses per page */
9
- per_page?: number;
7
+ search?: string | null;
8
+ categories?: string | null;
9
+ cuisines?: string | null;
10
+ certifications?: string | null;
11
+ sort?: FiveOneEat.customer.FavoritesMeRequestSort | null;
12
+ page?: number | null;
13
+ per_page?: number | null;
10
14
  }
@@ -1,6 +1,9 @@
1
1
  export * from "./addresses/client/requests/index.js";
2
2
  export * as addresses from "./addresses/index.js";
3
3
  export * from "./addresses/types/index.js";
4
+ export * from "./lists/client/requests/index.js";
5
+ export * as lists from "./lists/index.js";
6
+ export * from "./lists/types/index.js";
4
7
  export * from "./paymentMethods/client/requests/index.js";
5
8
  export * as paymentMethods from "./paymentMethods/index.js";
6
9
  export * from "./paymentMethods/types/index.js";
@@ -36,10 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.tickets = exports.ticketOrders = exports.paymentMethods = exports.addresses = void 0;
39
+ exports.tickets = exports.ticketOrders = exports.paymentMethods = exports.lists = exports.addresses = void 0;
40
40
  __exportStar(require("./addresses/client/requests/index.js"), exports);
41
41
  exports.addresses = __importStar(require("./addresses/index.js"));
42
42
  __exportStar(require("./addresses/types/index.js"), exports);
43
+ __exportStar(require("./lists/client/requests/index.js"), exports);
44
+ exports.lists = __importStar(require("./lists/index.js"));
45
+ __exportStar(require("./lists/types/index.js"), exports);
43
46
  __exportStar(require("./paymentMethods/client/requests/index.js"), exports);
44
47
  exports.paymentMethods = __importStar(require("./paymentMethods/index.js"));
45
48
  __exportStar(require("./paymentMethods/types/index.js"), exports);