@51eat/sdk 0.0.19 → 0.0.21
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/README.md +15 -18
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +6 -0
- package/dist/cjs/Client.js +20 -10
- package/dist/cjs/api/resources/business/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/business/client/Client.js +14 -4
- package/dist/cjs/api/resources/business/resources/gallery/client/Client.d.ts +86 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/Client.js +364 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/DeleteGalleryRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/DeleteGalleryRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/ReorderGalleryRequest.d.ts +21 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/ReorderGalleryRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.ts +11 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/UpdateGalleryPhotoRequest.d.ts +11 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/UpdateGalleryPhotoRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/gallery/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/gallery/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/gallery/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/gallery/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/gallery/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/DeleteGalleryResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/DeleteGalleryResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/ListGalleryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/ListGalleryResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/ReorderGalleryResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/ReorderGalleryResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/UpdateGalleryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/UpdateGalleryResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/UploadGalleryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/UploadGalleryResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/gallery/types/index.js +21 -0
- package/dist/cjs/api/resources/business/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/index.js +5 -1
- package/dist/cjs/api/resources/business/resources/messaging/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/business/resources/messaging/client/Client.js +21 -0
- package/dist/cjs/api/resources/business/resources/messaging/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/messaging/client/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/messaging/exports.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/exports.js +22 -0
- package/dist/cjs/api/resources/business/resources/messaging/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/messaging/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.d.ts +45 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.js +182 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/GetConversationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/GetConversationsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/GetConversationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/GetConversationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/ListConversationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/ListConversationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/types/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/index.d.ts +6 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/index.js +45 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/Client.d.ts +81 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/Client.js +312 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.ts +14 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/MarkAsReadMessagesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/MarkAsReadMessagesRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/StoreMessageRequest.d.ts +22 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/StoreMessageRequest.js +12 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/UnreadCountMessagesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/UnreadCountMessagesRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/ListMessagesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/ListMessagesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/SendMessagesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/SendMessagesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/types/index.js +18 -0
- package/dist/cjs/api/resources/businessMessaging/client/Client.d.ts +32 -0
- package/dist/cjs/api/resources/businessMessaging/client/Client.js +118 -0
- package/dist/cjs/api/resources/businessMessaging/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/businessMessaging/client/index.js +17 -0
- package/dist/cjs/api/resources/businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.d.ts +13 -0
- package/dist/cjs/api/resources/businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.js +3 -0
- package/dist/cjs/api/resources/businessMessaging/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/businessMessaging/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/businessMessaging/exports.d.ts +2 -0
- package/dist/cjs/api/resources/businessMessaging/exports.js +21 -0
- package/dist/cjs/api/resources/businessMessaging/index.d.ts +1 -0
- package/dist/cjs/api/resources/businessMessaging/index.js +17 -0
- package/dist/cjs/api/resources/businessPushNotifications/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/businessPushNotifications/client/Client.js +182 -0
- package/dist/cjs/api/resources/businessPushNotifications/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/businessPushNotifications/client/index.js +17 -0
- package/dist/cjs/api/resources/businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.d.ts +9 -0
- package/dist/cjs/api/resources/businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.js +3 -0
- package/dist/cjs/api/resources/businessPushNotifications/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/businessPushNotifications/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/businessPushNotifications/exports.d.ts +2 -0
- package/dist/cjs/api/resources/businessPushNotifications/exports.js +21 -0
- package/dist/cjs/api/resources/businessPushNotifications/index.d.ts +2 -0
- package/dist/cjs/api/resources/businessPushNotifications/index.js +18 -0
- package/dist/cjs/api/resources/businessPushNotifications/types/RegisterBusinessPushTokenResponse.d.ts +7 -0
- package/dist/cjs/api/resources/businessPushNotifications/types/RegisterBusinessPushTokenResponse.js +3 -0
- package/dist/cjs/api/resources/businessPushNotifications/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/businessPushNotifications/types/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/Client.js +1 -1
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.d.ts +19 -0
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.js +11 -0
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/pushNotifications/client/requests/index.js +3 -3
- package/dist/cjs/api/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/index.js +6 -1
- package/dist/cjs/api/types/BusinessConversation.d.ts +20 -0
- package/dist/cjs/api/types/BusinessConversation.js +3 -0
- package/dist/cjs/api/types/BusinessMessage.d.ts +20 -0
- package/dist/cjs/api/types/BusinessMessage.js +3 -0
- package/dist/cjs/api/types/BusinessPhoto.d.ts +9 -0
- package/dist/cjs/api/types/BusinessPhoto.js +3 -0
- package/dist/cjs/api/types/index.d.ts +3 -0
- package/dist/cjs/api/types/index.js +3 -0
- 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 +6 -0
- package/dist/esm/Client.mjs +10 -0
- package/dist/esm/api/resources/business/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/business/client/Client.mjs +10 -0
- package/dist/esm/api/resources/business/resources/gallery/client/Client.d.mts +86 -0
- package/dist/esm/api/resources/business/resources/gallery/client/Client.mjs +327 -0
- package/dist/esm/api/resources/business/resources/gallery/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/gallery/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/DeleteGalleryRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/DeleteGalleryRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/ReorderGalleryRequest.d.mts +21 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/ReorderGalleryRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.d.mts +11 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/StoreGalleryPhotoRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/UpdateGalleryPhotoRequest.d.mts +11 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/UpdateGalleryPhotoRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/gallery/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/gallery/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/gallery/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/gallery/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/gallery/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/gallery/types/DeleteGalleryResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/gallery/types/DeleteGalleryResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/gallery/types/ListGalleryResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/gallery/types/ListGalleryResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/gallery/types/ReorderGalleryResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/gallery/types/ReorderGalleryResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/gallery/types/UpdateGalleryResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/gallery/types/UpdateGalleryResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/gallery/types/UploadGalleryResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/gallery/types/UploadGalleryResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/gallery/types/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/gallery/types/index.mjs +5 -0
- package/dist/esm/api/resources/business/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/index.mjs +4 -0
- package/dist/esm/api/resources/business/resources/messaging/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/business/resources/messaging/client/Client.mjs +17 -0
- package/dist/esm/api/resources/business/resources/messaging/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/messaging/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/messaging/exports.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/messaging/exports.mjs +4 -0
- package/dist/esm/api/resources/business/resources/messaging/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/messaging/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.d.mts +45 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.mjs +145 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/GetConversationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/GetConversationsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/GetConversationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/GetConversationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/ListConversationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/ListConversationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/types/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/index.d.mts +6 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/index.mjs +6 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/Client.d.mts +81 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/Client.mjs +275 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.mts +14 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/MarkAsReadMessagesRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/MarkAsReadMessagesRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/StoreMessageRequest.d.mts +22 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/StoreMessageRequest.mjs +9 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/UnreadCountMessagesRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/UnreadCountMessagesRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/ListMessagesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/ListMessagesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/SendMessagesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/SendMessagesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/types/index.mjs +2 -0
- package/dist/esm/api/resources/businessMessaging/client/Client.d.mts +32 -0
- package/dist/esm/api/resources/businessMessaging/client/Client.mjs +81 -0
- package/dist/esm/api/resources/businessMessaging/client/index.d.mts +1 -0
- package/dist/esm/api/resources/businessMessaging/client/index.mjs +1 -0
- package/dist/esm/api/resources/businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.d.mts +13 -0
- package/dist/esm/api/resources/businessMessaging/client/requests/BusinessChannelAuthAuthenticateRequest.mjs +2 -0
- package/dist/esm/api/resources/businessMessaging/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/businessMessaging/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/businessMessaging/exports.d.mts +2 -0
- package/dist/esm/api/resources/businessMessaging/exports.mjs +3 -0
- package/dist/esm/api/resources/businessMessaging/index.d.mts +1 -0
- package/dist/esm/api/resources/businessMessaging/index.mjs +1 -0
- package/dist/esm/api/resources/businessPushNotifications/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/businessPushNotifications/client/Client.mjs +145 -0
- package/dist/esm/api/resources/businessPushNotifications/client/index.d.mts +1 -0
- package/dist/esm/api/resources/businessPushNotifications/client/index.mjs +1 -0
- package/dist/esm/api/resources/businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.d.mts +9 -0
- package/dist/esm/api/resources/businessPushNotifications/client/requests/UnregisterBusinessPushTokenRequest.mjs +2 -0
- package/dist/esm/api/resources/businessPushNotifications/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/businessPushNotifications/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/businessPushNotifications/exports.d.mts +2 -0
- package/dist/esm/api/resources/businessPushNotifications/exports.mjs +3 -0
- package/dist/esm/api/resources/businessPushNotifications/index.d.mts +2 -0
- package/dist/esm/api/resources/businessPushNotifications/index.mjs +2 -0
- package/dist/esm/api/resources/businessPushNotifications/types/RegisterBusinessPushTokenResponse.d.mts +7 -0
- package/dist/esm/api/resources/businessPushNotifications/types/RegisterBusinessPushTokenResponse.mjs +2 -0
- package/dist/esm/api/resources/businessPushNotifications/types/index.d.mts +1 -0
- package/dist/esm/api/resources/businessPushNotifications/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/Client.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.d.mts +19 -0
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest.mjs +8 -0
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/pushNotifications/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/index.mjs +5 -0
- package/dist/esm/api/types/BusinessConversation.d.mts +20 -0
- package/dist/esm/api/types/BusinessConversation.mjs +2 -0
- package/dist/esm/api/types/BusinessMessage.d.mts +20 -0
- package/dist/esm/api/types/BusinessMessage.mjs +2 -0
- package/dist/esm/api/types/BusinessPhoto.d.mts +9 -0
- package/dist/esm/api/types/BusinessPhoto.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +3 -0
- package/dist/esm/api/types/index.mjs +3 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +67 -1
- package/reference.md +1116 -271
- /package/dist/cjs/api/resources/{customer/resources/pushNotifications → businessPushNotifications}/client/requests/StorePushTokenRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/{customer/resources/pushNotifications → businessPushNotifications}/client/requests/StorePushTokenRequest.js +0 -0
- /package/dist/esm/api/resources/{customer/resources/pushNotifications → businessPushNotifications}/client/requests/StorePushTokenRequest.d.mts +0 -0
- /package/dist/esm/api/resources/{customer/resources/pushNotifications → businessPushNotifications}/client/requests/StorePushTokenRequest.mjs +0 -0
package/reference.md
CHANGED
|
@@ -1,4 +1,206 @@
|
|
|
1
1
|
# Reference
|
|
2
|
+
## Business: Messaging
|
|
3
|
+
<details><summary><code>client.businessMessaging.<a href="/src/api/resources/businessMessaging/client/Client.ts">businessChannelAuthAuthenticate</a>({ ...params }) -> number</code></summary>
|
|
4
|
+
<dl>
|
|
5
|
+
<dd>
|
|
6
|
+
|
|
7
|
+
#### 📝 Description
|
|
8
|
+
|
|
9
|
+
<dl>
|
|
10
|
+
<dd>
|
|
11
|
+
|
|
12
|
+
<dl>
|
|
13
|
+
<dd>
|
|
14
|
+
|
|
15
|
+
This endpoint is used by the business companion mobile app to authenticate with
|
|
16
|
+
Pusher channels. It validates that the authenticated business user has
|
|
17
|
+
permission to access the requested channel, scoped to their active business.
|
|
18
|
+
</dd>
|
|
19
|
+
</dl>
|
|
20
|
+
</dd>
|
|
21
|
+
</dl>
|
|
22
|
+
|
|
23
|
+
#### 🔌 Usage
|
|
24
|
+
|
|
25
|
+
<dl>
|
|
26
|
+
<dd>
|
|
27
|
+
|
|
28
|
+
<dl>
|
|
29
|
+
<dd>
|
|
30
|
+
|
|
31
|
+
```typescript
|
|
32
|
+
await client.businessMessaging.businessChannelAuthAuthenticate({
|
|
33
|
+
channel_name: "channel_name",
|
|
34
|
+
socket_id: "socket_id"
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
</dd>
|
|
39
|
+
</dl>
|
|
40
|
+
</dd>
|
|
41
|
+
</dl>
|
|
42
|
+
|
|
43
|
+
#### ⚙️ Parameters
|
|
44
|
+
|
|
45
|
+
<dl>
|
|
46
|
+
<dd>
|
|
47
|
+
|
|
48
|
+
<dl>
|
|
49
|
+
<dd>
|
|
50
|
+
|
|
51
|
+
**request:** `FiveOneEat.BusinessChannelAuthAuthenticateRequest`
|
|
52
|
+
|
|
53
|
+
</dd>
|
|
54
|
+
</dl>
|
|
55
|
+
|
|
56
|
+
<dl>
|
|
57
|
+
<dd>
|
|
58
|
+
|
|
59
|
+
**requestOptions:** `BusinessMessagingClient.RequestOptions`
|
|
60
|
+
|
|
61
|
+
</dd>
|
|
62
|
+
</dl>
|
|
63
|
+
</dd>
|
|
64
|
+
</dl>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
</dd>
|
|
68
|
+
</dl>
|
|
69
|
+
</details>
|
|
70
|
+
|
|
71
|
+
## Business: Push Notifications
|
|
72
|
+
<details><summary><code>client.businessPushNotifications.<a href="/src/api/resources/businessPushNotifications/client/Client.ts">registerBusinessPushToken</a>({ ...params }) -> FiveOneEat.RegisterBusinessPushTokenResponse</code></summary>
|
|
73
|
+
<dl>
|
|
74
|
+
<dd>
|
|
75
|
+
|
|
76
|
+
#### 📝 Description
|
|
77
|
+
|
|
78
|
+
<dl>
|
|
79
|
+
<dd>
|
|
80
|
+
|
|
81
|
+
<dl>
|
|
82
|
+
<dd>
|
|
83
|
+
|
|
84
|
+
Register (or update) the authenticated business user's Expo push token for a
|
|
85
|
+
device. If a `device_id` is provided, an existing registration for that device
|
|
86
|
+
is updated.
|
|
87
|
+
</dd>
|
|
88
|
+
</dl>
|
|
89
|
+
</dd>
|
|
90
|
+
</dl>
|
|
91
|
+
|
|
92
|
+
#### 🔌 Usage
|
|
93
|
+
|
|
94
|
+
<dl>
|
|
95
|
+
<dd>
|
|
96
|
+
|
|
97
|
+
<dl>
|
|
98
|
+
<dd>
|
|
99
|
+
|
|
100
|
+
```typescript
|
|
101
|
+
await client.businessPushNotifications.registerBusinessPushToken({
|
|
102
|
+
token: "token"
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
</dd>
|
|
107
|
+
</dl>
|
|
108
|
+
</dd>
|
|
109
|
+
</dl>
|
|
110
|
+
|
|
111
|
+
#### ⚙️ Parameters
|
|
112
|
+
|
|
113
|
+
<dl>
|
|
114
|
+
<dd>
|
|
115
|
+
|
|
116
|
+
<dl>
|
|
117
|
+
<dd>
|
|
118
|
+
|
|
119
|
+
**request:** `FiveOneEat.StorePushTokenRequest`
|
|
120
|
+
|
|
121
|
+
</dd>
|
|
122
|
+
</dl>
|
|
123
|
+
|
|
124
|
+
<dl>
|
|
125
|
+
<dd>
|
|
126
|
+
|
|
127
|
+
**requestOptions:** `BusinessPushNotificationsClient.RequestOptions`
|
|
128
|
+
|
|
129
|
+
</dd>
|
|
130
|
+
</dl>
|
|
131
|
+
</dd>
|
|
132
|
+
</dl>
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
</dd>
|
|
136
|
+
</dl>
|
|
137
|
+
</details>
|
|
138
|
+
|
|
139
|
+
<details><summary><code>client.businessPushNotifications.<a href="/src/api/resources/businessPushNotifications/client/Client.ts">unregisterBusinessPushToken</a>({ ...params }) -> void</code></summary>
|
|
140
|
+
<dl>
|
|
141
|
+
<dd>
|
|
142
|
+
|
|
143
|
+
#### 📝 Description
|
|
144
|
+
|
|
145
|
+
<dl>
|
|
146
|
+
<dd>
|
|
147
|
+
|
|
148
|
+
<dl>
|
|
149
|
+
<dd>
|
|
150
|
+
|
|
151
|
+
Delete the authenticated business user's Expo push token registration.
|
|
152
|
+
</dd>
|
|
153
|
+
</dl>
|
|
154
|
+
</dd>
|
|
155
|
+
</dl>
|
|
156
|
+
|
|
157
|
+
#### 🔌 Usage
|
|
158
|
+
|
|
159
|
+
<dl>
|
|
160
|
+
<dd>
|
|
161
|
+
|
|
162
|
+
<dl>
|
|
163
|
+
<dd>
|
|
164
|
+
|
|
165
|
+
```typescript
|
|
166
|
+
await client.businessPushNotifications.unregisterBusinessPushToken({
|
|
167
|
+
token: "token"
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
</dd>
|
|
172
|
+
</dl>
|
|
173
|
+
</dd>
|
|
174
|
+
</dl>
|
|
175
|
+
|
|
176
|
+
#### ⚙️ Parameters
|
|
177
|
+
|
|
178
|
+
<dl>
|
|
179
|
+
<dd>
|
|
180
|
+
|
|
181
|
+
<dl>
|
|
182
|
+
<dd>
|
|
183
|
+
|
|
184
|
+
**request:** `FiveOneEat.UnregisterBusinessPushTokenRequest`
|
|
185
|
+
|
|
186
|
+
</dd>
|
|
187
|
+
</dl>
|
|
188
|
+
|
|
189
|
+
<dl>
|
|
190
|
+
<dd>
|
|
191
|
+
|
|
192
|
+
**requestOptions:** `BusinessPushNotificationsClient.RequestOptions`
|
|
193
|
+
|
|
194
|
+
</dd>
|
|
195
|
+
</dl>
|
|
196
|
+
</dd>
|
|
197
|
+
</dl>
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
</dd>
|
|
201
|
+
</dl>
|
|
202
|
+
</details>
|
|
203
|
+
|
|
2
204
|
## Customer: Events
|
|
3
205
|
<details><summary><code>client.customerEvents.<a href="/src/api/resources/customerEvents/client/Client.ts">holdTickets</a>({ ...params }) -> FiveOneEat.HoldTicketsResponse</code></summary>
|
|
4
206
|
<dl>
|
|
@@ -1373,25 +1575,11 @@ await client.business.bulletins.togglePublished({
|
|
|
1373
1575
|
</dl>
|
|
1374
1576
|
</details>
|
|
1375
1577
|
|
|
1376
|
-
## Business
|
|
1377
|
-
<details><summary><code>client.business.
|
|
1378
|
-
<dl>
|
|
1379
|
-
<dd>
|
|
1380
|
-
|
|
1381
|
-
#### 📝 Description
|
|
1382
|
-
|
|
1578
|
+
## Business Gallery
|
|
1579
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">list</a>() -> FiveOneEat.ListGalleryResponse</code></summary>
|
|
1383
1580
|
<dl>
|
|
1384
1581
|
<dd>
|
|
1385
1582
|
|
|
1386
|
-
<dl>
|
|
1387
|
-
<dd>
|
|
1388
|
-
|
|
1389
|
-
Returns all menus with their full group/item hierarchy for the authenticated user's active business.
|
|
1390
|
-
</dd>
|
|
1391
|
-
</dl>
|
|
1392
|
-
</dd>
|
|
1393
|
-
</dl>
|
|
1394
|
-
|
|
1395
1583
|
#### 🔌 Usage
|
|
1396
1584
|
|
|
1397
1585
|
<dl>
|
|
@@ -1401,7 +1589,7 @@ Returns all menus with their full group/item hierarchy for the authenticated use
|
|
|
1401
1589
|
<dd>
|
|
1402
1590
|
|
|
1403
1591
|
```typescript
|
|
1404
|
-
await client.business.
|
|
1592
|
+
await client.business.gallery.list();
|
|
1405
1593
|
|
|
1406
1594
|
```
|
|
1407
1595
|
</dd>
|
|
@@ -1417,7 +1605,7 @@ await client.business.menus.list();
|
|
|
1417
1605
|
<dl>
|
|
1418
1606
|
<dd>
|
|
1419
1607
|
|
|
1420
|
-
**requestOptions:** `
|
|
1608
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
1421
1609
|
|
|
1422
1610
|
</dd>
|
|
1423
1611
|
</dl>
|
|
@@ -1429,7 +1617,7 @@ await client.business.menus.list();
|
|
|
1429
1617
|
</dl>
|
|
1430
1618
|
</details>
|
|
1431
1619
|
|
|
1432
|
-
<details><summary><code>client.business.
|
|
1620
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">upload</a>({ ...params }) -> FiveOneEat.UploadGalleryResponse</code></summary>
|
|
1433
1621
|
<dl>
|
|
1434
1622
|
<dd>
|
|
1435
1623
|
|
|
@@ -1442,8 +1630,8 @@ await client.business.menus.list();
|
|
|
1442
1630
|
<dd>
|
|
1443
1631
|
|
|
1444
1632
|
```typescript
|
|
1445
|
-
await client.business.
|
|
1446
|
-
|
|
1633
|
+
await client.business.gallery.upload({
|
|
1634
|
+
photo: fs.createReadStream("/path/to/your/file")
|
|
1447
1635
|
});
|
|
1448
1636
|
|
|
1449
1637
|
```
|
|
@@ -1460,7 +1648,7 @@ await client.business.menus.create({
|
|
|
1460
1648
|
<dl>
|
|
1461
1649
|
<dd>
|
|
1462
1650
|
|
|
1463
|
-
**request:** `FiveOneEat.business.
|
|
1651
|
+
**request:** `FiveOneEat.business.StoreGalleryPhotoRequest`
|
|
1464
1652
|
|
|
1465
1653
|
</dd>
|
|
1466
1654
|
</dl>
|
|
@@ -1468,7 +1656,7 @@ await client.business.menus.create({
|
|
|
1468
1656
|
<dl>
|
|
1469
1657
|
<dd>
|
|
1470
1658
|
|
|
1471
|
-
**requestOptions:** `
|
|
1659
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
1472
1660
|
|
|
1473
1661
|
</dd>
|
|
1474
1662
|
</dl>
|
|
@@ -1480,7 +1668,7 @@ await client.business.menus.create({
|
|
|
1480
1668
|
</dl>
|
|
1481
1669
|
</details>
|
|
1482
1670
|
|
|
1483
|
-
<details><summary><code>client.business.
|
|
1671
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">reorder</a>({ ...params }) -> FiveOneEat.ReorderGalleryResponse</code></summary>
|
|
1484
1672
|
<dl>
|
|
1485
1673
|
<dd>
|
|
1486
1674
|
|
|
@@ -1493,8 +1681,11 @@ await client.business.menus.create({
|
|
|
1493
1681
|
<dd>
|
|
1494
1682
|
|
|
1495
1683
|
```typescript
|
|
1496
|
-
await client.business.
|
|
1497
|
-
|
|
1684
|
+
await client.business.gallery.reorder({
|
|
1685
|
+
photos: [{
|
|
1686
|
+
id: "id",
|
|
1687
|
+
sort_order: 1
|
|
1688
|
+
}]
|
|
1498
1689
|
});
|
|
1499
1690
|
|
|
1500
1691
|
```
|
|
@@ -1511,7 +1702,7 @@ await client.business.menus.get({
|
|
|
1511
1702
|
<dl>
|
|
1512
1703
|
<dd>
|
|
1513
1704
|
|
|
1514
|
-
**request:** `FiveOneEat.business.
|
|
1705
|
+
**request:** `FiveOneEat.business.ReorderGalleryRequest`
|
|
1515
1706
|
|
|
1516
1707
|
</dd>
|
|
1517
1708
|
</dl>
|
|
@@ -1519,7 +1710,7 @@ await client.business.menus.get({
|
|
|
1519
1710
|
<dl>
|
|
1520
1711
|
<dd>
|
|
1521
1712
|
|
|
1522
|
-
**requestOptions:** `
|
|
1713
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
1523
1714
|
|
|
1524
1715
|
</dd>
|
|
1525
1716
|
</dl>
|
|
@@ -1531,7 +1722,7 @@ await client.business.menus.get({
|
|
|
1531
1722
|
</dl>
|
|
1532
1723
|
</details>
|
|
1533
1724
|
|
|
1534
|
-
<details><summary><code>client.business.
|
|
1725
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateGalleryResponse</code></summary>
|
|
1535
1726
|
<dl>
|
|
1536
1727
|
<dd>
|
|
1537
1728
|
|
|
@@ -1544,9 +1735,8 @@ await client.business.menus.get({
|
|
|
1544
1735
|
<dd>
|
|
1545
1736
|
|
|
1546
1737
|
```typescript
|
|
1547
|
-
await client.business.
|
|
1548
|
-
|
|
1549
|
-
name: "name"
|
|
1738
|
+
await client.business.gallery.update({
|
|
1739
|
+
photo: "photo"
|
|
1550
1740
|
});
|
|
1551
1741
|
|
|
1552
1742
|
```
|
|
@@ -1563,7 +1753,7 @@ await client.business.menus.update({
|
|
|
1563
1753
|
<dl>
|
|
1564
1754
|
<dd>
|
|
1565
1755
|
|
|
1566
|
-
**request:** `FiveOneEat.business.
|
|
1756
|
+
**request:** `FiveOneEat.business.UpdateGalleryPhotoRequest`
|
|
1567
1757
|
|
|
1568
1758
|
</dd>
|
|
1569
1759
|
</dl>
|
|
@@ -1571,7 +1761,7 @@ await client.business.menus.update({
|
|
|
1571
1761
|
<dl>
|
|
1572
1762
|
<dd>
|
|
1573
1763
|
|
|
1574
|
-
**requestOptions:** `
|
|
1764
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
1575
1765
|
|
|
1576
1766
|
</dd>
|
|
1577
1767
|
</dl>
|
|
@@ -1583,7 +1773,7 @@ await client.business.menus.update({
|
|
|
1583
1773
|
</dl>
|
|
1584
1774
|
</details>
|
|
1585
1775
|
|
|
1586
|
-
<details><summary><code>client.business.
|
|
1776
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteGalleryResponse</code></summary>
|
|
1587
1777
|
<dl>
|
|
1588
1778
|
<dd>
|
|
1589
1779
|
|
|
@@ -1596,8 +1786,8 @@ await client.business.menus.update({
|
|
|
1596
1786
|
<dd>
|
|
1597
1787
|
|
|
1598
1788
|
```typescript
|
|
1599
|
-
await client.business.
|
|
1600
|
-
|
|
1789
|
+
await client.business.gallery.delete({
|
|
1790
|
+
photo: "photo"
|
|
1601
1791
|
});
|
|
1602
1792
|
|
|
1603
1793
|
```
|
|
@@ -1614,7 +1804,7 @@ await client.business.menus.delete({
|
|
|
1614
1804
|
<dl>
|
|
1615
1805
|
<dd>
|
|
1616
1806
|
|
|
1617
|
-
**request:** `FiveOneEat.business.
|
|
1807
|
+
**request:** `FiveOneEat.business.DeleteGalleryRequest`
|
|
1618
1808
|
|
|
1619
1809
|
</dd>
|
|
1620
1810
|
</dl>
|
|
@@ -1622,7 +1812,7 @@ await client.business.menus.delete({
|
|
|
1622
1812
|
<dl>
|
|
1623
1813
|
<dd>
|
|
1624
1814
|
|
|
1625
|
-
**requestOptions:** `
|
|
1815
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
1626
1816
|
|
|
1627
1817
|
</dd>
|
|
1628
1818
|
</dl>
|
|
@@ -1634,8 +1824,8 @@ await client.business.menus.delete({
|
|
|
1634
1824
|
</dl>
|
|
1635
1825
|
</details>
|
|
1636
1826
|
|
|
1637
|
-
## Business
|
|
1638
|
-
<details><summary><code>client.business.
|
|
1827
|
+
## Business Menus
|
|
1828
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">list</a>() -> FiveOneEat.ListMenusResponse</code></summary>
|
|
1639
1829
|
<dl>
|
|
1640
1830
|
<dd>
|
|
1641
1831
|
|
|
@@ -1647,7 +1837,7 @@ await client.business.menus.delete({
|
|
|
1647
1837
|
<dl>
|
|
1648
1838
|
<dd>
|
|
1649
1839
|
|
|
1650
|
-
|
|
1840
|
+
Returns all menus with their full group/item hierarchy for the authenticated user's active business.
|
|
1651
1841
|
</dd>
|
|
1652
1842
|
</dl>
|
|
1653
1843
|
</dd>
|
|
@@ -1662,7 +1852,7 @@ Retrieve the full editable profile for the authenticated user's active business.
|
|
|
1662
1852
|
<dd>
|
|
1663
1853
|
|
|
1664
1854
|
```typescript
|
|
1665
|
-
await client.business.
|
|
1855
|
+
await client.business.menus.list();
|
|
1666
1856
|
|
|
1667
1857
|
```
|
|
1668
1858
|
</dd>
|
|
@@ -1678,7 +1868,7 @@ await client.business.profile.get();
|
|
|
1678
1868
|
<dl>
|
|
1679
1869
|
<dd>
|
|
1680
1870
|
|
|
1681
|
-
**requestOptions:** `
|
|
1871
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
1682
1872
|
|
|
1683
1873
|
</dd>
|
|
1684
1874
|
</dl>
|
|
@@ -1690,24 +1880,10 @@ await client.business.profile.get();
|
|
|
1690
1880
|
</dl>
|
|
1691
1881
|
</details>
|
|
1692
1882
|
|
|
1693
|
-
<details><summary><code>client.business.
|
|
1694
|
-
<dl>
|
|
1695
|
-
<dd>
|
|
1696
|
-
|
|
1697
|
-
#### 📝 Description
|
|
1698
|
-
|
|
1699
|
-
<dl>
|
|
1700
|
-
<dd>
|
|
1701
|
-
|
|
1883
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateMenusResponse</code></summary>
|
|
1702
1884
|
<dl>
|
|
1703
1885
|
<dd>
|
|
1704
1886
|
|
|
1705
|
-
Update core profile fields for the authenticated user's active business.
|
|
1706
|
-
</dd>
|
|
1707
|
-
</dl>
|
|
1708
|
-
</dd>
|
|
1709
|
-
</dl>
|
|
1710
|
-
|
|
1711
1887
|
#### 🔌 Usage
|
|
1712
1888
|
|
|
1713
1889
|
<dl>
|
|
@@ -1717,7 +1893,9 @@ Update core profile fields for the authenticated user's active business.
|
|
|
1717
1893
|
<dd>
|
|
1718
1894
|
|
|
1719
1895
|
```typescript
|
|
1720
|
-
await client.business.
|
|
1896
|
+
await client.business.menus.create({
|
|
1897
|
+
name: "name"
|
|
1898
|
+
});
|
|
1721
1899
|
|
|
1722
1900
|
```
|
|
1723
1901
|
</dd>
|
|
@@ -1733,7 +1911,7 @@ await client.business.profile.update();
|
|
|
1733
1911
|
<dl>
|
|
1734
1912
|
<dd>
|
|
1735
1913
|
|
|
1736
|
-
**request:** `FiveOneEat.business.
|
|
1914
|
+
**request:** `FiveOneEat.business.StoreMenuRequest`
|
|
1737
1915
|
|
|
1738
1916
|
</dd>
|
|
1739
1917
|
</dl>
|
|
@@ -1741,7 +1919,583 @@ await client.business.profile.update();
|
|
|
1741
1919
|
<dl>
|
|
1742
1920
|
<dd>
|
|
1743
1921
|
|
|
1744
|
-
**requestOptions:** `
|
|
1922
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
1923
|
+
|
|
1924
|
+
</dd>
|
|
1925
|
+
</dl>
|
|
1926
|
+
</dd>
|
|
1927
|
+
</dl>
|
|
1928
|
+
|
|
1929
|
+
|
|
1930
|
+
</dd>
|
|
1931
|
+
</dl>
|
|
1932
|
+
</details>
|
|
1933
|
+
|
|
1934
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetMenusResponse</code></summary>
|
|
1935
|
+
<dl>
|
|
1936
|
+
<dd>
|
|
1937
|
+
|
|
1938
|
+
#### 🔌 Usage
|
|
1939
|
+
|
|
1940
|
+
<dl>
|
|
1941
|
+
<dd>
|
|
1942
|
+
|
|
1943
|
+
<dl>
|
|
1944
|
+
<dd>
|
|
1945
|
+
|
|
1946
|
+
```typescript
|
|
1947
|
+
await client.business.menus.get({
|
|
1948
|
+
menu: "menu"
|
|
1949
|
+
});
|
|
1950
|
+
|
|
1951
|
+
```
|
|
1952
|
+
</dd>
|
|
1953
|
+
</dl>
|
|
1954
|
+
</dd>
|
|
1955
|
+
</dl>
|
|
1956
|
+
|
|
1957
|
+
#### ⚙️ Parameters
|
|
1958
|
+
|
|
1959
|
+
<dl>
|
|
1960
|
+
<dd>
|
|
1961
|
+
|
|
1962
|
+
<dl>
|
|
1963
|
+
<dd>
|
|
1964
|
+
|
|
1965
|
+
**request:** `FiveOneEat.business.GetMenusRequest`
|
|
1966
|
+
|
|
1967
|
+
</dd>
|
|
1968
|
+
</dl>
|
|
1969
|
+
|
|
1970
|
+
<dl>
|
|
1971
|
+
<dd>
|
|
1972
|
+
|
|
1973
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
1974
|
+
|
|
1975
|
+
</dd>
|
|
1976
|
+
</dl>
|
|
1977
|
+
</dd>
|
|
1978
|
+
</dl>
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
</dd>
|
|
1982
|
+
</dl>
|
|
1983
|
+
</details>
|
|
1984
|
+
|
|
1985
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateMenusResponse</code></summary>
|
|
1986
|
+
<dl>
|
|
1987
|
+
<dd>
|
|
1988
|
+
|
|
1989
|
+
#### 🔌 Usage
|
|
1990
|
+
|
|
1991
|
+
<dl>
|
|
1992
|
+
<dd>
|
|
1993
|
+
|
|
1994
|
+
<dl>
|
|
1995
|
+
<dd>
|
|
1996
|
+
|
|
1997
|
+
```typescript
|
|
1998
|
+
await client.business.menus.update({
|
|
1999
|
+
menu: "menu",
|
|
2000
|
+
name: "name"
|
|
2001
|
+
});
|
|
2002
|
+
|
|
2003
|
+
```
|
|
2004
|
+
</dd>
|
|
2005
|
+
</dl>
|
|
2006
|
+
</dd>
|
|
2007
|
+
</dl>
|
|
2008
|
+
|
|
2009
|
+
#### ⚙️ Parameters
|
|
2010
|
+
|
|
2011
|
+
<dl>
|
|
2012
|
+
<dd>
|
|
2013
|
+
|
|
2014
|
+
<dl>
|
|
2015
|
+
<dd>
|
|
2016
|
+
|
|
2017
|
+
**request:** `FiveOneEat.business.UpdateMenuRequest`
|
|
2018
|
+
|
|
2019
|
+
</dd>
|
|
2020
|
+
</dl>
|
|
2021
|
+
|
|
2022
|
+
<dl>
|
|
2023
|
+
<dd>
|
|
2024
|
+
|
|
2025
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2026
|
+
|
|
2027
|
+
</dd>
|
|
2028
|
+
</dl>
|
|
2029
|
+
</dd>
|
|
2030
|
+
</dl>
|
|
2031
|
+
|
|
2032
|
+
|
|
2033
|
+
</dd>
|
|
2034
|
+
</dl>
|
|
2035
|
+
</details>
|
|
2036
|
+
|
|
2037
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteMenusResponse</code></summary>
|
|
2038
|
+
<dl>
|
|
2039
|
+
<dd>
|
|
2040
|
+
|
|
2041
|
+
#### 🔌 Usage
|
|
2042
|
+
|
|
2043
|
+
<dl>
|
|
2044
|
+
<dd>
|
|
2045
|
+
|
|
2046
|
+
<dl>
|
|
2047
|
+
<dd>
|
|
2048
|
+
|
|
2049
|
+
```typescript
|
|
2050
|
+
await client.business.menus.delete({
|
|
2051
|
+
menu: "menu"
|
|
2052
|
+
});
|
|
2053
|
+
|
|
2054
|
+
```
|
|
2055
|
+
</dd>
|
|
2056
|
+
</dl>
|
|
2057
|
+
</dd>
|
|
2058
|
+
</dl>
|
|
2059
|
+
|
|
2060
|
+
#### ⚙️ Parameters
|
|
2061
|
+
|
|
2062
|
+
<dl>
|
|
2063
|
+
<dd>
|
|
2064
|
+
|
|
2065
|
+
<dl>
|
|
2066
|
+
<dd>
|
|
2067
|
+
|
|
2068
|
+
**request:** `FiveOneEat.business.DeleteMenusRequest`
|
|
2069
|
+
|
|
2070
|
+
</dd>
|
|
2071
|
+
</dl>
|
|
2072
|
+
|
|
2073
|
+
<dl>
|
|
2074
|
+
<dd>
|
|
2075
|
+
|
|
2076
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2077
|
+
|
|
2078
|
+
</dd>
|
|
2079
|
+
</dl>
|
|
2080
|
+
</dd>
|
|
2081
|
+
</dl>
|
|
2082
|
+
|
|
2083
|
+
|
|
2084
|
+
</dd>
|
|
2085
|
+
</dl>
|
|
2086
|
+
</details>
|
|
2087
|
+
|
|
2088
|
+
## Business Profile
|
|
2089
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">get</a>() -> FiveOneEat.GetProfileResponse</code></summary>
|
|
2090
|
+
<dl>
|
|
2091
|
+
<dd>
|
|
2092
|
+
|
|
2093
|
+
#### 📝 Description
|
|
2094
|
+
|
|
2095
|
+
<dl>
|
|
2096
|
+
<dd>
|
|
2097
|
+
|
|
2098
|
+
<dl>
|
|
2099
|
+
<dd>
|
|
2100
|
+
|
|
2101
|
+
Retrieve the full editable profile for the authenticated user's active business.
|
|
2102
|
+
</dd>
|
|
2103
|
+
</dl>
|
|
2104
|
+
</dd>
|
|
2105
|
+
</dl>
|
|
2106
|
+
|
|
2107
|
+
#### 🔌 Usage
|
|
2108
|
+
|
|
2109
|
+
<dl>
|
|
2110
|
+
<dd>
|
|
2111
|
+
|
|
2112
|
+
<dl>
|
|
2113
|
+
<dd>
|
|
2114
|
+
|
|
2115
|
+
```typescript
|
|
2116
|
+
await client.business.profile.get();
|
|
2117
|
+
|
|
2118
|
+
```
|
|
2119
|
+
</dd>
|
|
2120
|
+
</dl>
|
|
2121
|
+
</dd>
|
|
2122
|
+
</dl>
|
|
2123
|
+
|
|
2124
|
+
#### ⚙️ Parameters
|
|
2125
|
+
|
|
2126
|
+
<dl>
|
|
2127
|
+
<dd>
|
|
2128
|
+
|
|
2129
|
+
<dl>
|
|
2130
|
+
<dd>
|
|
2131
|
+
|
|
2132
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
2133
|
+
|
|
2134
|
+
</dd>
|
|
2135
|
+
</dl>
|
|
2136
|
+
</dd>
|
|
2137
|
+
</dl>
|
|
2138
|
+
|
|
2139
|
+
|
|
2140
|
+
</dd>
|
|
2141
|
+
</dl>
|
|
2142
|
+
</details>
|
|
2143
|
+
|
|
2144
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateProfileResponse</code></summary>
|
|
2145
|
+
<dl>
|
|
2146
|
+
<dd>
|
|
2147
|
+
|
|
2148
|
+
#### 📝 Description
|
|
2149
|
+
|
|
2150
|
+
<dl>
|
|
2151
|
+
<dd>
|
|
2152
|
+
|
|
2153
|
+
<dl>
|
|
2154
|
+
<dd>
|
|
2155
|
+
|
|
2156
|
+
Update core profile fields for the authenticated user's active business.
|
|
2157
|
+
</dd>
|
|
2158
|
+
</dl>
|
|
2159
|
+
</dd>
|
|
2160
|
+
</dl>
|
|
2161
|
+
|
|
2162
|
+
#### 🔌 Usage
|
|
2163
|
+
|
|
2164
|
+
<dl>
|
|
2165
|
+
<dd>
|
|
2166
|
+
|
|
2167
|
+
<dl>
|
|
2168
|
+
<dd>
|
|
2169
|
+
|
|
2170
|
+
```typescript
|
|
2171
|
+
await client.business.profile.update();
|
|
2172
|
+
|
|
2173
|
+
```
|
|
2174
|
+
</dd>
|
|
2175
|
+
</dl>
|
|
2176
|
+
</dd>
|
|
2177
|
+
</dl>
|
|
2178
|
+
|
|
2179
|
+
#### ⚙️ Parameters
|
|
2180
|
+
|
|
2181
|
+
<dl>
|
|
2182
|
+
<dd>
|
|
2183
|
+
|
|
2184
|
+
<dl>
|
|
2185
|
+
<dd>
|
|
2186
|
+
|
|
2187
|
+
**request:** `FiveOneEat.business.UpdateBusinessProfileRequest`
|
|
2188
|
+
|
|
2189
|
+
</dd>
|
|
2190
|
+
</dl>
|
|
2191
|
+
|
|
2192
|
+
<dl>
|
|
2193
|
+
<dd>
|
|
2194
|
+
|
|
2195
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
2196
|
+
|
|
2197
|
+
</dd>
|
|
2198
|
+
</dl>
|
|
2199
|
+
</dd>
|
|
2200
|
+
</dl>
|
|
2201
|
+
|
|
2202
|
+
|
|
2203
|
+
</dd>
|
|
2204
|
+
</dl>
|
|
2205
|
+
</details>
|
|
2206
|
+
|
|
2207
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">syncCuisines</a>({ ...params }) -> FiveOneEat.SyncCuisinesProfileResponse</code></summary>
|
|
2208
|
+
<dl>
|
|
2209
|
+
<dd>
|
|
2210
|
+
|
|
2211
|
+
#### 📝 Description
|
|
2212
|
+
|
|
2213
|
+
<dl>
|
|
2214
|
+
<dd>
|
|
2215
|
+
|
|
2216
|
+
<dl>
|
|
2217
|
+
<dd>
|
|
2218
|
+
|
|
2219
|
+
Replace the set of cuisines associated with the authenticated user's active business.
|
|
2220
|
+
</dd>
|
|
2221
|
+
</dl>
|
|
2222
|
+
</dd>
|
|
2223
|
+
</dl>
|
|
2224
|
+
|
|
2225
|
+
#### 🔌 Usage
|
|
2226
|
+
|
|
2227
|
+
<dl>
|
|
2228
|
+
<dd>
|
|
2229
|
+
|
|
2230
|
+
<dl>
|
|
2231
|
+
<dd>
|
|
2232
|
+
|
|
2233
|
+
```typescript
|
|
2234
|
+
await client.business.profile.syncCuisines({
|
|
2235
|
+
cuisine_ids: [1]
|
|
2236
|
+
});
|
|
2237
|
+
|
|
2238
|
+
```
|
|
2239
|
+
</dd>
|
|
2240
|
+
</dl>
|
|
2241
|
+
</dd>
|
|
2242
|
+
</dl>
|
|
2243
|
+
|
|
2244
|
+
#### ⚙️ Parameters
|
|
2245
|
+
|
|
2246
|
+
<dl>
|
|
2247
|
+
<dd>
|
|
2248
|
+
|
|
2249
|
+
<dl>
|
|
2250
|
+
<dd>
|
|
2251
|
+
|
|
2252
|
+
**request:** `FiveOneEat.business.SyncCuisinesRequest`
|
|
2253
|
+
|
|
2254
|
+
</dd>
|
|
2255
|
+
</dl>
|
|
2256
|
+
|
|
2257
|
+
<dl>
|
|
2258
|
+
<dd>
|
|
2259
|
+
|
|
2260
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
2261
|
+
|
|
2262
|
+
</dd>
|
|
2263
|
+
</dl>
|
|
2264
|
+
</dd>
|
|
2265
|
+
</dl>
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
</dd>
|
|
2269
|
+
</dl>
|
|
2270
|
+
</details>
|
|
2271
|
+
|
|
2272
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">syncCertifications</a>({ ...params }) -> FiveOneEat.SyncCertificationsProfileResponse</code></summary>
|
|
2273
|
+
<dl>
|
|
2274
|
+
<dd>
|
|
2275
|
+
|
|
2276
|
+
#### 📝 Description
|
|
2277
|
+
|
|
2278
|
+
<dl>
|
|
2279
|
+
<dd>
|
|
2280
|
+
|
|
2281
|
+
<dl>
|
|
2282
|
+
<dd>
|
|
2283
|
+
|
|
2284
|
+
Replace the set of certifications associated with the authenticated user's active business.
|
|
2285
|
+
</dd>
|
|
2286
|
+
</dl>
|
|
2287
|
+
</dd>
|
|
2288
|
+
</dl>
|
|
2289
|
+
|
|
2290
|
+
#### 🔌 Usage
|
|
2291
|
+
|
|
2292
|
+
<dl>
|
|
2293
|
+
<dd>
|
|
2294
|
+
|
|
2295
|
+
<dl>
|
|
2296
|
+
<dd>
|
|
2297
|
+
|
|
2298
|
+
```typescript
|
|
2299
|
+
await client.business.profile.syncCertifications({
|
|
2300
|
+
certification_ids: [1]
|
|
2301
|
+
});
|
|
2302
|
+
|
|
2303
|
+
```
|
|
2304
|
+
</dd>
|
|
2305
|
+
</dl>
|
|
2306
|
+
</dd>
|
|
2307
|
+
</dl>
|
|
2308
|
+
|
|
2309
|
+
#### ⚙️ Parameters
|
|
2310
|
+
|
|
2311
|
+
<dl>
|
|
2312
|
+
<dd>
|
|
2313
|
+
|
|
2314
|
+
<dl>
|
|
2315
|
+
<dd>
|
|
2316
|
+
|
|
2317
|
+
**request:** `FiveOneEat.business.SyncCertificationsRequest`
|
|
2318
|
+
|
|
2319
|
+
</dd>
|
|
2320
|
+
</dl>
|
|
2321
|
+
|
|
2322
|
+
<dl>
|
|
2323
|
+
<dd>
|
|
2324
|
+
|
|
2325
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
2326
|
+
|
|
2327
|
+
</dd>
|
|
2328
|
+
</dl>
|
|
2329
|
+
</dd>
|
|
2330
|
+
</dl>
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
</dd>
|
|
2334
|
+
</dl>
|
|
2335
|
+
</details>
|
|
2336
|
+
|
|
2337
|
+
## Business Auth Tokens
|
|
2338
|
+
<details><summary><code>client.business.auth.tokens.<a href="/src/api/resources/business/resources/auth/resources/tokens/client/Client.ts">list</a>() -> FiveOneEat.ListTokensResponse</code></summary>
|
|
2339
|
+
<dl>
|
|
2340
|
+
<dd>
|
|
2341
|
+
|
|
2342
|
+
#### 📝 Description
|
|
2343
|
+
|
|
2344
|
+
<dl>
|
|
2345
|
+
<dd>
|
|
2346
|
+
|
|
2347
|
+
<dl>
|
|
2348
|
+
<dd>
|
|
2349
|
+
|
|
2350
|
+
Retrieve a list of all API tokens for the authenticated business user.
|
|
2351
|
+
</dd>
|
|
2352
|
+
</dl>
|
|
2353
|
+
</dd>
|
|
2354
|
+
</dl>
|
|
2355
|
+
|
|
2356
|
+
#### 🔌 Usage
|
|
2357
|
+
|
|
2358
|
+
<dl>
|
|
2359
|
+
<dd>
|
|
2360
|
+
|
|
2361
|
+
<dl>
|
|
2362
|
+
<dd>
|
|
2363
|
+
|
|
2364
|
+
```typescript
|
|
2365
|
+
await client.business.auth.tokens.list();
|
|
2366
|
+
|
|
2367
|
+
```
|
|
2368
|
+
</dd>
|
|
2369
|
+
</dl>
|
|
2370
|
+
</dd>
|
|
2371
|
+
</dl>
|
|
2372
|
+
|
|
2373
|
+
#### ⚙️ Parameters
|
|
2374
|
+
|
|
2375
|
+
<dl>
|
|
2376
|
+
<dd>
|
|
2377
|
+
|
|
2378
|
+
<dl>
|
|
2379
|
+
<dd>
|
|
2380
|
+
|
|
2381
|
+
**requestOptions:** `TokensClient.RequestOptions`
|
|
2382
|
+
|
|
2383
|
+
</dd>
|
|
2384
|
+
</dl>
|
|
2385
|
+
</dd>
|
|
2386
|
+
</dl>
|
|
2387
|
+
|
|
2388
|
+
|
|
2389
|
+
</dd>
|
|
2390
|
+
</dl>
|
|
2391
|
+
</details>
|
|
2392
|
+
|
|
2393
|
+
<details><summary><code>client.business.auth.tokens.<a href="/src/api/resources/business/resources/auth/resources/tokens/client/Client.ts">revoke</a>({ ...params }) -> FiveOneEat.RevokeTokensResponse</code></summary>
|
|
2394
|
+
<dl>
|
|
2395
|
+
<dd>
|
|
2396
|
+
|
|
2397
|
+
#### 📝 Description
|
|
2398
|
+
|
|
2399
|
+
<dl>
|
|
2400
|
+
<dd>
|
|
2401
|
+
|
|
2402
|
+
<dl>
|
|
2403
|
+
<dd>
|
|
2404
|
+
|
|
2405
|
+
Delete a specific API token by its ID.
|
|
2406
|
+
</dd>
|
|
2407
|
+
</dl>
|
|
2408
|
+
</dd>
|
|
2409
|
+
</dl>
|
|
2410
|
+
|
|
2411
|
+
#### 🔌 Usage
|
|
2412
|
+
|
|
2413
|
+
<dl>
|
|
2414
|
+
<dd>
|
|
2415
|
+
|
|
2416
|
+
<dl>
|
|
2417
|
+
<dd>
|
|
2418
|
+
|
|
2419
|
+
```typescript
|
|
2420
|
+
await client.business.auth.tokens.revoke({
|
|
2421
|
+
token: "token"
|
|
2422
|
+
});
|
|
2423
|
+
|
|
2424
|
+
```
|
|
2425
|
+
</dd>
|
|
2426
|
+
</dl>
|
|
2427
|
+
</dd>
|
|
2428
|
+
</dl>
|
|
2429
|
+
|
|
2430
|
+
#### ⚙️ Parameters
|
|
2431
|
+
|
|
2432
|
+
<dl>
|
|
2433
|
+
<dd>
|
|
2434
|
+
|
|
2435
|
+
<dl>
|
|
2436
|
+
<dd>
|
|
2437
|
+
|
|
2438
|
+
**request:** `FiveOneEat.business.auth.RevokeTokensRequest`
|
|
2439
|
+
|
|
2440
|
+
</dd>
|
|
2441
|
+
</dl>
|
|
2442
|
+
|
|
2443
|
+
<dl>
|
|
2444
|
+
<dd>
|
|
2445
|
+
|
|
2446
|
+
**requestOptions:** `TokensClient.RequestOptions`
|
|
2447
|
+
|
|
2448
|
+
</dd>
|
|
2449
|
+
</dl>
|
|
2450
|
+
</dd>
|
|
2451
|
+
</dl>
|
|
2452
|
+
|
|
2453
|
+
|
|
2454
|
+
</dd>
|
|
2455
|
+
</dl>
|
|
2456
|
+
</details>
|
|
2457
|
+
|
|
2458
|
+
## Business Menus Groups
|
|
2459
|
+
<details><summary><code>client.business.menus.groups.<a href="/src/api/resources/business/resources/menus/resources/groups/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListGroupsResponse</code></summary>
|
|
2460
|
+
<dl>
|
|
2461
|
+
<dd>
|
|
2462
|
+
|
|
2463
|
+
#### 🔌 Usage
|
|
2464
|
+
|
|
2465
|
+
<dl>
|
|
2466
|
+
<dd>
|
|
2467
|
+
|
|
2468
|
+
<dl>
|
|
2469
|
+
<dd>
|
|
2470
|
+
|
|
2471
|
+
```typescript
|
|
2472
|
+
await client.business.menus.groups.list({
|
|
2473
|
+
menu: "menu"
|
|
2474
|
+
});
|
|
2475
|
+
|
|
2476
|
+
```
|
|
2477
|
+
</dd>
|
|
2478
|
+
</dl>
|
|
2479
|
+
</dd>
|
|
2480
|
+
</dl>
|
|
2481
|
+
|
|
2482
|
+
#### ⚙️ Parameters
|
|
2483
|
+
|
|
2484
|
+
<dl>
|
|
2485
|
+
<dd>
|
|
2486
|
+
|
|
2487
|
+
<dl>
|
|
2488
|
+
<dd>
|
|
2489
|
+
|
|
2490
|
+
**request:** `FiveOneEat.business.menus.ListGroupsRequest`
|
|
2491
|
+
|
|
2492
|
+
</dd>
|
|
2493
|
+
</dl>
|
|
2494
|
+
|
|
2495
|
+
<dl>
|
|
2496
|
+
<dd>
|
|
2497
|
+
|
|
2498
|
+
**requestOptions:** `GroupsClient.RequestOptions`
|
|
1745
2499
|
|
|
1746
2500
|
</dd>
|
|
1747
2501
|
</dl>
|
|
@@ -1753,11 +2507,11 @@ await client.business.profile.update();
|
|
|
1753
2507
|
</dl>
|
|
1754
2508
|
</details>
|
|
1755
2509
|
|
|
1756
|
-
<details><summary><code>client.business.
|
|
2510
|
+
<details><summary><code>client.business.menus.groups.<a href="/src/api/resources/business/resources/menus/resources/groups/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateGroupsResponse</code></summary>
|
|
1757
2511
|
<dl>
|
|
1758
2512
|
<dd>
|
|
1759
2513
|
|
|
1760
|
-
####
|
|
2514
|
+
#### 🔌 Usage
|
|
1761
2515
|
|
|
1762
2516
|
<dl>
|
|
1763
2517
|
<dd>
|
|
@@ -1765,11 +2519,49 @@ await client.business.profile.update();
|
|
|
1765
2519
|
<dl>
|
|
1766
2520
|
<dd>
|
|
1767
2521
|
|
|
1768
|
-
|
|
2522
|
+
```typescript
|
|
2523
|
+
await client.business.menus.groups.create({
|
|
2524
|
+
menu: "menu",
|
|
2525
|
+
name: "name"
|
|
2526
|
+
});
|
|
2527
|
+
|
|
2528
|
+
```
|
|
2529
|
+
</dd>
|
|
2530
|
+
</dl>
|
|
2531
|
+
</dd>
|
|
2532
|
+
</dl>
|
|
2533
|
+
|
|
2534
|
+
#### ⚙️ Parameters
|
|
2535
|
+
|
|
2536
|
+
<dl>
|
|
2537
|
+
<dd>
|
|
2538
|
+
|
|
2539
|
+
<dl>
|
|
2540
|
+
<dd>
|
|
2541
|
+
|
|
2542
|
+
**request:** `FiveOneEat.business.menus.StoreMenuGroupRequest`
|
|
2543
|
+
|
|
2544
|
+
</dd>
|
|
2545
|
+
</dl>
|
|
2546
|
+
|
|
2547
|
+
<dl>
|
|
2548
|
+
<dd>
|
|
2549
|
+
|
|
2550
|
+
**requestOptions:** `GroupsClient.RequestOptions`
|
|
2551
|
+
|
|
2552
|
+
</dd>
|
|
2553
|
+
</dl>
|
|
1769
2554
|
</dd>
|
|
1770
2555
|
</dl>
|
|
2556
|
+
|
|
2557
|
+
|
|
1771
2558
|
</dd>
|
|
1772
2559
|
</dl>
|
|
2560
|
+
</details>
|
|
2561
|
+
|
|
2562
|
+
<details><summary><code>client.business.menus.groups.<a href="/src/api/resources/business/resources/menus/resources/groups/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetGroupsResponse</code></summary>
|
|
2563
|
+
<dl>
|
|
2564
|
+
<dd>
|
|
1773
2565
|
|
|
1774
2566
|
#### 🔌 Usage
|
|
1775
2567
|
|
|
@@ -1780,8 +2572,9 @@ Replace the set of cuisines associated with the authenticated user's active busi
|
|
|
1780
2572
|
<dd>
|
|
1781
2573
|
|
|
1782
2574
|
```typescript
|
|
1783
|
-
await client.business.
|
|
1784
|
-
|
|
2575
|
+
await client.business.menus.groups.get({
|
|
2576
|
+
menu: "menu",
|
|
2577
|
+
group: "group"
|
|
1785
2578
|
});
|
|
1786
2579
|
|
|
1787
2580
|
```
|
|
@@ -1798,7 +2591,7 @@ await client.business.profile.syncCuisines({
|
|
|
1798
2591
|
<dl>
|
|
1799
2592
|
<dd>
|
|
1800
2593
|
|
|
1801
|
-
**request:** `FiveOneEat.business.
|
|
2594
|
+
**request:** `FiveOneEat.business.menus.GetGroupsRequest`
|
|
1802
2595
|
|
|
1803
2596
|
</dd>
|
|
1804
2597
|
</dl>
|
|
@@ -1806,7 +2599,7 @@ await client.business.profile.syncCuisines({
|
|
|
1806
2599
|
<dl>
|
|
1807
2600
|
<dd>
|
|
1808
2601
|
|
|
1809
|
-
**requestOptions:** `
|
|
2602
|
+
**requestOptions:** `GroupsClient.RequestOptions`
|
|
1810
2603
|
|
|
1811
2604
|
</dd>
|
|
1812
2605
|
</dl>
|
|
@@ -1818,11 +2611,11 @@ await client.business.profile.syncCuisines({
|
|
|
1818
2611
|
</dl>
|
|
1819
2612
|
</details>
|
|
1820
2613
|
|
|
1821
|
-
<details><summary><code>client.business.
|
|
2614
|
+
<details><summary><code>client.business.menus.groups.<a href="/src/api/resources/business/resources/menus/resources/groups/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateGroupsResponse</code></summary>
|
|
1822
2615
|
<dl>
|
|
1823
2616
|
<dd>
|
|
1824
2617
|
|
|
1825
|
-
####
|
|
2618
|
+
#### 🔌 Usage
|
|
1826
2619
|
|
|
1827
2620
|
<dl>
|
|
1828
2621
|
<dd>
|
|
@@ -1830,12 +2623,51 @@ await client.business.profile.syncCuisines({
|
|
|
1830
2623
|
<dl>
|
|
1831
2624
|
<dd>
|
|
1832
2625
|
|
|
1833
|
-
|
|
2626
|
+
```typescript
|
|
2627
|
+
await client.business.menus.groups.update({
|
|
2628
|
+
menu: "menu",
|
|
2629
|
+
group: "group",
|
|
2630
|
+
name: "name"
|
|
2631
|
+
});
|
|
2632
|
+
|
|
2633
|
+
```
|
|
2634
|
+
</dd>
|
|
2635
|
+
</dl>
|
|
2636
|
+
</dd>
|
|
2637
|
+
</dl>
|
|
2638
|
+
|
|
2639
|
+
#### ⚙️ Parameters
|
|
2640
|
+
|
|
2641
|
+
<dl>
|
|
2642
|
+
<dd>
|
|
2643
|
+
|
|
2644
|
+
<dl>
|
|
2645
|
+
<dd>
|
|
2646
|
+
|
|
2647
|
+
**request:** `FiveOneEat.business.menus.UpdateMenuGroupRequest`
|
|
2648
|
+
|
|
2649
|
+
</dd>
|
|
2650
|
+
</dl>
|
|
2651
|
+
|
|
2652
|
+
<dl>
|
|
2653
|
+
<dd>
|
|
2654
|
+
|
|
2655
|
+
**requestOptions:** `GroupsClient.RequestOptions`
|
|
2656
|
+
|
|
1834
2657
|
</dd>
|
|
1835
2658
|
</dl>
|
|
1836
2659
|
</dd>
|
|
1837
2660
|
</dl>
|
|
1838
2661
|
|
|
2662
|
+
|
|
2663
|
+
</dd>
|
|
2664
|
+
</dl>
|
|
2665
|
+
</details>
|
|
2666
|
+
|
|
2667
|
+
<details><summary><code>client.business.menus.groups.<a href="/src/api/resources/business/resources/menus/resources/groups/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteGroupsResponse</code></summary>
|
|
2668
|
+
<dl>
|
|
2669
|
+
<dd>
|
|
2670
|
+
|
|
1839
2671
|
#### 🔌 Usage
|
|
1840
2672
|
|
|
1841
2673
|
<dl>
|
|
@@ -1845,8 +2677,9 @@ Replace the set of certifications associated with the authenticated user's activ
|
|
|
1845
2677
|
<dd>
|
|
1846
2678
|
|
|
1847
2679
|
```typescript
|
|
1848
|
-
await client.business.
|
|
1849
|
-
|
|
2680
|
+
await client.business.menus.groups.delete({
|
|
2681
|
+
menu: "menu",
|
|
2682
|
+
group: "group"
|
|
1850
2683
|
});
|
|
1851
2684
|
|
|
1852
2685
|
```
|
|
@@ -1863,7 +2696,7 @@ await client.business.profile.syncCertifications({
|
|
|
1863
2696
|
<dl>
|
|
1864
2697
|
<dd>
|
|
1865
2698
|
|
|
1866
|
-
**request:** `FiveOneEat.business.
|
|
2699
|
+
**request:** `FiveOneEat.business.menus.DeleteGroupsRequest`
|
|
1867
2700
|
|
|
1868
2701
|
</dd>
|
|
1869
2702
|
</dl>
|
|
@@ -1871,7 +2704,7 @@ await client.business.profile.syncCertifications({
|
|
|
1871
2704
|
<dl>
|
|
1872
2705
|
<dd>
|
|
1873
2706
|
|
|
1874
|
-
**requestOptions:** `
|
|
2707
|
+
**requestOptions:** `GroupsClient.RequestOptions`
|
|
1875
2708
|
|
|
1876
2709
|
</dd>
|
|
1877
2710
|
</dl>
|
|
@@ -1883,8 +2716,7 @@ await client.business.profile.syncCertifications({
|
|
|
1883
2716
|
</dl>
|
|
1884
2717
|
</details>
|
|
1885
2718
|
|
|
1886
|
-
|
|
1887
|
-
<details><summary><code>client.business.auth.tokens.<a href="/src/api/resources/business/resources/auth/resources/tokens/client/Client.ts">list</a>() -> FiveOneEat.ListTokensResponse</code></summary>
|
|
2719
|
+
<details><summary><code>client.business.menus.groups.<a href="/src/api/resources/business/resources/menus/resources/groups/client/Client.ts">reorder</a>({ ...params }) -> FiveOneEat.ReorderGroupsResponse</code></summary>
|
|
1888
2720
|
<dl>
|
|
1889
2721
|
<dd>
|
|
1890
2722
|
|
|
@@ -1896,7 +2728,7 @@ await client.business.profile.syncCertifications({
|
|
|
1896
2728
|
<dl>
|
|
1897
2729
|
<dd>
|
|
1898
2730
|
|
|
1899
|
-
|
|
2731
|
+
Batch-update sort_order for groups. Groups not belonging to this menu are silently skipped.
|
|
1900
2732
|
</dd>
|
|
1901
2733
|
</dl>
|
|
1902
2734
|
</dd>
|
|
@@ -1911,7 +2743,13 @@ Retrieve a list of all API tokens for the authenticated business user.
|
|
|
1911
2743
|
<dd>
|
|
1912
2744
|
|
|
1913
2745
|
```typescript
|
|
1914
|
-
await client.business.
|
|
2746
|
+
await client.business.menus.groups.reorder({
|
|
2747
|
+
menu: "menu",
|
|
2748
|
+
groups: [{
|
|
2749
|
+
id: "id",
|
|
2750
|
+
sort_order: 1
|
|
2751
|
+
}]
|
|
2752
|
+
});
|
|
1915
2753
|
|
|
1916
2754
|
```
|
|
1917
2755
|
</dd>
|
|
@@ -1927,7 +2765,15 @@ await client.business.auth.tokens.list();
|
|
|
1927
2765
|
<dl>
|
|
1928
2766
|
<dd>
|
|
1929
2767
|
|
|
1930
|
-
**
|
|
2768
|
+
**request:** `FiveOneEat.business.menus.ReorderGroupsRequest`
|
|
2769
|
+
|
|
2770
|
+
</dd>
|
|
2771
|
+
</dl>
|
|
2772
|
+
|
|
2773
|
+
<dl>
|
|
2774
|
+
<dd>
|
|
2775
|
+
|
|
2776
|
+
**requestOptions:** `GroupsClient.RequestOptions`
|
|
1931
2777
|
|
|
1932
2778
|
</dd>
|
|
1933
2779
|
</dl>
|
|
@@ -1939,24 +2785,11 @@ await client.business.auth.tokens.list();
|
|
|
1939
2785
|
</dl>
|
|
1940
2786
|
</details>
|
|
1941
2787
|
|
|
1942
|
-
|
|
1943
|
-
<
|
|
1944
|
-
<dd>
|
|
1945
|
-
|
|
1946
|
-
#### 📝 Description
|
|
1947
|
-
|
|
1948
|
-
<dl>
|
|
1949
|
-
<dd>
|
|
1950
|
-
|
|
2788
|
+
## Business Menus Items
|
|
2789
|
+
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListItemsResponse</code></summary>
|
|
1951
2790
|
<dl>
|
|
1952
2791
|
<dd>
|
|
1953
2792
|
|
|
1954
|
-
Delete a specific API token by its ID.
|
|
1955
|
-
</dd>
|
|
1956
|
-
</dl>
|
|
1957
|
-
</dd>
|
|
1958
|
-
</dl>
|
|
1959
|
-
|
|
1960
2793
|
#### 🔌 Usage
|
|
1961
2794
|
|
|
1962
2795
|
<dl>
|
|
@@ -1966,8 +2799,8 @@ Delete a specific API token by its ID.
|
|
|
1966
2799
|
<dd>
|
|
1967
2800
|
|
|
1968
2801
|
```typescript
|
|
1969
|
-
await client.business.
|
|
1970
|
-
|
|
2802
|
+
await client.business.menus.items.list({
|
|
2803
|
+
menu: "menu"
|
|
1971
2804
|
});
|
|
1972
2805
|
|
|
1973
2806
|
```
|
|
@@ -1984,7 +2817,7 @@ await client.business.auth.tokens.revoke({
|
|
|
1984
2817
|
<dl>
|
|
1985
2818
|
<dd>
|
|
1986
2819
|
|
|
1987
|
-
**request:** `FiveOneEat.business.
|
|
2820
|
+
**request:** `FiveOneEat.business.menus.ListItemsRequest`
|
|
1988
2821
|
|
|
1989
2822
|
</dd>
|
|
1990
2823
|
</dl>
|
|
@@ -1992,7 +2825,7 @@ await client.business.auth.tokens.revoke({
|
|
|
1992
2825
|
<dl>
|
|
1993
2826
|
<dd>
|
|
1994
2827
|
|
|
1995
|
-
**requestOptions:** `
|
|
2828
|
+
**requestOptions:** `ItemsClient.RequestOptions`
|
|
1996
2829
|
|
|
1997
2830
|
</dd>
|
|
1998
2831
|
</dl>
|
|
@@ -2004,8 +2837,7 @@ await client.business.auth.tokens.revoke({
|
|
|
2004
2837
|
</dl>
|
|
2005
2838
|
</details>
|
|
2006
2839
|
|
|
2007
|
-
|
|
2008
|
-
<details><summary><code>client.business.menus.groups.<a href="/src/api/resources/business/resources/menus/resources/groups/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListGroupsResponse</code></summary>
|
|
2840
|
+
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateItemsResponse</code></summary>
|
|
2009
2841
|
<dl>
|
|
2010
2842
|
<dd>
|
|
2011
2843
|
|
|
@@ -2018,8 +2850,11 @@ await client.business.auth.tokens.revoke({
|
|
|
2018
2850
|
<dd>
|
|
2019
2851
|
|
|
2020
2852
|
```typescript
|
|
2021
|
-
await client.business.menus.
|
|
2022
|
-
menu: "menu"
|
|
2853
|
+
await client.business.menus.items.create({
|
|
2854
|
+
menu: "menu",
|
|
2855
|
+
name: "name",
|
|
2856
|
+
price: 1.1,
|
|
2857
|
+
menu_group_id: "menu_group_id"
|
|
2023
2858
|
});
|
|
2024
2859
|
|
|
2025
2860
|
```
|
|
@@ -2036,7 +2871,7 @@ await client.business.menus.groups.list({
|
|
|
2036
2871
|
<dl>
|
|
2037
2872
|
<dd>
|
|
2038
2873
|
|
|
2039
|
-
**request:** `FiveOneEat.business.menus.
|
|
2874
|
+
**request:** `FiveOneEat.business.menus.StoreMenuItemRequest`
|
|
2040
2875
|
|
|
2041
2876
|
</dd>
|
|
2042
2877
|
</dl>
|
|
@@ -2044,7 +2879,7 @@ await client.business.menus.groups.list({
|
|
|
2044
2879
|
<dl>
|
|
2045
2880
|
<dd>
|
|
2046
2881
|
|
|
2047
|
-
**requestOptions:** `
|
|
2882
|
+
**requestOptions:** `ItemsClient.RequestOptions`
|
|
2048
2883
|
|
|
2049
2884
|
</dd>
|
|
2050
2885
|
</dl>
|
|
@@ -2056,7 +2891,7 @@ await client.business.menus.groups.list({
|
|
|
2056
2891
|
</dl>
|
|
2057
2892
|
</details>
|
|
2058
2893
|
|
|
2059
|
-
<details><summary><code>client.business.menus.
|
|
2894
|
+
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetItemsResponse</code></summary>
|
|
2060
2895
|
<dl>
|
|
2061
2896
|
<dd>
|
|
2062
2897
|
|
|
@@ -2069,9 +2904,9 @@ await client.business.menus.groups.list({
|
|
|
2069
2904
|
<dd>
|
|
2070
2905
|
|
|
2071
2906
|
```typescript
|
|
2072
|
-
await client.business.menus.
|
|
2907
|
+
await client.business.menus.items.get({
|
|
2073
2908
|
menu: "menu",
|
|
2074
|
-
|
|
2909
|
+
item: "item"
|
|
2075
2910
|
});
|
|
2076
2911
|
|
|
2077
2912
|
```
|
|
@@ -2088,7 +2923,7 @@ await client.business.menus.groups.create({
|
|
|
2088
2923
|
<dl>
|
|
2089
2924
|
<dd>
|
|
2090
2925
|
|
|
2091
|
-
**request:** `FiveOneEat.business.menus.
|
|
2926
|
+
**request:** `FiveOneEat.business.menus.GetItemsRequest`
|
|
2092
2927
|
|
|
2093
2928
|
</dd>
|
|
2094
2929
|
</dl>
|
|
@@ -2096,7 +2931,7 @@ await client.business.menus.groups.create({
|
|
|
2096
2931
|
<dl>
|
|
2097
2932
|
<dd>
|
|
2098
2933
|
|
|
2099
|
-
**requestOptions:** `
|
|
2934
|
+
**requestOptions:** `ItemsClient.RequestOptions`
|
|
2100
2935
|
|
|
2101
2936
|
</dd>
|
|
2102
2937
|
</dl>
|
|
@@ -2108,7 +2943,7 @@ await client.business.menus.groups.create({
|
|
|
2108
2943
|
</dl>
|
|
2109
2944
|
</details>
|
|
2110
2945
|
|
|
2111
|
-
<details><summary><code>client.business.menus.
|
|
2946
|
+
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateItemsResponse</code></summary>
|
|
2112
2947
|
<dl>
|
|
2113
2948
|
<dd>
|
|
2114
2949
|
|
|
@@ -2121,9 +2956,11 @@ await client.business.menus.groups.create({
|
|
|
2121
2956
|
<dd>
|
|
2122
2957
|
|
|
2123
2958
|
```typescript
|
|
2124
|
-
await client.business.menus.
|
|
2959
|
+
await client.business.menus.items.update({
|
|
2125
2960
|
menu: "menu",
|
|
2126
|
-
|
|
2961
|
+
item: "item",
|
|
2962
|
+
name: "name",
|
|
2963
|
+
price: 1.1
|
|
2127
2964
|
});
|
|
2128
2965
|
|
|
2129
2966
|
```
|
|
@@ -2140,7 +2977,7 @@ await client.business.menus.groups.get({
|
|
|
2140
2977
|
<dl>
|
|
2141
2978
|
<dd>
|
|
2142
2979
|
|
|
2143
|
-
**request:** `FiveOneEat.business.menus.
|
|
2980
|
+
**request:** `FiveOneEat.business.menus.UpdateMenuItemRequest`
|
|
2144
2981
|
|
|
2145
2982
|
</dd>
|
|
2146
2983
|
</dl>
|
|
@@ -2148,7 +2985,7 @@ await client.business.menus.groups.get({
|
|
|
2148
2985
|
<dl>
|
|
2149
2986
|
<dd>
|
|
2150
2987
|
|
|
2151
|
-
**requestOptions:** `
|
|
2988
|
+
**requestOptions:** `ItemsClient.RequestOptions`
|
|
2152
2989
|
|
|
2153
2990
|
</dd>
|
|
2154
2991
|
</dl>
|
|
@@ -2160,7 +2997,7 @@ await client.business.menus.groups.get({
|
|
|
2160
2997
|
</dl>
|
|
2161
2998
|
</details>
|
|
2162
2999
|
|
|
2163
|
-
<details><summary><code>client.business.menus.
|
|
3000
|
+
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteItemsResponse</code></summary>
|
|
2164
3001
|
<dl>
|
|
2165
3002
|
<dd>
|
|
2166
3003
|
|
|
@@ -2173,10 +3010,9 @@ await client.business.menus.groups.get({
|
|
|
2173
3010
|
<dd>
|
|
2174
3011
|
|
|
2175
3012
|
```typescript
|
|
2176
|
-
await client.business.menus.
|
|
3013
|
+
await client.business.menus.items.delete({
|
|
2177
3014
|
menu: "menu",
|
|
2178
|
-
|
|
2179
|
-
name: "name"
|
|
3015
|
+
item: "item"
|
|
2180
3016
|
});
|
|
2181
3017
|
|
|
2182
3018
|
```
|
|
@@ -2193,7 +3029,7 @@ await client.business.menus.groups.update({
|
|
|
2193
3029
|
<dl>
|
|
2194
3030
|
<dd>
|
|
2195
3031
|
|
|
2196
|
-
**request:** `FiveOneEat.business.menus.
|
|
3032
|
+
**request:** `FiveOneEat.business.menus.DeleteItemsRequest`
|
|
2197
3033
|
|
|
2198
3034
|
</dd>
|
|
2199
3035
|
</dl>
|
|
@@ -2201,7 +3037,7 @@ await client.business.menus.groups.update({
|
|
|
2201
3037
|
<dl>
|
|
2202
3038
|
<dd>
|
|
2203
3039
|
|
|
2204
|
-
**requestOptions:** `
|
|
3040
|
+
**requestOptions:** `ItemsClient.RequestOptions`
|
|
2205
3041
|
|
|
2206
3042
|
</dd>
|
|
2207
3043
|
</dl>
|
|
@@ -2213,10 +3049,24 @@ await client.business.menus.groups.update({
|
|
|
2213
3049
|
</dl>
|
|
2214
3050
|
</details>
|
|
2215
3051
|
|
|
2216
|
-
<details><summary><code>client.business.menus.
|
|
3052
|
+
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">reorder</a>({ ...params }) -> FiveOneEat.ReorderItemsResponse</code></summary>
|
|
3053
|
+
<dl>
|
|
3054
|
+
<dd>
|
|
3055
|
+
|
|
3056
|
+
#### 📝 Description
|
|
3057
|
+
|
|
2217
3058
|
<dl>
|
|
2218
3059
|
<dd>
|
|
2219
3060
|
|
|
3061
|
+
<dl>
|
|
3062
|
+
<dd>
|
|
3063
|
+
|
|
3064
|
+
Batch-update sort_order for items. Items not belonging to this group are silently skipped.
|
|
3065
|
+
</dd>
|
|
3066
|
+
</dl>
|
|
3067
|
+
</dd>
|
|
3068
|
+
</dl>
|
|
3069
|
+
|
|
2220
3070
|
#### 🔌 Usage
|
|
2221
3071
|
|
|
2222
3072
|
<dl>
|
|
@@ -2226,9 +3076,12 @@ await client.business.menus.groups.update({
|
|
|
2226
3076
|
<dd>
|
|
2227
3077
|
|
|
2228
3078
|
```typescript
|
|
2229
|
-
await client.business.menus.
|
|
2230
|
-
|
|
2231
|
-
|
|
3079
|
+
await client.business.menus.items.reorder({
|
|
3080
|
+
group: "group",
|
|
3081
|
+
items: [{
|
|
3082
|
+
id: "id",
|
|
3083
|
+
sort_order: 1
|
|
3084
|
+
}]
|
|
2232
3085
|
});
|
|
2233
3086
|
|
|
2234
3087
|
```
|
|
@@ -2245,7 +3098,7 @@ await client.business.menus.groups.delete({
|
|
|
2245
3098
|
<dl>
|
|
2246
3099
|
<dd>
|
|
2247
3100
|
|
|
2248
|
-
**request:** `FiveOneEat.business.menus.
|
|
3101
|
+
**request:** `FiveOneEat.business.menus.ReorderItemsRequest`
|
|
2249
3102
|
|
|
2250
3103
|
</dd>
|
|
2251
3104
|
</dl>
|
|
@@ -2253,7 +3106,7 @@ await client.business.menus.groups.delete({
|
|
|
2253
3106
|
<dl>
|
|
2254
3107
|
<dd>
|
|
2255
3108
|
|
|
2256
|
-
**requestOptions:** `
|
|
3109
|
+
**requestOptions:** `ItemsClient.RequestOptions`
|
|
2257
3110
|
|
|
2258
3111
|
</dd>
|
|
2259
3112
|
</dl>
|
|
@@ -2265,7 +3118,7 @@ await client.business.menus.groups.delete({
|
|
|
2265
3118
|
</dl>
|
|
2266
3119
|
</details>
|
|
2267
3120
|
|
|
2268
|
-
<details><summary><code>client.business.menus.
|
|
3121
|
+
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">move</a>({ ...params }) -> FiveOneEat.MoveItemsResponse</code></summary>
|
|
2269
3122
|
<dl>
|
|
2270
3123
|
<dd>
|
|
2271
3124
|
|
|
@@ -2277,7 +3130,7 @@ await client.business.menus.groups.delete({
|
|
|
2277
3130
|
<dl>
|
|
2278
3131
|
<dd>
|
|
2279
3132
|
|
|
2280
|
-
|
|
3133
|
+
Moves the item to the target group at the specified sort order, shifting existing items to make room.
|
|
2281
3134
|
</dd>
|
|
2282
3135
|
</dl>
|
|
2283
3136
|
</dd>
|
|
@@ -2292,12 +3145,10 @@ Batch-update sort_order for groups. Groups not belonging to this menu are silent
|
|
|
2292
3145
|
<dd>
|
|
2293
3146
|
|
|
2294
3147
|
```typescript
|
|
2295
|
-
await client.business.menus.
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
sort_order: 1
|
|
2300
|
-
}]
|
|
3148
|
+
await client.business.menus.items.move({
|
|
3149
|
+
item: "item",
|
|
3150
|
+
target_group_id: "target_group_id",
|
|
3151
|
+
new_sort_order: 1
|
|
2301
3152
|
});
|
|
2302
3153
|
|
|
2303
3154
|
```
|
|
@@ -2314,7 +3165,7 @@ await client.business.menus.groups.reorder({
|
|
|
2314
3165
|
<dl>
|
|
2315
3166
|
<dd>
|
|
2316
3167
|
|
|
2317
|
-
**request:** `FiveOneEat.business.menus.
|
|
3168
|
+
**request:** `FiveOneEat.business.menus.MoveItemsRequest`
|
|
2318
3169
|
|
|
2319
3170
|
</dd>
|
|
2320
3171
|
</dl>
|
|
@@ -2322,7 +3173,7 @@ await client.business.menus.groups.reorder({
|
|
|
2322
3173
|
<dl>
|
|
2323
3174
|
<dd>
|
|
2324
3175
|
|
|
2325
|
-
**requestOptions:** `
|
|
3176
|
+
**requestOptions:** `ItemsClient.RequestOptions`
|
|
2326
3177
|
|
|
2327
3178
|
</dd>
|
|
2328
3179
|
</dl>
|
|
@@ -2334,8 +3185,8 @@ await client.business.menus.groups.reorder({
|
|
|
2334
3185
|
</dl>
|
|
2335
3186
|
</details>
|
|
2336
3187
|
|
|
2337
|
-
## Business Menus Items
|
|
2338
|
-
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.
|
|
3188
|
+
## Business Menus Items Variations
|
|
3189
|
+
<details><summary><code>client.business.menus.items.variations.<a href="/src/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListVariationsResponse</code></summary>
|
|
2339
3190
|
<dl>
|
|
2340
3191
|
<dd>
|
|
2341
3192
|
|
|
@@ -2348,8 +3199,8 @@ await client.business.menus.groups.reorder({
|
|
|
2348
3199
|
<dd>
|
|
2349
3200
|
|
|
2350
3201
|
```typescript
|
|
2351
|
-
await client.business.menus.items.list({
|
|
2352
|
-
|
|
3202
|
+
await client.business.menus.items.variations.list({
|
|
3203
|
+
menuItem: "menuItem"
|
|
2353
3204
|
});
|
|
2354
3205
|
|
|
2355
3206
|
```
|
|
@@ -2366,7 +3217,7 @@ await client.business.menus.items.list({
|
|
|
2366
3217
|
<dl>
|
|
2367
3218
|
<dd>
|
|
2368
3219
|
|
|
2369
|
-
**request:** `FiveOneEat.business.menus.
|
|
3220
|
+
**request:** `FiveOneEat.business.menus.items.ListVariationsRequest`
|
|
2370
3221
|
|
|
2371
3222
|
</dd>
|
|
2372
3223
|
</dl>
|
|
@@ -2374,7 +3225,7 @@ await client.business.menus.items.list({
|
|
|
2374
3225
|
<dl>
|
|
2375
3226
|
<dd>
|
|
2376
3227
|
|
|
2377
|
-
**requestOptions:** `
|
|
3228
|
+
**requestOptions:** `VariationsClient.RequestOptions`
|
|
2378
3229
|
|
|
2379
3230
|
</dd>
|
|
2380
3231
|
</dl>
|
|
@@ -2386,7 +3237,7 @@ await client.business.menus.items.list({
|
|
|
2386
3237
|
</dl>
|
|
2387
3238
|
</details>
|
|
2388
3239
|
|
|
2389
|
-
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.
|
|
3240
|
+
<details><summary><code>client.business.menus.items.variations.<a href="/src/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateVariationsResponse</code></summary>
|
|
2390
3241
|
<dl>
|
|
2391
3242
|
<dd>
|
|
2392
3243
|
|
|
@@ -2399,11 +3250,10 @@ await client.business.menus.items.list({
|
|
|
2399
3250
|
<dd>
|
|
2400
3251
|
|
|
2401
3252
|
```typescript
|
|
2402
|
-
await client.business.menus.items.create({
|
|
2403
|
-
|
|
3253
|
+
await client.business.menus.items.variations.create({
|
|
3254
|
+
menuItem: "menuItem",
|
|
2404
3255
|
name: "name",
|
|
2405
|
-
price: 1.1
|
|
2406
|
-
menu_group_id: "menu_group_id"
|
|
3256
|
+
price: 1.1
|
|
2407
3257
|
});
|
|
2408
3258
|
|
|
2409
3259
|
```
|
|
@@ -2420,7 +3270,7 @@ await client.business.menus.items.create({
|
|
|
2420
3270
|
<dl>
|
|
2421
3271
|
<dd>
|
|
2422
3272
|
|
|
2423
|
-
**request:** `FiveOneEat.business.menus.
|
|
3273
|
+
**request:** `FiveOneEat.business.menus.items.StoreMenuItemVariationRequest`
|
|
2424
3274
|
|
|
2425
3275
|
</dd>
|
|
2426
3276
|
</dl>
|
|
@@ -2428,7 +3278,7 @@ await client.business.menus.items.create({
|
|
|
2428
3278
|
<dl>
|
|
2429
3279
|
<dd>
|
|
2430
3280
|
|
|
2431
|
-
**requestOptions:** `
|
|
3281
|
+
**requestOptions:** `VariationsClient.RequestOptions`
|
|
2432
3282
|
|
|
2433
3283
|
</dd>
|
|
2434
3284
|
</dl>
|
|
@@ -2440,7 +3290,7 @@ await client.business.menus.items.create({
|
|
|
2440
3290
|
</dl>
|
|
2441
3291
|
</details>
|
|
2442
3292
|
|
|
2443
|
-
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">
|
|
3293
|
+
<details><summary><code>client.business.menus.items.variations.<a href="/src/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateVariationsResponse</code></summary>
|
|
2444
3294
|
<dl>
|
|
2445
3295
|
<dd>
|
|
2446
3296
|
|
|
@@ -2453,9 +3303,10 @@ await client.business.menus.items.create({
|
|
|
2453
3303
|
<dd>
|
|
2454
3304
|
|
|
2455
3305
|
```typescript
|
|
2456
|
-
await client.business.menus.items.
|
|
2457
|
-
|
|
2458
|
-
|
|
3306
|
+
await client.business.menus.items.variations.update({
|
|
3307
|
+
variation: "variation",
|
|
3308
|
+
name: "name",
|
|
3309
|
+
price: 1.1
|
|
2459
3310
|
});
|
|
2460
3311
|
|
|
2461
3312
|
```
|
|
@@ -2472,7 +3323,7 @@ await client.business.menus.items.get({
|
|
|
2472
3323
|
<dl>
|
|
2473
3324
|
<dd>
|
|
2474
3325
|
|
|
2475
|
-
**request:** `FiveOneEat.business.menus.
|
|
3326
|
+
**request:** `FiveOneEat.business.menus.items.UpdateMenuItemVariationRequest`
|
|
2476
3327
|
|
|
2477
3328
|
</dd>
|
|
2478
3329
|
</dl>
|
|
@@ -2480,7 +3331,7 @@ await client.business.menus.items.get({
|
|
|
2480
3331
|
<dl>
|
|
2481
3332
|
<dd>
|
|
2482
3333
|
|
|
2483
|
-
**requestOptions:** `
|
|
3334
|
+
**requestOptions:** `VariationsClient.RequestOptions`
|
|
2484
3335
|
|
|
2485
3336
|
</dd>
|
|
2486
3337
|
</dl>
|
|
@@ -2492,7 +3343,7 @@ await client.business.menus.items.get({
|
|
|
2492
3343
|
</dl>
|
|
2493
3344
|
</details>
|
|
2494
3345
|
|
|
2495
|
-
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">
|
|
3346
|
+
<details><summary><code>client.business.menus.items.variations.<a href="/src/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteVariationsResponse</code></summary>
|
|
2496
3347
|
<dl>
|
|
2497
3348
|
<dd>
|
|
2498
3349
|
|
|
@@ -2505,11 +3356,8 @@ await client.business.menus.items.get({
|
|
|
2505
3356
|
<dd>
|
|
2506
3357
|
|
|
2507
3358
|
```typescript
|
|
2508
|
-
await client.business.menus.items.
|
|
2509
|
-
|
|
2510
|
-
item: "item",
|
|
2511
|
-
name: "name",
|
|
2512
|
-
price: 1.1
|
|
3359
|
+
await client.business.menus.items.variations.delete({
|
|
3360
|
+
variation: "variation"
|
|
2513
3361
|
});
|
|
2514
3362
|
|
|
2515
3363
|
```
|
|
@@ -2526,7 +3374,7 @@ await client.business.menus.items.update({
|
|
|
2526
3374
|
<dl>
|
|
2527
3375
|
<dd>
|
|
2528
3376
|
|
|
2529
|
-
**request:** `FiveOneEat.business.menus.
|
|
3377
|
+
**request:** `FiveOneEat.business.menus.items.DeleteVariationsRequest`
|
|
2530
3378
|
|
|
2531
3379
|
</dd>
|
|
2532
3380
|
</dl>
|
|
@@ -2534,7 +3382,7 @@ await client.business.menus.items.update({
|
|
|
2534
3382
|
<dl>
|
|
2535
3383
|
<dd>
|
|
2536
3384
|
|
|
2537
|
-
**requestOptions:** `
|
|
3385
|
+
**requestOptions:** `VariationsClient.RequestOptions`
|
|
2538
3386
|
|
|
2539
3387
|
</dd>
|
|
2540
3388
|
</dl>
|
|
@@ -2546,7 +3394,8 @@ await client.business.menus.items.update({
|
|
|
2546
3394
|
</dl>
|
|
2547
3395
|
</details>
|
|
2548
3396
|
|
|
2549
|
-
|
|
3397
|
+
## Business Menus Items Modifiers
|
|
3398
|
+
<details><summary><code>client.business.menus.items.modifiers.<a href="/src/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListModifiersResponse</code></summary>
|
|
2550
3399
|
<dl>
|
|
2551
3400
|
<dd>
|
|
2552
3401
|
|
|
@@ -2559,9 +3408,8 @@ await client.business.menus.items.update({
|
|
|
2559
3408
|
<dd>
|
|
2560
3409
|
|
|
2561
3410
|
```typescript
|
|
2562
|
-
await client.business.menus.items.
|
|
2563
|
-
|
|
2564
|
-
item: "item"
|
|
3411
|
+
await client.business.menus.items.modifiers.list({
|
|
3412
|
+
menuItem: "menuItem"
|
|
2565
3413
|
});
|
|
2566
3414
|
|
|
2567
3415
|
```
|
|
@@ -2578,7 +3426,7 @@ await client.business.menus.items.delete({
|
|
|
2578
3426
|
<dl>
|
|
2579
3427
|
<dd>
|
|
2580
3428
|
|
|
2581
|
-
**request:** `FiveOneEat.business.menus.
|
|
3429
|
+
**request:** `FiveOneEat.business.menus.items.ListModifiersRequest`
|
|
2582
3430
|
|
|
2583
3431
|
</dd>
|
|
2584
3432
|
</dl>
|
|
@@ -2586,7 +3434,7 @@ await client.business.menus.items.delete({
|
|
|
2586
3434
|
<dl>
|
|
2587
3435
|
<dd>
|
|
2588
3436
|
|
|
2589
|
-
**requestOptions:** `
|
|
3437
|
+
**requestOptions:** `ModifiersClient.RequestOptions`
|
|
2590
3438
|
|
|
2591
3439
|
</dd>
|
|
2592
3440
|
</dl>
|
|
@@ -2598,7 +3446,7 @@ await client.business.menus.items.delete({
|
|
|
2598
3446
|
</dl>
|
|
2599
3447
|
</details>
|
|
2600
3448
|
|
|
2601
|
-
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">
|
|
3449
|
+
<details><summary><code>client.business.menus.items.modifiers.<a href="/src/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.ts">attach</a>({ ...params }) -> FiveOneEat.AttachModifiersResponse</code></summary>
|
|
2602
3450
|
<dl>
|
|
2603
3451
|
<dd>
|
|
2604
3452
|
|
|
@@ -2610,7 +3458,7 @@ await client.business.menus.items.delete({
|
|
|
2610
3458
|
<dl>
|
|
2611
3459
|
<dd>
|
|
2612
3460
|
|
|
2613
|
-
|
|
3461
|
+
Creates the modifier if it does not already exist (matched by name), then attaches it to the item.
|
|
2614
3462
|
</dd>
|
|
2615
3463
|
</dl>
|
|
2616
3464
|
</dd>
|
|
@@ -2625,12 +3473,10 @@ Batch-update sort_order for items. Items not belonging to this group are silentl
|
|
|
2625
3473
|
<dd>
|
|
2626
3474
|
|
|
2627
3475
|
```typescript
|
|
2628
|
-
await client.business.menus.items.
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
sort_order: 1
|
|
2633
|
-
}]
|
|
3476
|
+
await client.business.menus.items.modifiers.attach({
|
|
3477
|
+
menuItem: "menuItem",
|
|
3478
|
+
name: "name",
|
|
3479
|
+
price: 1.1
|
|
2634
3480
|
});
|
|
2635
3481
|
|
|
2636
3482
|
```
|
|
@@ -2647,7 +3493,7 @@ await client.business.menus.items.reorder({
|
|
|
2647
3493
|
<dl>
|
|
2648
3494
|
<dd>
|
|
2649
3495
|
|
|
2650
|
-
**request:** `FiveOneEat.business.menus.
|
|
3496
|
+
**request:** `FiveOneEat.business.menus.items.StoreMenuItemModifierRequest`
|
|
2651
3497
|
|
|
2652
3498
|
</dd>
|
|
2653
3499
|
</dl>
|
|
@@ -2655,7 +3501,7 @@ await client.business.menus.items.reorder({
|
|
|
2655
3501
|
<dl>
|
|
2656
3502
|
<dd>
|
|
2657
3503
|
|
|
2658
|
-
**requestOptions:** `
|
|
3504
|
+
**requestOptions:** `ModifiersClient.RequestOptions`
|
|
2659
3505
|
|
|
2660
3506
|
</dd>
|
|
2661
3507
|
</dl>
|
|
@@ -2667,7 +3513,7 @@ await client.business.menus.items.reorder({
|
|
|
2667
3513
|
</dl>
|
|
2668
3514
|
</details>
|
|
2669
3515
|
|
|
2670
|
-
<details><summary><code>client.business.menus.items.<a href="/src/api/resources/business/resources/menus/resources/items/client/Client.ts">
|
|
3516
|
+
<details><summary><code>client.business.menus.items.modifiers.<a href="/src/api/resources/business/resources/menus/resources/items/resources/modifiers/client/Client.ts">detach</a>({ ...params }) -> FiveOneEat.DetachModifiersResponse</code></summary>
|
|
2671
3517
|
<dl>
|
|
2672
3518
|
<dd>
|
|
2673
3519
|
|
|
@@ -2679,7 +3525,7 @@ await client.business.menus.items.reorder({
|
|
|
2679
3525
|
<dl>
|
|
2680
3526
|
<dd>
|
|
2681
3527
|
|
|
2682
|
-
|
|
3528
|
+
Removes the association between the modifier and the item. The modifier itself is not deleted.
|
|
2683
3529
|
</dd>
|
|
2684
3530
|
</dl>
|
|
2685
3531
|
</dd>
|
|
@@ -2694,10 +3540,9 @@ Moves the item to the target group at the specified sort order, shifting existin
|
|
|
2694
3540
|
<dd>
|
|
2695
3541
|
|
|
2696
3542
|
```typescript
|
|
2697
|
-
await client.business.menus.items.
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
new_sort_order: 1
|
|
3543
|
+
await client.business.menus.items.modifiers.detach({
|
|
3544
|
+
menuItem: "menuItem",
|
|
3545
|
+
modifier: "modifier"
|
|
2701
3546
|
});
|
|
2702
3547
|
|
|
2703
3548
|
```
|
|
@@ -2714,7 +3559,7 @@ await client.business.menus.items.move({
|
|
|
2714
3559
|
<dl>
|
|
2715
3560
|
<dd>
|
|
2716
3561
|
|
|
2717
|
-
**request:** `FiveOneEat.business.menus.
|
|
3562
|
+
**request:** `FiveOneEat.business.menus.items.DetachModifiersRequest`
|
|
2718
3563
|
|
|
2719
3564
|
</dd>
|
|
2720
3565
|
</dl>
|
|
@@ -2722,7 +3567,7 @@ await client.business.menus.items.move({
|
|
|
2722
3567
|
<dl>
|
|
2723
3568
|
<dd>
|
|
2724
3569
|
|
|
2725
|
-
**requestOptions:** `
|
|
3570
|
+
**requestOptions:** `ModifiersClient.RequestOptions`
|
|
2726
3571
|
|
|
2727
3572
|
</dd>
|
|
2728
3573
|
</dl>
|
|
@@ -2734,61 +3579,25 @@ await client.business.menus.items.move({
|
|
|
2734
3579
|
</dl>
|
|
2735
3580
|
</details>
|
|
2736
3581
|
|
|
2737
|
-
## Business
|
|
2738
|
-
<details><summary><code>client.business.
|
|
2739
|
-
<dl>
|
|
2740
|
-
<dd>
|
|
2741
|
-
|
|
2742
|
-
#### 🔌 Usage
|
|
2743
|
-
|
|
2744
|
-
<dl>
|
|
2745
|
-
<dd>
|
|
2746
|
-
|
|
3582
|
+
## Business Messaging Conversations
|
|
3583
|
+
<details><summary><code>client.business.messaging.conversations.<a href="/src/api/resources/business/resources/messaging/resources/conversations/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListConversationsResponse</code></summary>
|
|
2747
3584
|
<dl>
|
|
2748
3585
|
<dd>
|
|
2749
3586
|
|
|
2750
|
-
|
|
2751
|
-
await client.business.menus.items.variations.list({
|
|
2752
|
-
menuItem: "menuItem"
|
|
2753
|
-
});
|
|
2754
|
-
|
|
2755
|
-
```
|
|
2756
|
-
</dd>
|
|
2757
|
-
</dl>
|
|
2758
|
-
</dd>
|
|
2759
|
-
</dl>
|
|
2760
|
-
|
|
2761
|
-
#### ⚙️ Parameters
|
|
2762
|
-
|
|
2763
|
-
<dl>
|
|
2764
|
-
<dd>
|
|
3587
|
+
#### 📝 Description
|
|
2765
3588
|
|
|
2766
3589
|
<dl>
|
|
2767
3590
|
<dd>
|
|
2768
3591
|
|
|
2769
|
-
**request:** `FiveOneEat.business.menus.items.ListVariationsRequest`
|
|
2770
|
-
|
|
2771
|
-
</dd>
|
|
2772
|
-
</dl>
|
|
2773
|
-
|
|
2774
3592
|
<dl>
|
|
2775
3593
|
<dd>
|
|
2776
3594
|
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
</dd>
|
|
2780
|
-
</dl>
|
|
3595
|
+
Retrieve a paginated list of all conversations for the authenticated business,
|
|
3596
|
+
ordered by the most recent message first.
|
|
2781
3597
|
</dd>
|
|
2782
3598
|
</dl>
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
3599
|
</dd>
|
|
2786
3600
|
</dl>
|
|
2787
|
-
</details>
|
|
2788
|
-
|
|
2789
|
-
<details><summary><code>client.business.menus.items.variations.<a href="/src/api/resources/business/resources/menus/resources/items/resources/variations/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateVariationsResponse</code></summary>
|
|
2790
|
-
<dl>
|
|
2791
|
-
<dd>
|
|
2792
3601
|
|
|
2793
3602
|
#### 🔌 Usage
|
|
2794
3603
|
|
|
@@ -2799,11 +3608,7 @@ await client.business.menus.items.variations.list({
|
|
|
2799
3608
|
<dd>
|
|
2800
3609
|
|
|
2801
3610
|
```typescript
|
|
2802
|
-
await client.business.
|
|
2803
|
-
menuItem: "menuItem",
|
|
2804
|
-
name: "name",
|
|
2805
|
-
price: 1.1
|
|
2806
|
-
});
|
|
3611
|
+
await client.business.messaging.conversations.list();
|
|
2807
3612
|
|
|
2808
3613
|
```
|
|
2809
3614
|
</dd>
|
|
@@ -2819,7 +3624,7 @@ await client.business.menus.items.variations.create({
|
|
|
2819
3624
|
<dl>
|
|
2820
3625
|
<dd>
|
|
2821
3626
|
|
|
2822
|
-
**request:** `FiveOneEat.business.
|
|
3627
|
+
**request:** `FiveOneEat.business.messaging.ListConversationsRequest`
|
|
2823
3628
|
|
|
2824
3629
|
</dd>
|
|
2825
3630
|
</dl>
|
|
@@ -2827,7 +3632,7 @@ await client.business.menus.items.variations.create({
|
|
|
2827
3632
|
<dl>
|
|
2828
3633
|
<dd>
|
|
2829
3634
|
|
|
2830
|
-
**requestOptions:** `
|
|
3635
|
+
**requestOptions:** `ConversationsClient.RequestOptions`
|
|
2831
3636
|
|
|
2832
3637
|
</dd>
|
|
2833
3638
|
</dl>
|
|
@@ -2839,10 +3644,25 @@ await client.business.menus.items.variations.create({
|
|
|
2839
3644
|
</dl>
|
|
2840
3645
|
</details>
|
|
2841
3646
|
|
|
2842
|
-
<details><summary><code>client.business.
|
|
3647
|
+
<details><summary><code>client.business.messaging.conversations.<a href="/src/api/resources/business/resources/messaging/resources/conversations/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetConversationsResponse</code></summary>
|
|
3648
|
+
<dl>
|
|
3649
|
+
<dd>
|
|
3650
|
+
|
|
3651
|
+
#### 📝 Description
|
|
3652
|
+
|
|
3653
|
+
<dl>
|
|
3654
|
+
<dd>
|
|
3655
|
+
|
|
2843
3656
|
<dl>
|
|
2844
3657
|
<dd>
|
|
2845
3658
|
|
|
3659
|
+
Retrieve details of a specific conversation including the customer information
|
|
3660
|
+
and the latest message.
|
|
3661
|
+
</dd>
|
|
3662
|
+
</dl>
|
|
3663
|
+
</dd>
|
|
3664
|
+
</dl>
|
|
3665
|
+
|
|
2846
3666
|
#### 🔌 Usage
|
|
2847
3667
|
|
|
2848
3668
|
<dl>
|
|
@@ -2852,10 +3672,8 @@ await client.business.menus.items.variations.create({
|
|
|
2852
3672
|
<dd>
|
|
2853
3673
|
|
|
2854
3674
|
```typescript
|
|
2855
|
-
await client.business.
|
|
2856
|
-
|
|
2857
|
-
name: "name",
|
|
2858
|
-
price: 1.1
|
|
3675
|
+
await client.business.messaging.conversations.get({
|
|
3676
|
+
conversation: "550e8400-e29b-41d4-a716-446655440000"
|
|
2859
3677
|
});
|
|
2860
3678
|
|
|
2861
3679
|
```
|
|
@@ -2872,7 +3690,7 @@ await client.business.menus.items.variations.update({
|
|
|
2872
3690
|
<dl>
|
|
2873
3691
|
<dd>
|
|
2874
3692
|
|
|
2875
|
-
**request:** `FiveOneEat.business.
|
|
3693
|
+
**request:** `FiveOneEat.business.messaging.GetConversationsRequest`
|
|
2876
3694
|
|
|
2877
3695
|
</dd>
|
|
2878
3696
|
</dl>
|
|
@@ -2880,7 +3698,7 @@ await client.business.menus.items.variations.update({
|
|
|
2880
3698
|
<dl>
|
|
2881
3699
|
<dd>
|
|
2882
3700
|
|
|
2883
|
-
**requestOptions:** `
|
|
3701
|
+
**requestOptions:** `ConversationsClient.RequestOptions`
|
|
2884
3702
|
|
|
2885
3703
|
</dd>
|
|
2886
3704
|
</dl>
|
|
@@ -2892,10 +3710,26 @@ await client.business.menus.items.variations.update({
|
|
|
2892
3710
|
</dl>
|
|
2893
3711
|
</details>
|
|
2894
3712
|
|
|
2895
|
-
|
|
3713
|
+
## Business Messaging Messages
|
|
3714
|
+
<details><summary><code>client.business.messaging.messages.<a href="/src/api/resources/business/resources/messaging/resources/messages/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListMessagesResponse</code></summary>
|
|
3715
|
+
<dl>
|
|
3716
|
+
<dd>
|
|
3717
|
+
|
|
3718
|
+
#### 📝 Description
|
|
3719
|
+
|
|
2896
3720
|
<dl>
|
|
2897
3721
|
<dd>
|
|
2898
3722
|
|
|
3723
|
+
<dl>
|
|
3724
|
+
<dd>
|
|
3725
|
+
|
|
3726
|
+
Retrieve a paginated list of all messages in a specific conversation,
|
|
3727
|
+
ordered by creation time (oldest first).
|
|
3728
|
+
</dd>
|
|
3729
|
+
</dl>
|
|
3730
|
+
</dd>
|
|
3731
|
+
</dl>
|
|
3732
|
+
|
|
2899
3733
|
#### 🔌 Usage
|
|
2900
3734
|
|
|
2901
3735
|
<dl>
|
|
@@ -2905,8 +3739,8 @@ await client.business.menus.items.variations.update({
|
|
|
2905
3739
|
<dd>
|
|
2906
3740
|
|
|
2907
3741
|
```typescript
|
|
2908
|
-
await client.business.
|
|
2909
|
-
|
|
3742
|
+
await client.business.messaging.messages.list({
|
|
3743
|
+
conversation: "550e8400-e29b-41d4-a716-446655440000"
|
|
2910
3744
|
});
|
|
2911
3745
|
|
|
2912
3746
|
```
|
|
@@ -2923,7 +3757,7 @@ await client.business.menus.items.variations.delete({
|
|
|
2923
3757
|
<dl>
|
|
2924
3758
|
<dd>
|
|
2925
3759
|
|
|
2926
|
-
**request:** `FiveOneEat.business.
|
|
3760
|
+
**request:** `FiveOneEat.business.messaging.ListMessagesRequest`
|
|
2927
3761
|
|
|
2928
3762
|
</dd>
|
|
2929
3763
|
</dl>
|
|
@@ -2931,7 +3765,7 @@ await client.business.menus.items.variations.delete({
|
|
|
2931
3765
|
<dl>
|
|
2932
3766
|
<dd>
|
|
2933
3767
|
|
|
2934
|
-
**requestOptions:** `
|
|
3768
|
+
**requestOptions:** `MessagesClient.RequestOptions`
|
|
2935
3769
|
|
|
2936
3770
|
</dd>
|
|
2937
3771
|
</dl>
|
|
@@ -2943,11 +3777,24 @@ await client.business.menus.items.variations.delete({
|
|
|
2943
3777
|
</dl>
|
|
2944
3778
|
</details>
|
|
2945
3779
|
|
|
2946
|
-
|
|
2947
|
-
<
|
|
3780
|
+
<details><summary><code>client.business.messaging.messages.<a href="/src/api/resources/business/resources/messaging/resources/messages/client/Client.ts">send</a>({ ...params }) -> FiveOneEat.SendMessagesResponse</code></summary>
|
|
3781
|
+
<dl>
|
|
3782
|
+
<dd>
|
|
3783
|
+
|
|
3784
|
+
#### 📝 Description
|
|
3785
|
+
|
|
3786
|
+
<dl>
|
|
3787
|
+
<dd>
|
|
3788
|
+
|
|
2948
3789
|
<dl>
|
|
2949
3790
|
<dd>
|
|
2950
3791
|
|
|
3792
|
+
Send a new message to a specific conversation as the business.
|
|
3793
|
+
</dd>
|
|
3794
|
+
</dl>
|
|
3795
|
+
</dd>
|
|
3796
|
+
</dl>
|
|
3797
|
+
|
|
2951
3798
|
#### 🔌 Usage
|
|
2952
3799
|
|
|
2953
3800
|
<dl>
|
|
@@ -2957,8 +3804,9 @@ await client.business.menus.items.variations.delete({
|
|
|
2957
3804
|
<dd>
|
|
2958
3805
|
|
|
2959
3806
|
```typescript
|
|
2960
|
-
await client.business.
|
|
2961
|
-
|
|
3807
|
+
await client.business.messaging.messages.send({
|
|
3808
|
+
conversation: "550e8400-e29b-41d4-a716-446655440000",
|
|
3809
|
+
content: "content"
|
|
2962
3810
|
});
|
|
2963
3811
|
|
|
2964
3812
|
```
|
|
@@ -2975,7 +3823,7 @@ await client.business.menus.items.modifiers.list({
|
|
|
2975
3823
|
<dl>
|
|
2976
3824
|
<dd>
|
|
2977
3825
|
|
|
2978
|
-
**request:** `FiveOneEat.business.
|
|
3826
|
+
**request:** `FiveOneEat.business.messaging.StoreMessageRequest`
|
|
2979
3827
|
|
|
2980
3828
|
</dd>
|
|
2981
3829
|
</dl>
|
|
@@ -2983,7 +3831,7 @@ await client.business.menus.items.modifiers.list({
|
|
|
2983
3831
|
<dl>
|
|
2984
3832
|
<dd>
|
|
2985
3833
|
|
|
2986
|
-
**requestOptions:** `
|
|
3834
|
+
**requestOptions:** `MessagesClient.RequestOptions`
|
|
2987
3835
|
|
|
2988
3836
|
</dd>
|
|
2989
3837
|
</dl>
|
|
@@ -2995,7 +3843,7 @@ await client.business.menus.items.modifiers.list({
|
|
|
2995
3843
|
</dl>
|
|
2996
3844
|
</details>
|
|
2997
3845
|
|
|
2998
|
-
<details><summary><code>client.business.
|
|
3846
|
+
<details><summary><code>client.business.messaging.messages.<a href="/src/api/resources/business/resources/messaging/resources/messages/client/Client.ts">markAsRead</a>({ ...params }) -> number</code></summary>
|
|
2999
3847
|
<dl>
|
|
3000
3848
|
<dd>
|
|
3001
3849
|
|
|
@@ -3007,7 +3855,7 @@ await client.business.menus.items.modifiers.list({
|
|
|
3007
3855
|
<dl>
|
|
3008
3856
|
<dd>
|
|
3009
3857
|
|
|
3010
|
-
|
|
3858
|
+
Mark all messages from the customer as read by the business user.
|
|
3011
3859
|
</dd>
|
|
3012
3860
|
</dl>
|
|
3013
3861
|
</dd>
|
|
@@ -3022,10 +3870,8 @@ Creates the modifier if it does not already exist (matched by name), then attach
|
|
|
3022
3870
|
<dd>
|
|
3023
3871
|
|
|
3024
3872
|
```typescript
|
|
3025
|
-
await client.business.
|
|
3026
|
-
|
|
3027
|
-
name: "name",
|
|
3028
|
-
price: 1.1
|
|
3873
|
+
await client.business.messaging.messages.markAsRead({
|
|
3874
|
+
conversation: "550e8400-e29b-41d4-a716-446655440000"
|
|
3029
3875
|
});
|
|
3030
3876
|
|
|
3031
3877
|
```
|
|
@@ -3042,7 +3888,7 @@ await client.business.menus.items.modifiers.attach({
|
|
|
3042
3888
|
<dl>
|
|
3043
3889
|
<dd>
|
|
3044
3890
|
|
|
3045
|
-
**request:** `FiveOneEat.business.
|
|
3891
|
+
**request:** `FiveOneEat.business.messaging.MarkAsReadMessagesRequest`
|
|
3046
3892
|
|
|
3047
3893
|
</dd>
|
|
3048
3894
|
</dl>
|
|
@@ -3050,7 +3896,7 @@ await client.business.menus.items.modifiers.attach({
|
|
|
3050
3896
|
<dl>
|
|
3051
3897
|
<dd>
|
|
3052
3898
|
|
|
3053
|
-
**requestOptions:** `
|
|
3899
|
+
**requestOptions:** `MessagesClient.RequestOptions`
|
|
3054
3900
|
|
|
3055
3901
|
</dd>
|
|
3056
3902
|
</dl>
|
|
@@ -3062,7 +3908,7 @@ await client.business.menus.items.modifiers.attach({
|
|
|
3062
3908
|
</dl>
|
|
3063
3909
|
</details>
|
|
3064
3910
|
|
|
3065
|
-
<details><summary><code>client.business.
|
|
3911
|
+
<details><summary><code>client.business.messaging.messages.<a href="/src/api/resources/business/resources/messaging/resources/messages/client/Client.ts">unreadCount</a>({ ...params }) -> number</code></summary>
|
|
3066
3912
|
<dl>
|
|
3067
3913
|
<dd>
|
|
3068
3914
|
|
|
@@ -3074,7 +3920,7 @@ await client.business.menus.items.modifiers.attach({
|
|
|
3074
3920
|
<dl>
|
|
3075
3921
|
<dd>
|
|
3076
3922
|
|
|
3077
|
-
|
|
3923
|
+
Get the count of unread messages from the customer in a specific conversation.
|
|
3078
3924
|
</dd>
|
|
3079
3925
|
</dl>
|
|
3080
3926
|
</dd>
|
|
@@ -3089,9 +3935,8 @@ Removes the association between the modifier and the item. The modifier itself i
|
|
|
3089
3935
|
<dd>
|
|
3090
3936
|
|
|
3091
3937
|
```typescript
|
|
3092
|
-
await client.business.
|
|
3093
|
-
|
|
3094
|
-
modifier: "modifier"
|
|
3938
|
+
await client.business.messaging.messages.unreadCount({
|
|
3939
|
+
conversation: "550e8400-e29b-41d4-a716-446655440000"
|
|
3095
3940
|
});
|
|
3096
3941
|
|
|
3097
3942
|
```
|
|
@@ -3108,7 +3953,7 @@ await client.business.menus.items.modifiers.detach({
|
|
|
3108
3953
|
<dl>
|
|
3109
3954
|
<dd>
|
|
3110
3955
|
|
|
3111
|
-
**request:** `FiveOneEat.business.
|
|
3956
|
+
**request:** `FiveOneEat.business.messaging.UnreadCountMessagesRequest`
|
|
3112
3957
|
|
|
3113
3958
|
</dd>
|
|
3114
3959
|
</dl>
|
|
@@ -3116,7 +3961,7 @@ await client.business.menus.items.modifiers.detach({
|
|
|
3116
3961
|
<dl>
|
|
3117
3962
|
<dd>
|
|
3118
3963
|
|
|
3119
|
-
**requestOptions:** `
|
|
3964
|
+
**requestOptions:** `MessagesClient.RequestOptions`
|
|
3120
3965
|
|
|
3121
3966
|
</dd>
|
|
3122
3967
|
</dl>
|
|
@@ -4747,7 +5592,7 @@ await client.customer.pushNotifications.register({
|
|
|
4747
5592
|
<dl>
|
|
4748
5593
|
<dd>
|
|
4749
5594
|
|
|
4750
|
-
**request:** `FiveOneEat.customer.
|
|
5595
|
+
**request:** `FiveOneEat.customer.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest`
|
|
4751
5596
|
|
|
4752
5597
|
</dd>
|
|
4753
5598
|
</dl>
|