@51eat/sdk 0.0.73 → 0.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +5 -0
  4. package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.ts +1 -1
  5. package/dist/cjs/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.ts +1 -1
  6. package/dist/cjs/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.ts +1 -0
  7. package/dist/cjs/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.ts +1 -0
  8. package/dist/cjs/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.ts +1 -1
  9. package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.ts +22 -2
  10. package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.js +21 -0
  11. package/dist/cjs/api/resources/business/resources/profile/client/requests/index.d.ts +1 -1
  12. package/dist/cjs/api/resources/business/resources/profile/client/requests/index.js +3 -0
  13. package/dist/cjs/api/resources/business/resources/profile/resources/logo/client/requests/UploadLogoRequest.d.ts +1 -0
  14. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.ts +1 -1
  15. package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.ts +1 -1
  16. package/dist/cjs/api/resources/customer/resources/auth/client/Client.d.ts +19 -0
  17. package/dist/cjs/api/resources/customer/resources/auth/client/Client.js +62 -0
  18. package/dist/cjs/api/resources/customer/resources/auth/client/requests/DeleteAccountRequest.d.ts +9 -0
  19. package/dist/cjs/api/resources/customer/resources/auth/client/requests/index.d.ts +1 -0
  20. package/dist/cjs/api/resources/customer/resources/auth/types/DeleteAccountAuthResponse.d.ts +3 -0
  21. package/dist/cjs/api/resources/customer/resources/auth/types/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/customer/resources/auth/types/index.js +1 -0
  23. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.ts +22 -2
  24. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.js +21 -0
  25. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.d.ts +1 -1
  26. package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.js +3 -0
  27. package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.ts +1 -0
  28. package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.ts +5 -1
  29. package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.ts +5 -1
  30. package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.ts +5 -1
  31. package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.ts +6 -1
  32. package/dist/cjs/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponse.d.ts +1 -1
  33. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.ts +5 -1
  34. package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.ts +7 -7
  35. package/dist/cjs/api/resources/customer/resources/me/client/Client.d.ts +21 -1
  36. package/dist/cjs/api/resources/customer/resources/me/client/Client.js +75 -8
  37. package/dist/cjs/api/resources/customer/resources/me/client/requests/FavoritesMeRequest.d.ts +8 -4
  38. package/dist/cjs/api/resources/customer/resources/me/resources/index.d.ts +3 -0
  39. package/dist/cjs/api/resources/customer/resources/me/resources/index.js +4 -1
  40. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/Client.d.ts +122 -0
  41. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/Client.js +428 -0
  42. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/index.js +17 -0
  44. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.d.ts +10 -0
  45. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.js +3 -0
  46. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.d.ts +10 -0
  47. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.js +3 -0
  48. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.d.ts +10 -0
  49. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.js +3 -0
  50. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.d.ts +11 -0
  51. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.js +3 -0
  52. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.d.ts +14 -0
  53. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.js +3 -0
  54. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/index.d.ts +5 -0
  55. package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/index.js +2 -0
  56. package/dist/cjs/api/resources/customer/resources/me/resources/lists/exports.d.ts +3 -0
  57. package/dist/cjs/api/resources/customer/resources/me/resources/lists/exports.js +22 -0
  58. package/dist/cjs/api/resources/customer/resources/me/resources/lists/index.d.ts +3 -0
  59. package/dist/cjs/api/resources/customer/resources/me/resources/lists/index.js +19 -0
  60. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/index.d.ts +3 -0
  61. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/index.js +42 -0
  62. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.d.ts +73 -0
  63. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.js +266 -0
  64. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/index.d.ts +1 -0
  65. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/index.js +17 -0
  66. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.d.ts +13 -0
  67. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.js +3 -0
  68. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.d.ts +13 -0
  69. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.js +3 -0
  70. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.d.ts +14 -0
  71. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.js +3 -0
  72. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.d.ts +3 -0
  73. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.js +2 -0
  74. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/exports.d.ts +2 -0
  75. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/exports.js +21 -0
  76. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/index.d.ts +2 -0
  77. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/index.js +18 -0
  78. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.d.ts +3 -0
  79. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.js +3 -0
  80. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.d.ts +3 -0
  81. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.js +3 -0
  82. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/index.d.ts +2 -0
  83. package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/index.js +18 -0
  84. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.d.ts +4 -0
  85. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.js +3 -0
  86. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.d.ts +4 -0
  87. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.js +3 -0
  88. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.d.ts +4 -0
  89. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.js +3 -0
  90. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.d.ts +4 -0
  91. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.js +3 -0
  92. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.d.ts +4 -0
  93. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.js +3 -0
  94. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/index.d.ts +5 -0
  95. package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/index.js +21 -0
  96. package/dist/cjs/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.d.ts +4 -0
  97. package/dist/cjs/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.js +3 -0
  98. package/dist/cjs/api/resources/customer/resources/me/types/FavoritesMeRequestSort.d.ts +6 -0
  99. package/dist/cjs/api/resources/customer/resources/me/types/FavoritesMeRequestSort.js +9 -0
  100. package/dist/cjs/api/resources/customer/resources/me/types/index.d.ts +2 -0
  101. package/dist/cjs/api/resources/customer/resources/me/types/index.js +2 -0
  102. package/dist/cjs/api/resources/index.d.ts +3 -0
  103. package/dist/cjs/api/resources/index.js +4 -1
  104. package/dist/cjs/api/resources/publicLists/client/Client.d.ts +34 -0
  105. package/dist/cjs/api/resources/publicLists/client/Client.js +116 -0
  106. package/dist/cjs/api/resources/publicLists/client/index.d.ts +1 -0
  107. package/dist/cjs/api/resources/publicLists/client/index.js +17 -0
  108. package/dist/cjs/api/resources/publicLists/client/requests/GetPublicListsRequest.d.ts +10 -0
  109. package/dist/cjs/api/resources/publicLists/client/requests/GetPublicListsRequest.js +3 -0
  110. package/dist/cjs/api/resources/publicLists/client/requests/index.d.ts +1 -0
  111. package/dist/cjs/api/resources/publicLists/client/requests/index.js +2 -0
  112. package/dist/cjs/api/resources/publicLists/exports.d.ts +2 -0
  113. package/dist/cjs/api/resources/publicLists/exports.js +21 -0
  114. package/dist/cjs/api/resources/publicLists/index.d.ts +2 -0
  115. package/dist/cjs/api/resources/publicLists/index.js +18 -0
  116. package/dist/cjs/api/resources/publicLists/types/GetPublicListsResponse.d.ts +4 -0
  117. package/dist/cjs/api/resources/publicLists/types/GetPublicListsResponse.js +3 -0
  118. package/dist/cjs/api/resources/publicLists/types/index.d.ts +1 -0
  119. package/dist/cjs/api/resources/publicLists/types/index.js +17 -0
  120. package/dist/cjs/api/types/Address.d.ts +2 -2
  121. package/dist/cjs/api/types/BusinessAllergen.d.ts +2 -2
  122. package/dist/cjs/api/types/BusinessBulletin.d.ts +6 -6
  123. package/dist/cjs/api/types/BusinessConversation.d.ts +1 -1
  124. package/dist/cjs/api/types/BusinessEvent.d.ts +11 -11
  125. package/dist/cjs/api/types/BusinessEventRsvp.d.ts +3 -3
  126. package/dist/cjs/api/types/BusinessEventTicketType.d.ts +11 -11
  127. package/dist/cjs/api/types/BusinessList.d.ts +11 -0
  128. package/dist/cjs/api/types/BusinessList.js +3 -0
  129. package/dist/cjs/api/types/BusinessListCollection.d.ts +4 -0
  130. package/dist/cjs/api/types/BusinessListCollection.js +3 -0
  131. package/dist/cjs/api/types/BusinessListDetail.d.ts +12 -0
  132. package/dist/cjs/api/types/BusinessListDetail.js +3 -0
  133. package/dist/cjs/api/types/BusinessListItem.d.ts +7 -0
  134. package/dist/cjs/api/types/BusinessListItem.js +3 -0
  135. package/dist/cjs/api/types/BusinessListMembership.d.ts +14 -0
  136. package/dist/cjs/api/types/BusinessListMembership.js +3 -0
  137. package/dist/cjs/api/types/BusinessMenu.d.ts +2 -2
  138. package/dist/cjs/api/types/BusinessMenuGroup.d.ts +2 -2
  139. package/dist/cjs/api/types/BusinessMenuItem.d.ts +6 -24
  140. package/dist/cjs/api/types/BusinessMenuItemModifier.d.ts +3 -3
  141. package/dist/cjs/api/types/BusinessMenuItemVariation.d.ts +4 -4
  142. package/dist/cjs/api/types/BusinessProfile.d.ts +1 -1
  143. package/dist/cjs/api/types/BusinessStand.d.ts +2 -2
  144. package/dist/cjs/api/types/BusinessStripeConnection.d.ts +15 -15
  145. package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +2 -2
  146. package/dist/cjs/api/types/CartResource.d.ts +2 -2
  147. package/dist/cjs/api/types/Conversation.d.ts +1 -1
  148. package/dist/cjs/api/types/CustomerBulletin.d.ts +1 -1
  149. package/dist/cjs/api/types/CustomerComment.d.ts +2 -2
  150. package/dist/cjs/api/types/CustomerDiscoveryAllergen.d.ts +2 -2
  151. package/dist/cjs/api/types/CustomerEvent.d.ts +1 -1
  152. package/dist/cjs/api/types/CustomerEventRsvp.d.ts +2 -2
  153. package/dist/cjs/api/types/CustomerEventTicketType.d.ts +2 -2
  154. package/dist/cjs/api/types/DiscoveryBusiness.d.ts +3 -3
  155. package/dist/cjs/api/types/FavoriteFacets.d.ts +34 -0
  156. package/dist/cjs/api/types/FavoriteFacets.js +3 -0
  157. package/dist/cjs/api/types/ProductResource.d.ts +5 -5
  158. package/dist/cjs/api/types/PublicBusinessList.d.ts +10 -0
  159. package/dist/cjs/api/types/PublicBusinessList.js +3 -0
  160. package/dist/cjs/api/types/ShippingAccountResource.d.ts +5 -5
  161. package/dist/cjs/api/types/Transaction.d.ts +2 -2
  162. package/dist/cjs/api/types/index.d.ts +7 -2
  163. package/dist/cjs/api/types/index.js +7 -2
  164. package/dist/cjs/version.d.ts +1 -1
  165. package/dist/cjs/version.js +1 -1
  166. package/dist/esm/BaseClient.mjs +2 -2
  167. package/dist/esm/Client.d.mts +3 -0
  168. package/dist/esm/Client.mjs +5 -0
  169. package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +1 -1
  170. package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.mts +1 -1
  171. package/dist/esm/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.mts +1 -0
  172. package/dist/esm/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.mts +1 -0
  173. package/dist/esm/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.mts +1 -1
  174. package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.mts +22 -2
  175. package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.mjs +20 -1
  176. package/dist/esm/api/resources/business/resources/profile/client/requests/index.d.mts +1 -1
  177. package/dist/esm/api/resources/business/resources/profile/client/requests/index.mjs +1 -1
  178. package/dist/esm/api/resources/business/resources/profile/resources/logo/client/requests/UploadLogoRequest.d.mts +1 -0
  179. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.mts +1 -1
  180. package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.mts +1 -1
  181. package/dist/esm/api/resources/customer/resources/auth/client/Client.d.mts +19 -0
  182. package/dist/esm/api/resources/customer/resources/auth/client/Client.mjs +62 -0
  183. package/dist/esm/api/resources/customer/resources/auth/client/requests/DeleteAccountRequest.d.mts +9 -0
  184. package/dist/esm/api/resources/customer/resources/auth/client/requests/index.d.mts +1 -0
  185. package/dist/esm/api/resources/customer/resources/auth/types/DeleteAccountAuthResponse.d.mts +3 -0
  186. package/dist/esm/api/resources/customer/resources/auth/types/index.d.mts +1 -0
  187. package/dist/esm/api/resources/customer/resources/auth/types/index.mjs +1 -0
  188. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.mts +22 -2
  189. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.mjs +20 -1
  190. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.d.mts +1 -1
  191. package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.mjs +1 -1
  192. package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.mts +1 -0
  193. package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.mts +5 -1
  194. package/dist/esm/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.mts +5 -1
  195. package/dist/esm/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.mts +5 -1
  196. package/dist/esm/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.mts +6 -1
  197. package/dist/esm/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponse.d.mts +1 -1
  198. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.mts +5 -1
  199. package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.mts +7 -7
  200. package/dist/esm/api/resources/customer/resources/me/client/Client.d.mts +21 -1
  201. package/dist/esm/api/resources/customer/resources/me/client/Client.mjs +69 -2
  202. package/dist/esm/api/resources/customer/resources/me/client/requests/FavoritesMeRequest.d.mts +8 -4
  203. package/dist/esm/api/resources/customer/resources/me/resources/index.d.mts +3 -0
  204. package/dist/esm/api/resources/customer/resources/me/resources/index.mjs +3 -0
  205. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/Client.d.mts +122 -0
  206. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/Client.mjs +391 -0
  207. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/index.d.mts +1 -0
  208. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/index.mjs +1 -0
  209. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.d.mts +10 -0
  210. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.mjs +2 -0
  211. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.d.mts +10 -0
  212. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.mjs +2 -0
  213. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.d.mts +10 -0
  214. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.mjs +2 -0
  215. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.d.mts +11 -0
  216. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.mjs +2 -0
  217. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.d.mts +14 -0
  218. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.mjs +2 -0
  219. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/index.d.mts +5 -0
  220. package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/index.mjs +1 -0
  221. package/dist/esm/api/resources/customer/resources/me/resources/lists/exports.d.mts +3 -0
  222. package/dist/esm/api/resources/customer/resources/me/resources/lists/exports.mjs +4 -0
  223. package/dist/esm/api/resources/customer/resources/me/resources/lists/index.d.mts +3 -0
  224. package/dist/esm/api/resources/customer/resources/me/resources/lists/index.mjs +3 -0
  225. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/index.d.mts +3 -0
  226. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/index.mjs +3 -0
  227. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.d.mts +73 -0
  228. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.mjs +229 -0
  229. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/index.d.mts +1 -0
  230. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/index.mjs +1 -0
  231. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.d.mts +13 -0
  232. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.mjs +2 -0
  233. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.d.mts +13 -0
  234. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.mjs +2 -0
  235. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.d.mts +14 -0
  236. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.mjs +2 -0
  237. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.d.mts +3 -0
  238. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.mjs +1 -0
  239. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/exports.d.mts +2 -0
  240. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/exports.mjs +3 -0
  241. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/index.d.mts +2 -0
  242. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/index.mjs +2 -0
  243. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.d.mts +3 -0
  244. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.mjs +2 -0
  245. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.d.mts +3 -0
  246. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.mjs +2 -0
  247. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/index.d.mts +2 -0
  248. package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/index.mjs +2 -0
  249. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.d.mts +4 -0
  250. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.mjs +2 -0
  251. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.d.mts +4 -0
  252. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.mjs +2 -0
  253. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.d.mts +4 -0
  254. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.mjs +2 -0
  255. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.d.mts +4 -0
  256. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.mjs +2 -0
  257. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.d.mts +4 -0
  258. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.mjs +2 -0
  259. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/index.d.mts +5 -0
  260. package/dist/esm/api/resources/customer/resources/me/resources/lists/types/index.mjs +5 -0
  261. package/dist/esm/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.d.mts +4 -0
  262. package/dist/esm/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.mjs +2 -0
  263. package/dist/esm/api/resources/customer/resources/me/types/FavoritesMeRequestSort.d.mts +6 -0
  264. package/dist/esm/api/resources/customer/resources/me/types/FavoritesMeRequestSort.mjs +6 -0
  265. package/dist/esm/api/resources/customer/resources/me/types/index.d.mts +2 -0
  266. package/dist/esm/api/resources/customer/resources/me/types/index.mjs +2 -0
  267. package/dist/esm/api/resources/index.d.mts +3 -0
  268. package/dist/esm/api/resources/index.mjs +3 -0
  269. package/dist/esm/api/resources/publicLists/client/Client.d.mts +34 -0
  270. package/dist/esm/api/resources/publicLists/client/Client.mjs +79 -0
  271. package/dist/esm/api/resources/publicLists/client/index.d.mts +1 -0
  272. package/dist/esm/api/resources/publicLists/client/index.mjs +1 -0
  273. package/dist/esm/api/resources/publicLists/client/requests/GetPublicListsRequest.d.mts +10 -0
  274. package/dist/esm/api/resources/publicLists/client/requests/GetPublicListsRequest.mjs +2 -0
  275. package/dist/esm/api/resources/publicLists/client/requests/index.d.mts +1 -0
  276. package/dist/esm/api/resources/publicLists/client/requests/index.mjs +1 -0
  277. package/dist/esm/api/resources/publicLists/exports.d.mts +2 -0
  278. package/dist/esm/api/resources/publicLists/exports.mjs +3 -0
  279. package/dist/esm/api/resources/publicLists/index.d.mts +2 -0
  280. package/dist/esm/api/resources/publicLists/index.mjs +2 -0
  281. package/dist/esm/api/resources/publicLists/types/GetPublicListsResponse.d.mts +4 -0
  282. package/dist/esm/api/resources/publicLists/types/GetPublicListsResponse.mjs +2 -0
  283. package/dist/esm/api/resources/publicLists/types/index.d.mts +1 -0
  284. package/dist/esm/api/resources/publicLists/types/index.mjs +1 -0
  285. package/dist/esm/api/types/Address.d.mts +2 -2
  286. package/dist/esm/api/types/BusinessAllergen.d.mts +2 -2
  287. package/dist/esm/api/types/BusinessBulletin.d.mts +6 -6
  288. package/dist/esm/api/types/BusinessConversation.d.mts +1 -1
  289. package/dist/esm/api/types/BusinessEvent.d.mts +11 -11
  290. package/dist/esm/api/types/BusinessEventRsvp.d.mts +3 -3
  291. package/dist/esm/api/types/BusinessEventTicketType.d.mts +11 -11
  292. package/dist/esm/api/types/BusinessList.d.mts +11 -0
  293. package/dist/esm/api/types/BusinessList.mjs +2 -0
  294. package/dist/esm/api/types/BusinessListCollection.d.mts +4 -0
  295. package/dist/esm/api/types/BusinessListCollection.mjs +2 -0
  296. package/dist/esm/api/types/BusinessListDetail.d.mts +12 -0
  297. package/dist/esm/api/types/BusinessListDetail.mjs +2 -0
  298. package/dist/esm/api/types/BusinessListItem.d.mts +7 -0
  299. package/dist/esm/api/types/BusinessListItem.mjs +2 -0
  300. package/dist/esm/api/types/BusinessListMembership.d.mts +14 -0
  301. package/dist/esm/api/types/BusinessListMembership.mjs +2 -0
  302. package/dist/esm/api/types/BusinessMenu.d.mts +2 -2
  303. package/dist/esm/api/types/BusinessMenuGroup.d.mts +2 -2
  304. package/dist/esm/api/types/BusinessMenuItem.d.mts +6 -24
  305. package/dist/esm/api/types/BusinessMenuItemModifier.d.mts +3 -3
  306. package/dist/esm/api/types/BusinessMenuItemVariation.d.mts +4 -4
  307. package/dist/esm/api/types/BusinessProfile.d.mts +1 -1
  308. package/dist/esm/api/types/BusinessStand.d.mts +2 -2
  309. package/dist/esm/api/types/BusinessStripeConnection.d.mts +15 -15
  310. package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +2 -2
  311. package/dist/esm/api/types/CartResource.d.mts +2 -2
  312. package/dist/esm/api/types/Conversation.d.mts +1 -1
  313. package/dist/esm/api/types/CustomerBulletin.d.mts +1 -1
  314. package/dist/esm/api/types/CustomerComment.d.mts +2 -2
  315. package/dist/esm/api/types/CustomerDiscoveryAllergen.d.mts +2 -2
  316. package/dist/esm/api/types/CustomerEvent.d.mts +1 -1
  317. package/dist/esm/api/types/CustomerEventRsvp.d.mts +2 -2
  318. package/dist/esm/api/types/CustomerEventTicketType.d.mts +2 -2
  319. package/dist/esm/api/types/DiscoveryBusiness.d.mts +3 -3
  320. package/dist/esm/api/types/FavoriteFacets.d.mts +34 -0
  321. package/dist/esm/api/types/FavoriteFacets.mjs +2 -0
  322. package/dist/esm/api/types/ProductResource.d.mts +5 -5
  323. package/dist/esm/api/types/PublicBusinessList.d.mts +10 -0
  324. package/dist/esm/api/types/PublicBusinessList.mjs +2 -0
  325. package/dist/esm/api/types/ShippingAccountResource.d.mts +5 -5
  326. package/dist/esm/api/types/Transaction.d.mts +2 -2
  327. package/dist/esm/api/types/index.d.mts +7 -2
  328. package/dist/esm/api/types/index.mjs +7 -2
  329. package/dist/esm/version.d.mts +1 -1
  330. package/dist/esm/version.mjs +1 -1
  331. package/package.json +34 -1
  332. package/reference.md +857 -61
  333. package/dist/cjs/api/types/Allergen.d.ts +0 -10
  334. package/dist/cjs/api/types/Image.d.ts +0 -16
  335. package/dist/esm/api/types/Allergen.d.mts +0 -10
  336. package/dist/esm/api/types/Image.d.mts +0 -16
  337. /package/dist/cjs/api/{types/Allergen.js → resources/customer/resources/auth/client/requests/DeleteAccountRequest.js} +0 -0
  338. /package/dist/cjs/api/{types/Image.js → resources/customer/resources/auth/types/DeleteAccountAuthResponse.js} +0 -0
  339. /package/dist/esm/api/{types/Allergen.mjs → resources/customer/resources/auth/client/requests/DeleteAccountRequest.mjs} +0 -0
  340. /package/dist/esm/api/{types/Image.mjs → resources/customer/resources/auth/types/DeleteAccountAuthResponse.mjs} +0 -0
@@ -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.73";
1
+ export declare const SDK_VERSION = "0.0.75";
@@ -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.73";
4
+ exports.SDK_VERSION = "0.0.75";
@@ -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.73",
10
- "User-Agent": "@51eat/sdk/0.0.73",
9
+ "X-Fern-SDK-Version": "0.0.75",
10
+ "User-Agent": "@51eat/sdk/0.0.75",
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";
@@ -1 +1 @@
1
- export {};
1
+ export { UpdateBusinessProfileRequest } from "./UpdateBusinessProfileRequest.mjs";
@@ -6,5 +6,6 @@ import type * as core from "../../../../../../../../../core/index.mjs";
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[];
@@ -111,6 +111,25 @@ export declare class AuthClient {
111
111
  */
112
112
  updateProfile(request?: FiveOneEat.customer.UpdateUserRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.UpdateProfileAuthResponse>;
113
113
  private __updateProfile;
114
+ /**
115
+ * Permanently delete the account and its associated data, cancel any billing,
116
+ * and revoke every API token. This cannot be undone. Requires the current
117
+ * password for confirmation. Accounts that manage a business cannot be deleted
118
+ * here and return a 422 explaining how to proceed.
119
+ *
120
+ * @param {FiveOneEat.customer.DeleteAccountRequest} request
121
+ * @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
122
+ *
123
+ * @throws {@link FiveOneEat.UnauthorizedError}
124
+ * @throws {@link FiveOneEat.UnprocessableEntityError}
125
+ *
126
+ * @example
127
+ * await client.customer.auth.deleteAccount({
128
+ * password: "password"
129
+ * })
130
+ */
131
+ deleteAccount(request: FiveOneEat.customer.DeleteAccountRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.DeleteAccountAuthResponse>;
132
+ private __deleteAccount;
114
133
  /**
115
134
  * Upload and replace the avatar for the authenticated customer. Any existing avatar file will be deleted.
116
135
  *