@51eat/sdk 0.0.43 → 0.0.45
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 +9 -11
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +0 -6
- package/dist/cjs/Client.js +8 -18
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +1 -0
- package/dist/cjs/api/resources/customer/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/customer/client/Client.js +4 -4
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +41 -13
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +146 -46
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/FavoriteBusinessesRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.ts +6 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.ts +6 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ProfileBusinessesRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/UnfavoriteBusinessesRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/businesses/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/Client.d.ts +8 -3
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/Client.js +34 -9
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.ts +6 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.ts +43 -17
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.js +152 -42
- package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.ts +8 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.ts +10 -3
- package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/CreateCommentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListCommentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListRepliesCommentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/{customerShop → customer/resources/businesses/resources/bulletins/resources/comments/types}/index.js +4 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/{customerBusinesses/client → customer/resources/businesses/resources/bulletins/types}/index.js +1 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.d.ts +33 -12
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.js +116 -34
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/CancelRsvpEventsRequest.d.ts +4 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/GetEventsRequest.d.ts +3 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.ts +6 -1
- package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/GetEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/ListEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/RsvpEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/{customerShop/client → customer/resources/businesses/resources/events/types}/index.js +3 -1
- package/dist/cjs/api/resources/customer/resources/businesses/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/FavoriteBusinessesResponse.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/MenusBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/PhotosBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/ProfileBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/{customerShop/exports.js → customer/resources/businesses/types/index.js} +5 -5
- package/dist/cjs/api/resources/customer/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.d.ts +13 -7
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.js +63 -23
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +3 -1
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +2 -1
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +6 -1
- package/dist/cjs/api/resources/customer/resources/shop/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/shop/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/{customerShop → customer/resources/shop}/types/index.js +3 -3
- package/dist/cjs/api/resources/index.d.ts +0 -6
- package/dist/cjs/api/resources/index.js +1 -7
- 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 +0 -6
- package/dist/esm/Client.mjs +0 -10
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +1 -0
- package/dist/esm/api/resources/customer/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/customer/client/Client.mjs +4 -4
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +41 -13
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +146 -46
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/FavoriteBusinessesRequest.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.mts +6 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.mts +6 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/ProfileBusinessesRequest.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/UnfavoriteBusinessesRequest.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/businesses/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/Client.d.mts +8 -3
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/Client.mjs +34 -9
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.mts +6 -1
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.d.mts +43 -17
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.mjs +152 -42
- package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.mts +8 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.mts +10 -3
- package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/CreateCommentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListCommentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ListRepliesCommentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/types/index.mjs +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.d.mts +33 -12
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.mjs +116 -34
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/CancelRsvpEventsRequest.d.mts +4 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/GetEventsRequest.d.mts +3 -1
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.mts +6 -1
- package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/GetEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/ListEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/RsvpEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/types/index.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/FavoriteBusinessesResponse.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/MenusBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/PhotosBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/ProfileBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/index.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/index.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/client/Client.d.mts +13 -7
- package/dist/esm/api/resources/customer/resources/shop/client/Client.mjs +63 -23
- package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +3 -1
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +2 -1
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +6 -1
- package/dist/esm/api/resources/customer/resources/shop/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/shop/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/shop/types/index.mjs +3 -0
- package/dist/esm/api/resources/index.d.mts +0 -6
- package/dist/esm/api/resources/index.mjs +0 -6
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +12 -34
- package/reference.md +693 -1623
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/CreateCommentsRequest.d.ts +0 -11
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ReplyCommentsRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/RsvpEventsRequest.d.ts +0 -11
- package/dist/cjs/api/resources/customerBusinesses/client/Client.d.ts +0 -267
- package/dist/cjs/api/resources/customerBusinesses/client/Client.js +0 -982
- package/dist/cjs/api/resources/customerBusinesses/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/customerBusinesses/client/requests/BusinessesEventShowRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customerBusinesses/client/requests/DestroyEventRsvpRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customerBusinesses/client/requests/FavoritesBusinessRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.d.ts +0 -20
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBulletinCommentsRequest.d.ts +0 -17
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessBulletinsRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessEventsRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessMenusRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessPhotosRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerBusinesses/client/requests/ProfileShowRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerBusinesses/client/requests/UnfavoritesBusinessRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerBusinesses/client/requests/index.d.ts +0 -15
- package/dist/cjs/api/resources/customerBusinesses/client/requests/index.js +0 -5
- package/dist/cjs/api/resources/customerBusinesses/exports.d.ts +0 -2
- package/dist/cjs/api/resources/customerBusinesses/exports.js +0 -21
- package/dist/cjs/api/resources/customerBusinesses/index.d.ts +0 -2
- package/dist/cjs/api/resources/customerBusinesses/index.js +0 -18
- package/dist/cjs/api/resources/customerBusinesses/types/BusinessesEventShowResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/FavoritesBusinessResponse.d.ts +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/FavoritesBusinessResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessEventsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessEventsResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessMenusResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessMenusResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/ProfileShowResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/ProfileShowResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/StoreEventRsvpResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerBusinesses/types/StoreEventRsvpResponse.js +0 -3
- package/dist/cjs/api/resources/customerBusinesses/types/index.d.ts +0 -13
- package/dist/cjs/api/resources/customerBusinesses/types/index.js +0 -29
- package/dist/cjs/api/resources/customerShop/client/Client.d.ts +0 -53
- package/dist/cjs/api/resources/customerShop/client/Client.js +0 -219
- package/dist/cjs/api/resources/customerShop/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/customerShop/client/requests/GetShopProductRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customerShop/client/requests/GetShopProductRequest.js +0 -3
- package/dist/cjs/api/resources/customerShop/client/requests/ListShopCategoriesRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customerShop/client/requests/ListShopCategoriesRequest.js +0 -3
- package/dist/cjs/api/resources/customerShop/client/requests/ListShopProductsRequest.d.ts +0 -14
- package/dist/cjs/api/resources/customerShop/client/requests/ListShopProductsRequest.js +0 -3
- package/dist/cjs/api/resources/customerShop/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/customerShop/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/customerShop/exports.d.ts +0 -2
- package/dist/cjs/api/resources/customerShop/index.d.ts +0 -2
- package/dist/cjs/api/resources/customerShop/types/GetShopProductResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerShop/types/GetShopProductResponse.js +0 -3
- package/dist/cjs/api/resources/customerShop/types/ListShopCategoriesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerShop/types/ListShopCategoriesResponse.js +0 -3
- package/dist/cjs/api/resources/customerShop/types/ListShopProductsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customerShop/types/ListShopProductsResponse.js +0 -3
- package/dist/cjs/api/resources/customerShop/types/index.d.ts +0 -3
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/CreateCommentsRequest.d.mts +0 -11
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ReplyCommentsRequest.d.mts +0 -13
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/RsvpEventsRequest.d.mts +0 -11
- package/dist/esm/api/resources/customerBusinesses/client/Client.d.mts +0 -267
- package/dist/esm/api/resources/customerBusinesses/client/Client.mjs +0 -945
- package/dist/esm/api/resources/customerBusinesses/client/index.d.mts +0 -1
- package/dist/esm/api/resources/customerBusinesses/client/index.mjs +0 -1
- package/dist/esm/api/resources/customerBusinesses/client/requests/BusinessesEventShowRequest.d.mts +0 -13
- package/dist/esm/api/resources/customerBusinesses/client/requests/DestroyEventRsvpRequest.d.mts +0 -13
- package/dist/esm/api/resources/customerBusinesses/client/requests/FavoritesBusinessRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.d.mts +0 -20
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBulletinCommentsRequest.d.mts +0 -17
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessBulletinsRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessEventsRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessMenusRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessPhotosRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerBusinesses/client/requests/ProfileShowRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerBusinesses/client/requests/UnfavoritesBusinessRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerBusinesses/client/requests/index.d.mts +0 -15
- package/dist/esm/api/resources/customerBusinesses/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/customerBusinesses/exports.d.mts +0 -2
- package/dist/esm/api/resources/customerBusinesses/exports.mjs +0 -3
- package/dist/esm/api/resources/customerBusinesses/index.d.mts +0 -2
- package/dist/esm/api/resources/customerBusinesses/index.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/BusinessesEventShowResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/CreateBulletinCommentResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/FavoritesBusinessResponse.d.mts +0 -3
- package/dist/esm/api/resources/customerBusinesses/types/FavoritesBusinessResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentRepliesResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBulletinCommentsResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessBulletinsResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessEventsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessEventsResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessMenusResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessMenusResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessPhotosResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/GetBusinessTemporaryLocationsResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/ProfileShowResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/ProfileShowResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/ReplyToBulletinCommentResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/StoreEventRsvpResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerBusinesses/types/StoreEventRsvpResponse.mjs +0 -2
- package/dist/esm/api/resources/customerBusinesses/types/index.d.mts +0 -13
- package/dist/esm/api/resources/customerBusinesses/types/index.mjs +0 -13
- package/dist/esm/api/resources/customerShop/client/Client.d.mts +0 -53
- package/dist/esm/api/resources/customerShop/client/Client.mjs +0 -182
- package/dist/esm/api/resources/customerShop/client/index.d.mts +0 -1
- package/dist/esm/api/resources/customerShop/client/index.mjs +0 -1
- package/dist/esm/api/resources/customerShop/client/requests/GetShopProductRequest.d.mts +0 -13
- package/dist/esm/api/resources/customerShop/client/requests/GetShopProductRequest.mjs +0 -2
- package/dist/esm/api/resources/customerShop/client/requests/ListShopCategoriesRequest.d.mts +0 -10
- package/dist/esm/api/resources/customerShop/client/requests/ListShopCategoriesRequest.mjs +0 -2
- package/dist/esm/api/resources/customerShop/client/requests/ListShopProductsRequest.d.mts +0 -14
- package/dist/esm/api/resources/customerShop/client/requests/ListShopProductsRequest.mjs +0 -2
- package/dist/esm/api/resources/customerShop/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/customerShop/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/customerShop/exports.d.mts +0 -2
- package/dist/esm/api/resources/customerShop/exports.mjs +0 -3
- package/dist/esm/api/resources/customerShop/index.d.mts +0 -2
- package/dist/esm/api/resources/customerShop/index.mjs +0 -2
- package/dist/esm/api/resources/customerShop/types/GetShopProductResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerShop/types/GetShopProductResponse.mjs +0 -2
- package/dist/esm/api/resources/customerShop/types/ListShopCategoriesResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerShop/types/ListShopCategoriesResponse.mjs +0 -2
- package/dist/esm/api/resources/customerShop/types/ListShopProductsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customerShop/types/ListShopProductsResponse.mjs +0 -2
- package/dist/esm/api/resources/customerShop/types/index.d.mts +0 -3
- package/dist/esm/api/resources/customerShop/types/index.mjs +0 -3
- /package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.js +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.js +0 -0
- /package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/CreateCommentsRequest.js → types/CreateCommentsResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/ReplyCommentsRequest.js → types/ListCommentsResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/businesses/resources/{events/client/requests/RsvpEventsRequest.js → bulletins/resources/comments/types/ListRepliesCommentsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/BusinessesEventShowRequest.js → customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/DestroyEventRsvpRequest.js → customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.js +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/FavoritesBusinessRequest.js → customer/resources/businesses/resources/events/types/GetEventsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.js → customer/resources/businesses/resources/events/types/ListEventsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBulletinCommentsRequest.js → customer/resources/businesses/resources/events/types/RsvpEventsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessBulletinsRequest.js → customer/resources/businesses/types/FavoriteBusinessesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessEventsRequest.js → customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessMenusRequest.js → customer/resources/businesses/types/MenusBusinessesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessPhotosRequest.js → customer/resources/businesses/types/PhotosBusinessesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.js → customer/resources/businesses/types/ProfileBusinessesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/ProfileShowRequest.js → customer/resources/shop/types/GetProductShopResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/client/requests/UnfavoritesBusinessRequest.js → customer/resources/shop/types/ListCategoriesShopResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customerBusinesses/types/BusinessesEventShowResponse.js → customer/resources/shop/types/ListProductsShopResponse.js} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest.mjs +0 -0
- /package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/bulletins/resources/comments}/client/requests/StoreBulletinCommentReplyRequest.mjs +0 -0
- /package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/CreateCommentsRequest.mjs → types/CreateCommentsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/{client/requests/ReplyCommentsRequest.mjs → types/ListCommentsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/businesses/resources/{events/client/requests/RsvpEventsRequest.mjs → bulletins/resources/comments/types/ListRepliesCommentsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/BusinessesEventShowRequest.mjs → customer/resources/businesses/resources/bulletins/resources/comments/types/ReplyCommentsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/DestroyEventRsvpRequest.mjs → customer/resources/businesses/resources/bulletins/types/ListBulletinsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses → customer/resources/businesses/resources/events}/client/requests/StoreEventRsvpRequest.mjs +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/FavoritesBusinessRequest.mjs → customer/resources/businesses/resources/events/types/GetEventsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBulletinCommentRepliesRequest.mjs → customer/resources/businesses/resources/events/types/ListEventsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBulletinCommentsRequest.mjs → customer/resources/businesses/resources/events/types/RsvpEventsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessBulletinsRequest.mjs → customer/resources/businesses/types/FavoriteBusinessesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessEventsRequest.mjs → customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessMenusRequest.mjs → customer/resources/businesses/types/MenusBusinessesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessPhotosRequest.mjs → customer/resources/businesses/types/PhotosBusinessesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/GetBusinessTemporaryLocationsRequest.mjs → customer/resources/businesses/types/ProfileBusinessesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/ProfileShowRequest.mjs → customer/resources/shop/types/GetProductShopResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/client/requests/UnfavoritesBusinessRequest.mjs → customer/resources/shop/types/ListCategoriesShopResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customerBusinesses/types/BusinessesEventShowResponse.mjs → customer/resources/shop/types/ListProductsShopResponse.mjs} +0 -0
package/reference.md
CHANGED
|
@@ -51,25 +51,11 @@ await client.businessMessaging.searchBusinessConversations({
|
|
|
51
51
|
</dl>
|
|
52
52
|
</details>
|
|
53
53
|
|
|
54
|
-
## Customer:
|
|
55
|
-
<details><summary><code>client.
|
|
56
|
-
<dl>
|
|
57
|
-
<dd>
|
|
58
|
-
|
|
59
|
-
#### 📝 Description
|
|
60
|
-
|
|
61
|
-
<dl>
|
|
62
|
-
<dd>
|
|
63
|
-
|
|
54
|
+
## Customer: Messaging
|
|
55
|
+
<details><summary><code>client.customerMessaging.<a href="/src/api/resources/customerMessaging/client/Client.ts">searchCustomerConversations</a>({ ...params }) -> FiveOneEat.SearchCustomerConversationsResponse</code></summary>
|
|
64
56
|
<dl>
|
|
65
57
|
<dd>
|
|
66
58
|
|
|
67
|
-
Retrieve core business information for the profile page.
|
|
68
|
-
</dd>
|
|
69
|
-
</dl>
|
|
70
|
-
</dd>
|
|
71
|
-
</dl>
|
|
72
|
-
|
|
73
59
|
#### 🔌 Usage
|
|
74
60
|
|
|
75
61
|
<dl>
|
|
@@ -79,8 +65,8 @@ Retrieve core business information for the profile page.
|
|
|
79
65
|
<dd>
|
|
80
66
|
|
|
81
67
|
```typescript
|
|
82
|
-
await client.
|
|
83
|
-
|
|
68
|
+
await client.customerMessaging.searchCustomerConversations({
|
|
69
|
+
q: "pizza"
|
|
84
70
|
});
|
|
85
71
|
|
|
86
72
|
```
|
|
@@ -97,7 +83,7 @@ await client.customerBusinesses.profileShow({
|
|
|
97
83
|
<dl>
|
|
98
84
|
<dd>
|
|
99
85
|
|
|
100
|
-
**request:** `FiveOneEat.
|
|
86
|
+
**request:** `FiveOneEat.SearchCustomerConversationsRequest`
|
|
101
87
|
|
|
102
88
|
</dd>
|
|
103
89
|
</dl>
|
|
@@ -105,7 +91,7 @@ await client.customerBusinesses.profileShow({
|
|
|
105
91
|
<dl>
|
|
106
92
|
<dd>
|
|
107
93
|
|
|
108
|
-
**requestOptions:** `
|
|
94
|
+
**requestOptions:** `CustomerMessagingClient.RequestOptions`
|
|
109
95
|
|
|
110
96
|
</dd>
|
|
111
97
|
</dl>
|
|
@@ -117,7 +103,8 @@ await client.customerBusinesses.profileShow({
|
|
|
117
103
|
</dl>
|
|
118
104
|
</details>
|
|
119
105
|
|
|
120
|
-
|
|
106
|
+
## Customer: My Account
|
|
107
|
+
<details><summary><code>client.customerMyAccount.<a href="/src/api/resources/customerMyAccount/client/Client.ts">getMyTicket</a>({ ...params }) -> FiveOneEat.GetMyTicketResponse</code></summary>
|
|
121
108
|
<dl>
|
|
122
109
|
<dd>
|
|
123
110
|
|
|
@@ -129,7 +116,7 @@ await client.customerBusinesses.profileShow({
|
|
|
129
116
|
<dl>
|
|
130
117
|
<dd>
|
|
131
118
|
|
|
132
|
-
Retrieve
|
|
119
|
+
Retrieve a single ticket belonging to the authenticated user.
|
|
133
120
|
</dd>
|
|
134
121
|
</dl>
|
|
135
122
|
</dd>
|
|
@@ -144,8 +131,8 @@ Retrieve all menus organized by groups for the business.
|
|
|
144
131
|
<dd>
|
|
145
132
|
|
|
146
133
|
```typescript
|
|
147
|
-
await client.
|
|
148
|
-
|
|
134
|
+
await client.customerMyAccount.getMyTicket({
|
|
135
|
+
ticketId: "ticketId"
|
|
149
136
|
});
|
|
150
137
|
|
|
151
138
|
```
|
|
@@ -162,7 +149,7 @@ await client.customerBusinesses.getBusinessMenus({
|
|
|
162
149
|
<dl>
|
|
163
150
|
<dd>
|
|
164
151
|
|
|
165
|
-
**request:** `FiveOneEat.
|
|
152
|
+
**request:** `FiveOneEat.GetMyTicketRequest`
|
|
166
153
|
|
|
167
154
|
</dd>
|
|
168
155
|
</dl>
|
|
@@ -170,7 +157,7 @@ await client.customerBusinesses.getBusinessMenus({
|
|
|
170
157
|
<dl>
|
|
171
158
|
<dd>
|
|
172
159
|
|
|
173
|
-
**requestOptions:** `
|
|
160
|
+
**requestOptions:** `CustomerMyAccountClient.RequestOptions`
|
|
174
161
|
|
|
175
162
|
</dd>
|
|
176
163
|
</dl>
|
|
@@ -182,7 +169,7 @@ await client.customerBusinesses.getBusinessMenus({
|
|
|
182
169
|
</dl>
|
|
183
170
|
</details>
|
|
184
171
|
|
|
185
|
-
<details><summary><code>client.
|
|
172
|
+
<details><summary><code>client.customerMyAccount.<a href="/src/api/resources/customerMyAccount/client/Client.ts">getMyTicketOrder</a>({ ...params }) -> FiveOneEat.GetMyTicketOrderResponse</code></summary>
|
|
186
173
|
<dl>
|
|
187
174
|
<dd>
|
|
188
175
|
|
|
@@ -194,7 +181,7 @@ await client.customerBusinesses.getBusinessMenus({
|
|
|
194
181
|
<dl>
|
|
195
182
|
<dd>
|
|
196
183
|
|
|
197
|
-
Retrieve
|
|
184
|
+
Retrieve a single ticket order belonging to the authenticated user.
|
|
198
185
|
</dd>
|
|
199
186
|
</dl>
|
|
200
187
|
</dd>
|
|
@@ -209,8 +196,8 @@ Retrieve photo gallery for the business with pagination.
|
|
|
209
196
|
<dd>
|
|
210
197
|
|
|
211
198
|
```typescript
|
|
212
|
-
await client.
|
|
213
|
-
|
|
199
|
+
await client.customerMyAccount.getMyTicketOrder({
|
|
200
|
+
orderId: "orderId"
|
|
214
201
|
});
|
|
215
202
|
|
|
216
203
|
```
|
|
@@ -227,7 +214,7 @@ await client.customerBusinesses.getBusinessPhotos({
|
|
|
227
214
|
<dl>
|
|
228
215
|
<dd>
|
|
229
216
|
|
|
230
|
-
**request:** `FiveOneEat.
|
|
217
|
+
**request:** `FiveOneEat.GetMyTicketOrderRequest`
|
|
231
218
|
|
|
232
219
|
</dd>
|
|
233
220
|
</dl>
|
|
@@ -235,7 +222,7 @@ await client.customerBusinesses.getBusinessPhotos({
|
|
|
235
222
|
<dl>
|
|
236
223
|
<dd>
|
|
237
224
|
|
|
238
|
-
**requestOptions:** `
|
|
225
|
+
**requestOptions:** `CustomerMyAccountClient.RequestOptions`
|
|
239
226
|
|
|
240
227
|
</dd>
|
|
241
228
|
</dl>
|
|
@@ -247,7 +234,8 @@ await client.customerBusinesses.getBusinessPhotos({
|
|
|
247
234
|
</dl>
|
|
248
235
|
</details>
|
|
249
236
|
|
|
250
|
-
|
|
237
|
+
## Customer
|
|
238
|
+
<details><summary><code>client.customer.<a href="/src/api/resources/customer/client/Client.ts">search</a>({ ...params }) -> FiveOneEat.SearchCustomerResponse</code></summary>
|
|
251
239
|
<dl>
|
|
252
240
|
<dd>
|
|
253
241
|
|
|
@@ -259,7 +247,8 @@ await client.customerBusinesses.getBusinessPhotos({
|
|
|
259
247
|
<dl>
|
|
260
248
|
<dd>
|
|
261
249
|
|
|
262
|
-
|
|
250
|
+
Returns grouped results for each type. Use per_type to control how many results
|
|
251
|
+
appear per section. Optionally filter by category, city, or geo radius.
|
|
263
252
|
</dd>
|
|
264
253
|
</dl>
|
|
265
254
|
</dd>
|
|
@@ -274,8 +263,12 @@ Retrieve business announcements and updates with pagination.
|
|
|
274
263
|
<dd>
|
|
275
264
|
|
|
276
265
|
```typescript
|
|
277
|
-
await client.
|
|
278
|
-
|
|
266
|
+
await client.customer.search({
|
|
267
|
+
q: "wings",
|
|
268
|
+
categories: "restaurant,bakery",
|
|
269
|
+
city: "Buffalo",
|
|
270
|
+
cuisines: "italian,mexican",
|
|
271
|
+
certifications: "kosher,halal"
|
|
279
272
|
});
|
|
280
273
|
|
|
281
274
|
```
|
|
@@ -292,7 +285,7 @@ await client.customerBusinesses.getBusinessBulletins({
|
|
|
292
285
|
<dl>
|
|
293
286
|
<dd>
|
|
294
287
|
|
|
295
|
-
**request:** `FiveOneEat.
|
|
288
|
+
**request:** `FiveOneEat.SearchCustomerRequest`
|
|
296
289
|
|
|
297
290
|
</dd>
|
|
298
291
|
</dl>
|
|
@@ -300,7 +293,7 @@ await client.customerBusinesses.getBusinessBulletins({
|
|
|
300
293
|
<dl>
|
|
301
294
|
<dd>
|
|
302
295
|
|
|
303
|
-
**requestOptions:** `
|
|
296
|
+
**requestOptions:** `CustomerClient.RequestOptions`
|
|
304
297
|
|
|
305
298
|
</dd>
|
|
306
299
|
</dl>
|
|
@@ -312,24 +305,11 @@ await client.customerBusinesses.getBusinessBulletins({
|
|
|
312
305
|
</dl>
|
|
313
306
|
</details>
|
|
314
307
|
|
|
315
|
-
|
|
316
|
-
<
|
|
317
|
-
<dd>
|
|
318
|
-
|
|
319
|
-
#### 📝 Description
|
|
320
|
-
|
|
321
|
-
<dl>
|
|
322
|
-
<dd>
|
|
323
|
-
|
|
308
|
+
## RecordClick
|
|
309
|
+
<details><summary><code>client.recordClick.<a href="/src/api/resources/recordClick/client/Client.ts">adsRecordClick</a>({ ...params }) -> void</code></summary>
|
|
324
310
|
<dl>
|
|
325
311
|
<dd>
|
|
326
312
|
|
|
327
|
-
Retrieve paginated comments for a published business bulletin.
|
|
328
|
-
</dd>
|
|
329
|
-
</dl>
|
|
330
|
-
</dd>
|
|
331
|
-
</dl>
|
|
332
|
-
|
|
333
313
|
#### 🔌 Usage
|
|
334
314
|
|
|
335
315
|
<dl>
|
|
@@ -339,9 +319,8 @@ Retrieve paginated comments for a published business bulletin.
|
|
|
339
319
|
<dd>
|
|
340
320
|
|
|
341
321
|
```typescript
|
|
342
|
-
await client.
|
|
343
|
-
|
|
344
|
-
bulletin: "01950e7d-1234-7000-abcd-ef0123456789"
|
|
322
|
+
await client.recordClick.adsRecordClick({
|
|
323
|
+
advertisement: "advertisement"
|
|
345
324
|
});
|
|
346
325
|
|
|
347
326
|
```
|
|
@@ -358,7 +337,7 @@ await client.customerBusinesses.getBulletinComments({
|
|
|
358
337
|
<dl>
|
|
359
338
|
<dd>
|
|
360
339
|
|
|
361
|
-
**request:** `FiveOneEat.
|
|
340
|
+
**request:** `FiveOneEat.AdsRecordClickRequest`
|
|
362
341
|
|
|
363
342
|
</dd>
|
|
364
343
|
</dl>
|
|
@@ -366,7 +345,7 @@ await client.customerBusinesses.getBulletinComments({
|
|
|
366
345
|
<dl>
|
|
367
346
|
<dd>
|
|
368
347
|
|
|
369
|
-
**requestOptions:** `
|
|
348
|
+
**requestOptions:** `RecordClickClient.RequestOptions`
|
|
370
349
|
|
|
371
350
|
</dd>
|
|
372
351
|
</dl>
|
|
@@ -378,24 +357,11 @@ await client.customerBusinesses.getBulletinComments({
|
|
|
378
357
|
</dl>
|
|
379
358
|
</details>
|
|
380
359
|
|
|
381
|
-
|
|
382
|
-
<
|
|
383
|
-
<dd>
|
|
384
|
-
|
|
385
|
-
#### 📝 Description
|
|
386
|
-
|
|
387
|
-
<dl>
|
|
388
|
-
<dd>
|
|
389
|
-
|
|
360
|
+
## ServeAd
|
|
361
|
+
<details><summary><code>client.serveAd.<a href="/src/api/resources/serveAd/client/Client.ts">adsServeAd</a>({ ...params }) -> FiveOneEat.AdsServeAdResponse</code></summary>
|
|
390
362
|
<dl>
|
|
391
363
|
<dd>
|
|
392
364
|
|
|
393
|
-
Post a comment on a business bulletin. Requires authentication.
|
|
394
|
-
</dd>
|
|
395
|
-
</dl>
|
|
396
|
-
</dd>
|
|
397
|
-
</dl>
|
|
398
|
-
|
|
399
365
|
#### 🔌 Usage
|
|
400
366
|
|
|
401
367
|
<dl>
|
|
@@ -405,10 +371,8 @@ Post a comment on a business bulletin. Requires authentication.
|
|
|
405
371
|
<dd>
|
|
406
372
|
|
|
407
373
|
```typescript
|
|
408
|
-
await client.
|
|
409
|
-
|
|
410
|
-
bulletin: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
411
|
-
body: "body"
|
|
374
|
+
await client.serveAd.adsServeAd({
|
|
375
|
+
placement: "placement"
|
|
412
376
|
});
|
|
413
377
|
|
|
414
378
|
```
|
|
@@ -425,7 +389,7 @@ await client.customerBusinesses.createBulletinComment({
|
|
|
425
389
|
<dl>
|
|
426
390
|
<dd>
|
|
427
391
|
|
|
428
|
-
**request:** `FiveOneEat.
|
|
392
|
+
**request:** `FiveOneEat.AdsServeAdRequest`
|
|
429
393
|
|
|
430
394
|
</dd>
|
|
431
395
|
</dl>
|
|
@@ -433,7 +397,7 @@ await client.customerBusinesses.createBulletinComment({
|
|
|
433
397
|
<dl>
|
|
434
398
|
<dd>
|
|
435
399
|
|
|
436
|
-
**requestOptions:** `
|
|
400
|
+
**requestOptions:** `ServeAdClient.RequestOptions`
|
|
437
401
|
|
|
438
402
|
</dd>
|
|
439
403
|
</dl>
|
|
@@ -445,7 +409,8 @@ await client.customerBusinesses.createBulletinComment({
|
|
|
445
409
|
</dl>
|
|
446
410
|
</details>
|
|
447
411
|
|
|
448
|
-
|
|
412
|
+
## Business Auth
|
|
413
|
+
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">register</a>({ ...params }) -> FiveOneEat.RegisterAuthResponse</code></summary>
|
|
449
414
|
<dl>
|
|
450
415
|
<dd>
|
|
451
416
|
|
|
@@ -457,7 +422,7 @@ await client.customerBusinesses.createBulletinComment({
|
|
|
457
422
|
<dl>
|
|
458
423
|
<dd>
|
|
459
424
|
|
|
460
|
-
|
|
425
|
+
Create a new business user account and return an API token for immediate authentication.
|
|
461
426
|
</dd>
|
|
462
427
|
</dl>
|
|
463
428
|
</dd>
|
|
@@ -472,10 +437,12 @@ Retrieve paginated replies for a top-level comment on a published bulletin.
|
|
|
472
437
|
<dd>
|
|
473
438
|
|
|
474
439
|
```typescript
|
|
475
|
-
await client.
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
440
|
+
await client.business.auth.register({
|
|
441
|
+
name: "name",
|
|
442
|
+
email: "email",
|
|
443
|
+
password: "password",
|
|
444
|
+
device_name: "device_name",
|
|
445
|
+
password_confirmation: "password_confirmation"
|
|
479
446
|
});
|
|
480
447
|
|
|
481
448
|
```
|
|
@@ -492,7 +459,7 @@ await client.customerBusinesses.getBulletinCommentReplies({
|
|
|
492
459
|
<dl>
|
|
493
460
|
<dd>
|
|
494
461
|
|
|
495
|
-
**request:** `FiveOneEat.
|
|
462
|
+
**request:** `FiveOneEat.business.RegisterBusinessRequest`
|
|
496
463
|
|
|
497
464
|
</dd>
|
|
498
465
|
</dl>
|
|
@@ -500,7 +467,7 @@ await client.customerBusinesses.getBulletinCommentReplies({
|
|
|
500
467
|
<dl>
|
|
501
468
|
<dd>
|
|
502
469
|
|
|
503
|
-
**requestOptions:** `
|
|
470
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
504
471
|
|
|
505
472
|
</dd>
|
|
506
473
|
</dl>
|
|
@@ -512,7 +479,7 @@ await client.customerBusinesses.getBulletinCommentReplies({
|
|
|
512
479
|
</dl>
|
|
513
480
|
</details>
|
|
514
481
|
|
|
515
|
-
<details><summary><code>client.
|
|
482
|
+
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">login</a>({ ...params }) -> FiveOneEat.LoginAuthResponse</code></summary>
|
|
516
483
|
<dl>
|
|
517
484
|
<dd>
|
|
518
485
|
|
|
@@ -524,7 +491,7 @@ await client.customerBusinesses.getBulletinCommentReplies({
|
|
|
524
491
|
<dl>
|
|
525
492
|
<dd>
|
|
526
493
|
|
|
527
|
-
|
|
494
|
+
Exchange business user credentials for an API token. Returns a 422 if the account is not a business account.
|
|
528
495
|
</dd>
|
|
529
496
|
</dl>
|
|
530
497
|
</dd>
|
|
@@ -539,11 +506,10 @@ Post a reply to a top-level comment on a published bulletin. Requires authentica
|
|
|
539
506
|
<dd>
|
|
540
507
|
|
|
541
508
|
```typescript
|
|
542
|
-
await client.
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
body: "body"
|
|
509
|
+
await client.business.auth.login({
|
|
510
|
+
email: "email",
|
|
511
|
+
password: "password",
|
|
512
|
+
device_name: "device_name"
|
|
547
513
|
});
|
|
548
514
|
|
|
549
515
|
```
|
|
@@ -560,7 +526,7 @@ await client.customerBusinesses.replyToBulletinComment({
|
|
|
560
526
|
<dl>
|
|
561
527
|
<dd>
|
|
562
528
|
|
|
563
|
-
**request:** `FiveOneEat.
|
|
529
|
+
**request:** `FiveOneEat.business.LoginBusinessRequest`
|
|
564
530
|
|
|
565
531
|
</dd>
|
|
566
532
|
</dl>
|
|
@@ -568,7 +534,7 @@ await client.customerBusinesses.replyToBulletinComment({
|
|
|
568
534
|
<dl>
|
|
569
535
|
<dd>
|
|
570
536
|
|
|
571
|
-
**requestOptions:** `
|
|
537
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
572
538
|
|
|
573
539
|
</dd>
|
|
574
540
|
</dl>
|
|
@@ -580,7 +546,7 @@ await client.customerBusinesses.replyToBulletinComment({
|
|
|
580
546
|
</dl>
|
|
581
547
|
</details>
|
|
582
548
|
|
|
583
|
-
<details><summary><code>client.
|
|
549
|
+
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">forgotPassword</a>({ ...params }) -> FiveOneEat.ForgotPasswordAuthResponse</code></summary>
|
|
584
550
|
<dl>
|
|
585
551
|
<dd>
|
|
586
552
|
|
|
@@ -592,7 +558,8 @@ await client.customerBusinesses.replyToBulletinComment({
|
|
|
592
558
|
<dl>
|
|
593
559
|
<dd>
|
|
594
560
|
|
|
595
|
-
|
|
561
|
+
Sends a password reset link to the provided email address if an account exists.
|
|
562
|
+
Always returns a 200 response to prevent email enumeration.
|
|
596
563
|
</dd>
|
|
597
564
|
</dl>
|
|
598
565
|
</dd>
|
|
@@ -607,8 +574,8 @@ Add a business to the authenticated user's favorites.
|
|
|
607
574
|
<dd>
|
|
608
575
|
|
|
609
576
|
```typescript
|
|
610
|
-
await client.
|
|
611
|
-
|
|
577
|
+
await client.business.auth.forgotPassword({
|
|
578
|
+
email: "email"
|
|
612
579
|
});
|
|
613
580
|
|
|
614
581
|
```
|
|
@@ -625,7 +592,7 @@ await client.customerBusinesses.favoritesBusiness({
|
|
|
625
592
|
<dl>
|
|
626
593
|
<dd>
|
|
627
594
|
|
|
628
|
-
**request:** `FiveOneEat.
|
|
595
|
+
**request:** `FiveOneEat.business.ForgotPasswordRequest`
|
|
629
596
|
|
|
630
597
|
</dd>
|
|
631
598
|
</dl>
|
|
@@ -633,7 +600,7 @@ await client.customerBusinesses.favoritesBusiness({
|
|
|
633
600
|
<dl>
|
|
634
601
|
<dd>
|
|
635
602
|
|
|
636
|
-
**requestOptions:** `
|
|
603
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
637
604
|
|
|
638
605
|
</dd>
|
|
639
606
|
</dl>
|
|
@@ -645,7 +612,7 @@ await client.customerBusinesses.favoritesBusiness({
|
|
|
645
612
|
</dl>
|
|
646
613
|
</details>
|
|
647
614
|
|
|
648
|
-
<details><summary><code>client.
|
|
615
|
+
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">resetPassword</a>({ ...params }) -> FiveOneEat.ResetPasswordAuthResponse</code></summary>
|
|
649
616
|
<dl>
|
|
650
617
|
<dd>
|
|
651
618
|
|
|
@@ -657,7 +624,8 @@ await client.customerBusinesses.favoritesBusiness({
|
|
|
657
624
|
<dl>
|
|
658
625
|
<dd>
|
|
659
626
|
|
|
660
|
-
|
|
627
|
+
Validates the reset token and updates the user's password. All existing API tokens
|
|
628
|
+
are revoked after a successful reset, requiring re-authentication on all devices.
|
|
661
629
|
</dd>
|
|
662
630
|
</dl>
|
|
663
631
|
</dd>
|
|
@@ -672,8 +640,11 @@ Remove a business from the authenticated user's favorites.
|
|
|
672
640
|
<dd>
|
|
673
641
|
|
|
674
642
|
```typescript
|
|
675
|
-
await client.
|
|
676
|
-
|
|
643
|
+
await client.business.auth.resetPassword({
|
|
644
|
+
token: "token",
|
|
645
|
+
email: "email",
|
|
646
|
+
password: "password",
|
|
647
|
+
password_confirmation: "password_confirmation"
|
|
677
648
|
});
|
|
678
649
|
|
|
679
650
|
```
|
|
@@ -690,7 +661,7 @@ await client.customerBusinesses.unfavoritesBusiness({
|
|
|
690
661
|
<dl>
|
|
691
662
|
<dd>
|
|
692
663
|
|
|
693
|
-
**request:** `FiveOneEat.
|
|
664
|
+
**request:** `FiveOneEat.business.ResetPasswordRequest`
|
|
694
665
|
|
|
695
666
|
</dd>
|
|
696
667
|
</dl>
|
|
@@ -698,7 +669,7 @@ await client.customerBusinesses.unfavoritesBusiness({
|
|
|
698
669
|
<dl>
|
|
699
670
|
<dd>
|
|
700
671
|
|
|
701
|
-
**requestOptions:** `
|
|
672
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
702
673
|
|
|
703
674
|
</dd>
|
|
704
675
|
</dl>
|
|
@@ -710,7 +681,7 @@ await client.customerBusinesses.unfavoritesBusiness({
|
|
|
710
681
|
</dl>
|
|
711
682
|
</details>
|
|
712
683
|
|
|
713
|
-
<details><summary><code>client.
|
|
684
|
+
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">me</a>() -> FiveOneEat.MeAuthResponse</code></summary>
|
|
714
685
|
<dl>
|
|
715
686
|
<dd>
|
|
716
687
|
|
|
@@ -722,7 +693,7 @@ await client.customerBusinesses.unfavoritesBusiness({
|
|
|
722
693
|
<dl>
|
|
723
694
|
<dd>
|
|
724
695
|
|
|
725
|
-
Retrieve
|
|
696
|
+
Retrieve the current authenticated business user with their active business and all owned businesses.
|
|
726
697
|
</dd>
|
|
727
698
|
</dl>
|
|
728
699
|
</dd>
|
|
@@ -737,9 +708,7 @@ Retrieve upcoming events for the business with pagination.
|
|
|
737
708
|
<dd>
|
|
738
709
|
|
|
739
710
|
```typescript
|
|
740
|
-
await client.
|
|
741
|
-
handle: "katzs-deli"
|
|
742
|
-
});
|
|
711
|
+
await client.business.auth.me();
|
|
743
712
|
|
|
744
713
|
```
|
|
745
714
|
</dd>
|
|
@@ -755,15 +724,7 @@ await client.customerBusinesses.getBusinessEvents({
|
|
|
755
724
|
<dl>
|
|
756
725
|
<dd>
|
|
757
726
|
|
|
758
|
-
**
|
|
759
|
-
|
|
760
|
-
</dd>
|
|
761
|
-
</dl>
|
|
762
|
-
|
|
763
|
-
<dl>
|
|
764
|
-
<dd>
|
|
765
|
-
|
|
766
|
-
**requestOptions:** `CustomerBusinessesClient.RequestOptions`
|
|
727
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
767
728
|
|
|
768
729
|
</dd>
|
|
769
730
|
</dl>
|
|
@@ -775,7 +736,7 @@ await client.customerBusinesses.getBusinessEvents({
|
|
|
775
736
|
</dl>
|
|
776
737
|
</details>
|
|
777
738
|
|
|
778
|
-
<details><summary><code>client.
|
|
739
|
+
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">logout</a>({ ...params }) -> FiveOneEat.LogoutAuthResponse</code></summary>
|
|
779
740
|
<dl>
|
|
780
741
|
<dd>
|
|
781
742
|
|
|
@@ -787,7 +748,7 @@ await client.customerBusinesses.getBusinessEvents({
|
|
|
787
748
|
<dl>
|
|
788
749
|
<dd>
|
|
789
750
|
|
|
790
|
-
|
|
751
|
+
Revoke the current API token and log out the business user.
|
|
791
752
|
</dd>
|
|
792
753
|
</dl>
|
|
793
754
|
</dd>
|
|
@@ -802,10 +763,7 @@ Retrieve full details for a single upcoming event belonging to the business.
|
|
|
802
763
|
<dd>
|
|
803
764
|
|
|
804
765
|
```typescript
|
|
805
|
-
await client.
|
|
806
|
-
handle: "katzs-deli",
|
|
807
|
-
event: "event"
|
|
808
|
-
});
|
|
766
|
+
await client.business.auth.logout();
|
|
809
767
|
|
|
810
768
|
```
|
|
811
769
|
</dd>
|
|
@@ -821,7 +779,7 @@ await client.customerBusinesses.businessesEventShow({
|
|
|
821
779
|
<dl>
|
|
822
780
|
<dd>
|
|
823
781
|
|
|
824
|
-
**request:** `FiveOneEat.
|
|
782
|
+
**request:** `FiveOneEat.business.LogoutAuthRequest`
|
|
825
783
|
|
|
826
784
|
</dd>
|
|
827
785
|
</dl>
|
|
@@ -829,7 +787,7 @@ await client.customerBusinesses.businessesEventShow({
|
|
|
829
787
|
<dl>
|
|
830
788
|
<dd>
|
|
831
789
|
|
|
832
|
-
**requestOptions:** `
|
|
790
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
833
791
|
|
|
834
792
|
</dd>
|
|
835
793
|
</dl>
|
|
@@ -841,7 +799,7 @@ await client.customerBusinesses.businessesEventShow({
|
|
|
841
799
|
</dl>
|
|
842
800
|
</details>
|
|
843
801
|
|
|
844
|
-
<details><summary><code>client.
|
|
802
|
+
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">logoutAll</a>() -> FiveOneEat.LogoutAllAuthResponse</code></summary>
|
|
845
803
|
<dl>
|
|
846
804
|
<dd>
|
|
847
805
|
|
|
@@ -853,7 +811,7 @@ await client.customerBusinesses.businessesEventShow({
|
|
|
853
811
|
<dl>
|
|
854
812
|
<dd>
|
|
855
813
|
|
|
856
|
-
|
|
814
|
+
Revoke all API tokens for the authenticated business user.
|
|
857
815
|
</dd>
|
|
858
816
|
</dl>
|
|
859
817
|
</dd>
|
|
@@ -868,11 +826,7 @@ Create or update the authenticated user's RSVP for a business event.
|
|
|
868
826
|
<dd>
|
|
869
827
|
|
|
870
828
|
```typescript
|
|
871
|
-
await client.
|
|
872
|
-
handle: "katzs-deli",
|
|
873
|
-
event: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
874
|
-
status: "attending"
|
|
875
|
-
});
|
|
829
|
+
await client.business.auth.logoutAll();
|
|
876
830
|
|
|
877
831
|
```
|
|
878
832
|
</dd>
|
|
@@ -888,15 +842,7 @@ await client.customerBusinesses.storeEventRsvp({
|
|
|
888
842
|
<dl>
|
|
889
843
|
<dd>
|
|
890
844
|
|
|
891
|
-
**
|
|
892
|
-
|
|
893
|
-
</dd>
|
|
894
|
-
</dl>
|
|
895
|
-
|
|
896
|
-
<dl>
|
|
897
|
-
<dd>
|
|
898
|
-
|
|
899
|
-
**requestOptions:** `CustomerBusinessesClient.RequestOptions`
|
|
845
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
900
846
|
|
|
901
847
|
</dd>
|
|
902
848
|
</dl>
|
|
@@ -908,7 +854,7 @@ await client.customerBusinesses.storeEventRsvp({
|
|
|
908
854
|
</dl>
|
|
909
855
|
</details>
|
|
910
856
|
|
|
911
|
-
<details><summary><code>client.
|
|
857
|
+
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">switchBusiness</a>({ ...params }) -> FiveOneEat.SwitchBusinessAuthResponse</code></summary>
|
|
912
858
|
<dl>
|
|
913
859
|
<dd>
|
|
914
860
|
|
|
@@ -920,7 +866,7 @@ await client.customerBusinesses.storeEventRsvp({
|
|
|
920
866
|
<dl>
|
|
921
867
|
<dd>
|
|
922
868
|
|
|
923
|
-
|
|
869
|
+
Set a different business as the active business for the authenticated user.
|
|
924
870
|
</dd>
|
|
925
871
|
</dl>
|
|
926
872
|
</dd>
|
|
@@ -935,9 +881,8 @@ Cancel the authenticated user's RSVP for a business event.
|
|
|
935
881
|
<dd>
|
|
936
882
|
|
|
937
883
|
```typescript
|
|
938
|
-
await client.
|
|
939
|
-
|
|
940
|
-
event: "01950e7d-1234-7000-abcd-ef0123456789"
|
|
884
|
+
await client.business.auth.switchBusiness({
|
|
885
|
+
business: "business"
|
|
941
886
|
});
|
|
942
887
|
|
|
943
888
|
```
|
|
@@ -954,7 +899,7 @@ await client.customerBusinesses.destroyEventRsvp({
|
|
|
954
899
|
<dl>
|
|
955
900
|
<dd>
|
|
956
901
|
|
|
957
|
-
**request:** `FiveOneEat.
|
|
902
|
+
**request:** `FiveOneEat.business.SwitchBusinessAuthRequest`
|
|
958
903
|
|
|
959
904
|
</dd>
|
|
960
905
|
</dl>
|
|
@@ -962,7 +907,7 @@ await client.customerBusinesses.destroyEventRsvp({
|
|
|
962
907
|
<dl>
|
|
963
908
|
<dd>
|
|
964
909
|
|
|
965
|
-
**requestOptions:** `
|
|
910
|
+
**requestOptions:** `AuthClient.RequestOptions`
|
|
966
911
|
|
|
967
912
|
</dd>
|
|
968
913
|
</dl>
|
|
@@ -974,24 +919,11 @@ await client.customerBusinesses.destroyEventRsvp({
|
|
|
974
919
|
</dl>
|
|
975
920
|
</details>
|
|
976
921
|
|
|
977
|
-
|
|
978
|
-
<
|
|
979
|
-
<dd>
|
|
980
|
-
|
|
981
|
-
#### 📝 Description
|
|
982
|
-
|
|
983
|
-
<dl>
|
|
984
|
-
<dd>
|
|
985
|
-
|
|
922
|
+
## Business Bulletins
|
|
923
|
+
<details><summary><code>client.business.bulletins.<a href="/src/api/resources/business/resources/bulletins/client/Client.ts">list</a>() -> FiveOneEat.ListBulletinsResponse</code></summary>
|
|
986
924
|
<dl>
|
|
987
925
|
<dd>
|
|
988
926
|
|
|
989
|
-
Retrieve active and upcoming temporary locations for a business.
|
|
990
|
-
</dd>
|
|
991
|
-
</dl>
|
|
992
|
-
</dd>
|
|
993
|
-
</dl>
|
|
994
|
-
|
|
995
927
|
#### 🔌 Usage
|
|
996
928
|
|
|
997
929
|
<dl>
|
|
@@ -1001,9 +933,7 @@ Retrieve active and upcoming temporary locations for a business.
|
|
|
1001
933
|
<dd>
|
|
1002
934
|
|
|
1003
935
|
```typescript
|
|
1004
|
-
await client.
|
|
1005
|
-
handle: "katzs-deli"
|
|
1006
|
-
});
|
|
936
|
+
await client.business.bulletins.list();
|
|
1007
937
|
|
|
1008
938
|
```
|
|
1009
939
|
</dd>
|
|
@@ -1019,15 +949,7 @@ await client.customerBusinesses.getBusinessTemporaryLocations({
|
|
|
1019
949
|
<dl>
|
|
1020
950
|
<dd>
|
|
1021
951
|
|
|
1022
|
-
**
|
|
1023
|
-
|
|
1024
|
-
</dd>
|
|
1025
|
-
</dl>
|
|
1026
|
-
|
|
1027
|
-
<dl>
|
|
1028
|
-
<dd>
|
|
1029
|
-
|
|
1030
|
-
**requestOptions:** `CustomerBusinessesClient.RequestOptions`
|
|
952
|
+
**requestOptions:** `BulletinsClient.RequestOptions`
|
|
1031
953
|
|
|
1032
954
|
</dd>
|
|
1033
955
|
</dl>
|
|
@@ -1039,8 +961,7 @@ await client.customerBusinesses.getBusinessTemporaryLocations({
|
|
|
1039
961
|
</dl>
|
|
1040
962
|
</details>
|
|
1041
963
|
|
|
1042
|
-
|
|
1043
|
-
<details><summary><code>client.customerMessaging.<a href="/src/api/resources/customerMessaging/client/Client.ts">searchCustomerConversations</a>({ ...params }) -> FiveOneEat.SearchCustomerConversationsResponse</code></summary>
|
|
964
|
+
<details><summary><code>client.business.bulletins.<a href="/src/api/resources/business/resources/bulletins/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateBulletinsResponse</code></summary>
|
|
1044
965
|
<dl>
|
|
1045
966
|
<dd>
|
|
1046
967
|
|
|
@@ -1053,8 +974,10 @@ await client.customerBusinesses.getBusinessTemporaryLocations({
|
|
|
1053
974
|
<dd>
|
|
1054
975
|
|
|
1055
976
|
```typescript
|
|
1056
|
-
await client.
|
|
1057
|
-
|
|
977
|
+
await client.business.bulletins.create({
|
|
978
|
+
title: "title",
|
|
979
|
+
content: "content",
|
|
980
|
+
type: "post"
|
|
1058
981
|
});
|
|
1059
982
|
|
|
1060
983
|
```
|
|
@@ -1071,7 +994,7 @@ await client.customerMessaging.searchCustomerConversations({
|
|
|
1071
994
|
<dl>
|
|
1072
995
|
<dd>
|
|
1073
996
|
|
|
1074
|
-
**request:** `FiveOneEat.
|
|
997
|
+
**request:** `FiveOneEat.business.StoreBulletinRequest`
|
|
1075
998
|
|
|
1076
999
|
</dd>
|
|
1077
1000
|
</dl>
|
|
@@ -1079,7 +1002,7 @@ await client.customerMessaging.searchCustomerConversations({
|
|
|
1079
1002
|
<dl>
|
|
1080
1003
|
<dd>
|
|
1081
1004
|
|
|
1082
|
-
**requestOptions:** `
|
|
1005
|
+
**requestOptions:** `BulletinsClient.RequestOptions`
|
|
1083
1006
|
|
|
1084
1007
|
</dd>
|
|
1085
1008
|
</dl>
|
|
@@ -1091,25 +1014,10 @@ await client.customerMessaging.searchCustomerConversations({
|
|
|
1091
1014
|
</dl>
|
|
1092
1015
|
</details>
|
|
1093
1016
|
|
|
1094
|
-
|
|
1095
|
-
<details><summary><code>client.customerMyAccount.<a href="/src/api/resources/customerMyAccount/client/Client.ts">getMyTicket</a>({ ...params }) -> FiveOneEat.GetMyTicketResponse</code></summary>
|
|
1096
|
-
<dl>
|
|
1097
|
-
<dd>
|
|
1098
|
-
|
|
1099
|
-
#### 📝 Description
|
|
1100
|
-
|
|
1101
|
-
<dl>
|
|
1102
|
-
<dd>
|
|
1103
|
-
|
|
1017
|
+
<details><summary><code>client.business.bulletins.<a href="/src/api/resources/business/resources/bulletins/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetBulletinsResponse</code></summary>
|
|
1104
1018
|
<dl>
|
|
1105
1019
|
<dd>
|
|
1106
1020
|
|
|
1107
|
-
Retrieve a single ticket belonging to the authenticated user.
|
|
1108
|
-
</dd>
|
|
1109
|
-
</dl>
|
|
1110
|
-
</dd>
|
|
1111
|
-
</dl>
|
|
1112
|
-
|
|
1113
1021
|
#### 🔌 Usage
|
|
1114
1022
|
|
|
1115
1023
|
<dl>
|
|
@@ -1119,8 +1027,8 @@ Retrieve a single ticket belonging to the authenticated user.
|
|
|
1119
1027
|
<dd>
|
|
1120
1028
|
|
|
1121
1029
|
```typescript
|
|
1122
|
-
await client.
|
|
1123
|
-
|
|
1030
|
+
await client.business.bulletins.get({
|
|
1031
|
+
bulletin: "bulletin"
|
|
1124
1032
|
});
|
|
1125
1033
|
|
|
1126
1034
|
```
|
|
@@ -1137,7 +1045,7 @@ await client.customerMyAccount.getMyTicket({
|
|
|
1137
1045
|
<dl>
|
|
1138
1046
|
<dd>
|
|
1139
1047
|
|
|
1140
|
-
**request:** `FiveOneEat.
|
|
1048
|
+
**request:** `FiveOneEat.business.GetBulletinsRequest`
|
|
1141
1049
|
|
|
1142
1050
|
</dd>
|
|
1143
1051
|
</dl>
|
|
@@ -1145,7 +1053,7 @@ await client.customerMyAccount.getMyTicket({
|
|
|
1145
1053
|
<dl>
|
|
1146
1054
|
<dd>
|
|
1147
1055
|
|
|
1148
|
-
**requestOptions:** `
|
|
1056
|
+
**requestOptions:** `BulletinsClient.RequestOptions`
|
|
1149
1057
|
|
|
1150
1058
|
</dd>
|
|
1151
1059
|
</dl>
|
|
@@ -1157,1062 +1065,11 @@ await client.customerMyAccount.getMyTicket({
|
|
|
1157
1065
|
</dl>
|
|
1158
1066
|
</details>
|
|
1159
1067
|
|
|
1160
|
-
<details><summary><code>client.
|
|
1068
|
+
<details><summary><code>client.business.bulletins.<a href="/src/api/resources/business/resources/bulletins/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateBulletinsResponse</code></summary>
|
|
1161
1069
|
<dl>
|
|
1162
1070
|
<dd>
|
|
1163
1071
|
|
|
1164
|
-
####
|
|
1165
|
-
|
|
1166
|
-
<dl>
|
|
1167
|
-
<dd>
|
|
1168
|
-
|
|
1169
|
-
<dl>
|
|
1170
|
-
<dd>
|
|
1171
|
-
|
|
1172
|
-
Retrieve a single ticket order belonging to the authenticated user.
|
|
1173
|
-
</dd>
|
|
1174
|
-
</dl>
|
|
1175
|
-
</dd>
|
|
1176
|
-
</dl>
|
|
1177
|
-
|
|
1178
|
-
#### 🔌 Usage
|
|
1179
|
-
|
|
1180
|
-
<dl>
|
|
1181
|
-
<dd>
|
|
1182
|
-
|
|
1183
|
-
<dl>
|
|
1184
|
-
<dd>
|
|
1185
|
-
|
|
1186
|
-
```typescript
|
|
1187
|
-
await client.customerMyAccount.getMyTicketOrder({
|
|
1188
|
-
orderId: "orderId"
|
|
1189
|
-
});
|
|
1190
|
-
|
|
1191
|
-
```
|
|
1192
|
-
</dd>
|
|
1193
|
-
</dl>
|
|
1194
|
-
</dd>
|
|
1195
|
-
</dl>
|
|
1196
|
-
|
|
1197
|
-
#### ⚙️ Parameters
|
|
1198
|
-
|
|
1199
|
-
<dl>
|
|
1200
|
-
<dd>
|
|
1201
|
-
|
|
1202
|
-
<dl>
|
|
1203
|
-
<dd>
|
|
1204
|
-
|
|
1205
|
-
**request:** `FiveOneEat.GetMyTicketOrderRequest`
|
|
1206
|
-
|
|
1207
|
-
</dd>
|
|
1208
|
-
</dl>
|
|
1209
|
-
|
|
1210
|
-
<dl>
|
|
1211
|
-
<dd>
|
|
1212
|
-
|
|
1213
|
-
**requestOptions:** `CustomerMyAccountClient.RequestOptions`
|
|
1214
|
-
|
|
1215
|
-
</dd>
|
|
1216
|
-
</dl>
|
|
1217
|
-
</dd>
|
|
1218
|
-
</dl>
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
</dd>
|
|
1222
|
-
</dl>
|
|
1223
|
-
</details>
|
|
1224
|
-
|
|
1225
|
-
## Customer
|
|
1226
|
-
<details><summary><code>client.customer.<a href="/src/api/resources/customer/client/Client.ts">search</a>({ ...params }) -> FiveOneEat.SearchCustomerResponse</code></summary>
|
|
1227
|
-
<dl>
|
|
1228
|
-
<dd>
|
|
1229
|
-
|
|
1230
|
-
#### 📝 Description
|
|
1231
|
-
|
|
1232
|
-
<dl>
|
|
1233
|
-
<dd>
|
|
1234
|
-
|
|
1235
|
-
<dl>
|
|
1236
|
-
<dd>
|
|
1237
|
-
|
|
1238
|
-
Returns grouped results for each type. Use per_type to control how many results
|
|
1239
|
-
appear per section. Optionally filter by category, city, or geo radius.
|
|
1240
|
-
</dd>
|
|
1241
|
-
</dl>
|
|
1242
|
-
</dd>
|
|
1243
|
-
</dl>
|
|
1244
|
-
|
|
1245
|
-
#### 🔌 Usage
|
|
1246
|
-
|
|
1247
|
-
<dl>
|
|
1248
|
-
<dd>
|
|
1249
|
-
|
|
1250
|
-
<dl>
|
|
1251
|
-
<dd>
|
|
1252
|
-
|
|
1253
|
-
```typescript
|
|
1254
|
-
await client.customer.search({
|
|
1255
|
-
q: "wings",
|
|
1256
|
-
categories: "restaurant,bakery",
|
|
1257
|
-
city: "Buffalo",
|
|
1258
|
-
cuisines: "italian,mexican",
|
|
1259
|
-
certifications: "kosher,halal"
|
|
1260
|
-
});
|
|
1261
|
-
|
|
1262
|
-
```
|
|
1263
|
-
</dd>
|
|
1264
|
-
</dl>
|
|
1265
|
-
</dd>
|
|
1266
|
-
</dl>
|
|
1267
|
-
|
|
1268
|
-
#### ⚙️ Parameters
|
|
1269
|
-
|
|
1270
|
-
<dl>
|
|
1271
|
-
<dd>
|
|
1272
|
-
|
|
1273
|
-
<dl>
|
|
1274
|
-
<dd>
|
|
1275
|
-
|
|
1276
|
-
**request:** `FiveOneEat.SearchCustomerRequest`
|
|
1277
|
-
|
|
1278
|
-
</dd>
|
|
1279
|
-
</dl>
|
|
1280
|
-
|
|
1281
|
-
<dl>
|
|
1282
|
-
<dd>
|
|
1283
|
-
|
|
1284
|
-
**requestOptions:** `CustomerClient.RequestOptions`
|
|
1285
|
-
|
|
1286
|
-
</dd>
|
|
1287
|
-
</dl>
|
|
1288
|
-
</dd>
|
|
1289
|
-
</dl>
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
</dd>
|
|
1293
|
-
</dl>
|
|
1294
|
-
</details>
|
|
1295
|
-
|
|
1296
|
-
## Customer: Shop
|
|
1297
|
-
<details><summary><code>client.customerShop.<a href="/src/api/resources/customerShop/client/Client.ts">listShopProducts</a>({ ...params }) -> FiveOneEat.ListShopProductsResponse</code></summary>
|
|
1298
|
-
<dl>
|
|
1299
|
-
<dd>
|
|
1300
|
-
|
|
1301
|
-
#### 🔌 Usage
|
|
1302
|
-
|
|
1303
|
-
<dl>
|
|
1304
|
-
<dd>
|
|
1305
|
-
|
|
1306
|
-
<dl>
|
|
1307
|
-
<dd>
|
|
1308
|
-
|
|
1309
|
-
```typescript
|
|
1310
|
-
await client.customerShop.listShopProducts({
|
|
1311
|
-
handle: "katzs-deli"
|
|
1312
|
-
});
|
|
1313
|
-
|
|
1314
|
-
```
|
|
1315
|
-
</dd>
|
|
1316
|
-
</dl>
|
|
1317
|
-
</dd>
|
|
1318
|
-
</dl>
|
|
1319
|
-
|
|
1320
|
-
#### ⚙️ Parameters
|
|
1321
|
-
|
|
1322
|
-
<dl>
|
|
1323
|
-
<dd>
|
|
1324
|
-
|
|
1325
|
-
<dl>
|
|
1326
|
-
<dd>
|
|
1327
|
-
|
|
1328
|
-
**request:** `FiveOneEat.ListShopProductsRequest`
|
|
1329
|
-
|
|
1330
|
-
</dd>
|
|
1331
|
-
</dl>
|
|
1332
|
-
|
|
1333
|
-
<dl>
|
|
1334
|
-
<dd>
|
|
1335
|
-
|
|
1336
|
-
**requestOptions:** `CustomerShopClient.RequestOptions`
|
|
1337
|
-
|
|
1338
|
-
</dd>
|
|
1339
|
-
</dl>
|
|
1340
|
-
</dd>
|
|
1341
|
-
</dl>
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
</dd>
|
|
1345
|
-
</dl>
|
|
1346
|
-
</details>
|
|
1347
|
-
|
|
1348
|
-
<details><summary><code>client.customerShop.<a href="/src/api/resources/customerShop/client/Client.ts">getShopProduct</a>({ ...params }) -> FiveOneEat.GetShopProductResponse</code></summary>
|
|
1349
|
-
<dl>
|
|
1350
|
-
<dd>
|
|
1351
|
-
|
|
1352
|
-
#### 🔌 Usage
|
|
1353
|
-
|
|
1354
|
-
<dl>
|
|
1355
|
-
<dd>
|
|
1356
|
-
|
|
1357
|
-
<dl>
|
|
1358
|
-
<dd>
|
|
1359
|
-
|
|
1360
|
-
```typescript
|
|
1361
|
-
await client.customerShop.getShopProduct({
|
|
1362
|
-
handle: "katzs-deli",
|
|
1363
|
-
product: "product"
|
|
1364
|
-
});
|
|
1365
|
-
|
|
1366
|
-
```
|
|
1367
|
-
</dd>
|
|
1368
|
-
</dl>
|
|
1369
|
-
</dd>
|
|
1370
|
-
</dl>
|
|
1371
|
-
|
|
1372
|
-
#### ⚙️ Parameters
|
|
1373
|
-
|
|
1374
|
-
<dl>
|
|
1375
|
-
<dd>
|
|
1376
|
-
|
|
1377
|
-
<dl>
|
|
1378
|
-
<dd>
|
|
1379
|
-
|
|
1380
|
-
**request:** `FiveOneEat.GetShopProductRequest`
|
|
1381
|
-
|
|
1382
|
-
</dd>
|
|
1383
|
-
</dl>
|
|
1384
|
-
|
|
1385
|
-
<dl>
|
|
1386
|
-
<dd>
|
|
1387
|
-
|
|
1388
|
-
**requestOptions:** `CustomerShopClient.RequestOptions`
|
|
1389
|
-
|
|
1390
|
-
</dd>
|
|
1391
|
-
</dl>
|
|
1392
|
-
</dd>
|
|
1393
|
-
</dl>
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
</dd>
|
|
1397
|
-
</dl>
|
|
1398
|
-
</details>
|
|
1399
|
-
|
|
1400
|
-
<details><summary><code>client.customerShop.<a href="/src/api/resources/customerShop/client/Client.ts">listShopCategories</a>({ ...params }) -> FiveOneEat.ListShopCategoriesResponse</code></summary>
|
|
1401
|
-
<dl>
|
|
1402
|
-
<dd>
|
|
1403
|
-
|
|
1404
|
-
#### 🔌 Usage
|
|
1405
|
-
|
|
1406
|
-
<dl>
|
|
1407
|
-
<dd>
|
|
1408
|
-
|
|
1409
|
-
<dl>
|
|
1410
|
-
<dd>
|
|
1411
|
-
|
|
1412
|
-
```typescript
|
|
1413
|
-
await client.customerShop.listShopCategories({
|
|
1414
|
-
handle: "katzs-deli"
|
|
1415
|
-
});
|
|
1416
|
-
|
|
1417
|
-
```
|
|
1418
|
-
</dd>
|
|
1419
|
-
</dl>
|
|
1420
|
-
</dd>
|
|
1421
|
-
</dl>
|
|
1422
|
-
|
|
1423
|
-
#### ⚙️ Parameters
|
|
1424
|
-
|
|
1425
|
-
<dl>
|
|
1426
|
-
<dd>
|
|
1427
|
-
|
|
1428
|
-
<dl>
|
|
1429
|
-
<dd>
|
|
1430
|
-
|
|
1431
|
-
**request:** `FiveOneEat.ListShopCategoriesRequest`
|
|
1432
|
-
|
|
1433
|
-
</dd>
|
|
1434
|
-
</dl>
|
|
1435
|
-
|
|
1436
|
-
<dl>
|
|
1437
|
-
<dd>
|
|
1438
|
-
|
|
1439
|
-
**requestOptions:** `CustomerShopClient.RequestOptions`
|
|
1440
|
-
|
|
1441
|
-
</dd>
|
|
1442
|
-
</dl>
|
|
1443
|
-
</dd>
|
|
1444
|
-
</dl>
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
</dd>
|
|
1448
|
-
</dl>
|
|
1449
|
-
</details>
|
|
1450
|
-
|
|
1451
|
-
## RecordClick
|
|
1452
|
-
<details><summary><code>client.recordClick.<a href="/src/api/resources/recordClick/client/Client.ts">adsRecordClick</a>({ ...params }) -> void</code></summary>
|
|
1453
|
-
<dl>
|
|
1454
|
-
<dd>
|
|
1455
|
-
|
|
1456
|
-
#### 🔌 Usage
|
|
1457
|
-
|
|
1458
|
-
<dl>
|
|
1459
|
-
<dd>
|
|
1460
|
-
|
|
1461
|
-
<dl>
|
|
1462
|
-
<dd>
|
|
1463
|
-
|
|
1464
|
-
```typescript
|
|
1465
|
-
await client.recordClick.adsRecordClick({
|
|
1466
|
-
advertisement: "advertisement"
|
|
1467
|
-
});
|
|
1468
|
-
|
|
1469
|
-
```
|
|
1470
|
-
</dd>
|
|
1471
|
-
</dl>
|
|
1472
|
-
</dd>
|
|
1473
|
-
</dl>
|
|
1474
|
-
|
|
1475
|
-
#### ⚙️ Parameters
|
|
1476
|
-
|
|
1477
|
-
<dl>
|
|
1478
|
-
<dd>
|
|
1479
|
-
|
|
1480
|
-
<dl>
|
|
1481
|
-
<dd>
|
|
1482
|
-
|
|
1483
|
-
**request:** `FiveOneEat.AdsRecordClickRequest`
|
|
1484
|
-
|
|
1485
|
-
</dd>
|
|
1486
|
-
</dl>
|
|
1487
|
-
|
|
1488
|
-
<dl>
|
|
1489
|
-
<dd>
|
|
1490
|
-
|
|
1491
|
-
**requestOptions:** `RecordClickClient.RequestOptions`
|
|
1492
|
-
|
|
1493
|
-
</dd>
|
|
1494
|
-
</dl>
|
|
1495
|
-
</dd>
|
|
1496
|
-
</dl>
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
</dd>
|
|
1500
|
-
</dl>
|
|
1501
|
-
</details>
|
|
1502
|
-
|
|
1503
|
-
## ServeAd
|
|
1504
|
-
<details><summary><code>client.serveAd.<a href="/src/api/resources/serveAd/client/Client.ts">adsServeAd</a>({ ...params }) -> FiveOneEat.AdsServeAdResponse</code></summary>
|
|
1505
|
-
<dl>
|
|
1506
|
-
<dd>
|
|
1507
|
-
|
|
1508
|
-
#### 🔌 Usage
|
|
1509
|
-
|
|
1510
|
-
<dl>
|
|
1511
|
-
<dd>
|
|
1512
|
-
|
|
1513
|
-
<dl>
|
|
1514
|
-
<dd>
|
|
1515
|
-
|
|
1516
|
-
```typescript
|
|
1517
|
-
await client.serveAd.adsServeAd({
|
|
1518
|
-
placement: "placement"
|
|
1519
|
-
});
|
|
1520
|
-
|
|
1521
|
-
```
|
|
1522
|
-
</dd>
|
|
1523
|
-
</dl>
|
|
1524
|
-
</dd>
|
|
1525
|
-
</dl>
|
|
1526
|
-
|
|
1527
|
-
#### ⚙️ Parameters
|
|
1528
|
-
|
|
1529
|
-
<dl>
|
|
1530
|
-
<dd>
|
|
1531
|
-
|
|
1532
|
-
<dl>
|
|
1533
|
-
<dd>
|
|
1534
|
-
|
|
1535
|
-
**request:** `FiveOneEat.AdsServeAdRequest`
|
|
1536
|
-
|
|
1537
|
-
</dd>
|
|
1538
|
-
</dl>
|
|
1539
|
-
|
|
1540
|
-
<dl>
|
|
1541
|
-
<dd>
|
|
1542
|
-
|
|
1543
|
-
**requestOptions:** `ServeAdClient.RequestOptions`
|
|
1544
|
-
|
|
1545
|
-
</dd>
|
|
1546
|
-
</dl>
|
|
1547
|
-
</dd>
|
|
1548
|
-
</dl>
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
</dd>
|
|
1552
|
-
</dl>
|
|
1553
|
-
</details>
|
|
1554
|
-
|
|
1555
|
-
## Business Auth
|
|
1556
|
-
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">register</a>({ ...params }) -> FiveOneEat.RegisterAuthResponse</code></summary>
|
|
1557
|
-
<dl>
|
|
1558
|
-
<dd>
|
|
1559
|
-
|
|
1560
|
-
#### 📝 Description
|
|
1561
|
-
|
|
1562
|
-
<dl>
|
|
1563
|
-
<dd>
|
|
1564
|
-
|
|
1565
|
-
<dl>
|
|
1566
|
-
<dd>
|
|
1567
|
-
|
|
1568
|
-
Create a new business user account and return an API token for immediate authentication.
|
|
1569
|
-
</dd>
|
|
1570
|
-
</dl>
|
|
1571
|
-
</dd>
|
|
1572
|
-
</dl>
|
|
1573
|
-
|
|
1574
|
-
#### 🔌 Usage
|
|
1575
|
-
|
|
1576
|
-
<dl>
|
|
1577
|
-
<dd>
|
|
1578
|
-
|
|
1579
|
-
<dl>
|
|
1580
|
-
<dd>
|
|
1581
|
-
|
|
1582
|
-
```typescript
|
|
1583
|
-
await client.business.auth.register({
|
|
1584
|
-
name: "name",
|
|
1585
|
-
email: "email",
|
|
1586
|
-
password: "password",
|
|
1587
|
-
device_name: "device_name",
|
|
1588
|
-
password_confirmation: "password_confirmation"
|
|
1589
|
-
});
|
|
1590
|
-
|
|
1591
|
-
```
|
|
1592
|
-
</dd>
|
|
1593
|
-
</dl>
|
|
1594
|
-
</dd>
|
|
1595
|
-
</dl>
|
|
1596
|
-
|
|
1597
|
-
#### ⚙️ Parameters
|
|
1598
|
-
|
|
1599
|
-
<dl>
|
|
1600
|
-
<dd>
|
|
1601
|
-
|
|
1602
|
-
<dl>
|
|
1603
|
-
<dd>
|
|
1604
|
-
|
|
1605
|
-
**request:** `FiveOneEat.business.RegisterBusinessRequest`
|
|
1606
|
-
|
|
1607
|
-
</dd>
|
|
1608
|
-
</dl>
|
|
1609
|
-
|
|
1610
|
-
<dl>
|
|
1611
|
-
<dd>
|
|
1612
|
-
|
|
1613
|
-
**requestOptions:** `AuthClient.RequestOptions`
|
|
1614
|
-
|
|
1615
|
-
</dd>
|
|
1616
|
-
</dl>
|
|
1617
|
-
</dd>
|
|
1618
|
-
</dl>
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
</dd>
|
|
1622
|
-
</dl>
|
|
1623
|
-
</details>
|
|
1624
|
-
|
|
1625
|
-
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">login</a>({ ...params }) -> FiveOneEat.LoginAuthResponse</code></summary>
|
|
1626
|
-
<dl>
|
|
1627
|
-
<dd>
|
|
1628
|
-
|
|
1629
|
-
#### 📝 Description
|
|
1630
|
-
|
|
1631
|
-
<dl>
|
|
1632
|
-
<dd>
|
|
1633
|
-
|
|
1634
|
-
<dl>
|
|
1635
|
-
<dd>
|
|
1636
|
-
|
|
1637
|
-
Exchange business user credentials for an API token. Returns a 422 if the account is not a business account.
|
|
1638
|
-
</dd>
|
|
1639
|
-
</dl>
|
|
1640
|
-
</dd>
|
|
1641
|
-
</dl>
|
|
1642
|
-
|
|
1643
|
-
#### 🔌 Usage
|
|
1644
|
-
|
|
1645
|
-
<dl>
|
|
1646
|
-
<dd>
|
|
1647
|
-
|
|
1648
|
-
<dl>
|
|
1649
|
-
<dd>
|
|
1650
|
-
|
|
1651
|
-
```typescript
|
|
1652
|
-
await client.business.auth.login({
|
|
1653
|
-
email: "email",
|
|
1654
|
-
password: "password",
|
|
1655
|
-
device_name: "device_name"
|
|
1656
|
-
});
|
|
1657
|
-
|
|
1658
|
-
```
|
|
1659
|
-
</dd>
|
|
1660
|
-
</dl>
|
|
1661
|
-
</dd>
|
|
1662
|
-
</dl>
|
|
1663
|
-
|
|
1664
|
-
#### ⚙️ Parameters
|
|
1665
|
-
|
|
1666
|
-
<dl>
|
|
1667
|
-
<dd>
|
|
1668
|
-
|
|
1669
|
-
<dl>
|
|
1670
|
-
<dd>
|
|
1671
|
-
|
|
1672
|
-
**request:** `FiveOneEat.business.LoginBusinessRequest`
|
|
1673
|
-
|
|
1674
|
-
</dd>
|
|
1675
|
-
</dl>
|
|
1676
|
-
|
|
1677
|
-
<dl>
|
|
1678
|
-
<dd>
|
|
1679
|
-
|
|
1680
|
-
**requestOptions:** `AuthClient.RequestOptions`
|
|
1681
|
-
|
|
1682
|
-
</dd>
|
|
1683
|
-
</dl>
|
|
1684
|
-
</dd>
|
|
1685
|
-
</dl>
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
</dd>
|
|
1689
|
-
</dl>
|
|
1690
|
-
</details>
|
|
1691
|
-
|
|
1692
|
-
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">forgotPassword</a>({ ...params }) -> FiveOneEat.ForgotPasswordAuthResponse</code></summary>
|
|
1693
|
-
<dl>
|
|
1694
|
-
<dd>
|
|
1695
|
-
|
|
1696
|
-
#### 📝 Description
|
|
1697
|
-
|
|
1698
|
-
<dl>
|
|
1699
|
-
<dd>
|
|
1700
|
-
|
|
1701
|
-
<dl>
|
|
1702
|
-
<dd>
|
|
1703
|
-
|
|
1704
|
-
Sends a password reset link to the provided email address if an account exists.
|
|
1705
|
-
Always returns a 200 response to prevent email enumeration.
|
|
1706
|
-
</dd>
|
|
1707
|
-
</dl>
|
|
1708
|
-
</dd>
|
|
1709
|
-
</dl>
|
|
1710
|
-
|
|
1711
|
-
#### 🔌 Usage
|
|
1712
|
-
|
|
1713
|
-
<dl>
|
|
1714
|
-
<dd>
|
|
1715
|
-
|
|
1716
|
-
<dl>
|
|
1717
|
-
<dd>
|
|
1718
|
-
|
|
1719
|
-
```typescript
|
|
1720
|
-
await client.business.auth.forgotPassword({
|
|
1721
|
-
email: "email"
|
|
1722
|
-
});
|
|
1723
|
-
|
|
1724
|
-
```
|
|
1725
|
-
</dd>
|
|
1726
|
-
</dl>
|
|
1727
|
-
</dd>
|
|
1728
|
-
</dl>
|
|
1729
|
-
|
|
1730
|
-
#### ⚙️ Parameters
|
|
1731
|
-
|
|
1732
|
-
<dl>
|
|
1733
|
-
<dd>
|
|
1734
|
-
|
|
1735
|
-
<dl>
|
|
1736
|
-
<dd>
|
|
1737
|
-
|
|
1738
|
-
**request:** `FiveOneEat.business.ForgotPasswordRequest`
|
|
1739
|
-
|
|
1740
|
-
</dd>
|
|
1741
|
-
</dl>
|
|
1742
|
-
|
|
1743
|
-
<dl>
|
|
1744
|
-
<dd>
|
|
1745
|
-
|
|
1746
|
-
**requestOptions:** `AuthClient.RequestOptions`
|
|
1747
|
-
|
|
1748
|
-
</dd>
|
|
1749
|
-
</dl>
|
|
1750
|
-
</dd>
|
|
1751
|
-
</dl>
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
</dd>
|
|
1755
|
-
</dl>
|
|
1756
|
-
</details>
|
|
1757
|
-
|
|
1758
|
-
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">resetPassword</a>({ ...params }) -> FiveOneEat.ResetPasswordAuthResponse</code></summary>
|
|
1759
|
-
<dl>
|
|
1760
|
-
<dd>
|
|
1761
|
-
|
|
1762
|
-
#### 📝 Description
|
|
1763
|
-
|
|
1764
|
-
<dl>
|
|
1765
|
-
<dd>
|
|
1766
|
-
|
|
1767
|
-
<dl>
|
|
1768
|
-
<dd>
|
|
1769
|
-
|
|
1770
|
-
Validates the reset token and updates the user's password. All existing API tokens
|
|
1771
|
-
are revoked after a successful reset, requiring re-authentication on all devices.
|
|
1772
|
-
</dd>
|
|
1773
|
-
</dl>
|
|
1774
|
-
</dd>
|
|
1775
|
-
</dl>
|
|
1776
|
-
|
|
1777
|
-
#### 🔌 Usage
|
|
1778
|
-
|
|
1779
|
-
<dl>
|
|
1780
|
-
<dd>
|
|
1781
|
-
|
|
1782
|
-
<dl>
|
|
1783
|
-
<dd>
|
|
1784
|
-
|
|
1785
|
-
```typescript
|
|
1786
|
-
await client.business.auth.resetPassword({
|
|
1787
|
-
token: "token",
|
|
1788
|
-
email: "email",
|
|
1789
|
-
password: "password",
|
|
1790
|
-
password_confirmation: "password_confirmation"
|
|
1791
|
-
});
|
|
1792
|
-
|
|
1793
|
-
```
|
|
1794
|
-
</dd>
|
|
1795
|
-
</dl>
|
|
1796
|
-
</dd>
|
|
1797
|
-
</dl>
|
|
1798
|
-
|
|
1799
|
-
#### ⚙️ Parameters
|
|
1800
|
-
|
|
1801
|
-
<dl>
|
|
1802
|
-
<dd>
|
|
1803
|
-
|
|
1804
|
-
<dl>
|
|
1805
|
-
<dd>
|
|
1806
|
-
|
|
1807
|
-
**request:** `FiveOneEat.business.ResetPasswordRequest`
|
|
1808
|
-
|
|
1809
|
-
</dd>
|
|
1810
|
-
</dl>
|
|
1811
|
-
|
|
1812
|
-
<dl>
|
|
1813
|
-
<dd>
|
|
1814
|
-
|
|
1815
|
-
**requestOptions:** `AuthClient.RequestOptions`
|
|
1816
|
-
|
|
1817
|
-
</dd>
|
|
1818
|
-
</dl>
|
|
1819
|
-
</dd>
|
|
1820
|
-
</dl>
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
</dd>
|
|
1824
|
-
</dl>
|
|
1825
|
-
</details>
|
|
1826
|
-
|
|
1827
|
-
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">me</a>() -> FiveOneEat.MeAuthResponse</code></summary>
|
|
1828
|
-
<dl>
|
|
1829
|
-
<dd>
|
|
1830
|
-
|
|
1831
|
-
#### 📝 Description
|
|
1832
|
-
|
|
1833
|
-
<dl>
|
|
1834
|
-
<dd>
|
|
1835
|
-
|
|
1836
|
-
<dl>
|
|
1837
|
-
<dd>
|
|
1838
|
-
|
|
1839
|
-
Retrieve the current authenticated business user with their active business and all owned businesses.
|
|
1840
|
-
</dd>
|
|
1841
|
-
</dl>
|
|
1842
|
-
</dd>
|
|
1843
|
-
</dl>
|
|
1844
|
-
|
|
1845
|
-
#### 🔌 Usage
|
|
1846
|
-
|
|
1847
|
-
<dl>
|
|
1848
|
-
<dd>
|
|
1849
|
-
|
|
1850
|
-
<dl>
|
|
1851
|
-
<dd>
|
|
1852
|
-
|
|
1853
|
-
```typescript
|
|
1854
|
-
await client.business.auth.me();
|
|
1855
|
-
|
|
1856
|
-
```
|
|
1857
|
-
</dd>
|
|
1858
|
-
</dl>
|
|
1859
|
-
</dd>
|
|
1860
|
-
</dl>
|
|
1861
|
-
|
|
1862
|
-
#### ⚙️ Parameters
|
|
1863
|
-
|
|
1864
|
-
<dl>
|
|
1865
|
-
<dd>
|
|
1866
|
-
|
|
1867
|
-
<dl>
|
|
1868
|
-
<dd>
|
|
1869
|
-
|
|
1870
|
-
**requestOptions:** `AuthClient.RequestOptions`
|
|
1871
|
-
|
|
1872
|
-
</dd>
|
|
1873
|
-
</dl>
|
|
1874
|
-
</dd>
|
|
1875
|
-
</dl>
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
</dd>
|
|
1879
|
-
</dl>
|
|
1880
|
-
</details>
|
|
1881
|
-
|
|
1882
|
-
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">logout</a>({ ...params }) -> FiveOneEat.LogoutAuthResponse</code></summary>
|
|
1883
|
-
<dl>
|
|
1884
|
-
<dd>
|
|
1885
|
-
|
|
1886
|
-
#### 📝 Description
|
|
1887
|
-
|
|
1888
|
-
<dl>
|
|
1889
|
-
<dd>
|
|
1890
|
-
|
|
1891
|
-
<dl>
|
|
1892
|
-
<dd>
|
|
1893
|
-
|
|
1894
|
-
Revoke the current API token and log out the business user.
|
|
1895
|
-
</dd>
|
|
1896
|
-
</dl>
|
|
1897
|
-
</dd>
|
|
1898
|
-
</dl>
|
|
1899
|
-
|
|
1900
|
-
#### 🔌 Usage
|
|
1901
|
-
|
|
1902
|
-
<dl>
|
|
1903
|
-
<dd>
|
|
1904
|
-
|
|
1905
|
-
<dl>
|
|
1906
|
-
<dd>
|
|
1907
|
-
|
|
1908
|
-
```typescript
|
|
1909
|
-
await client.business.auth.logout();
|
|
1910
|
-
|
|
1911
|
-
```
|
|
1912
|
-
</dd>
|
|
1913
|
-
</dl>
|
|
1914
|
-
</dd>
|
|
1915
|
-
</dl>
|
|
1916
|
-
|
|
1917
|
-
#### ⚙️ Parameters
|
|
1918
|
-
|
|
1919
|
-
<dl>
|
|
1920
|
-
<dd>
|
|
1921
|
-
|
|
1922
|
-
<dl>
|
|
1923
|
-
<dd>
|
|
1924
|
-
|
|
1925
|
-
**request:** `FiveOneEat.business.LogoutAuthRequest`
|
|
1926
|
-
|
|
1927
|
-
</dd>
|
|
1928
|
-
</dl>
|
|
1929
|
-
|
|
1930
|
-
<dl>
|
|
1931
|
-
<dd>
|
|
1932
|
-
|
|
1933
|
-
**requestOptions:** `AuthClient.RequestOptions`
|
|
1934
|
-
|
|
1935
|
-
</dd>
|
|
1936
|
-
</dl>
|
|
1937
|
-
</dd>
|
|
1938
|
-
</dl>
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
</dd>
|
|
1942
|
-
</dl>
|
|
1943
|
-
</details>
|
|
1944
|
-
|
|
1945
|
-
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">logoutAll</a>() -> FiveOneEat.LogoutAllAuthResponse</code></summary>
|
|
1946
|
-
<dl>
|
|
1947
|
-
<dd>
|
|
1948
|
-
|
|
1949
|
-
#### 📝 Description
|
|
1950
|
-
|
|
1951
|
-
<dl>
|
|
1952
|
-
<dd>
|
|
1953
|
-
|
|
1954
|
-
<dl>
|
|
1955
|
-
<dd>
|
|
1956
|
-
|
|
1957
|
-
Revoke all API tokens for the authenticated business user.
|
|
1958
|
-
</dd>
|
|
1959
|
-
</dl>
|
|
1960
|
-
</dd>
|
|
1961
|
-
</dl>
|
|
1962
|
-
|
|
1963
|
-
#### 🔌 Usage
|
|
1964
|
-
|
|
1965
|
-
<dl>
|
|
1966
|
-
<dd>
|
|
1967
|
-
|
|
1968
|
-
<dl>
|
|
1969
|
-
<dd>
|
|
1970
|
-
|
|
1971
|
-
```typescript
|
|
1972
|
-
await client.business.auth.logoutAll();
|
|
1973
|
-
|
|
1974
|
-
```
|
|
1975
|
-
</dd>
|
|
1976
|
-
</dl>
|
|
1977
|
-
</dd>
|
|
1978
|
-
</dl>
|
|
1979
|
-
|
|
1980
|
-
#### ⚙️ Parameters
|
|
1981
|
-
|
|
1982
|
-
<dl>
|
|
1983
|
-
<dd>
|
|
1984
|
-
|
|
1985
|
-
<dl>
|
|
1986
|
-
<dd>
|
|
1987
|
-
|
|
1988
|
-
**requestOptions:** `AuthClient.RequestOptions`
|
|
1989
|
-
|
|
1990
|
-
</dd>
|
|
1991
|
-
</dl>
|
|
1992
|
-
</dd>
|
|
1993
|
-
</dl>
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
</dd>
|
|
1997
|
-
</dl>
|
|
1998
|
-
</details>
|
|
1999
|
-
|
|
2000
|
-
<details><summary><code>client.business.auth.<a href="/src/api/resources/business/resources/auth/client/Client.ts">switchBusiness</a>({ ...params }) -> FiveOneEat.SwitchBusinessAuthResponse</code></summary>
|
|
2001
|
-
<dl>
|
|
2002
|
-
<dd>
|
|
2003
|
-
|
|
2004
|
-
#### 📝 Description
|
|
2005
|
-
|
|
2006
|
-
<dl>
|
|
2007
|
-
<dd>
|
|
2008
|
-
|
|
2009
|
-
<dl>
|
|
2010
|
-
<dd>
|
|
2011
|
-
|
|
2012
|
-
Set a different business as the active business for the authenticated user.
|
|
2013
|
-
</dd>
|
|
2014
|
-
</dl>
|
|
2015
|
-
</dd>
|
|
2016
|
-
</dl>
|
|
2017
|
-
|
|
2018
|
-
#### 🔌 Usage
|
|
2019
|
-
|
|
2020
|
-
<dl>
|
|
2021
|
-
<dd>
|
|
2022
|
-
|
|
2023
|
-
<dl>
|
|
2024
|
-
<dd>
|
|
2025
|
-
|
|
2026
|
-
```typescript
|
|
2027
|
-
await client.business.auth.switchBusiness({
|
|
2028
|
-
business: "business"
|
|
2029
|
-
});
|
|
2030
|
-
|
|
2031
|
-
```
|
|
2032
|
-
</dd>
|
|
2033
|
-
</dl>
|
|
2034
|
-
</dd>
|
|
2035
|
-
</dl>
|
|
2036
|
-
|
|
2037
|
-
#### ⚙️ Parameters
|
|
2038
|
-
|
|
2039
|
-
<dl>
|
|
2040
|
-
<dd>
|
|
2041
|
-
|
|
2042
|
-
<dl>
|
|
2043
|
-
<dd>
|
|
2044
|
-
|
|
2045
|
-
**request:** `FiveOneEat.business.SwitchBusinessAuthRequest`
|
|
2046
|
-
|
|
2047
|
-
</dd>
|
|
2048
|
-
</dl>
|
|
2049
|
-
|
|
2050
|
-
<dl>
|
|
2051
|
-
<dd>
|
|
2052
|
-
|
|
2053
|
-
**requestOptions:** `AuthClient.RequestOptions`
|
|
2054
|
-
|
|
2055
|
-
</dd>
|
|
2056
|
-
</dl>
|
|
2057
|
-
</dd>
|
|
2058
|
-
</dl>
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
</dd>
|
|
2062
|
-
</dl>
|
|
2063
|
-
</details>
|
|
2064
|
-
|
|
2065
|
-
## Business Bulletins
|
|
2066
|
-
<details><summary><code>client.business.bulletins.<a href="/src/api/resources/business/resources/bulletins/client/Client.ts">list</a>() -> FiveOneEat.ListBulletinsResponse</code></summary>
|
|
2067
|
-
<dl>
|
|
2068
|
-
<dd>
|
|
2069
|
-
|
|
2070
|
-
#### 🔌 Usage
|
|
2071
|
-
|
|
2072
|
-
<dl>
|
|
2073
|
-
<dd>
|
|
2074
|
-
|
|
2075
|
-
<dl>
|
|
2076
|
-
<dd>
|
|
2077
|
-
|
|
2078
|
-
```typescript
|
|
2079
|
-
await client.business.bulletins.list();
|
|
2080
|
-
|
|
2081
|
-
```
|
|
2082
|
-
</dd>
|
|
2083
|
-
</dl>
|
|
2084
|
-
</dd>
|
|
2085
|
-
</dl>
|
|
2086
|
-
|
|
2087
|
-
#### ⚙️ Parameters
|
|
2088
|
-
|
|
2089
|
-
<dl>
|
|
2090
|
-
<dd>
|
|
2091
|
-
|
|
2092
|
-
<dl>
|
|
2093
|
-
<dd>
|
|
2094
|
-
|
|
2095
|
-
**requestOptions:** `BulletinsClient.RequestOptions`
|
|
2096
|
-
|
|
2097
|
-
</dd>
|
|
2098
|
-
</dl>
|
|
2099
|
-
</dd>
|
|
2100
|
-
</dl>
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
</dd>
|
|
2104
|
-
</dl>
|
|
2105
|
-
</details>
|
|
2106
|
-
|
|
2107
|
-
<details><summary><code>client.business.bulletins.<a href="/src/api/resources/business/resources/bulletins/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateBulletinsResponse</code></summary>
|
|
2108
|
-
<dl>
|
|
2109
|
-
<dd>
|
|
2110
|
-
|
|
2111
|
-
#### 🔌 Usage
|
|
2112
|
-
|
|
2113
|
-
<dl>
|
|
2114
|
-
<dd>
|
|
2115
|
-
|
|
2116
|
-
<dl>
|
|
2117
|
-
<dd>
|
|
2118
|
-
|
|
2119
|
-
```typescript
|
|
2120
|
-
await client.business.bulletins.create({
|
|
2121
|
-
title: "title",
|
|
2122
|
-
content: "content",
|
|
2123
|
-
type: "post"
|
|
2124
|
-
});
|
|
2125
|
-
|
|
2126
|
-
```
|
|
2127
|
-
</dd>
|
|
2128
|
-
</dl>
|
|
2129
|
-
</dd>
|
|
2130
|
-
</dl>
|
|
2131
|
-
|
|
2132
|
-
#### ⚙️ Parameters
|
|
2133
|
-
|
|
2134
|
-
<dl>
|
|
2135
|
-
<dd>
|
|
2136
|
-
|
|
2137
|
-
<dl>
|
|
2138
|
-
<dd>
|
|
2139
|
-
|
|
2140
|
-
**request:** `FiveOneEat.business.StoreBulletinRequest`
|
|
2141
|
-
|
|
2142
|
-
</dd>
|
|
2143
|
-
</dl>
|
|
2144
|
-
|
|
2145
|
-
<dl>
|
|
2146
|
-
<dd>
|
|
2147
|
-
|
|
2148
|
-
**requestOptions:** `BulletinsClient.RequestOptions`
|
|
2149
|
-
|
|
2150
|
-
</dd>
|
|
2151
|
-
</dl>
|
|
2152
|
-
</dd>
|
|
2153
|
-
</dl>
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
</dd>
|
|
2157
|
-
</dl>
|
|
2158
|
-
</details>
|
|
2159
|
-
|
|
2160
|
-
<details><summary><code>client.business.bulletins.<a href="/src/api/resources/business/resources/bulletins/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetBulletinsResponse</code></summary>
|
|
2161
|
-
<dl>
|
|
2162
|
-
<dd>
|
|
2163
|
-
|
|
2164
|
-
#### 🔌 Usage
|
|
2165
|
-
|
|
2166
|
-
<dl>
|
|
2167
|
-
<dd>
|
|
2168
|
-
|
|
2169
|
-
<dl>
|
|
2170
|
-
<dd>
|
|
2171
|
-
|
|
2172
|
-
```typescript
|
|
2173
|
-
await client.business.bulletins.get({
|
|
2174
|
-
bulletin: "bulletin"
|
|
2175
|
-
});
|
|
2176
|
-
|
|
2177
|
-
```
|
|
2178
|
-
</dd>
|
|
2179
|
-
</dl>
|
|
2180
|
-
</dd>
|
|
2181
|
-
</dl>
|
|
2182
|
-
|
|
2183
|
-
#### ⚙️ Parameters
|
|
2184
|
-
|
|
2185
|
-
<dl>
|
|
2186
|
-
<dd>
|
|
2187
|
-
|
|
2188
|
-
<dl>
|
|
2189
|
-
<dd>
|
|
2190
|
-
|
|
2191
|
-
**request:** `FiveOneEat.business.GetBulletinsRequest`
|
|
2192
|
-
|
|
2193
|
-
</dd>
|
|
2194
|
-
</dl>
|
|
2195
|
-
|
|
2196
|
-
<dl>
|
|
2197
|
-
<dd>
|
|
2198
|
-
|
|
2199
|
-
**requestOptions:** `BulletinsClient.RequestOptions`
|
|
2200
|
-
|
|
2201
|
-
</dd>
|
|
2202
|
-
</dl>
|
|
2203
|
-
</dd>
|
|
2204
|
-
</dl>
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
</dd>
|
|
2208
|
-
</dl>
|
|
2209
|
-
</details>
|
|
2210
|
-
|
|
2211
|
-
<details><summary><code>client.business.bulletins.<a href="/src/api/resources/business/resources/bulletins/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateBulletinsResponse</code></summary>
|
|
2212
|
-
<dl>
|
|
2213
|
-
<dd>
|
|
2214
|
-
|
|
2215
|
-
#### 🔌 Usage
|
|
1072
|
+
#### 🔌 Usage
|
|
2216
1073
|
|
|
2217
1074
|
<dl>
|
|
2218
1075
|
<dd>
|
|
@@ -9724,11 +8581,155 @@ await client.customer.auth.logoutAll();
|
|
|
9724
8581
|
</dl>
|
|
9725
8582
|
</details>
|
|
9726
8583
|
|
|
9727
|
-
## Customer
|
|
9728
|
-
<details><summary><code>client.customer.
|
|
8584
|
+
## Customer Businesses
|
|
8585
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">profile</a>({ ...params }) -> FiveOneEat.ProfileBusinessesResponse</code></summary>
|
|
8586
|
+
<dl>
|
|
8587
|
+
<dd>
|
|
8588
|
+
|
|
8589
|
+
#### 📝 Description
|
|
8590
|
+
|
|
8591
|
+
<dl>
|
|
8592
|
+
<dd>
|
|
8593
|
+
|
|
8594
|
+
<dl>
|
|
8595
|
+
<dd>
|
|
8596
|
+
|
|
8597
|
+
Retrieve core business information for the profile page.
|
|
8598
|
+
</dd>
|
|
8599
|
+
</dl>
|
|
8600
|
+
</dd>
|
|
8601
|
+
</dl>
|
|
8602
|
+
|
|
8603
|
+
#### 🔌 Usage
|
|
8604
|
+
|
|
8605
|
+
<dl>
|
|
8606
|
+
<dd>
|
|
8607
|
+
|
|
8608
|
+
<dl>
|
|
8609
|
+
<dd>
|
|
8610
|
+
|
|
8611
|
+
```typescript
|
|
8612
|
+
await client.customer.businesses.profile({
|
|
8613
|
+
business: "katzs-deli"
|
|
8614
|
+
});
|
|
8615
|
+
|
|
8616
|
+
```
|
|
8617
|
+
</dd>
|
|
8618
|
+
</dl>
|
|
8619
|
+
</dd>
|
|
8620
|
+
</dl>
|
|
8621
|
+
|
|
8622
|
+
#### ⚙️ Parameters
|
|
8623
|
+
|
|
8624
|
+
<dl>
|
|
8625
|
+
<dd>
|
|
8626
|
+
|
|
8627
|
+
<dl>
|
|
8628
|
+
<dd>
|
|
8629
|
+
|
|
8630
|
+
**request:** `FiveOneEat.customer.ProfileBusinessesRequest`
|
|
8631
|
+
|
|
8632
|
+
</dd>
|
|
8633
|
+
</dl>
|
|
8634
|
+
|
|
8635
|
+
<dl>
|
|
8636
|
+
<dd>
|
|
8637
|
+
|
|
8638
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
8639
|
+
|
|
8640
|
+
</dd>
|
|
8641
|
+
</dl>
|
|
8642
|
+
</dd>
|
|
8643
|
+
</dl>
|
|
8644
|
+
|
|
8645
|
+
|
|
8646
|
+
</dd>
|
|
8647
|
+
</dl>
|
|
8648
|
+
</details>
|
|
8649
|
+
|
|
8650
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">menus</a>({ ...params }) -> FiveOneEat.MenusBusinessesResponse</code></summary>
|
|
8651
|
+
<dl>
|
|
8652
|
+
<dd>
|
|
8653
|
+
|
|
8654
|
+
#### 📝 Description
|
|
8655
|
+
|
|
8656
|
+
<dl>
|
|
8657
|
+
<dd>
|
|
8658
|
+
|
|
8659
|
+
<dl>
|
|
8660
|
+
<dd>
|
|
8661
|
+
|
|
8662
|
+
Retrieve all menus organized by groups for the business.
|
|
8663
|
+
</dd>
|
|
8664
|
+
</dl>
|
|
8665
|
+
</dd>
|
|
8666
|
+
</dl>
|
|
8667
|
+
|
|
8668
|
+
#### 🔌 Usage
|
|
8669
|
+
|
|
8670
|
+
<dl>
|
|
8671
|
+
<dd>
|
|
8672
|
+
|
|
8673
|
+
<dl>
|
|
8674
|
+
<dd>
|
|
8675
|
+
|
|
8676
|
+
```typescript
|
|
8677
|
+
await client.customer.businesses.menus({
|
|
8678
|
+
business: "katzs-deli"
|
|
8679
|
+
});
|
|
8680
|
+
|
|
8681
|
+
```
|
|
8682
|
+
</dd>
|
|
8683
|
+
</dl>
|
|
8684
|
+
</dd>
|
|
8685
|
+
</dl>
|
|
8686
|
+
|
|
8687
|
+
#### ⚙️ Parameters
|
|
8688
|
+
|
|
8689
|
+
<dl>
|
|
8690
|
+
<dd>
|
|
8691
|
+
|
|
8692
|
+
<dl>
|
|
8693
|
+
<dd>
|
|
8694
|
+
|
|
8695
|
+
**request:** `FiveOneEat.customer.MenusBusinessesRequest`
|
|
8696
|
+
|
|
8697
|
+
</dd>
|
|
8698
|
+
</dl>
|
|
8699
|
+
|
|
8700
|
+
<dl>
|
|
8701
|
+
<dd>
|
|
8702
|
+
|
|
8703
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
8704
|
+
|
|
8705
|
+
</dd>
|
|
8706
|
+
</dl>
|
|
8707
|
+
</dd>
|
|
8708
|
+
</dl>
|
|
8709
|
+
|
|
8710
|
+
|
|
8711
|
+
</dd>
|
|
8712
|
+
</dl>
|
|
8713
|
+
</details>
|
|
8714
|
+
|
|
8715
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">photos</a>({ ...params }) -> FiveOneEat.PhotosBusinessesResponse</code></summary>
|
|
8716
|
+
<dl>
|
|
8717
|
+
<dd>
|
|
8718
|
+
|
|
8719
|
+
#### 📝 Description
|
|
8720
|
+
|
|
8721
|
+
<dl>
|
|
8722
|
+
<dd>
|
|
8723
|
+
|
|
9729
8724
|
<dl>
|
|
9730
8725
|
<dd>
|
|
9731
8726
|
|
|
8727
|
+
Retrieve photo gallery for the business with pagination.
|
|
8728
|
+
</dd>
|
|
8729
|
+
</dl>
|
|
8730
|
+
</dd>
|
|
8731
|
+
</dl>
|
|
8732
|
+
|
|
9732
8733
|
#### 🔌 Usage
|
|
9733
8734
|
|
|
9734
8735
|
<dl>
|
|
@@ -9738,7 +8739,7 @@ await client.customer.auth.logoutAll();
|
|
|
9738
8739
|
<dd>
|
|
9739
8740
|
|
|
9740
8741
|
```typescript
|
|
9741
|
-
await client.customer.
|
|
8742
|
+
await client.customer.businesses.photos({
|
|
9742
8743
|
business: "katzs-deli"
|
|
9743
8744
|
});
|
|
9744
8745
|
|
|
@@ -9756,7 +8757,7 @@ await client.customer.cart.get({
|
|
|
9756
8757
|
<dl>
|
|
9757
8758
|
<dd>
|
|
9758
8759
|
|
|
9759
|
-
**request:** `FiveOneEat.customer.
|
|
8760
|
+
**request:** `FiveOneEat.customer.PhotosBusinessesRequest`
|
|
9760
8761
|
|
|
9761
8762
|
</dd>
|
|
9762
8763
|
</dl>
|
|
@@ -9764,7 +8765,7 @@ await client.customer.cart.get({
|
|
|
9764
8765
|
<dl>
|
|
9765
8766
|
<dd>
|
|
9766
8767
|
|
|
9767
|
-
**requestOptions:** `
|
|
8768
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
9768
8769
|
|
|
9769
8770
|
</dd>
|
|
9770
8771
|
</dl>
|
|
@@ -9776,10 +8777,24 @@ await client.customer.cart.get({
|
|
|
9776
8777
|
</dl>
|
|
9777
8778
|
</details>
|
|
9778
8779
|
|
|
9779
|
-
<details><summary><code>client.customer.
|
|
8780
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">favorite</a>({ ...params }) -> FiveOneEat.FavoriteBusinessesResponse</code></summary>
|
|
8781
|
+
<dl>
|
|
8782
|
+
<dd>
|
|
8783
|
+
|
|
8784
|
+
#### 📝 Description
|
|
8785
|
+
|
|
9780
8786
|
<dl>
|
|
9781
8787
|
<dd>
|
|
9782
8788
|
|
|
8789
|
+
<dl>
|
|
8790
|
+
<dd>
|
|
8791
|
+
|
|
8792
|
+
Add a business to the authenticated user's favorites.
|
|
8793
|
+
</dd>
|
|
8794
|
+
</dl>
|
|
8795
|
+
</dd>
|
|
8796
|
+
</dl>
|
|
8797
|
+
|
|
9783
8798
|
#### 🔌 Usage
|
|
9784
8799
|
|
|
9785
8800
|
<dl>
|
|
@@ -9789,10 +8804,8 @@ await client.customer.cart.get({
|
|
|
9789
8804
|
<dd>
|
|
9790
8805
|
|
|
9791
8806
|
```typescript
|
|
9792
|
-
await client.customer.
|
|
9793
|
-
business: "katzs-deli"
|
|
9794
|
-
product_id: 1,
|
|
9795
|
-
quantity: 1
|
|
8807
|
+
await client.customer.businesses.favorite({
|
|
8808
|
+
business: "katzs-deli"
|
|
9796
8809
|
});
|
|
9797
8810
|
|
|
9798
8811
|
```
|
|
@@ -9809,7 +8822,7 @@ await client.customer.cart.addItem({
|
|
|
9809
8822
|
<dl>
|
|
9810
8823
|
<dd>
|
|
9811
8824
|
|
|
9812
|
-
**request:** `FiveOneEat.customer.
|
|
8825
|
+
**request:** `FiveOneEat.customer.FavoriteBusinessesRequest`
|
|
9813
8826
|
|
|
9814
8827
|
</dd>
|
|
9815
8828
|
</dl>
|
|
@@ -9817,7 +8830,7 @@ await client.customer.cart.addItem({
|
|
|
9817
8830
|
<dl>
|
|
9818
8831
|
<dd>
|
|
9819
8832
|
|
|
9820
|
-
**requestOptions:** `
|
|
8833
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
9821
8834
|
|
|
9822
8835
|
</dd>
|
|
9823
8836
|
</dl>
|
|
@@ -9829,10 +8842,24 @@ await client.customer.cart.addItem({
|
|
|
9829
8842
|
</dl>
|
|
9830
8843
|
</details>
|
|
9831
8844
|
|
|
9832
|
-
<details><summary><code>client.customer.
|
|
8845
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">unfavorite</a>({ ...params }) -> Record<string, unknown></code></summary>
|
|
9833
8846
|
<dl>
|
|
9834
8847
|
<dd>
|
|
9835
8848
|
|
|
8849
|
+
#### 📝 Description
|
|
8850
|
+
|
|
8851
|
+
<dl>
|
|
8852
|
+
<dd>
|
|
8853
|
+
|
|
8854
|
+
<dl>
|
|
8855
|
+
<dd>
|
|
8856
|
+
|
|
8857
|
+
Remove a business from the authenticated user's favorites.
|
|
8858
|
+
</dd>
|
|
8859
|
+
</dl>
|
|
8860
|
+
</dd>
|
|
8861
|
+
</dl>
|
|
8862
|
+
|
|
9836
8863
|
#### 🔌 Usage
|
|
9837
8864
|
|
|
9838
8865
|
<dl>
|
|
@@ -9842,7 +8869,7 @@ await client.customer.cart.addItem({
|
|
|
9842
8869
|
<dd>
|
|
9843
8870
|
|
|
9844
8871
|
```typescript
|
|
9845
|
-
await client.customer.
|
|
8872
|
+
await client.customer.businesses.unfavorite({
|
|
9846
8873
|
business: "katzs-deli"
|
|
9847
8874
|
});
|
|
9848
8875
|
|
|
@@ -9860,7 +8887,7 @@ await client.customer.cart.clear({
|
|
|
9860
8887
|
<dl>
|
|
9861
8888
|
<dd>
|
|
9862
8889
|
|
|
9863
|
-
**request:** `FiveOneEat.customer.
|
|
8890
|
+
**request:** `FiveOneEat.customer.UnfavoriteBusinessesRequest`
|
|
9864
8891
|
|
|
9865
8892
|
</dd>
|
|
9866
8893
|
</dl>
|
|
@@ -9868,7 +8895,7 @@ await client.customer.cart.clear({
|
|
|
9868
8895
|
<dl>
|
|
9869
8896
|
<dd>
|
|
9870
8897
|
|
|
9871
|
-
**requestOptions:** `
|
|
8898
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
9872
8899
|
|
|
9873
8900
|
</dd>
|
|
9874
8901
|
</dl>
|
|
@@ -9880,7 +8907,7 @@ await client.customer.cart.clear({
|
|
|
9880
8907
|
</dl>
|
|
9881
8908
|
</details>
|
|
9882
8909
|
|
|
9883
|
-
<details><summary><code>client.customer.
|
|
8910
|
+
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">listTemporaryLocations</a>({ ...params }) -> FiveOneEat.ListTemporaryLocationsBusinessesResponse</code></summary>
|
|
9884
8911
|
<dl>
|
|
9885
8912
|
<dd>
|
|
9886
8913
|
|
|
@@ -9892,7 +8919,7 @@ await client.customer.cart.clear({
|
|
|
9892
8919
|
<dl>
|
|
9893
8920
|
<dd>
|
|
9894
8921
|
|
|
9895
|
-
|
|
8922
|
+
Retrieve active and upcoming temporary locations for a business.
|
|
9896
8923
|
</dd>
|
|
9897
8924
|
</dl>
|
|
9898
8925
|
</dd>
|
|
@@ -9907,15 +8934,8 @@ Returns client_secret, price breakdown, and tax calculation for use with Stripe
|
|
|
9907
8934
|
<dd>
|
|
9908
8935
|
|
|
9909
8936
|
```typescript
|
|
9910
|
-
await client.customer.
|
|
9911
|
-
business: "katzs-deli"
|
|
9912
|
-
billing_address: {
|
|
9913
|
-
line1: "line1",
|
|
9914
|
-
city: "city",
|
|
9915
|
-
state: "state",
|
|
9916
|
-
postal_code: "postal_code",
|
|
9917
|
-
country: "country"
|
|
9918
|
-
}
|
|
8937
|
+
await client.customer.businesses.listTemporaryLocations({
|
|
8938
|
+
business: "katzs-deli"
|
|
9919
8939
|
});
|
|
9920
8940
|
|
|
9921
8941
|
```
|
|
@@ -9932,7 +8952,7 @@ await client.customer.cart.createPaymentIntent({
|
|
|
9932
8952
|
<dl>
|
|
9933
8953
|
<dd>
|
|
9934
8954
|
|
|
9935
|
-
**request:** `FiveOneEat.customer.
|
|
8955
|
+
**request:** `FiveOneEat.customer.ListTemporaryLocationsBusinessesRequest`
|
|
9936
8956
|
|
|
9937
8957
|
</dd>
|
|
9938
8958
|
</dl>
|
|
@@ -9940,7 +8960,7 @@ await client.customer.cart.createPaymentIntent({
|
|
|
9940
8960
|
<dl>
|
|
9941
8961
|
<dd>
|
|
9942
8962
|
|
|
9943
|
-
**requestOptions:** `
|
|
8963
|
+
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
9944
8964
|
|
|
9945
8965
|
</dd>
|
|
9946
8966
|
</dl>
|
|
@@ -9952,25 +8972,11 @@ await client.customer.cart.createPaymentIntent({
|
|
|
9952
8972
|
</dl>
|
|
9953
8973
|
</details>
|
|
9954
8974
|
|
|
9955
|
-
|
|
9956
|
-
<
|
|
9957
|
-
<dd>
|
|
9958
|
-
|
|
9959
|
-
#### 📝 Description
|
|
9960
|
-
|
|
9961
|
-
<dl>
|
|
9962
|
-
<dd>
|
|
9963
|
-
|
|
8975
|
+
## Customer Cart
|
|
8976
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetCartResponse</code></summary>
|
|
9964
8977
|
<dl>
|
|
9965
8978
|
<dd>
|
|
9966
8979
|
|
|
9967
|
-
Verifies the Stripe payment intent, creates the order, decrements inventory,
|
|
9968
|
-
clears the cart, and dispatches order confirmation notifications.
|
|
9969
|
-
</dd>
|
|
9970
|
-
</dl>
|
|
9971
|
-
</dd>
|
|
9972
|
-
</dl>
|
|
9973
|
-
|
|
9974
8980
|
#### 🔌 Usage
|
|
9975
8981
|
|
|
9976
8982
|
<dl>
|
|
@@ -9980,16 +8986,8 @@ clears the cart, and dispatches order confirmation notifications.
|
|
|
9980
8986
|
<dd>
|
|
9981
8987
|
|
|
9982
8988
|
```typescript
|
|
9983
|
-
await client.customer.cart.
|
|
9984
|
-
business: "katzs-deli"
|
|
9985
|
-
payment_intent_id: "payment_intent_id",
|
|
9986
|
-
billing_address: {
|
|
9987
|
-
line1: "line1",
|
|
9988
|
-
city: "city",
|
|
9989
|
-
state: "state",
|
|
9990
|
-
postal_code: "postal_code",
|
|
9991
|
-
country: "country"
|
|
9992
|
-
}
|
|
8989
|
+
await client.customer.cart.get({
|
|
8990
|
+
business: "katzs-deli"
|
|
9993
8991
|
});
|
|
9994
8992
|
|
|
9995
8993
|
```
|
|
@@ -10006,7 +9004,7 @@ await client.customer.cart.checkout({
|
|
|
10006
9004
|
<dl>
|
|
10007
9005
|
<dd>
|
|
10008
9006
|
|
|
10009
|
-
**request:** `FiveOneEat.customer.
|
|
9007
|
+
**request:** `FiveOneEat.customer.GetCartRequest`
|
|
10010
9008
|
|
|
10011
9009
|
</dd>
|
|
10012
9010
|
</dl>
|
|
@@ -10026,7 +9024,7 @@ await client.customer.cart.checkout({
|
|
|
10026
9024
|
</dl>
|
|
10027
9025
|
</details>
|
|
10028
9026
|
|
|
10029
|
-
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">
|
|
9027
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">addItem</a>({ ...params }) -> FiveOneEat.AddItemCartResponse</code></summary>
|
|
10030
9028
|
<dl>
|
|
10031
9029
|
<dd>
|
|
10032
9030
|
|
|
@@ -10039,8 +9037,9 @@ await client.customer.cart.checkout({
|
|
|
10039
9037
|
<dd>
|
|
10040
9038
|
|
|
10041
9039
|
```typescript
|
|
10042
|
-
await client.customer.cart.
|
|
10043
|
-
|
|
9040
|
+
await client.customer.cart.addItem({
|
|
9041
|
+
business: "katzs-deli",
|
|
9042
|
+
product_id: 1,
|
|
10044
9043
|
quantity: 1
|
|
10045
9044
|
});
|
|
10046
9045
|
|
|
@@ -10058,7 +9057,7 @@ await client.customer.cart.updateItem({
|
|
|
10058
9057
|
<dl>
|
|
10059
9058
|
<dd>
|
|
10060
9059
|
|
|
10061
|
-
**request:** `FiveOneEat.customer.
|
|
9060
|
+
**request:** `FiveOneEat.customer.AddToCartRequest`
|
|
10062
9061
|
|
|
10063
9062
|
</dd>
|
|
10064
9063
|
</dl>
|
|
@@ -10078,7 +9077,7 @@ await client.customer.cart.updateItem({
|
|
|
10078
9077
|
</dl>
|
|
10079
9078
|
</details>
|
|
10080
9079
|
|
|
10081
|
-
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">
|
|
9080
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">clear</a>({ ...params }) -> FiveOneEat.ClearCartResponse</code></summary>
|
|
10082
9081
|
<dl>
|
|
10083
9082
|
<dd>
|
|
10084
9083
|
|
|
@@ -10091,8 +9090,8 @@ await client.customer.cart.updateItem({
|
|
|
10091
9090
|
<dd>
|
|
10092
9091
|
|
|
10093
9092
|
```typescript
|
|
10094
|
-
await client.customer.cart.
|
|
10095
|
-
|
|
9093
|
+
await client.customer.cart.clear({
|
|
9094
|
+
business: "katzs-deli"
|
|
10096
9095
|
});
|
|
10097
9096
|
|
|
10098
9097
|
```
|
|
@@ -10109,7 +9108,7 @@ await client.customer.cart.removeItem({
|
|
|
10109
9108
|
<dl>
|
|
10110
9109
|
<dd>
|
|
10111
9110
|
|
|
10112
|
-
**request:** `FiveOneEat.customer.
|
|
9111
|
+
**request:** `FiveOneEat.customer.ClearCartRequest`
|
|
10113
9112
|
|
|
10114
9113
|
</dd>
|
|
10115
9114
|
</dl>
|
|
@@ -10129,8 +9128,7 @@ await client.customer.cart.removeItem({
|
|
|
10129
9128
|
</dl>
|
|
10130
9129
|
</details>
|
|
10131
9130
|
|
|
10132
|
-
|
|
10133
|
-
<details><summary><code>client.customer.explore.<a href="/src/api/resources/customer/resources/explore/client/Client.ts">businesses</a>({ ...params }) -> FiveOneEat.BusinessesExploreResponse</code></summary>
|
|
9131
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">createPaymentIntent</a>({ ...params }) -> FiveOneEat.CreatePaymentIntentCartResponse</code></summary>
|
|
10134
9132
|
<dl>
|
|
10135
9133
|
<dd>
|
|
10136
9134
|
|
|
@@ -10142,8 +9140,7 @@ await client.customer.cart.removeItem({
|
|
|
10142
9140
|
<dl>
|
|
10143
9141
|
<dd>
|
|
10144
9142
|
|
|
10145
|
-
|
|
10146
|
-
Results are optimized for map display with essential business information.
|
|
9143
|
+
Returns client_secret, price breakdown, and tax calculation for use with Stripe SDK.
|
|
10147
9144
|
</dd>
|
|
10148
9145
|
</dl>
|
|
10149
9146
|
</dd>
|
|
@@ -10158,8 +9155,15 @@ Results are optimized for map display with essential business information.
|
|
|
10158
9155
|
<dd>
|
|
10159
9156
|
|
|
10160
9157
|
```typescript
|
|
10161
|
-
await client.customer.
|
|
10162
|
-
|
|
9158
|
+
await client.customer.cart.createPaymentIntent({
|
|
9159
|
+
business: "katzs-deli",
|
|
9160
|
+
billing_address: {
|
|
9161
|
+
line1: "line1",
|
|
9162
|
+
city: "city",
|
|
9163
|
+
state: "state",
|
|
9164
|
+
postal_code: "postal_code",
|
|
9165
|
+
country: "country"
|
|
9166
|
+
}
|
|
10163
9167
|
});
|
|
10164
9168
|
|
|
10165
9169
|
```
|
|
@@ -10176,7 +9180,7 @@ await client.customer.explore.businesses({
|
|
|
10176
9180
|
<dl>
|
|
10177
9181
|
<dd>
|
|
10178
9182
|
|
|
10179
|
-
**request:** `FiveOneEat.customer.
|
|
9183
|
+
**request:** `FiveOneEat.customer.CreatePaymentIntentRequest`
|
|
10180
9184
|
|
|
10181
9185
|
</dd>
|
|
10182
9186
|
</dl>
|
|
@@ -10184,7 +9188,7 @@ await client.customer.explore.businesses({
|
|
|
10184
9188
|
<dl>
|
|
10185
9189
|
<dd>
|
|
10186
9190
|
|
|
10187
|
-
**requestOptions:** `
|
|
9191
|
+
**requestOptions:** `CartClient.RequestOptions`
|
|
10188
9192
|
|
|
10189
9193
|
</dd>
|
|
10190
9194
|
</dl>
|
|
@@ -10196,8 +9200,7 @@ await client.customer.explore.businesses({
|
|
|
10196
9200
|
</dl>
|
|
10197
9201
|
</details>
|
|
10198
9202
|
|
|
10199
|
-
|
|
10200
|
-
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">feed</a>({ ...params }) -> FiveOneEat.DiscoveryFeed</code></summary>
|
|
9203
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">checkout</a>({ ...params }) -> FiveOneEat.CheckoutCartResponse</code></summary>
|
|
10201
9204
|
<dl>
|
|
10202
9205
|
<dd>
|
|
10203
9206
|
|
|
@@ -10209,9 +9212,8 @@ await client.customer.explore.businesses({
|
|
|
10209
9212
|
<dl>
|
|
10210
9213
|
<dd>
|
|
10211
9214
|
|
|
10212
|
-
|
|
10213
|
-
|
|
10214
|
-
Supports optional filtering by search term, cuisines, and certifications.
|
|
9215
|
+
Verifies the Stripe payment intent, creates the order, decrements inventory,
|
|
9216
|
+
clears the cart, and dispatches order confirmation notifications.
|
|
10215
9217
|
</dd>
|
|
10216
9218
|
</dl>
|
|
10217
9219
|
</dd>
|
|
@@ -10226,8 +9228,16 @@ Supports optional filtering by search term, cuisines, and certifications.
|
|
|
10226
9228
|
<dd>
|
|
10227
9229
|
|
|
10228
9230
|
```typescript
|
|
10229
|
-
await client.customer.
|
|
10230
|
-
|
|
9231
|
+
await client.customer.cart.checkout({
|
|
9232
|
+
business: "katzs-deli",
|
|
9233
|
+
payment_intent_id: "payment_intent_id",
|
|
9234
|
+
billing_address: {
|
|
9235
|
+
line1: "line1",
|
|
9236
|
+
city: "city",
|
|
9237
|
+
state: "state",
|
|
9238
|
+
postal_code: "postal_code",
|
|
9239
|
+
country: "country"
|
|
9240
|
+
}
|
|
10231
9241
|
});
|
|
10232
9242
|
|
|
10233
9243
|
```
|
|
@@ -10244,7 +9254,7 @@ await client.customer.discovery.feed({
|
|
|
10244
9254
|
<dl>
|
|
10245
9255
|
<dd>
|
|
10246
9256
|
|
|
10247
|
-
**request:** `FiveOneEat.customer.
|
|
9257
|
+
**request:** `FiveOneEat.customer.CheckoutRequest`
|
|
10248
9258
|
|
|
10249
9259
|
</dd>
|
|
10250
9260
|
</dl>
|
|
@@ -10252,7 +9262,7 @@ await client.customer.discovery.feed({
|
|
|
10252
9262
|
<dl>
|
|
10253
9263
|
<dd>
|
|
10254
9264
|
|
|
10255
|
-
**requestOptions:** `
|
|
9265
|
+
**requestOptions:** `CartClient.RequestOptions`
|
|
10256
9266
|
|
|
10257
9267
|
</dd>
|
|
10258
9268
|
</dl>
|
|
@@ -10264,11 +9274,11 @@ await client.customer.discovery.feed({
|
|
|
10264
9274
|
</dl>
|
|
10265
9275
|
</details>
|
|
10266
9276
|
|
|
10267
|
-
<details><summary><code>client.customer.
|
|
9277
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">updateItem</a>({ ...params }) -> FiveOneEat.UpdateItemCartResponse</code></summary>
|
|
10268
9278
|
<dl>
|
|
10269
9279
|
<dd>
|
|
10270
9280
|
|
|
10271
|
-
####
|
|
9281
|
+
#### 🔌 Usage
|
|
10272
9282
|
|
|
10273
9283
|
<dl>
|
|
10274
9284
|
<dd>
|
|
@@ -10276,15 +9286,19 @@ await client.customer.discovery.feed({
|
|
|
10276
9286
|
<dl>
|
|
10277
9287
|
<dd>
|
|
10278
9288
|
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
9289
|
+
```typescript
|
|
9290
|
+
await client.customer.cart.updateItem({
|
|
9291
|
+
cartItem: "cartItem",
|
|
9292
|
+
quantity: 1
|
|
9293
|
+
});
|
|
9294
|
+
|
|
9295
|
+
```
|
|
10282
9296
|
</dd>
|
|
10283
9297
|
</dl>
|
|
10284
9298
|
</dd>
|
|
10285
9299
|
</dl>
|
|
10286
9300
|
|
|
10287
|
-
####
|
|
9301
|
+
#### ⚙️ Parameters
|
|
10288
9302
|
|
|
10289
9303
|
<dl>
|
|
10290
9304
|
<dd>
|
|
@@ -10292,24 +9306,15 @@ to be extended with additional sections (e.g. editorial, trending) over time.
|
|
|
10292
9306
|
<dl>
|
|
10293
9307
|
<dd>
|
|
10294
9308
|
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
```
|
|
10299
|
-
</dd>
|
|
10300
|
-
</dl>
|
|
9309
|
+
**request:** `FiveOneEat.customer.UpdateCartItemRequest`
|
|
9310
|
+
|
|
10301
9311
|
</dd>
|
|
10302
9312
|
</dl>
|
|
10303
9313
|
|
|
10304
|
-
#### ⚙️ Parameters
|
|
10305
|
-
|
|
10306
|
-
<dl>
|
|
10307
|
-
<dd>
|
|
10308
|
-
|
|
10309
9314
|
<dl>
|
|
10310
9315
|
<dd>
|
|
10311
9316
|
|
|
10312
|
-
**requestOptions:** `
|
|
9317
|
+
**requestOptions:** `CartClient.RequestOptions`
|
|
10313
9318
|
|
|
10314
9319
|
</dd>
|
|
10315
9320
|
</dl>
|
|
@@ -10321,25 +9326,10 @@ await client.customer.discovery.highlights();
|
|
|
10321
9326
|
</dl>
|
|
10322
9327
|
</details>
|
|
10323
9328
|
|
|
10324
|
-
<details><summary><code>client.customer.
|
|
10325
|
-
<dl>
|
|
10326
|
-
<dd>
|
|
10327
|
-
|
|
10328
|
-
#### 📝 Description
|
|
10329
|
-
|
|
10330
|
-
<dl>
|
|
10331
|
-
<dd>
|
|
10332
|
-
|
|
9329
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">removeItem</a>({ ...params }) -> FiveOneEat.RemoveItemCartResponse</code></summary>
|
|
10333
9330
|
<dl>
|
|
10334
9331
|
<dd>
|
|
10335
9332
|
|
|
10336
|
-
Retrieve a list of all business categories with their business counts.
|
|
10337
|
-
This endpoint is used to populate category filters and navigation.
|
|
10338
|
-
</dd>
|
|
10339
|
-
</dl>
|
|
10340
|
-
</dd>
|
|
10341
|
-
</dl>
|
|
10342
|
-
|
|
10343
9333
|
#### 🔌 Usage
|
|
10344
9334
|
|
|
10345
9335
|
<dl>
|
|
@@ -10349,7 +9339,9 @@ This endpoint is used to populate category filters and navigation.
|
|
|
10349
9339
|
<dd>
|
|
10350
9340
|
|
|
10351
9341
|
```typescript
|
|
10352
|
-
await client.customer.
|
|
9342
|
+
await client.customer.cart.removeItem({
|
|
9343
|
+
cartItem: "cartItem"
|
|
9344
|
+
});
|
|
10353
9345
|
|
|
10354
9346
|
```
|
|
10355
9347
|
</dd>
|
|
@@ -10365,7 +9357,7 @@ await client.customer.discovery.categories();
|
|
|
10365
9357
|
<dl>
|
|
10366
9358
|
<dd>
|
|
10367
9359
|
|
|
10368
|
-
**request:** `FiveOneEat.customer.
|
|
9360
|
+
**request:** `FiveOneEat.customer.RemoveItemCartRequest`
|
|
10369
9361
|
|
|
10370
9362
|
</dd>
|
|
10371
9363
|
</dl>
|
|
@@ -10373,7 +9365,7 @@ await client.customer.discovery.categories();
|
|
|
10373
9365
|
<dl>
|
|
10374
9366
|
<dd>
|
|
10375
9367
|
|
|
10376
|
-
**requestOptions:** `
|
|
9368
|
+
**requestOptions:** `CartClient.RequestOptions`
|
|
10377
9369
|
|
|
10378
9370
|
</dd>
|
|
10379
9371
|
</dl>
|
|
@@ -10385,7 +9377,8 @@ await client.customer.discovery.categories();
|
|
|
10385
9377
|
</dl>
|
|
10386
9378
|
</details>
|
|
10387
9379
|
|
|
10388
|
-
|
|
9380
|
+
## Customer Explore
|
|
9381
|
+
<details><summary><code>client.customer.explore.<a href="/src/api/resources/customer/resources/explore/client/Client.ts">businesses</a>({ ...params }) -> FiveOneEat.BusinessesExploreResponse</code></summary>
|
|
10389
9382
|
<dl>
|
|
10390
9383
|
<dd>
|
|
10391
9384
|
|
|
@@ -10397,8 +9390,8 @@ await client.customer.discovery.categories();
|
|
|
10397
9390
|
<dl>
|
|
10398
9391
|
<dd>
|
|
10399
9392
|
|
|
10400
|
-
Retrieve
|
|
10401
|
-
|
|
9393
|
+
Retrieve businesses within the specified map bounds for map view.
|
|
9394
|
+
Results are optimized for map display with essential business information.
|
|
10402
9395
|
</dd>
|
|
10403
9396
|
</dl>
|
|
10404
9397
|
</dd>
|
|
@@ -10413,7 +9406,9 @@ This endpoint is used to populate cuisine filters.
|
|
|
10413
9406
|
<dd>
|
|
10414
9407
|
|
|
10415
9408
|
```typescript
|
|
10416
|
-
await client.customer.
|
|
9409
|
+
await client.customer.explore.businesses({
|
|
9410
|
+
bounds: "43.5000,42.5000,-73.5000,-76.5000"
|
|
9411
|
+
});
|
|
10417
9412
|
|
|
10418
9413
|
```
|
|
10419
9414
|
</dd>
|
|
@@ -10429,7 +9424,15 @@ await client.customer.discovery.cuisines();
|
|
|
10429
9424
|
<dl>
|
|
10430
9425
|
<dd>
|
|
10431
9426
|
|
|
10432
|
-
**
|
|
9427
|
+
**request:** `FiveOneEat.customer.BusinessesExploreRequest`
|
|
9428
|
+
|
|
9429
|
+
</dd>
|
|
9430
|
+
</dl>
|
|
9431
|
+
|
|
9432
|
+
<dl>
|
|
9433
|
+
<dd>
|
|
9434
|
+
|
|
9435
|
+
**requestOptions:** `ExploreClient.RequestOptions`
|
|
10433
9436
|
|
|
10434
9437
|
</dd>
|
|
10435
9438
|
</dl>
|
|
@@ -10441,7 +9444,8 @@ await client.customer.discovery.cuisines();
|
|
|
10441
9444
|
</dl>
|
|
10442
9445
|
</details>
|
|
10443
9446
|
|
|
10444
|
-
|
|
9447
|
+
## Customer Discovery
|
|
9448
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">feed</a>({ ...params }) -> FiveOneEat.DiscoveryFeed</code></summary>
|
|
10445
9449
|
<dl>
|
|
10446
9450
|
<dd>
|
|
10447
9451
|
|
|
@@ -10453,8 +9457,9 @@ await client.customer.discovery.cuisines();
|
|
|
10453
9457
|
<dl>
|
|
10454
9458
|
<dd>
|
|
10455
9459
|
|
|
10456
|
-
|
|
10457
|
-
|
|
9460
|
+
Returns a paginated list of populated business categories, each with up to 10 businesses
|
|
9461
|
+
embedded. Use `total_businesses` to link to the full paginated category view.
|
|
9462
|
+
Supports optional filtering by search term, cuisines, and certifications.
|
|
10458
9463
|
</dd>
|
|
10459
9464
|
</dl>
|
|
10460
9465
|
</dd>
|
|
@@ -10469,7 +9474,9 @@ This endpoint is used to populate certification filters.
|
|
|
10469
9474
|
<dd>
|
|
10470
9475
|
|
|
10471
9476
|
```typescript
|
|
10472
|
-
await client.customer.discovery.
|
|
9477
|
+
await client.customer.discovery.feed({
|
|
9478
|
+
search: "organic"
|
|
9479
|
+
});
|
|
10473
9480
|
|
|
10474
9481
|
```
|
|
10475
9482
|
</dd>
|
|
@@ -10485,6 +9492,14 @@ await client.customer.discovery.certifications();
|
|
|
10485
9492
|
<dl>
|
|
10486
9493
|
<dd>
|
|
10487
9494
|
|
|
9495
|
+
**request:** `FiveOneEat.customer.FeedDiscoveryRequest`
|
|
9496
|
+
|
|
9497
|
+
</dd>
|
|
9498
|
+
</dl>
|
|
9499
|
+
|
|
9500
|
+
<dl>
|
|
9501
|
+
<dd>
|
|
9502
|
+
|
|
10488
9503
|
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10489
9504
|
|
|
10490
9505
|
</dd>
|
|
@@ -10497,7 +9512,7 @@ await client.customer.discovery.certifications();
|
|
|
10497
9512
|
</dl>
|
|
10498
9513
|
</details>
|
|
10499
9514
|
|
|
10500
|
-
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">
|
|
9515
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">highlights</a>() -> FiveOneEat.DiscoveryHighlights</code></summary>
|
|
10501
9516
|
<dl>
|
|
10502
9517
|
<dd>
|
|
10503
9518
|
|
|
@@ -10509,8 +9524,9 @@ await client.customer.discovery.certifications();
|
|
|
10509
9524
|
<dl>
|
|
10510
9525
|
<dd>
|
|
10511
9526
|
|
|
10512
|
-
|
|
10513
|
-
|
|
9527
|
+
Returns curated sections of businesses for the discovery home screen,
|
|
9528
|
+
including staff picks and founding partners. This endpoint is designed
|
|
9529
|
+
to be extended with additional sections (e.g. editorial, trending) over time.
|
|
10514
9530
|
</dd>
|
|
10515
9531
|
</dl>
|
|
10516
9532
|
</dd>
|
|
@@ -10525,7 +9541,7 @@ filters, labels, and other customer-facing display.
|
|
|
10525
9541
|
<dd>
|
|
10526
9542
|
|
|
10527
9543
|
```typescript
|
|
10528
|
-
await client.customer.discovery.
|
|
9544
|
+
await client.customer.discovery.highlights();
|
|
10529
9545
|
|
|
10530
9546
|
```
|
|
10531
9547
|
</dd>
|
|
@@ -10553,7 +9569,7 @@ await client.customer.discovery.allergens();
|
|
|
10553
9569
|
</dl>
|
|
10554
9570
|
</details>
|
|
10555
9571
|
|
|
10556
|
-
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">
|
|
9572
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">categories</a>({ ...params }) -> FiveOneEat.CategoriesDiscoveryResponse</code></summary>
|
|
10557
9573
|
<dl>
|
|
10558
9574
|
<dd>
|
|
10559
9575
|
|
|
@@ -10565,8 +9581,8 @@ await client.customer.discovery.allergens();
|
|
|
10565
9581
|
<dl>
|
|
10566
9582
|
<dd>
|
|
10567
9583
|
|
|
10568
|
-
Retrieve
|
|
10569
|
-
|
|
9584
|
+
Retrieve a list of all business categories with their business counts.
|
|
9585
|
+
This endpoint is used to populate category filters and navigation.
|
|
10570
9586
|
</dd>
|
|
10571
9587
|
</dl>
|
|
10572
9588
|
</dd>
|
|
@@ -10581,10 +9597,7 @@ Results are optimized for list display.
|
|
|
10581
9597
|
<dd>
|
|
10582
9598
|
|
|
10583
9599
|
```typescript
|
|
10584
|
-
await client.customer.discovery.
|
|
10585
|
-
category: "restaurant",
|
|
10586
|
-
search: "coffee"
|
|
10587
|
-
});
|
|
9600
|
+
await client.customer.discovery.categories();
|
|
10588
9601
|
|
|
10589
9602
|
```
|
|
10590
9603
|
</dd>
|
|
@@ -10600,7 +9613,7 @@ await client.customer.discovery.categoryBusinesses({
|
|
|
10600
9613
|
<dl>
|
|
10601
9614
|
<dd>
|
|
10602
9615
|
|
|
10603
|
-
**request:** `FiveOneEat.customer.
|
|
9616
|
+
**request:** `FiveOneEat.customer.CategoriesDiscoveryRequest`
|
|
10604
9617
|
|
|
10605
9618
|
</dd>
|
|
10606
9619
|
</dl>
|
|
@@ -10620,8 +9633,7 @@ await client.customer.discovery.categoryBusinesses({
|
|
|
10620
9633
|
</dl>
|
|
10621
9634
|
</details>
|
|
10622
9635
|
|
|
10623
|
-
|
|
10624
|
-
<details><summary><code>client.customer.editorials.<a href="/src/api/resources/customer/resources/editorials/client/Client.ts">list</a>() -> FiveOneEat.ListEditorialsResponse</code></summary>
|
|
9636
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">cuisines</a>() -> FiveOneEat.CuisinesDiscoveryResponse</code></summary>
|
|
10625
9637
|
<dl>
|
|
10626
9638
|
<dd>
|
|
10627
9639
|
|
|
@@ -10633,7 +9645,8 @@ await client.customer.discovery.categoryBusinesses({
|
|
|
10633
9645
|
<dl>
|
|
10634
9646
|
<dd>
|
|
10635
9647
|
|
|
10636
|
-
|
|
9648
|
+
Retrieve a list of all cuisines, ordered alphabetically.
|
|
9649
|
+
This endpoint is used to populate cuisine filters.
|
|
10637
9650
|
</dd>
|
|
10638
9651
|
</dl>
|
|
10639
9652
|
</dd>
|
|
@@ -10648,7 +9661,7 @@ Returns a paginated list of published editorials with basic business info.
|
|
|
10648
9661
|
<dd>
|
|
10649
9662
|
|
|
10650
9663
|
```typescript
|
|
10651
|
-
await client.customer.
|
|
9664
|
+
await client.customer.discovery.cuisines();
|
|
10652
9665
|
|
|
10653
9666
|
```
|
|
10654
9667
|
</dd>
|
|
@@ -10664,7 +9677,7 @@ await client.customer.editorials.list();
|
|
|
10664
9677
|
<dl>
|
|
10665
9678
|
<dd>
|
|
10666
9679
|
|
|
10667
|
-
**requestOptions:** `
|
|
9680
|
+
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10668
9681
|
|
|
10669
9682
|
</dd>
|
|
10670
9683
|
</dl>
|
|
@@ -10676,7 +9689,7 @@ await client.customer.editorials.list();
|
|
|
10676
9689
|
</dl>
|
|
10677
9690
|
</details>
|
|
10678
9691
|
|
|
10679
|
-
<details><summary><code>client.customer.
|
|
9692
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">certifications</a>() -> FiveOneEat.CertificationsDiscoveryResponse</code></summary>
|
|
10680
9693
|
<dl>
|
|
10681
9694
|
<dd>
|
|
10682
9695
|
|
|
@@ -10688,8 +9701,8 @@ await client.customer.editorials.list();
|
|
|
10688
9701
|
<dl>
|
|
10689
9702
|
<dd>
|
|
10690
9703
|
|
|
10691
|
-
|
|
10692
|
-
|
|
9704
|
+
Retrieve a list of all certifications, ordered alphabetically.
|
|
9705
|
+
This endpoint is used to populate certification filters.
|
|
10693
9706
|
</dd>
|
|
10694
9707
|
</dl>
|
|
10695
9708
|
</dd>
|
|
@@ -10704,9 +9717,7 @@ including resolved menu item, product, and event references.
|
|
|
10704
9717
|
<dd>
|
|
10705
9718
|
|
|
10706
9719
|
```typescript
|
|
10707
|
-
await client.customer.
|
|
10708
|
-
slug: "slug"
|
|
10709
|
-
});
|
|
9720
|
+
await client.customer.discovery.certifications();
|
|
10710
9721
|
|
|
10711
9722
|
```
|
|
10712
9723
|
</dd>
|
|
@@ -10722,15 +9733,7 @@ await client.customer.editorials.get({
|
|
|
10722
9733
|
<dl>
|
|
10723
9734
|
<dd>
|
|
10724
9735
|
|
|
10725
|
-
**
|
|
10726
|
-
|
|
10727
|
-
</dd>
|
|
10728
|
-
</dl>
|
|
10729
|
-
|
|
10730
|
-
<dl>
|
|
10731
|
-
<dd>
|
|
10732
|
-
|
|
10733
|
-
**requestOptions:** `EditorialsClient.RequestOptions`
|
|
9736
|
+
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10734
9737
|
|
|
10735
9738
|
</dd>
|
|
10736
9739
|
</dl>
|
|
@@ -10742,8 +9745,7 @@ await client.customer.editorials.get({
|
|
|
10742
9745
|
</dl>
|
|
10743
9746
|
</details>
|
|
10744
9747
|
|
|
10745
|
-
|
|
10746
|
-
<details><summary><code>client.customer.events.<a href="/src/api/resources/customer/resources/events/client/Client.ts">feed</a>({ ...params }) -> FiveOneEat.FeedEventsResponse</code></summary>
|
|
9748
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">allergens</a>() -> FiveOneEat.AllergensDiscoveryResponse</code></summary>
|
|
10747
9749
|
<dl>
|
|
10748
9750
|
<dd>
|
|
10749
9751
|
|
|
@@ -10755,9 +9757,8 @@ await client.customer.editorials.get({
|
|
|
10755
9757
|
<dl>
|
|
10756
9758
|
<dd>
|
|
10757
9759
|
|
|
10758
|
-
Retrieve a
|
|
10759
|
-
|
|
10760
|
-
Optionally filter by a date range using date_from and date_to.
|
|
9760
|
+
Retrieve a list of all allergens, ordered alphabetically, for use in
|
|
9761
|
+
filters, labels, and other customer-facing display.
|
|
10761
9762
|
</dd>
|
|
10762
9763
|
</dl>
|
|
10763
9764
|
</dd>
|
|
@@ -10772,10 +9773,7 @@ Optionally filter by a date range using date_from and date_to.
|
|
|
10772
9773
|
<dd>
|
|
10773
9774
|
|
|
10774
9775
|
```typescript
|
|
10775
|
-
await client.customer.
|
|
10776
|
-
date_from: "2026-05-01",
|
|
10777
|
-
date_to: "2026-05-31"
|
|
10778
|
-
});
|
|
9776
|
+
await client.customer.discovery.allergens();
|
|
10779
9777
|
|
|
10780
9778
|
```
|
|
10781
9779
|
</dd>
|
|
@@ -10791,15 +9789,7 @@ await client.customer.events.feed({
|
|
|
10791
9789
|
<dl>
|
|
10792
9790
|
<dd>
|
|
10793
9791
|
|
|
10794
|
-
**
|
|
10795
|
-
|
|
10796
|
-
</dd>
|
|
10797
|
-
</dl>
|
|
10798
|
-
|
|
10799
|
-
<dl>
|
|
10800
|
-
<dd>
|
|
10801
|
-
|
|
10802
|
-
**requestOptions:** `EventsClient.RequestOptions`
|
|
9792
|
+
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10803
9793
|
|
|
10804
9794
|
</dd>
|
|
10805
9795
|
</dl>
|
|
@@ -10811,8 +9801,7 @@ await client.customer.events.feed({
|
|
|
10811
9801
|
</dl>
|
|
10812
9802
|
</details>
|
|
10813
9803
|
|
|
10814
|
-
|
|
10815
|
-
<details><summary><code>client.customer.messaging.<a href="/src/api/resources/customer/resources/messaging/client/Client.ts">channelAuth</a>({ ...params }) -> number</code></summary>
|
|
9804
|
+
<details><summary><code>client.customer.discovery.<a href="/src/api/resources/customer/resources/discovery/client/Client.ts">categoryBusinesses</a>({ ...params }) -> FiveOneEat.CategoryBusinessesDiscoveryResponse</code></summary>
|
|
10816
9805
|
<dl>
|
|
10817
9806
|
<dd>
|
|
10818
9807
|
|
|
@@ -10824,8 +9813,8 @@ await client.customer.events.feed({
|
|
|
10824
9813
|
<dl>
|
|
10825
9814
|
<dd>
|
|
10826
9815
|
|
|
10827
|
-
|
|
10828
|
-
|
|
9816
|
+
Retrieve businesses for a specific category with pagination support.
|
|
9817
|
+
Results are optimized for list display.
|
|
10829
9818
|
</dd>
|
|
10830
9819
|
</dl>
|
|
10831
9820
|
</dd>
|
|
@@ -10840,9 +9829,9 @@ It validates that the user has permission to access the requested channel.
|
|
|
10840
9829
|
<dd>
|
|
10841
9830
|
|
|
10842
9831
|
```typescript
|
|
10843
|
-
await client.customer.
|
|
10844
|
-
|
|
10845
|
-
|
|
9832
|
+
await client.customer.discovery.categoryBusinesses({
|
|
9833
|
+
category: "restaurant",
|
|
9834
|
+
search: "coffee"
|
|
10846
9835
|
});
|
|
10847
9836
|
|
|
10848
9837
|
```
|
|
@@ -10859,7 +9848,7 @@ await client.customer.messaging.channelAuth({
|
|
|
10859
9848
|
<dl>
|
|
10860
9849
|
<dd>
|
|
10861
9850
|
|
|
10862
|
-
**request:** `FiveOneEat.customer.
|
|
9851
|
+
**request:** `FiveOneEat.customer.CategoryBusinessesDiscoveryRequest`
|
|
10863
9852
|
|
|
10864
9853
|
</dd>
|
|
10865
9854
|
</dl>
|
|
@@ -10867,7 +9856,7 @@ await client.customer.messaging.channelAuth({
|
|
|
10867
9856
|
<dl>
|
|
10868
9857
|
<dd>
|
|
10869
9858
|
|
|
10870
|
-
**requestOptions:** `
|
|
9859
|
+
**requestOptions:** `DiscoveryClient.RequestOptions`
|
|
10871
9860
|
|
|
10872
9861
|
</dd>
|
|
10873
9862
|
</dl>
|
|
@@ -10879,8 +9868,8 @@ await client.customer.messaging.channelAuth({
|
|
|
10879
9868
|
</dl>
|
|
10880
9869
|
</details>
|
|
10881
9870
|
|
|
10882
|
-
## Customer
|
|
10883
|
-
<details><summary><code>client.customer.
|
|
9871
|
+
## Customer Editorials
|
|
9872
|
+
<details><summary><code>client.customer.editorials.<a href="/src/api/resources/customer/resources/editorials/client/Client.ts">list</a>() -> FiveOneEat.ListEditorialsResponse</code></summary>
|
|
10884
9873
|
<dl>
|
|
10885
9874
|
<dd>
|
|
10886
9875
|
|
|
@@ -10892,7 +9881,7 @@ await client.customer.messaging.channelAuth({
|
|
|
10892
9881
|
<dl>
|
|
10893
9882
|
<dd>
|
|
10894
9883
|
|
|
10895
|
-
|
|
9884
|
+
Returns a paginated list of published editorials with basic business info.
|
|
10896
9885
|
</dd>
|
|
10897
9886
|
</dl>
|
|
10898
9887
|
</dd>
|
|
@@ -10907,7 +9896,7 @@ Retrieve the authenticated user's favorited businesses with pagination.
|
|
|
10907
9896
|
<dd>
|
|
10908
9897
|
|
|
10909
9898
|
```typescript
|
|
10910
|
-
await client.customer.
|
|
9899
|
+
await client.customer.editorials.list();
|
|
10911
9900
|
|
|
10912
9901
|
```
|
|
10913
9902
|
</dd>
|
|
@@ -10923,15 +9912,7 @@ await client.customer.me.favorites();
|
|
|
10923
9912
|
<dl>
|
|
10924
9913
|
<dd>
|
|
10925
9914
|
|
|
10926
|
-
**
|
|
10927
|
-
|
|
10928
|
-
</dd>
|
|
10929
|
-
</dl>
|
|
10930
|
-
|
|
10931
|
-
<dl>
|
|
10932
|
-
<dd>
|
|
10933
|
-
|
|
10934
|
-
**requestOptions:** `MeClient.RequestOptions`
|
|
9915
|
+
**requestOptions:** `EditorialsClient.RequestOptions`
|
|
10935
9916
|
|
|
10936
9917
|
</dd>
|
|
10937
9918
|
</dl>
|
|
@@ -10943,7 +9924,7 @@ await client.customer.me.favorites();
|
|
|
10943
9924
|
</dl>
|
|
10944
9925
|
</details>
|
|
10945
9926
|
|
|
10946
|
-
<details><summary><code>client.customer.
|
|
9927
|
+
<details><summary><code>client.customer.editorials.<a href="/src/api/resources/customer/resources/editorials/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetEditorialsResponse</code></summary>
|
|
10947
9928
|
<dl>
|
|
10948
9929
|
<dd>
|
|
10949
9930
|
|
|
@@ -10955,7 +9936,8 @@ await client.customer.me.favorites();
|
|
|
10955
9936
|
<dl>
|
|
10956
9937
|
<dd>
|
|
10957
9938
|
|
|
10958
|
-
|
|
9939
|
+
Returns a published editorial by slug, with the full augmented body
|
|
9940
|
+
including resolved menu item, product, and event references.
|
|
10959
9941
|
</dd>
|
|
10960
9942
|
</dl>
|
|
10961
9943
|
</dd>
|
|
@@ -10970,8 +9952,8 @@ Retrieve the authenticated user's event RSVPs with pagination.
|
|
|
10970
9952
|
<dd>
|
|
10971
9953
|
|
|
10972
9954
|
```typescript
|
|
10973
|
-
await client.customer.
|
|
10974
|
-
|
|
9955
|
+
await client.customer.editorials.get({
|
|
9956
|
+
slug: "slug"
|
|
10975
9957
|
});
|
|
10976
9958
|
|
|
10977
9959
|
```
|
|
@@ -10988,7 +9970,7 @@ await client.customer.me.rsvps({
|
|
|
10988
9970
|
<dl>
|
|
10989
9971
|
<dd>
|
|
10990
9972
|
|
|
10991
|
-
**request:** `FiveOneEat.customer.
|
|
9973
|
+
**request:** `FiveOneEat.customer.GetEditorialsRequest`
|
|
10992
9974
|
|
|
10993
9975
|
</dd>
|
|
10994
9976
|
</dl>
|
|
@@ -10996,7 +9978,7 @@ await client.customer.me.rsvps({
|
|
|
10996
9978
|
<dl>
|
|
10997
9979
|
<dd>
|
|
10998
9980
|
|
|
10999
|
-
**requestOptions:** `
|
|
9981
|
+
**requestOptions:** `EditorialsClient.RequestOptions`
|
|
11000
9982
|
|
|
11001
9983
|
</dd>
|
|
11002
9984
|
</dl>
|
|
@@ -11008,29 +9990,12 @@ await client.customer.me.rsvps({
|
|
|
11008
9990
|
</dl>
|
|
11009
9991
|
</details>
|
|
11010
9992
|
|
|
11011
|
-
## Customer
|
|
11012
|
-
<details><summary><code>client.customer.
|
|
11013
|
-
<dl>
|
|
11014
|
-
<dd>
|
|
11015
|
-
|
|
11016
|
-
#### 🔌 Usage
|
|
11017
|
-
|
|
11018
|
-
<dl>
|
|
11019
|
-
<dd>
|
|
11020
|
-
|
|
9993
|
+
## Customer Events
|
|
9994
|
+
<details><summary><code>client.customer.events.<a href="/src/api/resources/customer/resources/events/client/Client.ts">feed</a>({ ...params }) -> FiveOneEat.FeedEventsResponse</code></summary>
|
|
11021
9995
|
<dl>
|
|
11022
9996
|
<dd>
|
|
11023
9997
|
|
|
11024
|
-
|
|
11025
|
-
await client.customer.productOrders.list();
|
|
11026
|
-
|
|
11027
|
-
```
|
|
11028
|
-
</dd>
|
|
11029
|
-
</dl>
|
|
11030
|
-
</dd>
|
|
11031
|
-
</dl>
|
|
11032
|
-
|
|
11033
|
-
#### ⚙️ Parameters
|
|
9998
|
+
#### 📝 Description
|
|
11034
9999
|
|
|
11035
10000
|
<dl>
|
|
11036
10001
|
<dd>
|
|
@@ -11038,21 +10003,13 @@ await client.customer.productOrders.list();
|
|
|
11038
10003
|
<dl>
|
|
11039
10004
|
<dd>
|
|
11040
10005
|
|
|
11041
|
-
|
|
11042
|
-
|
|
11043
|
-
|
|
11044
|
-
</dl>
|
|
10006
|
+
Retrieve a paginated feed of upcoming events across all businesses.
|
|
10007
|
+
Defaults to all events starting from now, ordered by start date ascending.
|
|
10008
|
+
Optionally filter by a date range using date_from and date_to.
|
|
11045
10009
|
</dd>
|
|
11046
10010
|
</dl>
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
10011
|
</dd>
|
|
11050
10012
|
</dl>
|
|
11051
|
-
</details>
|
|
11052
|
-
|
|
11053
|
-
<details><summary><code>client.customer.productOrders.<a href="/src/api/resources/customer/resources/productOrders/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetProductOrdersResponse</code></summary>
|
|
11054
|
-
<dl>
|
|
11055
|
-
<dd>
|
|
11056
10013
|
|
|
11057
10014
|
#### 🔌 Usage
|
|
11058
10015
|
|
|
@@ -11063,8 +10020,9 @@ await client.customer.productOrders.list();
|
|
|
11063
10020
|
<dd>
|
|
11064
10021
|
|
|
11065
10022
|
```typescript
|
|
11066
|
-
await client.customer.
|
|
11067
|
-
|
|
10023
|
+
await client.customer.events.feed({
|
|
10024
|
+
date_from: "2026-05-01",
|
|
10025
|
+
date_to: "2026-05-31"
|
|
11068
10026
|
});
|
|
11069
10027
|
|
|
11070
10028
|
```
|
|
@@ -11081,7 +10039,7 @@ await client.customer.productOrders.get({
|
|
|
11081
10039
|
<dl>
|
|
11082
10040
|
<dd>
|
|
11083
10041
|
|
|
11084
|
-
**request:** `FiveOneEat.customer.
|
|
10042
|
+
**request:** `FiveOneEat.customer.FeedEventsRequest`
|
|
11085
10043
|
|
|
11086
10044
|
</dd>
|
|
11087
10045
|
</dl>
|
|
@@ -11089,7 +10047,7 @@ await client.customer.productOrders.get({
|
|
|
11089
10047
|
<dl>
|
|
11090
10048
|
<dd>
|
|
11091
10049
|
|
|
11092
|
-
**requestOptions:** `
|
|
10050
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
11093
10051
|
|
|
11094
10052
|
</dd>
|
|
11095
10053
|
</dl>
|
|
@@ -11101,8 +10059,8 @@ await client.customer.productOrders.get({
|
|
|
11101
10059
|
</dl>
|
|
11102
10060
|
</details>
|
|
11103
10061
|
|
|
11104
|
-
## Customer
|
|
11105
|
-
<details><summary><code>client.customer.
|
|
10062
|
+
## Customer Messaging
|
|
10063
|
+
<details><summary><code>client.customer.messaging.<a href="/src/api/resources/customer/resources/messaging/client/Client.ts">channelAuth</a>({ ...params }) -> number</code></summary>
|
|
11106
10064
|
<dl>
|
|
11107
10065
|
<dd>
|
|
11108
10066
|
|
|
@@ -11114,8 +10072,8 @@ await client.customer.productOrders.get({
|
|
|
11114
10072
|
<dl>
|
|
11115
10073
|
<dd>
|
|
11116
10074
|
|
|
11117
|
-
|
|
11118
|
-
|
|
10075
|
+
This endpoint is used by the mobile app to authenticate with Pusher channels.
|
|
10076
|
+
It validates that the user has permission to access the requested channel.
|
|
11119
10077
|
</dd>
|
|
11120
10078
|
</dl>
|
|
11121
10079
|
</dd>
|
|
@@ -11130,8 +10088,9 @@ a `device_id` is provided, an existing registration for that device is updated.
|
|
|
11130
10088
|
<dd>
|
|
11131
10089
|
|
|
11132
10090
|
```typescript
|
|
11133
|
-
await client.customer.
|
|
11134
|
-
|
|
10091
|
+
await client.customer.messaging.channelAuth({
|
|
10092
|
+
channel_name: "channel_name",
|
|
10093
|
+
socket_id: "socket_id"
|
|
11135
10094
|
});
|
|
11136
10095
|
|
|
11137
10096
|
```
|
|
@@ -11148,7 +10107,7 @@ await client.customer.pushNotifications.register({
|
|
|
11148
10107
|
<dl>
|
|
11149
10108
|
<dd>
|
|
11150
10109
|
|
|
11151
|
-
**request:** `FiveOneEat.customer.
|
|
10110
|
+
**request:** `FiveOneEat.customer.ChannelAuthMessagingRequest`
|
|
11152
10111
|
|
|
11153
10112
|
</dd>
|
|
11154
10113
|
</dl>
|
|
@@ -11156,7 +10115,7 @@ await client.customer.pushNotifications.register({
|
|
|
11156
10115
|
<dl>
|
|
11157
10116
|
<dd>
|
|
11158
10117
|
|
|
11159
|
-
**requestOptions:** `
|
|
10118
|
+
**requestOptions:** `MessagingClient.RequestOptions`
|
|
11160
10119
|
|
|
11161
10120
|
</dd>
|
|
11162
10121
|
</dl>
|
|
@@ -11168,7 +10127,8 @@ await client.customer.pushNotifications.register({
|
|
|
11168
10127
|
</dl>
|
|
11169
10128
|
</details>
|
|
11170
10129
|
|
|
11171
|
-
|
|
10130
|
+
## Customer Me
|
|
10131
|
+
<details><summary><code>client.customer.me.<a href="/src/api/resources/customer/resources/me/client/Client.ts">favorites</a>({ ...params }) -> FiveOneEat.FavoritesMeResponse</code></summary>
|
|
11172
10132
|
<dl>
|
|
11173
10133
|
<dd>
|
|
11174
10134
|
|
|
@@ -11180,7 +10140,7 @@ await client.customer.pushNotifications.register({
|
|
|
11180
10140
|
<dl>
|
|
11181
10141
|
<dd>
|
|
11182
10142
|
|
|
11183
|
-
|
|
10143
|
+
Retrieve the authenticated user's favorited businesses with pagination.
|
|
11184
10144
|
</dd>
|
|
11185
10145
|
</dl>
|
|
11186
10146
|
</dd>
|
|
@@ -11195,9 +10155,7 @@ Delete the authenticated user's Expo push token registration.
|
|
|
11195
10155
|
<dd>
|
|
11196
10156
|
|
|
11197
10157
|
```typescript
|
|
11198
|
-
await client.customer.
|
|
11199
|
-
token: "token"
|
|
11200
|
-
});
|
|
10158
|
+
await client.customer.me.favorites();
|
|
11201
10159
|
|
|
11202
10160
|
```
|
|
11203
10161
|
</dd>
|
|
@@ -11213,7 +10171,7 @@ await client.customer.pushNotifications.unregister({
|
|
|
11213
10171
|
<dl>
|
|
11214
10172
|
<dd>
|
|
11215
10173
|
|
|
11216
|
-
**request:** `FiveOneEat.customer.
|
|
10174
|
+
**request:** `FiveOneEat.customer.FavoritesMeRequest`
|
|
11217
10175
|
|
|
11218
10176
|
</dd>
|
|
11219
10177
|
</dl>
|
|
@@ -11221,7 +10179,7 @@ await client.customer.pushNotifications.unregister({
|
|
|
11221
10179
|
<dl>
|
|
11222
10180
|
<dd>
|
|
11223
10181
|
|
|
11224
|
-
**requestOptions:** `
|
|
10182
|
+
**requestOptions:** `MeClient.RequestOptions`
|
|
11225
10183
|
|
|
11226
10184
|
</dd>
|
|
11227
10185
|
</dl>
|
|
@@ -11233,61 +10191,23 @@ await client.customer.pushNotifications.unregister({
|
|
|
11233
10191
|
</dl>
|
|
11234
10192
|
</details>
|
|
11235
10193
|
|
|
11236
|
-
|
|
11237
|
-
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">profile</a>({ ...params }) -> void</code></summary>
|
|
11238
|
-
<dl>
|
|
11239
|
-
<dd>
|
|
11240
|
-
|
|
11241
|
-
#### 🔌 Usage
|
|
11242
|
-
|
|
11243
|
-
<dl>
|
|
11244
|
-
<dd>
|
|
11245
|
-
|
|
10194
|
+
<details><summary><code>client.customer.me.<a href="/src/api/resources/customer/resources/me/client/Client.ts">rsvps</a>({ ...params }) -> FiveOneEat.RsvpsMeResponse</code></summary>
|
|
11246
10195
|
<dl>
|
|
11247
10196
|
<dd>
|
|
11248
10197
|
|
|
11249
|
-
|
|
11250
|
-
await client.customer.businesses.profile({
|
|
11251
|
-
business: "business"
|
|
11252
|
-
});
|
|
11253
|
-
|
|
11254
|
-
```
|
|
11255
|
-
</dd>
|
|
11256
|
-
</dl>
|
|
11257
|
-
</dd>
|
|
11258
|
-
</dl>
|
|
11259
|
-
|
|
11260
|
-
#### ⚙️ Parameters
|
|
11261
|
-
|
|
11262
|
-
<dl>
|
|
11263
|
-
<dd>
|
|
10198
|
+
#### 📝 Description
|
|
11264
10199
|
|
|
11265
10200
|
<dl>
|
|
11266
10201
|
<dd>
|
|
11267
10202
|
|
|
11268
|
-
**request:** `FiveOneEat.customer.ProfileBusinessesRequest`
|
|
11269
|
-
|
|
11270
|
-
</dd>
|
|
11271
|
-
</dl>
|
|
11272
|
-
|
|
11273
10203
|
<dl>
|
|
11274
10204
|
<dd>
|
|
11275
|
-
|
|
11276
|
-
|
|
11277
|
-
|
|
11278
|
-
</dd>
|
|
11279
|
-
</dl>
|
|
10205
|
+
|
|
10206
|
+
Retrieve the authenticated user's event RSVPs with pagination.
|
|
11280
10207
|
</dd>
|
|
11281
10208
|
</dl>
|
|
11282
|
-
|
|
11283
|
-
|
|
11284
10209
|
</dd>
|
|
11285
10210
|
</dl>
|
|
11286
|
-
</details>
|
|
11287
|
-
|
|
11288
|
-
<details><summary><code>client.customer.businesses.<a href="/src/api/resources/customer/resources/businesses/client/Client.ts">menus</a>({ ...params }) -> void</code></summary>
|
|
11289
|
-
<dl>
|
|
11290
|
-
<dd>
|
|
11291
10211
|
|
|
11292
10212
|
#### 🔌 Usage
|
|
11293
10213
|
|
|
@@ -11298,8 +10218,8 @@ await client.customer.businesses.profile({
|
|
|
11298
10218
|
<dd>
|
|
11299
10219
|
|
|
11300
10220
|
```typescript
|
|
11301
|
-
await client.customer.
|
|
11302
|
-
|
|
10221
|
+
await client.customer.me.rsvps({
|
|
10222
|
+
status: "attending"
|
|
11303
10223
|
});
|
|
11304
10224
|
|
|
11305
10225
|
```
|
|
@@ -11316,7 +10236,7 @@ await client.customer.businesses.menus({
|
|
|
11316
10236
|
<dl>
|
|
11317
10237
|
<dd>
|
|
11318
10238
|
|
|
11319
|
-
**request:** `FiveOneEat.customer.
|
|
10239
|
+
**request:** `FiveOneEat.customer.RsvpsMeRequest`
|
|
11320
10240
|
|
|
11321
10241
|
</dd>
|
|
11322
10242
|
</dl>
|
|
@@ -11324,7 +10244,7 @@ await client.customer.businesses.menus({
|
|
|
11324
10244
|
<dl>
|
|
11325
10245
|
<dd>
|
|
11326
10246
|
|
|
11327
|
-
**requestOptions:** `
|
|
10247
|
+
**requestOptions:** `MeClient.RequestOptions`
|
|
11328
10248
|
|
|
11329
10249
|
</dd>
|
|
11330
10250
|
</dl>
|
|
@@ -11336,7 +10256,8 @@ await client.customer.businesses.menus({
|
|
|
11336
10256
|
</dl>
|
|
11337
10257
|
</details>
|
|
11338
10258
|
|
|
11339
|
-
|
|
10259
|
+
## Customer ProductOrders
|
|
10260
|
+
<details><summary><code>client.customer.productOrders.<a href="/src/api/resources/customer/resources/productOrders/client/Client.ts">list</a>() -> FiveOneEat.ListProductOrdersResponse</code></summary>
|
|
11340
10261
|
<dl>
|
|
11341
10262
|
<dd>
|
|
11342
10263
|
|
|
@@ -11349,9 +10270,7 @@ await client.customer.businesses.menus({
|
|
|
11349
10270
|
<dd>
|
|
11350
10271
|
|
|
11351
10272
|
```typescript
|
|
11352
|
-
await client.customer.
|
|
11353
|
-
business: "business"
|
|
11354
|
-
});
|
|
10273
|
+
await client.customer.productOrders.list();
|
|
11355
10274
|
|
|
11356
10275
|
```
|
|
11357
10276
|
</dd>
|
|
@@ -11367,15 +10286,7 @@ await client.customer.businesses.photos({
|
|
|
11367
10286
|
<dl>
|
|
11368
10287
|
<dd>
|
|
11369
10288
|
|
|
11370
|
-
**
|
|
11371
|
-
|
|
11372
|
-
</dd>
|
|
11373
|
-
</dl>
|
|
11374
|
-
|
|
11375
|
-
<dl>
|
|
11376
|
-
<dd>
|
|
11377
|
-
|
|
11378
|
-
**requestOptions:** `BusinessesClient.RequestOptions`
|
|
10289
|
+
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
11379
10290
|
|
|
11380
10291
|
</dd>
|
|
11381
10292
|
</dl>
|
|
@@ -11387,7 +10298,7 @@ await client.customer.businesses.photos({
|
|
|
11387
10298
|
</dl>
|
|
11388
10299
|
</details>
|
|
11389
10300
|
|
|
11390
|
-
<details><summary><code>client.customer.
|
|
10301
|
+
<details><summary><code>client.customer.productOrders.<a href="/src/api/resources/customer/resources/productOrders/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetProductOrdersResponse</code></summary>
|
|
11391
10302
|
<dl>
|
|
11392
10303
|
<dd>
|
|
11393
10304
|
|
|
@@ -11400,8 +10311,8 @@ await client.customer.businesses.photos({
|
|
|
11400
10311
|
<dd>
|
|
11401
10312
|
|
|
11402
10313
|
```typescript
|
|
11403
|
-
await client.customer.
|
|
11404
|
-
|
|
10314
|
+
await client.customer.productOrders.get({
|
|
10315
|
+
productOrder: "productOrder"
|
|
11405
10316
|
});
|
|
11406
10317
|
|
|
11407
10318
|
```
|
|
@@ -11418,7 +10329,7 @@ await client.customer.businesses.favorite({
|
|
|
11418
10329
|
<dl>
|
|
11419
10330
|
<dd>
|
|
11420
10331
|
|
|
11421
|
-
**request:** `FiveOneEat.customer.
|
|
10332
|
+
**request:** `FiveOneEat.customer.GetProductOrdersRequest`
|
|
11422
10333
|
|
|
11423
10334
|
</dd>
|
|
11424
10335
|
</dl>
|
|
@@ -11426,7 +10337,7 @@ await client.customer.businesses.favorite({
|
|
|
11426
10337
|
<dl>
|
|
11427
10338
|
<dd>
|
|
11428
10339
|
|
|
11429
|
-
**requestOptions:** `
|
|
10340
|
+
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
11430
10341
|
|
|
11431
10342
|
</dd>
|
|
11432
10343
|
</dl>
|
|
@@ -11438,10 +10349,26 @@ await client.customer.businesses.favorite({
|
|
|
11438
10349
|
</dl>
|
|
11439
10350
|
</details>
|
|
11440
10351
|
|
|
11441
|
-
|
|
10352
|
+
## Customer PushNotifications
|
|
10353
|
+
<details><summary><code>client.customer.pushNotifications.<a href="/src/api/resources/customer/resources/pushNotifications/client/Client.ts">register</a>({ ...params }) -> FiveOneEat.RegisterPushNotificationsResponse</code></summary>
|
|
10354
|
+
<dl>
|
|
10355
|
+
<dd>
|
|
10356
|
+
|
|
10357
|
+
#### 📝 Description
|
|
10358
|
+
|
|
11442
10359
|
<dl>
|
|
11443
10360
|
<dd>
|
|
11444
10361
|
|
|
10362
|
+
<dl>
|
|
10363
|
+
<dd>
|
|
10364
|
+
|
|
10365
|
+
Register (or update) the authenticated user's Expo push token for a device. If
|
|
10366
|
+
a `device_id` is provided, an existing registration for that device is updated.
|
|
10367
|
+
</dd>
|
|
10368
|
+
</dl>
|
|
10369
|
+
</dd>
|
|
10370
|
+
</dl>
|
|
10371
|
+
|
|
11445
10372
|
#### 🔌 Usage
|
|
11446
10373
|
|
|
11447
10374
|
<dl>
|
|
@@ -11451,8 +10378,8 @@ await client.customer.businesses.favorite({
|
|
|
11451
10378
|
<dd>
|
|
11452
10379
|
|
|
11453
10380
|
```typescript
|
|
11454
|
-
await client.customer.
|
|
11455
|
-
|
|
10381
|
+
await client.customer.pushNotifications.register({
|
|
10382
|
+
token: "token"
|
|
11456
10383
|
});
|
|
11457
10384
|
|
|
11458
10385
|
```
|
|
@@ -11469,7 +10396,7 @@ await client.customer.businesses.unfavorite({
|
|
|
11469
10396
|
<dl>
|
|
11470
10397
|
<dd>
|
|
11471
10398
|
|
|
11472
|
-
**request:** `FiveOneEat.customer.
|
|
10399
|
+
**request:** `FiveOneEat.customer.AppHttpRequestsApiV1CustomerPushTokensStorePushTokenRequest`
|
|
11473
10400
|
|
|
11474
10401
|
</dd>
|
|
11475
10402
|
</dl>
|
|
@@ -11477,7 +10404,7 @@ await client.customer.businesses.unfavorite({
|
|
|
11477
10404
|
<dl>
|
|
11478
10405
|
<dd>
|
|
11479
10406
|
|
|
11480
|
-
**requestOptions:** `
|
|
10407
|
+
**requestOptions:** `PushNotificationsClient.RequestOptions`
|
|
11481
10408
|
|
|
11482
10409
|
</dd>
|
|
11483
10410
|
</dl>
|
|
@@ -11489,10 +10416,24 @@ await client.customer.businesses.unfavorite({
|
|
|
11489
10416
|
</dl>
|
|
11490
10417
|
</details>
|
|
11491
10418
|
|
|
11492
|
-
<details><summary><code>client.customer.
|
|
10419
|
+
<details><summary><code>client.customer.pushNotifications.<a href="/src/api/resources/customer/resources/pushNotifications/client/Client.ts">unregister</a>({ ...params }) -> void</code></summary>
|
|
10420
|
+
<dl>
|
|
10421
|
+
<dd>
|
|
10422
|
+
|
|
10423
|
+
#### 📝 Description
|
|
10424
|
+
|
|
11493
10425
|
<dl>
|
|
11494
10426
|
<dd>
|
|
11495
10427
|
|
|
10428
|
+
<dl>
|
|
10429
|
+
<dd>
|
|
10430
|
+
|
|
10431
|
+
Delete the authenticated user's Expo push token registration.
|
|
10432
|
+
</dd>
|
|
10433
|
+
</dl>
|
|
10434
|
+
</dd>
|
|
10435
|
+
</dl>
|
|
10436
|
+
|
|
11496
10437
|
#### 🔌 Usage
|
|
11497
10438
|
|
|
11498
10439
|
<dl>
|
|
@@ -11502,8 +10443,8 @@ await client.customer.businesses.unfavorite({
|
|
|
11502
10443
|
<dd>
|
|
11503
10444
|
|
|
11504
10445
|
```typescript
|
|
11505
|
-
await client.customer.
|
|
11506
|
-
|
|
10446
|
+
await client.customer.pushNotifications.unregister({
|
|
10447
|
+
token: "token"
|
|
11507
10448
|
});
|
|
11508
10449
|
|
|
11509
10450
|
```
|
|
@@ -11520,7 +10461,7 @@ await client.customer.businesses.listTemporaryLocations({
|
|
|
11520
10461
|
<dl>
|
|
11521
10462
|
<dd>
|
|
11522
10463
|
|
|
11523
|
-
**request:** `FiveOneEat.customer.
|
|
10464
|
+
**request:** `FiveOneEat.customer.UnregisterPushNotificationsRequest`
|
|
11524
10465
|
|
|
11525
10466
|
</dd>
|
|
11526
10467
|
</dl>
|
|
@@ -11528,7 +10469,7 @@ await client.customer.businesses.listTemporaryLocations({
|
|
|
11528
10469
|
<dl>
|
|
11529
10470
|
<dd>
|
|
11530
10471
|
|
|
11531
|
-
**requestOptions:** `
|
|
10472
|
+
**requestOptions:** `PushNotificationsClient.RequestOptions`
|
|
11532
10473
|
|
|
11533
10474
|
</dd>
|
|
11534
10475
|
</dl>
|
|
@@ -11541,7 +10482,7 @@ await client.customer.businesses.listTemporaryLocations({
|
|
|
11541
10482
|
</details>
|
|
11542
10483
|
|
|
11543
10484
|
## Customer Shop
|
|
11544
|
-
<details><summary><code>client.customer.shop.<a href="/src/api/resources/customer/resources/shop/client/Client.ts">listProducts</a>({ ...params }) ->
|
|
10485
|
+
<details><summary><code>client.customer.shop.<a href="/src/api/resources/customer/resources/shop/client/Client.ts">listProducts</a>({ ...params }) -> FiveOneEat.ListProductsShopResponse</code></summary>
|
|
11545
10486
|
<dl>
|
|
11546
10487
|
<dd>
|
|
11547
10488
|
|
|
@@ -11555,7 +10496,7 @@ await client.customer.businesses.listTemporaryLocations({
|
|
|
11555
10496
|
|
|
11556
10497
|
```typescript
|
|
11557
10498
|
await client.customer.shop.listProducts({
|
|
11558
|
-
business: "
|
|
10499
|
+
business: "katzs-deli"
|
|
11559
10500
|
});
|
|
11560
10501
|
|
|
11561
10502
|
```
|
|
@@ -11592,7 +10533,7 @@ await client.customer.shop.listProducts({
|
|
|
11592
10533
|
</dl>
|
|
11593
10534
|
</details>
|
|
11594
10535
|
|
|
11595
|
-
<details><summary><code>client.customer.shop.<a href="/src/api/resources/customer/resources/shop/client/Client.ts">getProduct</a>({ ...params }) ->
|
|
10536
|
+
<details><summary><code>client.customer.shop.<a href="/src/api/resources/customer/resources/shop/client/Client.ts">getProduct</a>({ ...params }) -> FiveOneEat.GetProductShopResponse</code></summary>
|
|
11596
10537
|
<dl>
|
|
11597
10538
|
<dd>
|
|
11598
10539
|
|
|
@@ -11606,7 +10547,7 @@ await client.customer.shop.listProducts({
|
|
|
11606
10547
|
|
|
11607
10548
|
```typescript
|
|
11608
10549
|
await client.customer.shop.getProduct({
|
|
11609
|
-
business: "
|
|
10550
|
+
business: "katzs-deli",
|
|
11610
10551
|
product: "product"
|
|
11611
10552
|
});
|
|
11612
10553
|
|
|
@@ -11644,7 +10585,7 @@ await client.customer.shop.getProduct({
|
|
|
11644
10585
|
</dl>
|
|
11645
10586
|
</details>
|
|
11646
10587
|
|
|
11647
|
-
<details><summary><code>client.customer.shop.<a href="/src/api/resources/customer/resources/shop/client/Client.ts">listCategories</a>({ ...params }) ->
|
|
10588
|
+
<details><summary><code>client.customer.shop.<a href="/src/api/resources/customer/resources/shop/client/Client.ts">listCategories</a>({ ...params }) -> FiveOneEat.ListCategoriesShopResponse</code></summary>
|
|
11648
10589
|
<dl>
|
|
11649
10590
|
<dd>
|
|
11650
10591
|
|
|
@@ -11658,7 +10599,7 @@ await client.customer.shop.getProduct({
|
|
|
11658
10599
|
|
|
11659
10600
|
```typescript
|
|
11660
10601
|
await client.customer.shop.listCategories({
|
|
11661
|
-
business: "
|
|
10602
|
+
business: "katzs-deli"
|
|
11662
10603
|
});
|
|
11663
10604
|
|
|
11664
10605
|
```
|
|
@@ -11817,10 +10758,24 @@ await client.customer.auth.tokens.revoke({
|
|
|
11817
10758
|
</details>
|
|
11818
10759
|
|
|
11819
10760
|
## Customer Businesses Bulletins
|
|
11820
|
-
<details><summary><code>client.customer.businesses.bulletins.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/client/Client.ts">list</a>({ ...params }) ->
|
|
10761
|
+
<details><summary><code>client.customer.businesses.bulletins.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListBulletinsResponse</code></summary>
|
|
10762
|
+
<dl>
|
|
10763
|
+
<dd>
|
|
10764
|
+
|
|
10765
|
+
#### 📝 Description
|
|
10766
|
+
|
|
11821
10767
|
<dl>
|
|
11822
10768
|
<dd>
|
|
11823
10769
|
|
|
10770
|
+
<dl>
|
|
10771
|
+
<dd>
|
|
10772
|
+
|
|
10773
|
+
Retrieve business announcements and updates with pagination.
|
|
10774
|
+
</dd>
|
|
10775
|
+
</dl>
|
|
10776
|
+
</dd>
|
|
10777
|
+
</dl>
|
|
10778
|
+
|
|
11824
10779
|
#### 🔌 Usage
|
|
11825
10780
|
|
|
11826
10781
|
<dl>
|
|
@@ -11831,7 +10786,7 @@ await client.customer.auth.tokens.revoke({
|
|
|
11831
10786
|
|
|
11832
10787
|
```typescript
|
|
11833
10788
|
await client.customer.businesses.bulletins.list({
|
|
11834
|
-
business: "
|
|
10789
|
+
business: "katzs-deli"
|
|
11835
10790
|
});
|
|
11836
10791
|
|
|
11837
10792
|
```
|
|
@@ -11869,10 +10824,24 @@ await client.customer.businesses.bulletins.list({
|
|
|
11869
10824
|
</details>
|
|
11870
10825
|
|
|
11871
10826
|
## Customer Businesses Events
|
|
11872
|
-
<details><summary><code>client.customer.businesses.events.<a href="/src/api/resources/customer/resources/businesses/resources/events/client/Client.ts">list</a>({ ...params }) ->
|
|
10827
|
+
<details><summary><code>client.customer.businesses.events.<a href="/src/api/resources/customer/resources/businesses/resources/events/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListEventsResponse</code></summary>
|
|
10828
|
+
<dl>
|
|
10829
|
+
<dd>
|
|
10830
|
+
|
|
10831
|
+
#### 📝 Description
|
|
10832
|
+
|
|
11873
10833
|
<dl>
|
|
11874
10834
|
<dd>
|
|
11875
10835
|
|
|
10836
|
+
<dl>
|
|
10837
|
+
<dd>
|
|
10838
|
+
|
|
10839
|
+
Retrieve upcoming events for the business with pagination.
|
|
10840
|
+
</dd>
|
|
10841
|
+
</dl>
|
|
10842
|
+
</dd>
|
|
10843
|
+
</dl>
|
|
10844
|
+
|
|
11876
10845
|
#### 🔌 Usage
|
|
11877
10846
|
|
|
11878
10847
|
<dl>
|
|
@@ -11883,7 +10852,7 @@ await client.customer.businesses.bulletins.list({
|
|
|
11883
10852
|
|
|
11884
10853
|
```typescript
|
|
11885
10854
|
await client.customer.businesses.events.list({
|
|
11886
|
-
business: "
|
|
10855
|
+
business: "katzs-deli"
|
|
11887
10856
|
});
|
|
11888
10857
|
|
|
11889
10858
|
```
|
|
@@ -11920,10 +10889,24 @@ await client.customer.businesses.events.list({
|
|
|
11920
10889
|
</dl>
|
|
11921
10890
|
</details>
|
|
11922
10891
|
|
|
11923
|
-
<details><summary><code>client.customer.businesses.events.<a href="/src/api/resources/customer/resources/businesses/resources/events/client/Client.ts">get</a>({ ...params }) ->
|
|
10892
|
+
<details><summary><code>client.customer.businesses.events.<a href="/src/api/resources/customer/resources/businesses/resources/events/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetEventsResponse</code></summary>
|
|
10893
|
+
<dl>
|
|
10894
|
+
<dd>
|
|
10895
|
+
|
|
10896
|
+
#### 📝 Description
|
|
10897
|
+
|
|
11924
10898
|
<dl>
|
|
11925
10899
|
<dd>
|
|
11926
10900
|
|
|
10901
|
+
<dl>
|
|
10902
|
+
<dd>
|
|
10903
|
+
|
|
10904
|
+
Retrieve full details for a single upcoming event belonging to the business.
|
|
10905
|
+
</dd>
|
|
10906
|
+
</dl>
|
|
10907
|
+
</dd>
|
|
10908
|
+
</dl>
|
|
10909
|
+
|
|
11927
10910
|
#### 🔌 Usage
|
|
11928
10911
|
|
|
11929
10912
|
<dl>
|
|
@@ -11934,7 +10917,7 @@ await client.customer.businesses.events.list({
|
|
|
11934
10917
|
|
|
11935
10918
|
```typescript
|
|
11936
10919
|
await client.customer.businesses.events.get({
|
|
11937
|
-
business: "
|
|
10920
|
+
business: "katzs-deli",
|
|
11938
10921
|
event: "event"
|
|
11939
10922
|
});
|
|
11940
10923
|
|
|
@@ -11972,10 +10955,24 @@ await client.customer.businesses.events.get({
|
|
|
11972
10955
|
</dl>
|
|
11973
10956
|
</details>
|
|
11974
10957
|
|
|
11975
|
-
<details><summary><code>client.customer.businesses.events.<a href="/src/api/resources/customer/resources/businesses/resources/events/client/Client.ts">rsvp</a>({ ...params }) ->
|
|
10958
|
+
<details><summary><code>client.customer.businesses.events.<a href="/src/api/resources/customer/resources/businesses/resources/events/client/Client.ts">rsvp</a>({ ...params }) -> FiveOneEat.RsvpEventsResponse</code></summary>
|
|
10959
|
+
<dl>
|
|
10960
|
+
<dd>
|
|
10961
|
+
|
|
10962
|
+
#### 📝 Description
|
|
10963
|
+
|
|
11976
10964
|
<dl>
|
|
11977
10965
|
<dd>
|
|
11978
10966
|
|
|
10967
|
+
<dl>
|
|
10968
|
+
<dd>
|
|
10969
|
+
|
|
10970
|
+
Create or update the authenticated user's RSVP for a business event.
|
|
10971
|
+
</dd>
|
|
10972
|
+
</dl>
|
|
10973
|
+
</dd>
|
|
10974
|
+
</dl>
|
|
10975
|
+
|
|
11979
10976
|
#### 🔌 Usage
|
|
11980
10977
|
|
|
11981
10978
|
<dl>
|
|
@@ -11986,8 +10983,9 @@ await client.customer.businesses.events.get({
|
|
|
11986
10983
|
|
|
11987
10984
|
```typescript
|
|
11988
10985
|
await client.customer.businesses.events.rsvp({
|
|
11989
|
-
business: "
|
|
11990
|
-
event: "
|
|
10986
|
+
business: "katzs-deli",
|
|
10987
|
+
event: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
10988
|
+
status: "attending"
|
|
11991
10989
|
});
|
|
11992
10990
|
|
|
11993
10991
|
```
|
|
@@ -12004,7 +11002,7 @@ await client.customer.businesses.events.rsvp({
|
|
|
12004
11002
|
<dl>
|
|
12005
11003
|
<dd>
|
|
12006
11004
|
|
|
12007
|
-
**request:** `FiveOneEat.customer.businesses.
|
|
11005
|
+
**request:** `FiveOneEat.customer.businesses.StoreEventRsvpRequest`
|
|
12008
11006
|
|
|
12009
11007
|
</dd>
|
|
12010
11008
|
</dl>
|
|
@@ -12024,10 +11022,24 @@ await client.customer.businesses.events.rsvp({
|
|
|
12024
11022
|
</dl>
|
|
12025
11023
|
</details>
|
|
12026
11024
|
|
|
12027
|
-
<details><summary><code>client.customer.businesses.events.<a href="/src/api/resources/customer/resources/businesses/resources/events/client/Client.ts">cancelRsvp</a>({ ...params }) ->
|
|
11025
|
+
<details><summary><code>client.customer.businesses.events.<a href="/src/api/resources/customer/resources/businesses/resources/events/client/Client.ts">cancelRsvp</a>({ ...params }) -> number</code></summary>
|
|
11026
|
+
<dl>
|
|
11027
|
+
<dd>
|
|
11028
|
+
|
|
11029
|
+
#### 📝 Description
|
|
11030
|
+
|
|
11031
|
+
<dl>
|
|
11032
|
+
<dd>
|
|
11033
|
+
|
|
12028
11034
|
<dl>
|
|
12029
11035
|
<dd>
|
|
12030
11036
|
|
|
11037
|
+
Cancel the authenticated user's RSVP for a business event.
|
|
11038
|
+
</dd>
|
|
11039
|
+
</dl>
|
|
11040
|
+
</dd>
|
|
11041
|
+
</dl>
|
|
11042
|
+
|
|
12031
11043
|
#### 🔌 Usage
|
|
12032
11044
|
|
|
12033
11045
|
<dl>
|
|
@@ -12038,8 +11050,8 @@ await client.customer.businesses.events.rsvp({
|
|
|
12038
11050
|
|
|
12039
11051
|
```typescript
|
|
12040
11052
|
await client.customer.businesses.events.cancelRsvp({
|
|
12041
|
-
business: "
|
|
12042
|
-
event: "
|
|
11053
|
+
business: "katzs-deli",
|
|
11054
|
+
event: "01950e7d-1234-7000-abcd-ef0123456789"
|
|
12043
11055
|
});
|
|
12044
11056
|
|
|
12045
11057
|
```
|
|
@@ -12077,10 +11089,24 @@ await client.customer.businesses.events.cancelRsvp({
|
|
|
12077
11089
|
</details>
|
|
12078
11090
|
|
|
12079
11091
|
## Customer Businesses Bulletins Comments
|
|
12080
|
-
<details><summary><code>client.customer.businesses.bulletins.comments.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.ts">list</a>({ ...params }) ->
|
|
11092
|
+
<details><summary><code>client.customer.businesses.bulletins.comments.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListCommentsResponse</code></summary>
|
|
11093
|
+
<dl>
|
|
11094
|
+
<dd>
|
|
11095
|
+
|
|
11096
|
+
#### 📝 Description
|
|
11097
|
+
|
|
11098
|
+
<dl>
|
|
11099
|
+
<dd>
|
|
11100
|
+
|
|
12081
11101
|
<dl>
|
|
12082
11102
|
<dd>
|
|
12083
11103
|
|
|
11104
|
+
Retrieve paginated comments for a published business bulletin.
|
|
11105
|
+
</dd>
|
|
11106
|
+
</dl>
|
|
11107
|
+
</dd>
|
|
11108
|
+
</dl>
|
|
11109
|
+
|
|
12084
11110
|
#### 🔌 Usage
|
|
12085
11111
|
|
|
12086
11112
|
<dl>
|
|
@@ -12091,8 +11117,8 @@ await client.customer.businesses.events.cancelRsvp({
|
|
|
12091
11117
|
|
|
12092
11118
|
```typescript
|
|
12093
11119
|
await client.customer.businesses.bulletins.comments.list({
|
|
12094
|
-
business: "
|
|
12095
|
-
bulletin: "
|
|
11120
|
+
business: "katzs-deli",
|
|
11121
|
+
bulletin: "01950e7d-1234-7000-abcd-ef0123456789"
|
|
12096
11122
|
});
|
|
12097
11123
|
|
|
12098
11124
|
```
|
|
@@ -12129,10 +11155,24 @@ await client.customer.businesses.bulletins.comments.list({
|
|
|
12129
11155
|
</dl>
|
|
12130
11156
|
</details>
|
|
12131
11157
|
|
|
12132
|
-
<details><summary><code>client.customer.businesses.bulletins.comments.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.ts">create</a>({ ...params }) ->
|
|
11158
|
+
<details><summary><code>client.customer.businesses.bulletins.comments.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateCommentsResponse</code></summary>
|
|
11159
|
+
<dl>
|
|
11160
|
+
<dd>
|
|
11161
|
+
|
|
11162
|
+
#### 📝 Description
|
|
11163
|
+
|
|
11164
|
+
<dl>
|
|
11165
|
+
<dd>
|
|
11166
|
+
|
|
12133
11167
|
<dl>
|
|
12134
11168
|
<dd>
|
|
12135
11169
|
|
|
11170
|
+
Post a comment on a business bulletin. Requires authentication.
|
|
11171
|
+
</dd>
|
|
11172
|
+
</dl>
|
|
11173
|
+
</dd>
|
|
11174
|
+
</dl>
|
|
11175
|
+
|
|
12136
11176
|
#### 🔌 Usage
|
|
12137
11177
|
|
|
12138
11178
|
<dl>
|
|
@@ -12143,8 +11183,9 @@ await client.customer.businesses.bulletins.comments.list({
|
|
|
12143
11183
|
|
|
12144
11184
|
```typescript
|
|
12145
11185
|
await client.customer.businesses.bulletins.comments.create({
|
|
12146
|
-
business: "
|
|
12147
|
-
bulletin: "
|
|
11186
|
+
business: "katzs-deli",
|
|
11187
|
+
bulletin: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
11188
|
+
body: "body"
|
|
12148
11189
|
});
|
|
12149
11190
|
|
|
12150
11191
|
```
|
|
@@ -12161,7 +11202,7 @@ await client.customer.businesses.bulletins.comments.create({
|
|
|
12161
11202
|
<dl>
|
|
12162
11203
|
<dd>
|
|
12163
11204
|
|
|
12164
|
-
**request:** `FiveOneEat.customer.businesses.bulletins.
|
|
11205
|
+
**request:** `FiveOneEat.customer.businesses.bulletins.AppHttpRequestsApiV1CustomerBusinessesStoreBulletinCommentRequest`
|
|
12165
11206
|
|
|
12166
11207
|
</dd>
|
|
12167
11208
|
</dl>
|
|
@@ -12181,10 +11222,24 @@ await client.customer.businesses.bulletins.comments.create({
|
|
|
12181
11222
|
</dl>
|
|
12182
11223
|
</details>
|
|
12183
11224
|
|
|
12184
|
-
<details><summary><code>client.customer.businesses.bulletins.comments.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.ts">listReplies</a>({ ...params }) ->
|
|
11225
|
+
<details><summary><code>client.customer.businesses.bulletins.comments.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.ts">listReplies</a>({ ...params }) -> FiveOneEat.ListRepliesCommentsResponse</code></summary>
|
|
11226
|
+
<dl>
|
|
11227
|
+
<dd>
|
|
11228
|
+
|
|
11229
|
+
#### 📝 Description
|
|
11230
|
+
|
|
11231
|
+
<dl>
|
|
11232
|
+
<dd>
|
|
11233
|
+
|
|
12185
11234
|
<dl>
|
|
12186
11235
|
<dd>
|
|
12187
11236
|
|
|
11237
|
+
Retrieve paginated replies for a top-level comment on a published bulletin.
|
|
11238
|
+
</dd>
|
|
11239
|
+
</dl>
|
|
11240
|
+
</dd>
|
|
11241
|
+
</dl>
|
|
11242
|
+
|
|
12188
11243
|
#### 🔌 Usage
|
|
12189
11244
|
|
|
12190
11245
|
<dl>
|
|
@@ -12195,9 +11250,9 @@ await client.customer.businesses.bulletins.comments.create({
|
|
|
12195
11250
|
|
|
12196
11251
|
```typescript
|
|
12197
11252
|
await client.customer.businesses.bulletins.comments.listReplies({
|
|
12198
|
-
business: "
|
|
12199
|
-
bulletin: "
|
|
12200
|
-
comment: "
|
|
11253
|
+
business: "katzs-deli",
|
|
11254
|
+
bulletin: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
11255
|
+
comment: "01950e7d-5678-7000-abcd-ef0123456789"
|
|
12201
11256
|
});
|
|
12202
11257
|
|
|
12203
11258
|
```
|
|
@@ -12234,10 +11289,24 @@ await client.customer.businesses.bulletins.comments.listReplies({
|
|
|
12234
11289
|
</dl>
|
|
12235
11290
|
</details>
|
|
12236
11291
|
|
|
12237
|
-
<details><summary><code>client.customer.businesses.bulletins.comments.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.ts">reply</a>({ ...params }) ->
|
|
11292
|
+
<details><summary><code>client.customer.businesses.bulletins.comments.<a href="/src/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/Client.ts">reply</a>({ ...params }) -> FiveOneEat.ReplyCommentsResponse</code></summary>
|
|
11293
|
+
<dl>
|
|
11294
|
+
<dd>
|
|
11295
|
+
|
|
11296
|
+
#### 📝 Description
|
|
11297
|
+
|
|
11298
|
+
<dl>
|
|
11299
|
+
<dd>
|
|
11300
|
+
|
|
12238
11301
|
<dl>
|
|
12239
11302
|
<dd>
|
|
12240
11303
|
|
|
11304
|
+
Post a reply to a top-level comment on a published bulletin. Requires authentication.
|
|
11305
|
+
</dd>
|
|
11306
|
+
</dl>
|
|
11307
|
+
</dd>
|
|
11308
|
+
</dl>
|
|
11309
|
+
|
|
12241
11310
|
#### 🔌 Usage
|
|
12242
11311
|
|
|
12243
11312
|
<dl>
|
|
@@ -12248,9 +11317,10 @@ await client.customer.businesses.bulletins.comments.listReplies({
|
|
|
12248
11317
|
|
|
12249
11318
|
```typescript
|
|
12250
11319
|
await client.customer.businesses.bulletins.comments.reply({
|
|
12251
|
-
business: "
|
|
12252
|
-
bulletin: "
|
|
12253
|
-
comment: "
|
|
11320
|
+
business: "katzs-deli",
|
|
11321
|
+
bulletin: "01950e7d-1234-7000-abcd-ef0123456789",
|
|
11322
|
+
comment: "01950e7d-5678-7000-abcd-ef0123456789",
|
|
11323
|
+
body: "body"
|
|
12254
11324
|
});
|
|
12255
11325
|
|
|
12256
11326
|
```
|
|
@@ -12267,7 +11337,7 @@ await client.customer.businesses.bulletins.comments.reply({
|
|
|
12267
11337
|
<dl>
|
|
12268
11338
|
<dd>
|
|
12269
11339
|
|
|
12270
|
-
**request:** `FiveOneEat.customer.businesses.bulletins.
|
|
11340
|
+
**request:** `FiveOneEat.customer.businesses.bulletins.StoreBulletinCommentReplyRequest`
|
|
12271
11341
|
|
|
12272
11342
|
</dd>
|
|
12273
11343
|
</dl>
|