@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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +5 -0
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.ts +22 -2
- package/dist/cjs/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.js +21 -0
- package/dist/cjs/api/resources/business/resources/profile/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/profile/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/business/resources/profile/resources/logo/client/requests/UploadLogoRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.ts +22 -2
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.js +21 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.ts +5 -1
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.ts +5 -1
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.ts +5 -1
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.ts +6 -1
- package/dist/cjs/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponse.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.ts +5 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.ts +7 -7
- package/dist/cjs/api/resources/customer/resources/me/client/Client.d.ts +21 -1
- package/dist/cjs/api/resources/customer/resources/me/client/Client.js +75 -8
- package/dist/cjs/api/resources/customer/resources/me/client/requests/FavoritesMeRequest.d.ts +8 -4
- package/dist/cjs/api/resources/customer/resources/me/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/index.js +4 -1
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/Client.d.ts +122 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/Client.js +428 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.d.ts +11 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/exports.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/exports.js +22 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/index.js +19 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/index.js +42 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.d.ts +73 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.js +266 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/resources/items/types/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/lists/types/index.js +21 -0
- package/dist/cjs/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/me/types/FavoritesMeRequestSort.d.ts +6 -0
- package/dist/cjs/api/resources/customer/resources/me/types/FavoritesMeRequestSort.js +9 -0
- package/dist/cjs/api/resources/customer/resources/me/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/me/types/index.js +2 -0
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/publicLists/client/Client.d.ts +34 -0
- package/dist/cjs/api/resources/publicLists/client/Client.js +116 -0
- package/dist/cjs/api/resources/publicLists/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/publicLists/client/index.js +17 -0
- package/dist/cjs/api/resources/publicLists/client/requests/GetPublicListsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/publicLists/client/requests/GetPublicListsRequest.js +3 -0
- package/dist/cjs/api/resources/publicLists/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/publicLists/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/publicLists/exports.d.ts +2 -0
- package/dist/cjs/api/resources/publicLists/exports.js +21 -0
- package/dist/cjs/api/resources/publicLists/index.d.ts +2 -0
- package/dist/cjs/api/resources/publicLists/index.js +18 -0
- package/dist/cjs/api/resources/publicLists/types/GetPublicListsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/publicLists/types/GetPublicListsResponse.js +3 -0
- package/dist/cjs/api/resources/publicLists/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/publicLists/types/index.js +17 -0
- package/dist/cjs/api/types/Address.d.ts +2 -2
- package/dist/cjs/api/types/BusinessAllergen.d.ts +2 -2
- package/dist/cjs/api/types/BusinessBulletin.d.ts +6 -6
- package/dist/cjs/api/types/BusinessConversation.d.ts +1 -1
- package/dist/cjs/api/types/BusinessEvent.d.ts +11 -11
- package/dist/cjs/api/types/BusinessEventRsvp.d.ts +3 -3
- package/dist/cjs/api/types/BusinessEventTicketType.d.ts +11 -11
- package/dist/cjs/api/types/BusinessList.d.ts +11 -0
- package/dist/cjs/api/types/BusinessList.js +3 -0
- package/dist/cjs/api/types/BusinessListCollection.d.ts +4 -0
- package/dist/cjs/api/types/BusinessListCollection.js +3 -0
- package/dist/cjs/api/types/BusinessListDetail.d.ts +12 -0
- package/dist/cjs/api/types/BusinessListDetail.js +3 -0
- package/dist/cjs/api/types/BusinessListItem.d.ts +7 -0
- package/dist/cjs/api/types/BusinessListItem.js +3 -0
- package/dist/cjs/api/types/BusinessListMembership.d.ts +14 -0
- package/dist/cjs/api/types/BusinessListMembership.js +3 -0
- package/dist/cjs/api/types/BusinessMenu.d.ts +2 -2
- package/dist/cjs/api/types/BusinessMenuGroup.d.ts +2 -2
- package/dist/cjs/api/types/BusinessMenuItem.d.ts +6 -24
- package/dist/cjs/api/types/BusinessMenuItemModifier.d.ts +3 -3
- package/dist/cjs/api/types/BusinessMenuItemVariation.d.ts +4 -4
- package/dist/cjs/api/types/BusinessProfile.d.ts +1 -1
- package/dist/cjs/api/types/BusinessStand.d.ts +2 -2
- package/dist/cjs/api/types/BusinessStripeConnection.d.ts +15 -15
- package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +2 -2
- package/dist/cjs/api/types/CartResource.d.ts +2 -2
- package/dist/cjs/api/types/Conversation.d.ts +1 -1
- package/dist/cjs/api/types/CustomerBulletin.d.ts +1 -1
- package/dist/cjs/api/types/CustomerComment.d.ts +2 -2
- package/dist/cjs/api/types/CustomerDiscoveryAllergen.d.ts +2 -2
- package/dist/cjs/api/types/CustomerEvent.d.ts +1 -1
- package/dist/cjs/api/types/CustomerEventRsvp.d.ts +2 -2
- package/dist/cjs/api/types/CustomerEventTicketType.d.ts +2 -2
- package/dist/cjs/api/types/DiscoveryBusiness.d.ts +3 -3
- package/dist/cjs/api/types/FavoriteFacets.d.ts +34 -0
- package/dist/cjs/api/types/FavoriteFacets.js +3 -0
- package/dist/cjs/api/types/ProductResource.d.ts +5 -5
- package/dist/cjs/api/types/PublicBusinessList.d.ts +10 -0
- package/dist/cjs/api/types/PublicBusinessList.js +3 -0
- package/dist/cjs/api/types/ShippingAccountResource.d.ts +5 -5
- package/dist/cjs/api/types/Transaction.d.ts +2 -2
- package/dist/cjs/api/types/index.d.ts +7 -2
- package/dist/cjs/api/types/index.js +7 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/businesses/client/requests/UpdateBusinessRequest.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.d.mts +22 -2
- package/dist/esm/api/resources/business/resources/profile/client/requests/UpdateBusinessProfileRequest.mjs +20 -1
- package/dist/esm/api/resources/business/resources/profile/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/profile/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/business/resources/profile/resources/logo/client/requests/UploadLogoRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.mts +22 -2
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.mjs +20 -1
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/client/requests/UploadSubmissionPhotoRequest.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/resources/photos/types/UploadPhotosResponse.d.mts +5 -1
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/CreateBusinessSubmissionsResponse.d.mts +5 -1
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/GetBusinessSubmissionsResponse.d.mts +5 -1
- package/dist/esm/api/resources/customer/resources/businessSubmissions/types/ListBusinessSubmissionsResponse.d.mts +6 -1
- package/dist/esm/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponse.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.mts +5 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.mts +7 -7
- package/dist/esm/api/resources/customer/resources/me/client/Client.d.mts +21 -1
- package/dist/esm/api/resources/customer/resources/me/client/Client.mjs +69 -2
- package/dist/esm/api/resources/customer/resources/me/client/requests/FavoritesMeRequest.d.mts +8 -4
- package/dist/esm/api/resources/customer/resources/me/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/Client.d.mts +122 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/Client.mjs +391 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/MembershipsListsRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.d.mts +11 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/StoreBusinessListRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/UpdateBusinessListRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/exports.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/exports.mjs +4 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.d.mts +73 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.mjs +229 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.d.mts +13 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/AddListItemRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.d.mts +13 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/RemoveItemsRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/UpdateListItemNoteRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/AddItemsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/UpdateNoteItemsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/resources/items/types/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/CreateListsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/GetListsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/ListListsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/MembershipsListsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/UpdateListsResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/index.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/me/resources/lists/types/index.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/me/types/FavoriteFacetsMeResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/me/types/FavoritesMeRequestSort.d.mts +6 -0
- package/dist/esm/api/resources/customer/resources/me/types/FavoritesMeRequestSort.mjs +6 -0
- package/dist/esm/api/resources/customer/resources/me/types/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/me/types/index.mjs +2 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/publicLists/client/Client.d.mts +34 -0
- package/dist/esm/api/resources/publicLists/client/Client.mjs +79 -0
- package/dist/esm/api/resources/publicLists/client/index.d.mts +1 -0
- package/dist/esm/api/resources/publicLists/client/index.mjs +1 -0
- package/dist/esm/api/resources/publicLists/client/requests/GetPublicListsRequest.d.mts +10 -0
- package/dist/esm/api/resources/publicLists/client/requests/GetPublicListsRequest.mjs +2 -0
- package/dist/esm/api/resources/publicLists/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/publicLists/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/publicLists/exports.d.mts +2 -0
- package/dist/esm/api/resources/publicLists/exports.mjs +3 -0
- package/dist/esm/api/resources/publicLists/index.d.mts +2 -0
- package/dist/esm/api/resources/publicLists/index.mjs +2 -0
- package/dist/esm/api/resources/publicLists/types/GetPublicListsResponse.d.mts +4 -0
- package/dist/esm/api/resources/publicLists/types/GetPublicListsResponse.mjs +2 -0
- package/dist/esm/api/resources/publicLists/types/index.d.mts +1 -0
- package/dist/esm/api/resources/publicLists/types/index.mjs +1 -0
- package/dist/esm/api/types/Address.d.mts +2 -2
- package/dist/esm/api/types/BusinessAllergen.d.mts +2 -2
- package/dist/esm/api/types/BusinessBulletin.d.mts +6 -6
- package/dist/esm/api/types/BusinessConversation.d.mts +1 -1
- package/dist/esm/api/types/BusinessEvent.d.mts +11 -11
- package/dist/esm/api/types/BusinessEventRsvp.d.mts +3 -3
- package/dist/esm/api/types/BusinessEventTicketType.d.mts +11 -11
- package/dist/esm/api/types/BusinessList.d.mts +11 -0
- package/dist/esm/api/types/BusinessList.mjs +2 -0
- package/dist/esm/api/types/BusinessListCollection.d.mts +4 -0
- package/dist/esm/api/types/BusinessListCollection.mjs +2 -0
- package/dist/esm/api/types/BusinessListDetail.d.mts +12 -0
- package/dist/esm/api/types/BusinessListDetail.mjs +2 -0
- package/dist/esm/api/types/BusinessListItem.d.mts +7 -0
- package/dist/esm/api/types/BusinessListItem.mjs +2 -0
- package/dist/esm/api/types/BusinessListMembership.d.mts +14 -0
- package/dist/esm/api/types/BusinessListMembership.mjs +2 -0
- package/dist/esm/api/types/BusinessMenu.d.mts +2 -2
- package/dist/esm/api/types/BusinessMenuGroup.d.mts +2 -2
- package/dist/esm/api/types/BusinessMenuItem.d.mts +6 -24
- package/dist/esm/api/types/BusinessMenuItemModifier.d.mts +3 -3
- package/dist/esm/api/types/BusinessMenuItemVariation.d.mts +4 -4
- package/dist/esm/api/types/BusinessProfile.d.mts +1 -1
- package/dist/esm/api/types/BusinessStand.d.mts +2 -2
- package/dist/esm/api/types/BusinessStripeConnection.d.mts +15 -15
- package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +2 -2
- package/dist/esm/api/types/CartResource.d.mts +2 -2
- package/dist/esm/api/types/Conversation.d.mts +1 -1
- package/dist/esm/api/types/CustomerBulletin.d.mts +1 -1
- package/dist/esm/api/types/CustomerComment.d.mts +2 -2
- package/dist/esm/api/types/CustomerDiscoveryAllergen.d.mts +2 -2
- package/dist/esm/api/types/CustomerEvent.d.mts +1 -1
- package/dist/esm/api/types/CustomerEventRsvp.d.mts +2 -2
- package/dist/esm/api/types/CustomerEventTicketType.d.mts +2 -2
- package/dist/esm/api/types/DiscoveryBusiness.d.mts +3 -3
- package/dist/esm/api/types/FavoriteFacets.d.mts +34 -0
- package/dist/esm/api/types/FavoriteFacets.mjs +2 -0
- package/dist/esm/api/types/ProductResource.d.mts +5 -5
- package/dist/esm/api/types/PublicBusinessList.d.mts +10 -0
- package/dist/esm/api/types/PublicBusinessList.mjs +2 -0
- package/dist/esm/api/types/ShippingAccountResource.d.mts +5 -5
- package/dist/esm/api/types/Transaction.d.mts +2 -2
- package/dist/esm/api/types/index.d.mts +7 -2
- package/dist/esm/api/types/index.mjs +7 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +34 -1
- package/reference.md +818 -90
- package/dist/cjs/api/types/Allergen.d.ts +0 -10
- package/dist/cjs/api/types/Image.d.ts +0 -16
- package/dist/esm/api/types/Allergen.d.mts +0 -10
- package/dist/esm/api/types/Image.d.mts +0 -16
- /package/dist/cjs/api/{types/Allergen.js → resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.js} +0 -0
- /package/dist/cjs/api/{types/Image.js → resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.js} +0 -0
- /package/dist/esm/api/{types/Allergen.mjs → resources/customer/resources/me/resources/lists/client/requests/DeleteListsRequest.mjs} +0 -0
- /package/dist/esm/api/{types/Image.mjs → resources/customer/resources/me/resources/lists/client/requests/GetListsRequest.mjs} +0 -0
package/reference.md
CHANGED
|
@@ -222,6 +222,78 @@ await client.customerStands.customerClearStandCart({
|
|
|
222
222
|
</dl>
|
|
223
223
|
|
|
224
224
|
|
|
225
|
+
</dd>
|
|
226
|
+
</dl>
|
|
227
|
+
</details>
|
|
228
|
+
|
|
229
|
+
## PublicLists
|
|
230
|
+
<details><summary><code>client.publicLists.<a href="/src/api/resources/publicLists/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetPublicListsResponse</code></summary>
|
|
231
|
+
<dl>
|
|
232
|
+
<dd>
|
|
233
|
+
|
|
234
|
+
#### 📝 Description
|
|
235
|
+
|
|
236
|
+
<dl>
|
|
237
|
+
<dd>
|
|
238
|
+
|
|
239
|
+
<dl>
|
|
240
|
+
<dd>
|
|
241
|
+
|
|
242
|
+
Read a publicly shared list. No authentication required — this is what a
|
|
243
|
+
share link resolves to.
|
|
244
|
+
|
|
245
|
+
A private list returns 404 rather than 403: a 403 would confirm the list
|
|
246
|
+
exists, which is more than a stranger should learn from a guessed URL.
|
|
247
|
+
Items exclude delisted businesses, so a business that has left the
|
|
248
|
+
platform cannot leak through someone's shared link.
|
|
249
|
+
</dd>
|
|
250
|
+
</dl>
|
|
251
|
+
</dd>
|
|
252
|
+
</dl>
|
|
253
|
+
|
|
254
|
+
#### 🔌 Usage
|
|
255
|
+
|
|
256
|
+
<dl>
|
|
257
|
+
<dd>
|
|
258
|
+
|
|
259
|
+
<dl>
|
|
260
|
+
<dd>
|
|
261
|
+
|
|
262
|
+
```typescript
|
|
263
|
+
await client.publicLists.get({
|
|
264
|
+
businessList: "businessList"
|
|
265
|
+
});
|
|
266
|
+
|
|
267
|
+
```
|
|
268
|
+
</dd>
|
|
269
|
+
</dl>
|
|
270
|
+
</dd>
|
|
271
|
+
</dl>
|
|
272
|
+
|
|
273
|
+
#### ⚙️ Parameters
|
|
274
|
+
|
|
275
|
+
<dl>
|
|
276
|
+
<dd>
|
|
277
|
+
|
|
278
|
+
<dl>
|
|
279
|
+
<dd>
|
|
280
|
+
|
|
281
|
+
**request:** `FiveOneEat.GetPublicListsRequest`
|
|
282
|
+
|
|
283
|
+
</dd>
|
|
284
|
+
</dl>
|
|
285
|
+
|
|
286
|
+
<dl>
|
|
287
|
+
<dd>
|
|
288
|
+
|
|
289
|
+
**requestOptions:** `PublicListsClient.RequestOptions`
|
|
290
|
+
|
|
291
|
+
</dd>
|
|
292
|
+
</dl>
|
|
293
|
+
</dd>
|
|
294
|
+
</dl>
|
|
295
|
+
|
|
296
|
+
|
|
225
297
|
</dd>
|
|
226
298
|
</dl>
|
|
227
299
|
</details>
|
|
@@ -11887,6 +11959,63 @@ await client.customer.messaging.channelAuth({
|
|
|
11887
11959
|
</details>
|
|
11888
11960
|
|
|
11889
11961
|
## Customer Me
|
|
11962
|
+
<details><summary><code>client.customer.me.<a href="/src/api/resources/customer/resources/me/client/Client.ts">favoriteFacets</a>() -> FiveOneEat.FavoriteFacetsMeResponse</code></summary>
|
|
11963
|
+
<dl>
|
|
11964
|
+
<dd>
|
|
11965
|
+
|
|
11966
|
+
#### 📝 Description
|
|
11967
|
+
|
|
11968
|
+
<dl>
|
|
11969
|
+
<dd>
|
|
11970
|
+
|
|
11971
|
+
<dl>
|
|
11972
|
+
<dd>
|
|
11973
|
+
|
|
11974
|
+
The filter options available for this user's favorites — only taxonomies
|
|
11975
|
+
actually present among them, each with a count. An option that cannot
|
|
11976
|
+
match anything is never returned.
|
|
11977
|
+
</dd>
|
|
11978
|
+
</dl>
|
|
11979
|
+
</dd>
|
|
11980
|
+
</dl>
|
|
11981
|
+
|
|
11982
|
+
#### 🔌 Usage
|
|
11983
|
+
|
|
11984
|
+
<dl>
|
|
11985
|
+
<dd>
|
|
11986
|
+
|
|
11987
|
+
<dl>
|
|
11988
|
+
<dd>
|
|
11989
|
+
|
|
11990
|
+
```typescript
|
|
11991
|
+
await client.customer.me.favoriteFacets();
|
|
11992
|
+
|
|
11993
|
+
```
|
|
11994
|
+
</dd>
|
|
11995
|
+
</dl>
|
|
11996
|
+
</dd>
|
|
11997
|
+
</dl>
|
|
11998
|
+
|
|
11999
|
+
#### ⚙️ Parameters
|
|
12000
|
+
|
|
12001
|
+
<dl>
|
|
12002
|
+
<dd>
|
|
12003
|
+
|
|
12004
|
+
<dl>
|
|
12005
|
+
<dd>
|
|
12006
|
+
|
|
12007
|
+
**requestOptions:** `MeClient.RequestOptions`
|
|
12008
|
+
|
|
12009
|
+
</dd>
|
|
12010
|
+
</dl>
|
|
12011
|
+
</dd>
|
|
12012
|
+
</dl>
|
|
12013
|
+
|
|
12014
|
+
|
|
12015
|
+
</dd>
|
|
12016
|
+
</dl>
|
|
12017
|
+
</details>
|
|
12018
|
+
|
|
11890
12019
|
<details><summary><code>client.customer.me.<a href="/src/api/resources/customer/resources/me/client/Client.ts">favorites</a>({ ...params }) -> FiveOneEat.FavoritesMeResponse</code></summary>
|
|
11891
12020
|
<dl>
|
|
11892
12021
|
<dd>
|
|
@@ -11899,7 +12028,9 @@ await client.customer.messaging.channelAuth({
|
|
|
11899
12028
|
<dl>
|
|
11900
12029
|
<dd>
|
|
11901
12030
|
|
|
11902
|
-
|
|
12031
|
+
The authenticated user's favorited businesses, optionally narrowed by
|
|
12032
|
+
search term and taxonomy facets. Values within one facet are OR; separate
|
|
12033
|
+
facets compose as AND.
|
|
11903
12034
|
</dd>
|
|
11904
12035
|
</dl>
|
|
11905
12036
|
</dd>
|
|
@@ -13738,8 +13869,8 @@ await client.customer.events.ticketing.confirmOrder({
|
|
|
13738
13869
|
</dl>
|
|
13739
13870
|
</details>
|
|
13740
13871
|
|
|
13741
|
-
## Customer Me
|
|
13742
|
-
<details><summary><code>client.customer.me.
|
|
13872
|
+
## Customer Me Lists
|
|
13873
|
+
<details><summary><code>client.customer.me.lists.<a href="/src/api/resources/customer/resources/me/resources/lists/client/Client.ts">list</a>() -> FiveOneEat.ListListsResponse</code></summary>
|
|
13743
13874
|
<dl>
|
|
13744
13875
|
<dd>
|
|
13745
13876
|
|
|
@@ -13751,7 +13882,8 @@ await client.customer.events.ticketing.confirmOrder({
|
|
|
13751
13882
|
<dl>
|
|
13752
13883
|
<dd>
|
|
13753
13884
|
|
|
13754
|
-
|
|
13885
|
+
Every list the authenticated user owns, newest first, each carrying a
|
|
13886
|
+
cover image drawn from its most recently added business.
|
|
13755
13887
|
</dd>
|
|
13756
13888
|
</dl>
|
|
13757
13889
|
</dd>
|
|
@@ -13766,7 +13898,7 @@ Retrieve the authenticated user's tickets with pagination.
|
|
|
13766
13898
|
<dd>
|
|
13767
13899
|
|
|
13768
13900
|
```typescript
|
|
13769
|
-
await client.customer.me.
|
|
13901
|
+
await client.customer.me.lists.list();
|
|
13770
13902
|
|
|
13771
13903
|
```
|
|
13772
13904
|
</dd>
|
|
@@ -13782,15 +13914,7 @@ await client.customer.me.tickets.list();
|
|
|
13782
13914
|
<dl>
|
|
13783
13915
|
<dd>
|
|
13784
13916
|
|
|
13785
|
-
**
|
|
13786
|
-
|
|
13787
|
-
</dd>
|
|
13788
|
-
</dl>
|
|
13789
|
-
|
|
13790
|
-
<dl>
|
|
13791
|
-
<dd>
|
|
13792
|
-
|
|
13793
|
-
**requestOptions:** `TicketsClient.RequestOptions`
|
|
13917
|
+
**requestOptions:** `ListsClient.RequestOptions`
|
|
13794
13918
|
|
|
13795
13919
|
</dd>
|
|
13796
13920
|
</dl>
|
|
@@ -13802,7 +13926,7 @@ await client.customer.me.tickets.list();
|
|
|
13802
13926
|
</dl>
|
|
13803
13927
|
</details>
|
|
13804
13928
|
|
|
13805
|
-
<details><summary><code>client.customer.me.
|
|
13929
|
+
<details><summary><code>client.customer.me.lists.<a href="/src/api/resources/customer/resources/me/resources/lists/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateListsResponse</code></summary>
|
|
13806
13930
|
<dl>
|
|
13807
13931
|
<dd>
|
|
13808
13932
|
|
|
@@ -13814,7 +13938,8 @@ await client.customer.me.tickets.list();
|
|
|
13814
13938
|
<dl>
|
|
13815
13939
|
<dd>
|
|
13816
13940
|
|
|
13817
|
-
|
|
13941
|
+
Create a new list for the authenticated user. A public list is readable
|
|
13942
|
+
by anyone holding its share link.
|
|
13818
13943
|
</dd>
|
|
13819
13944
|
</dl>
|
|
13820
13945
|
</dd>
|
|
@@ -13829,8 +13954,8 @@ Retrieve a single ticket belonging to the authenticated user.
|
|
|
13829
13954
|
<dd>
|
|
13830
13955
|
|
|
13831
13956
|
```typescript
|
|
13832
|
-
await client.customer.me.
|
|
13833
|
-
|
|
13957
|
+
await client.customer.me.lists.create({
|
|
13958
|
+
name: "name"
|
|
13834
13959
|
});
|
|
13835
13960
|
|
|
13836
13961
|
```
|
|
@@ -13847,7 +13972,7 @@ await client.customer.me.tickets.get({
|
|
|
13847
13972
|
<dl>
|
|
13848
13973
|
<dd>
|
|
13849
13974
|
|
|
13850
|
-
**request:** `FiveOneEat.customer.me.
|
|
13975
|
+
**request:** `FiveOneEat.customer.me.StoreBusinessListRequest`
|
|
13851
13976
|
|
|
13852
13977
|
</dd>
|
|
13853
13978
|
</dl>
|
|
@@ -13855,7 +13980,7 @@ await client.customer.me.tickets.get({
|
|
|
13855
13980
|
<dl>
|
|
13856
13981
|
<dd>
|
|
13857
13982
|
|
|
13858
|
-
**requestOptions:** `
|
|
13983
|
+
**requestOptions:** `ListsClient.RequestOptions`
|
|
13859
13984
|
|
|
13860
13985
|
</dd>
|
|
13861
13986
|
</dl>
|
|
@@ -13867,7 +13992,7 @@ await client.customer.me.tickets.get({
|
|
|
13867
13992
|
</dl>
|
|
13868
13993
|
</details>
|
|
13869
13994
|
|
|
13870
|
-
<details><summary><code>client.customer.me.
|
|
13995
|
+
<details><summary><code>client.customer.me.lists.<a href="/src/api/resources/customer/resources/me/resources/lists/client/Client.ts">memberships</a>({ ...params }) -> FiveOneEat.MembershipsListsResponse</code></summary>
|
|
13871
13996
|
<dl>
|
|
13872
13997
|
<dd>
|
|
13873
13998
|
|
|
@@ -13879,7 +14004,11 @@ await client.customer.me.tickets.get({
|
|
|
13879
14004
|
<dl>
|
|
13880
14005
|
<dd>
|
|
13881
14006
|
|
|
13882
|
-
|
|
14007
|
+
Which of the authenticated user's lists already contain this business.
|
|
14008
|
+
Backs the checkbox state in a save-to-list sheet.
|
|
14009
|
+
|
|
14010
|
+
Scoped to the caller's own lists, so there is nothing here another user
|
|
14011
|
+
could learn.
|
|
13883
14012
|
</dd>
|
|
13884
14013
|
</dl>
|
|
13885
14014
|
</dd>
|
|
@@ -13894,8 +14023,8 @@ Returns a signed .pkpass file for import into Apple Wallet.
|
|
|
13894
14023
|
<dd>
|
|
13895
14024
|
|
|
13896
14025
|
```typescript
|
|
13897
|
-
await client.customer.me.
|
|
13898
|
-
|
|
14026
|
+
await client.customer.me.lists.memberships({
|
|
14027
|
+
business: "katzs-deli"
|
|
13899
14028
|
});
|
|
13900
14029
|
|
|
13901
14030
|
```
|
|
@@ -13912,7 +14041,7 @@ await client.customer.me.tickets.appleWalletPass({
|
|
|
13912
14041
|
<dl>
|
|
13913
14042
|
<dd>
|
|
13914
14043
|
|
|
13915
|
-
**request:** `FiveOneEat.customer.me.
|
|
14044
|
+
**request:** `FiveOneEat.customer.me.MembershipsListsRequest`
|
|
13916
14045
|
|
|
13917
14046
|
</dd>
|
|
13918
14047
|
</dl>
|
|
@@ -13920,7 +14049,7 @@ await client.customer.me.tickets.appleWalletPass({
|
|
|
13920
14049
|
<dl>
|
|
13921
14050
|
<dd>
|
|
13922
14051
|
|
|
13923
|
-
**requestOptions:** `
|
|
14052
|
+
**requestOptions:** `ListsClient.RequestOptions`
|
|
13924
14053
|
|
|
13925
14054
|
</dd>
|
|
13926
14055
|
</dl>
|
|
@@ -13932,8 +14061,7 @@ await client.customer.me.tickets.appleWalletPass({
|
|
|
13932
14061
|
</dl>
|
|
13933
14062
|
</details>
|
|
13934
14063
|
|
|
13935
|
-
|
|
13936
|
-
<details><summary><code>client.customer.me.ticketOrders.<a href="/src/api/resources/customer/resources/me/resources/ticketOrders/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListTicketOrdersResponse</code></summary>
|
|
14064
|
+
<details><summary><code>client.customer.me.lists.<a href="/src/api/resources/customer/resources/me/resources/lists/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetListsResponse</code></summary>
|
|
13937
14065
|
<dl>
|
|
13938
14066
|
<dd>
|
|
13939
14067
|
|
|
@@ -13945,7 +14073,12 @@ await client.customer.me.tickets.appleWalletPass({
|
|
|
13945
14073
|
<dl>
|
|
13946
14074
|
<dd>
|
|
13947
14075
|
|
|
13948
|
-
Retrieve the authenticated user's
|
|
14076
|
+
Retrieve one of the authenticated user's own lists with its businesses.
|
|
14077
|
+
|
|
14078
|
+
Owner-only. `view` would return true for any public list, which would
|
|
14079
|
+
expose this owner-scoped payload — including delisted businesses — to a
|
|
14080
|
+
signed-in stranger. Strangers read a shared list through the public
|
|
14081
|
+
endpoint instead.
|
|
13949
14082
|
</dd>
|
|
13950
14083
|
</dl>
|
|
13951
14084
|
</dd>
|
|
@@ -13960,7 +14093,9 @@ Retrieve the authenticated user's ticket orders with pagination.
|
|
|
13960
14093
|
<dd>
|
|
13961
14094
|
|
|
13962
14095
|
```typescript
|
|
13963
|
-
await client.customer.me.
|
|
14096
|
+
await client.customer.me.lists.get({
|
|
14097
|
+
businessList: "businessList"
|
|
14098
|
+
});
|
|
13964
14099
|
|
|
13965
14100
|
```
|
|
13966
14101
|
</dd>
|
|
@@ -13976,7 +14111,7 @@ await client.customer.me.ticketOrders.list();
|
|
|
13976
14111
|
<dl>
|
|
13977
14112
|
<dd>
|
|
13978
14113
|
|
|
13979
|
-
**request:** `FiveOneEat.customer.me.
|
|
14114
|
+
**request:** `FiveOneEat.customer.me.GetListsRequest`
|
|
13980
14115
|
|
|
13981
14116
|
</dd>
|
|
13982
14117
|
</dl>
|
|
@@ -13984,7 +14119,7 @@ await client.customer.me.ticketOrders.list();
|
|
|
13984
14119
|
<dl>
|
|
13985
14120
|
<dd>
|
|
13986
14121
|
|
|
13987
|
-
**requestOptions:** `
|
|
14122
|
+
**requestOptions:** `ListsClient.RequestOptions`
|
|
13988
14123
|
|
|
13989
14124
|
</dd>
|
|
13990
14125
|
</dl>
|
|
@@ -13996,7 +14131,7 @@ await client.customer.me.ticketOrders.list();
|
|
|
13996
14131
|
</dl>
|
|
13997
14132
|
</details>
|
|
13998
14133
|
|
|
13999
|
-
<details><summary><code>client.customer.me.
|
|
14134
|
+
<details><summary><code>client.customer.me.lists.<a href="/src/api/resources/customer/resources/me/resources/lists/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateListsResponse</code></summary>
|
|
14000
14135
|
<dl>
|
|
14001
14136
|
<dd>
|
|
14002
14137
|
|
|
@@ -14008,7 +14143,7 @@ await client.customer.me.ticketOrders.list();
|
|
|
14008
14143
|
<dl>
|
|
14009
14144
|
<dd>
|
|
14010
14145
|
|
|
14011
|
-
|
|
14146
|
+
Change a list's name, description, or visibility.
|
|
14012
14147
|
</dd>
|
|
14013
14148
|
</dl>
|
|
14014
14149
|
</dd>
|
|
@@ -14023,8 +14158,9 @@ Retrieve a single ticket order belonging to the authenticated user.
|
|
|
14023
14158
|
<dd>
|
|
14024
14159
|
|
|
14025
14160
|
```typescript
|
|
14026
|
-
await client.customer.me.
|
|
14027
|
-
|
|
14161
|
+
await client.customer.me.lists.update({
|
|
14162
|
+
businessList: "businessList",
|
|
14163
|
+
name: "name"
|
|
14028
14164
|
});
|
|
14029
14165
|
|
|
14030
14166
|
```
|
|
@@ -14041,7 +14177,7 @@ await client.customer.me.ticketOrders.get({
|
|
|
14041
14177
|
<dl>
|
|
14042
14178
|
<dd>
|
|
14043
14179
|
|
|
14044
|
-
**request:** `FiveOneEat.customer.me.
|
|
14180
|
+
**request:** `FiveOneEat.customer.me.UpdateBusinessListRequest`
|
|
14045
14181
|
|
|
14046
14182
|
</dd>
|
|
14047
14183
|
</dl>
|
|
@@ -14049,7 +14185,7 @@ await client.customer.me.ticketOrders.get({
|
|
|
14049
14185
|
<dl>
|
|
14050
14186
|
<dd>
|
|
14051
14187
|
|
|
14052
|
-
**requestOptions:** `
|
|
14188
|
+
**requestOptions:** `ListsClient.RequestOptions`
|
|
14053
14189
|
|
|
14054
14190
|
</dd>
|
|
14055
14191
|
</dl>
|
|
@@ -14061,8 +14197,7 @@ await client.customer.me.ticketOrders.get({
|
|
|
14061
14197
|
</dl>
|
|
14062
14198
|
</details>
|
|
14063
14199
|
|
|
14064
|
-
|
|
14065
|
-
<details><summary><code>client.customer.me.addresses.<a href="/src/api/resources/customer/resources/me/resources/addresses/client/Client.ts">list</a>() -> FiveOneEat.ListAddressesResponse</code></summary>
|
|
14200
|
+
<details><summary><code>client.customer.me.lists.<a href="/src/api/resources/customer/resources/me/resources/lists/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
|
14066
14201
|
<dl>
|
|
14067
14202
|
<dd>
|
|
14068
14203
|
|
|
@@ -14074,7 +14209,8 @@ await client.customer.me.ticketOrders.get({
|
|
|
14074
14209
|
<dl>
|
|
14075
14210
|
<dd>
|
|
14076
14211
|
|
|
14077
|
-
|
|
14212
|
+
Permanently delete a list and its notes. The businesses themselves are
|
|
14213
|
+
unaffected.
|
|
14078
14214
|
</dd>
|
|
14079
14215
|
</dl>
|
|
14080
14216
|
</dd>
|
|
@@ -14089,7 +14225,9 @@ Retrieve all saved addresses for the authenticated user.
|
|
|
14089
14225
|
<dd>
|
|
14090
14226
|
|
|
14091
14227
|
```typescript
|
|
14092
|
-
await client.customer.me.
|
|
14228
|
+
await client.customer.me.lists.delete({
|
|
14229
|
+
businessList: "businessList"
|
|
14230
|
+
});
|
|
14093
14231
|
|
|
14094
14232
|
```
|
|
14095
14233
|
</dd>
|
|
@@ -14105,7 +14243,15 @@ await client.customer.me.addresses.list();
|
|
|
14105
14243
|
<dl>
|
|
14106
14244
|
<dd>
|
|
14107
14245
|
|
|
14108
|
-
**
|
|
14246
|
+
**request:** `FiveOneEat.customer.me.DeleteListsRequest`
|
|
14247
|
+
|
|
14248
|
+
</dd>
|
|
14249
|
+
</dl>
|
|
14250
|
+
|
|
14251
|
+
<dl>
|
|
14252
|
+
<dd>
|
|
14253
|
+
|
|
14254
|
+
**requestOptions:** `ListsClient.RequestOptions`
|
|
14109
14255
|
|
|
14110
14256
|
</dd>
|
|
14111
14257
|
</dl>
|
|
@@ -14117,7 +14263,8 @@ await client.customer.me.addresses.list();
|
|
|
14117
14263
|
</dl>
|
|
14118
14264
|
</details>
|
|
14119
14265
|
|
|
14120
|
-
|
|
14266
|
+
## Customer Me Tickets
|
|
14267
|
+
<details><summary><code>client.customer.me.tickets.<a href="/src/api/resources/customer/resources/me/resources/tickets/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListTicketsResponse</code></summary>
|
|
14121
14268
|
<dl>
|
|
14122
14269
|
<dd>
|
|
14123
14270
|
|
|
@@ -14129,8 +14276,7 @@ await client.customer.me.addresses.list();
|
|
|
14129
14276
|
<dl>
|
|
14130
14277
|
<dd>
|
|
14131
14278
|
|
|
14132
|
-
|
|
14133
|
-
or if `is_default` is true, it will be set as the default (clearing any existing default).
|
|
14279
|
+
Retrieve the authenticated user's tickets with pagination.
|
|
14134
14280
|
</dd>
|
|
14135
14281
|
</dl>
|
|
14136
14282
|
</dd>
|
|
@@ -14145,13 +14291,7 @@ or if `is_default` is true, it will be set as the default (clearing any existing
|
|
|
14145
14291
|
<dd>
|
|
14146
14292
|
|
|
14147
14293
|
```typescript
|
|
14148
|
-
await client.customer.me.
|
|
14149
|
-
line1: "line1",
|
|
14150
|
-
city: "city",
|
|
14151
|
-
state: "state",
|
|
14152
|
-
postal_code: "postal_code",
|
|
14153
|
-
country: "country"
|
|
14154
|
-
});
|
|
14294
|
+
await client.customer.me.tickets.list();
|
|
14155
14295
|
|
|
14156
14296
|
```
|
|
14157
14297
|
</dd>
|
|
@@ -14167,7 +14307,7 @@ await client.customer.me.addresses.create({
|
|
|
14167
14307
|
<dl>
|
|
14168
14308
|
<dd>
|
|
14169
14309
|
|
|
14170
|
-
**request:** `FiveOneEat.
|
|
14310
|
+
**request:** `FiveOneEat.customer.me.ListTicketsRequest`
|
|
14171
14311
|
|
|
14172
14312
|
</dd>
|
|
14173
14313
|
</dl>
|
|
@@ -14175,7 +14315,7 @@ await client.customer.me.addresses.create({
|
|
|
14175
14315
|
<dl>
|
|
14176
14316
|
<dd>
|
|
14177
14317
|
|
|
14178
|
-
**requestOptions:** `
|
|
14318
|
+
**requestOptions:** `TicketsClient.RequestOptions`
|
|
14179
14319
|
|
|
14180
14320
|
</dd>
|
|
14181
14321
|
</dl>
|
|
@@ -14187,7 +14327,7 @@ await client.customer.me.addresses.create({
|
|
|
14187
14327
|
</dl>
|
|
14188
14328
|
</details>
|
|
14189
14329
|
|
|
14190
|
-
<details><summary><code>client.customer.me.
|
|
14330
|
+
<details><summary><code>client.customer.me.tickets.<a href="/src/api/resources/customer/resources/me/resources/tickets/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetTicketsResponse</code></summary>
|
|
14191
14331
|
<dl>
|
|
14192
14332
|
<dd>
|
|
14193
14333
|
|
|
@@ -14199,8 +14339,7 @@ await client.customer.me.addresses.create({
|
|
|
14199
14339
|
<dl>
|
|
14200
14340
|
<dd>
|
|
14201
14341
|
|
|
14202
|
-
|
|
14203
|
-
the most recently created remaining address is promoted to default.
|
|
14342
|
+
Retrieve a single ticket belonging to the authenticated user.
|
|
14204
14343
|
</dd>
|
|
14205
14344
|
</dl>
|
|
14206
14345
|
</dd>
|
|
@@ -14215,8 +14354,8 @@ the most recently created remaining address is promoted to default.
|
|
|
14215
14354
|
<dd>
|
|
14216
14355
|
|
|
14217
14356
|
```typescript
|
|
14218
|
-
await client.customer.me.
|
|
14219
|
-
|
|
14357
|
+
await client.customer.me.tickets.get({
|
|
14358
|
+
ticketId: "ticketId"
|
|
14220
14359
|
});
|
|
14221
14360
|
|
|
14222
14361
|
```
|
|
@@ -14233,7 +14372,7 @@ await client.customer.me.addresses.delete({
|
|
|
14233
14372
|
<dl>
|
|
14234
14373
|
<dd>
|
|
14235
14374
|
|
|
14236
|
-
**request:** `FiveOneEat.customer.me.
|
|
14375
|
+
**request:** `FiveOneEat.customer.me.GetTicketsRequest`
|
|
14237
14376
|
|
|
14238
14377
|
</dd>
|
|
14239
14378
|
</dl>
|
|
@@ -14241,7 +14380,7 @@ await client.customer.me.addresses.delete({
|
|
|
14241
14380
|
<dl>
|
|
14242
14381
|
<dd>
|
|
14243
14382
|
|
|
14244
|
-
**requestOptions:** `
|
|
14383
|
+
**requestOptions:** `TicketsClient.RequestOptions`
|
|
14245
14384
|
|
|
14246
14385
|
</dd>
|
|
14247
14386
|
</dl>
|
|
@@ -14253,7 +14392,7 @@ await client.customer.me.addresses.delete({
|
|
|
14253
14392
|
</dl>
|
|
14254
14393
|
</details>
|
|
14255
14394
|
|
|
14256
|
-
<details><summary><code>client.customer.me.
|
|
14395
|
+
<details><summary><code>client.customer.me.tickets.<a href="/src/api/resources/customer/resources/me/resources/tickets/client/Client.ts">appleWalletPass</a>({ ...params }) -> Record<string, unknown></code></summary>
|
|
14257
14396
|
<dl>
|
|
14258
14397
|
<dd>
|
|
14259
14398
|
|
|
@@ -14265,7 +14404,7 @@ await client.customer.me.addresses.delete({
|
|
|
14265
14404
|
<dl>
|
|
14266
14405
|
<dd>
|
|
14267
14406
|
|
|
14268
|
-
|
|
14407
|
+
Returns a signed .pkpass file for import into Apple Wallet.
|
|
14269
14408
|
</dd>
|
|
14270
14409
|
</dl>
|
|
14271
14410
|
</dd>
|
|
@@ -14280,15 +14419,8 @@ Update a saved address. If `is_default` is true, the previous default address wi
|
|
|
14280
14419
|
<dd>
|
|
14281
14420
|
|
|
14282
14421
|
```typescript
|
|
14283
|
-
await client.customer.me.
|
|
14284
|
-
|
|
14285
|
-
body: {
|
|
14286
|
-
line1: "line1",
|
|
14287
|
-
city: "city",
|
|
14288
|
-
state: "state",
|
|
14289
|
-
postal_code: "postal_code",
|
|
14290
|
-
country: "country"
|
|
14291
|
-
}
|
|
14422
|
+
await client.customer.me.tickets.appleWalletPass({
|
|
14423
|
+
ticketId: "ticketId"
|
|
14292
14424
|
});
|
|
14293
14425
|
|
|
14294
14426
|
```
|
|
@@ -14305,7 +14437,7 @@ await client.customer.me.addresses.update({
|
|
|
14305
14437
|
<dl>
|
|
14306
14438
|
<dd>
|
|
14307
14439
|
|
|
14308
|
-
**request:** `FiveOneEat.customer.me.
|
|
14440
|
+
**request:** `FiveOneEat.customer.me.AppleWalletPassTicketsRequest`
|
|
14309
14441
|
|
|
14310
14442
|
</dd>
|
|
14311
14443
|
</dl>
|
|
@@ -14313,7 +14445,7 @@ await client.customer.me.addresses.update({
|
|
|
14313
14445
|
<dl>
|
|
14314
14446
|
<dd>
|
|
14315
14447
|
|
|
14316
|
-
**requestOptions:** `
|
|
14448
|
+
**requestOptions:** `TicketsClient.RequestOptions`
|
|
14317
14449
|
|
|
14318
14450
|
</dd>
|
|
14319
14451
|
</dl>
|
|
@@ -14325,8 +14457,8 @@ await client.customer.me.addresses.update({
|
|
|
14325
14457
|
</dl>
|
|
14326
14458
|
</details>
|
|
14327
14459
|
|
|
14328
|
-
## Customer Me
|
|
14329
|
-
<details><summary><code>client.customer.me.
|
|
14460
|
+
## Customer Me TicketOrders
|
|
14461
|
+
<details><summary><code>client.customer.me.ticketOrders.<a href="/src/api/resources/customer/resources/me/resources/ticketOrders/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListTicketOrdersResponse</code></summary>
|
|
14330
14462
|
<dl>
|
|
14331
14463
|
<dd>
|
|
14332
14464
|
|
|
@@ -14338,9 +14470,7 @@ await client.customer.me.addresses.update({
|
|
|
14338
14470
|
<dl>
|
|
14339
14471
|
<dd>
|
|
14340
14472
|
|
|
14341
|
-
|
|
14342
|
-
to present the payment sheet and collect card details. Once confirmed, pass the
|
|
14343
|
-
resulting payment method ID to the store endpoint.
|
|
14473
|
+
Retrieve the authenticated user's ticket orders with pagination.
|
|
14344
14474
|
</dd>
|
|
14345
14475
|
</dl>
|
|
14346
14476
|
</dd>
|
|
@@ -14355,7 +14485,7 @@ resulting payment method ID to the store endpoint.
|
|
|
14355
14485
|
<dd>
|
|
14356
14486
|
|
|
14357
14487
|
```typescript
|
|
14358
|
-
await client.customer.me.
|
|
14488
|
+
await client.customer.me.ticketOrders.list();
|
|
14359
14489
|
|
|
14360
14490
|
```
|
|
14361
14491
|
</dd>
|
|
@@ -14371,7 +14501,15 @@ await client.customer.me.paymentMethods.setupIntent();
|
|
|
14371
14501
|
<dl>
|
|
14372
14502
|
<dd>
|
|
14373
14503
|
|
|
14374
|
-
**
|
|
14504
|
+
**request:** `FiveOneEat.customer.me.ListTicketOrdersRequest`
|
|
14505
|
+
|
|
14506
|
+
</dd>
|
|
14507
|
+
</dl>
|
|
14508
|
+
|
|
14509
|
+
<dl>
|
|
14510
|
+
<dd>
|
|
14511
|
+
|
|
14512
|
+
**requestOptions:** `TicketOrdersClient.RequestOptions`
|
|
14375
14513
|
|
|
14376
14514
|
</dd>
|
|
14377
14515
|
</dl>
|
|
@@ -14383,7 +14521,7 @@ await client.customer.me.paymentMethods.setupIntent();
|
|
|
14383
14521
|
</dl>
|
|
14384
14522
|
</details>
|
|
14385
14523
|
|
|
14386
|
-
<details><summary><code>client.customer.me.
|
|
14524
|
+
<details><summary><code>client.customer.me.ticketOrders.<a href="/src/api/resources/customer/resources/me/resources/ticketOrders/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetTicketOrdersResponse</code></summary>
|
|
14387
14525
|
<dl>
|
|
14388
14526
|
<dd>
|
|
14389
14527
|
|
|
@@ -14395,9 +14533,7 @@ await client.customer.me.paymentMethods.setupIntent();
|
|
|
14395
14533
|
<dl>
|
|
14396
14534
|
<dd>
|
|
14397
14535
|
|
|
14398
|
-
|
|
14399
|
-
Stripe mobile SDK's `initPaymentSheet` as `customerId` and
|
|
14400
|
-
`customerEphemeralKeySecret` so the sheet lists the customer's saved cards.
|
|
14536
|
+
Retrieve a single ticket order belonging to the authenticated user.
|
|
14401
14537
|
</dd>
|
|
14402
14538
|
</dl>
|
|
14403
14539
|
</dd>
|
|
@@ -14412,7 +14548,9 @@ Stripe mobile SDK's `initPaymentSheet` as `customerId` and
|
|
|
14412
14548
|
<dd>
|
|
14413
14549
|
|
|
14414
14550
|
```typescript
|
|
14415
|
-
await client.customer.me.
|
|
14551
|
+
await client.customer.me.ticketOrders.get({
|
|
14552
|
+
orderId: "orderId"
|
|
14553
|
+
});
|
|
14416
14554
|
|
|
14417
14555
|
```
|
|
14418
14556
|
</dd>
|
|
@@ -14428,12 +14566,399 @@ await client.customer.me.paymentMethods.ephemeralKey();
|
|
|
14428
14566
|
<dl>
|
|
14429
14567
|
<dd>
|
|
14430
14568
|
|
|
14431
|
-
**
|
|
14569
|
+
**request:** `FiveOneEat.customer.me.GetTicketOrdersRequest`
|
|
14432
14570
|
|
|
14433
14571
|
</dd>
|
|
14434
14572
|
</dl>
|
|
14435
|
-
|
|
14436
|
-
|
|
14573
|
+
|
|
14574
|
+
<dl>
|
|
14575
|
+
<dd>
|
|
14576
|
+
|
|
14577
|
+
**requestOptions:** `TicketOrdersClient.RequestOptions`
|
|
14578
|
+
|
|
14579
|
+
</dd>
|
|
14580
|
+
</dl>
|
|
14581
|
+
</dd>
|
|
14582
|
+
</dl>
|
|
14583
|
+
|
|
14584
|
+
|
|
14585
|
+
</dd>
|
|
14586
|
+
</dl>
|
|
14587
|
+
</details>
|
|
14588
|
+
|
|
14589
|
+
## Customer Me Addresses
|
|
14590
|
+
<details><summary><code>client.customer.me.addresses.<a href="/src/api/resources/customer/resources/me/resources/addresses/client/Client.ts">list</a>() -> FiveOneEat.ListAddressesResponse</code></summary>
|
|
14591
|
+
<dl>
|
|
14592
|
+
<dd>
|
|
14593
|
+
|
|
14594
|
+
#### 📝 Description
|
|
14595
|
+
|
|
14596
|
+
<dl>
|
|
14597
|
+
<dd>
|
|
14598
|
+
|
|
14599
|
+
<dl>
|
|
14600
|
+
<dd>
|
|
14601
|
+
|
|
14602
|
+
Retrieve all saved addresses for the authenticated user.
|
|
14603
|
+
</dd>
|
|
14604
|
+
</dl>
|
|
14605
|
+
</dd>
|
|
14606
|
+
</dl>
|
|
14607
|
+
|
|
14608
|
+
#### 🔌 Usage
|
|
14609
|
+
|
|
14610
|
+
<dl>
|
|
14611
|
+
<dd>
|
|
14612
|
+
|
|
14613
|
+
<dl>
|
|
14614
|
+
<dd>
|
|
14615
|
+
|
|
14616
|
+
```typescript
|
|
14617
|
+
await client.customer.me.addresses.list();
|
|
14618
|
+
|
|
14619
|
+
```
|
|
14620
|
+
</dd>
|
|
14621
|
+
</dl>
|
|
14622
|
+
</dd>
|
|
14623
|
+
</dl>
|
|
14624
|
+
|
|
14625
|
+
#### ⚙️ Parameters
|
|
14626
|
+
|
|
14627
|
+
<dl>
|
|
14628
|
+
<dd>
|
|
14629
|
+
|
|
14630
|
+
<dl>
|
|
14631
|
+
<dd>
|
|
14632
|
+
|
|
14633
|
+
**requestOptions:** `AddressesClient.RequestOptions`
|
|
14634
|
+
|
|
14635
|
+
</dd>
|
|
14636
|
+
</dl>
|
|
14637
|
+
</dd>
|
|
14638
|
+
</dl>
|
|
14639
|
+
|
|
14640
|
+
|
|
14641
|
+
</dd>
|
|
14642
|
+
</dl>
|
|
14643
|
+
</details>
|
|
14644
|
+
|
|
14645
|
+
<details><summary><code>client.customer.me.addresses.<a href="/src/api/resources/customer/resources/me/resources/addresses/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateAddressesResponse</code></summary>
|
|
14646
|
+
<dl>
|
|
14647
|
+
<dd>
|
|
14648
|
+
|
|
14649
|
+
#### 📝 Description
|
|
14650
|
+
|
|
14651
|
+
<dl>
|
|
14652
|
+
<dd>
|
|
14653
|
+
|
|
14654
|
+
<dl>
|
|
14655
|
+
<dd>
|
|
14656
|
+
|
|
14657
|
+
Save a new address to the authenticated user's account. If this is the first address,
|
|
14658
|
+
or if `is_default` is true, it will be set as the default (clearing any existing default).
|
|
14659
|
+
</dd>
|
|
14660
|
+
</dl>
|
|
14661
|
+
</dd>
|
|
14662
|
+
</dl>
|
|
14663
|
+
|
|
14664
|
+
#### 🔌 Usage
|
|
14665
|
+
|
|
14666
|
+
<dl>
|
|
14667
|
+
<dd>
|
|
14668
|
+
|
|
14669
|
+
<dl>
|
|
14670
|
+
<dd>
|
|
14671
|
+
|
|
14672
|
+
```typescript
|
|
14673
|
+
await client.customer.me.addresses.create({
|
|
14674
|
+
line1: "line1",
|
|
14675
|
+
city: "city",
|
|
14676
|
+
state: "state",
|
|
14677
|
+
postal_code: "postal_code",
|
|
14678
|
+
country: "country"
|
|
14679
|
+
});
|
|
14680
|
+
|
|
14681
|
+
```
|
|
14682
|
+
</dd>
|
|
14683
|
+
</dl>
|
|
14684
|
+
</dd>
|
|
14685
|
+
</dl>
|
|
14686
|
+
|
|
14687
|
+
#### ⚙️ Parameters
|
|
14688
|
+
|
|
14689
|
+
<dl>
|
|
14690
|
+
<dd>
|
|
14691
|
+
|
|
14692
|
+
<dl>
|
|
14693
|
+
<dd>
|
|
14694
|
+
|
|
14695
|
+
**request:** `FiveOneEat.StoreAddressRequest`
|
|
14696
|
+
|
|
14697
|
+
</dd>
|
|
14698
|
+
</dl>
|
|
14699
|
+
|
|
14700
|
+
<dl>
|
|
14701
|
+
<dd>
|
|
14702
|
+
|
|
14703
|
+
**requestOptions:** `AddressesClient.RequestOptions`
|
|
14704
|
+
|
|
14705
|
+
</dd>
|
|
14706
|
+
</dl>
|
|
14707
|
+
</dd>
|
|
14708
|
+
</dl>
|
|
14709
|
+
|
|
14710
|
+
|
|
14711
|
+
</dd>
|
|
14712
|
+
</dl>
|
|
14713
|
+
</details>
|
|
14714
|
+
|
|
14715
|
+
<details><summary><code>client.customer.me.addresses.<a href="/src/api/resources/customer/resources/me/resources/addresses/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
|
14716
|
+
<dl>
|
|
14717
|
+
<dd>
|
|
14718
|
+
|
|
14719
|
+
#### 📝 Description
|
|
14720
|
+
|
|
14721
|
+
<dl>
|
|
14722
|
+
<dd>
|
|
14723
|
+
|
|
14724
|
+
<dl>
|
|
14725
|
+
<dd>
|
|
14726
|
+
|
|
14727
|
+
Delete a saved address. If the deleted address was the default,
|
|
14728
|
+
the most recently created remaining address is promoted to default.
|
|
14729
|
+
</dd>
|
|
14730
|
+
</dl>
|
|
14731
|
+
</dd>
|
|
14732
|
+
</dl>
|
|
14733
|
+
|
|
14734
|
+
#### 🔌 Usage
|
|
14735
|
+
|
|
14736
|
+
<dl>
|
|
14737
|
+
<dd>
|
|
14738
|
+
|
|
14739
|
+
<dl>
|
|
14740
|
+
<dd>
|
|
14741
|
+
|
|
14742
|
+
```typescript
|
|
14743
|
+
await client.customer.me.addresses.delete({
|
|
14744
|
+
address: 1
|
|
14745
|
+
});
|
|
14746
|
+
|
|
14747
|
+
```
|
|
14748
|
+
</dd>
|
|
14749
|
+
</dl>
|
|
14750
|
+
</dd>
|
|
14751
|
+
</dl>
|
|
14752
|
+
|
|
14753
|
+
#### ⚙️ Parameters
|
|
14754
|
+
|
|
14755
|
+
<dl>
|
|
14756
|
+
<dd>
|
|
14757
|
+
|
|
14758
|
+
<dl>
|
|
14759
|
+
<dd>
|
|
14760
|
+
|
|
14761
|
+
**request:** `FiveOneEat.customer.me.DeleteAddressesRequest`
|
|
14762
|
+
|
|
14763
|
+
</dd>
|
|
14764
|
+
</dl>
|
|
14765
|
+
|
|
14766
|
+
<dl>
|
|
14767
|
+
<dd>
|
|
14768
|
+
|
|
14769
|
+
**requestOptions:** `AddressesClient.RequestOptions`
|
|
14770
|
+
|
|
14771
|
+
</dd>
|
|
14772
|
+
</dl>
|
|
14773
|
+
</dd>
|
|
14774
|
+
</dl>
|
|
14775
|
+
|
|
14776
|
+
|
|
14777
|
+
</dd>
|
|
14778
|
+
</dl>
|
|
14779
|
+
</details>
|
|
14780
|
+
|
|
14781
|
+
<details><summary><code>client.customer.me.addresses.<a href="/src/api/resources/customer/resources/me/resources/addresses/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateAddressesResponse</code></summary>
|
|
14782
|
+
<dl>
|
|
14783
|
+
<dd>
|
|
14784
|
+
|
|
14785
|
+
#### 📝 Description
|
|
14786
|
+
|
|
14787
|
+
<dl>
|
|
14788
|
+
<dd>
|
|
14789
|
+
|
|
14790
|
+
<dl>
|
|
14791
|
+
<dd>
|
|
14792
|
+
|
|
14793
|
+
Update a saved address. If `is_default` is true, the previous default address will be cleared.
|
|
14794
|
+
</dd>
|
|
14795
|
+
</dl>
|
|
14796
|
+
</dd>
|
|
14797
|
+
</dl>
|
|
14798
|
+
|
|
14799
|
+
#### 🔌 Usage
|
|
14800
|
+
|
|
14801
|
+
<dl>
|
|
14802
|
+
<dd>
|
|
14803
|
+
|
|
14804
|
+
<dl>
|
|
14805
|
+
<dd>
|
|
14806
|
+
|
|
14807
|
+
```typescript
|
|
14808
|
+
await client.customer.me.addresses.update({
|
|
14809
|
+
address: 1,
|
|
14810
|
+
body: {
|
|
14811
|
+
line1: "line1",
|
|
14812
|
+
city: "city",
|
|
14813
|
+
state: "state",
|
|
14814
|
+
postal_code: "postal_code",
|
|
14815
|
+
country: "country"
|
|
14816
|
+
}
|
|
14817
|
+
});
|
|
14818
|
+
|
|
14819
|
+
```
|
|
14820
|
+
</dd>
|
|
14821
|
+
</dl>
|
|
14822
|
+
</dd>
|
|
14823
|
+
</dl>
|
|
14824
|
+
|
|
14825
|
+
#### ⚙️ Parameters
|
|
14826
|
+
|
|
14827
|
+
<dl>
|
|
14828
|
+
<dd>
|
|
14829
|
+
|
|
14830
|
+
<dl>
|
|
14831
|
+
<dd>
|
|
14832
|
+
|
|
14833
|
+
**request:** `FiveOneEat.customer.me.UpdateAddressesRequest`
|
|
14834
|
+
|
|
14835
|
+
</dd>
|
|
14836
|
+
</dl>
|
|
14837
|
+
|
|
14838
|
+
<dl>
|
|
14839
|
+
<dd>
|
|
14840
|
+
|
|
14841
|
+
**requestOptions:** `AddressesClient.RequestOptions`
|
|
14842
|
+
|
|
14843
|
+
</dd>
|
|
14844
|
+
</dl>
|
|
14845
|
+
</dd>
|
|
14846
|
+
</dl>
|
|
14847
|
+
|
|
14848
|
+
|
|
14849
|
+
</dd>
|
|
14850
|
+
</dl>
|
|
14851
|
+
</details>
|
|
14852
|
+
|
|
14853
|
+
## Customer Me PaymentMethods
|
|
14854
|
+
<details><summary><code>client.customer.me.paymentMethods.<a href="/src/api/resources/customer/resources/me/resources/paymentMethods/client/Client.ts">setupIntent</a>() -> FiveOneEat.SetupIntentPaymentMethodsResponse</code></summary>
|
|
14855
|
+
<dl>
|
|
14856
|
+
<dd>
|
|
14857
|
+
|
|
14858
|
+
#### 📝 Description
|
|
14859
|
+
|
|
14860
|
+
<dl>
|
|
14861
|
+
<dd>
|
|
14862
|
+
|
|
14863
|
+
<dl>
|
|
14864
|
+
<dd>
|
|
14865
|
+
|
|
14866
|
+
Returns a Stripe SetupIntent client_secret. Use this with the Stripe mobile SDK
|
|
14867
|
+
to present the payment sheet and collect card details. Once confirmed, pass the
|
|
14868
|
+
resulting payment method ID to the store endpoint.
|
|
14869
|
+
</dd>
|
|
14870
|
+
</dl>
|
|
14871
|
+
</dd>
|
|
14872
|
+
</dl>
|
|
14873
|
+
|
|
14874
|
+
#### 🔌 Usage
|
|
14875
|
+
|
|
14876
|
+
<dl>
|
|
14877
|
+
<dd>
|
|
14878
|
+
|
|
14879
|
+
<dl>
|
|
14880
|
+
<dd>
|
|
14881
|
+
|
|
14882
|
+
```typescript
|
|
14883
|
+
await client.customer.me.paymentMethods.setupIntent();
|
|
14884
|
+
|
|
14885
|
+
```
|
|
14886
|
+
</dd>
|
|
14887
|
+
</dl>
|
|
14888
|
+
</dd>
|
|
14889
|
+
</dl>
|
|
14890
|
+
|
|
14891
|
+
#### ⚙️ Parameters
|
|
14892
|
+
|
|
14893
|
+
<dl>
|
|
14894
|
+
<dd>
|
|
14895
|
+
|
|
14896
|
+
<dl>
|
|
14897
|
+
<dd>
|
|
14898
|
+
|
|
14899
|
+
**requestOptions:** `PaymentMethodsClient.RequestOptions`
|
|
14900
|
+
|
|
14901
|
+
</dd>
|
|
14902
|
+
</dl>
|
|
14903
|
+
</dd>
|
|
14904
|
+
</dl>
|
|
14905
|
+
|
|
14906
|
+
|
|
14907
|
+
</dd>
|
|
14908
|
+
</dl>
|
|
14909
|
+
</details>
|
|
14910
|
+
|
|
14911
|
+
<details><summary><code>client.customer.me.paymentMethods.<a href="/src/api/resources/customer/resources/me/resources/paymentMethods/client/Client.ts">ephemeralKey</a>() -> FiveOneEat.EphemeralKeyPaymentMethodsResponse</code></summary>
|
|
14912
|
+
<dl>
|
|
14913
|
+
<dd>
|
|
14914
|
+
|
|
14915
|
+
#### 📝 Description
|
|
14916
|
+
|
|
14917
|
+
<dl>
|
|
14918
|
+
<dd>
|
|
14919
|
+
|
|
14920
|
+
<dl>
|
|
14921
|
+
<dd>
|
|
14922
|
+
|
|
14923
|
+
Returns the Stripe customer id and an ephemeral key secret. Pass these to the
|
|
14924
|
+
Stripe mobile SDK's `initPaymentSheet` as `customerId` and
|
|
14925
|
+
`customerEphemeralKeySecret` so the sheet lists the customer's saved cards.
|
|
14926
|
+
</dd>
|
|
14927
|
+
</dl>
|
|
14928
|
+
</dd>
|
|
14929
|
+
</dl>
|
|
14930
|
+
|
|
14931
|
+
#### 🔌 Usage
|
|
14932
|
+
|
|
14933
|
+
<dl>
|
|
14934
|
+
<dd>
|
|
14935
|
+
|
|
14936
|
+
<dl>
|
|
14937
|
+
<dd>
|
|
14938
|
+
|
|
14939
|
+
```typescript
|
|
14940
|
+
await client.customer.me.paymentMethods.ephemeralKey();
|
|
14941
|
+
|
|
14942
|
+
```
|
|
14943
|
+
</dd>
|
|
14944
|
+
</dl>
|
|
14945
|
+
</dd>
|
|
14946
|
+
</dl>
|
|
14947
|
+
|
|
14948
|
+
#### ⚙️ Parameters
|
|
14949
|
+
|
|
14950
|
+
<dl>
|
|
14951
|
+
<dd>
|
|
14952
|
+
|
|
14953
|
+
<dl>
|
|
14954
|
+
<dd>
|
|
14955
|
+
|
|
14956
|
+
**requestOptions:** `PaymentMethodsClient.RequestOptions`
|
|
14957
|
+
|
|
14958
|
+
</dd>
|
|
14959
|
+
</dl>
|
|
14960
|
+
</dd>
|
|
14961
|
+
</dl>
|
|
14437
14962
|
|
|
14438
14963
|
|
|
14439
14964
|
</dd>
|
|
@@ -14687,6 +15212,209 @@ await client.customer.me.paymentMethods.delete({
|
|
|
14687
15212
|
</dl>
|
|
14688
15213
|
|
|
14689
15214
|
|
|
15215
|
+
</dd>
|
|
15216
|
+
</dl>
|
|
15217
|
+
</details>
|
|
15218
|
+
|
|
15219
|
+
## Customer Me Lists Items
|
|
15220
|
+
<details><summary><code>client.customer.me.lists.items.<a href="/src/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.ts">add</a>({ ...params }) -> FiveOneEat.AddItemsResponse</code></summary>
|
|
15221
|
+
<dl>
|
|
15222
|
+
<dd>
|
|
15223
|
+
|
|
15224
|
+
#### 📝 Description
|
|
15225
|
+
|
|
15226
|
+
<dl>
|
|
15227
|
+
<dd>
|
|
15228
|
+
|
|
15229
|
+
<dl>
|
|
15230
|
+
<dd>
|
|
15231
|
+
|
|
15232
|
+
Save a business to one of the authenticated user's lists, with an
|
|
15233
|
+
optional note. Idempotent: adding a business already in the list leaves
|
|
15234
|
+
the existing entry and its note untouched.
|
|
15235
|
+
</dd>
|
|
15236
|
+
</dl>
|
|
15237
|
+
</dd>
|
|
15238
|
+
</dl>
|
|
15239
|
+
|
|
15240
|
+
#### 🔌 Usage
|
|
15241
|
+
|
|
15242
|
+
<dl>
|
|
15243
|
+
<dd>
|
|
15244
|
+
|
|
15245
|
+
<dl>
|
|
15246
|
+
<dd>
|
|
15247
|
+
|
|
15248
|
+
```typescript
|
|
15249
|
+
await client.customer.me.lists.items.add({
|
|
15250
|
+
businessList: "businessList",
|
|
15251
|
+
business: "business"
|
|
15252
|
+
});
|
|
15253
|
+
|
|
15254
|
+
```
|
|
15255
|
+
</dd>
|
|
15256
|
+
</dl>
|
|
15257
|
+
</dd>
|
|
15258
|
+
</dl>
|
|
15259
|
+
|
|
15260
|
+
#### ⚙️ Parameters
|
|
15261
|
+
|
|
15262
|
+
<dl>
|
|
15263
|
+
<dd>
|
|
15264
|
+
|
|
15265
|
+
<dl>
|
|
15266
|
+
<dd>
|
|
15267
|
+
|
|
15268
|
+
**request:** `FiveOneEat.customer.me.lists.AddListItemRequest`
|
|
15269
|
+
|
|
15270
|
+
</dd>
|
|
15271
|
+
</dl>
|
|
15272
|
+
|
|
15273
|
+
<dl>
|
|
15274
|
+
<dd>
|
|
15275
|
+
|
|
15276
|
+
**requestOptions:** `ItemsClient.RequestOptions`
|
|
15277
|
+
|
|
15278
|
+
</dd>
|
|
15279
|
+
</dl>
|
|
15280
|
+
</dd>
|
|
15281
|
+
</dl>
|
|
15282
|
+
|
|
15283
|
+
|
|
15284
|
+
</dd>
|
|
15285
|
+
</dl>
|
|
15286
|
+
</details>
|
|
15287
|
+
|
|
15288
|
+
<details><summary><code>client.customer.me.lists.items.<a href="/src/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.ts">remove</a>({ ...params }) -> void</code></summary>
|
|
15289
|
+
<dl>
|
|
15290
|
+
<dd>
|
|
15291
|
+
|
|
15292
|
+
#### 📝 Description
|
|
15293
|
+
|
|
15294
|
+
<dl>
|
|
15295
|
+
<dd>
|
|
15296
|
+
|
|
15297
|
+
<dl>
|
|
15298
|
+
<dd>
|
|
15299
|
+
|
|
15300
|
+
Remove a business and its note from a list. The business itself is
|
|
15301
|
+
unaffected.
|
|
15302
|
+
</dd>
|
|
15303
|
+
</dl>
|
|
15304
|
+
</dd>
|
|
15305
|
+
</dl>
|
|
15306
|
+
|
|
15307
|
+
#### 🔌 Usage
|
|
15308
|
+
|
|
15309
|
+
<dl>
|
|
15310
|
+
<dd>
|
|
15311
|
+
|
|
15312
|
+
<dl>
|
|
15313
|
+
<dd>
|
|
15314
|
+
|
|
15315
|
+
```typescript
|
|
15316
|
+
await client.customer.me.lists.items.remove({
|
|
15317
|
+
businessList: "businessList",
|
|
15318
|
+
business: "katzs-deli"
|
|
15319
|
+
});
|
|
15320
|
+
|
|
15321
|
+
```
|
|
15322
|
+
</dd>
|
|
15323
|
+
</dl>
|
|
15324
|
+
</dd>
|
|
15325
|
+
</dl>
|
|
15326
|
+
|
|
15327
|
+
#### ⚙️ Parameters
|
|
15328
|
+
|
|
15329
|
+
<dl>
|
|
15330
|
+
<dd>
|
|
15331
|
+
|
|
15332
|
+
<dl>
|
|
15333
|
+
<dd>
|
|
15334
|
+
|
|
15335
|
+
**request:** `FiveOneEat.customer.me.lists.RemoveItemsRequest`
|
|
15336
|
+
|
|
15337
|
+
</dd>
|
|
15338
|
+
</dl>
|
|
15339
|
+
|
|
15340
|
+
<dl>
|
|
15341
|
+
<dd>
|
|
15342
|
+
|
|
15343
|
+
**requestOptions:** `ItemsClient.RequestOptions`
|
|
15344
|
+
|
|
15345
|
+
</dd>
|
|
15346
|
+
</dl>
|
|
15347
|
+
</dd>
|
|
15348
|
+
</dl>
|
|
15349
|
+
|
|
15350
|
+
|
|
15351
|
+
</dd>
|
|
15352
|
+
</dl>
|
|
15353
|
+
</details>
|
|
15354
|
+
|
|
15355
|
+
<details><summary><code>client.customer.me.lists.items.<a href="/src/api/resources/customer/resources/me/resources/lists/resources/items/client/Client.ts">updateNote</a>({ ...params }) -> FiveOneEat.UpdateNoteItemsResponse</code></summary>
|
|
15356
|
+
<dl>
|
|
15357
|
+
<dd>
|
|
15358
|
+
|
|
15359
|
+
#### 📝 Description
|
|
15360
|
+
|
|
15361
|
+
<dl>
|
|
15362
|
+
<dd>
|
|
15363
|
+
|
|
15364
|
+
<dl>
|
|
15365
|
+
<dd>
|
|
15366
|
+
|
|
15367
|
+
Change the note attached to one business within one list. Notes are
|
|
15368
|
+
per-list, so the same business can carry a different note elsewhere.
|
|
15369
|
+
</dd>
|
|
15370
|
+
</dl>
|
|
15371
|
+
</dd>
|
|
15372
|
+
</dl>
|
|
15373
|
+
|
|
15374
|
+
#### 🔌 Usage
|
|
15375
|
+
|
|
15376
|
+
<dl>
|
|
15377
|
+
<dd>
|
|
15378
|
+
|
|
15379
|
+
<dl>
|
|
15380
|
+
<dd>
|
|
15381
|
+
|
|
15382
|
+
```typescript
|
|
15383
|
+
await client.customer.me.lists.items.updateNote({
|
|
15384
|
+
businessList: "businessList",
|
|
15385
|
+
business: "katzs-deli"
|
|
15386
|
+
});
|
|
15387
|
+
|
|
15388
|
+
```
|
|
15389
|
+
</dd>
|
|
15390
|
+
</dl>
|
|
15391
|
+
</dd>
|
|
15392
|
+
</dl>
|
|
15393
|
+
|
|
15394
|
+
#### ⚙️ Parameters
|
|
15395
|
+
|
|
15396
|
+
<dl>
|
|
15397
|
+
<dd>
|
|
15398
|
+
|
|
15399
|
+
<dl>
|
|
15400
|
+
<dd>
|
|
15401
|
+
|
|
15402
|
+
**request:** `FiveOneEat.customer.me.lists.UpdateListItemNoteRequest`
|
|
15403
|
+
|
|
15404
|
+
</dd>
|
|
15405
|
+
</dl>
|
|
15406
|
+
|
|
15407
|
+
<dl>
|
|
15408
|
+
<dd>
|
|
15409
|
+
|
|
15410
|
+
**requestOptions:** `ItemsClient.RequestOptions`
|
|
15411
|
+
|
|
15412
|
+
</dd>
|
|
15413
|
+
</dl>
|
|
15414
|
+
</dd>
|
|
15415
|
+
</dl>
|
|
15416
|
+
|
|
15417
|
+
|
|
14690
15418
|
</dd>
|
|
14691
15419
|
</dl>
|
|
14692
15420
|
</details>
|