@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
|
@@ -15,10 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Ad.js"), exports);
|
|
18
|
-
__exportStar(require("./AddCartItemRequest.js"), exports);
|
|
19
18
|
__exportStar(require("./Address.js"), exports);
|
|
20
19
|
__exportStar(require("./AddressCollection.js"), exports);
|
|
21
|
-
__exportStar(require("./
|
|
20
|
+
__exportStar(require("./Allergen.js"), exports);
|
|
22
21
|
__exportStar(require("./BardBlockquoteNode.js"), exports);
|
|
23
22
|
__exportStar(require("./BardBody.js"), exports);
|
|
24
23
|
__exportStar(require("./BardBulletListNode.js"), exports);
|
|
@@ -51,6 +50,11 @@ __exportStar(require("./BusinessBulletinCommentResponse.js"), exports);
|
|
|
51
50
|
__exportStar(require("./BusinessCategory.js"), exports);
|
|
52
51
|
__exportStar(require("./BusinessCertification.js"), exports);
|
|
53
52
|
__exportStar(require("./BusinessClaimRequest.js"), exports);
|
|
53
|
+
__exportStar(require("./BusinessCommerceLocation.js"), exports);
|
|
54
|
+
__exportStar(require("./BusinessCommerceOrder.js"), exports);
|
|
55
|
+
__exportStar(require("./BusinessCommerceOrderSummary.js"), exports);
|
|
56
|
+
__exportStar(require("./BusinessCommerceRefund.js"), exports);
|
|
57
|
+
__exportStar(require("./BusinessCommerceStockLevel.js"), exports);
|
|
54
58
|
__exportStar(require("./BusinessConversation.js"), exports);
|
|
55
59
|
__exportStar(require("./BusinessCuisine.js"), exports);
|
|
56
60
|
__exportStar(require("./BusinessEvent.js"), exports);
|
|
@@ -88,8 +92,12 @@ __exportStar(require("./BusinessStripeConnection.js"), exports);
|
|
|
88
92
|
__exportStar(require("./BusinessSummary.js"), exports);
|
|
89
93
|
__exportStar(require("./BusinessTemporaryLocation.js"), exports);
|
|
90
94
|
__exportStar(require("./BusinessToken.js"), exports);
|
|
91
|
-
__exportStar(require("./
|
|
92
|
-
__exportStar(require("./
|
|
95
|
+
__exportStar(require("./BuyerOrder.js"), exports);
|
|
96
|
+
__exportStar(require("./Cart.js"), exports);
|
|
97
|
+
__exportStar(require("./CartQuote.js"), exports);
|
|
98
|
+
__exportStar(require("./CatalogLocation.js"), exports);
|
|
99
|
+
__exportStar(require("./CatalogPickupSlots.js"), exports);
|
|
100
|
+
__exportStar(require("./CatalogProduct.js"), exports);
|
|
93
101
|
__exportStar(require("./ClaimableBusiness.js"), exports);
|
|
94
102
|
__exportStar(require("./ConflictErrorBody.js"), exports);
|
|
95
103
|
__exportStar(require("./Conversation.js"), exports);
|
|
@@ -140,9 +148,8 @@ __exportStar(require("./ExploreTemporaryLocation.js"), exports);
|
|
|
140
148
|
__exportStar(require("./FavoriteFacets.js"), exports);
|
|
141
149
|
__exportStar(require("./FavoriteResponse.js"), exports);
|
|
142
150
|
__exportStar(require("./ForbiddenErrorBody.js"), exports);
|
|
143
|
-
__exportStar(require("./
|
|
151
|
+
__exportStar(require("./Image.js"), exports);
|
|
144
152
|
__exportStar(require("./InternalServerErrorBody.js"), exports);
|
|
145
|
-
__exportStar(require("./InventoryLevelResource.js"), exports);
|
|
146
153
|
__exportStar(require("./MenuItemSearchResult.js"), exports);
|
|
147
154
|
__exportStar(require("./Message.js"), exports);
|
|
148
155
|
__exportStar(require("./NearbyStand.js"), exports);
|
|
@@ -151,9 +158,8 @@ __exportStar(require("./OrderItemResource.js"), exports);
|
|
|
151
158
|
__exportStar(require("./OrderResource.js"), exports);
|
|
152
159
|
__exportStar(require("./PaginationResource.js"), exports);
|
|
153
160
|
__exportStar(require("./PaymentMethod.js"), exports);
|
|
154
|
-
__exportStar(require("./
|
|
155
|
-
__exportStar(require("./
|
|
156
|
-
__exportStar(require("./ProductResource.js"), exports);
|
|
161
|
+
__exportStar(require("./PayResult.js"), exports);
|
|
162
|
+
__exportStar(require("./ProductCategoryResource.js"), exports);
|
|
157
163
|
__exportStar(require("./ProductSearchResult.js"), exports);
|
|
158
164
|
__exportStar(require("./PublicBusinessList.js"), exports);
|
|
159
165
|
__exportStar(require("./RsvpEvent.js"), exports);
|
|
@@ -161,9 +167,8 @@ __exportStar(require("./RsvpItem.js"), exports);
|
|
|
161
167
|
__exportStar(require("./RsvpResponse.js"), exports);
|
|
162
168
|
__exportStar(require("./SearchResults.js"), exports);
|
|
163
169
|
__exportStar(require("./ShippingAccountResource.js"), exports);
|
|
164
|
-
__exportStar(require("./
|
|
170
|
+
__exportStar(require("./StandNotice.js"), exports);
|
|
165
171
|
__exportStar(require("./StoreAddressRequest.js"), exports);
|
|
166
|
-
__exportStar(require("./TaxCode.js"), exports);
|
|
167
172
|
__exportStar(require("./Ticket.js"), exports);
|
|
168
173
|
__exportStar(require("./TicketOrder.js"), exports);
|
|
169
174
|
__exportStar(require("./TicketOrderResponse.js"), exports);
|
|
@@ -171,4 +176,3 @@ __exportStar(require("./TicketResponse.js"), exports);
|
|
|
171
176
|
__exportStar(require("./Transaction.js"), exports);
|
|
172
177
|
__exportStar(require("./UnauthorizedErrorBody.js"), exports);
|
|
173
178
|
__exportStar(require("./UnprocessableEntityErrorBody.js"), exports);
|
|
174
|
-
__exportStar(require("./VariantResource.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0
|
|
1
|
+
export declare const SDK_VERSION = "2.0.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@51eat/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "0.0
|
|
10
|
-
"User-Agent": "@51eat/sdk/0.0
|
|
9
|
+
"X-Fern-SDK-Version": "2.0.0",
|
|
10
|
+
"User-Agent": "@51eat/sdk/2.0.0",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BusinessClient } from "./api/resources/business/client/Client.mjs";
|
|
2
|
+
import { CommerceClient } from "./api/resources/commerce/client/Client.mjs";
|
|
2
3
|
import { CustomerClient } from "./api/resources/customer/client/Client.mjs";
|
|
3
4
|
import { PublicListsClient } from "./api/resources/publicLists/client/Client.mjs";
|
|
4
5
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
|
|
@@ -14,10 +15,12 @@ export declare class FiveOneEatClient {
|
|
|
14
15
|
protected _customer: CustomerClient | undefined;
|
|
15
16
|
protected _publicLists: PublicListsClient | undefined;
|
|
16
17
|
protected _business: BusinessClient | undefined;
|
|
18
|
+
protected _commerce: CommerceClient | undefined;
|
|
17
19
|
constructor(options?: FiveOneEatClient.Options);
|
|
18
20
|
get customer(): CustomerClient;
|
|
19
21
|
get publicLists(): PublicListsClient;
|
|
20
22
|
get business(): BusinessClient;
|
|
23
|
+
get commerce(): CommerceClient;
|
|
21
24
|
/**
|
|
22
25
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
23
26
|
* This is useful for making requests to endpoints not yet supported in the SDK.
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
import { BusinessClient } from "./api/resources/business/client/Client.mjs";
|
|
12
|
+
import { CommerceClient } from "./api/resources/commerce/client/Client.mjs";
|
|
12
13
|
import { CustomerClient } from "./api/resources/customer/client/Client.mjs";
|
|
13
14
|
import { PublicListsClient } from "./api/resources/publicLists/client/Client.mjs";
|
|
14
15
|
import { normalizeClientOptionsWithAuth } from "./BaseClient.mjs";
|
|
@@ -29,6 +30,10 @@ export class FiveOneEatClient {
|
|
|
29
30
|
var _a;
|
|
30
31
|
return ((_a = this._business) !== null && _a !== void 0 ? _a : (this._business = new BusinessClient(this._options)));
|
|
31
32
|
}
|
|
33
|
+
get commerce() {
|
|
34
|
+
var _a;
|
|
35
|
+
return ((_a = this._commerce) !== null && _a !== void 0 ? _a : (this._commerce = new CommerceClient(this._options)));
|
|
36
|
+
}
|
|
32
37
|
/**
|
|
33
38
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
34
39
|
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
@@ -7,22 +7,20 @@ import { BusinessesClient } from "../resources/businesses/client/Client.mjs";
|
|
|
7
7
|
import { CategoriesClient } from "../resources/categories/client/Client.mjs";
|
|
8
8
|
import { CertificationsClient } from "../resources/certifications/client/Client.mjs";
|
|
9
9
|
import { ClaimsClient } from "../resources/claims/client/Client.mjs";
|
|
10
|
+
import { CommerceClient } from "../resources/commerce/client/Client.mjs";
|
|
10
11
|
import { CuisinesClient } from "../resources/cuisines/client/Client.mjs";
|
|
11
12
|
import { EventsClient } from "../resources/events/client/Client.mjs";
|
|
12
13
|
import { GalleryClient } from "../resources/gallery/client/Client.mjs";
|
|
13
14
|
import { HoursClient } from "../resources/hours/client/Client.mjs";
|
|
14
15
|
import { MenusClient } from "../resources/menus/client/Client.mjs";
|
|
15
16
|
import { MessagingClient } from "../resources/messaging/client/Client.mjs";
|
|
16
|
-
import { PriceListsClient } from "../resources/priceLists/client/Client.mjs";
|
|
17
17
|
import { ProductCategoriesClient } from "../resources/productCategories/client/Client.mjs";
|
|
18
18
|
import { ProductOrdersClient } from "../resources/productOrders/client/Client.mjs";
|
|
19
|
-
import { ProductsClient } from "../resources/products/client/Client.mjs";
|
|
20
19
|
import { ProfileClient } from "../resources/profile/client/Client.mjs";
|
|
21
20
|
import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.mjs";
|
|
22
21
|
import { ShippingClient } from "../resources/shipping/client/Client.mjs";
|
|
23
22
|
import { StandsClient } from "../resources/stands/client/Client.mjs";
|
|
24
23
|
import { StripeConnectClient } from "../resources/stripeConnect/client/Client.mjs";
|
|
25
|
-
import { TaxCodesClient } from "../resources/taxCodes/client/Client.mjs";
|
|
26
24
|
import { TemporaryLocationsClient } from "../resources/temporaryLocations/client/Client.mjs";
|
|
27
25
|
export declare namespace BusinessClient {
|
|
28
26
|
type Options = BaseClientOptions;
|
|
@@ -34,9 +32,6 @@ export declare class BusinessClient {
|
|
|
34
32
|
protected _businesses: BusinessesClient | undefined;
|
|
35
33
|
protected _claims: ClaimsClient | undefined;
|
|
36
34
|
protected _productOrders: ProductOrdersClient | undefined;
|
|
37
|
-
protected _priceLists: PriceListsClient | undefined;
|
|
38
|
-
protected _products: ProductsClient | undefined;
|
|
39
|
-
protected _taxCodes: TaxCodesClient | undefined;
|
|
40
35
|
protected _events: EventsClient | undefined;
|
|
41
36
|
protected _gallery: GalleryClient | undefined;
|
|
42
37
|
protected _hours: HoursClient | undefined;
|
|
@@ -52,6 +47,7 @@ export declare class BusinessClient {
|
|
|
52
47
|
protected _allergens: AllergensClient | undefined;
|
|
53
48
|
protected _temporaryLocations: TemporaryLocationsClient | undefined;
|
|
54
49
|
protected _productCategories: ProductCategoriesClient | undefined;
|
|
50
|
+
protected _commerce: CommerceClient | undefined;
|
|
55
51
|
protected _shipping: ShippingClient | undefined;
|
|
56
52
|
constructor(options?: BusinessClient.Options);
|
|
57
53
|
get auth(): AuthClient;
|
|
@@ -59,9 +55,6 @@ export declare class BusinessClient {
|
|
|
59
55
|
get businesses(): BusinessesClient;
|
|
60
56
|
get claims(): ClaimsClient;
|
|
61
57
|
get productOrders(): ProductOrdersClient;
|
|
62
|
-
get priceLists(): PriceListsClient;
|
|
63
|
-
get products(): ProductsClient;
|
|
64
|
-
get taxCodes(): TaxCodesClient;
|
|
65
58
|
get events(): EventsClient;
|
|
66
59
|
get gallery(): GalleryClient;
|
|
67
60
|
get hours(): HoursClient;
|
|
@@ -77,5 +70,6 @@ export declare class BusinessClient {
|
|
|
77
70
|
get allergens(): AllergensClient;
|
|
78
71
|
get temporaryLocations(): TemporaryLocationsClient;
|
|
79
72
|
get productCategories(): ProductCategoriesClient;
|
|
73
|
+
get commerce(): CommerceClient;
|
|
80
74
|
get shipping(): ShippingClient;
|
|
81
75
|
}
|
|
@@ -7,22 +7,20 @@ import { BusinessesClient } from "../resources/businesses/client/Client.mjs";
|
|
|
7
7
|
import { CategoriesClient } from "../resources/categories/client/Client.mjs";
|
|
8
8
|
import { CertificationsClient } from "../resources/certifications/client/Client.mjs";
|
|
9
9
|
import { ClaimsClient } from "../resources/claims/client/Client.mjs";
|
|
10
|
+
import { CommerceClient } from "../resources/commerce/client/Client.mjs";
|
|
10
11
|
import { CuisinesClient } from "../resources/cuisines/client/Client.mjs";
|
|
11
12
|
import { EventsClient } from "../resources/events/client/Client.mjs";
|
|
12
13
|
import { GalleryClient } from "../resources/gallery/client/Client.mjs";
|
|
13
14
|
import { HoursClient } from "../resources/hours/client/Client.mjs";
|
|
14
15
|
import { MenusClient } from "../resources/menus/client/Client.mjs";
|
|
15
16
|
import { MessagingClient } from "../resources/messaging/client/Client.mjs";
|
|
16
|
-
import { PriceListsClient } from "../resources/priceLists/client/Client.mjs";
|
|
17
17
|
import { ProductCategoriesClient } from "../resources/productCategories/client/Client.mjs";
|
|
18
18
|
import { ProductOrdersClient } from "../resources/productOrders/client/Client.mjs";
|
|
19
|
-
import { ProductsClient } from "../resources/products/client/Client.mjs";
|
|
20
19
|
import { ProfileClient } from "../resources/profile/client/Client.mjs";
|
|
21
20
|
import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.mjs";
|
|
22
21
|
import { ShippingClient } from "../resources/shipping/client/Client.mjs";
|
|
23
22
|
import { StandsClient } from "../resources/stands/client/Client.mjs";
|
|
24
23
|
import { StripeConnectClient } from "../resources/stripeConnect/client/Client.mjs";
|
|
25
|
-
import { TaxCodesClient } from "../resources/taxCodes/client/Client.mjs";
|
|
26
24
|
import { TemporaryLocationsClient } from "../resources/temporaryLocations/client/Client.mjs";
|
|
27
25
|
export class BusinessClient {
|
|
28
26
|
constructor(options = {}) {
|
|
@@ -48,18 +46,6 @@ export class BusinessClient {
|
|
|
48
46
|
var _a;
|
|
49
47
|
return ((_a = this._productOrders) !== null && _a !== void 0 ? _a : (this._productOrders = new ProductOrdersClient(this._options)));
|
|
50
48
|
}
|
|
51
|
-
get priceLists() {
|
|
52
|
-
var _a;
|
|
53
|
-
return ((_a = this._priceLists) !== null && _a !== void 0 ? _a : (this._priceLists = new PriceListsClient(this._options)));
|
|
54
|
-
}
|
|
55
|
-
get products() {
|
|
56
|
-
var _a;
|
|
57
|
-
return ((_a = this._products) !== null && _a !== void 0 ? _a : (this._products = new ProductsClient(this._options)));
|
|
58
|
-
}
|
|
59
|
-
get taxCodes() {
|
|
60
|
-
var _a;
|
|
61
|
-
return ((_a = this._taxCodes) !== null && _a !== void 0 ? _a : (this._taxCodes = new TaxCodesClient(this._options)));
|
|
62
|
-
}
|
|
63
49
|
get events() {
|
|
64
50
|
var _a;
|
|
65
51
|
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new EventsClient(this._options)));
|
|
@@ -120,6 +106,10 @@ export class BusinessClient {
|
|
|
120
106
|
var _a;
|
|
121
107
|
return ((_a = this._productCategories) !== null && _a !== void 0 ? _a : (this._productCategories = new ProductCategoriesClient(this._options)));
|
|
122
108
|
}
|
|
109
|
+
get commerce() {
|
|
110
|
+
var _a;
|
|
111
|
+
return ((_a = this._commerce) !== null && _a !== void 0 ? _a : (this._commerce = new CommerceClient(this._options)));
|
|
112
|
+
}
|
|
123
113
|
get shipping() {
|
|
124
114
|
var _a;
|
|
125
115
|
return ((_a = this._shipping) !== null && _a !== void 0 ? _a : (this._shipping = new ShippingClient(this._options)));
|
|
@@ -99,7 +99,6 @@ export declare class AuthClient {
|
|
|
99
99
|
/**
|
|
100
100
|
* Revoke the current API token and log out the business user.
|
|
101
101
|
*
|
|
102
|
-
* @param {FiveOneEat.business.LogoutAuthRequest} request
|
|
103
102
|
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
104
103
|
*
|
|
105
104
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
@@ -107,7 +106,7 @@ export declare class AuthClient {
|
|
|
107
106
|
* @example
|
|
108
107
|
* await client.business.auth.logout()
|
|
109
108
|
*/
|
|
110
|
-
logout(
|
|
109
|
+
logout(requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.LogoutAuthResponse>;
|
|
111
110
|
private __logout;
|
|
112
111
|
/**
|
|
113
112
|
* Revoke all API tokens for the authenticated business user.
|
|
@@ -305,7 +305,6 @@ export class AuthClient {
|
|
|
305
305
|
/**
|
|
306
306
|
* Revoke the current API token and log out the business user.
|
|
307
307
|
*
|
|
308
|
-
* @param {FiveOneEat.business.LogoutAuthRequest} request
|
|
309
308
|
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
310
309
|
*
|
|
311
310
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
@@ -313,11 +312,11 @@ export class AuthClient {
|
|
|
313
312
|
* @example
|
|
314
313
|
* await client.business.auth.logout()
|
|
315
314
|
*/
|
|
316
|
-
logout(
|
|
317
|
-
return core.HttpResponsePromise.fromPromise(this.__logout(
|
|
315
|
+
logout(requestOptions) {
|
|
316
|
+
return core.HttpResponsePromise.fromPromise(this.__logout(requestOptions));
|
|
318
317
|
}
|
|
319
|
-
__logout() {
|
|
320
|
-
return __awaiter(this,
|
|
318
|
+
__logout(requestOptions) {
|
|
319
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
321
320
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
322
321
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
323
322
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -325,10 +324,7 @@ export class AuthClient {
|
|
|
325
324
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, "business/logout"),
|
|
326
325
|
method: "POST",
|
|
327
326
|
headers: _headers,
|
|
328
|
-
contentType: "application/json",
|
|
329
327
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
330
|
-
requestType: "json",
|
|
331
|
-
body: request,
|
|
332
328
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
333
329
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
334
330
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export type { ForgotPasswordRequest } from "./ForgotPasswordRequest.mjs";
|
|
2
2
|
export type { LoginBusinessRequest } from "./LoginBusinessRequest.mjs";
|
|
3
|
-
export type { LogoutAuthRequest } from "./LogoutAuthRequest.mjs";
|
|
4
3
|
export type { RegisterBusinessRequest } from "./RegisterBusinessRequest.mjs";
|
|
5
4
|
export type { ResetPasswordRequest } from "./ResetPasswordRequest.mjs";
|
|
6
5
|
export type { SwitchBusinessAuthRequest } from "./SwitchBusinessAuthRequest.mjs";
|
|
@@ -29,6 +29,12 @@ export declare class BusinessesClient {
|
|
|
29
29
|
* Create a new business owned by the authenticated user. The newly created
|
|
30
30
|
* business is automatically set as the user's active business.
|
|
31
31
|
*
|
|
32
|
+
* When the business matches unclaimed listings already on 51Eat (same
|
|
33
|
+
* phone, website domain, or name within 2 km), nothing is created and the
|
|
34
|
+
* response is 409 with those listings in `existing_listings`: offer to
|
|
35
|
+
* claim one (`POST /claim-requests`), or send `create_anyway: true` to
|
|
36
|
+
* create it regardless.
|
|
37
|
+
*
|
|
32
38
|
* @param {FiveOneEat.business.StoreBusinessRequest} request
|
|
33
39
|
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
40
|
*
|
|
@@ -84,7 +90,9 @@ export declare class BusinessesClient {
|
|
|
84
90
|
update(request: FiveOneEat.business.UpdateBusinessRequest, requestOptions?: BusinessesClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.UpdateBusinessesResponse>;
|
|
85
91
|
private __update;
|
|
86
92
|
/**
|
|
87
|
-
* Delete a business owned by the authenticated user.
|
|
93
|
+
* Delete a business owned by the authenticated user. A business with
|
|
94
|
+
* market history (dues or market-day attendance), or one that has taken
|
|
95
|
+
* payments, can't be deleted (422).
|
|
88
96
|
*
|
|
89
97
|
* @param {FiveOneEat.business.DeleteBusinessesRequest} request
|
|
90
98
|
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -92,6 +100,7 @@ export declare class BusinessesClient {
|
|
|
92
100
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
93
101
|
* @throws {@link FiveOneEat.ForbiddenError}
|
|
94
102
|
* @throws {@link FiveOneEat.NotFoundError}
|
|
103
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
95
104
|
*
|
|
96
105
|
* @example
|
|
97
106
|
* await client.business.businesses.delete({
|
|
@@ -99,6 +99,12 @@ export class BusinessesClient {
|
|
|
99
99
|
* Create a new business owned by the authenticated user. The newly created
|
|
100
100
|
* business is automatically set as the user's active business.
|
|
101
101
|
*
|
|
102
|
+
* When the business matches unclaimed listings already on 51Eat (same
|
|
103
|
+
* phone, website domain, or name within 2 km), nothing is created and the
|
|
104
|
+
* response is 409 with those listings in `existing_listings`: offer to
|
|
105
|
+
* claim one (`POST /claim-requests`), or send `create_anyway: true` to
|
|
106
|
+
* create it regardless.
|
|
107
|
+
*
|
|
102
108
|
* @param {FiveOneEat.business.StoreBusinessRequest} request
|
|
103
109
|
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
104
110
|
*
|
|
@@ -287,7 +293,9 @@ export class BusinessesClient {
|
|
|
287
293
|
});
|
|
288
294
|
}
|
|
289
295
|
/**
|
|
290
|
-
* Delete a business owned by the authenticated user.
|
|
296
|
+
* Delete a business owned by the authenticated user. A business with
|
|
297
|
+
* market history (dues or market-day attendance), or one that has taken
|
|
298
|
+
* payments, can't be deleted (422).
|
|
291
299
|
*
|
|
292
300
|
* @param {FiveOneEat.business.DeleteBusinessesRequest} request
|
|
293
301
|
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -295,6 +303,7 @@ export class BusinessesClient {
|
|
|
295
303
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
296
304
|
* @throws {@link FiveOneEat.ForbiddenError}
|
|
297
305
|
* @throws {@link FiveOneEat.NotFoundError}
|
|
306
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
298
307
|
*
|
|
299
308
|
* @example
|
|
300
309
|
* await client.business.businesses.delete({
|
|
@@ -332,6 +341,8 @@ export class BusinessesClient {
|
|
|
332
341
|
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
333
342
|
case 404:
|
|
334
343
|
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
344
|
+
case 422:
|
|
345
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
335
346
|
default:
|
|
336
347
|
throw new errors.FiveOneEatError({
|
|
337
348
|
statusCode: _response.error.statusCode,
|
|
@@ -24,6 +24,7 @@ export interface StoreBusinessRequest {
|
|
|
24
24
|
has_location?: boolean;
|
|
25
25
|
seasonal?: boolean;
|
|
26
26
|
operating_months?: StoreBusinessRequest.OperatingMonths.Item[] | null;
|
|
27
|
+
create_anyway?: boolean;
|
|
27
28
|
}
|
|
28
29
|
export declare namespace StoreBusinessRequest {
|
|
29
30
|
type OperatingMonths = OperatingMonths.Item[];
|
|
@@ -36,6 +36,7 @@ export declare class ClaimsClient {
|
|
|
36
36
|
* @param {ClaimsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
38
38
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
39
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
39
40
|
* @throws {@link FiveOneEat.ConflictError}
|
|
40
41
|
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
41
42
|
*
|
|
@@ -52,6 +53,9 @@ export declare class ClaimsClient {
|
|
|
52
53
|
* @param {ClaimsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
54
|
*
|
|
54
55
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
56
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
57
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
58
|
+
* @throws {@link FiveOneEat.ConflictError}
|
|
55
59
|
*
|
|
56
60
|
* @example
|
|
57
61
|
* await client.business.claims.claimViaToken({
|
|
@@ -133,6 +133,7 @@ export class ClaimsClient {
|
|
|
133
133
|
* @param {ClaimsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
134
134
|
*
|
|
135
135
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
136
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
136
137
|
* @throws {@link FiveOneEat.ConflictError}
|
|
137
138
|
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
138
139
|
*
|
|
@@ -174,6 +175,8 @@ export class ClaimsClient {
|
|
|
174
175
|
switch (_response.error.statusCode) {
|
|
175
176
|
case 401:
|
|
176
177
|
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
178
|
+
case 403:
|
|
179
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
177
180
|
case 409:
|
|
178
181
|
throw new FiveOneEat.ConflictError(_response.error.body, _response.rawResponse);
|
|
179
182
|
case 422:
|
|
@@ -194,6 +197,9 @@ export class ClaimsClient {
|
|
|
194
197
|
* @param {ClaimsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
195
198
|
*
|
|
196
199
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
200
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
201
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
202
|
+
* @throws {@link FiveOneEat.ConflictError}
|
|
197
203
|
*
|
|
198
204
|
* @example
|
|
199
205
|
* await client.business.claims.claimViaToken({
|
|
@@ -230,6 +236,12 @@ export class ClaimsClient {
|
|
|
230
236
|
switch (_response.error.statusCode) {
|
|
231
237
|
case 401:
|
|
232
238
|
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
239
|
+
case 403:
|
|
240
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
241
|
+
case 404:
|
|
242
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
243
|
+
case 409:
|
|
244
|
+
throw new FiveOneEat.ConflictError(_response.error.body, _response.rawResponse);
|
|
233
245
|
default:
|
|
234
246
|
throw new errors.FiveOneEatError({
|
|
235
247
|
statusCode: _response.error.statusCode,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { BaseClientOptions } from "../../../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
3
|
+
import { LocationsClient } from "../resources/locations/client/Client.mjs";
|
|
4
|
+
import { OrdersClient } from "../resources/orders/client/Client.mjs";
|
|
5
|
+
import { StockClient } from "../resources/stock/client/Client.mjs";
|
|
6
|
+
export declare namespace CommerceClient {
|
|
7
|
+
type Options = BaseClientOptions;
|
|
8
|
+
}
|
|
9
|
+
export declare class CommerceClient {
|
|
10
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CommerceClient.Options>;
|
|
11
|
+
protected _locations: LocationsClient | undefined;
|
|
12
|
+
protected _orders: OrdersClient | undefined;
|
|
13
|
+
protected _stock: StockClient | undefined;
|
|
14
|
+
constructor(options?: CommerceClient.Options);
|
|
15
|
+
get locations(): LocationsClient;
|
|
16
|
+
get orders(): OrdersClient;
|
|
17
|
+
get stock(): StockClient;
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
3
|
+
import { LocationsClient } from "../resources/locations/client/Client.mjs";
|
|
4
|
+
import { OrdersClient } from "../resources/orders/client/Client.mjs";
|
|
5
|
+
import { StockClient } from "../resources/stock/client/Client.mjs";
|
|
6
|
+
export class CommerceClient {
|
|
7
|
+
constructor(options = {}) {
|
|
8
|
+
this._options = normalizeClientOptionsWithAuth(options);
|
|
9
|
+
}
|
|
10
|
+
get locations() {
|
|
11
|
+
var _a;
|
|
12
|
+
return ((_a = this._locations) !== null && _a !== void 0 ? _a : (this._locations = new LocationsClient(this._options)));
|
|
13
|
+
}
|
|
14
|
+
get orders() {
|
|
15
|
+
var _a;
|
|
16
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new OrdersClient(this._options)));
|
|
17
|
+
}
|
|
18
|
+
get stock() {
|
|
19
|
+
var _a;
|
|
20
|
+
return ((_a = this._stock) !== null && _a !== void 0 ? _a : (this._stock = new StockClient(this._options)));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * as locations from "./locations/index.mjs";
|
|
2
|
+
export * from "./locations/types/index.mjs";
|
|
3
|
+
export * from "./orders/client/requests/index.mjs";
|
|
4
|
+
export * as orders from "./orders/index.mjs";
|
|
5
|
+
export * from "./orders/types/index.mjs";
|
|
6
|
+
export * from "./stock/client/requests/index.mjs";
|
|
7
|
+
export * as stock from "./stock/index.mjs";
|
|
8
|
+
export * from "./stock/types/index.mjs";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * as locations from "./locations/index.mjs";
|
|
2
|
+
export * from "./locations/types/index.mjs";
|
|
3
|
+
export * from "./orders/client/requests/index.mjs";
|
|
4
|
+
export * as orders from "./orders/index.mjs";
|
|
5
|
+
export * from "./orders/types/index.mjs";
|
|
6
|
+
export * from "./stock/client/requests/index.mjs";
|
|
7
|
+
export * as stock from "./stock/index.mjs";
|
|
8
|
+
export * from "./stock/types/index.mjs";
|
package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.d.mts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../../../../../core/index.mjs";
|
|
4
|
+
import * as FiveOneEat from "../../../../../../../index.mjs";
|
|
5
|
+
export declare namespace LocationsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class LocationsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<LocationsClient.Options>;
|
|
12
|
+
constructor(options?: LocationsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Every store and stand of the business, main store first and then by
|
|
15
|
+
* name, including ones switched off, blocked by the plan or archived.
|
|
16
|
+
* For the order list's store filter and the stock screen.
|
|
17
|
+
*
|
|
18
|
+
* @param {LocationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
19
|
+
*
|
|
20
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
21
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* await client.business.commerce.locations.list()
|
|
25
|
+
*/
|
|
26
|
+
list(requestOptions?: LocationsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.commerce.ListLocationsResponse>;
|
|
27
|
+
private __list;
|
|
28
|
+
}
|