@51eat/sdk 0.0.79 → 2.0.0
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 +2 -2
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +9 -4
- package/dist/cjs/api/resources/business/client/Client.d.ts +3 -9
- package/dist/cjs/api/resources/business/client/Client.js +29 -39
- package/dist/cjs/api/resources/business/resources/auth/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/business/resources/auth/client/Client.js +4 -8
- package/dist/cjs/api/resources/business/resources/auth/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/businesses/client/Client.d.ts +10 -1
- package/dist/cjs/api/resources/business/resources/businesses/client/Client.js +12 -1
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/ListBusinessesRequest.d.ts +2 -4
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/claims/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/claims/client/Client.js +12 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/commerce/client/Client.d.ts +18 -0
- package/dist/cjs/api/resources/business/resources/commerce/client/Client.js +26 -0
- package/dist/cjs/api/resources/business/resources/commerce/exports.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/commerce/exports.js +22 -0
- package/dist/cjs/api/resources/business/resources/commerce/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/index.js +47 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/Client.js +114 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/ListLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/Client.d.ts +186 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/Client.js +619 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.d.ts +29 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.js +12 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.ts +15 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/MarkReadyOrdersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/PickUpOrderRequest.d.ts +18 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.d.ts +45 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.js +16 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/index.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/CancelOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/GetOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/KeepPaymentOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.d.ts +7 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.js +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/ListOrdersResponse.d.ts +39 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/MarkNoShowOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/MarkPickedUpOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/MarkReadyOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/RefundOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/index.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/index.js +25 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/Client.d.ts +56 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/Client.js +214 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/requests/AdjustLocationStockRequest.d.ts +19 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/requests/ListStockRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/AdjustStockResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/ListStockResponse.d.ts +39 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/events/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/business/resources/events/client/Client.js +4 -1
- package/dist/cjs/api/resources/business/resources/events/client/requests/StoreEventRequest.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.js +1 -1
- package/dist/cjs/api/resources/business/resources/index.d.ts +1 -8
- package/dist/cjs/api/resources/business/resources/index.js +2 -9
- package/dist/cjs/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.js +1 -1
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.ts +3 -6
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/Client.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/Client.js +0 -3
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.ts +2 -4
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.d.ts +15 -4
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.js +13 -2
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/PurchaseLabelRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.ts +16 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/shipping/resources/account/client/Client.d.ts +6 -2
- package/dist/cjs/api/resources/business/resources/shipping/resources/account/client/Client.js +6 -2
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/Client.d.ts +48 -7
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/Client.js +98 -7
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/ConnectStripeConnectResponse.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/index.js +1 -0
- package/dist/cjs/api/resources/commerce/client/Client.d.ts +18 -0
- package/dist/cjs/api/resources/commerce/client/Client.js +26 -0
- package/dist/cjs/api/resources/commerce/exports.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/exports.js +22 -0
- package/dist/cjs/api/resources/commerce/index.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/index.js +18 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/Client.d.ts +99 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/Client.js +327 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/GetCurrentCartsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.d.ts +23 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.js +12 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/UpdateCartRequest.d.ts +24 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/commerce/resources/carts/exports.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/exports.js +22 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/index.js +42 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/Client.d.ts +72 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/Client.js +257 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/CartLineRequest.d.ts +15 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.d.ts +17 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.d.ts +13 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/exports.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/exports.js +21 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/AddLinesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/ChangeLinesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/RemoveLinesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/index.js +19 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/GetCurrentCartsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/OpenCartsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/UpdateCurrentCartsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/index.js +19 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/Client.d.ts +91 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/Client.js +267 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/PayRequest.d.ts +22 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/QuoteCheckoutRequest.d.ts +10 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.d.ts +15 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/exports.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/exports.js +21 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/types/QuoteCheckoutResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/types/index.js +17 -0
- package/dist/cjs/api/resources/commerce/resources/index.d.ts +9 -0
- package/dist/cjs/api/resources/commerce/resources/index.js +48 -0
- package/dist/cjs/api/resources/commerce/resources/orders/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/commerce/resources/orders/client/Client.js +180 -0
- package/dist/cjs/api/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.ts +12 -0
- package/dist/cjs/api/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.ts +8 -0
- package/dist/cjs/api/resources/commerce/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/orders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/orders/exports.js +21 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/GetOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/ListOrdersResponse.d.ts +39 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/index.js +18 -0
- package/dist/cjs/api/resources/customer/client/Client.d.ts +4 -11
- package/dist/cjs/api/resources/customer/client/Client.js +9 -19
- package/dist/cjs/api/resources/customer/client/requests/SearchCustomerRequest.d.ts +9 -22
- package/dist/cjs/api/resources/customer/resources/auth/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/customer/resources/auth/client/Client.js +7 -10
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/UpdateUserRequest.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/Client.js +8 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +10 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +10 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/catalog/client/Client.d.ts +107 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/Client.js +387 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/GetProductCatalogRequest.d.ts +18 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListCategoriesCatalogRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListLocationsCatalogRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListPickupSlotsCatalogRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListProductsCatalogRequest.d.ts +19 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/catalog/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/catalog/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.js +8 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/GetProductCatalogResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.js +8 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListCategoriesCatalogResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListLocationsCatalogResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.js +8 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListProductsCatalogResponse.d.ts +39 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/index.js +23 -0
- package/dist/cjs/api/resources/customer/resources/discovery/client/Client.d.ts +2 -5
- package/dist/cjs/api/resources/customer/resources/discovery/client/Client.js +2 -5
- package/dist/cjs/api/resources/customer/resources/discovery/client/requests/CategoryBusinessesDiscoveryRequest.d.ts +4 -8
- package/dist/cjs/api/resources/customer/resources/discovery/client/requests/FeedDiscoveryRequest.d.ts +4 -9
- package/dist/cjs/api/resources/customer/resources/events/client/Client.d.ts +1 -4
- package/dist/cjs/api/resources/customer/resources/events/client/Client.js +3 -6
- package/dist/cjs/api/resources/customer/resources/events/client/requests/FeedEventsRequest.d.ts +5 -12
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.d.ts +7 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js +11 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.ts +5 -8
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.ts +3 -2
- package/dist/cjs/api/resources/customer/resources/explore/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/customer/resources/explore/client/Client.js +1 -2
- package/dist/cjs/api/resources/customer/resources/explore/client/requests/BusinessesExploreRequest.d.ts +3 -7
- package/dist/cjs/api/resources/customer/resources/index.d.ts +3 -6
- package/dist/cjs/api/resources/customer/resources/index.js +4 -7
- package/dist/cjs/api/resources/customer/resources/me/client/Client.d.ts +1 -3
- package/dist/cjs/api/resources/customer/resources/me/client/Client.js +2 -4
- package/dist/cjs/api/resources/customer/resources/me/client/requests/RsvpsMeRequest.d.ts +5 -9
- package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/client/Client.d.ts +16 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/client/Client.js +54 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/ticketOrders/client/requests/ListTicketOrdersRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/me/resources/tickets/client/requests/ListTicketsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.js +9 -0
- package/dist/cjs/api/resources/customer/resources/me/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/me/types/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/Client.js +1 -1
- package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.ts +3 -6
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/Client.d.ts +3 -4
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/Client.js +2 -5
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.d.ts +22 -0
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.js +12 -0
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/customer/resources/stands/client/Client.d.ts +9 -94
- package/dist/cjs/api/resources/customer/resources/stands/client/Client.js +11 -314
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/NoticeStandsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/index.d.ts +1 -6
- package/dist/cjs/api/resources/customer/resources/stands/types/NoticeStandsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/stands/types/index.d.ts +1 -5
- package/dist/cjs/api/resources/customer/resources/stands/types/index.js +1 -5
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/types/Address.d.ts +2 -2
- package/dist/cjs/api/types/Allergen.d.ts +10 -0
- package/dist/cjs/api/types/BusinessAllergen.d.ts +2 -2
- package/dist/cjs/api/types/BusinessBulletin.d.ts +6 -6
- package/dist/cjs/api/types/BusinessCommerceLocation.d.ts +22 -0
- package/dist/cjs/api/types/BusinessCommerceLocation.js +12 -0
- package/dist/cjs/api/types/BusinessCommerceOrder.d.ts +150 -0
- package/dist/cjs/api/types/BusinessCommerceOrder.js +37 -0
- package/dist/cjs/api/types/BusinessCommerceOrderSummary.d.ts +79 -0
- package/dist/cjs/api/types/BusinessCommerceOrderSummary.js +37 -0
- package/dist/cjs/api/types/BusinessCommerceRefund.d.ts +31 -0
- package/dist/cjs/api/types/BusinessCommerceStockLevel.d.ts +18 -0
- package/dist/cjs/api/types/BusinessConversation.d.ts +1 -1
- package/dist/cjs/api/types/BusinessEvent.d.ts +16 -17
- package/dist/cjs/api/types/BusinessEventRsvp.d.ts +3 -3
- package/dist/cjs/api/types/BusinessEventTicketType.d.ts +11 -11
- package/dist/cjs/api/types/BusinessHoursResource.d.ts +3 -2
- package/dist/cjs/api/types/BusinessList.d.ts +2 -2
- package/dist/cjs/api/types/BusinessListItem.d.ts +1 -1
- package/dist/cjs/api/types/BusinessMe.d.ts +11 -0
- package/dist/cjs/api/types/BusinessMenu.d.ts +4 -3
- package/dist/cjs/api/types/BusinessMenuGroup.d.ts +4 -3
- package/dist/cjs/api/types/BusinessMenuItem.d.ts +27 -8
- package/dist/cjs/api/types/BusinessMenuItemModifier.d.ts +3 -3
- package/dist/cjs/api/types/BusinessMenuItemVariation.d.ts +4 -4
- package/dist/cjs/api/types/BusinessStripeConnection.d.ts +15 -15
- package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +2 -2
- package/dist/cjs/api/types/BuyerOrder.d.ts +145 -0
- package/dist/cjs/api/types/BuyerOrder.js +40 -0
- package/dist/cjs/api/types/Cart.d.ts +140 -0
- package/dist/cjs/api/types/Cart.js +35 -0
- package/dist/cjs/api/types/CartQuote.d.ts +41 -0
- package/dist/cjs/api/types/CartQuote.js +22 -0
- package/dist/cjs/api/types/CatalogLocation.d.ts +116 -0
- package/dist/cjs/api/types/CatalogLocation.js +11 -0
- package/dist/cjs/api/types/CatalogPickupSlots.d.ts +18 -0
- package/dist/cjs/api/types/CatalogProduct.d.ts +125 -0
- package/dist/cjs/api/types/CatalogProduct.js +40 -0
- package/dist/cjs/api/types/ConflictErrorBody.d.ts +9 -1
- package/dist/cjs/api/types/ConflictErrorBody.js +8 -0
- package/dist/cjs/api/types/Conversation.d.ts +1 -1
- package/dist/cjs/api/types/CustomerBulletin.d.ts +1 -1
- package/dist/cjs/api/types/CustomerBusinessProfile.d.ts +5 -1
- package/dist/cjs/api/types/CustomerComment.d.ts +2 -2
- package/dist/cjs/api/types/CustomerDiscoveryAllergen.d.ts +2 -2
- package/dist/cjs/api/types/CustomerEvent.d.ts +1 -1
- package/dist/cjs/api/types/CustomerEventRsvp.d.ts +2 -2
- package/dist/cjs/api/types/CustomerEventTicketType.d.ts +2 -2
- package/dist/cjs/api/types/CustomerMenuItemModifier.d.ts +1 -1
- package/dist/cjs/api/types/CustomerUser.d.ts +13 -0
- package/dist/cjs/api/types/ExploreResponse.d.ts +5 -0
- package/dist/cjs/api/types/Image.d.ts +21 -0
- package/dist/cjs/api/types/Message.d.ts +0 -1
- package/dist/cjs/api/types/OrderItemResource.d.ts +4 -4
- package/dist/cjs/api/types/OrderResource.d.ts +5 -0
- package/dist/cjs/api/types/PayResult.d.ts +40 -0
- package/dist/cjs/api/types/PayResult.js +14 -0
- package/dist/cjs/api/types/ProductCategoryResource.d.ts +8 -0
- package/dist/cjs/api/types/ShippingAccountResource.d.ts +5 -5
- package/dist/cjs/api/types/StandNotice.d.ts +20 -0
- package/dist/cjs/api/types/Transaction.d.ts +2 -2
- package/dist/cjs/api/types/index.d.ts +16 -12
- package/dist/cjs/api/types/index.js +16 -12
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/business/client/Client.d.mts +3 -9
- package/dist/esm/api/resources/business/client/Client.mjs +5 -15
- package/dist/esm/api/resources/business/resources/auth/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/business/resources/auth/client/Client.mjs +4 -8
- package/dist/esm/api/resources/business/resources/auth/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/businesses/client/Client.d.mts +10 -1
- package/dist/esm/api/resources/business/resources/businesses/client/Client.mjs +12 -1
- package/dist/esm/api/resources/business/resources/businesses/client/requests/ListBusinessesRequest.d.mts +2 -4
- package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/claims/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/claims/client/Client.mjs +12 -0
- package/dist/esm/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/commerce/client/Client.d.mts +18 -0
- package/dist/esm/api/resources/business/resources/commerce/client/Client.mjs +22 -0
- package/dist/esm/api/resources/business/resources/commerce/exports.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/commerce/exports.mjs +4 -0
- package/dist/esm/api/resources/business/resources/commerce/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/index.mjs +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.mjs +77 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/ListLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/Client.d.mts +186 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/Client.mjs +582 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.d.mts +29 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.mjs +9 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.mts +15 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/MarkReadyOrdersRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/PickUpOrderRequest.d.mts +18 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.d.mts +45 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.mjs +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/index.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/CancelOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/GetOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/KeepPaymentOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.d.mts +7 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.mjs +7 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/ListOrdersResponse.d.mts +39 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/MarkNoShowOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/MarkPickedUpOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/MarkReadyOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/RefundOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/index.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/index.mjs +9 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/Client.d.mts +56 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/Client.mjs +177 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/requests/AdjustLocationStockRequest.d.mts +19 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/requests/ListStockRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/AdjustStockResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/ListStockResponse.d.mts +39 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/business/resources/events/client/Client.mjs +4 -1
- package/dist/esm/api/resources/business/resources/events/client/requests/StoreEventRequest.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.mjs +1 -1
- package/dist/esm/api/resources/business/resources/index.d.mts +1 -8
- package/dist/esm/api/resources/business/resources/index.mjs +1 -8
- package/dist/esm/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.mjs +1 -1
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.mts +2 -4
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.mts +3 -6
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/Client.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/Client.mjs +0 -3
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.mts +2 -4
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.d.mts +15 -4
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.mjs +13 -2
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/PurchaseLabelRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.mts +16 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/shipping/resources/account/client/Client.d.mts +6 -2
- package/dist/esm/api/resources/business/resources/shipping/resources/account/client/Client.mjs +6 -2
- package/dist/esm/api/resources/business/resources/stripeConnect/client/Client.d.mts +48 -7
- package/dist/esm/api/resources/business/resources/stripeConnect/client/Client.mjs +98 -7
- package/dist/esm/api/resources/business/resources/stripeConnect/types/ConnectStripeConnectResponse.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/index.mjs +1 -0
- package/dist/esm/api/resources/commerce/client/Client.d.mts +18 -0
- package/dist/esm/api/resources/commerce/client/Client.mjs +22 -0
- package/dist/esm/api/resources/commerce/exports.d.mts +3 -0
- package/dist/esm/api/resources/commerce/exports.mjs +4 -0
- package/dist/esm/api/resources/commerce/index.d.mts +2 -0
- package/dist/esm/api/resources/commerce/index.mjs +2 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/Client.d.mts +99 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/Client.mjs +290 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/GetCurrentCartsRequest.d.mts +10 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.d.mts +14 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.d.mts +23 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.mjs +9 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/UpdateCartRequest.d.mts +24 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/commerce/resources/carts/exports.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/exports.mjs +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/index.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/Client.d.mts +72 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/Client.mjs +220 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/CartLineRequest.d.mts +15 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.d.mts +17 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.d.mts +13 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/exports.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/exports.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/AddLinesResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/ChangeLinesResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/RemoveLinesResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/index.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/index.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/GetCurrentCartsResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/OpenCartsResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/UpdateCurrentCartsResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/index.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/index.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/Client.d.mts +91 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/Client.mjs +230 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/requests/PayRequest.d.mts +22 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/requests/QuoteCheckoutRequest.d.mts +10 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.d.mts +15 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/checkout/exports.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/checkout/exports.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/checkout/types/QuoteCheckoutResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/checkout/types/index.d.mts +1 -0
- package/dist/esm/api/resources/commerce/resources/checkout/types/index.mjs +1 -0
- package/dist/esm/api/resources/commerce/resources/index.d.mts +9 -0
- package/dist/esm/api/resources/commerce/resources/index.mjs +9 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/Client.mjs +143 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.mts +12 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.mts +8 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/commerce/resources/orders/exports.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/orders/exports.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/GetOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/ListOrdersResponse.d.mts +39 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/index.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/index.mjs +2 -0
- package/dist/esm/api/resources/customer/client/Client.d.mts +4 -11
- package/dist/esm/api/resources/customer/client/Client.mjs +7 -17
- package/dist/esm/api/resources/customer/client/requests/SearchCustomerRequest.d.mts +9 -22
- package/dist/esm/api/resources/customer/resources/auth/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/customer/resources/auth/client/Client.mjs +7 -10
- package/dist/esm/api/resources/customer/resources/auth/client/requests/UpdateUserRequest.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/Client.mjs +8 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +10 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +10 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/catalog/client/Client.d.mts +107 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/Client.mjs +350 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/GetProductCatalogRequest.d.mts +18 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListCategoriesCatalogRequest.d.mts +15 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListLocationsCatalogRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListPickupSlotsCatalogRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListProductsCatalogRequest.d.mts +19 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/catalog/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/catalog/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/GetProductCatalogResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListCategoriesCatalogResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListLocationsCatalogResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListProductsCatalogResponse.d.mts +39 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/index.d.mts +7 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/index.mjs +7 -0
- package/dist/esm/api/resources/customer/resources/discovery/client/Client.d.mts +2 -5
- package/dist/esm/api/resources/customer/resources/discovery/client/Client.mjs +2 -5
- package/dist/esm/api/resources/customer/resources/discovery/client/requests/CategoryBusinessesDiscoveryRequest.d.mts +4 -8
- package/dist/esm/api/resources/customer/resources/discovery/client/requests/FeedDiscoveryRequest.d.mts +4 -9
- package/dist/esm/api/resources/customer/resources/events/client/Client.d.mts +1 -4
- package/dist/esm/api/resources/customer/resources/events/client/Client.mjs +3 -6
- package/dist/esm/api/resources/customer/resources/events/client/requests/FeedEventsRequest.d.mts +5 -12
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.d.mts +7 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs +11 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.mts +5 -8
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.mts +3 -2
- package/dist/esm/api/resources/customer/resources/explore/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/customer/resources/explore/client/Client.mjs +1 -2
- package/dist/esm/api/resources/customer/resources/explore/client/requests/BusinessesExploreRequest.d.mts +3 -7
- package/dist/esm/api/resources/customer/resources/index.d.mts +3 -6
- package/dist/esm/api/resources/customer/resources/index.mjs +3 -6
- package/dist/esm/api/resources/customer/resources/me/client/Client.d.mts +1 -3
- package/dist/esm/api/resources/customer/resources/me/client/Client.mjs +2 -4
- package/dist/esm/api/resources/customer/resources/me/client/requests/RsvpsMeRequest.d.mts +5 -9
- package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/client/Client.d.mts +16 -0
- package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/client/Client.mjs +54 -0
- package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/me/resources/ticketOrders/client/requests/ListTicketOrdersRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/me/resources/tickets/client/requests/ListTicketsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.d.mts +6 -0
- package/dist/esm/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.mjs +6 -0
- package/dist/esm/api/resources/customer/resources/me/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/me/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/Client.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.mts +3 -6
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/Client.d.mts +3 -4
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/Client.mjs +2 -5
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.d.mts +22 -0
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.mjs +9 -0
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/stands/client/Client.d.mts +9 -94
- package/dist/esm/api/resources/customer/resources/stands/client/Client.mjs +12 -315
- package/dist/esm/api/resources/customer/resources/stands/client/requests/NoticeStandsRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/stands/client/requests/index.d.mts +1 -6
- package/dist/esm/api/resources/customer/resources/stands/types/NoticeStandsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/stands/types/index.d.mts +1 -5
- package/dist/esm/api/resources/customer/resources/stands/types/index.mjs +1 -5
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/types/Address.d.mts +2 -2
- package/dist/esm/api/types/Allergen.d.mts +10 -0
- package/dist/esm/api/types/BusinessAllergen.d.mts +2 -2
- package/dist/esm/api/types/BusinessBulletin.d.mts +6 -6
- package/dist/esm/api/types/BusinessCommerceLocation.d.mts +22 -0
- package/dist/esm/api/types/BusinessCommerceLocation.mjs +9 -0
- package/dist/esm/api/types/BusinessCommerceOrder.d.mts +150 -0
- package/dist/esm/api/types/BusinessCommerceOrder.mjs +34 -0
- package/dist/esm/api/types/BusinessCommerceOrderSummary.d.mts +79 -0
- package/dist/esm/api/types/BusinessCommerceOrderSummary.mjs +34 -0
- package/dist/esm/api/types/BusinessCommerceRefund.d.mts +31 -0
- package/dist/esm/api/types/BusinessCommerceStockLevel.d.mts +18 -0
- package/dist/esm/api/types/BusinessConversation.d.mts +1 -1
- package/dist/esm/api/types/BusinessEvent.d.mts +16 -17
- package/dist/esm/api/types/BusinessEventRsvp.d.mts +3 -3
- package/dist/esm/api/types/BusinessEventTicketType.d.mts +11 -11
- package/dist/esm/api/types/BusinessHoursResource.d.mts +3 -2
- package/dist/esm/api/types/BusinessList.d.mts +2 -2
- package/dist/esm/api/types/BusinessListItem.d.mts +1 -1
- package/dist/esm/api/types/BusinessMe.d.mts +11 -0
- package/dist/esm/api/types/BusinessMenu.d.mts +4 -3
- package/dist/esm/api/types/BusinessMenuGroup.d.mts +4 -3
- package/dist/esm/api/types/BusinessMenuItem.d.mts +27 -8
- package/dist/esm/api/types/BusinessMenuItemModifier.d.mts +3 -3
- package/dist/esm/api/types/BusinessMenuItemVariation.d.mts +4 -4
- package/dist/esm/api/types/BusinessStripeConnection.d.mts +15 -15
- package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +2 -2
- package/dist/esm/api/types/BuyerOrder.d.mts +145 -0
- package/dist/esm/api/types/BuyerOrder.mjs +37 -0
- package/dist/esm/api/types/Cart.d.mts +140 -0
- package/dist/esm/api/types/Cart.mjs +32 -0
- package/dist/esm/api/types/CartQuote.d.mts +41 -0
- package/dist/esm/api/types/CartQuote.mjs +19 -0
- package/dist/esm/api/types/CatalogLocation.d.mts +116 -0
- package/dist/esm/api/types/CatalogLocation.mjs +8 -0
- package/dist/esm/api/types/CatalogPickupSlots.d.mts +18 -0
- package/dist/esm/api/types/CatalogProduct.d.mts +125 -0
- package/dist/esm/api/types/CatalogProduct.mjs +37 -0
- package/dist/esm/api/types/ConflictErrorBody.d.mts +9 -1
- package/dist/esm/api/types/ConflictErrorBody.mjs +7 -1
- package/dist/esm/api/types/Conversation.d.mts +1 -1
- package/dist/esm/api/types/CustomerBulletin.d.mts +1 -1
- package/dist/esm/api/types/CustomerBusinessProfile.d.mts +5 -1
- package/dist/esm/api/types/CustomerComment.d.mts +2 -2
- package/dist/esm/api/types/CustomerDiscoveryAllergen.d.mts +2 -2
- package/dist/esm/api/types/CustomerEvent.d.mts +1 -1
- package/dist/esm/api/types/CustomerEventRsvp.d.mts +2 -2
- package/dist/esm/api/types/CustomerEventTicketType.d.mts +2 -2
- package/dist/esm/api/types/CustomerMenuItemModifier.d.mts +1 -1
- package/dist/esm/api/types/CustomerUser.d.mts +13 -0
- package/dist/esm/api/types/ExploreResponse.d.mts +5 -0
- package/dist/esm/api/types/Image.d.mts +21 -0
- package/dist/esm/api/types/Message.d.mts +0 -1
- package/dist/esm/api/types/OrderItemResource.d.mts +4 -4
- package/dist/esm/api/types/OrderResource.d.mts +5 -0
- package/dist/esm/api/types/PayResult.d.mts +40 -0
- package/dist/esm/api/types/PayResult.mjs +11 -0
- package/dist/esm/api/types/ProductCategoryResource.d.mts +8 -0
- package/dist/esm/api/types/ShippingAccountResource.d.mts +5 -5
- package/dist/esm/api/types/StandNotice.d.mts +20 -0
- package/dist/esm/api/types/Transaction.d.mts +2 -2
- package/dist/esm/api/types/index.d.mts +16 -12
- package/dist/esm/api/types/index.mjs +16 -12
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +106 -117
- package/reference.md +1653 -1895
- package/dist/cjs/api/resources/business/resources/auth/client/requests/LogoutAuthRequest.d.ts +0 -7
- package/dist/cjs/api/resources/business/resources/priceLists/client/Client.d.ts +0 -53
- package/dist/cjs/api/resources/business/resources/priceLists/client/Client.js +0 -222
- package/dist/cjs/api/resources/business/resources/priceLists/client/requests/DeletePriceListsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/priceLists/client/requests/StorePriceListRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/priceLists/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/priceLists/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/priceLists/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/priceLists/types/CreatePriceListsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/priceLists/types/ListPriceListsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/priceLists/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/priceLists/types/index.js +0 -18
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/AddTrackingProductOrdersRequest.d.ts +0 -16
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/PurchaseLabelProductOrdersRequest.d.ts +0 -12
- package/dist/cjs/api/resources/business/resources/products/client/Client.d.ts +0 -96
- package/dist/cjs/api/resources/business/resources/products/client/Client.js +0 -373
- package/dist/cjs/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/products/client/requests/GetProductsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts +0 -16
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +0 -19
- package/dist/cjs/api/resources/business/resources/products/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/exports.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/exports.js +0 -22
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.d.ts +0 -47
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.js +0 -185
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/DeleteImagesRequest.d.ts +0 -11
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/ReorderImagesRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/UploadImagesRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/images/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/images/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/images/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/images/index.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/index.d.ts +0 -8
- package/dist/cjs/api/resources/business/resources/products/resources/index.js +0 -47
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/Client.d.ts +0 -28
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/Client.js +0 -117
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/requests/SummaryInventoryRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/SummaryInventoryResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/index.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.d.ts +0 -72
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.js +0 -273
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.d.ts +0 -33
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.d.ts +0 -33
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.js +0 -7
- package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.js +0 -22
- package/dist/cjs/api/resources/business/resources/products/resources/variants/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/index.js +0 -19
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.ts +0 -47
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.js +0 -185
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/DeleteImagesRequest.d.ts +0 -11
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/ReorderImagesRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/UploadImagesRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/index.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/index.d.ts +0 -8
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/index.js +0 -47
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.d.ts +0 -60
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.js +0 -244
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.d.ts +0 -14
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.d.ts +0 -15
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.js +0 -18
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.d.ts +0 -32
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.js +0 -137
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/index.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.d.ts +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/index.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.js +0 -18
- package/dist/cjs/api/resources/business/resources/products/types/CreateProductsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/types/GetProductsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/types/ListProductsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/types/UpdateProductsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/types/index.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/types/index.js +0 -20
- package/dist/cjs/api/resources/business/resources/taxCodes/client/Client.d.ts +0 -27
- package/dist/cjs/api/resources/business/resources/taxCodes/client/Client.js +0 -111
- package/dist/cjs/api/resources/business/resources/taxCodes/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/taxCodes/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/taxCodes/types/ListTaxCodesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/taxCodes/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/taxCodes/types/index.js +0 -17
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/LogoutAuthRequest.d.ts +0 -7
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.d.ts +0 -261
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.js +0 -853
- package/dist/cjs/api/resources/customer/resources/cart/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/customer/resources/cart/client/index.js +0 -17
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddItemCartRequest.d.ts +0 -16
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutCartRequest.d.ts +0 -15
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/ClearCartRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/GetCartRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/ListShippingOptionsCartRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/RefreshCartPaymentRequest.d.ts +0 -12
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/SelectShippingRateRequest.d.ts +0 -12
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/ShippingAddressRequest.d.ts +0 -27
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.ts +0 -12
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.d.ts +0 -12
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/customer/resources/cart/exports.d.ts +0 -2
- package/dist/cjs/api/resources/customer/resources/cart/exports.js +0 -21
- package/dist/cjs/api/resources/customer/resources/cart/types/AddItemCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.ts +0 -17
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.js +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/types/GetCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/ListShippingOptionsCartResponse.d.ts +0 -18
- package/dist/cjs/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.d.ts +0 -18
- package/dist/cjs/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.js +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/SetFulfillmentCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/SetShippingAddressCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/index.d.ts +0 -11
- package/dist/cjs/api/resources/customer/resources/cart/types/index.js +0 -27
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.d.ts +0 -17
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.d.ts +0 -53
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.js +0 -221
- package/dist/cjs/api/resources/customer/resources/shop/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/customer/resources/shop/client/index.js +0 -17
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +0 -11
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/customer/resources/shop/exports.d.ts +0 -2
- package/dist/cjs/api/resources/customer/resources/shop/exports.js +0 -21
- package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.js +0 -3
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.js +0 -3
- package/dist/cjs/api/resources/customer/resources/shop/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/customer/resources/shop/types/index.js +0 -19
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.d.ts +0 -16
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.d.ts +0 -15
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/stands/types/CheckoutStandsResponse.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.ts +0 -16
- package/dist/cjs/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.js +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/types/GetCartStandsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/stands/types/GetCartStandsResponse.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/types/ScanStandsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/stands/types/ScanStandsResponse.js +0 -3
- package/dist/cjs/api/types/AddCartItemRequest.d.ts +0 -9
- package/dist/cjs/api/types/AddCartItemRequest.js +0 -3
- package/dist/cjs/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.d.ts +0 -23
- package/dist/cjs/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.js +0 -3
- package/dist/cjs/api/types/CartResource.d.ts +0 -50
- package/dist/cjs/api/types/CartResource.js +0 -3
- package/dist/cjs/api/types/CheckoutRequest.d.ts +0 -5
- package/dist/cjs/api/types/CheckoutRequest.js +0 -3
- package/dist/cjs/api/types/FulfillmentType.d.ts +0 -6
- package/dist/cjs/api/types/FulfillmentType.js +0 -9
- package/dist/cjs/api/types/InventoryLevelResource.d.ts +0 -7
- package/dist/cjs/api/types/InventoryLevelResource.js +0 -3
- package/dist/cjs/api/types/PriceListResource.d.ts +0 -8
- package/dist/cjs/api/types/PriceListResource.js +0 -3
- package/dist/cjs/api/types/PriceResource.d.ts +0 -10
- package/dist/cjs/api/types/PriceResource.js +0 -3
- package/dist/cjs/api/types/ProductResource.d.ts +0 -21
- package/dist/cjs/api/types/ProductResource.js +0 -3
- package/dist/cjs/api/types/StandShop.d.ts +0 -24
- package/dist/cjs/api/types/StandShop.js +0 -3
- package/dist/cjs/api/types/TaxCode.d.ts +0 -21
- package/dist/cjs/api/types/TaxCode.js +0 -15
- package/dist/cjs/api/types/VariantResource.d.ts +0 -14
- package/dist/cjs/api/types/VariantResource.js +0 -3
- package/dist/esm/api/resources/business/resources/auth/client/requests/LogoutAuthRequest.d.mts +0 -7
- package/dist/esm/api/resources/business/resources/priceLists/client/Client.d.mts +0 -53
- package/dist/esm/api/resources/business/resources/priceLists/client/Client.mjs +0 -185
- package/dist/esm/api/resources/business/resources/priceLists/client/requests/DeletePriceListsRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/priceLists/client/requests/StorePriceListRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/priceLists/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/priceLists/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/priceLists/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/priceLists/types/CreatePriceListsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/priceLists/types/ListPriceListsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/priceLists/types/index.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/priceLists/types/index.mjs +0 -2
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/AddTrackingProductOrdersRequest.d.mts +0 -16
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/PurchaseLabelProductOrdersRequest.d.mts +0 -12
- package/dist/esm/api/resources/business/resources/products/client/Client.d.mts +0 -96
- package/dist/esm/api/resources/business/resources/products/client/Client.mjs +0 -336
- package/dist/esm/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/products/client/requests/GetProductsRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.d.mts +0 -16
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +0 -19
- package/dist/esm/api/resources/business/resources/products/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/exports.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/exports.mjs +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.d.mts +0 -47
- package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.mjs +0 -148
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/DeleteImagesRequest.d.mts +0 -11
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/ReorderImagesRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/UploadImagesRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/images/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/images/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/images/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/images/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/index.d.mts +0 -8
- package/dist/esm/api/resources/business/resources/products/resources/index.mjs +0 -8
- package/dist/esm/api/resources/business/resources/products/resources/inventory/client/Client.d.mts +0 -28
- package/dist/esm/api/resources/business/resources/products/resources/inventory/client/Client.mjs +0 -80
- package/dist/esm/api/resources/business/resources/products/resources/inventory/client/requests/SummaryInventoryRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/products/resources/inventory/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/inventory/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/inventory/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/inventory/types/SummaryInventoryResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/inventory/types/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/inventory/types/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.d.mts +0 -72
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.mjs +0 -236
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.d.mts +0 -33
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.mjs +0 -14
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.d.mts +0 -33
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.mjs +0 -14
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.mjs +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/exports.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/exports.mjs +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/index.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.mts +0 -47
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.mjs +0 -148
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/DeleteImagesRequest.d.mts +0 -11
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/ReorderImagesRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/UploadImagesRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/index.d.mts +0 -8
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/index.mjs +0 -8
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.d.mts +0 -60
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.mjs +0 -207
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.d.mts +0 -14
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.d.mts +0 -15
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.mjs +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.d.mts +0 -32
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.mjs +0 -100
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.d.mts +0 -21
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.mjs +0 -2
- package/dist/esm/api/resources/business/resources/products/types/CreateProductsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/types/GetProductsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/types/ListProductsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/types/UpdateProductsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/types/index.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/types/index.mjs +0 -4
- package/dist/esm/api/resources/business/resources/taxCodes/client/Client.d.mts +0 -27
- package/dist/esm/api/resources/business/resources/taxCodes/client/Client.mjs +0 -74
- package/dist/esm/api/resources/business/resources/taxCodes/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/taxCodes/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/taxCodes/types/ListTaxCodesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/taxCodes/types/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/taxCodes/types/index.mjs +0 -1
- package/dist/esm/api/resources/customer/resources/auth/client/requests/LogoutAuthRequest.d.mts +0 -7
- package/dist/esm/api/resources/customer/resources/cart/client/Client.d.mts +0 -261
- package/dist/esm/api/resources/customer/resources/cart/client/Client.mjs +0 -816
- package/dist/esm/api/resources/customer/resources/cart/client/index.d.mts +0 -1
- package/dist/esm/api/resources/customer/resources/cart/client/index.mjs +0 -1
- package/dist/esm/api/resources/customer/resources/cart/client/requests/AddItemCartRequest.d.mts +0 -16
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutCartRequest.d.mts +0 -15
- package/dist/esm/api/resources/customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.d.mts +0 -13
- package/dist/esm/api/resources/customer/resources/cart/client/requests/ClearCartRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/cart/client/requests/GetCartRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/cart/client/requests/ListShippingOptionsCartRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/cart/client/requests/RefreshCartPaymentRequest.d.mts +0 -12
- package/dist/esm/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/cart/client/requests/SelectShippingRateRequest.d.mts +0 -12
- package/dist/esm/api/resources/customer/resources/cart/client/requests/ShippingAddressRequest.d.mts +0 -27
- package/dist/esm/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.mts +0 -12
- package/dist/esm/api/resources/customer/resources/cart/client/requests/index.d.mts +0 -12
- package/dist/esm/api/resources/customer/resources/cart/exports.d.mts +0 -2
- package/dist/esm/api/resources/customer/resources/cart/exports.mjs +0 -3
- package/dist/esm/api/resources/customer/resources/cart/types/AddItemCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.mts +0 -17
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.mjs +0 -7
- package/dist/esm/api/resources/customer/resources/cart/types/GetCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/ListShippingOptionsCartResponse.d.mts +0 -18
- package/dist/esm/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.d.mts +0 -18
- package/dist/esm/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.mjs +0 -7
- package/dist/esm/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/SetFulfillmentCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/SetShippingAddressCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/index.d.mts +0 -11
- package/dist/esm/api/resources/customer/resources/cart/types/index.mjs +0 -11
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.d.mts +0 -17
- package/dist/esm/api/resources/customer/resources/shop/client/Client.d.mts +0 -53
- package/dist/esm/api/resources/customer/resources/shop/client/Client.mjs +0 -184
- package/dist/esm/api/resources/customer/resources/shop/client/index.d.mts +0 -1
- package/dist/esm/api/resources/customer/resources/shop/client/index.mjs +0 -1
- package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +0 -13
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +0 -11
- package/dist/esm/api/resources/customer/resources/shop/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/customer/resources/shop/exports.d.mts +0 -2
- package/dist/esm/api/resources/customer/resources/shop/exports.mjs +0 -3
- package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/shop/types/index.d.mts +0 -3
- package/dist/esm/api/resources/customer/resources/shop/types/index.mjs +0 -3
- package/dist/esm/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.d.mts +0 -16
- package/dist/esm/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.d.mts +0 -15
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/stands/types/CheckoutStandsResponse.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.mts +0 -16
- package/dist/esm/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.mjs +0 -7
- package/dist/esm/api/resources/customer/resources/stands/types/GetCartStandsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/stands/types/GetCartStandsResponse.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/types/ScanStandsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/stands/types/ScanStandsResponse.mjs +0 -2
- package/dist/esm/api/types/AddCartItemRequest.d.mts +0 -9
- package/dist/esm/api/types/AddCartItemRequest.mjs +0 -2
- package/dist/esm/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.d.mts +0 -23
- package/dist/esm/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.mjs +0 -2
- package/dist/esm/api/types/CartResource.d.mts +0 -50
- package/dist/esm/api/types/CartResource.mjs +0 -2
- package/dist/esm/api/types/CheckoutRequest.d.mts +0 -5
- package/dist/esm/api/types/CheckoutRequest.mjs +0 -2
- package/dist/esm/api/types/FulfillmentType.d.mts +0 -6
- package/dist/esm/api/types/FulfillmentType.mjs +0 -6
- package/dist/esm/api/types/InventoryLevelResource.d.mts +0 -7
- package/dist/esm/api/types/InventoryLevelResource.mjs +0 -2
- package/dist/esm/api/types/PriceListResource.d.mts +0 -8
- package/dist/esm/api/types/PriceListResource.mjs +0 -2
- package/dist/esm/api/types/PriceResource.d.mts +0 -10
- package/dist/esm/api/types/PriceResource.mjs +0 -2
- package/dist/esm/api/types/ProductResource.d.mts +0 -21
- package/dist/esm/api/types/ProductResource.mjs +0 -2
- package/dist/esm/api/types/StandShop.d.mts +0 -24
- package/dist/esm/api/types/StandShop.mjs +0 -2
- package/dist/esm/api/types/TaxCode.d.mts +0 -21
- package/dist/esm/api/types/TaxCode.mjs +0 -12
- package/dist/esm/api/types/VariantResource.d.mts +0 -14
- package/dist/esm/api/types/VariantResource.mjs +0 -2
- /package/dist/cjs/api/resources/business/resources/{taxCodes → commerce}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests → commerce/client}/index.js +0 -0
- /package/dist/{esm/api/resources/business/resources/priceLists/client/requests/index.mjs → cjs/api/resources/business/resources/commerce/resources/locations/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests → commerce/resources/locations/client}/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{auth/client/requests/LogoutAuthRequest.js → commerce/resources/locations/types/ListLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests/DeletePriceListsRequest.js → commerce/resources/orders/client/requests/GetOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests/StorePriceListRequest.js → commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/types/CreatePriceListsResponse.js → commerce/resources/orders/client/requests/ListOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/types/ListPriceListsResponse.js → commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/AddTrackingProductOrdersRequest.js → commerce/resources/orders/client/requests/MarkReadyOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/PurchaseLabelProductOrdersRequest.js → commerce/resources/orders/client/requests/PickUpOrderRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/DeleteProductsRequest.js → commerce/resources/orders/types/CancelOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/GetProductsRequest.js → commerce/resources/orders/types/GetOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/StoreProductRequest.js → commerce/resources/orders/types/KeepPaymentOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/UpdateProductRequest.js → commerce/resources/orders/types/ListOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/DeleteImagesRequest.js → commerce/resources/orders/types/MarkNoShowOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/ReorderImagesRequest.js → commerce/resources/orders/types/MarkPickedUpOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/UploadImagesRequest.js → commerce/resources/orders/types/MarkReadyOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory/client/requests/SummaryInventoryRequest.js → commerce/resources/orders/types/RefundOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/stock}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/stock}/client/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory/types/SummaryInventoryResponse.js → commerce/resources/stock/client/requests/AdjustLocationStockRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/client/requests/DeleteVariantsRequest.js → commerce/resources/stock/client/requests/ListStockRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images → commerce/resources/stock}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/DeleteImagesRequest.js → commerce/resources/stock/types/AdjustStockResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/ReorderImagesRequest.js → commerce/resources/stock/types/ListStockResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/UploadImagesRequest.js → productOrders/client/requests/PurchaseLabelRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.js → productOrders/client/requests/StoreTrackingRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.js → stripeConnect/types/ConnectStripeConnectResponse.js} +0 -0
- /package/dist/{esm/api/resources/business/resources/products/client/requests/index.mjs → cjs/api/resources/commerce/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/inventory/client/requests → commerce/client}/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.js → commerce/resources/carts/client/requests/GetCurrentCartsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.js → commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.js → commerce/resources/carts/client/requests/UpdateCartRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products → commerce/resources/carts}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products → commerce/resources/carts}/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.js → commerce/resources/carts/resources/lines/client/requests/CartLineRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.js → commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/types/CreateVariantsResponse.js → commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/carts/resources/lines}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/types/UpdateVariantsResponse.js → commerce/resources/carts/resources/lines/types/AddLinesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/types/CreateProductsResponse.js → commerce/resources/carts/resources/lines/types/ChangeLinesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/types/GetProductsResponse.js → commerce/resources/carts/resources/lines/types/RemoveLinesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/types/ListProductsResponse.js → commerce/resources/carts/types/GetCurrentCartsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/types/UpdateProductsResponse.js → commerce/resources/carts/types/OpenCartsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/taxCodes/types/ListTaxCodesResponse.js → commerce/resources/carts/types/UpdateCurrentCartsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/auth/client/requests/LogoutAuthRequest.js → commerce/resources/checkout/client/requests/PayRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/AddItemCartRequest.js → commerce/resources/checkout/client/requests/QuoteCheckoutRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/CheckoutCartRequest.js → commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory → commerce/resources/checkout}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.js → commerce/resources/checkout/types/QuoteCheckoutResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ClearCartRequest.js → commerce/resources/orders/client/requests/GetOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.js → commerce/resources/orders/client/requests/ListOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/orders}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart → commerce/resources/orders}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart → commerce/resources/orders}/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/GetCartRequest.js → commerce/resources/orders/types/GetOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ListShippingOptionsCartRequest.js → commerce/resources/orders/types/ListOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.js +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/RefreshCartPaymentRequest.js → catalog/client/requests/GetProductCatalogRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/RemoveItemCartRequest.js → catalog/client/requests/ListCategoriesCatalogRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/SelectShippingRateRequest.js → catalog/client/requests/ListLocationsCatalogRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/ShippingAddressRequest.js → catalog/client/requests/ListPickupSlotsCatalogRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/UpdateCartItemRequest.js → catalog/client/requests/ListProductsCatalogRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/taxCodes/client → customer/resources/catalog/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/customer/resources/{shop → catalog}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/customer/resources/{shop → catalog}/index.js +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/AddItemCartResponse.js → catalog/types/GetProductCatalogResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/CheckoutCartResponse.js → catalog/types/ListCategoriesCatalogResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/GetCartResponse.js → catalog/types/ListLocationsCatalogResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/ListShippingOptionsCartResponse.js → catalog/types/ListProductsCatalogResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/RemoveItemCartResponse.js → me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/SelectShippingOptionCartResponse.js → stands/client/requests/NoticeStandsRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/SetFulfillmentCartResponse.js → stands/types/NoticeStandsResponse.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/cart/types/SetShippingAddressCartResponse.js → types/Allergen.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/cart/types/UpdateItemCartResponse.js → types/BusinessCommerceRefund.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.js → types/BusinessCommerceStockLevel.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/shop/client/requests/GetProductShopRequest.js → types/CatalogPickupSlots.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.js → types/Image.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/shop/client/requests/ListProductsShopRequest.js → types/ProductCategoryResource.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/shop/types/GetProductShopResponse.js → types/StandNotice.js} +0 -0
- /package/dist/esm/api/resources/business/resources/{taxCodes → commerce}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests → commerce/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory/client/requests/index.mjs → commerce/resources/locations/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests → commerce/resources/locations/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{auth/client/requests/LogoutAuthRequest.mjs → commerce/resources/locations/types/ListLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/client/requests/DeletePriceListsRequest.mjs → commerce/resources/orders/client/requests/GetOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/client/requests/StorePriceListRequest.mjs → commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/types/CreatePriceListsResponse.mjs → commerce/resources/orders/client/requests/ListOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/types/ListPriceListsResponse.mjs → commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/AddTrackingProductOrdersRequest.mjs → commerce/resources/orders/client/requests/MarkReadyOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/PurchaseLabelProductOrdersRequest.mjs → commerce/resources/orders/client/requests/PickUpOrderRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/DeleteProductsRequest.mjs → commerce/resources/orders/types/CancelOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/GetProductsRequest.mjs → commerce/resources/orders/types/GetOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/StoreProductRequest.mjs → commerce/resources/orders/types/KeepPaymentOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/UpdateProductRequest.mjs → commerce/resources/orders/types/ListOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/DeleteImagesRequest.mjs → commerce/resources/orders/types/MarkNoShowOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/ReorderImagesRequest.mjs → commerce/resources/orders/types/MarkPickedUpOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/UploadImagesRequest.mjs → commerce/resources/orders/types/MarkReadyOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory/client/requests/SummaryInventoryRequest.mjs → commerce/resources/orders/types/RefundOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce/resources/stock}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce/resources/stock}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory/types/SummaryInventoryResponse.mjs → commerce/resources/stock/client/requests/AdjustLocationStockRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/client/requests/DeleteVariantsRequest.mjs → commerce/resources/stock/client/requests/ListStockRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/DeleteImagesRequest.mjs → commerce/resources/stock/types/AdjustStockResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/ReorderImagesRequest.mjs → commerce/resources/stock/types/ListStockResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/UploadImagesRequest.mjs → productOrders/client/requests/PurchaseLabelRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.mjs → productOrders/client/requests/StoreTrackingRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.mjs → stripeConnect/types/ConnectStripeConnectResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices/client/requests/index.mjs → commerce/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/{business/resources/taxCodes → commerce}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.mjs → commerce/resources/carts/client/requests/GetCurrentCartsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.mjs → commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.mjs → commerce/resources/carts/client/requests/UpdateCartRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products → commerce/resources/carts}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products → commerce/resources/carts}/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.mjs → commerce/resources/carts/resources/lines/client/requests/CartLineRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.mjs → commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/types/CreateVariantsResponse.mjs → commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/carts/resources/lines}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/types/UpdateVariantsResponse.mjs → commerce/resources/carts/resources/lines/types/AddLinesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/types/CreateProductsResponse.mjs → commerce/resources/carts/resources/lines/types/ChangeLinesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/types/GetProductsResponse.mjs → commerce/resources/carts/resources/lines/types/RemoveLinesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/types/ListProductsResponse.mjs → commerce/resources/carts/types/GetCurrentCartsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/types/UpdateProductsResponse.mjs → commerce/resources/carts/types/OpenCartsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/taxCodes/types/ListTaxCodesResponse.mjs → commerce/resources/carts/types/UpdateCurrentCartsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/auth/client/requests/LogoutAuthRequest.mjs → commerce/resources/checkout/client/requests/PayRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/AddItemCartRequest.mjs → commerce/resources/checkout/client/requests/QuoteCheckoutRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/CheckoutCartRequest.mjs → commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop → commerce/resources/checkout}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.mjs → commerce/resources/checkout/types/QuoteCheckoutResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ClearCartRequest.mjs → commerce/resources/orders/client/requests/GetOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.mjs → commerce/resources/orders/client/requests/ListOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/orders}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/orders}/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/GetCartRequest.mjs → commerce/resources/orders/types/GetOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ListShippingOptionsCartRequest.mjs → commerce/resources/orders/types/ListOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/RefreshCartPaymentRequest.mjs → catalog/client/requests/GetProductCatalogRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/RemoveItemCartRequest.mjs → catalog/client/requests/ListCategoriesCatalogRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/SelectShippingRateRequest.mjs → catalog/client/requests/ListLocationsCatalogRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/ShippingAddressRequest.mjs → catalog/client/requests/ListPickupSlotsCatalogRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/UpdateCartItemRequest.mjs → catalog/client/requests/ListProductsCatalogRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{shop → catalog}/index.d.mts +0 -0
- /package/dist/esm/api/resources/customer/resources/{shop → catalog}/index.mjs +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/AddItemCartResponse.mjs → catalog/types/GetProductCatalogResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/CheckoutCartResponse.mjs → catalog/types/ListCategoriesCatalogResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/GetCartResponse.mjs → catalog/types/ListLocationsCatalogResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/ListShippingOptionsCartResponse.mjs → catalog/types/ListProductsCatalogResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/RemoveItemCartResponse.mjs → me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/SelectShippingOptionCartResponse.mjs → stands/client/requests/NoticeStandsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/SetFulfillmentCartResponse.mjs → stands/types/NoticeStandsResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/cart/types/SetShippingAddressCartResponse.mjs → types/Allergen.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/cart/types/UpdateItemCartResponse.mjs → types/BusinessCommerceRefund.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.mjs → types/BusinessCommerceStockLevel.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/shop/client/requests/GetProductShopRequest.mjs → types/CatalogPickupSlots.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.mjs → types/Image.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/shop/client/requests/ListProductsShopRequest.mjs → types/ProductCategoryResource.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/shop/types/GetProductShopResponse.mjs → types/StandNotice.mjs} +0 -0
|
@@ -2,8 +2,8 @@ export interface BusinessMenuItemVariation {
|
|
|
2
2
|
id: string;
|
|
3
3
|
menu_item_id: string;
|
|
4
4
|
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
price:
|
|
7
|
-
is_default:
|
|
8
|
-
sort_order:
|
|
5
|
+
description: string | null;
|
|
6
|
+
price: number | null;
|
|
7
|
+
is_default: boolean;
|
|
8
|
+
sort_order: number;
|
|
9
9
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export interface BusinessStripeConnection {
|
|
2
|
-
id:
|
|
2
|
+
id: number;
|
|
3
3
|
stripe_account_id: string;
|
|
4
|
-
charges_enabled:
|
|
5
|
-
payouts_enabled:
|
|
6
|
-
details_submitted:
|
|
7
|
-
is_ready:
|
|
8
|
-
is_active:
|
|
9
|
-
requirements:
|
|
10
|
-
capabilities:
|
|
11
|
-
country: string;
|
|
12
|
-
default_currency: string;
|
|
13
|
-
email: string;
|
|
14
|
-
deauthorized_at: string;
|
|
15
|
-
stripe_updated_at: string;
|
|
16
|
-
created_at: string;
|
|
17
|
-
updated_at: 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
18
|
}
|
|
@@ -13,8 +13,8 @@ export interface BusinessTemporaryLocation {
|
|
|
13
13
|
full_address: string;
|
|
14
14
|
starts_at: string;
|
|
15
15
|
ends_at: string;
|
|
16
|
-
created_at: string;
|
|
17
|
-
updated_at: string;
|
|
16
|
+
created_at: string | null;
|
|
17
|
+
updated_at: string | null;
|
|
18
18
|
}
|
|
19
19
|
export declare namespace BusinessTemporaryLocation {
|
|
20
20
|
namespace Hours {
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
export interface BuyerOrder {
|
|
2
|
+
id: string;
|
|
3
|
+
/** Per business from 1001, shown as "#1001". Null until the payment succeeds. */
|
|
4
|
+
number: number | null;
|
|
5
|
+
/** The reference to quote to support, such as "ORD-1A2B3C4D". */
|
|
6
|
+
reference: string;
|
|
7
|
+
/** `pending` (waiting on the payment), `open`, `completed`, `cancelled` or `no_show`. */
|
|
8
|
+
state: BuyerOrder.State;
|
|
9
|
+
/** `awaiting`, `not_required`, `paid`, `failed`, `partially_refunded`, `refunded` or `disputed`. */
|
|
10
|
+
payment_status: BuyerOrder.PaymentStatus;
|
|
11
|
+
/** `unfulfilled`, `ready`, `partially_fulfilled` or `fulfilled`. */
|
|
12
|
+
fulfillment_status: BuyerOrder.FulfillmentStatus;
|
|
13
|
+
/** `online` (pickup) or `in_person`. */
|
|
14
|
+
channel: BuyerOrder.Channel | null;
|
|
15
|
+
placed_at: string | null;
|
|
16
|
+
business: BuyerOrder.Business;
|
|
17
|
+
location: BuyerOrder.Location;
|
|
18
|
+
/** The pickup slot, in the store's own timezone. Null for an in-person order. */
|
|
19
|
+
pickup: BuyerOrder.Pickup | null;
|
|
20
|
+
buyer: BuyerOrder.Buyer;
|
|
21
|
+
customer_note: string | null;
|
|
22
|
+
lines: BuyerOrder.Lines.Item[];
|
|
23
|
+
subtotal_cents: number;
|
|
24
|
+
/** Sales tax on the items. */
|
|
25
|
+
tax_cents: number;
|
|
26
|
+
/** The service fee, and the tax on it. */
|
|
27
|
+
fee_cents: number;
|
|
28
|
+
fee_tax_cents: number;
|
|
29
|
+
total_cents: number;
|
|
30
|
+
/** Gone back to the card so far. */
|
|
31
|
+
refunded_cents: number;
|
|
32
|
+
currency: BuyerOrder.Currency;
|
|
33
|
+
payments: BuyerOrder.Payments.Item[];
|
|
34
|
+
}
|
|
35
|
+
export declare namespace BuyerOrder {
|
|
36
|
+
/** `pending` (waiting on the payment), `open`, `completed`, `cancelled` or `no_show`. */
|
|
37
|
+
const State: {
|
|
38
|
+
readonly Pending: "pending";
|
|
39
|
+
readonly Open: "open";
|
|
40
|
+
readonly Completed: "completed";
|
|
41
|
+
readonly Cancelled: "cancelled";
|
|
42
|
+
readonly NoShow: "no_show";
|
|
43
|
+
};
|
|
44
|
+
type State = (typeof State)[keyof typeof State];
|
|
45
|
+
/** `awaiting`, `not_required`, `paid`, `failed`, `partially_refunded`, `refunded` or `disputed`. */
|
|
46
|
+
const PaymentStatus: {
|
|
47
|
+
readonly Awaiting: "awaiting";
|
|
48
|
+
readonly NotRequired: "not_required";
|
|
49
|
+
readonly Paid: "paid";
|
|
50
|
+
readonly Failed: "failed";
|
|
51
|
+
readonly PartiallyRefunded: "partially_refunded";
|
|
52
|
+
readonly Refunded: "refunded";
|
|
53
|
+
readonly Disputed: "disputed";
|
|
54
|
+
};
|
|
55
|
+
type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
|
|
56
|
+
/** `unfulfilled`, `ready`, `partially_fulfilled` or `fulfilled`. */
|
|
57
|
+
const FulfillmentStatus: {
|
|
58
|
+
readonly Unfulfilled: "unfulfilled";
|
|
59
|
+
readonly Ready: "ready";
|
|
60
|
+
readonly PartiallyFulfilled: "partially_fulfilled";
|
|
61
|
+
readonly Fulfilled: "fulfilled";
|
|
62
|
+
};
|
|
63
|
+
type FulfillmentStatus = (typeof FulfillmentStatus)[keyof typeof FulfillmentStatus];
|
|
64
|
+
/** `online` (pickup) or `in_person`. */
|
|
65
|
+
const Channel: {
|
|
66
|
+
readonly Online: "online";
|
|
67
|
+
readonly InPerson: "in_person";
|
|
68
|
+
};
|
|
69
|
+
type Channel = (typeof Channel)[keyof typeof Channel];
|
|
70
|
+
interface Business {
|
|
71
|
+
id: string;
|
|
72
|
+
handle: string;
|
|
73
|
+
name: string;
|
|
74
|
+
}
|
|
75
|
+
interface Location {
|
|
76
|
+
name: string | null;
|
|
77
|
+
timezone: string;
|
|
78
|
+
address: Location.Address;
|
|
79
|
+
phone: string | null;
|
|
80
|
+
pickup_instructions: string | null;
|
|
81
|
+
}
|
|
82
|
+
namespace Location {
|
|
83
|
+
interface Address {
|
|
84
|
+
line1: string | null;
|
|
85
|
+
city: string | null;
|
|
86
|
+
state: string | null;
|
|
87
|
+
zipcode: string | null;
|
|
88
|
+
country: string | null;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* The pickup slot, in the store's own timezone. Null for an in-person order.
|
|
93
|
+
*/
|
|
94
|
+
interface Pickup {
|
|
95
|
+
starts_at: string;
|
|
96
|
+
local_date: string;
|
|
97
|
+
local_time: string;
|
|
98
|
+
}
|
|
99
|
+
interface Buyer {
|
|
100
|
+
email: string | null;
|
|
101
|
+
name: string | null;
|
|
102
|
+
phone: string | null;
|
|
103
|
+
}
|
|
104
|
+
type Lines = Lines.Item[];
|
|
105
|
+
namespace Lines {
|
|
106
|
+
interface Item {
|
|
107
|
+
id: string;
|
|
108
|
+
product_name: string | null;
|
|
109
|
+
variant_name: string | null;
|
|
110
|
+
image: Item.Image | null;
|
|
111
|
+
/** The unit's words, such as "2 dozen"; the same as `quantity` for items sold each. */
|
|
112
|
+
quantity_label: string;
|
|
113
|
+
unit_price_cents: number;
|
|
114
|
+
price_suffix: Item.PriceSuffix;
|
|
115
|
+
/** A decimal string without trailing zeros, such as "2" or "1.5". */
|
|
116
|
+
quantity: string;
|
|
117
|
+
/** How much of the line was handed over, and how much was cancelled. */
|
|
118
|
+
quantity_fulfilled: string;
|
|
119
|
+
quantity_cancelled: string;
|
|
120
|
+
total_cents: number;
|
|
121
|
+
tax_cents: number;
|
|
122
|
+
}
|
|
123
|
+
namespace Item {
|
|
124
|
+
interface Image {
|
|
125
|
+
url: string | null;
|
|
126
|
+
srcset: string | null;
|
|
127
|
+
alt_text: string;
|
|
128
|
+
}
|
|
129
|
+
type PriceSuffix = string | "each";
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
const Currency: {
|
|
133
|
+
readonly Usd: "USD";
|
|
134
|
+
};
|
|
135
|
+
type Currency = (typeof Currency)[keyof typeof Currency];
|
|
136
|
+
type Payments = Payments.Item[];
|
|
137
|
+
namespace Payments {
|
|
138
|
+
interface Item {
|
|
139
|
+
status: string;
|
|
140
|
+
amount_cents: number;
|
|
141
|
+
refunded_cents: number;
|
|
142
|
+
paid_at: string | null;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var BuyerOrder;
|
|
3
|
+
(function (BuyerOrder) {
|
|
4
|
+
/** `pending` (waiting on the payment), `open`, `completed`, `cancelled` or `no_show`. */
|
|
5
|
+
BuyerOrder.State = {
|
|
6
|
+
Pending: "pending",
|
|
7
|
+
Open: "open",
|
|
8
|
+
Completed: "completed",
|
|
9
|
+
Cancelled: "cancelled",
|
|
10
|
+
NoShow: "no_show",
|
|
11
|
+
};
|
|
12
|
+
/** `awaiting`, `not_required`, `paid`, `failed`, `partially_refunded`, `refunded` or `disputed`. */
|
|
13
|
+
BuyerOrder.PaymentStatus = {
|
|
14
|
+
Awaiting: "awaiting",
|
|
15
|
+
NotRequired: "not_required",
|
|
16
|
+
Paid: "paid",
|
|
17
|
+
Failed: "failed",
|
|
18
|
+
PartiallyRefunded: "partially_refunded",
|
|
19
|
+
Refunded: "refunded",
|
|
20
|
+
Disputed: "disputed",
|
|
21
|
+
};
|
|
22
|
+
/** `unfulfilled`, `ready`, `partially_fulfilled` or `fulfilled`. */
|
|
23
|
+
BuyerOrder.FulfillmentStatus = {
|
|
24
|
+
Unfulfilled: "unfulfilled",
|
|
25
|
+
Ready: "ready",
|
|
26
|
+
PartiallyFulfilled: "partially_fulfilled",
|
|
27
|
+
Fulfilled: "fulfilled",
|
|
28
|
+
};
|
|
29
|
+
/** `online` (pickup) or `in_person`. */
|
|
30
|
+
BuyerOrder.Channel = {
|
|
31
|
+
Online: "online",
|
|
32
|
+
InPerson: "in_person",
|
|
33
|
+
};
|
|
34
|
+
BuyerOrder.Currency = {
|
|
35
|
+
Usd: "USD",
|
|
36
|
+
};
|
|
37
|
+
})(BuyerOrder || (BuyerOrder = {}));
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
export interface Cart {
|
|
2
|
+
id: string;
|
|
3
|
+
/**
|
|
4
|
+
* The guest's secret for this cart: send it as `X-Cart-Token` on
|
|
5
|
+
* every cart request. Only in the answer to opening the cart.
|
|
6
|
+
*/
|
|
7
|
+
token?: string | undefined;
|
|
8
|
+
business: Cart.Business;
|
|
9
|
+
/** `online` (pickup) or `in_person` (at a stand). */
|
|
10
|
+
channel: Cart.Channel;
|
|
11
|
+
/** The store or stand chosen; null until an online cart's buyer chooses one. */
|
|
12
|
+
location: Cart.Location | null;
|
|
13
|
+
/** The pickup slot chosen, an online cart's only. */
|
|
14
|
+
pickup: Cart.Pickup | null;
|
|
15
|
+
buyer: Cart.Buyer;
|
|
16
|
+
customer_note: string | null;
|
|
17
|
+
lines: Cart.Lines.Item[];
|
|
18
|
+
line_count: number;
|
|
19
|
+
/** The lines' totals added up, before 51Eat's fee and tax. */
|
|
20
|
+
subtotal_cents: number;
|
|
21
|
+
currency: Cart.Currency;
|
|
22
|
+
/** True when a line can't be bought as the cart stands: not offered at the location, or no longer for sale. */
|
|
23
|
+
has_unavailable_lines: boolean;
|
|
24
|
+
updated_at: string | null;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace Cart {
|
|
27
|
+
interface Business {
|
|
28
|
+
id: string;
|
|
29
|
+
handle: string;
|
|
30
|
+
name: string;
|
|
31
|
+
}
|
|
32
|
+
/** `online` (pickup) or `in_person` (at a stand). */
|
|
33
|
+
const Channel: {
|
|
34
|
+
readonly Online: "online";
|
|
35
|
+
readonly InPerson: "in_person";
|
|
36
|
+
};
|
|
37
|
+
type Channel = (typeof Channel)[keyof typeof Channel];
|
|
38
|
+
/**
|
|
39
|
+
* The store or stand chosen; null until an online cart's buyer chooses one.
|
|
40
|
+
*/
|
|
41
|
+
interface Location {
|
|
42
|
+
id: string;
|
|
43
|
+
/** `store` or `stand`. */
|
|
44
|
+
kind: Location.Kind;
|
|
45
|
+
is_main: boolean;
|
|
46
|
+
name: string;
|
|
47
|
+
timezone: string;
|
|
48
|
+
address: Location.Address;
|
|
49
|
+
}
|
|
50
|
+
namespace Location {
|
|
51
|
+
/** `store` or `stand`. */
|
|
52
|
+
const Kind: {
|
|
53
|
+
readonly Store: "store";
|
|
54
|
+
readonly Stand: "stand";
|
|
55
|
+
};
|
|
56
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
57
|
+
interface Address {
|
|
58
|
+
line1: string | null;
|
|
59
|
+
city: string | null;
|
|
60
|
+
state: string | null;
|
|
61
|
+
zipcode: string | null;
|
|
62
|
+
country: string | null;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The pickup slot chosen, an online cart's only.
|
|
67
|
+
*/
|
|
68
|
+
interface Pickup {
|
|
69
|
+
starts_at: string;
|
|
70
|
+
local_date: string;
|
|
71
|
+
local_time: string;
|
|
72
|
+
}
|
|
73
|
+
interface Buyer {
|
|
74
|
+
email: string | null;
|
|
75
|
+
name: string | null;
|
|
76
|
+
phone: string | null;
|
|
77
|
+
}
|
|
78
|
+
type Lines = Lines.Item[];
|
|
79
|
+
namespace Lines {
|
|
80
|
+
interface Item {
|
|
81
|
+
id: string;
|
|
82
|
+
variant_id: string;
|
|
83
|
+
variant_name: string | null;
|
|
84
|
+
product: Item.Product;
|
|
85
|
+
/** The options chosen; empty at relaunch. */
|
|
86
|
+
options: Record<string, string>;
|
|
87
|
+
unit: Item.Unit;
|
|
88
|
+
/** A decimal string without trailing zeros, such as "2" or "1.5". */
|
|
89
|
+
quantity: string;
|
|
90
|
+
/** What the quantity goes up and down by, such as "1" or "0.5". */
|
|
91
|
+
quantity_step: string;
|
|
92
|
+
/** "3" for each, otherwise "2 dozen", "1 bunch". */
|
|
93
|
+
quantity_label: string;
|
|
94
|
+
unit_price_cents: number;
|
|
95
|
+
total_cents: number;
|
|
96
|
+
price_source: string;
|
|
97
|
+
/** Whether the product is offered at the cart's location, the cart's way; null before a location is chosen. */
|
|
98
|
+
offered_here: boolean | null;
|
|
99
|
+
/** False when the variant is archived or unpriced, or the product unpublished: remove the line. */
|
|
100
|
+
purchasable: boolean;
|
|
101
|
+
/** At the cart's location: `in_stock`, `sold_out` or `backorder`; null before a location is chosen. */
|
|
102
|
+
stock_status: Item.StockStatus | null;
|
|
103
|
+
}
|
|
104
|
+
namespace Item {
|
|
105
|
+
interface Product {
|
|
106
|
+
id: string;
|
|
107
|
+
slug: string;
|
|
108
|
+
name: string;
|
|
109
|
+
image: Product.Image | null;
|
|
110
|
+
}
|
|
111
|
+
namespace Product {
|
|
112
|
+
interface Image {
|
|
113
|
+
url: string;
|
|
114
|
+
srcset: string;
|
|
115
|
+
alt_text: string | null;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
interface Unit {
|
|
119
|
+
key: string;
|
|
120
|
+
singular: string;
|
|
121
|
+
plural: string;
|
|
122
|
+
price_suffix: Unit.PriceSuffix;
|
|
123
|
+
}
|
|
124
|
+
namespace Unit {
|
|
125
|
+
type PriceSuffix = string | "each";
|
|
126
|
+
}
|
|
127
|
+
/** At the cart's location: `in_stock`, `sold_out` or `backorder`; null before a location is chosen. */
|
|
128
|
+
const StockStatus: {
|
|
129
|
+
readonly InStock: "in_stock";
|
|
130
|
+
readonly SoldOut: "sold_out";
|
|
131
|
+
readonly Backorder: "backorder";
|
|
132
|
+
};
|
|
133
|
+
type StockStatus = (typeof StockStatus)[keyof typeof StockStatus];
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
const Currency: {
|
|
137
|
+
readonly Usd: "USD";
|
|
138
|
+
};
|
|
139
|
+
type Currency = (typeof Currency)[keyof typeof Currency];
|
|
140
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var Cart;
|
|
3
|
+
(function (Cart) {
|
|
4
|
+
/** `online` (pickup) or `in_person` (at a stand). */
|
|
5
|
+
Cart.Channel = {
|
|
6
|
+
Online: "online",
|
|
7
|
+
InPerson: "in_person",
|
|
8
|
+
};
|
|
9
|
+
let Location;
|
|
10
|
+
(function (Location) {
|
|
11
|
+
/** `store` or `stand`. */
|
|
12
|
+
Location.Kind = {
|
|
13
|
+
Store: "store",
|
|
14
|
+
Stand: "stand",
|
|
15
|
+
};
|
|
16
|
+
})(Location = Cart.Location || (Cart.Location = {}));
|
|
17
|
+
let Lines;
|
|
18
|
+
(function (Lines) {
|
|
19
|
+
let Item;
|
|
20
|
+
(function (Item) {
|
|
21
|
+
/** At the cart's location: `in_stock`, `sold_out` or `backorder`; null before a location is chosen. */
|
|
22
|
+
Item.StockStatus = {
|
|
23
|
+
InStock: "in_stock",
|
|
24
|
+
SoldOut: "sold_out",
|
|
25
|
+
Backorder: "backorder",
|
|
26
|
+
};
|
|
27
|
+
})(Item = Lines.Item || (Lines.Item = {}));
|
|
28
|
+
})(Lines = Cart.Lines || (Cart.Lines = {}));
|
|
29
|
+
Cart.Currency = {
|
|
30
|
+
Usd: "USD",
|
|
31
|
+
};
|
|
32
|
+
})(Cart || (Cart = {}));
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export interface CartQuote {
|
|
2
|
+
cart_id: string;
|
|
3
|
+
location_id: string | null;
|
|
4
|
+
lines: unknown[];
|
|
5
|
+
subtotal_cents: number;
|
|
6
|
+
/** The service fee the buyer pays; 0 when the business pays it. */
|
|
7
|
+
fee_cents: number;
|
|
8
|
+
fee_tax_cents: number;
|
|
9
|
+
/** Sales tax on the items. */
|
|
10
|
+
tax_cents: number;
|
|
11
|
+
total_cents: number;
|
|
12
|
+
currency: CartQuote.Currency;
|
|
13
|
+
/** Why the cart can't be paid as it stands, or null when it can. */
|
|
14
|
+
blocker: CartQuote.Blocker | null;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace CartQuote {
|
|
17
|
+
const Currency: {
|
|
18
|
+
readonly Usd: "USD";
|
|
19
|
+
};
|
|
20
|
+
type Currency = (typeof Currency)[keyof typeof Currency];
|
|
21
|
+
/**
|
|
22
|
+
* Why the cart can't be paid as it stands, or null when it can.
|
|
23
|
+
*/
|
|
24
|
+
interface Blocker {
|
|
25
|
+
/** `empty`, `no_location`, `line_unavailable`, `tax_not_collected`, `seller_tax` or `below_minimum`. */
|
|
26
|
+
code: Blocker.Code;
|
|
27
|
+
message: string;
|
|
28
|
+
}
|
|
29
|
+
namespace Blocker {
|
|
30
|
+
/** `empty`, `no_location`, `line_unavailable`, `tax_not_collected`, `seller_tax` or `below_minimum`. */
|
|
31
|
+
const Code: {
|
|
32
|
+
readonly Empty: "empty";
|
|
33
|
+
readonly NoLocation: "no_location";
|
|
34
|
+
readonly LineUnavailable: "line_unavailable";
|
|
35
|
+
readonly TaxNotCollected: "tax_not_collected";
|
|
36
|
+
readonly SellerTax: "seller_tax";
|
|
37
|
+
readonly BelowMinimum: "below_minimum";
|
|
38
|
+
};
|
|
39
|
+
type Code = (typeof Code)[keyof typeof Code];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var CartQuote;
|
|
3
|
+
(function (CartQuote) {
|
|
4
|
+
CartQuote.Currency = {
|
|
5
|
+
Usd: "USD",
|
|
6
|
+
};
|
|
7
|
+
let Blocker;
|
|
8
|
+
(function (Blocker) {
|
|
9
|
+
/** `empty`, `no_location`, `line_unavailable`, `tax_not_collected`, `seller_tax` or `below_minimum`. */
|
|
10
|
+
Blocker.Code = {
|
|
11
|
+
Empty: "empty",
|
|
12
|
+
NoLocation: "no_location",
|
|
13
|
+
LineUnavailable: "line_unavailable",
|
|
14
|
+
TaxNotCollected: "tax_not_collected",
|
|
15
|
+
SellerTax: "seller_tax",
|
|
16
|
+
BelowMinimum: "below_minimum",
|
|
17
|
+
};
|
|
18
|
+
})(Blocker = CartQuote.Blocker || (CartQuote.Blocker = {}));
|
|
19
|
+
})(CartQuote || (CartQuote = {}));
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export interface CatalogLocation {
|
|
2
|
+
id: string;
|
|
3
|
+
kind: CatalogLocation.Kind;
|
|
4
|
+
/** True for the business's main store only. */
|
|
5
|
+
is_main: boolean;
|
|
6
|
+
/** A stand's slug, for stand pages; null for a store. */
|
|
7
|
+
slug: string | null;
|
|
8
|
+
name: string;
|
|
9
|
+
business: CatalogLocation.Business;
|
|
10
|
+
address: CatalogLocation.Address;
|
|
11
|
+
latitude: number | null;
|
|
12
|
+
longitude: number | null;
|
|
13
|
+
phone: string | null;
|
|
14
|
+
timezone: string;
|
|
15
|
+
/** Open 24 hours, unless an exception closes it. */
|
|
16
|
+
always_open: boolean;
|
|
17
|
+
/** Null for a stand, and for a store with no hours entered yet. */
|
|
18
|
+
opening_hours: CatalogLocation.OpeningHours | null;
|
|
19
|
+
offers: CatalogLocation.Offers;
|
|
20
|
+
/** Null when the location doesn't offer pickup. */
|
|
21
|
+
pickup: CatalogLocation.Pickup | null;
|
|
22
|
+
updated_at: string | null;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace CatalogLocation {
|
|
25
|
+
const Kind: {
|
|
26
|
+
readonly Store: "store";
|
|
27
|
+
readonly Stand: "stand";
|
|
28
|
+
};
|
|
29
|
+
type Kind = (typeof Kind)[keyof typeof Kind];
|
|
30
|
+
interface Business {
|
|
31
|
+
id: string;
|
|
32
|
+
handle: string;
|
|
33
|
+
name: string;
|
|
34
|
+
}
|
|
35
|
+
interface Address {
|
|
36
|
+
line1: string | null;
|
|
37
|
+
city: string | null;
|
|
38
|
+
state: string | null;
|
|
39
|
+
zipcode: string | null;
|
|
40
|
+
country: string | null;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Null for a stand, and for a store with no hours entered yet.
|
|
44
|
+
*/
|
|
45
|
+
interface OpeningHours {
|
|
46
|
+
schedule: OpeningHours.Schedule.Item[];
|
|
47
|
+
exceptions: OpeningHours.Exceptions.Item[];
|
|
48
|
+
}
|
|
49
|
+
namespace OpeningHours {
|
|
50
|
+
type Schedule = Schedule.Item[];
|
|
51
|
+
namespace Schedule {
|
|
52
|
+
interface Item {
|
|
53
|
+
day: string;
|
|
54
|
+
slots: Item.Slots.Item[];
|
|
55
|
+
}
|
|
56
|
+
namespace Item {
|
|
57
|
+
type Slots = Slots.Item[];
|
|
58
|
+
namespace Slots {
|
|
59
|
+
interface Item {
|
|
60
|
+
opens_at: string;
|
|
61
|
+
closes_at: string;
|
|
62
|
+
label: string | null;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
type Exceptions = Exceptions.Item[];
|
|
68
|
+
namespace Exceptions {
|
|
69
|
+
interface Item {
|
|
70
|
+
starts_on: string;
|
|
71
|
+
ends_on: string | null;
|
|
72
|
+
is_closed: boolean;
|
|
73
|
+
opens_at: string | null;
|
|
74
|
+
closes_at: string | null;
|
|
75
|
+
label: string | null;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
interface Offers {
|
|
80
|
+
pickup: boolean;
|
|
81
|
+
in_person: boolean;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Null when the location doesn't offer pickup.
|
|
85
|
+
*/
|
|
86
|
+
interface Pickup {
|
|
87
|
+
instructions: string | null;
|
|
88
|
+
preparation_minutes: number;
|
|
89
|
+
same_day_cutoff: string | null;
|
|
90
|
+
slot_minutes: number;
|
|
91
|
+
windows: Pickup.Windows.Item[];
|
|
92
|
+
exceptions: Pickup.Exceptions.Item[];
|
|
93
|
+
}
|
|
94
|
+
namespace Pickup {
|
|
95
|
+
type Windows = Windows.Item[];
|
|
96
|
+
namespace Windows {
|
|
97
|
+
interface Item {
|
|
98
|
+
day: string;
|
|
99
|
+
opens_at: string;
|
|
100
|
+
closes_at: string;
|
|
101
|
+
slot_capacity: number | null;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
type Exceptions = Exceptions.Item[];
|
|
105
|
+
namespace Exceptions {
|
|
106
|
+
interface Item {
|
|
107
|
+
starts_on: string;
|
|
108
|
+
ends_on: string | null;
|
|
109
|
+
is_closed: boolean;
|
|
110
|
+
opens_at: string | null;
|
|
111
|
+
closes_at: string | null;
|
|
112
|
+
label: string | null;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface CatalogPickupSlots {
|
|
2
|
+
location_id: string;
|
|
3
|
+
timezone: string;
|
|
4
|
+
/** `remaining` is how many places are left, or null when the slot takes any number. */
|
|
5
|
+
slots: CatalogPickupSlots.Slots.Item[];
|
|
6
|
+
}
|
|
7
|
+
export declare namespace CatalogPickupSlots {
|
|
8
|
+
type Slots = Slots.Item[];
|
|
9
|
+
namespace Slots {
|
|
10
|
+
interface Item {
|
|
11
|
+
starts_at: string;
|
|
12
|
+
local_date: string;
|
|
13
|
+
local_time: string;
|
|
14
|
+
is_full: boolean;
|
|
15
|
+
remaining: number | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|