@51eat/sdk 0.0.26 → 0.0.28
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 +3 -2
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/business/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/business/client/Client.js +20 -10
- package/dist/cjs/api/resources/business/resources/events/client/Client.d.ts +198 -0
- package/dist/cjs/api/resources/business/resources/events/client/Client.js +746 -0
- package/dist/cjs/api/resources/business/resources/events/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/events/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/DeleteEventsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/DeleteEventsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/DeleteImageEventsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/DeleteImageEventsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/GetEventsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/GetEventsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/ListAttendeesEventsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/ListAttendeesEventsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/ListRsvpsEventsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/ListRsvpsEventsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/SalesSummaryEventsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/SalesSummaryEventsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/StoreEventRequest.d.ts +20 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/StoreEventRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/TogglePublishedEventsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/TogglePublishedEventsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.ts +20 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/UpdateEventRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.ts +14 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/UploadEventImageRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/index.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/events/exports.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/events/exports.js +22 -0
- package/dist/cjs/api/resources/business/resources/events/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/events/index.js +19 -0
- package/dist/cjs/api/resources/business/resources/events/resources/index.d.ts +6 -0
- package/dist/cjs/api/resources/business/resources/events/resources/index.js +45 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/client/Client.d.ts +46 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/client/Client.js +178 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/GetOrdersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/GetOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/ListOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/ListOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/types/GetOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/types/GetOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/types/ListOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/types/ListOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/orders/types/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/Client.d.ts +94 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/Client.js +378 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/DeleteTicketTypesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/DeleteTicketTypesRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/GetTicketTypesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/GetTicketTypesRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/ListTicketTypesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/ListTicketTypesRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.d.ts +21 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.ts +18 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/CreateTicketTypesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/CreateTicketTypesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/DeleteTicketTypesResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/DeleteTicketTypesResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/GetTicketTypesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/GetTicketTypesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/ListTicketTypesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/ListTicketTypesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/UpdateTicketTypesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/UpdateTicketTypesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/events/resources/ticketTypes/types/index.js +21 -0
- package/dist/cjs/api/resources/business/resources/events/types/CreateEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/types/CreateEventsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/types/DeleteEventsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/events/types/DeleteEventsResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/events/types/DeleteImageEventsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/events/types/DeleteImageEventsResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/events/types/GetEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/types/GetEventsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/types/ListAttendeesEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/types/ListAttendeesEventsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/types/ListEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/types/ListEventsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/types/ListRsvpsEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/types/ListRsvpsEventsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/types/SalesSummaryEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/types/SalesSummaryEventsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/types/TogglePublishedEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/types/TogglePublishedEventsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/types/UpdateEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/types/UpdateEventsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/types/UploadImageEventsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/types/UploadImageEventsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/types/index.d.ts +11 -0
- package/dist/cjs/api/resources/business/resources/events/types/index.js +27 -0
- package/dist/cjs/api/resources/business/resources/index.d.ts +6 -0
- package/dist/cjs/api/resources/business/resources/index.js +7 -1
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/Client.d.ts +84 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/Client.js +295 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/requests/CreateAccountSessionRequest.d.ts +21 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/requests/CreateAccountSessionRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/DisconnectStripeConnectResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/DisconnectStripeConnectResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/RefreshStripeConnectResponse.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/RefreshStripeConnectResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/StatusStripeConnectResponse.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/StatusStripeConnectResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/index.js +20 -0
- package/dist/cjs/api/types/BusinessEvent.d.ts +20 -0
- package/dist/cjs/api/types/BusinessEvent.js +3 -0
- package/dist/cjs/api/types/BusinessEventAttendee.d.ts +22 -0
- package/dist/cjs/api/types/BusinessEventAttendee.js +3 -0
- package/dist/cjs/api/types/BusinessEventOrder.d.ts +26 -0
- package/dist/cjs/api/types/BusinessEventOrder.js +3 -0
- package/dist/cjs/api/types/BusinessEventOrderDetail.d.ts +28 -0
- package/dist/cjs/api/types/BusinessEventOrderDetail.js +3 -0
- package/dist/cjs/api/types/BusinessEventRsvp.d.ts +16 -0
- package/dist/cjs/api/types/BusinessEventRsvp.js +3 -0
- package/dist/cjs/api/types/BusinessEventSalesSummary.d.ts +1 -0
- package/dist/cjs/api/types/BusinessEventSalesSummary.js +3 -0
- package/dist/cjs/api/types/BusinessEventTicketType.d.ts +17 -0
- package/dist/cjs/api/types/BusinessEventTicketType.js +3 -0
- package/dist/cjs/api/types/BusinessStripeConnection.d.ts +18 -0
- package/dist/cjs/api/types/BusinessStripeConnection.js +3 -0
- package/dist/cjs/api/types/BusinessSummary.d.ts +2 -1
- package/dist/cjs/api/types/index.d.ts +8 -0
- package/dist/cjs/api/types/index.js +8 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/business/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/business/client/Client.mjs +10 -0
- package/dist/esm/api/resources/business/resources/events/client/Client.d.mts +198 -0
- package/dist/esm/api/resources/business/resources/events/client/Client.mjs +709 -0
- package/dist/esm/api/resources/business/resources/events/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/events/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/DeleteEventsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/DeleteEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/DeleteImageEventsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/DeleteImageEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/GetEventsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/GetEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/ListAttendeesEventsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/ListAttendeesEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/ListRsvpsEventsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/ListRsvpsEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/SalesSummaryEventsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/SalesSummaryEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/StoreEventRequest.d.mts +20 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/StoreEventRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/TogglePublishedEventsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/TogglePublishedEventsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.mts +20 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/UpdateEventRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/UploadEventImageRequest.d.mts +14 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/UploadEventImageRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/index.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/exports.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/events/exports.mjs +4 -0
- package/dist/esm/api/resources/business/resources/events/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/events/index.mjs +3 -0
- package/dist/esm/api/resources/business/resources/events/resources/index.d.mts +6 -0
- package/dist/esm/api/resources/business/resources/events/resources/index.mjs +6 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/client/Client.d.mts +46 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/client/Client.mjs +141 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/GetOrdersRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/GetOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/ListOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/ListOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/types/GetOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/types/GetOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/types/ListOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/types/ListOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/types/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/orders/types/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/Client.d.mts +94 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/Client.mjs +341 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/DeleteTicketTypesRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/DeleteTicketTypesRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/GetTicketTypesRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/GetTicketTypesRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/ListTicketTypesRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/ListTicketTypesRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.d.mts +21 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/StoreTicketTypeRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.d.mts +18 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/UpdateTicketTypeRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/CreateTicketTypesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/CreateTicketTypesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/DeleteTicketTypesResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/DeleteTicketTypesResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/GetTicketTypesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/GetTicketTypesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/ListTicketTypesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/ListTicketTypesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/UpdateTicketTypesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/UpdateTicketTypesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/events/resources/ticketTypes/types/index.mjs +5 -0
- package/dist/esm/api/resources/business/resources/events/types/CreateEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/types/CreateEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/types/DeleteEventsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/events/types/DeleteEventsResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/events/types/DeleteImageEventsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/events/types/DeleteImageEventsResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/events/types/GetEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/types/GetEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/types/ListAttendeesEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/types/ListAttendeesEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/types/ListEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/types/ListEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/types/ListRsvpsEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/types/ListRsvpsEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/types/SalesSummaryEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/types/SalesSummaryEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/types/TogglePublishedEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/types/TogglePublishedEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/types/UpdateEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/types/UpdateEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/types/UploadImageEventsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/types/UploadImageEventsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/types/index.d.mts +11 -0
- package/dist/esm/api/resources/business/resources/events/types/index.mjs +11 -0
- package/dist/esm/api/resources/business/resources/index.d.mts +6 -0
- package/dist/esm/api/resources/business/resources/index.mjs +6 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/client/Client.d.mts +84 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/client/Client.mjs +258 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/client/requests/CreateAccountSessionRequest.d.mts +21 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/client/requests/CreateAccountSessionRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/CreateAccountSessionStripeConnectResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/DisconnectStripeConnectResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/DisconnectStripeConnectResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/RefreshStripeConnectResponse.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/RefreshStripeConnectResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/StatusStripeConnectResponse.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/StatusStripeConnectResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/index.mjs +4 -0
- package/dist/esm/api/types/BusinessEvent.d.mts +20 -0
- package/dist/esm/api/types/BusinessEvent.mjs +2 -0
- package/dist/esm/api/types/BusinessEventAttendee.d.mts +22 -0
- package/dist/esm/api/types/BusinessEventAttendee.mjs +2 -0
- package/dist/esm/api/types/BusinessEventOrder.d.mts +26 -0
- package/dist/esm/api/types/BusinessEventOrder.mjs +2 -0
- package/dist/esm/api/types/BusinessEventOrderDetail.d.mts +28 -0
- package/dist/esm/api/types/BusinessEventOrderDetail.mjs +2 -0
- package/dist/esm/api/types/BusinessEventRsvp.d.mts +16 -0
- package/dist/esm/api/types/BusinessEventRsvp.mjs +2 -0
- package/dist/esm/api/types/BusinessEventSalesSummary.d.mts +1 -0
- package/dist/esm/api/types/BusinessEventSalesSummary.mjs +2 -0
- package/dist/esm/api/types/BusinessEventTicketType.d.mts +17 -0
- package/dist/esm/api/types/BusinessEventTicketType.mjs +2 -0
- package/dist/esm/api/types/BusinessStripeConnection.d.mts +18 -0
- package/dist/esm/api/types/BusinessStripeConnection.mjs +2 -0
- package/dist/esm/api/types/BusinessSummary.d.mts +2 -1
- package/dist/esm/api/types/index.d.mts +8 -0
- package/dist/esm/api/types/index.mjs +8 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +45 -1
- package/reference.md +1452 -202
package/reference.md
CHANGED
|
@@ -1704,11 +1704,25 @@ await client.business.businesses.delete({
|
|
|
1704
1704
|
</dl>
|
|
1705
1705
|
</details>
|
|
1706
1706
|
|
|
1707
|
-
## Business
|
|
1708
|
-
<details><summary><code>client.business.
|
|
1707
|
+
## Business Events
|
|
1708
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">list</a>() -> FiveOneEat.ListEventsResponse</code></summary>
|
|
1709
|
+
<dl>
|
|
1710
|
+
<dd>
|
|
1711
|
+
|
|
1712
|
+
#### 📝 Description
|
|
1713
|
+
|
|
1714
|
+
<dl>
|
|
1715
|
+
<dd>
|
|
1716
|
+
|
|
1709
1717
|
<dl>
|
|
1710
1718
|
<dd>
|
|
1711
1719
|
|
|
1720
|
+
Accepts an optional `filter` query param: `upcoming`, `past`, or `all` (default `all`).
|
|
1721
|
+
</dd>
|
|
1722
|
+
</dl>
|
|
1723
|
+
</dd>
|
|
1724
|
+
</dl>
|
|
1725
|
+
|
|
1712
1726
|
#### 🔌 Usage
|
|
1713
1727
|
|
|
1714
1728
|
<dl>
|
|
@@ -1718,7 +1732,7 @@ await client.business.businesses.delete({
|
|
|
1718
1732
|
<dd>
|
|
1719
1733
|
|
|
1720
1734
|
```typescript
|
|
1721
|
-
await client.business.
|
|
1735
|
+
await client.business.events.list();
|
|
1722
1736
|
|
|
1723
1737
|
```
|
|
1724
1738
|
</dd>
|
|
@@ -1734,7 +1748,7 @@ await client.business.gallery.list();
|
|
|
1734
1748
|
<dl>
|
|
1735
1749
|
<dd>
|
|
1736
1750
|
|
|
1737
|
-
**requestOptions:** `
|
|
1751
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
1738
1752
|
|
|
1739
1753
|
</dd>
|
|
1740
1754
|
</dl>
|
|
@@ -1746,7 +1760,7 @@ await client.business.gallery.list();
|
|
|
1746
1760
|
</dl>
|
|
1747
1761
|
</details>
|
|
1748
1762
|
|
|
1749
|
-
<details><summary><code>client.business.
|
|
1763
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateEventsResponse</code></summary>
|
|
1750
1764
|
<dl>
|
|
1751
1765
|
<dd>
|
|
1752
1766
|
|
|
@@ -1759,8 +1773,10 @@ await client.business.gallery.list();
|
|
|
1759
1773
|
<dd>
|
|
1760
1774
|
|
|
1761
1775
|
```typescript
|
|
1762
|
-
await client.business.
|
|
1763
|
-
|
|
1776
|
+
await client.business.events.create({
|
|
1777
|
+
title: "title",
|
|
1778
|
+
starts_at: "2024-01-15T09:30:00Z",
|
|
1779
|
+
ends_at: "2024-01-15T09:30:00Z"
|
|
1764
1780
|
});
|
|
1765
1781
|
|
|
1766
1782
|
```
|
|
@@ -1777,7 +1793,7 @@ await client.business.gallery.upload({
|
|
|
1777
1793
|
<dl>
|
|
1778
1794
|
<dd>
|
|
1779
1795
|
|
|
1780
|
-
**request:** `FiveOneEat.business.
|
|
1796
|
+
**request:** `FiveOneEat.business.StoreEventRequest`
|
|
1781
1797
|
|
|
1782
1798
|
</dd>
|
|
1783
1799
|
</dl>
|
|
@@ -1785,7 +1801,7 @@ await client.business.gallery.upload({
|
|
|
1785
1801
|
<dl>
|
|
1786
1802
|
<dd>
|
|
1787
1803
|
|
|
1788
|
-
**requestOptions:** `
|
|
1804
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
1789
1805
|
|
|
1790
1806
|
</dd>
|
|
1791
1807
|
</dl>
|
|
@@ -1797,7 +1813,7 @@ await client.business.gallery.upload({
|
|
|
1797
1813
|
</dl>
|
|
1798
1814
|
</details>
|
|
1799
1815
|
|
|
1800
|
-
<details><summary><code>client.business.
|
|
1816
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetEventsResponse</code></summary>
|
|
1801
1817
|
<dl>
|
|
1802
1818
|
<dd>
|
|
1803
1819
|
|
|
@@ -1810,11 +1826,8 @@ await client.business.gallery.upload({
|
|
|
1810
1826
|
<dd>
|
|
1811
1827
|
|
|
1812
1828
|
```typescript
|
|
1813
|
-
await client.business.
|
|
1814
|
-
|
|
1815
|
-
id: "id",
|
|
1816
|
-
sort_order: 1
|
|
1817
|
-
}]
|
|
1829
|
+
await client.business.events.get({
|
|
1830
|
+
event: "event"
|
|
1818
1831
|
});
|
|
1819
1832
|
|
|
1820
1833
|
```
|
|
@@ -1831,7 +1844,7 @@ await client.business.gallery.reorder({
|
|
|
1831
1844
|
<dl>
|
|
1832
1845
|
<dd>
|
|
1833
1846
|
|
|
1834
|
-
**request:** `FiveOneEat.business.
|
|
1847
|
+
**request:** `FiveOneEat.business.GetEventsRequest`
|
|
1835
1848
|
|
|
1836
1849
|
</dd>
|
|
1837
1850
|
</dl>
|
|
@@ -1839,7 +1852,7 @@ await client.business.gallery.reorder({
|
|
|
1839
1852
|
<dl>
|
|
1840
1853
|
<dd>
|
|
1841
1854
|
|
|
1842
|
-
**requestOptions:** `
|
|
1855
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
1843
1856
|
|
|
1844
1857
|
</dd>
|
|
1845
1858
|
</dl>
|
|
@@ -1851,7 +1864,7 @@ await client.business.gallery.reorder({
|
|
|
1851
1864
|
</dl>
|
|
1852
1865
|
</details>
|
|
1853
1866
|
|
|
1854
|
-
<details><summary><code>client.business.
|
|
1867
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateEventsResponse</code></summary>
|
|
1855
1868
|
<dl>
|
|
1856
1869
|
<dd>
|
|
1857
1870
|
|
|
@@ -1864,8 +1877,8 @@ await client.business.gallery.reorder({
|
|
|
1864
1877
|
<dd>
|
|
1865
1878
|
|
|
1866
1879
|
```typescript
|
|
1867
|
-
await client.business.
|
|
1868
|
-
|
|
1880
|
+
await client.business.events.update({
|
|
1881
|
+
event: "event"
|
|
1869
1882
|
});
|
|
1870
1883
|
|
|
1871
1884
|
```
|
|
@@ -1882,7 +1895,7 @@ await client.business.gallery.update({
|
|
|
1882
1895
|
<dl>
|
|
1883
1896
|
<dd>
|
|
1884
1897
|
|
|
1885
|
-
**request:** `FiveOneEat.business.
|
|
1898
|
+
**request:** `FiveOneEat.business.UpdateEventRequest`
|
|
1886
1899
|
|
|
1887
1900
|
</dd>
|
|
1888
1901
|
</dl>
|
|
@@ -1890,7 +1903,7 @@ await client.business.gallery.update({
|
|
|
1890
1903
|
<dl>
|
|
1891
1904
|
<dd>
|
|
1892
1905
|
|
|
1893
|
-
**requestOptions:** `
|
|
1906
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
1894
1907
|
|
|
1895
1908
|
</dd>
|
|
1896
1909
|
</dl>
|
|
@@ -1902,7 +1915,7 @@ await client.business.gallery.update({
|
|
|
1902
1915
|
</dl>
|
|
1903
1916
|
</details>
|
|
1904
1917
|
|
|
1905
|
-
<details><summary><code>client.business.
|
|
1918
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteEventsResponse</code></summary>
|
|
1906
1919
|
<dl>
|
|
1907
1920
|
<dd>
|
|
1908
1921
|
|
|
@@ -1915,8 +1928,8 @@ await client.business.gallery.update({
|
|
|
1915
1928
|
<dd>
|
|
1916
1929
|
|
|
1917
1930
|
```typescript
|
|
1918
|
-
await client.business.
|
|
1919
|
-
|
|
1931
|
+
await client.business.events.delete({
|
|
1932
|
+
event: "event"
|
|
1920
1933
|
});
|
|
1921
1934
|
|
|
1922
1935
|
```
|
|
@@ -1933,7 +1946,7 @@ await client.business.gallery.delete({
|
|
|
1933
1946
|
<dl>
|
|
1934
1947
|
<dd>
|
|
1935
1948
|
|
|
1936
|
-
**request:** `FiveOneEat.business.
|
|
1949
|
+
**request:** `FiveOneEat.business.DeleteEventsRequest`
|
|
1937
1950
|
|
|
1938
1951
|
</dd>
|
|
1939
1952
|
</dl>
|
|
@@ -1941,7 +1954,7 @@ await client.business.gallery.delete({
|
|
|
1941
1954
|
<dl>
|
|
1942
1955
|
<dd>
|
|
1943
1956
|
|
|
1944
|
-
**requestOptions:** `
|
|
1957
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
1945
1958
|
|
|
1946
1959
|
</dd>
|
|
1947
1960
|
</dl>
|
|
@@ -1953,12 +1966,11 @@ await client.business.gallery.delete({
|
|
|
1953
1966
|
</dl>
|
|
1954
1967
|
</details>
|
|
1955
1968
|
|
|
1956
|
-
|
|
1957
|
-
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">list</a>() -> FiveOneEat.ListMenusResponse</code></summary>
|
|
1969
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">togglePublished</a>({ ...params }) -> FiveOneEat.TogglePublishedEventsResponse</code></summary>
|
|
1958
1970
|
<dl>
|
|
1959
1971
|
<dd>
|
|
1960
1972
|
|
|
1961
|
-
####
|
|
1973
|
+
#### 🔌 Usage
|
|
1962
1974
|
|
|
1963
1975
|
<dl>
|
|
1964
1976
|
<dd>
|
|
@@ -1966,13 +1978,18 @@ await client.business.gallery.delete({
|
|
|
1966
1978
|
<dl>
|
|
1967
1979
|
<dd>
|
|
1968
1980
|
|
|
1969
|
-
|
|
1981
|
+
```typescript
|
|
1982
|
+
await client.business.events.togglePublished({
|
|
1983
|
+
event: "event"
|
|
1984
|
+
});
|
|
1985
|
+
|
|
1986
|
+
```
|
|
1970
1987
|
</dd>
|
|
1971
1988
|
</dl>
|
|
1972
1989
|
</dd>
|
|
1973
1990
|
</dl>
|
|
1974
1991
|
|
|
1975
|
-
####
|
|
1992
|
+
#### ⚙️ Parameters
|
|
1976
1993
|
|
|
1977
1994
|
<dl>
|
|
1978
1995
|
<dd>
|
|
@@ -1980,24 +1997,15 @@ Returns all menus with their full group/item hierarchy for the authenticated use
|
|
|
1980
1997
|
<dl>
|
|
1981
1998
|
<dd>
|
|
1982
1999
|
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
```
|
|
1987
|
-
</dd>
|
|
1988
|
-
</dl>
|
|
2000
|
+
**request:** `FiveOneEat.business.TogglePublishedEventsRequest`
|
|
2001
|
+
|
|
1989
2002
|
</dd>
|
|
1990
2003
|
</dl>
|
|
1991
2004
|
|
|
1992
|
-
#### ⚙️ Parameters
|
|
1993
|
-
|
|
1994
|
-
<dl>
|
|
1995
|
-
<dd>
|
|
1996
|
-
|
|
1997
2005
|
<dl>
|
|
1998
2006
|
<dd>
|
|
1999
2007
|
|
|
2000
|
-
**requestOptions:** `
|
|
2008
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2001
2009
|
|
|
2002
2010
|
</dd>
|
|
2003
2011
|
</dl>
|
|
@@ -2009,10 +2017,24 @@ await client.business.menus.list();
|
|
|
2009
2017
|
</dl>
|
|
2010
2018
|
</details>
|
|
2011
2019
|
|
|
2012
|
-
<details><summary><code>client.business.
|
|
2020
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">uploadImage</a>({ ...params }) -> FiveOneEat.UploadImageEventsResponse</code></summary>
|
|
2021
|
+
<dl>
|
|
2022
|
+
<dd>
|
|
2023
|
+
|
|
2024
|
+
#### 📝 Description
|
|
2025
|
+
|
|
2026
|
+
<dl>
|
|
2027
|
+
<dd>
|
|
2028
|
+
|
|
2013
2029
|
<dl>
|
|
2014
2030
|
<dd>
|
|
2015
2031
|
|
|
2032
|
+
Upload and replace the image for the given event. Any existing image will be deleted.
|
|
2033
|
+
</dd>
|
|
2034
|
+
</dl>
|
|
2035
|
+
</dd>
|
|
2036
|
+
</dl>
|
|
2037
|
+
|
|
2016
2038
|
#### 🔌 Usage
|
|
2017
2039
|
|
|
2018
2040
|
<dl>
|
|
@@ -2022,8 +2044,9 @@ await client.business.menus.list();
|
|
|
2022
2044
|
<dd>
|
|
2023
2045
|
|
|
2024
2046
|
```typescript
|
|
2025
|
-
await client.business.
|
|
2026
|
-
|
|
2047
|
+
await client.business.events.uploadImage({
|
|
2048
|
+
image: fs.createReadStream("/path/to/your/file"),
|
|
2049
|
+
event: "event"
|
|
2027
2050
|
});
|
|
2028
2051
|
|
|
2029
2052
|
```
|
|
@@ -2040,7 +2063,7 @@ await client.business.menus.create({
|
|
|
2040
2063
|
<dl>
|
|
2041
2064
|
<dd>
|
|
2042
2065
|
|
|
2043
|
-
**request:** `FiveOneEat.business.
|
|
2066
|
+
**request:** `FiveOneEat.business.UploadEventImageRequest`
|
|
2044
2067
|
|
|
2045
2068
|
</dd>
|
|
2046
2069
|
</dl>
|
|
@@ -2048,7 +2071,7 @@ await client.business.menus.create({
|
|
|
2048
2071
|
<dl>
|
|
2049
2072
|
<dd>
|
|
2050
2073
|
|
|
2051
|
-
**requestOptions:** `
|
|
2074
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2052
2075
|
|
|
2053
2076
|
</dd>
|
|
2054
2077
|
</dl>
|
|
@@ -2060,7 +2083,7 @@ await client.business.menus.create({
|
|
|
2060
2083
|
</dl>
|
|
2061
2084
|
</details>
|
|
2062
2085
|
|
|
2063
|
-
<details><summary><code>client.business.
|
|
2086
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">deleteImage</a>({ ...params }) -> FiveOneEat.DeleteImageEventsResponse</code></summary>
|
|
2064
2087
|
<dl>
|
|
2065
2088
|
<dd>
|
|
2066
2089
|
|
|
@@ -2073,8 +2096,8 @@ await client.business.menus.create({
|
|
|
2073
2096
|
<dd>
|
|
2074
2097
|
|
|
2075
2098
|
```typescript
|
|
2076
|
-
await client.business.
|
|
2077
|
-
|
|
2099
|
+
await client.business.events.deleteImage({
|
|
2100
|
+
event: "event"
|
|
2078
2101
|
});
|
|
2079
2102
|
|
|
2080
2103
|
```
|
|
@@ -2091,7 +2114,7 @@ await client.business.menus.get({
|
|
|
2091
2114
|
<dl>
|
|
2092
2115
|
<dd>
|
|
2093
2116
|
|
|
2094
|
-
**request:** `FiveOneEat.business.
|
|
2117
|
+
**request:** `FiveOneEat.business.DeleteImageEventsRequest`
|
|
2095
2118
|
|
|
2096
2119
|
</dd>
|
|
2097
2120
|
</dl>
|
|
@@ -2099,7 +2122,7 @@ await client.business.menus.get({
|
|
|
2099
2122
|
<dl>
|
|
2100
2123
|
<dd>
|
|
2101
2124
|
|
|
2102
|
-
**requestOptions:** `
|
|
2125
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2103
2126
|
|
|
2104
2127
|
</dd>
|
|
2105
2128
|
</dl>
|
|
@@ -2111,10 +2134,24 @@ await client.business.menus.get({
|
|
|
2111
2134
|
</dl>
|
|
2112
2135
|
</details>
|
|
2113
2136
|
|
|
2114
|
-
<details><summary><code>client.business.
|
|
2137
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">listRsvps</a>({ ...params }) -> FiveOneEat.ListRsvpsEventsResponse</code></summary>
|
|
2138
|
+
<dl>
|
|
2139
|
+
<dd>
|
|
2140
|
+
|
|
2141
|
+
#### 📝 Description
|
|
2142
|
+
|
|
2115
2143
|
<dl>
|
|
2116
2144
|
<dd>
|
|
2117
2145
|
|
|
2146
|
+
<dl>
|
|
2147
|
+
<dd>
|
|
2148
|
+
|
|
2149
|
+
Accepts an optional `status` query param: `attending`, `not_attending`, or `maybe`.
|
|
2150
|
+
</dd>
|
|
2151
|
+
</dl>
|
|
2152
|
+
</dd>
|
|
2153
|
+
</dl>
|
|
2154
|
+
|
|
2118
2155
|
#### 🔌 Usage
|
|
2119
2156
|
|
|
2120
2157
|
<dl>
|
|
@@ -2124,9 +2161,8 @@ await client.business.menus.get({
|
|
|
2124
2161
|
<dd>
|
|
2125
2162
|
|
|
2126
2163
|
```typescript
|
|
2127
|
-
await client.business.
|
|
2128
|
-
|
|
2129
|
-
name: "name"
|
|
2164
|
+
await client.business.events.listRsvps({
|
|
2165
|
+
event: "event"
|
|
2130
2166
|
});
|
|
2131
2167
|
|
|
2132
2168
|
```
|
|
@@ -2143,7 +2179,7 @@ await client.business.menus.update({
|
|
|
2143
2179
|
<dl>
|
|
2144
2180
|
<dd>
|
|
2145
2181
|
|
|
2146
|
-
**request:** `FiveOneEat.business.
|
|
2182
|
+
**request:** `FiveOneEat.business.ListRsvpsEventsRequest`
|
|
2147
2183
|
|
|
2148
2184
|
</dd>
|
|
2149
2185
|
</dl>
|
|
@@ -2151,7 +2187,7 @@ await client.business.menus.update({
|
|
|
2151
2187
|
<dl>
|
|
2152
2188
|
<dd>
|
|
2153
2189
|
|
|
2154
|
-
**requestOptions:** `
|
|
2190
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2155
2191
|
|
|
2156
2192
|
</dd>
|
|
2157
2193
|
</dl>
|
|
@@ -2163,10 +2199,25 @@ await client.business.menus.update({
|
|
|
2163
2199
|
</dl>
|
|
2164
2200
|
</details>
|
|
2165
2201
|
|
|
2166
|
-
<details><summary><code>client.business.
|
|
2202
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">listAttendees</a>({ ...params }) -> FiveOneEat.ListAttendeesEventsResponse</code></summary>
|
|
2203
|
+
<dl>
|
|
2204
|
+
<dd>
|
|
2205
|
+
|
|
2206
|
+
#### 📝 Description
|
|
2207
|
+
|
|
2208
|
+
<dl>
|
|
2209
|
+
<dd>
|
|
2210
|
+
|
|
2167
2211
|
<dl>
|
|
2168
2212
|
<dd>
|
|
2169
2213
|
|
|
2214
|
+
Accepts an optional `status` query param matching the ticket status
|
|
2215
|
+
(`valid`, `used`, `cancelled`, `refunded`).
|
|
2216
|
+
</dd>
|
|
2217
|
+
</dl>
|
|
2218
|
+
</dd>
|
|
2219
|
+
</dl>
|
|
2220
|
+
|
|
2170
2221
|
#### 🔌 Usage
|
|
2171
2222
|
|
|
2172
2223
|
<dl>
|
|
@@ -2176,8 +2227,8 @@ await client.business.menus.update({
|
|
|
2176
2227
|
<dd>
|
|
2177
2228
|
|
|
2178
2229
|
```typescript
|
|
2179
|
-
await client.business.
|
|
2180
|
-
|
|
2230
|
+
await client.business.events.listAttendees({
|
|
2231
|
+
event: "event"
|
|
2181
2232
|
});
|
|
2182
2233
|
|
|
2183
2234
|
```
|
|
@@ -2194,7 +2245,7 @@ await client.business.menus.delete({
|
|
|
2194
2245
|
<dl>
|
|
2195
2246
|
<dd>
|
|
2196
2247
|
|
|
2197
|
-
**request:** `FiveOneEat.business.
|
|
2248
|
+
**request:** `FiveOneEat.business.ListAttendeesEventsRequest`
|
|
2198
2249
|
|
|
2199
2250
|
</dd>
|
|
2200
2251
|
</dl>
|
|
@@ -2202,7 +2253,7 @@ await client.business.menus.delete({
|
|
|
2202
2253
|
<dl>
|
|
2203
2254
|
<dd>
|
|
2204
2255
|
|
|
2205
|
-
**requestOptions:** `
|
|
2256
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2206
2257
|
|
|
2207
2258
|
</dd>
|
|
2208
2259
|
</dl>
|
|
@@ -2214,8 +2265,7 @@ await client.business.menus.delete({
|
|
|
2214
2265
|
</dl>
|
|
2215
2266
|
</details>
|
|
2216
2267
|
|
|
2217
|
-
|
|
2218
|
-
<details><summary><code>client.business.messaging.<a href="/src/api/resources/business/resources/messaging/client/Client.ts">channelAuth</a>({ ...params }) -> number</code></summary>
|
|
2268
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">salesSummary</a>({ ...params }) -> FiveOneEat.SalesSummaryEventsResponse</code></summary>
|
|
2219
2269
|
<dl>
|
|
2220
2270
|
<dd>
|
|
2221
2271
|
|
|
@@ -2227,9 +2277,8 @@ await client.business.menus.delete({
|
|
|
2227
2277
|
<dl>
|
|
2228
2278
|
<dd>
|
|
2229
2279
|
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
permission to access the requested channel, scoped to their active business.
|
|
2280
|
+
Returns aggregated sales totals: gross revenue, refunds, tickets sold,
|
|
2281
|
+
and a per-ticket-type breakdown.
|
|
2233
2282
|
</dd>
|
|
2234
2283
|
</dl>
|
|
2235
2284
|
</dd>
|
|
@@ -2244,9 +2293,8 @@ permission to access the requested channel, scoped to their active business.
|
|
|
2244
2293
|
<dd>
|
|
2245
2294
|
|
|
2246
2295
|
```typescript
|
|
2247
|
-
await client.business.
|
|
2248
|
-
|
|
2249
|
-
socket_id: "socket_id"
|
|
2296
|
+
await client.business.events.salesSummary({
|
|
2297
|
+
event: "event"
|
|
2250
2298
|
});
|
|
2251
2299
|
|
|
2252
2300
|
```
|
|
@@ -2263,7 +2311,7 @@ await client.business.messaging.channelAuth({
|
|
|
2263
2311
|
<dl>
|
|
2264
2312
|
<dd>
|
|
2265
2313
|
|
|
2266
|
-
**request:** `FiveOneEat.business.
|
|
2314
|
+
**request:** `FiveOneEat.business.SalesSummaryEventsRequest`
|
|
2267
2315
|
|
|
2268
2316
|
</dd>
|
|
2269
2317
|
</dl>
|
|
@@ -2271,7 +2319,7 @@ await client.business.messaging.channelAuth({
|
|
|
2271
2319
|
<dl>
|
|
2272
2320
|
<dd>
|
|
2273
2321
|
|
|
2274
|
-
**requestOptions:** `
|
|
2322
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2275
2323
|
|
|
2276
2324
|
</dd>
|
|
2277
2325
|
</dl>
|
|
@@ -2283,25 +2331,11 @@ await client.business.messaging.channelAuth({
|
|
|
2283
2331
|
</dl>
|
|
2284
2332
|
</details>
|
|
2285
2333
|
|
|
2286
|
-
## Business
|
|
2287
|
-
<details><summary><code>client.business.
|
|
2288
|
-
<dl>
|
|
2289
|
-
<dd>
|
|
2290
|
-
|
|
2291
|
-
#### 📝 Description
|
|
2292
|
-
|
|
2293
|
-
<dl>
|
|
2294
|
-
<dd>
|
|
2295
|
-
|
|
2334
|
+
## Business Gallery
|
|
2335
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">list</a>() -> FiveOneEat.ListGalleryResponse</code></summary>
|
|
2296
2336
|
<dl>
|
|
2297
2337
|
<dd>
|
|
2298
2338
|
|
|
2299
|
-
Retrieve the full editable profile for the authenticated user's active business.
|
|
2300
|
-
</dd>
|
|
2301
|
-
</dl>
|
|
2302
|
-
</dd>
|
|
2303
|
-
</dl>
|
|
2304
|
-
|
|
2305
2339
|
#### 🔌 Usage
|
|
2306
2340
|
|
|
2307
2341
|
<dl>
|
|
@@ -2311,7 +2345,7 @@ Retrieve the full editable profile for the authenticated user's active business.
|
|
|
2311
2345
|
<dd>
|
|
2312
2346
|
|
|
2313
2347
|
```typescript
|
|
2314
|
-
await client.business.
|
|
2348
|
+
await client.business.gallery.list();
|
|
2315
2349
|
|
|
2316
2350
|
```
|
|
2317
2351
|
</dd>
|
|
@@ -2327,7 +2361,7 @@ await client.business.profile.get();
|
|
|
2327
2361
|
<dl>
|
|
2328
2362
|
<dd>
|
|
2329
2363
|
|
|
2330
|
-
**requestOptions:** `
|
|
2364
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
2331
2365
|
|
|
2332
2366
|
</dd>
|
|
2333
2367
|
</dl>
|
|
@@ -2339,24 +2373,10 @@ await client.business.profile.get();
|
|
|
2339
2373
|
</dl>
|
|
2340
2374
|
</details>
|
|
2341
2375
|
|
|
2342
|
-
<details><summary><code>client.business.
|
|
2343
|
-
<dl>
|
|
2344
|
-
<dd>
|
|
2345
|
-
|
|
2346
|
-
#### 📝 Description
|
|
2347
|
-
|
|
2348
|
-
<dl>
|
|
2349
|
-
<dd>
|
|
2350
|
-
|
|
2376
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">upload</a>({ ...params }) -> FiveOneEat.UploadGalleryResponse</code></summary>
|
|
2351
2377
|
<dl>
|
|
2352
2378
|
<dd>
|
|
2353
2379
|
|
|
2354
|
-
Update core profile fields for the authenticated user's active business.
|
|
2355
|
-
</dd>
|
|
2356
|
-
</dl>
|
|
2357
|
-
</dd>
|
|
2358
|
-
</dl>
|
|
2359
|
-
|
|
2360
2380
|
#### 🔌 Usage
|
|
2361
2381
|
|
|
2362
2382
|
<dl>
|
|
@@ -2366,7 +2386,9 @@ Update core profile fields for the authenticated user's active business.
|
|
|
2366
2386
|
<dd>
|
|
2367
2387
|
|
|
2368
2388
|
```typescript
|
|
2369
|
-
await client.business.
|
|
2389
|
+
await client.business.gallery.upload({
|
|
2390
|
+
photo: fs.createReadStream("/path/to/your/file")
|
|
2391
|
+
});
|
|
2370
2392
|
|
|
2371
2393
|
```
|
|
2372
2394
|
</dd>
|
|
@@ -2382,7 +2404,7 @@ await client.business.profile.update();
|
|
|
2382
2404
|
<dl>
|
|
2383
2405
|
<dd>
|
|
2384
2406
|
|
|
2385
|
-
**request:** `FiveOneEat.business.
|
|
2407
|
+
**request:** `FiveOneEat.business.StoreGalleryPhotoRequest`
|
|
2386
2408
|
|
|
2387
2409
|
</dd>
|
|
2388
2410
|
</dl>
|
|
@@ -2390,7 +2412,7 @@ await client.business.profile.update();
|
|
|
2390
2412
|
<dl>
|
|
2391
2413
|
<dd>
|
|
2392
2414
|
|
|
2393
|
-
**requestOptions:** `
|
|
2415
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
2394
2416
|
|
|
2395
2417
|
</dd>
|
|
2396
2418
|
</dl>
|
|
@@ -2402,24 +2424,10 @@ await client.business.profile.update();
|
|
|
2402
2424
|
</dl>
|
|
2403
2425
|
</details>
|
|
2404
2426
|
|
|
2405
|
-
<details><summary><code>client.business.
|
|
2406
|
-
<dl>
|
|
2407
|
-
<dd>
|
|
2408
|
-
|
|
2409
|
-
#### 📝 Description
|
|
2410
|
-
|
|
2411
|
-
<dl>
|
|
2412
|
-
<dd>
|
|
2413
|
-
|
|
2427
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">reorder</a>({ ...params }) -> FiveOneEat.ReorderGalleryResponse</code></summary>
|
|
2414
2428
|
<dl>
|
|
2415
2429
|
<dd>
|
|
2416
2430
|
|
|
2417
|
-
Replace the set of cuisines associated with the authenticated user's active business.
|
|
2418
|
-
</dd>
|
|
2419
|
-
</dl>
|
|
2420
|
-
</dd>
|
|
2421
|
-
</dl>
|
|
2422
|
-
|
|
2423
2431
|
#### 🔌 Usage
|
|
2424
2432
|
|
|
2425
2433
|
<dl>
|
|
@@ -2429,8 +2437,11 @@ Replace the set of cuisines associated with the authenticated user's active busi
|
|
|
2429
2437
|
<dd>
|
|
2430
2438
|
|
|
2431
2439
|
```typescript
|
|
2432
|
-
await client.business.
|
|
2433
|
-
|
|
2440
|
+
await client.business.gallery.reorder({
|
|
2441
|
+
photos: [{
|
|
2442
|
+
id: "id",
|
|
2443
|
+
sort_order: 1
|
|
2444
|
+
}]
|
|
2434
2445
|
});
|
|
2435
2446
|
|
|
2436
2447
|
```
|
|
@@ -2447,7 +2458,7 @@ await client.business.profile.syncCuisines({
|
|
|
2447
2458
|
<dl>
|
|
2448
2459
|
<dd>
|
|
2449
2460
|
|
|
2450
|
-
**request:** `FiveOneEat.business.
|
|
2461
|
+
**request:** `FiveOneEat.business.ReorderGalleryRequest`
|
|
2451
2462
|
|
|
2452
2463
|
</dd>
|
|
2453
2464
|
</dl>
|
|
@@ -2455,7 +2466,7 @@ await client.business.profile.syncCuisines({
|
|
|
2455
2466
|
<dl>
|
|
2456
2467
|
<dd>
|
|
2457
2468
|
|
|
2458
|
-
**requestOptions:** `
|
|
2469
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
2459
2470
|
|
|
2460
2471
|
</dd>
|
|
2461
2472
|
</dl>
|
|
@@ -2467,24 +2478,10 @@ await client.business.profile.syncCuisines({
|
|
|
2467
2478
|
</dl>
|
|
2468
2479
|
</details>
|
|
2469
2480
|
|
|
2470
|
-
<details><summary><code>client.business.
|
|
2471
|
-
<dl>
|
|
2472
|
-
<dd>
|
|
2473
|
-
|
|
2474
|
-
#### 📝 Description
|
|
2475
|
-
|
|
2476
|
-
<dl>
|
|
2477
|
-
<dd>
|
|
2478
|
-
|
|
2481
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateGalleryResponse</code></summary>
|
|
2479
2482
|
<dl>
|
|
2480
2483
|
<dd>
|
|
2481
2484
|
|
|
2482
|
-
Replace the set of certifications associated with the authenticated user's active business.
|
|
2483
|
-
</dd>
|
|
2484
|
-
</dl>
|
|
2485
|
-
</dd>
|
|
2486
|
-
</dl>
|
|
2487
|
-
|
|
2488
2485
|
#### 🔌 Usage
|
|
2489
2486
|
|
|
2490
2487
|
<dl>
|
|
@@ -2494,8 +2491,8 @@ Replace the set of certifications associated with the authenticated user's activ
|
|
|
2494
2491
|
<dd>
|
|
2495
2492
|
|
|
2496
2493
|
```typescript
|
|
2497
|
-
await client.business.
|
|
2498
|
-
|
|
2494
|
+
await client.business.gallery.update({
|
|
2495
|
+
photo: "photo"
|
|
2499
2496
|
});
|
|
2500
2497
|
|
|
2501
2498
|
```
|
|
@@ -2512,7 +2509,7 @@ await client.business.profile.syncCertifications({
|
|
|
2512
2509
|
<dl>
|
|
2513
2510
|
<dd>
|
|
2514
2511
|
|
|
2515
|
-
**request:** `FiveOneEat.business.
|
|
2512
|
+
**request:** `FiveOneEat.business.UpdateGalleryPhotoRequest`
|
|
2516
2513
|
|
|
2517
2514
|
</dd>
|
|
2518
2515
|
</dl>
|
|
@@ -2520,7 +2517,7 @@ await client.business.profile.syncCertifications({
|
|
|
2520
2517
|
<dl>
|
|
2521
2518
|
<dd>
|
|
2522
2519
|
|
|
2523
|
-
**requestOptions:** `
|
|
2520
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
2524
2521
|
|
|
2525
2522
|
</dd>
|
|
2526
2523
|
</dl>
|
|
@@ -2532,12 +2529,11 @@ await client.business.profile.syncCertifications({
|
|
|
2532
2529
|
</dl>
|
|
2533
2530
|
</details>
|
|
2534
2531
|
|
|
2535
|
-
|
|
2536
|
-
<details><summary><code>client.business.pushNotifications.<a href="/src/api/resources/business/resources/pushNotifications/client/Client.ts">register</a>({ ...params }) -> FiveOneEat.RegisterPushNotificationsResponse</code></summary>
|
|
2532
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteGalleryResponse</code></summary>
|
|
2537
2533
|
<dl>
|
|
2538
2534
|
<dd>
|
|
2539
2535
|
|
|
2540
|
-
####
|
|
2536
|
+
#### 🔌 Usage
|
|
2541
2537
|
|
|
2542
2538
|
<dl>
|
|
2543
2539
|
<dd>
|
|
@@ -2545,15 +2541,18 @@ await client.business.profile.syncCertifications({
|
|
|
2545
2541
|
<dl>
|
|
2546
2542
|
<dd>
|
|
2547
2543
|
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2544
|
+
```typescript
|
|
2545
|
+
await client.business.gallery.delete({
|
|
2546
|
+
photo: "photo"
|
|
2547
|
+
});
|
|
2548
|
+
|
|
2549
|
+
```
|
|
2551
2550
|
</dd>
|
|
2552
2551
|
</dl>
|
|
2553
2552
|
</dd>
|
|
2554
2553
|
</dl>
|
|
2555
2554
|
|
|
2556
|
-
####
|
|
2555
|
+
#### ⚙️ Parameters
|
|
2557
2556
|
|
|
2558
2557
|
<dl>
|
|
2559
2558
|
<dd>
|
|
@@ -2561,18 +2560,32 @@ is updated.
|
|
|
2561
2560
|
<dl>
|
|
2562
2561
|
<dd>
|
|
2563
2562
|
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2563
|
+
**request:** `FiveOneEat.business.DeleteGalleryRequest`
|
|
2564
|
+
|
|
2565
|
+
</dd>
|
|
2566
|
+
</dl>
|
|
2568
2567
|
|
|
2569
|
-
|
|
2568
|
+
<dl>
|
|
2569
|
+
<dd>
|
|
2570
|
+
|
|
2571
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
2572
|
+
|
|
2570
2573
|
</dd>
|
|
2571
2574
|
</dl>
|
|
2572
2575
|
</dd>
|
|
2573
2576
|
</dl>
|
|
2574
2577
|
|
|
2575
|
-
|
|
2578
|
+
|
|
2579
|
+
</dd>
|
|
2580
|
+
</dl>
|
|
2581
|
+
</details>
|
|
2582
|
+
|
|
2583
|
+
## Business Menus
|
|
2584
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">list</a>() -> FiveOneEat.ListMenusResponse</code></summary>
|
|
2585
|
+
<dl>
|
|
2586
|
+
<dd>
|
|
2587
|
+
|
|
2588
|
+
#### 📝 Description
|
|
2576
2589
|
|
|
2577
2590
|
<dl>
|
|
2578
2591
|
<dd>
|
|
@@ -2580,15 +2593,38 @@ await client.business.pushNotifications.register({
|
|
|
2580
2593
|
<dl>
|
|
2581
2594
|
<dd>
|
|
2582
2595
|
|
|
2583
|
-
|
|
2584
|
-
|
|
2596
|
+
Returns all menus with their full group/item hierarchy for the authenticated user's active business.
|
|
2597
|
+
</dd>
|
|
2598
|
+
</dl>
|
|
2585
2599
|
</dd>
|
|
2586
2600
|
</dl>
|
|
2587
2601
|
|
|
2602
|
+
#### 🔌 Usage
|
|
2603
|
+
|
|
2588
2604
|
<dl>
|
|
2589
2605
|
<dd>
|
|
2590
2606
|
|
|
2591
|
-
|
|
2607
|
+
<dl>
|
|
2608
|
+
<dd>
|
|
2609
|
+
|
|
2610
|
+
```typescript
|
|
2611
|
+
await client.business.menus.list();
|
|
2612
|
+
|
|
2613
|
+
```
|
|
2614
|
+
</dd>
|
|
2615
|
+
</dl>
|
|
2616
|
+
</dd>
|
|
2617
|
+
</dl>
|
|
2618
|
+
|
|
2619
|
+
#### ⚙️ Parameters
|
|
2620
|
+
|
|
2621
|
+
<dl>
|
|
2622
|
+
<dd>
|
|
2623
|
+
|
|
2624
|
+
<dl>
|
|
2625
|
+
<dd>
|
|
2626
|
+
|
|
2627
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2592
2628
|
|
|
2593
2629
|
</dd>
|
|
2594
2630
|
</dl>
|
|
@@ -2600,11 +2636,11 @@ await client.business.pushNotifications.register({
|
|
|
2600
2636
|
</dl>
|
|
2601
2637
|
</details>
|
|
2602
2638
|
|
|
2603
|
-
<details><summary><code>client.business.
|
|
2639
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateMenusResponse</code></summary>
|
|
2604
2640
|
<dl>
|
|
2605
2641
|
<dd>
|
|
2606
2642
|
|
|
2607
|
-
####
|
|
2643
|
+
#### 🔌 Usage
|
|
2608
2644
|
|
|
2609
2645
|
<dl>
|
|
2610
2646
|
<dd>
|
|
@@ -2612,11 +2648,48 @@ await client.business.pushNotifications.register({
|
|
|
2612
2648
|
<dl>
|
|
2613
2649
|
<dd>
|
|
2614
2650
|
|
|
2615
|
-
|
|
2651
|
+
```typescript
|
|
2652
|
+
await client.business.menus.create({
|
|
2653
|
+
name: "name"
|
|
2654
|
+
});
|
|
2655
|
+
|
|
2656
|
+
```
|
|
2657
|
+
</dd>
|
|
2658
|
+
</dl>
|
|
2659
|
+
</dd>
|
|
2660
|
+
</dl>
|
|
2661
|
+
|
|
2662
|
+
#### ⚙️ Parameters
|
|
2663
|
+
|
|
2664
|
+
<dl>
|
|
2665
|
+
<dd>
|
|
2666
|
+
|
|
2667
|
+
<dl>
|
|
2668
|
+
<dd>
|
|
2669
|
+
|
|
2670
|
+
**request:** `FiveOneEat.business.StoreMenuRequest`
|
|
2671
|
+
|
|
2672
|
+
</dd>
|
|
2673
|
+
</dl>
|
|
2674
|
+
|
|
2675
|
+
<dl>
|
|
2676
|
+
<dd>
|
|
2677
|
+
|
|
2678
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2679
|
+
|
|
2680
|
+
</dd>
|
|
2681
|
+
</dl>
|
|
2616
2682
|
</dd>
|
|
2617
2683
|
</dl>
|
|
2684
|
+
|
|
2685
|
+
|
|
2618
2686
|
</dd>
|
|
2619
2687
|
</dl>
|
|
2688
|
+
</details>
|
|
2689
|
+
|
|
2690
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetMenusResponse</code></summary>
|
|
2691
|
+
<dl>
|
|
2692
|
+
<dd>
|
|
2620
2693
|
|
|
2621
2694
|
#### 🔌 Usage
|
|
2622
2695
|
|
|
@@ -2627,8 +2700,8 @@ Delete the authenticated business user's Expo push token registration.
|
|
|
2627
2700
|
<dd>
|
|
2628
2701
|
|
|
2629
2702
|
```typescript
|
|
2630
|
-
await client.business.
|
|
2631
|
-
|
|
2703
|
+
await client.business.menus.get({
|
|
2704
|
+
menu: "menu"
|
|
2632
2705
|
});
|
|
2633
2706
|
|
|
2634
2707
|
```
|
|
@@ -2645,7 +2718,7 @@ await client.business.pushNotifications.unregister({
|
|
|
2645
2718
|
<dl>
|
|
2646
2719
|
<dd>
|
|
2647
2720
|
|
|
2648
|
-
**request:** `FiveOneEat.business.
|
|
2721
|
+
**request:** `FiveOneEat.business.GetMenusRequest`
|
|
2649
2722
|
|
|
2650
2723
|
</dd>
|
|
2651
2724
|
</dl>
|
|
@@ -2653,7 +2726,7 @@ await client.business.pushNotifications.unregister({
|
|
|
2653
2726
|
<dl>
|
|
2654
2727
|
<dd>
|
|
2655
2728
|
|
|
2656
|
-
**requestOptions:** `
|
|
2729
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2657
2730
|
|
|
2658
2731
|
</dd>
|
|
2659
2732
|
</dl>
|
|
@@ -2665,12 +2738,11 @@ await client.business.pushNotifications.unregister({
|
|
|
2665
2738
|
</dl>
|
|
2666
2739
|
</details>
|
|
2667
2740
|
|
|
2668
|
-
|
|
2669
|
-
<details><summary><code>client.business.cuisines.<a href="/src/api/resources/business/resources/cuisines/client/Client.ts">list</a>() -> FiveOneEat.ListCuisinesResponse</code></summary>
|
|
2741
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateMenusResponse</code></summary>
|
|
2670
2742
|
<dl>
|
|
2671
2743
|
<dd>
|
|
2672
2744
|
|
|
2673
|
-
####
|
|
2745
|
+
#### 🔌 Usage
|
|
2674
2746
|
|
|
2675
2747
|
<dl>
|
|
2676
2748
|
<dd>
|
|
@@ -2678,12 +2750,49 @@ await client.business.pushNotifications.unregister({
|
|
|
2678
2750
|
<dl>
|
|
2679
2751
|
<dd>
|
|
2680
2752
|
|
|
2681
|
-
|
|
2682
|
-
|
|
2753
|
+
```typescript
|
|
2754
|
+
await client.business.menus.update({
|
|
2755
|
+
menu: "menu",
|
|
2756
|
+
name: "name"
|
|
2757
|
+
});
|
|
2758
|
+
|
|
2759
|
+
```
|
|
2760
|
+
</dd>
|
|
2761
|
+
</dl>
|
|
2762
|
+
</dd>
|
|
2763
|
+
</dl>
|
|
2764
|
+
|
|
2765
|
+
#### ⚙️ Parameters
|
|
2766
|
+
|
|
2767
|
+
<dl>
|
|
2768
|
+
<dd>
|
|
2769
|
+
|
|
2770
|
+
<dl>
|
|
2771
|
+
<dd>
|
|
2772
|
+
|
|
2773
|
+
**request:** `FiveOneEat.business.UpdateMenuRequest`
|
|
2774
|
+
|
|
2775
|
+
</dd>
|
|
2776
|
+
</dl>
|
|
2777
|
+
|
|
2778
|
+
<dl>
|
|
2779
|
+
<dd>
|
|
2780
|
+
|
|
2781
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2782
|
+
|
|
2783
|
+
</dd>
|
|
2784
|
+
</dl>
|
|
2683
2785
|
</dd>
|
|
2684
2786
|
</dl>
|
|
2787
|
+
|
|
2788
|
+
|
|
2685
2789
|
</dd>
|
|
2686
2790
|
</dl>
|
|
2791
|
+
</details>
|
|
2792
|
+
|
|
2793
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteMenusResponse</code></summary>
|
|
2794
|
+
<dl>
|
|
2795
|
+
<dd>
|
|
2687
2796
|
|
|
2688
2797
|
#### 🔌 Usage
|
|
2689
2798
|
|
|
@@ -2694,7 +2803,9 @@ populate the `cuisine_ids` field when updating a business profile.
|
|
|
2694
2803
|
<dd>
|
|
2695
2804
|
|
|
2696
2805
|
```typescript
|
|
2697
|
-
await client.business.
|
|
2806
|
+
await client.business.menus.delete({
|
|
2807
|
+
menu: "menu"
|
|
2808
|
+
});
|
|
2698
2809
|
|
|
2699
2810
|
```
|
|
2700
2811
|
</dd>
|
|
@@ -2710,7 +2821,15 @@ await client.business.cuisines.list();
|
|
|
2710
2821
|
<dl>
|
|
2711
2822
|
<dd>
|
|
2712
2823
|
|
|
2713
|
-
**
|
|
2824
|
+
**request:** `FiveOneEat.business.DeleteMenusRequest`
|
|
2825
|
+
|
|
2826
|
+
</dd>
|
|
2827
|
+
</dl>
|
|
2828
|
+
|
|
2829
|
+
<dl>
|
|
2830
|
+
<dd>
|
|
2831
|
+
|
|
2832
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
2714
2833
|
|
|
2715
2834
|
</dd>
|
|
2716
2835
|
</dl>
|
|
@@ -2722,8 +2841,8 @@ await client.business.cuisines.list();
|
|
|
2722
2841
|
</dl>
|
|
2723
2842
|
</details>
|
|
2724
2843
|
|
|
2725
|
-
## Business
|
|
2726
|
-
<details><summary><code>client.business.
|
|
2844
|
+
## Business Messaging
|
|
2845
|
+
<details><summary><code>client.business.messaging.<a href="/src/api/resources/business/resources/messaging/client/Client.ts">channelAuth</a>({ ...params }) -> number</code></summary>
|
|
2727
2846
|
<dl>
|
|
2728
2847
|
<dd>
|
|
2729
2848
|
|
|
@@ -2735,8 +2854,9 @@ await client.business.cuisines.list();
|
|
|
2735
2854
|
<dl>
|
|
2736
2855
|
<dd>
|
|
2737
2856
|
|
|
2738
|
-
|
|
2739
|
-
|
|
2857
|
+
This endpoint is used by the business companion mobile app to authenticate with
|
|
2858
|
+
Pusher channels. It validates that the authenticated business user has
|
|
2859
|
+
permission to access the requested channel, scoped to their active business.
|
|
2740
2860
|
</dd>
|
|
2741
2861
|
</dl>
|
|
2742
2862
|
</dd>
|
|
@@ -2751,7 +2871,10 @@ to populate the `certification_ids` field when updating a business profile.
|
|
|
2751
2871
|
<dd>
|
|
2752
2872
|
|
|
2753
2873
|
```typescript
|
|
2754
|
-
await client.business.
|
|
2874
|
+
await client.business.messaging.channelAuth({
|
|
2875
|
+
channel_name: "channel_name",
|
|
2876
|
+
socket_id: "socket_id"
|
|
2877
|
+
});
|
|
2755
2878
|
|
|
2756
2879
|
```
|
|
2757
2880
|
</dd>
|
|
@@ -2767,7 +2890,15 @@ await client.business.certifications.list();
|
|
|
2767
2890
|
<dl>
|
|
2768
2891
|
<dd>
|
|
2769
2892
|
|
|
2770
|
-
**
|
|
2893
|
+
**request:** `FiveOneEat.business.ChannelAuthMessagingRequest`
|
|
2894
|
+
|
|
2895
|
+
</dd>
|
|
2896
|
+
</dl>
|
|
2897
|
+
|
|
2898
|
+
<dl>
|
|
2899
|
+
<dd>
|
|
2900
|
+
|
|
2901
|
+
**requestOptions:** `MessagingClient.RequestOptions`
|
|
2771
2902
|
|
|
2772
2903
|
</dd>
|
|
2773
2904
|
</dl>
|
|
@@ -2779,8 +2910,8 @@ await client.business.certifications.list();
|
|
|
2779
2910
|
</dl>
|
|
2780
2911
|
</details>
|
|
2781
2912
|
|
|
2782
|
-
## Business
|
|
2783
|
-
<details><summary><code>client.business.
|
|
2913
|
+
## Business Profile
|
|
2914
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">get</a>() -> FiveOneEat.GetProfileResponse</code></summary>
|
|
2784
2915
|
<dl>
|
|
2785
2916
|
<dd>
|
|
2786
2917
|
|
|
@@ -2792,8 +2923,7 @@ await client.business.certifications.list();
|
|
|
2792
2923
|
<dl>
|
|
2793
2924
|
<dd>
|
|
2794
2925
|
|
|
2795
|
-
Retrieve
|
|
2796
|
-
Use these IDs to populate the `category_ids` field when creating or updating a business.
|
|
2926
|
+
Retrieve the full editable profile for the authenticated user's active business.
|
|
2797
2927
|
</dd>
|
|
2798
2928
|
</dl>
|
|
2799
2929
|
</dd>
|
|
@@ -2808,7 +2938,7 @@ Use these IDs to populate the `category_ids` field when creating or updating a b
|
|
|
2808
2938
|
<dd>
|
|
2809
2939
|
|
|
2810
2940
|
```typescript
|
|
2811
|
-
await client.business.
|
|
2941
|
+
await client.business.profile.get();
|
|
2812
2942
|
|
|
2813
2943
|
```
|
|
2814
2944
|
</dd>
|
|
@@ -2824,7 +2954,7 @@ await client.business.categories.list();
|
|
|
2824
2954
|
<dl>
|
|
2825
2955
|
<dd>
|
|
2826
2956
|
|
|
2827
|
-
**requestOptions:** `
|
|
2957
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
2828
2958
|
|
|
2829
2959
|
</dd>
|
|
2830
2960
|
</dl>
|
|
@@ -2836,8 +2966,7 @@ await client.business.categories.list();
|
|
|
2836
2966
|
</dl>
|
|
2837
2967
|
</details>
|
|
2838
2968
|
|
|
2839
|
-
|
|
2840
|
-
<details><summary><code>client.business.auth.tokens.<a href="/src/api/resources/business/resources/auth/resources/tokens/client/Client.ts">list</a>() -> FiveOneEat.ListTokensResponse</code></summary>
|
|
2969
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateProfileResponse</code></summary>
|
|
2841
2970
|
<dl>
|
|
2842
2971
|
<dd>
|
|
2843
2972
|
|
|
@@ -2849,7 +2978,7 @@ await client.business.categories.list();
|
|
|
2849
2978
|
<dl>
|
|
2850
2979
|
<dd>
|
|
2851
2980
|
|
|
2852
|
-
|
|
2981
|
+
Update core profile fields for the authenticated user's active business.
|
|
2853
2982
|
</dd>
|
|
2854
2983
|
</dl>
|
|
2855
2984
|
</dd>
|
|
@@ -2864,7 +2993,7 @@ Retrieve a list of all API tokens for the authenticated business user.
|
|
|
2864
2993
|
<dd>
|
|
2865
2994
|
|
|
2866
2995
|
```typescript
|
|
2867
|
-
await client.business.
|
|
2996
|
+
await client.business.profile.update();
|
|
2868
2997
|
|
|
2869
2998
|
```
|
|
2870
2999
|
</dd>
|
|
@@ -2880,7 +3009,15 @@ await client.business.auth.tokens.list();
|
|
|
2880
3009
|
<dl>
|
|
2881
3010
|
<dd>
|
|
2882
3011
|
|
|
2883
|
-
**
|
|
3012
|
+
**request:** `FiveOneEat.business.UpdateBusinessProfileRequest`
|
|
3013
|
+
|
|
3014
|
+
</dd>
|
|
3015
|
+
</dl>
|
|
3016
|
+
|
|
3017
|
+
<dl>
|
|
3018
|
+
<dd>
|
|
3019
|
+
|
|
3020
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
2884
3021
|
|
|
2885
3022
|
</dd>
|
|
2886
3023
|
</dl>
|
|
@@ -2892,7 +3029,7 @@ await client.business.auth.tokens.list();
|
|
|
2892
3029
|
</dl>
|
|
2893
3030
|
</details>
|
|
2894
3031
|
|
|
2895
|
-
<details><summary><code>client.business.
|
|
3032
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">syncCuisines</a>({ ...params }) -> FiveOneEat.SyncCuisinesProfileResponse</code></summary>
|
|
2896
3033
|
<dl>
|
|
2897
3034
|
<dd>
|
|
2898
3035
|
|
|
@@ -2904,7 +3041,7 @@ await client.business.auth.tokens.list();
|
|
|
2904
3041
|
<dl>
|
|
2905
3042
|
<dd>
|
|
2906
3043
|
|
|
2907
|
-
|
|
3044
|
+
Replace the set of cuisines associated with the authenticated user's active business.
|
|
2908
3045
|
</dd>
|
|
2909
3046
|
</dl>
|
|
2910
3047
|
</dd>
|
|
@@ -2919,8 +3056,8 @@ Delete a specific API token by its ID.
|
|
|
2919
3056
|
<dd>
|
|
2920
3057
|
|
|
2921
3058
|
```typescript
|
|
2922
|
-
await client.business.
|
|
2923
|
-
|
|
3059
|
+
await client.business.profile.syncCuisines({
|
|
3060
|
+
cuisine_ids: [1]
|
|
2924
3061
|
});
|
|
2925
3062
|
|
|
2926
3063
|
```
|
|
@@ -2937,7 +3074,7 @@ await client.business.auth.tokens.revoke({
|
|
|
2937
3074
|
<dl>
|
|
2938
3075
|
<dd>
|
|
2939
3076
|
|
|
2940
|
-
**request:** `FiveOneEat.business.
|
|
3077
|
+
**request:** `FiveOneEat.business.SyncCuisinesRequest`
|
|
2941
3078
|
|
|
2942
3079
|
</dd>
|
|
2943
3080
|
</dl>
|
|
@@ -2945,7 +3082,1120 @@ await client.business.auth.tokens.revoke({
|
|
|
2945
3082
|
<dl>
|
|
2946
3083
|
<dd>
|
|
2947
3084
|
|
|
2948
|
-
**requestOptions:** `
|
|
3085
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
3086
|
+
|
|
3087
|
+
</dd>
|
|
3088
|
+
</dl>
|
|
3089
|
+
</dd>
|
|
3090
|
+
</dl>
|
|
3091
|
+
|
|
3092
|
+
|
|
3093
|
+
</dd>
|
|
3094
|
+
</dl>
|
|
3095
|
+
</details>
|
|
3096
|
+
|
|
3097
|
+
<details><summary><code>client.business.profile.<a href="/src/api/resources/business/resources/profile/client/Client.ts">syncCertifications</a>({ ...params }) -> FiveOneEat.SyncCertificationsProfileResponse</code></summary>
|
|
3098
|
+
<dl>
|
|
3099
|
+
<dd>
|
|
3100
|
+
|
|
3101
|
+
#### 📝 Description
|
|
3102
|
+
|
|
3103
|
+
<dl>
|
|
3104
|
+
<dd>
|
|
3105
|
+
|
|
3106
|
+
<dl>
|
|
3107
|
+
<dd>
|
|
3108
|
+
|
|
3109
|
+
Replace the set of certifications associated with the authenticated user's active business.
|
|
3110
|
+
</dd>
|
|
3111
|
+
</dl>
|
|
3112
|
+
</dd>
|
|
3113
|
+
</dl>
|
|
3114
|
+
|
|
3115
|
+
#### 🔌 Usage
|
|
3116
|
+
|
|
3117
|
+
<dl>
|
|
3118
|
+
<dd>
|
|
3119
|
+
|
|
3120
|
+
<dl>
|
|
3121
|
+
<dd>
|
|
3122
|
+
|
|
3123
|
+
```typescript
|
|
3124
|
+
await client.business.profile.syncCertifications({
|
|
3125
|
+
certification_ids: [1]
|
|
3126
|
+
});
|
|
3127
|
+
|
|
3128
|
+
```
|
|
3129
|
+
</dd>
|
|
3130
|
+
</dl>
|
|
3131
|
+
</dd>
|
|
3132
|
+
</dl>
|
|
3133
|
+
|
|
3134
|
+
#### ⚙️ Parameters
|
|
3135
|
+
|
|
3136
|
+
<dl>
|
|
3137
|
+
<dd>
|
|
3138
|
+
|
|
3139
|
+
<dl>
|
|
3140
|
+
<dd>
|
|
3141
|
+
|
|
3142
|
+
**request:** `FiveOneEat.business.SyncCertificationsRequest`
|
|
3143
|
+
|
|
3144
|
+
</dd>
|
|
3145
|
+
</dl>
|
|
3146
|
+
|
|
3147
|
+
<dl>
|
|
3148
|
+
<dd>
|
|
3149
|
+
|
|
3150
|
+
**requestOptions:** `ProfileClient.RequestOptions`
|
|
3151
|
+
|
|
3152
|
+
</dd>
|
|
3153
|
+
</dl>
|
|
3154
|
+
</dd>
|
|
3155
|
+
</dl>
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
</dd>
|
|
3159
|
+
</dl>
|
|
3160
|
+
</details>
|
|
3161
|
+
|
|
3162
|
+
## Business PushNotifications
|
|
3163
|
+
<details><summary><code>client.business.pushNotifications.<a href="/src/api/resources/business/resources/pushNotifications/client/Client.ts">register</a>({ ...params }) -> FiveOneEat.RegisterPushNotificationsResponse</code></summary>
|
|
3164
|
+
<dl>
|
|
3165
|
+
<dd>
|
|
3166
|
+
|
|
3167
|
+
#### 📝 Description
|
|
3168
|
+
|
|
3169
|
+
<dl>
|
|
3170
|
+
<dd>
|
|
3171
|
+
|
|
3172
|
+
<dl>
|
|
3173
|
+
<dd>
|
|
3174
|
+
|
|
3175
|
+
Register (or update) the authenticated business user's Expo push token for a
|
|
3176
|
+
device. If a `device_id` is provided, an existing registration for that device
|
|
3177
|
+
is updated.
|
|
3178
|
+
</dd>
|
|
3179
|
+
</dl>
|
|
3180
|
+
</dd>
|
|
3181
|
+
</dl>
|
|
3182
|
+
|
|
3183
|
+
#### 🔌 Usage
|
|
3184
|
+
|
|
3185
|
+
<dl>
|
|
3186
|
+
<dd>
|
|
3187
|
+
|
|
3188
|
+
<dl>
|
|
3189
|
+
<dd>
|
|
3190
|
+
|
|
3191
|
+
```typescript
|
|
3192
|
+
await client.business.pushNotifications.register({
|
|
3193
|
+
token: "token"
|
|
3194
|
+
});
|
|
3195
|
+
|
|
3196
|
+
```
|
|
3197
|
+
</dd>
|
|
3198
|
+
</dl>
|
|
3199
|
+
</dd>
|
|
3200
|
+
</dl>
|
|
3201
|
+
|
|
3202
|
+
#### ⚙️ Parameters
|
|
3203
|
+
|
|
3204
|
+
<dl>
|
|
3205
|
+
<dd>
|
|
3206
|
+
|
|
3207
|
+
<dl>
|
|
3208
|
+
<dd>
|
|
3209
|
+
|
|
3210
|
+
**request:** `FiveOneEat.business.StorePushTokenRequest`
|
|
3211
|
+
|
|
3212
|
+
</dd>
|
|
3213
|
+
</dl>
|
|
3214
|
+
|
|
3215
|
+
<dl>
|
|
3216
|
+
<dd>
|
|
3217
|
+
|
|
3218
|
+
**requestOptions:** `PushNotificationsClient.RequestOptions`
|
|
3219
|
+
|
|
3220
|
+
</dd>
|
|
3221
|
+
</dl>
|
|
3222
|
+
</dd>
|
|
3223
|
+
</dl>
|
|
3224
|
+
|
|
3225
|
+
|
|
3226
|
+
</dd>
|
|
3227
|
+
</dl>
|
|
3228
|
+
</details>
|
|
3229
|
+
|
|
3230
|
+
<details><summary><code>client.business.pushNotifications.<a href="/src/api/resources/business/resources/pushNotifications/client/Client.ts">unregister</a>({ ...params }) -> void</code></summary>
|
|
3231
|
+
<dl>
|
|
3232
|
+
<dd>
|
|
3233
|
+
|
|
3234
|
+
#### 📝 Description
|
|
3235
|
+
|
|
3236
|
+
<dl>
|
|
3237
|
+
<dd>
|
|
3238
|
+
|
|
3239
|
+
<dl>
|
|
3240
|
+
<dd>
|
|
3241
|
+
|
|
3242
|
+
Delete the authenticated business user's Expo push token registration.
|
|
3243
|
+
</dd>
|
|
3244
|
+
</dl>
|
|
3245
|
+
</dd>
|
|
3246
|
+
</dl>
|
|
3247
|
+
|
|
3248
|
+
#### 🔌 Usage
|
|
3249
|
+
|
|
3250
|
+
<dl>
|
|
3251
|
+
<dd>
|
|
3252
|
+
|
|
3253
|
+
<dl>
|
|
3254
|
+
<dd>
|
|
3255
|
+
|
|
3256
|
+
```typescript
|
|
3257
|
+
await client.business.pushNotifications.unregister({
|
|
3258
|
+
token: "token"
|
|
3259
|
+
});
|
|
3260
|
+
|
|
3261
|
+
```
|
|
3262
|
+
</dd>
|
|
3263
|
+
</dl>
|
|
3264
|
+
</dd>
|
|
3265
|
+
</dl>
|
|
3266
|
+
|
|
3267
|
+
#### ⚙️ Parameters
|
|
3268
|
+
|
|
3269
|
+
<dl>
|
|
3270
|
+
<dd>
|
|
3271
|
+
|
|
3272
|
+
<dl>
|
|
3273
|
+
<dd>
|
|
3274
|
+
|
|
3275
|
+
**request:** `FiveOneEat.business.UnregisterPushNotificationsRequest`
|
|
3276
|
+
|
|
3277
|
+
</dd>
|
|
3278
|
+
</dl>
|
|
3279
|
+
|
|
3280
|
+
<dl>
|
|
3281
|
+
<dd>
|
|
3282
|
+
|
|
3283
|
+
**requestOptions:** `PushNotificationsClient.RequestOptions`
|
|
3284
|
+
|
|
3285
|
+
</dd>
|
|
3286
|
+
</dl>
|
|
3287
|
+
</dd>
|
|
3288
|
+
</dl>
|
|
3289
|
+
|
|
3290
|
+
|
|
3291
|
+
</dd>
|
|
3292
|
+
</dl>
|
|
3293
|
+
</details>
|
|
3294
|
+
|
|
3295
|
+
## Business StripeConnect
|
|
3296
|
+
<details><summary><code>client.business.stripeConnect.<a href="/src/api/resources/business/resources/stripeConnect/client/Client.ts">status</a>() -> FiveOneEat.StatusStripeConnectResponse</code></summary>
|
|
3297
|
+
<dl>
|
|
3298
|
+
<dd>
|
|
3299
|
+
|
|
3300
|
+
#### 📝 Description
|
|
3301
|
+
|
|
3302
|
+
<dl>
|
|
3303
|
+
<dd>
|
|
3304
|
+
|
|
3305
|
+
<dl>
|
|
3306
|
+
<dd>
|
|
3307
|
+
|
|
3308
|
+
Returns the current Stripe Connect connection for the active business,
|
|
3309
|
+
creating a new Express account on Stripe if one does not yet exist.
|
|
3310
|
+
Also returns the publishable key and derived flags that the mobile
|
|
3311
|
+
client uses to decide whether to present onboarding or the management UI.
|
|
3312
|
+
</dd>
|
|
3313
|
+
</dl>
|
|
3314
|
+
</dd>
|
|
3315
|
+
</dl>
|
|
3316
|
+
|
|
3317
|
+
#### 🔌 Usage
|
|
3318
|
+
|
|
3319
|
+
<dl>
|
|
3320
|
+
<dd>
|
|
3321
|
+
|
|
3322
|
+
<dl>
|
|
3323
|
+
<dd>
|
|
3324
|
+
|
|
3325
|
+
```typescript
|
|
3326
|
+
await client.business.stripeConnect.status();
|
|
3327
|
+
|
|
3328
|
+
```
|
|
3329
|
+
</dd>
|
|
3330
|
+
</dl>
|
|
3331
|
+
</dd>
|
|
3332
|
+
</dl>
|
|
3333
|
+
|
|
3334
|
+
#### ⚙️ Parameters
|
|
3335
|
+
|
|
3336
|
+
<dl>
|
|
3337
|
+
<dd>
|
|
3338
|
+
|
|
3339
|
+
<dl>
|
|
3340
|
+
<dd>
|
|
3341
|
+
|
|
3342
|
+
**requestOptions:** `StripeConnectClient.RequestOptions`
|
|
3343
|
+
|
|
3344
|
+
</dd>
|
|
3345
|
+
</dl>
|
|
3346
|
+
</dd>
|
|
3347
|
+
</dl>
|
|
3348
|
+
|
|
3349
|
+
|
|
3350
|
+
</dd>
|
|
3351
|
+
</dl>
|
|
3352
|
+
</details>
|
|
3353
|
+
|
|
3354
|
+
<details><summary><code>client.business.stripeConnect.<a href="/src/api/resources/business/resources/stripeConnect/client/Client.ts">disconnect</a>() -> FiveOneEat.DisconnectStripeConnectResponse</code></summary>
|
|
3355
|
+
<dl>
|
|
3356
|
+
<dd>
|
|
3357
|
+
|
|
3358
|
+
#### 📝 Description
|
|
3359
|
+
|
|
3360
|
+
<dl>
|
|
3361
|
+
<dd>
|
|
3362
|
+
|
|
3363
|
+
<dl>
|
|
3364
|
+
<dd>
|
|
3365
|
+
|
|
3366
|
+
Deletes the local StripeConnection record. The Stripe account itself is
|
|
3367
|
+
not deleted; it becomes orphaned from the business and can be reconnected
|
|
3368
|
+
later by calling the status endpoint.
|
|
3369
|
+
</dd>
|
|
3370
|
+
</dl>
|
|
3371
|
+
</dd>
|
|
3372
|
+
</dl>
|
|
3373
|
+
|
|
3374
|
+
#### 🔌 Usage
|
|
3375
|
+
|
|
3376
|
+
<dl>
|
|
3377
|
+
<dd>
|
|
3378
|
+
|
|
3379
|
+
<dl>
|
|
3380
|
+
<dd>
|
|
3381
|
+
|
|
3382
|
+
```typescript
|
|
3383
|
+
await client.business.stripeConnect.disconnect();
|
|
3384
|
+
|
|
3385
|
+
```
|
|
3386
|
+
</dd>
|
|
3387
|
+
</dl>
|
|
3388
|
+
</dd>
|
|
3389
|
+
</dl>
|
|
3390
|
+
|
|
3391
|
+
#### ⚙️ Parameters
|
|
3392
|
+
|
|
3393
|
+
<dl>
|
|
3394
|
+
<dd>
|
|
3395
|
+
|
|
3396
|
+
<dl>
|
|
3397
|
+
<dd>
|
|
3398
|
+
|
|
3399
|
+
**requestOptions:** `StripeConnectClient.RequestOptions`
|
|
3400
|
+
|
|
3401
|
+
</dd>
|
|
3402
|
+
</dl>
|
|
3403
|
+
</dd>
|
|
3404
|
+
</dl>
|
|
3405
|
+
|
|
3406
|
+
|
|
3407
|
+
</dd>
|
|
3408
|
+
</dl>
|
|
3409
|
+
</details>
|
|
3410
|
+
|
|
3411
|
+
<details><summary><code>client.business.stripeConnect.<a href="/src/api/resources/business/resources/stripeConnect/client/Client.ts">createAccountSession</a>({ ...params }) -> FiveOneEat.CreateAccountSessionStripeConnectResponse</code></summary>
|
|
3412
|
+
<dl>
|
|
3413
|
+
<dd>
|
|
3414
|
+
|
|
3415
|
+
#### 📝 Description
|
|
3416
|
+
|
|
3417
|
+
<dl>
|
|
3418
|
+
<dd>
|
|
3419
|
+
|
|
3420
|
+
<dl>
|
|
3421
|
+
<dd>
|
|
3422
|
+
|
|
3423
|
+
The request body specifies which embedded components to enable on the
|
|
3424
|
+
session. Use `account_onboarding` during onboarding and any of the
|
|
3425
|
+
management components (payments, payouts, balances, documents,
|
|
3426
|
+
account_management, notification_banner, tax_settings, tax_registrations)
|
|
3427
|
+
after the connected account has submitted their details.
|
|
3428
|
+
</dd>
|
|
3429
|
+
</dl>
|
|
3430
|
+
</dd>
|
|
3431
|
+
</dl>
|
|
3432
|
+
|
|
3433
|
+
#### 🔌 Usage
|
|
3434
|
+
|
|
3435
|
+
<dl>
|
|
3436
|
+
<dd>
|
|
3437
|
+
|
|
3438
|
+
<dl>
|
|
3439
|
+
<dd>
|
|
3440
|
+
|
|
3441
|
+
```typescript
|
|
3442
|
+
await client.business.stripeConnect.createAccountSession({
|
|
3443
|
+
components: [{
|
|
3444
|
+
enabled: true,
|
|
3445
|
+
features: ["features"]
|
|
3446
|
+
}]
|
|
3447
|
+
});
|
|
3448
|
+
|
|
3449
|
+
```
|
|
3450
|
+
</dd>
|
|
3451
|
+
</dl>
|
|
3452
|
+
</dd>
|
|
3453
|
+
</dl>
|
|
3454
|
+
|
|
3455
|
+
#### ⚙️ Parameters
|
|
3456
|
+
|
|
3457
|
+
<dl>
|
|
3458
|
+
<dd>
|
|
3459
|
+
|
|
3460
|
+
<dl>
|
|
3461
|
+
<dd>
|
|
3462
|
+
|
|
3463
|
+
**request:** `FiveOneEat.business.CreateAccountSessionRequest`
|
|
3464
|
+
|
|
3465
|
+
</dd>
|
|
3466
|
+
</dl>
|
|
3467
|
+
|
|
3468
|
+
<dl>
|
|
3469
|
+
<dd>
|
|
3470
|
+
|
|
3471
|
+
**requestOptions:** `StripeConnectClient.RequestOptions`
|
|
3472
|
+
|
|
3473
|
+
</dd>
|
|
3474
|
+
</dl>
|
|
3475
|
+
</dd>
|
|
3476
|
+
</dl>
|
|
3477
|
+
|
|
3478
|
+
|
|
3479
|
+
</dd>
|
|
3480
|
+
</dl>
|
|
3481
|
+
</details>
|
|
3482
|
+
|
|
3483
|
+
<details><summary><code>client.business.stripeConnect.<a href="/src/api/resources/business/resources/stripeConnect/client/Client.ts">refresh</a>() -> FiveOneEat.RefreshStripeConnectResponse</code></summary>
|
|
3484
|
+
<dl>
|
|
3485
|
+
<dd>
|
|
3486
|
+
|
|
3487
|
+
#### 📝 Description
|
|
3488
|
+
|
|
3489
|
+
<dl>
|
|
3490
|
+
<dd>
|
|
3491
|
+
|
|
3492
|
+
<dl>
|
|
3493
|
+
<dd>
|
|
3494
|
+
|
|
3495
|
+
Pulls the latest account data from Stripe and updates the local
|
|
3496
|
+
`stripe_connections` record. Provided as a belt-and-suspenders option
|
|
3497
|
+
alongside the `account.updated` webhook so mobile clients can guarantee
|
|
3498
|
+
freshness immediately after returning from an onboarding flow.
|
|
3499
|
+
</dd>
|
|
3500
|
+
</dl>
|
|
3501
|
+
</dd>
|
|
3502
|
+
</dl>
|
|
3503
|
+
|
|
3504
|
+
#### 🔌 Usage
|
|
3505
|
+
|
|
3506
|
+
<dl>
|
|
3507
|
+
<dd>
|
|
3508
|
+
|
|
3509
|
+
<dl>
|
|
3510
|
+
<dd>
|
|
3511
|
+
|
|
3512
|
+
```typescript
|
|
3513
|
+
await client.business.stripeConnect.refresh();
|
|
3514
|
+
|
|
3515
|
+
```
|
|
3516
|
+
</dd>
|
|
3517
|
+
</dl>
|
|
3518
|
+
</dd>
|
|
3519
|
+
</dl>
|
|
3520
|
+
|
|
3521
|
+
#### ⚙️ Parameters
|
|
3522
|
+
|
|
3523
|
+
<dl>
|
|
3524
|
+
<dd>
|
|
3525
|
+
|
|
3526
|
+
<dl>
|
|
3527
|
+
<dd>
|
|
3528
|
+
|
|
3529
|
+
**requestOptions:** `StripeConnectClient.RequestOptions`
|
|
3530
|
+
|
|
3531
|
+
</dd>
|
|
3532
|
+
</dl>
|
|
3533
|
+
</dd>
|
|
3534
|
+
</dl>
|
|
3535
|
+
|
|
3536
|
+
|
|
3537
|
+
</dd>
|
|
3538
|
+
</dl>
|
|
3539
|
+
</details>
|
|
3540
|
+
|
|
3541
|
+
## Business Cuisines
|
|
3542
|
+
<details><summary><code>client.business.cuisines.<a href="/src/api/resources/business/resources/cuisines/client/Client.ts">list</a>() -> FiveOneEat.ListCuisinesResponse</code></summary>
|
|
3543
|
+
<dl>
|
|
3544
|
+
<dd>
|
|
3545
|
+
|
|
3546
|
+
#### 📝 Description
|
|
3547
|
+
|
|
3548
|
+
<dl>
|
|
3549
|
+
<dd>
|
|
3550
|
+
|
|
3551
|
+
<dl>
|
|
3552
|
+
<dd>
|
|
3553
|
+
|
|
3554
|
+
Retrieve a list of all cuisines, ordered alphabetically. Use these IDs to
|
|
3555
|
+
populate the `cuisine_ids` field when updating a business profile.
|
|
3556
|
+
</dd>
|
|
3557
|
+
</dl>
|
|
3558
|
+
</dd>
|
|
3559
|
+
</dl>
|
|
3560
|
+
|
|
3561
|
+
#### 🔌 Usage
|
|
3562
|
+
|
|
3563
|
+
<dl>
|
|
3564
|
+
<dd>
|
|
3565
|
+
|
|
3566
|
+
<dl>
|
|
3567
|
+
<dd>
|
|
3568
|
+
|
|
3569
|
+
```typescript
|
|
3570
|
+
await client.business.cuisines.list();
|
|
3571
|
+
|
|
3572
|
+
```
|
|
3573
|
+
</dd>
|
|
3574
|
+
</dl>
|
|
3575
|
+
</dd>
|
|
3576
|
+
</dl>
|
|
3577
|
+
|
|
3578
|
+
#### ⚙️ Parameters
|
|
3579
|
+
|
|
3580
|
+
<dl>
|
|
3581
|
+
<dd>
|
|
3582
|
+
|
|
3583
|
+
<dl>
|
|
3584
|
+
<dd>
|
|
3585
|
+
|
|
3586
|
+
**requestOptions:** `CuisinesClient.RequestOptions`
|
|
3587
|
+
|
|
3588
|
+
</dd>
|
|
3589
|
+
</dl>
|
|
3590
|
+
</dd>
|
|
3591
|
+
</dl>
|
|
3592
|
+
|
|
3593
|
+
|
|
3594
|
+
</dd>
|
|
3595
|
+
</dl>
|
|
3596
|
+
</details>
|
|
3597
|
+
|
|
3598
|
+
## Business Certifications
|
|
3599
|
+
<details><summary><code>client.business.certifications.<a href="/src/api/resources/business/resources/certifications/client/Client.ts">list</a>() -> FiveOneEat.ListCertificationsResponse</code></summary>
|
|
3600
|
+
<dl>
|
|
3601
|
+
<dd>
|
|
3602
|
+
|
|
3603
|
+
#### 📝 Description
|
|
3604
|
+
|
|
3605
|
+
<dl>
|
|
3606
|
+
<dd>
|
|
3607
|
+
|
|
3608
|
+
<dl>
|
|
3609
|
+
<dd>
|
|
3610
|
+
|
|
3611
|
+
Retrieve a list of all certifications, ordered alphabetically. Use these IDs
|
|
3612
|
+
to populate the `certification_ids` field when updating a business profile.
|
|
3613
|
+
</dd>
|
|
3614
|
+
</dl>
|
|
3615
|
+
</dd>
|
|
3616
|
+
</dl>
|
|
3617
|
+
|
|
3618
|
+
#### 🔌 Usage
|
|
3619
|
+
|
|
3620
|
+
<dl>
|
|
3621
|
+
<dd>
|
|
3622
|
+
|
|
3623
|
+
<dl>
|
|
3624
|
+
<dd>
|
|
3625
|
+
|
|
3626
|
+
```typescript
|
|
3627
|
+
await client.business.certifications.list();
|
|
3628
|
+
|
|
3629
|
+
```
|
|
3630
|
+
</dd>
|
|
3631
|
+
</dl>
|
|
3632
|
+
</dd>
|
|
3633
|
+
</dl>
|
|
3634
|
+
|
|
3635
|
+
#### ⚙️ Parameters
|
|
3636
|
+
|
|
3637
|
+
<dl>
|
|
3638
|
+
<dd>
|
|
3639
|
+
|
|
3640
|
+
<dl>
|
|
3641
|
+
<dd>
|
|
3642
|
+
|
|
3643
|
+
**requestOptions:** `CertificationsClient.RequestOptions`
|
|
3644
|
+
|
|
3645
|
+
</dd>
|
|
3646
|
+
</dl>
|
|
3647
|
+
</dd>
|
|
3648
|
+
</dl>
|
|
3649
|
+
|
|
3650
|
+
|
|
3651
|
+
</dd>
|
|
3652
|
+
</dl>
|
|
3653
|
+
</details>
|
|
3654
|
+
|
|
3655
|
+
## Business Categories
|
|
3656
|
+
<details><summary><code>client.business.categories.<a href="/src/api/resources/business/resources/categories/client/Client.ts">list</a>() -> FiveOneEat.ListCategoriesResponse</code></summary>
|
|
3657
|
+
<dl>
|
|
3658
|
+
<dd>
|
|
3659
|
+
|
|
3660
|
+
#### 📝 Description
|
|
3661
|
+
|
|
3662
|
+
<dl>
|
|
3663
|
+
<dd>
|
|
3664
|
+
|
|
3665
|
+
<dl>
|
|
3666
|
+
<dd>
|
|
3667
|
+
|
|
3668
|
+
Retrieve a list of all business categories, ordered by sort order and name.
|
|
3669
|
+
Use these IDs to populate the `category_ids` field when creating or updating a business.
|
|
3670
|
+
</dd>
|
|
3671
|
+
</dl>
|
|
3672
|
+
</dd>
|
|
3673
|
+
</dl>
|
|
3674
|
+
|
|
3675
|
+
#### 🔌 Usage
|
|
3676
|
+
|
|
3677
|
+
<dl>
|
|
3678
|
+
<dd>
|
|
3679
|
+
|
|
3680
|
+
<dl>
|
|
3681
|
+
<dd>
|
|
3682
|
+
|
|
3683
|
+
```typescript
|
|
3684
|
+
await client.business.categories.list();
|
|
3685
|
+
|
|
3686
|
+
```
|
|
3687
|
+
</dd>
|
|
3688
|
+
</dl>
|
|
3689
|
+
</dd>
|
|
3690
|
+
</dl>
|
|
3691
|
+
|
|
3692
|
+
#### ⚙️ Parameters
|
|
3693
|
+
|
|
3694
|
+
<dl>
|
|
3695
|
+
<dd>
|
|
3696
|
+
|
|
3697
|
+
<dl>
|
|
3698
|
+
<dd>
|
|
3699
|
+
|
|
3700
|
+
**requestOptions:** `CategoriesClient.RequestOptions`
|
|
3701
|
+
|
|
3702
|
+
</dd>
|
|
3703
|
+
</dl>
|
|
3704
|
+
</dd>
|
|
3705
|
+
</dl>
|
|
3706
|
+
|
|
3707
|
+
|
|
3708
|
+
</dd>
|
|
3709
|
+
</dl>
|
|
3710
|
+
</details>
|
|
3711
|
+
|
|
3712
|
+
## Business Auth Tokens
|
|
3713
|
+
<details><summary><code>client.business.auth.tokens.<a href="/src/api/resources/business/resources/auth/resources/tokens/client/Client.ts">list</a>() -> FiveOneEat.ListTokensResponse</code></summary>
|
|
3714
|
+
<dl>
|
|
3715
|
+
<dd>
|
|
3716
|
+
|
|
3717
|
+
#### 📝 Description
|
|
3718
|
+
|
|
3719
|
+
<dl>
|
|
3720
|
+
<dd>
|
|
3721
|
+
|
|
3722
|
+
<dl>
|
|
3723
|
+
<dd>
|
|
3724
|
+
|
|
3725
|
+
Retrieve a list of all API tokens for the authenticated business user.
|
|
3726
|
+
</dd>
|
|
3727
|
+
</dl>
|
|
3728
|
+
</dd>
|
|
3729
|
+
</dl>
|
|
3730
|
+
|
|
3731
|
+
#### 🔌 Usage
|
|
3732
|
+
|
|
3733
|
+
<dl>
|
|
3734
|
+
<dd>
|
|
3735
|
+
|
|
3736
|
+
<dl>
|
|
3737
|
+
<dd>
|
|
3738
|
+
|
|
3739
|
+
```typescript
|
|
3740
|
+
await client.business.auth.tokens.list();
|
|
3741
|
+
|
|
3742
|
+
```
|
|
3743
|
+
</dd>
|
|
3744
|
+
</dl>
|
|
3745
|
+
</dd>
|
|
3746
|
+
</dl>
|
|
3747
|
+
|
|
3748
|
+
#### ⚙️ Parameters
|
|
3749
|
+
|
|
3750
|
+
<dl>
|
|
3751
|
+
<dd>
|
|
3752
|
+
|
|
3753
|
+
<dl>
|
|
3754
|
+
<dd>
|
|
3755
|
+
|
|
3756
|
+
**requestOptions:** `TokensClient.RequestOptions`
|
|
3757
|
+
|
|
3758
|
+
</dd>
|
|
3759
|
+
</dl>
|
|
3760
|
+
</dd>
|
|
3761
|
+
</dl>
|
|
3762
|
+
|
|
3763
|
+
|
|
3764
|
+
</dd>
|
|
3765
|
+
</dl>
|
|
3766
|
+
</details>
|
|
3767
|
+
|
|
3768
|
+
<details><summary><code>client.business.auth.tokens.<a href="/src/api/resources/business/resources/auth/resources/tokens/client/Client.ts">revoke</a>({ ...params }) -> FiveOneEat.RevokeTokensResponse</code></summary>
|
|
3769
|
+
<dl>
|
|
3770
|
+
<dd>
|
|
3771
|
+
|
|
3772
|
+
#### 📝 Description
|
|
3773
|
+
|
|
3774
|
+
<dl>
|
|
3775
|
+
<dd>
|
|
3776
|
+
|
|
3777
|
+
<dl>
|
|
3778
|
+
<dd>
|
|
3779
|
+
|
|
3780
|
+
Delete a specific API token by its ID.
|
|
3781
|
+
</dd>
|
|
3782
|
+
</dl>
|
|
3783
|
+
</dd>
|
|
3784
|
+
</dl>
|
|
3785
|
+
|
|
3786
|
+
#### 🔌 Usage
|
|
3787
|
+
|
|
3788
|
+
<dl>
|
|
3789
|
+
<dd>
|
|
3790
|
+
|
|
3791
|
+
<dl>
|
|
3792
|
+
<dd>
|
|
3793
|
+
|
|
3794
|
+
```typescript
|
|
3795
|
+
await client.business.auth.tokens.revoke({
|
|
3796
|
+
token: "token"
|
|
3797
|
+
});
|
|
3798
|
+
|
|
3799
|
+
```
|
|
3800
|
+
</dd>
|
|
3801
|
+
</dl>
|
|
3802
|
+
</dd>
|
|
3803
|
+
</dl>
|
|
3804
|
+
|
|
3805
|
+
#### ⚙️ Parameters
|
|
3806
|
+
|
|
3807
|
+
<dl>
|
|
3808
|
+
<dd>
|
|
3809
|
+
|
|
3810
|
+
<dl>
|
|
3811
|
+
<dd>
|
|
3812
|
+
|
|
3813
|
+
**request:** `FiveOneEat.business.auth.RevokeTokensRequest`
|
|
3814
|
+
|
|
3815
|
+
</dd>
|
|
3816
|
+
</dl>
|
|
3817
|
+
|
|
3818
|
+
<dl>
|
|
3819
|
+
<dd>
|
|
3820
|
+
|
|
3821
|
+
**requestOptions:** `TokensClient.RequestOptions`
|
|
3822
|
+
|
|
3823
|
+
</dd>
|
|
3824
|
+
</dl>
|
|
3825
|
+
</dd>
|
|
3826
|
+
</dl>
|
|
3827
|
+
|
|
3828
|
+
|
|
3829
|
+
</dd>
|
|
3830
|
+
</dl>
|
|
3831
|
+
</details>
|
|
3832
|
+
|
|
3833
|
+
## Business Events TicketTypes
|
|
3834
|
+
<details><summary><code>client.business.events.ticketTypes.<a href="/src/api/resources/business/resources/events/resources/ticketTypes/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListTicketTypesResponse</code></summary>
|
|
3835
|
+
<dl>
|
|
3836
|
+
<dd>
|
|
3837
|
+
|
|
3838
|
+
#### 🔌 Usage
|
|
3839
|
+
|
|
3840
|
+
<dl>
|
|
3841
|
+
<dd>
|
|
3842
|
+
|
|
3843
|
+
<dl>
|
|
3844
|
+
<dd>
|
|
3845
|
+
|
|
3846
|
+
```typescript
|
|
3847
|
+
await client.business.events.ticketTypes.list({
|
|
3848
|
+
event: "event"
|
|
3849
|
+
});
|
|
3850
|
+
|
|
3851
|
+
```
|
|
3852
|
+
</dd>
|
|
3853
|
+
</dl>
|
|
3854
|
+
</dd>
|
|
3855
|
+
</dl>
|
|
3856
|
+
|
|
3857
|
+
#### ⚙️ Parameters
|
|
3858
|
+
|
|
3859
|
+
<dl>
|
|
3860
|
+
<dd>
|
|
3861
|
+
|
|
3862
|
+
<dl>
|
|
3863
|
+
<dd>
|
|
3864
|
+
|
|
3865
|
+
**request:** `FiveOneEat.business.events.ListTicketTypesRequest`
|
|
3866
|
+
|
|
3867
|
+
</dd>
|
|
3868
|
+
</dl>
|
|
3869
|
+
|
|
3870
|
+
<dl>
|
|
3871
|
+
<dd>
|
|
3872
|
+
|
|
3873
|
+
**requestOptions:** `TicketTypesClient.RequestOptions`
|
|
3874
|
+
|
|
3875
|
+
</dd>
|
|
3876
|
+
</dl>
|
|
3877
|
+
</dd>
|
|
3878
|
+
</dl>
|
|
3879
|
+
|
|
3880
|
+
|
|
3881
|
+
</dd>
|
|
3882
|
+
</dl>
|
|
3883
|
+
</details>
|
|
3884
|
+
|
|
3885
|
+
<details><summary><code>client.business.events.ticketTypes.<a href="/src/api/resources/business/resources/events/resources/ticketTypes/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateTicketTypesResponse</code></summary>
|
|
3886
|
+
<dl>
|
|
3887
|
+
<dd>
|
|
3888
|
+
|
|
3889
|
+
#### 🔌 Usage
|
|
3890
|
+
|
|
3891
|
+
<dl>
|
|
3892
|
+
<dd>
|
|
3893
|
+
|
|
3894
|
+
<dl>
|
|
3895
|
+
<dd>
|
|
3896
|
+
|
|
3897
|
+
```typescript
|
|
3898
|
+
await client.business.events.ticketTypes.create({
|
|
3899
|
+
event: "event",
|
|
3900
|
+
name: "name",
|
|
3901
|
+
price: 1.1,
|
|
3902
|
+
quantity_available: 1
|
|
3903
|
+
});
|
|
3904
|
+
|
|
3905
|
+
```
|
|
3906
|
+
</dd>
|
|
3907
|
+
</dl>
|
|
3908
|
+
</dd>
|
|
3909
|
+
</dl>
|
|
3910
|
+
|
|
3911
|
+
#### ⚙️ Parameters
|
|
3912
|
+
|
|
3913
|
+
<dl>
|
|
3914
|
+
<dd>
|
|
3915
|
+
|
|
3916
|
+
<dl>
|
|
3917
|
+
<dd>
|
|
3918
|
+
|
|
3919
|
+
**request:** `FiveOneEat.business.events.StoreTicketTypeRequest`
|
|
3920
|
+
|
|
3921
|
+
</dd>
|
|
3922
|
+
</dl>
|
|
3923
|
+
|
|
3924
|
+
<dl>
|
|
3925
|
+
<dd>
|
|
3926
|
+
|
|
3927
|
+
**requestOptions:** `TicketTypesClient.RequestOptions`
|
|
3928
|
+
|
|
3929
|
+
</dd>
|
|
3930
|
+
</dl>
|
|
3931
|
+
</dd>
|
|
3932
|
+
</dl>
|
|
3933
|
+
|
|
3934
|
+
|
|
3935
|
+
</dd>
|
|
3936
|
+
</dl>
|
|
3937
|
+
</details>
|
|
3938
|
+
|
|
3939
|
+
<details><summary><code>client.business.events.ticketTypes.<a href="/src/api/resources/business/resources/events/resources/ticketTypes/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetTicketTypesResponse</code></summary>
|
|
3940
|
+
<dl>
|
|
3941
|
+
<dd>
|
|
3942
|
+
|
|
3943
|
+
#### 🔌 Usage
|
|
3944
|
+
|
|
3945
|
+
<dl>
|
|
3946
|
+
<dd>
|
|
3947
|
+
|
|
3948
|
+
<dl>
|
|
3949
|
+
<dd>
|
|
3950
|
+
|
|
3951
|
+
```typescript
|
|
3952
|
+
await client.business.events.ticketTypes.get({
|
|
3953
|
+
ticketType: "ticketType"
|
|
3954
|
+
});
|
|
3955
|
+
|
|
3956
|
+
```
|
|
3957
|
+
</dd>
|
|
3958
|
+
</dl>
|
|
3959
|
+
</dd>
|
|
3960
|
+
</dl>
|
|
3961
|
+
|
|
3962
|
+
#### ⚙️ Parameters
|
|
3963
|
+
|
|
3964
|
+
<dl>
|
|
3965
|
+
<dd>
|
|
3966
|
+
|
|
3967
|
+
<dl>
|
|
3968
|
+
<dd>
|
|
3969
|
+
|
|
3970
|
+
**request:** `FiveOneEat.business.events.GetTicketTypesRequest`
|
|
3971
|
+
|
|
3972
|
+
</dd>
|
|
3973
|
+
</dl>
|
|
3974
|
+
|
|
3975
|
+
<dl>
|
|
3976
|
+
<dd>
|
|
3977
|
+
|
|
3978
|
+
**requestOptions:** `TicketTypesClient.RequestOptions`
|
|
3979
|
+
|
|
3980
|
+
</dd>
|
|
3981
|
+
</dl>
|
|
3982
|
+
</dd>
|
|
3983
|
+
</dl>
|
|
3984
|
+
|
|
3985
|
+
|
|
3986
|
+
</dd>
|
|
3987
|
+
</dl>
|
|
3988
|
+
</details>
|
|
3989
|
+
|
|
3990
|
+
<details><summary><code>client.business.events.ticketTypes.<a href="/src/api/resources/business/resources/events/resources/ticketTypes/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateTicketTypesResponse</code></summary>
|
|
3991
|
+
<dl>
|
|
3992
|
+
<dd>
|
|
3993
|
+
|
|
3994
|
+
#### 🔌 Usage
|
|
3995
|
+
|
|
3996
|
+
<dl>
|
|
3997
|
+
<dd>
|
|
3998
|
+
|
|
3999
|
+
<dl>
|
|
4000
|
+
<dd>
|
|
4001
|
+
|
|
4002
|
+
```typescript
|
|
4003
|
+
await client.business.events.ticketTypes.update({
|
|
4004
|
+
ticketType: "ticketType"
|
|
4005
|
+
});
|
|
4006
|
+
|
|
4007
|
+
```
|
|
4008
|
+
</dd>
|
|
4009
|
+
</dl>
|
|
4010
|
+
</dd>
|
|
4011
|
+
</dl>
|
|
4012
|
+
|
|
4013
|
+
#### ⚙️ Parameters
|
|
4014
|
+
|
|
4015
|
+
<dl>
|
|
4016
|
+
<dd>
|
|
4017
|
+
|
|
4018
|
+
<dl>
|
|
4019
|
+
<dd>
|
|
4020
|
+
|
|
4021
|
+
**request:** `FiveOneEat.business.events.UpdateTicketTypeRequest`
|
|
4022
|
+
|
|
4023
|
+
</dd>
|
|
4024
|
+
</dl>
|
|
4025
|
+
|
|
4026
|
+
<dl>
|
|
4027
|
+
<dd>
|
|
4028
|
+
|
|
4029
|
+
**requestOptions:** `TicketTypesClient.RequestOptions`
|
|
4030
|
+
|
|
4031
|
+
</dd>
|
|
4032
|
+
</dl>
|
|
4033
|
+
</dd>
|
|
4034
|
+
</dl>
|
|
4035
|
+
|
|
4036
|
+
|
|
4037
|
+
</dd>
|
|
4038
|
+
</dl>
|
|
4039
|
+
</details>
|
|
4040
|
+
|
|
4041
|
+
<details><summary><code>client.business.events.ticketTypes.<a href="/src/api/resources/business/resources/events/resources/ticketTypes/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteTicketTypesResponse</code></summary>
|
|
4042
|
+
<dl>
|
|
4043
|
+
<dd>
|
|
4044
|
+
|
|
4045
|
+
#### 🔌 Usage
|
|
4046
|
+
|
|
4047
|
+
<dl>
|
|
4048
|
+
<dd>
|
|
4049
|
+
|
|
4050
|
+
<dl>
|
|
4051
|
+
<dd>
|
|
4052
|
+
|
|
4053
|
+
```typescript
|
|
4054
|
+
await client.business.events.ticketTypes.delete({
|
|
4055
|
+
ticketType: "ticketType"
|
|
4056
|
+
});
|
|
4057
|
+
|
|
4058
|
+
```
|
|
4059
|
+
</dd>
|
|
4060
|
+
</dl>
|
|
4061
|
+
</dd>
|
|
4062
|
+
</dl>
|
|
4063
|
+
|
|
4064
|
+
#### ⚙️ Parameters
|
|
4065
|
+
|
|
4066
|
+
<dl>
|
|
4067
|
+
<dd>
|
|
4068
|
+
|
|
4069
|
+
<dl>
|
|
4070
|
+
<dd>
|
|
4071
|
+
|
|
4072
|
+
**request:** `FiveOneEat.business.events.DeleteTicketTypesRequest`
|
|
4073
|
+
|
|
4074
|
+
</dd>
|
|
4075
|
+
</dl>
|
|
4076
|
+
|
|
4077
|
+
<dl>
|
|
4078
|
+
<dd>
|
|
4079
|
+
|
|
4080
|
+
**requestOptions:** `TicketTypesClient.RequestOptions`
|
|
4081
|
+
|
|
4082
|
+
</dd>
|
|
4083
|
+
</dl>
|
|
4084
|
+
</dd>
|
|
4085
|
+
</dl>
|
|
4086
|
+
|
|
4087
|
+
|
|
4088
|
+
</dd>
|
|
4089
|
+
</dl>
|
|
4090
|
+
</details>
|
|
4091
|
+
|
|
4092
|
+
## Business Events Orders
|
|
4093
|
+
<details><summary><code>client.business.events.orders.<a href="/src/api/resources/business/resources/events/resources/orders/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListOrdersResponse</code></summary>
|
|
4094
|
+
<dl>
|
|
4095
|
+
<dd>
|
|
4096
|
+
|
|
4097
|
+
#### 📝 Description
|
|
4098
|
+
|
|
4099
|
+
<dl>
|
|
4100
|
+
<dd>
|
|
4101
|
+
|
|
4102
|
+
<dl>
|
|
4103
|
+
<dd>
|
|
4104
|
+
|
|
4105
|
+
Accepts an optional `status` query param (`pending`, `paid`, `failed`, `refunded`, `partially_refunded`).
|
|
4106
|
+
</dd>
|
|
4107
|
+
</dl>
|
|
4108
|
+
</dd>
|
|
4109
|
+
</dl>
|
|
4110
|
+
|
|
4111
|
+
#### 🔌 Usage
|
|
4112
|
+
|
|
4113
|
+
<dl>
|
|
4114
|
+
<dd>
|
|
4115
|
+
|
|
4116
|
+
<dl>
|
|
4117
|
+
<dd>
|
|
4118
|
+
|
|
4119
|
+
```typescript
|
|
4120
|
+
await client.business.events.orders.list({
|
|
4121
|
+
event: "event"
|
|
4122
|
+
});
|
|
4123
|
+
|
|
4124
|
+
```
|
|
4125
|
+
</dd>
|
|
4126
|
+
</dl>
|
|
4127
|
+
</dd>
|
|
4128
|
+
</dl>
|
|
4129
|
+
|
|
4130
|
+
#### ⚙️ Parameters
|
|
4131
|
+
|
|
4132
|
+
<dl>
|
|
4133
|
+
<dd>
|
|
4134
|
+
|
|
4135
|
+
<dl>
|
|
4136
|
+
<dd>
|
|
4137
|
+
|
|
4138
|
+
**request:** `FiveOneEat.business.events.ListOrdersRequest`
|
|
4139
|
+
|
|
4140
|
+
</dd>
|
|
4141
|
+
</dl>
|
|
4142
|
+
|
|
4143
|
+
<dl>
|
|
4144
|
+
<dd>
|
|
4145
|
+
|
|
4146
|
+
**requestOptions:** `OrdersClient.RequestOptions`
|
|
4147
|
+
|
|
4148
|
+
</dd>
|
|
4149
|
+
</dl>
|
|
4150
|
+
</dd>
|
|
4151
|
+
</dl>
|
|
4152
|
+
|
|
4153
|
+
|
|
4154
|
+
</dd>
|
|
4155
|
+
</dl>
|
|
4156
|
+
</details>
|
|
4157
|
+
|
|
4158
|
+
<details><summary><code>client.business.events.orders.<a href="/src/api/resources/business/resources/events/resources/orders/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetOrdersResponse</code></summary>
|
|
4159
|
+
<dl>
|
|
4160
|
+
<dd>
|
|
4161
|
+
|
|
4162
|
+
#### 🔌 Usage
|
|
4163
|
+
|
|
4164
|
+
<dl>
|
|
4165
|
+
<dd>
|
|
4166
|
+
|
|
4167
|
+
<dl>
|
|
4168
|
+
<dd>
|
|
4169
|
+
|
|
4170
|
+
```typescript
|
|
4171
|
+
await client.business.events.orders.get({
|
|
4172
|
+
event: "event",
|
|
4173
|
+
order: "order"
|
|
4174
|
+
});
|
|
4175
|
+
|
|
4176
|
+
```
|
|
4177
|
+
</dd>
|
|
4178
|
+
</dl>
|
|
4179
|
+
</dd>
|
|
4180
|
+
</dl>
|
|
4181
|
+
|
|
4182
|
+
#### ⚙️ Parameters
|
|
4183
|
+
|
|
4184
|
+
<dl>
|
|
4185
|
+
<dd>
|
|
4186
|
+
|
|
4187
|
+
<dl>
|
|
4188
|
+
<dd>
|
|
4189
|
+
|
|
4190
|
+
**request:** `FiveOneEat.business.events.GetOrdersRequest`
|
|
4191
|
+
|
|
4192
|
+
</dd>
|
|
4193
|
+
</dl>
|
|
4194
|
+
|
|
4195
|
+
<dl>
|
|
4196
|
+
<dd>
|
|
4197
|
+
|
|
4198
|
+
**requestOptions:** `OrdersClient.RequestOptions`
|
|
2949
4199
|
|
|
2950
4200
|
</dd>
|
|
2951
4201
|
</dl>
|