@51eat/sdk 0.0.27 → 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/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/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
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface BusinessEventTicketType {
|
|
2
|
+
id: string;
|
|
3
|
+
event_id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string | null;
|
|
6
|
+
price: number;
|
|
7
|
+
quantity_available: number;
|
|
8
|
+
quantity_sold: number;
|
|
9
|
+
remaining_quantity: string;
|
|
10
|
+
is_available_for_sale: boolean;
|
|
11
|
+
sales_start_at: string | null;
|
|
12
|
+
sales_end_at: string | null;
|
|
13
|
+
is_active: boolean;
|
|
14
|
+
sort_order: number;
|
|
15
|
+
created_at: string | null;
|
|
16
|
+
updated_at: string | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface BusinessStripeConnection {
|
|
2
|
+
id: number;
|
|
3
|
+
stripe_account_id: string;
|
|
4
|
+
charges_enabled: boolean;
|
|
5
|
+
payouts_enabled: boolean;
|
|
6
|
+
details_submitted: boolean;
|
|
7
|
+
is_ready: boolean;
|
|
8
|
+
is_active: boolean;
|
|
9
|
+
requirements: unknown[] | null;
|
|
10
|
+
capabilities: unknown[] | null;
|
|
11
|
+
country: string | null;
|
|
12
|
+
default_currency: string | null;
|
|
13
|
+
email: string | null;
|
|
14
|
+
deauthorized_at: string | null;
|
|
15
|
+
stripe_updated_at: string | null;
|
|
16
|
+
created_at: string | null;
|
|
17
|
+
updated_at: string | null;
|
|
18
|
+
}
|
|
@@ -25,6 +25,13 @@ export * from "./BusinessCategory.js";
|
|
|
25
25
|
export * from "./BusinessCertification.js";
|
|
26
26
|
export * from "./BusinessConversation.js";
|
|
27
27
|
export * from "./BusinessCuisine.js";
|
|
28
|
+
export * from "./BusinessEvent.js";
|
|
29
|
+
export * from "./BusinessEventAttendee.js";
|
|
30
|
+
export * from "./BusinessEventOrder.js";
|
|
31
|
+
export * from "./BusinessEventOrderDetail.js";
|
|
32
|
+
export * from "./BusinessEventRsvp.js";
|
|
33
|
+
export * from "./BusinessEventSalesSummary.js";
|
|
34
|
+
export * from "./BusinessEventTicketType.js";
|
|
28
35
|
export * from "./BusinessLoginResponse.js";
|
|
29
36
|
export * from "./BusinessMe.js";
|
|
30
37
|
export * from "./BusinessMenu.js";
|
|
@@ -36,6 +43,7 @@ export * from "./BusinessMessage.js";
|
|
|
36
43
|
export * from "./BusinessPhoto.js";
|
|
37
44
|
export * from "./BusinessProfile.js";
|
|
38
45
|
export * from "./BusinessSearchResult.js";
|
|
46
|
+
export * from "./BusinessStripeConnection.js";
|
|
39
47
|
export * from "./BusinessSummary.js";
|
|
40
48
|
export * from "./BusinessToken.js";
|
|
41
49
|
export * from "./ConflictErrorBody.js";
|
|
@@ -41,6 +41,13 @@ __exportStar(require("./BusinessCategory.js"), exports);
|
|
|
41
41
|
__exportStar(require("./BusinessCertification.js"), exports);
|
|
42
42
|
__exportStar(require("./BusinessConversation.js"), exports);
|
|
43
43
|
__exportStar(require("./BusinessCuisine.js"), exports);
|
|
44
|
+
__exportStar(require("./BusinessEvent.js"), exports);
|
|
45
|
+
__exportStar(require("./BusinessEventAttendee.js"), exports);
|
|
46
|
+
__exportStar(require("./BusinessEventOrder.js"), exports);
|
|
47
|
+
__exportStar(require("./BusinessEventOrderDetail.js"), exports);
|
|
48
|
+
__exportStar(require("./BusinessEventRsvp.js"), exports);
|
|
49
|
+
__exportStar(require("./BusinessEventSalesSummary.js"), exports);
|
|
50
|
+
__exportStar(require("./BusinessEventTicketType.js"), exports);
|
|
44
51
|
__exportStar(require("./BusinessLoginResponse.js"), exports);
|
|
45
52
|
__exportStar(require("./BusinessMe.js"), exports);
|
|
46
53
|
__exportStar(require("./BusinessMenu.js"), exports);
|
|
@@ -52,6 +59,7 @@ __exportStar(require("./BusinessMessage.js"), exports);
|
|
|
52
59
|
__exportStar(require("./BusinessPhoto.js"), exports);
|
|
53
60
|
__exportStar(require("./BusinessProfile.js"), exports);
|
|
54
61
|
__exportStar(require("./BusinessSearchResult.js"), exports);
|
|
62
|
+
__exportStar(require("./BusinessStripeConnection.js"), exports);
|
|
55
63
|
__exportStar(require("./BusinessSummary.js"), exports);
|
|
56
64
|
__exportStar(require("./BusinessToken.js"), exports);
|
|
57
65
|
__exportStar(require("./ConflictErrorBody.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.28";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@51eat/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "0.0.
|
|
10
|
-
"User-Agent": "@51eat/sdk/0.0.
|
|
9
|
+
"X-Fern-SDK-Version": "0.0.28",
|
|
10
|
+
"User-Agent": "@51eat/sdk/0.0.28",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -6,11 +6,13 @@ import { BusinessesClient } from "../resources/businesses/client/Client.mjs";
|
|
|
6
6
|
import { CategoriesClient } from "../resources/categories/client/Client.mjs";
|
|
7
7
|
import { CertificationsClient } from "../resources/certifications/client/Client.mjs";
|
|
8
8
|
import { CuisinesClient } from "../resources/cuisines/client/Client.mjs";
|
|
9
|
+
import { EventsClient } from "../resources/events/client/Client.mjs";
|
|
9
10
|
import { GalleryClient } from "../resources/gallery/client/Client.mjs";
|
|
10
11
|
import { MenusClient } from "../resources/menus/client/Client.mjs";
|
|
11
12
|
import { MessagingClient } from "../resources/messaging/client/Client.mjs";
|
|
12
13
|
import { ProfileClient } from "../resources/profile/client/Client.mjs";
|
|
13
14
|
import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.mjs";
|
|
15
|
+
import { StripeConnectClient } from "../resources/stripeConnect/client/Client.mjs";
|
|
14
16
|
export declare namespace BusinessClient {
|
|
15
17
|
type Options = BaseClientOptions;
|
|
16
18
|
}
|
|
@@ -19,11 +21,13 @@ export declare class BusinessClient {
|
|
|
19
21
|
protected _auth: AuthClient | undefined;
|
|
20
22
|
protected _bulletins: BulletinsClient | undefined;
|
|
21
23
|
protected _businesses: BusinessesClient | undefined;
|
|
24
|
+
protected _events: EventsClient | undefined;
|
|
22
25
|
protected _gallery: GalleryClient | undefined;
|
|
23
26
|
protected _menus: MenusClient | undefined;
|
|
24
27
|
protected _messaging: MessagingClient | undefined;
|
|
25
28
|
protected _profile: ProfileClient | undefined;
|
|
26
29
|
protected _pushNotifications: PushNotificationsClient | undefined;
|
|
30
|
+
protected _stripeConnect: StripeConnectClient | undefined;
|
|
27
31
|
protected _cuisines: CuisinesClient | undefined;
|
|
28
32
|
protected _certifications: CertificationsClient | undefined;
|
|
29
33
|
protected _categories: CategoriesClient | undefined;
|
|
@@ -31,11 +35,13 @@ export declare class BusinessClient {
|
|
|
31
35
|
get auth(): AuthClient;
|
|
32
36
|
get bulletins(): BulletinsClient;
|
|
33
37
|
get businesses(): BusinessesClient;
|
|
38
|
+
get events(): EventsClient;
|
|
34
39
|
get gallery(): GalleryClient;
|
|
35
40
|
get menus(): MenusClient;
|
|
36
41
|
get messaging(): MessagingClient;
|
|
37
42
|
get profile(): ProfileClient;
|
|
38
43
|
get pushNotifications(): PushNotificationsClient;
|
|
44
|
+
get stripeConnect(): StripeConnectClient;
|
|
39
45
|
get cuisines(): CuisinesClient;
|
|
40
46
|
get certifications(): CertificationsClient;
|
|
41
47
|
get categories(): CategoriesClient;
|
|
@@ -6,11 +6,13 @@ import { BusinessesClient } from "../resources/businesses/client/Client.mjs";
|
|
|
6
6
|
import { CategoriesClient } from "../resources/categories/client/Client.mjs";
|
|
7
7
|
import { CertificationsClient } from "../resources/certifications/client/Client.mjs";
|
|
8
8
|
import { CuisinesClient } from "../resources/cuisines/client/Client.mjs";
|
|
9
|
+
import { EventsClient } from "../resources/events/client/Client.mjs";
|
|
9
10
|
import { GalleryClient } from "../resources/gallery/client/Client.mjs";
|
|
10
11
|
import { MenusClient } from "../resources/menus/client/Client.mjs";
|
|
11
12
|
import { MessagingClient } from "../resources/messaging/client/Client.mjs";
|
|
12
13
|
import { ProfileClient } from "../resources/profile/client/Client.mjs";
|
|
13
14
|
import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.mjs";
|
|
15
|
+
import { StripeConnectClient } from "../resources/stripeConnect/client/Client.mjs";
|
|
14
16
|
export class BusinessClient {
|
|
15
17
|
constructor(options = {}) {
|
|
16
18
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
@@ -27,6 +29,10 @@ export class BusinessClient {
|
|
|
27
29
|
var _a;
|
|
28
30
|
return ((_a = this._businesses) !== null && _a !== void 0 ? _a : (this._businesses = new BusinessesClient(this._options)));
|
|
29
31
|
}
|
|
32
|
+
get events() {
|
|
33
|
+
var _a;
|
|
34
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new EventsClient(this._options)));
|
|
35
|
+
}
|
|
30
36
|
get gallery() {
|
|
31
37
|
var _a;
|
|
32
38
|
return ((_a = this._gallery) !== null && _a !== void 0 ? _a : (this._gallery = new GalleryClient(this._options)));
|
|
@@ -47,6 +53,10 @@ export class BusinessClient {
|
|
|
47
53
|
var _a;
|
|
48
54
|
return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new PushNotificationsClient(this._options)));
|
|
49
55
|
}
|
|
56
|
+
get stripeConnect() {
|
|
57
|
+
var _a;
|
|
58
|
+
return ((_a = this._stripeConnect) !== null && _a !== void 0 ? _a : (this._stripeConnect = new StripeConnectClient(this._options)));
|
|
59
|
+
}
|
|
50
60
|
get cuisines() {
|
|
51
61
|
var _a;
|
|
52
62
|
return ((_a = this._cuisines) !== null && _a !== void 0 ? _a : (this._cuisines = new CuisinesClient(this._options)));
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
4
|
+
import * as FiveOneEat from "../../../../../index.mjs";
|
|
5
|
+
import { OrdersClient } from "../resources/orders/client/Client.mjs";
|
|
6
|
+
import { TicketTypesClient } from "../resources/ticketTypes/client/Client.mjs";
|
|
7
|
+
export declare namespace EventsClient {
|
|
8
|
+
type Options = BaseClientOptions;
|
|
9
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export declare class EventsClient {
|
|
13
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<EventsClient.Options>;
|
|
14
|
+
protected _ticketTypes: TicketTypesClient | undefined;
|
|
15
|
+
protected _orders: OrdersClient | undefined;
|
|
16
|
+
constructor(options?: EventsClient.Options);
|
|
17
|
+
get ticketTypes(): TicketTypesClient;
|
|
18
|
+
get orders(): OrdersClient;
|
|
19
|
+
/**
|
|
20
|
+
* Accepts an optional `filter` query param: `upcoming`, `past`, or `all` (default `all`).
|
|
21
|
+
*
|
|
22
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
23
|
+
*
|
|
24
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
25
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* await client.business.events.list()
|
|
29
|
+
*/
|
|
30
|
+
list(requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.ListEventsResponse>;
|
|
31
|
+
private __list;
|
|
32
|
+
/**
|
|
33
|
+
* @param {FiveOneEat.business.StoreEventRequest} request
|
|
34
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
37
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
38
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* await client.business.events.create({
|
|
42
|
+
* title: "title",
|
|
43
|
+
* starts_at: "2024-01-15T09:30:00Z",
|
|
44
|
+
* ends_at: "2024-01-15T09:30:00Z"
|
|
45
|
+
* })
|
|
46
|
+
*/
|
|
47
|
+
create(request: FiveOneEat.business.StoreEventRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.CreateEventsResponse>;
|
|
48
|
+
private __create;
|
|
49
|
+
/**
|
|
50
|
+
* @param {FiveOneEat.business.GetEventsRequest} request
|
|
51
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
54
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
55
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.business.events.get({
|
|
59
|
+
* event: "event"
|
|
60
|
+
* })
|
|
61
|
+
*/
|
|
62
|
+
get(request: FiveOneEat.business.GetEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.GetEventsResponse>;
|
|
63
|
+
private __get;
|
|
64
|
+
/**
|
|
65
|
+
* @param {FiveOneEat.business.UpdateEventRequest} request
|
|
66
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
69
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
70
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
71
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* await client.business.events.update({
|
|
75
|
+
* event: "event"
|
|
76
|
+
* })
|
|
77
|
+
*/
|
|
78
|
+
update(request: FiveOneEat.business.UpdateEventRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.UpdateEventsResponse>;
|
|
79
|
+
private __update;
|
|
80
|
+
/**
|
|
81
|
+
* @param {FiveOneEat.business.DeleteEventsRequest} request
|
|
82
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
85
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
86
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* await client.business.events.delete({
|
|
90
|
+
* event: "event"
|
|
91
|
+
* })
|
|
92
|
+
*/
|
|
93
|
+
delete(request: FiveOneEat.business.DeleteEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.DeleteEventsResponse>;
|
|
94
|
+
private __delete;
|
|
95
|
+
/**
|
|
96
|
+
* @param {FiveOneEat.business.TogglePublishedEventsRequest} request
|
|
97
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
100
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
101
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* await client.business.events.togglePublished({
|
|
105
|
+
* event: "event"
|
|
106
|
+
* })
|
|
107
|
+
*/
|
|
108
|
+
togglePublished(request: FiveOneEat.business.TogglePublishedEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.TogglePublishedEventsResponse>;
|
|
109
|
+
private __togglePublished;
|
|
110
|
+
/**
|
|
111
|
+
* Upload and replace the image for the given event. Any existing image will be deleted.
|
|
112
|
+
*
|
|
113
|
+
* @param {FiveOneEat.business.UploadEventImageRequest} request
|
|
114
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
117
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
118
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
119
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* import { createReadStream } from "fs";
|
|
123
|
+
* await client.business.events.uploadImage({
|
|
124
|
+
* image: fs.createReadStream("/path/to/your/file"),
|
|
125
|
+
* event: "event"
|
|
126
|
+
* })
|
|
127
|
+
*/
|
|
128
|
+
uploadImage(request: FiveOneEat.business.UploadEventImageRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.UploadImageEventsResponse>;
|
|
129
|
+
private __uploadImage;
|
|
130
|
+
/**
|
|
131
|
+
* @param {FiveOneEat.business.DeleteImageEventsRequest} request
|
|
132
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
135
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
136
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* await client.business.events.deleteImage({
|
|
140
|
+
* event: "event"
|
|
141
|
+
* })
|
|
142
|
+
*/
|
|
143
|
+
deleteImage(request: FiveOneEat.business.DeleteImageEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.DeleteImageEventsResponse>;
|
|
144
|
+
private __deleteImage;
|
|
145
|
+
/**
|
|
146
|
+
* Accepts an optional `status` query param: `attending`, `not_attending`, or `maybe`.
|
|
147
|
+
*
|
|
148
|
+
* @param {FiveOneEat.business.ListRsvpsEventsRequest} request
|
|
149
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
150
|
+
*
|
|
151
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
152
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
153
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* await client.business.events.listRsvps({
|
|
157
|
+
* event: "event"
|
|
158
|
+
* })
|
|
159
|
+
*/
|
|
160
|
+
listRsvps(request: FiveOneEat.business.ListRsvpsEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.ListRsvpsEventsResponse>;
|
|
161
|
+
private __listRsvps;
|
|
162
|
+
/**
|
|
163
|
+
* Accepts an optional `status` query param matching the ticket status
|
|
164
|
+
* (`valid`, `used`, `cancelled`, `refunded`).
|
|
165
|
+
*
|
|
166
|
+
* @param {FiveOneEat.business.ListAttendeesEventsRequest} request
|
|
167
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
170
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
171
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* await client.business.events.listAttendees({
|
|
175
|
+
* event: "event"
|
|
176
|
+
* })
|
|
177
|
+
*/
|
|
178
|
+
listAttendees(request: FiveOneEat.business.ListAttendeesEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.ListAttendeesEventsResponse>;
|
|
179
|
+
private __listAttendees;
|
|
180
|
+
/**
|
|
181
|
+
* Returns aggregated sales totals: gross revenue, refunds, tickets sold,
|
|
182
|
+
* and a per-ticket-type breakdown.
|
|
183
|
+
*
|
|
184
|
+
* @param {FiveOneEat.business.SalesSummaryEventsRequest} request
|
|
185
|
+
* @param {EventsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
188
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
189
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
190
|
+
*
|
|
191
|
+
* @example
|
|
192
|
+
* await client.business.events.salesSummary({
|
|
193
|
+
* event: "event"
|
|
194
|
+
* })
|
|
195
|
+
*/
|
|
196
|
+
salesSummary(request: FiveOneEat.business.SalesSummaryEventsRequest, requestOptions?: EventsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.SalesSummaryEventsResponse>;
|
|
197
|
+
private __salesSummary;
|
|
198
|
+
}
|