@51eat/sdk 1.0.0 → 2.1.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/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 +27 -0
- package/dist/cjs/api/resources/business/resources/commerce/client/Client.js +41 -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 +18 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/index.js +57 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/Client.d.ts +321 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/Client.js +1006 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/ArchiveLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/DeleteLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/FlyerLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/GetHoursLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/GetLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/GetPickupLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/OfferMainStoreProductsLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/PreviewPickupScheduleRequest.d.ts +52 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/SetLocationActiveRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/StoreLocationRequest.d.ts +68 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/StoreLocationRequest.js +38 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/UpdateLocationsRequest.d.ts +30 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/UpdateOpeningHoursRequest.d.ts +46 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/UpdatePickupScheduleRequest.d.ts +52 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/index.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/requests/index.js +5 -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/ArchiveLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/CreateLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/FlyerLocationsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/GetHoursLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/GetLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/GetPickupLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/ListLocationsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/OfferMainStoreProductsLocationsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/PreviewPickupAffectedOrdersLocationsResponse.d.ts +15 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/SetActiveLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/UpdateHoursLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/UpdateLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/UpdatePickupLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/index.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/index.js +29 -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/products/client/Client.d.ts +114 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/client/Client.js +401 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/client/requests/ListProductsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/client/requests/StoreProductRequest.d.ts +49 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/client/requests/StoreProductRequest.js +17 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/client/requests/UpdateProductRequest.d.ts +36 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/client/requests/UpdateProductRequest.js +17 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/types/CreateProductsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/types/GetProductsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/types/ListProductsResponse.d.ts +44 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/products/types/UpdateProductsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/client/Client.d.ts +104 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/client/Client.js +380 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/client/requests/AcceptSellerTermsRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/client/requests/RequestSellingApprovalRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/client/requests/UpdateSellingRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/types/AcceptSellerTermsSellingResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/types/GetSellerTermsSellingResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/types/GetSellingResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/types/RequestApprovalSellingResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/types/UpdateSellingResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/selling/types/index.js +21 -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/commerce/resources/variants/client/Client.d.ts +163 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/client/Client.js +537 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/client/requests/ArchiveVariantsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/client/requests/DeleteVariantsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/client/requests/GetVariantsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/client/requests/ListVariantsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/client/requests/SetVariantPriceRequest.d.ts +16 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/client/requests/StoreVariantRequest.d.ts +54 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/client/requests/UpdateVariantRequest.d.ts +46 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/client/requests/index.d.ts +7 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/types/ArchiveVariantsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/types/CreateVariantsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/types/GetVariantsResponse.d.ts +6 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/types/ListVariantsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/types/SetPriceVariantsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/types/UpdateVariantsResponse.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/variants/types/index.js +22 -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 +76 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/Client.js +261 -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/GetCurrentCartsResponse.js +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/OpenCartsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/OpenCartsResponse.js +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/UpdateCurrentCartsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/UpdateCurrentCartsResponse.js +3 -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/PayRequest.js +3 -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/QuoteCheckoutRequest.js +3 -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/SettlePaymentCheckoutRequest.js +3 -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/index.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/index.js +18 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/types/QuoteCheckoutResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/types/QuoteCheckoutResponse.js +3 -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/GetOrdersRequest.js +3 -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/ListOrdersRequest.js +3 -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/index.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/orders/index.js +18 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/GetOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/GetOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/ListOrdersResponse.d.ts +39 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/ListOrdersResponse.js +3 -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/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/index.js +17 -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/GetProductCatalogRequest.js +3 -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/ListCategoriesCatalogRequest.js +3 -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/ListLocationsCatalogRequest.js +3 -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/ListPickupSlotsCatalogRequest.js +3 -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/ListProductsCatalogRequest.js +3 -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/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/catalog/index.js +18 -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/GetProductCatalogResponse.js +3 -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/ListCategoriesCatalogResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListLocationsCatalogResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListLocationsCatalogResponse.js +3 -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/ListProductsCatalogResponse.js +3 -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/CustomerSessionPaymentMethodsResponse.js +3 -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/NoticeStandsRequest.js +3 -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/NoticeStandsResponse.js +3 -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/Allergen.js +3 -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 +56 -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/BusinessCommerceRefund.js +3 -0
- package/dist/cjs/api/types/BusinessCommerceStockLevel.d.ts +18 -0
- package/dist/cjs/api/types/BusinessCommerceStockLevel.js +3 -0
- package/dist/cjs/api/types/BusinessConversation.d.ts +1 -1
- package/dist/cjs/api/types/BusinessEvent.d.ts +18 -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/BusinessLocation.d.ts +29 -0
- package/dist/cjs/api/types/BusinessLocation.js +11 -0
- package/dist/cjs/api/types/BusinessLocationDetails.d.ts +36 -0
- package/dist/cjs/api/types/BusinessLocationDetails.js +11 -0
- package/dist/cjs/api/types/BusinessLocationHourException.d.ts +14 -0
- package/dist/cjs/api/types/BusinessLocationHourException.js +3 -0
- package/dist/cjs/api/types/BusinessLocationOpeningHours.d.ts +17 -0
- package/dist/cjs/api/types/BusinessLocationOpeningHours.js +3 -0
- package/dist/cjs/api/types/BusinessLocationPickup.d.ts +25 -0
- package/dist/cjs/api/types/BusinessLocationPickup.js +14 -0
- 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/BusinessOpeningHourSlot.d.ts +10 -0
- package/dist/cjs/api/types/BusinessOpeningHourSlot.js +3 -0
- package/dist/cjs/api/types/BusinessPickupSchedule.d.ts +10 -0
- package/dist/cjs/api/types/BusinessPickupSchedule.js +3 -0
- package/dist/cjs/api/types/BusinessPickupWindow.d.ts +11 -0
- package/dist/cjs/api/types/BusinessPickupWindow.js +3 -0
- package/dist/cjs/api/types/BusinessSellerTerms.d.ts +10 -0
- package/dist/cjs/api/types/BusinessSellerTerms.js +3 -0
- package/dist/cjs/api/types/BusinessSelling.d.ts +61 -0
- package/dist/cjs/api/types/BusinessSelling.js +16 -0
- 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/CatalogPickupSlots.js +3 -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 +7 -1
- package/dist/cjs/api/types/CustomerEventDetail.d.ts +6 -0
- package/dist/cjs/api/types/CustomerEventRsvp.d.ts +2 -2
- package/dist/cjs/api/types/CustomerEventTicketType.d.ts +9 -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/EventFeedItem.d.ts +6 -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/Image.js +3 -0
- package/dist/cjs/api/types/ImageResource.d.ts +7 -0
- package/dist/cjs/api/types/ImageResource.js +3 -0
- package/dist/cjs/api/types/LocationKind.d.ts +12 -0
- package/dist/cjs/api/types/LocationKind.js +15 -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/ProductCategoryResource.js +3 -0
- package/dist/cjs/api/types/ProductResource.d.ts +25 -5
- package/dist/cjs/api/types/ProductResource.js +15 -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/StandNotice.js +3 -0
- package/dist/cjs/api/types/Transaction.d.ts +2 -2
- package/dist/cjs/api/types/Unit.d.ts +16 -0
- package/dist/cjs/api/types/Unit.js +19 -0
- package/dist/cjs/api/types/UpdateLocationRequest.d.ts +7 -0
- package/dist/cjs/api/types/UpdateLocationRequest.js +3 -0
- package/dist/cjs/api/types/VariantInventoryLevelResource.d.ts +9 -0
- package/dist/cjs/api/types/VariantInventoryLevelResource.js +3 -0
- package/dist/cjs/api/types/VariantResource.d.ts +18 -6
- package/dist/cjs/api/types/VariantStockLocationResource.d.ts +15 -0
- package/dist/cjs/api/types/VariantStockLocationResource.js +11 -0
- package/dist/cjs/api/types/index.d.ts +32 -10
- package/dist/cjs/api/types/index.js +32 -10
- 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 +27 -0
- package/dist/esm/api/resources/business/resources/commerce/client/Client.mjs +37 -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 +18 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/index.mjs +18 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.d.mts +321 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.mjs +969 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/ArchiveLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/DeleteLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/FlyerLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/GetHoursLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/GetLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/GetPickupLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/OfferMainStoreProductsLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/PreviewPickupScheduleRequest.d.mts +52 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/SetLocationActiveRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/StoreLocationRequest.d.mts +68 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/StoreLocationRequest.mjs +35 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/UpdateLocationsRequest.d.mts +30 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/UpdateOpeningHoursRequest.d.mts +46 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/UpdatePickupScheduleRequest.d.mts +52 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/index.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/requests/index.mjs +1 -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/ArchiveLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/CreateLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/FlyerLocationsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/GetHoursLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/GetLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/GetPickupLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/ListLocationsResponse.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/OfferMainStoreProductsLocationsResponse.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/PreviewPickupAffectedOrdersLocationsResponse.d.mts +15 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/SetActiveLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/UpdateHoursLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/UpdateLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/UpdatePickupLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/index.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/index.mjs +13 -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/products/client/Client.d.mts +114 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/client/Client.mjs +364 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/client/requests/ListProductsRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/client/requests/StoreProductRequest.d.mts +49 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/client/requests/StoreProductRequest.mjs +14 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/client/requests/UpdateProductRequest.d.mts +36 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/client/requests/UpdateProductRequest.mjs +14 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/types/CreateProductsResponse.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/types/GetProductsResponse.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/types/ListProductsResponse.d.mts +44 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/products/types/UpdateProductsResponse.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/client/Client.d.mts +104 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/client/Client.mjs +343 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/client/requests/AcceptSellerTermsRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/client/requests/RequestSellingApprovalRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/client/requests/UpdateSellingRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/types/AcceptSellerTermsSellingResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/types/GetSellerTermsSellingResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/types/GetSellingResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/types/RequestApprovalSellingResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/types/UpdateSellingResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/types/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/selling/types/index.mjs +5 -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/commerce/resources/variants/client/Client.d.mts +163 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/client/Client.mjs +500 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/client/requests/ArchiveVariantsRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/client/requests/DeleteVariantsRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/client/requests/GetVariantsRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/client/requests/ListVariantsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/client/requests/SetVariantPriceRequest.d.mts +16 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/client/requests/StoreVariantRequest.d.mts +54 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/client/requests/UpdateVariantRequest.d.mts +46 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/client/requests/index.d.mts +7 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/types/ArchiveVariantsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/types/CreateVariantsResponse.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/types/GetVariantsResponse.d.mts +6 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/types/ListVariantsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/types/SetPriceVariantsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/types/UpdateVariantsResponse.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/types/index.d.mts +6 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/variants/types/index.mjs +6 -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 +76 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/Client.mjs +224 -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/GetCurrentCartsResponse.mjs +2 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/OpenCartsResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/OpenCartsResponse.mjs +2 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/UpdateCurrentCartsResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/UpdateCurrentCartsResponse.mjs +2 -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/PayRequest.mjs +2 -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/QuoteCheckoutRequest.mjs +2 -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/SettlePaymentCheckoutRequest.mjs +2 -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/index.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/checkout/index.mjs +2 -0
- package/dist/esm/api/resources/commerce/resources/checkout/types/QuoteCheckoutResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/checkout/types/QuoteCheckoutResponse.mjs +2 -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/GetOrdersRequest.mjs +2 -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/ListOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/requests/index.d.mts +2 -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/index.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/orders/index.mjs +2 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/GetOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/GetOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/ListOrdersResponse.d.mts +39 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/ListOrdersResponse.mjs +2 -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/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/index.mjs +1 -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/GetProductCatalogRequest.mjs +2 -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/ListCategoriesCatalogRequest.mjs +2 -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/ListLocationsCatalogRequest.mjs +2 -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/ListPickupSlotsCatalogRequest.mjs +2 -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/ListProductsCatalogRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/index.d.mts +5 -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/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/catalog/index.mjs +2 -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/GetProductCatalogResponse.mjs +2 -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/ListCategoriesCatalogResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListLocationsCatalogResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListLocationsCatalogResponse.mjs +2 -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/ListProductsCatalogResponse.mjs +2 -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/CustomerSessionPaymentMethodsResponse.mjs +2 -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/NoticeStandsRequest.mjs +2 -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/NoticeStandsResponse.mjs +2 -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/Allergen.mjs +2 -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 +56 -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/BusinessCommerceRefund.mjs +2 -0
- package/dist/esm/api/types/BusinessCommerceStockLevel.d.mts +18 -0
- package/dist/esm/api/types/BusinessCommerceStockLevel.mjs +2 -0
- package/dist/esm/api/types/BusinessConversation.d.mts +1 -1
- package/dist/esm/api/types/BusinessEvent.d.mts +18 -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/BusinessLocation.d.mts +29 -0
- package/dist/esm/api/types/BusinessLocation.mjs +8 -0
- package/dist/esm/api/types/BusinessLocationDetails.d.mts +36 -0
- package/dist/esm/api/types/BusinessLocationDetails.mjs +8 -0
- package/dist/esm/api/types/BusinessLocationHourException.d.mts +14 -0
- package/dist/esm/api/types/BusinessLocationHourException.mjs +2 -0
- package/dist/esm/api/types/BusinessLocationOpeningHours.d.mts +17 -0
- package/dist/esm/api/types/BusinessLocationOpeningHours.mjs +2 -0
- package/dist/esm/api/types/BusinessLocationPickup.d.mts +25 -0
- package/dist/esm/api/types/BusinessLocationPickup.mjs +11 -0
- 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/BusinessOpeningHourSlot.d.mts +10 -0
- package/dist/esm/api/types/BusinessOpeningHourSlot.mjs +2 -0
- package/dist/esm/api/types/BusinessPickupSchedule.d.mts +10 -0
- package/dist/esm/api/types/BusinessPickupSchedule.mjs +2 -0
- package/dist/esm/api/types/BusinessPickupWindow.d.mts +11 -0
- package/dist/esm/api/types/BusinessPickupWindow.mjs +2 -0
- package/dist/esm/api/types/BusinessSellerTerms.d.mts +10 -0
- package/dist/esm/api/types/BusinessSellerTerms.mjs +2 -0
- package/dist/esm/api/types/BusinessSelling.d.mts +61 -0
- package/dist/esm/api/types/BusinessSelling.mjs +13 -0
- 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/CatalogPickupSlots.mjs +2 -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 +7 -1
- package/dist/esm/api/types/CustomerEventDetail.d.mts +6 -0
- package/dist/esm/api/types/CustomerEventRsvp.d.mts +2 -2
- package/dist/esm/api/types/CustomerEventTicketType.d.mts +9 -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/EventFeedItem.d.mts +6 -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/Image.mjs +2 -0
- package/dist/esm/api/types/ImageResource.d.mts +7 -0
- package/dist/esm/api/types/ImageResource.mjs +2 -0
- package/dist/esm/api/types/LocationKind.d.mts +12 -0
- package/dist/esm/api/types/LocationKind.mjs +12 -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/ProductCategoryResource.mjs +2 -0
- package/dist/esm/api/types/ProductResource.d.mts +25 -5
- package/dist/esm/api/types/ProductResource.mjs +14 -1
- 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/StandNotice.mjs +2 -0
- package/dist/esm/api/types/Transaction.d.mts +2 -2
- package/dist/esm/api/types/Unit.d.mts +16 -0
- package/dist/esm/api/types/Unit.mjs +16 -0
- package/dist/esm/api/types/UpdateLocationRequest.d.mts +7 -0
- package/dist/esm/api/types/UpdateLocationRequest.mjs +2 -0
- package/dist/esm/api/types/VariantInventoryLevelResource.d.mts +9 -0
- package/dist/esm/api/types/VariantInventoryLevelResource.mjs +2 -0
- package/dist/esm/api/types/VariantResource.d.mts +18 -6
- package/dist/esm/api/types/VariantStockLocationResource.d.mts +15 -0
- package/dist/esm/api/types/VariantStockLocationResource.mjs +8 -0
- package/dist/esm/api/types/index.d.mts +32 -10
- package/dist/esm/api/types/index.mjs +32 -10
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +138 -116
- package/reference.md +3507 -1717
- 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/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/UpdateVariantRequest.d.ts +0 -33
- 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/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/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/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/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/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/ListProductsShopResponse.d.ts +0 -4
- 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/CheckoutStandsRequest.d.ts +0 -15
- 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/CreatePaymentIntentStandsRequest.d.ts +0 -10
- 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/ScanStandsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.ts +0 -4
- 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/ScanStandsResponse.d.ts +0 -4
- package/dist/cjs/api/types/AddCartItemRequest.d.ts +0 -9
- package/dist/cjs/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.d.ts +0 -23
- package/dist/cjs/api/types/CartResource.d.ts +0 -50
- package/dist/cjs/api/types/CheckoutRequest.d.ts +0 -5
- 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/PriceListResource.d.ts +0 -8
- package/dist/cjs/api/types/PriceResource.d.ts +0 -10
- package/dist/cjs/api/types/StandShop.d.ts +0 -24
- package/dist/cjs/api/types/TaxCode.d.ts +0 -21
- package/dist/cjs/api/types/TaxCode.js +0 -15
- 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/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/UpdateVariantRequest.d.mts +0 -33
- 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/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/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/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/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/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/ListProductsShopResponse.d.mts +0 -4
- 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/CheckoutStandsRequest.d.mts +0 -15
- 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/CreatePaymentIntentStandsRequest.d.mts +0 -10
- 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/ScanStandsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.mts +0 -4
- 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/ScanStandsResponse.d.mts +0 -4
- package/dist/esm/api/types/AddCartItemRequest.d.mts +0 -9
- package/dist/esm/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.d.mts +0 -23
- package/dist/esm/api/types/CartResource.d.mts +0 -50
- package/dist/esm/api/types/CheckoutRequest.d.mts +0 -5
- 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/PriceListResource.d.mts +0 -8
- package/dist/esm/api/types/PriceResource.d.mts +0 -10
- package/dist/esm/api/types/StandShop.d.mts +0 -24
- package/dist/esm/api/types/TaxCode.d.mts +0 -21
- package/dist/esm/api/types/TaxCode.mjs +0 -12
- /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/cjs/api/resources/business/resources/{priceLists → commerce/resources/locations}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/locations}/client/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{auth/client/requests/LogoutAuthRequest.js → commerce/resources/locations/client/requests/ArchiveLocationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests/DeletePriceListsRequest.js → commerce/resources/locations/client/requests/DeleteLocationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests/StorePriceListRequest.js → commerce/resources/locations/client/requests/FlyerLocationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/types/CreatePriceListsResponse.js → commerce/resources/locations/client/requests/GetHoursLocationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/types/ListPriceListsResponse.js → commerce/resources/locations/client/requests/GetLocationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/AddTrackingProductOrdersRequest.js → commerce/resources/locations/client/requests/GetPickupLocationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/PurchaseLabelProductOrdersRequest.js → commerce/resources/locations/client/requests/OfferMainStoreProductsLocationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/DeleteProductsRequest.js → commerce/resources/locations/client/requests/PreviewPickupScheduleRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/GetProductsRequest.js → commerce/resources/locations/client/requests/SetLocationActiveRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/StoreProductRequest.js → commerce/resources/locations/client/requests/UpdateLocationsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/UpdateProductRequest.js → commerce/resources/locations/client/requests/UpdateOpeningHoursRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/DeleteImagesRequest.js → commerce/resources/locations/client/requests/UpdatePickupScheduleRequest.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/{products/resources/images/client/requests/ReorderImagesRequest.js → commerce/resources/locations/types/ArchiveLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/UploadImagesRequest.js → commerce/resources/locations/types/CreateLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory/client/requests/SummaryInventoryRequest.js → commerce/resources/locations/types/FlyerLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory/types/SummaryInventoryResponse.js → commerce/resources/locations/types/GetHoursLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/client/requests/DeleteVariantsRequest.js → commerce/resources/locations/types/GetLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/DeleteImagesRequest.js → commerce/resources/locations/types/GetPickupLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/ReorderImagesRequest.js → commerce/resources/locations/types/ListLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/UploadImagesRequest.js → commerce/resources/locations/types/OfferMainStoreProductsLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.js → commerce/resources/locations/types/PreviewPickupAffectedOrdersLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.js → commerce/resources/locations/types/SetActiveLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.js → commerce/resources/locations/types/UpdateHoursLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/types/AdjustInventoryResponse.js → commerce/resources/locations/types/UpdateLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.js → commerce/resources/locations/types/UpdatePickupLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/orders}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/orders}/client/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/prices/client/requests/SetPriceRequest.js → commerce/resources/orders/client/requests/GetOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/prices/types/SetPricesResponse.js → commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/types/CreateVariantsResponse.js → commerce/resources/orders/client/requests/ListOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/types/UpdateVariantsResponse.js → commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/types/CreateProductsResponse.js → commerce/resources/orders/client/requests/MarkReadyOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/types/GetProductsResponse.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/types/ListProductsResponse.js → commerce/resources/orders/types/CancelOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/types/UpdateProductsResponse.js → commerce/resources/orders/types/GetOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{taxCodes/types/ListTaxCodesResponse.js → commerce/resources/orders/types/KeepPaymentOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/auth/client/requests/LogoutAuthRequest.js → business/resources/commerce/resources/orders/types/ListOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/AddItemCartRequest.js → business/resources/commerce/resources/orders/types/MarkNoShowOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/CheckoutCartRequest.js → business/resources/commerce/resources/orders/types/MarkPickedUpOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.js → business/resources/commerce/resources/orders/types/MarkReadyOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ClearCartRequest.js → business/resources/commerce/resources/orders/types/RefundOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images → commerce/resources/products}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images → commerce/resources/products}/client/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/products}/client/requests/DeleteProductsRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.js → business/resources/commerce/resources/products/client/requests/DeleteProductsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/products}/client/requests/GetProductsRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/GetCartRequest.js → business/resources/commerce/resources/products/client/requests/GetProductsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ListShippingOptionsCartRequest.js → business/resources/commerce/resources/products/client/requests/ListProductsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/products}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/products}/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/RefreshCartPaymentRequest.js → business/resources/commerce/resources/products/types/CreateProductsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/RemoveItemCartRequest.js → business/resources/commerce/resources/products/types/GetProductsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/SelectShippingRateRequest.js → business/resources/commerce/resources/products/types/ListProductsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ShippingAddressRequest.js → business/resources/commerce/resources/products/types/UpdateProductsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/products}/types/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/products}/types/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory → commerce/resources/selling}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory → commerce/resources/selling}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/UpdateCartItemRequest.js → business/resources/commerce/resources/selling/client/requests/AcceptSellerTermsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/types/AddItemCartResponse.js → business/resources/commerce/resources/selling/client/requests/RequestSellingApprovalRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/types/CheckoutCartResponse.js → business/resources/commerce/resources/selling/client/requests/UpdateSellingRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/selling}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/prices → commerce/resources/selling}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/prices → commerce/resources/selling}/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/types/GetCartResponse.js → business/resources/commerce/resources/selling/types/AcceptSellerTermsSellingResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/types/ListShippingOptionsCartResponse.js → business/resources/commerce/resources/selling/types/GetSellerTermsSellingResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/types/RemoveItemCartResponse.js → business/resources/commerce/resources/selling/types/GetSellingResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/types/SelectShippingOptionCartResponse.js → business/resources/commerce/resources/selling/types/RequestApprovalSellingResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/types/SetFulfillmentCartResponse.js → business/resources/commerce/resources/selling/types/UpdateSellingResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants → commerce/resources/stock}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants → commerce/resources/stock}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/types/SetShippingAddressCartResponse.js → business/resources/commerce/resources/stock/client/requests/AdjustLocationStockRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/types/UpdateItemCartResponse.js → business/resources/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/{taxCodes → commerce/resources/stock}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{taxCodes → commerce/resources/stock}/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.js → business/resources/commerce/resources/stock/types/AdjustStockResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/shop/client/requests/GetProductShopRequest.js → business/resources/commerce/resources/stock/types/ListStockResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images → commerce/resources/variants}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images → commerce/resources/variants}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/shop/client/requests/ListCategoriesShopRequest.js → business/resources/commerce/resources/variants/client/requests/ArchiveVariantsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/shop/client/requests/ListProductsShopRequest.js → business/resources/commerce/resources/variants/client/requests/DeleteVariantsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/shop/types/GetProductShopResponse.js → business/resources/commerce/resources/variants/client/requests/GetVariantsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/shop/types/ListCategoriesShopResponse.js → business/resources/commerce/resources/variants/client/requests/ListVariantsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/shop/types/ListProductsShopResponse.js → business/resources/commerce/resources/variants/client/requests/SetVariantPriceRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce}/resources/variants/client/requests/StoreVariantRequest.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce}/resources/variants/client/requests/UpdateVariantRequest.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce}/resources/variants/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart → business/resources/commerce/resources/variants}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart → business/resources/commerce/resources/variants}/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/client/requests/AddCartItemStandsRequest.js → business/resources/commerce/resources/variants/types/ArchiveVariantsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/client/requests/CheckoutStandsRequest.js → business/resources/commerce/resources/variants/types/CreateVariantsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/client/requests/ClearCartStandsRequest.js → business/resources/commerce/resources/variants/types/GetVariantsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.js → business/resources/commerce/resources/variants/types/ListVariantsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/client/requests/GetCartStandsRequest.js → business/resources/commerce/resources/variants/types/SetPriceVariantsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/client/requests/ScanStandsRequest.js → business/resources/commerce/resources/variants/types/UpdateVariantsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/types/AddCartItemStandsResponse.js → business/resources/productOrders/client/requests/PurchaseLabelRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/types/CheckoutStandsResponse.js → business/resources/productOrders/client/requests/StoreTrackingRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/types/GetCartStandsResponse.js → business/resources/stripeConnect/types/ConnectStripeConnectResponse.js} +0 -0
- /package/dist/{esm/api/resources/business/resources/priceLists/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/variants/resources/inventory → commerce/resources/carts}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory → commerce/resources/carts}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/types/ScanStandsResponse.js → commerce/resources/carts/client/requests/GetCurrentCartsRequest.js} +0 -0
- /package/dist/cjs/api/{types/AddCartItemRequest.js → resources/commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.js} +0 -0
- /package/dist/cjs/api/{types/AppHttpResourcesApiV1BusinessCommerceProductResource.js → resources/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/variants/resources/prices → commerce/resources/carts/resources/lines}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/client/index.js +0 -0
- /package/dist/cjs/api/{types/CartResource.js → resources/commerce/resources/carts/resources/lines/client/requests/CartLineRequest.js} +0 -0
- /package/dist/cjs/api/{types/CheckoutRequest.js → resources/commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.js} +0 -0
- /package/dist/cjs/api/{types/InventoryLevelResource.js → resources/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/{customer/resources/shop → commerce/resources/carts/resources/lines}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{customer/resources/shop → commerce/resources/carts/resources/lines}/index.js +0 -0
- /package/dist/cjs/api/{types/PriceListResource.js → resources/commerce/resources/carts/resources/lines/types/AddLinesResponse.js} +0 -0
- /package/dist/cjs/api/{types/PriceResource.js → resources/commerce/resources/carts/resources/lines/types/ChangeLinesResponse.js} +0 -0
- /package/dist/cjs/api/{types/StandShop.js → resources/commerce/resources/carts/resources/lines/types/RemoveLinesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart → commerce/resources/checkout}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart → commerce/resources/checkout}/client/index.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/{customer/resources/shop → commerce/resources/orders}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{customer/resources/shop → commerce/resources/orders}/client/index.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/{business/resources/taxCodes/client → customer/resources/catalog/client/requests}/index.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/client/requests → commerce/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/locations}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/locations}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{auth/client/requests/LogoutAuthRequest.mjs → commerce/resources/locations/client/requests/ArchiveLocationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/client/requests/DeletePriceListsRequest.mjs → commerce/resources/locations/client/requests/DeleteLocationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/client/requests/StorePriceListRequest.mjs → commerce/resources/locations/client/requests/FlyerLocationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/types/CreatePriceListsResponse.mjs → commerce/resources/locations/client/requests/GetHoursLocationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/types/ListPriceListsResponse.mjs → commerce/resources/locations/client/requests/GetLocationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/AddTrackingProductOrdersRequest.mjs → commerce/resources/locations/client/requests/GetPickupLocationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/PurchaseLabelProductOrdersRequest.mjs → commerce/resources/locations/client/requests/OfferMainStoreProductsLocationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/DeleteProductsRequest.mjs → commerce/resources/locations/client/requests/PreviewPickupScheduleRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/GetProductsRequest.mjs → commerce/resources/locations/client/requests/SetLocationActiveRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/StoreProductRequest.mjs → commerce/resources/locations/client/requests/UpdateLocationsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/UpdateProductRequest.mjs → commerce/resources/locations/client/requests/UpdateOpeningHoursRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/DeleteImagesRequest.mjs → commerce/resources/locations/client/requests/UpdatePickupScheduleRequest.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/{products/resources/images/client/requests/ReorderImagesRequest.mjs → commerce/resources/locations/types/ArchiveLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/UploadImagesRequest.mjs → commerce/resources/locations/types/CreateLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory/client/requests/SummaryInventoryRequest.mjs → commerce/resources/locations/types/FlyerLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory/types/SummaryInventoryResponse.mjs → commerce/resources/locations/types/GetHoursLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/client/requests/DeleteVariantsRequest.mjs → commerce/resources/locations/types/GetLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/DeleteImagesRequest.mjs → commerce/resources/locations/types/GetPickupLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/ReorderImagesRequest.mjs → commerce/resources/locations/types/ListLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/UploadImagesRequest.mjs → commerce/resources/locations/types/OfferMainStoreProductsLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.mjs → commerce/resources/locations/types/PreviewPickupAffectedOrdersLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.mjs → commerce/resources/locations/types/SetActiveLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.mjs → commerce/resources/locations/types/UpdateHoursLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/types/AdjustInventoryResponse.mjs → commerce/resources/locations/types/UpdateLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.mjs → commerce/resources/locations/types/UpdatePickupLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce/resources/orders}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce/resources/orders}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/prices/client/requests/SetPriceRequest.mjs → commerce/resources/orders/client/requests/GetOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/prices/types/SetPricesResponse.mjs → commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/types/CreateVariantsResponse.mjs → commerce/resources/orders/client/requests/ListOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/types/UpdateVariantsResponse.mjs → commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/types/CreateProductsResponse.mjs → commerce/resources/orders/client/requests/MarkReadyOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/types/GetProductsResponse.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/types/ListProductsResponse.mjs → commerce/resources/orders/types/CancelOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/types/UpdateProductsResponse.mjs → commerce/resources/orders/types/GetOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{taxCodes/types/ListTaxCodesResponse.mjs → commerce/resources/orders/types/KeepPaymentOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/auth/client/requests/LogoutAuthRequest.mjs → business/resources/commerce/resources/orders/types/ListOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/AddItemCartRequest.mjs → business/resources/commerce/resources/orders/types/MarkNoShowOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/CheckoutCartRequest.mjs → business/resources/commerce/resources/orders/types/MarkPickedUpOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.mjs → business/resources/commerce/resources/orders/types/MarkReadyOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ClearCartRequest.mjs → business/resources/commerce/resources/orders/types/RefundOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images → commerce/resources/products}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images → commerce/resources/products}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce/resources/products}/client/requests/DeleteProductsRequest.d.mts +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.mjs → business/resources/commerce/resources/products/client/requests/DeleteProductsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce/resources/products}/client/requests/GetProductsRequest.d.mts +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/GetCartRequest.mjs → business/resources/commerce/resources/products/client/requests/GetProductsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ListShippingOptionsCartRequest.mjs → business/resources/commerce/resources/products/client/requests/ListProductsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/products}/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/products}/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/RefreshCartPaymentRequest.mjs → business/resources/commerce/resources/products/types/CreateProductsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/RemoveItemCartRequest.mjs → business/resources/commerce/resources/products/types/GetProductsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/SelectShippingRateRequest.mjs → business/resources/commerce/resources/products/types/ListProductsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ShippingAddressRequest.mjs → business/resources/commerce/resources/products/types/UpdateProductsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce/resources/products}/types/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce/resources/products}/types/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory → commerce/resources/selling}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory → commerce/resources/selling}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/UpdateCartItemRequest.mjs → business/resources/commerce/resources/selling/client/requests/AcceptSellerTermsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/types/AddItemCartResponse.mjs → business/resources/commerce/resources/selling/client/requests/RequestSellingApprovalRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/types/CheckoutCartResponse.mjs → business/resources/commerce/resources/selling/client/requests/UpdateSellingRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images → commerce/resources/selling}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/prices → commerce/resources/selling}/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/prices → commerce/resources/selling}/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/types/GetCartResponse.mjs → business/resources/commerce/resources/selling/types/AcceptSellerTermsSellingResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/types/ListShippingOptionsCartResponse.mjs → business/resources/commerce/resources/selling/types/GetSellerTermsSellingResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/types/RemoveItemCartResponse.mjs → business/resources/commerce/resources/selling/types/GetSellingResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/types/SelectShippingOptionCartResponse.mjs → business/resources/commerce/resources/selling/types/RequestApprovalSellingResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/types/SetFulfillmentCartResponse.mjs → business/resources/commerce/resources/selling/types/UpdateSellingResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants → commerce/resources/stock}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants → commerce/resources/stock}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/types/SetShippingAddressCartResponse.mjs → business/resources/commerce/resources/stock/client/requests/AdjustLocationStockRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/types/UpdateItemCartResponse.mjs → business/resources/commerce/resources/stock/client/requests/ListStockRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory → commerce/resources/stock}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{taxCodes → commerce/resources/stock}/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{taxCodes → commerce/resources/stock}/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.mjs → business/resources/commerce/resources/stock/types/AdjustStockResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop/client/requests/GetProductShopRequest.mjs → business/resources/commerce/resources/stock/types/ListStockResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images → commerce/resources/variants}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images → commerce/resources/variants}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop/client/requests/ListCategoriesShopRequest.mjs → business/resources/commerce/resources/variants/client/requests/ArchiveVariantsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop/client/requests/ListProductsShopRequest.mjs → business/resources/commerce/resources/variants/client/requests/DeleteVariantsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop/types/GetProductShopResponse.mjs → business/resources/commerce/resources/variants/client/requests/GetVariantsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop/types/ListCategoriesShopResponse.mjs → business/resources/commerce/resources/variants/client/requests/ListVariantsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop/types/ListProductsShopResponse.mjs → business/resources/commerce/resources/variants/client/requests/SetVariantPriceRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce}/resources/variants/client/requests/StoreVariantRequest.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce}/resources/variants/client/requests/UpdateVariantRequest.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce}/resources/variants/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → business/resources/commerce/resources/variants}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → business/resources/commerce/resources/variants}/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/client/requests/AddCartItemStandsRequest.mjs → business/resources/commerce/resources/variants/types/ArchiveVariantsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/client/requests/CheckoutStandsRequest.mjs → business/resources/commerce/resources/variants/types/CreateVariantsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/client/requests/ClearCartStandsRequest.mjs → business/resources/commerce/resources/variants/types/GetVariantsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.mjs → business/resources/commerce/resources/variants/types/ListVariantsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/client/requests/GetCartStandsRequest.mjs → business/resources/commerce/resources/variants/types/SetPriceVariantsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/client/requests/ScanStandsRequest.mjs → business/resources/commerce/resources/variants/types/UpdateVariantsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/types/AddCartItemStandsResponse.mjs → business/resources/productOrders/client/requests/PurchaseLabelRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/types/CheckoutStandsResponse.mjs → business/resources/productOrders/client/requests/StoreTrackingRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/types/GetCartStandsResponse.mjs → business/resources/stripeConnect/types/ConnectStripeConnectResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/images/client/requests/index.mjs → commerce/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/client/requests → commerce/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory → commerce/resources/carts}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory → commerce/resources/carts}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/types/ScanStandsResponse.mjs → commerce/resources/carts/client/requests/GetCurrentCartsRequest.mjs} +0 -0
- /package/dist/esm/api/{types/AddCartItemRequest.mjs → resources/commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.mjs} +0 -0
- /package/dist/esm/api/{types/AppHttpResourcesApiV1BusinessCommerceProductResource.mjs → resources/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/variants/resources/prices → commerce/resources/carts/resources/lines}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/client/index.mjs +0 -0
- /package/dist/esm/api/{types/CartResource.mjs → resources/commerce/resources/carts/resources/lines/client/requests/CartLineRequest.mjs} +0 -0
- /package/dist/esm/api/{types/CheckoutRequest.mjs → resources/commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.mjs} +0 -0
- /package/dist/esm/api/{types/InventoryLevelResource.mjs → resources/commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop → commerce/resources/carts/resources/lines}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop → commerce/resources/carts/resources/lines}/index.mjs +0 -0
- /package/dist/esm/api/{types/PriceListResource.mjs → resources/commerce/resources/carts/resources/lines/types/AddLinesResponse.mjs} +0 -0
- /package/dist/esm/api/{types/PriceResource.mjs → resources/commerce/resources/carts/resources/lines/types/ChangeLinesResponse.mjs} +0 -0
- /package/dist/esm/api/{types/StandShop.mjs → resources/commerce/resources/carts/resources/lines/types/RemoveLinesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/checkout}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/checkout}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/taxCodes/client → commerce/resources/checkout/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop → commerce/resources/orders}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop → commerce/resources/orders}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/orders}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/customer/resources/{shop → catalog}/client/requests/index.mjs +0 -0
package/dist/cjs/api/resources/business/resources/commerce/resources/variants/client/Client.js
ADDED
|
@@ -0,0 +1,537 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
46
|
+
var t = {};
|
|
47
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
48
|
+
t[p] = s[p];
|
|
49
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
50
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
51
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
52
|
+
t[p[i]] = s[p[i]];
|
|
53
|
+
}
|
|
54
|
+
return t;
|
|
55
|
+
};
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
exports.VariantsClient = void 0;
|
|
58
|
+
const BaseClient_js_1 = require("../../../../../../../../BaseClient.js");
|
|
59
|
+
const headers_js_1 = require("../../../../../../../../core/headers.js");
|
|
60
|
+
const core = __importStar(require("../../../../../../../../core/index.js"));
|
|
61
|
+
const environments = __importStar(require("../../../../../../../../environments.js"));
|
|
62
|
+
const handleNonStatusCodeError_js_1 = require("../../../../../../../../errors/handleNonStatusCodeError.js");
|
|
63
|
+
const errors = __importStar(require("../../../../../../../../errors/index.js"));
|
|
64
|
+
const FiveOneEat = __importStar(require("../../../../../../../index.js"));
|
|
65
|
+
class VariantsClient {
|
|
66
|
+
constructor(options = {}) {
|
|
67
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Its unarchived options in their order, each with its stock at every
|
|
71
|
+
* location, as `GET /products/{product}` shows them.
|
|
72
|
+
*
|
|
73
|
+
* @param {FiveOneEat.business.commerce.ListVariantsRequest} request
|
|
74
|
+
* @param {VariantsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
77
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
78
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* await client.business.commerce.variants.list({
|
|
82
|
+
* product: "product"
|
|
83
|
+
* })
|
|
84
|
+
*/
|
|
85
|
+
list(request, requestOptions) {
|
|
86
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
87
|
+
}
|
|
88
|
+
__list(request, requestOptions) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
91
|
+
const { product } = request;
|
|
92
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
93
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
94
|
+
const _response = yield core.fetcher({
|
|
95
|
+
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/commerce/products/${core.url.encodePathParam(product)}/variants`),
|
|
96
|
+
method: "GET",
|
|
97
|
+
headers: _headers,
|
|
98
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
99
|
+
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,
|
|
100
|
+
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,
|
|
101
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
102
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
103
|
+
logging: this._options.logging,
|
|
104
|
+
});
|
|
105
|
+
if (_response.ok) {
|
|
106
|
+
return {
|
|
107
|
+
data: _response.body,
|
|
108
|
+
rawResponse: _response.rawResponse,
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
if (_response.error.reason === "status-code") {
|
|
112
|
+
switch (_response.error.statusCode) {
|
|
113
|
+
case 401:
|
|
114
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
115
|
+
case 403:
|
|
116
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
117
|
+
case 404:
|
|
118
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
119
|
+
default:
|
|
120
|
+
throw new errors.FiveOneEatError({
|
|
121
|
+
statusCode: _response.error.statusCode,
|
|
122
|
+
body: _response.error.body,
|
|
123
|
+
rawResponse: _response.rawResponse,
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/commerce/products/{product}/variants");
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Answers 201. It counts its stock unless `tracks_inventory` is false,
|
|
132
|
+
* starting from `starting_stock` at the locations that hold stock.
|
|
133
|
+
*
|
|
134
|
+
* @param {FiveOneEat.business.commerce.StoreVariantRequest} request
|
|
135
|
+
* @param {VariantsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
138
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
139
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
140
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* await client.business.commerce.variants.create({
|
|
144
|
+
* "Idempotency-Key": "Idempotency-Key",
|
|
145
|
+
* product: "product",
|
|
146
|
+
* name: "name",
|
|
147
|
+
* price: 1.1,
|
|
148
|
+
* unit: "each",
|
|
149
|
+
* quantity_step: 1
|
|
150
|
+
* })
|
|
151
|
+
*/
|
|
152
|
+
create(request, requestOptions) {
|
|
153
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
154
|
+
}
|
|
155
|
+
__create(request, requestOptions) {
|
|
156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
158
|
+
const { product, "Idempotency-Key": idempotencyKey } = request, _body = __rest(request, ["product", "Idempotency-Key"]);
|
|
159
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
160
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Idempotency-Key": idempotencyKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
161
|
+
const _response = yield core.fetcher({
|
|
162
|
+
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/commerce/products/${core.url.encodePathParam(product)}/variants`),
|
|
163
|
+
method: "POST",
|
|
164
|
+
headers: _headers,
|
|
165
|
+
contentType: "application/json",
|
|
166
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
167
|
+
requestType: "json",
|
|
168
|
+
body: _body,
|
|
169
|
+
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,
|
|
170
|
+
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,
|
|
171
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
172
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
173
|
+
logging: this._options.logging,
|
|
174
|
+
});
|
|
175
|
+
if (_response.ok) {
|
|
176
|
+
return {
|
|
177
|
+
data: _response.body,
|
|
178
|
+
rawResponse: _response.rawResponse,
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
if (_response.error.reason === "status-code") {
|
|
182
|
+
switch (_response.error.statusCode) {
|
|
183
|
+
case 401:
|
|
184
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
185
|
+
case 403:
|
|
186
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
187
|
+
case 404:
|
|
188
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
189
|
+
case 422:
|
|
190
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
191
|
+
default:
|
|
192
|
+
throw new errors.FiveOneEatError({
|
|
193
|
+
statusCode: _response.error.statusCode,
|
|
194
|
+
body: _response.error.body,
|
|
195
|
+
rawResponse: _response.rawResponse,
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/business/commerce/products/{product}/variants");
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* `stock_locations` is each store and stand that counts stock, the main
|
|
204
|
+
* store first, then stores, then stands, with this option's stock there
|
|
205
|
+
* (`level` is null where it has never been counted). `locked` is true
|
|
206
|
+
* once stock or orders count in its unit, so the unit can't change.
|
|
207
|
+
*
|
|
208
|
+
* @param {FiveOneEat.business.commerce.GetVariantsRequest} request
|
|
209
|
+
* @param {VariantsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
210
|
+
*
|
|
211
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
212
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
213
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
214
|
+
*
|
|
215
|
+
* @example
|
|
216
|
+
* await client.business.commerce.variants.get({
|
|
217
|
+
* product: "product",
|
|
218
|
+
* variant: "variant"
|
|
219
|
+
* })
|
|
220
|
+
*/
|
|
221
|
+
get(request, requestOptions) {
|
|
222
|
+
return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
|
|
223
|
+
}
|
|
224
|
+
__get(request, requestOptions) {
|
|
225
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
226
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
227
|
+
const { product, variant } = request;
|
|
228
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
229
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
230
|
+
const _response = yield core.fetcher({
|
|
231
|
+
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/commerce/products/${core.url.encodePathParam(product)}/variants/${core.url.encodePathParam(variant)}`),
|
|
232
|
+
method: "GET",
|
|
233
|
+
headers: _headers,
|
|
234
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
235
|
+
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,
|
|
236
|
+
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,
|
|
237
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
238
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
239
|
+
logging: this._options.logging,
|
|
240
|
+
});
|
|
241
|
+
if (_response.ok) {
|
|
242
|
+
return {
|
|
243
|
+
data: _response.body,
|
|
244
|
+
rawResponse: _response.rawResponse,
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
if (_response.error.reason === "status-code") {
|
|
248
|
+
switch (_response.error.statusCode) {
|
|
249
|
+
case 401:
|
|
250
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
251
|
+
case 403:
|
|
252
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
253
|
+
case 404:
|
|
254
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
255
|
+
default:
|
|
256
|
+
throw new errors.FiveOneEatError({
|
|
257
|
+
statusCode: _response.error.statusCode,
|
|
258
|
+
body: _response.error.body,
|
|
259
|
+
rawResponse: _response.rawResponse,
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/business/commerce/products/{product}/variants/{variant}");
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Its unit can't change once stock or orders count in it: a form error
|
|
268
|
+
* on `unit`. Left out, `tracks_inventory` and `allow_backorder` stay as
|
|
269
|
+
* they are.
|
|
270
|
+
*
|
|
271
|
+
* @param {FiveOneEat.business.commerce.UpdateVariantRequest} request
|
|
272
|
+
* @param {VariantsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
273
|
+
*
|
|
274
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
275
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
276
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
277
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
278
|
+
*
|
|
279
|
+
* @example
|
|
280
|
+
* await client.business.commerce.variants.update({
|
|
281
|
+
* product: "product",
|
|
282
|
+
* variant: "variant",
|
|
283
|
+
* name: "name",
|
|
284
|
+
* price: 1.1,
|
|
285
|
+
* unit: "each",
|
|
286
|
+
* quantity_step: 1
|
|
287
|
+
* })
|
|
288
|
+
*/
|
|
289
|
+
update(request, requestOptions) {
|
|
290
|
+
return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
|
|
291
|
+
}
|
|
292
|
+
__update(request, requestOptions) {
|
|
293
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
294
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
295
|
+
const { product, variant } = request, _body = __rest(request, ["product", "variant"]);
|
|
296
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
297
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
298
|
+
const _response = yield core.fetcher({
|
|
299
|
+
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/commerce/products/${core.url.encodePathParam(product)}/variants/${core.url.encodePathParam(variant)}`),
|
|
300
|
+
method: "PUT",
|
|
301
|
+
headers: _headers,
|
|
302
|
+
contentType: "application/json",
|
|
303
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
304
|
+
requestType: "json",
|
|
305
|
+
body: _body,
|
|
306
|
+
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,
|
|
307
|
+
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,
|
|
308
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
309
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
310
|
+
logging: this._options.logging,
|
|
311
|
+
});
|
|
312
|
+
if (_response.ok) {
|
|
313
|
+
return {
|
|
314
|
+
data: _response.body,
|
|
315
|
+
rawResponse: _response.rawResponse,
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
if (_response.error.reason === "status-code") {
|
|
319
|
+
switch (_response.error.statusCode) {
|
|
320
|
+
case 401:
|
|
321
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
322
|
+
case 403:
|
|
323
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
324
|
+
case 404:
|
|
325
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
326
|
+
case 422:
|
|
327
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
328
|
+
default:
|
|
329
|
+
throw new errors.FiveOneEatError({
|
|
330
|
+
statusCode: _response.error.statusCode,
|
|
331
|
+
body: _response.error.body,
|
|
332
|
+
rawResponse: _response.rawResponse,
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/business/commerce/products/{product}/variants/{variant}");
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Only one that isn't the default and has no stock or orders: otherwise
|
|
341
|
+
* a form error on `variant`, and it can only be archived.
|
|
342
|
+
*
|
|
343
|
+
* @param {FiveOneEat.business.commerce.DeleteVariantsRequest} request
|
|
344
|
+
* @param {VariantsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
345
|
+
*
|
|
346
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
347
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
348
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
349
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
350
|
+
*
|
|
351
|
+
* @example
|
|
352
|
+
* await client.business.commerce.variants.delete({
|
|
353
|
+
* product: "product",
|
|
354
|
+
* variant: "variant"
|
|
355
|
+
* })
|
|
356
|
+
*/
|
|
357
|
+
delete(request, requestOptions) {
|
|
358
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
|
|
359
|
+
}
|
|
360
|
+
__delete(request, requestOptions) {
|
|
361
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
362
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
363
|
+
const { product, variant } = request;
|
|
364
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
365
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
366
|
+
const _response = yield core.fetcher({
|
|
367
|
+
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/commerce/products/${core.url.encodePathParam(product)}/variants/${core.url.encodePathParam(variant)}`),
|
|
368
|
+
method: "DELETE",
|
|
369
|
+
headers: _headers,
|
|
370
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
371
|
+
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,
|
|
372
|
+
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,
|
|
373
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
374
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
375
|
+
logging: this._options.logging,
|
|
376
|
+
});
|
|
377
|
+
if (_response.ok) {
|
|
378
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
379
|
+
}
|
|
380
|
+
if (_response.error.reason === "status-code") {
|
|
381
|
+
switch (_response.error.statusCode) {
|
|
382
|
+
case 401:
|
|
383
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
384
|
+
case 403:
|
|
385
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
386
|
+
case 404:
|
|
387
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
388
|
+
case 422:
|
|
389
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
390
|
+
default:
|
|
391
|
+
throw new errors.FiveOneEatError({
|
|
392
|
+
statusCode: _response.error.statusCode,
|
|
393
|
+
body: _response.error.body,
|
|
394
|
+
rawResponse: _response.rawResponse,
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/business/commerce/products/{product}/variants/{variant}");
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Just its price and "was" price, in dollars and cents.
|
|
403
|
+
*
|
|
404
|
+
* @param {FiveOneEat.business.commerce.SetVariantPriceRequest} request
|
|
405
|
+
* @param {VariantsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
406
|
+
*
|
|
407
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
408
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
409
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
410
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
411
|
+
*
|
|
412
|
+
* @example
|
|
413
|
+
* await client.business.commerce.variants.setPrice({
|
|
414
|
+
* product: "product",
|
|
415
|
+
* variant: "variant",
|
|
416
|
+
* price: 1.1
|
|
417
|
+
* })
|
|
418
|
+
*/
|
|
419
|
+
setPrice(request, requestOptions) {
|
|
420
|
+
return core.HttpResponsePromise.fromPromise(this.__setPrice(request, requestOptions));
|
|
421
|
+
}
|
|
422
|
+
__setPrice(request, requestOptions) {
|
|
423
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
424
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
425
|
+
const { product, variant } = request, _body = __rest(request, ["product", "variant"]);
|
|
426
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
427
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
428
|
+
const _response = yield core.fetcher({
|
|
429
|
+
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/commerce/products/${core.url.encodePathParam(product)}/variants/${core.url.encodePathParam(variant)}/price`),
|
|
430
|
+
method: "PUT",
|
|
431
|
+
headers: _headers,
|
|
432
|
+
contentType: "application/json",
|
|
433
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
434
|
+
requestType: "json",
|
|
435
|
+
body: _body,
|
|
436
|
+
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,
|
|
437
|
+
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,
|
|
438
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
439
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
440
|
+
logging: this._options.logging,
|
|
441
|
+
});
|
|
442
|
+
if (_response.ok) {
|
|
443
|
+
return {
|
|
444
|
+
data: _response.body,
|
|
445
|
+
rawResponse: _response.rawResponse,
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
if (_response.error.reason === "status-code") {
|
|
449
|
+
switch (_response.error.statusCode) {
|
|
450
|
+
case 401:
|
|
451
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
452
|
+
case 403:
|
|
453
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
454
|
+
case 404:
|
|
455
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
456
|
+
case 422:
|
|
457
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
458
|
+
default:
|
|
459
|
+
throw new errors.FiveOneEatError({
|
|
460
|
+
statusCode: _response.error.statusCode,
|
|
461
|
+
body: _response.error.body,
|
|
462
|
+
rawResponse: _response.rawResponse,
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/business/commerce/products/{product}/variants/{variant}/price");
|
|
467
|
+
});
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* Takes it off sale, keeping its stock and order history. When it was
|
|
471
|
+
* the default, the next option becomes the default. The product's last
|
|
472
|
+
* option can't be archived: a form error on `variant`; remove the
|
|
473
|
+
* product instead.
|
|
474
|
+
*
|
|
475
|
+
* @param {FiveOneEat.business.commerce.ArchiveVariantsRequest} request
|
|
476
|
+
* @param {VariantsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
477
|
+
*
|
|
478
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
479
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
480
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
481
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
482
|
+
*
|
|
483
|
+
* @example
|
|
484
|
+
* await client.business.commerce.variants.archive({
|
|
485
|
+
* product: "product",
|
|
486
|
+
* variant: "variant"
|
|
487
|
+
* })
|
|
488
|
+
*/
|
|
489
|
+
archive(request, requestOptions) {
|
|
490
|
+
return core.HttpResponsePromise.fromPromise(this.__archive(request, requestOptions));
|
|
491
|
+
}
|
|
492
|
+
__archive(request, requestOptions) {
|
|
493
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
494
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
495
|
+
const { product, variant } = request;
|
|
496
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
497
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
498
|
+
const _response = yield core.fetcher({
|
|
499
|
+
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/commerce/products/${core.url.encodePathParam(product)}/variants/${core.url.encodePathParam(variant)}/archive`),
|
|
500
|
+
method: "POST",
|
|
501
|
+
headers: _headers,
|
|
502
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
503
|
+
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,
|
|
504
|
+
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,
|
|
505
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
506
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
507
|
+
logging: this._options.logging,
|
|
508
|
+
});
|
|
509
|
+
if (_response.ok) {
|
|
510
|
+
return {
|
|
511
|
+
data: _response.body,
|
|
512
|
+
rawResponse: _response.rawResponse,
|
|
513
|
+
};
|
|
514
|
+
}
|
|
515
|
+
if (_response.error.reason === "status-code") {
|
|
516
|
+
switch (_response.error.statusCode) {
|
|
517
|
+
case 401:
|
|
518
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
519
|
+
case 403:
|
|
520
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
521
|
+
case 404:
|
|
522
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
523
|
+
case 422:
|
|
524
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
525
|
+
default:
|
|
526
|
+
throw new errors.FiveOneEatError({
|
|
527
|
+
statusCode: _response.error.statusCode,
|
|
528
|
+
body: _response.error.body,
|
|
529
|
+
rawResponse: _response.rawResponse,
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/business/commerce/products/{product}/variants/{variant}/archive");
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
exports.VariantsClient = VariantsClient;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* product: "product",
|
|
5
|
+
* variant: "variant",
|
|
6
|
+
* price: 1.1
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface SetVariantPriceRequest {
|
|
10
|
+
/** The product ID */
|
|
11
|
+
product: string;
|
|
12
|
+
/** The variant ID */
|
|
13
|
+
variant: string;
|
|
14
|
+
price: number;
|
|
15
|
+
compare_at_price?: number | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type * as FiveOneEat from "../../../../../../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* "Idempotency-Key": "Idempotency-Key",
|
|
6
|
+
* product: "product",
|
|
7
|
+
* name: "name",
|
|
8
|
+
* price: 1.1,
|
|
9
|
+
* unit: "each",
|
|
10
|
+
* quantity_step: 1
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface StoreVariantRequest {
|
|
14
|
+
/** The product ID */
|
|
15
|
+
product: string;
|
|
16
|
+
/** Required, 1–255 characters, new for each option you mean to add: a retry with the same key never adds twice. */
|
|
17
|
+
"Idempotency-Key": string;
|
|
18
|
+
name: string;
|
|
19
|
+
sku?: string | null;
|
|
20
|
+
weight?: number | null;
|
|
21
|
+
weight_unit?: StoreVariantRequest.WeightUnit | null;
|
|
22
|
+
length?: number | null;
|
|
23
|
+
width?: number | null;
|
|
24
|
+
height?: number | null;
|
|
25
|
+
dimension_unit?: StoreVariantRequest.DimensionUnit | null;
|
|
26
|
+
price: number;
|
|
27
|
+
compare_at_price?: number | null;
|
|
28
|
+
unit: FiveOneEat.Unit;
|
|
29
|
+
quantity_step: number;
|
|
30
|
+
tracks_inventory?: boolean;
|
|
31
|
+
allow_backorder?: boolean;
|
|
32
|
+
starting_stock?: StoreVariantRequest.StartingStock.Item[];
|
|
33
|
+
}
|
|
34
|
+
export declare namespace StoreVariantRequest {
|
|
35
|
+
const WeightUnit: {
|
|
36
|
+
readonly Oz: "oz";
|
|
37
|
+
readonly Lb: "lb";
|
|
38
|
+
readonly G: "g";
|
|
39
|
+
readonly Kg: "kg";
|
|
40
|
+
};
|
|
41
|
+
type WeightUnit = (typeof WeightUnit)[keyof typeof WeightUnit];
|
|
42
|
+
const DimensionUnit: {
|
|
43
|
+
readonly In: "in";
|
|
44
|
+
readonly Cm: "cm";
|
|
45
|
+
};
|
|
46
|
+
type DimensionUnit = (typeof DimensionUnit)[keyof typeof DimensionUnit];
|
|
47
|
+
type StartingStock = StartingStock.Item[];
|
|
48
|
+
namespace StartingStock {
|
|
49
|
+
interface Item {
|
|
50
|
+
location_id: string;
|
|
51
|
+
count: number;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|