@51eat/sdk 0.0.79 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +9 -4
- package/dist/cjs/api/resources/business/client/Client.d.ts +3 -9
- package/dist/cjs/api/resources/business/client/Client.js +29 -39
- package/dist/cjs/api/resources/business/resources/auth/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/business/resources/auth/client/Client.js +4 -8
- package/dist/cjs/api/resources/business/resources/auth/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/businesses/client/Client.d.ts +10 -1
- package/dist/cjs/api/resources/business/resources/businesses/client/Client.js +12 -1
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/ListBusinessesRequest.d.ts +2 -4
- package/dist/cjs/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/claims/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/claims/client/Client.js +12 -0
- package/dist/cjs/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/commerce/client/Client.d.ts +18 -0
- package/dist/cjs/api/resources/business/resources/commerce/client/Client.js +26 -0
- package/dist/cjs/api/resources/business/resources/commerce/exports.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/commerce/exports.js +22 -0
- package/dist/cjs/api/resources/business/resources/commerce/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/index.js +47 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/client/Client.js +114 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/ListLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/locations/types/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/Client.d.ts +186 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/Client.js +619 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.d.ts +29 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.js +12 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.ts +15 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/MarkReadyOrdersRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/PickUpOrderRequest.d.ts +18 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.d.ts +45 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.js +16 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/index.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/CancelOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/GetOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/KeepPaymentOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.d.ts +7 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.js +10 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/ListOrdersResponse.d.ts +39 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/MarkNoShowOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/MarkPickedUpOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/MarkReadyOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/RefundOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/index.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/orders/types/index.js +25 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/Client.d.ts +56 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/Client.js +214 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/requests/AdjustLocationStockRequest.d.ts +19 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/requests/ListStockRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/AdjustStockResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/ListStockResponse.d.ts +39 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/commerce/resources/stock/types/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/events/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/business/resources/events/client/Client.js +4 -1
- package/dist/cjs/api/resources/business/resources/events/client/requests/StoreEventRequest.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.js +1 -1
- package/dist/cjs/api/resources/business/resources/index.d.ts +1 -8
- package/dist/cjs/api/resources/business/resources/index.js +2 -9
- package/dist/cjs/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/Client.js +1 -1
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/business/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.ts +3 -6
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/Client.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/Client.js +0 -3
- package/dist/cjs/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.ts +2 -4
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.d.ts +15 -4
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.js +13 -2
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/PurchaseLabelRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.ts +16 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/shipping/resources/account/client/Client.d.ts +6 -2
- package/dist/cjs/api/resources/business/resources/shipping/resources/account/client/Client.js +6 -2
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/Client.d.ts +48 -7
- package/dist/cjs/api/resources/business/resources/stripeConnect/client/Client.js +98 -7
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/ConnectStripeConnectResponse.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/stripeConnect/types/index.js +1 -0
- package/dist/cjs/api/resources/commerce/client/Client.d.ts +18 -0
- package/dist/cjs/api/resources/commerce/client/Client.js +26 -0
- package/dist/cjs/api/resources/commerce/exports.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/exports.js +22 -0
- package/dist/cjs/api/resources/commerce/index.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/index.js +18 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/Client.d.ts +99 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/Client.js +327 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/GetCurrentCartsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.d.ts +14 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.d.ts +23 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.js +12 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/UpdateCartRequest.d.ts +24 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/commerce/resources/carts/exports.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/exports.js +22 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/index.js +42 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/Client.d.ts +72 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/Client.js +257 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/CartLineRequest.d.ts +15 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.d.ts +17 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.d.ts +13 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/exports.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/exports.js +21 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/AddLinesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/ChangeLinesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/RemoveLinesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/resources/lines/types/index.js +19 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/GetCurrentCartsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/OpenCartsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/UpdateCurrentCartsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/carts/types/index.js +19 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/Client.d.ts +91 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/Client.js +267 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/PayRequest.d.ts +22 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/QuoteCheckoutRequest.d.ts +10 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.d.ts +15 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/exports.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/exports.js +21 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/types/QuoteCheckoutResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/commerce/resources/checkout/types/index.js +17 -0
- package/dist/cjs/api/resources/commerce/resources/index.d.ts +9 -0
- package/dist/cjs/api/resources/commerce/resources/index.js +48 -0
- package/dist/cjs/api/resources/commerce/resources/orders/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/commerce/resources/orders/client/Client.js +180 -0
- package/dist/cjs/api/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.ts +12 -0
- package/dist/cjs/api/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.ts +8 -0
- package/dist/cjs/api/resources/commerce/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/orders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/orders/exports.js +21 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/GetOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/ListOrdersResponse.d.ts +39 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/commerce/resources/orders/types/index.js +18 -0
- package/dist/cjs/api/resources/customer/client/Client.d.ts +4 -11
- package/dist/cjs/api/resources/customer/client/Client.js +9 -19
- package/dist/cjs/api/resources/customer/client/requests/SearchCustomerRequest.d.ts +9 -22
- package/dist/cjs/api/resources/customer/resources/auth/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/customer/resources/auth/client/Client.js +7 -10
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/UpdateUserRequest.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/Client.js +8 -0
- package/dist/cjs/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +10 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +10 -1
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/Client.js +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/catalog/client/Client.d.ts +107 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/Client.js +387 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/GetProductCatalogRequest.d.ts +18 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListCategoriesCatalogRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListLocationsCatalogRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListPickupSlotsCatalogRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/ListProductsCatalogRequest.d.ts +19 -0
- package/dist/cjs/api/resources/customer/resources/catalog/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/catalog/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/catalog/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.js +8 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/GetProductCatalogResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.js +8 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListCategoriesCatalogResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListLocationsCatalogResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.js +8 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/ListProductsCatalogResponse.d.ts +39 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/customer/resources/catalog/types/index.js +23 -0
- package/dist/cjs/api/resources/customer/resources/discovery/client/Client.d.ts +2 -5
- package/dist/cjs/api/resources/customer/resources/discovery/client/Client.js +2 -5
- package/dist/cjs/api/resources/customer/resources/discovery/client/requests/CategoryBusinessesDiscoveryRequest.d.ts +4 -8
- package/dist/cjs/api/resources/customer/resources/discovery/client/requests/FeedDiscoveryRequest.d.ts +4 -9
- package/dist/cjs/api/resources/customer/resources/events/client/Client.d.ts +1 -4
- package/dist/cjs/api/resources/customer/resources/events/client/Client.js +3 -6
- package/dist/cjs/api/resources/customer/resources/events/client/requests/FeedEventsRequest.d.ts +5 -12
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.d.ts +7 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js +11 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.ts +5 -8
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.ts +3 -2
- package/dist/cjs/api/resources/customer/resources/explore/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/customer/resources/explore/client/Client.js +1 -2
- package/dist/cjs/api/resources/customer/resources/explore/client/requests/BusinessesExploreRequest.d.ts +3 -7
- package/dist/cjs/api/resources/customer/resources/index.d.ts +3 -6
- package/dist/cjs/api/resources/customer/resources/index.js +4 -7
- package/dist/cjs/api/resources/customer/resources/me/client/Client.d.ts +1 -3
- package/dist/cjs/api/resources/customer/resources/me/client/Client.js +2 -4
- package/dist/cjs/api/resources/customer/resources/me/client/requests/RsvpsMeRequest.d.ts +5 -9
- package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/client/Client.d.ts +16 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/client/Client.js +54 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/paymentMethods/types/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/me/resources/ticketOrders/client/requests/ListTicketOrdersRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/me/resources/tickets/client/requests/ListTicketsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.d.ts +6 -0
- package/dist/cjs/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.js +9 -0
- package/dist/cjs/api/resources/customer/resources/me/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/me/types/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/Client.js +1 -1
- package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.ts +3 -6
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/Client.d.ts +3 -4
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/Client.js +2 -5
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.d.ts +22 -0
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.js +12 -0
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/index.js +3 -0
- package/dist/cjs/api/resources/customer/resources/stands/client/Client.d.ts +9 -94
- package/dist/cjs/api/resources/customer/resources/stands/client/Client.js +11 -314
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/NoticeStandsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/index.d.ts +1 -6
- package/dist/cjs/api/resources/customer/resources/stands/types/NoticeStandsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/stands/types/index.d.ts +1 -5
- package/dist/cjs/api/resources/customer/resources/stands/types/index.js +1 -5
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/types/Address.d.ts +2 -2
- package/dist/cjs/api/types/Allergen.d.ts +10 -0
- package/dist/cjs/api/types/BusinessAllergen.d.ts +2 -2
- package/dist/cjs/api/types/BusinessBulletin.d.ts +6 -6
- package/dist/cjs/api/types/BusinessCommerceLocation.d.ts +22 -0
- package/dist/cjs/api/types/BusinessCommerceLocation.js +12 -0
- package/dist/cjs/api/types/BusinessCommerceOrder.d.ts +150 -0
- package/dist/cjs/api/types/BusinessCommerceOrder.js +37 -0
- package/dist/cjs/api/types/BusinessCommerceOrderSummary.d.ts +79 -0
- package/dist/cjs/api/types/BusinessCommerceOrderSummary.js +37 -0
- package/dist/cjs/api/types/BusinessCommerceRefund.d.ts +31 -0
- package/dist/cjs/api/types/BusinessCommerceStockLevel.d.ts +18 -0
- package/dist/cjs/api/types/BusinessConversation.d.ts +1 -1
- package/dist/cjs/api/types/BusinessEvent.d.ts +16 -17
- package/dist/cjs/api/types/BusinessEventRsvp.d.ts +3 -3
- package/dist/cjs/api/types/BusinessEventTicketType.d.ts +11 -11
- package/dist/cjs/api/types/BusinessHoursResource.d.ts +3 -2
- package/dist/cjs/api/types/BusinessList.d.ts +2 -2
- package/dist/cjs/api/types/BusinessListItem.d.ts +1 -1
- package/dist/cjs/api/types/BusinessMe.d.ts +11 -0
- package/dist/cjs/api/types/BusinessMenu.d.ts +4 -3
- package/dist/cjs/api/types/BusinessMenuGroup.d.ts +4 -3
- package/dist/cjs/api/types/BusinessMenuItem.d.ts +27 -8
- package/dist/cjs/api/types/BusinessMenuItemModifier.d.ts +3 -3
- package/dist/cjs/api/types/BusinessMenuItemVariation.d.ts +4 -4
- package/dist/cjs/api/types/BusinessStripeConnection.d.ts +15 -15
- package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +2 -2
- package/dist/cjs/api/types/BuyerOrder.d.ts +145 -0
- package/dist/cjs/api/types/BuyerOrder.js +40 -0
- package/dist/cjs/api/types/Cart.d.ts +140 -0
- package/dist/cjs/api/types/Cart.js +35 -0
- package/dist/cjs/api/types/CartQuote.d.ts +41 -0
- package/dist/cjs/api/types/CartQuote.js +22 -0
- package/dist/cjs/api/types/CatalogLocation.d.ts +116 -0
- package/dist/cjs/api/types/CatalogLocation.js +11 -0
- package/dist/cjs/api/types/CatalogPickupSlots.d.ts +18 -0
- package/dist/cjs/api/types/CatalogProduct.d.ts +125 -0
- package/dist/cjs/api/types/CatalogProduct.js +40 -0
- package/dist/cjs/api/types/ConflictErrorBody.d.ts +9 -1
- package/dist/cjs/api/types/ConflictErrorBody.js +8 -0
- package/dist/cjs/api/types/Conversation.d.ts +1 -1
- package/dist/cjs/api/types/CustomerBulletin.d.ts +1 -1
- package/dist/cjs/api/types/CustomerBusinessProfile.d.ts +5 -1
- package/dist/cjs/api/types/CustomerComment.d.ts +2 -2
- package/dist/cjs/api/types/CustomerDiscoveryAllergen.d.ts +2 -2
- package/dist/cjs/api/types/CustomerEvent.d.ts +1 -1
- package/dist/cjs/api/types/CustomerEventRsvp.d.ts +2 -2
- package/dist/cjs/api/types/CustomerEventTicketType.d.ts +2 -2
- package/dist/cjs/api/types/CustomerMenuItemModifier.d.ts +1 -1
- package/dist/cjs/api/types/CustomerUser.d.ts +13 -0
- package/dist/cjs/api/types/ExploreResponse.d.ts +5 -0
- package/dist/cjs/api/types/Image.d.ts +21 -0
- package/dist/cjs/api/types/Message.d.ts +0 -1
- package/dist/cjs/api/types/OrderItemResource.d.ts +4 -4
- package/dist/cjs/api/types/OrderResource.d.ts +5 -0
- package/dist/cjs/api/types/PayResult.d.ts +40 -0
- package/dist/cjs/api/types/PayResult.js +14 -0
- package/dist/cjs/api/types/ProductCategoryResource.d.ts +8 -0
- package/dist/cjs/api/types/ShippingAccountResource.d.ts +5 -5
- package/dist/cjs/api/types/StandNotice.d.ts +20 -0
- package/dist/cjs/api/types/Transaction.d.ts +2 -2
- package/dist/cjs/api/types/index.d.ts +16 -12
- package/dist/cjs/api/types/index.js +16 -12
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/business/client/Client.d.mts +3 -9
- package/dist/esm/api/resources/business/client/Client.mjs +5 -15
- package/dist/esm/api/resources/business/resources/auth/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/business/resources/auth/client/Client.mjs +4 -8
- package/dist/esm/api/resources/business/resources/auth/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/businesses/client/Client.d.mts +10 -1
- package/dist/esm/api/resources/business/resources/businesses/client/Client.mjs +12 -1
- package/dist/esm/api/resources/business/resources/businesses/client/requests/ListBusinessesRequest.d.mts +2 -4
- package/dist/esm/api/resources/business/resources/businesses/client/requests/StoreBusinessRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/claims/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/claims/client/Client.mjs +12 -0
- package/dist/esm/api/resources/business/resources/claims/types/ClaimViaTokenClaimsResponse.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/commerce/client/Client.d.mts +18 -0
- package/dist/esm/api/resources/business/resources/commerce/client/Client.mjs +22 -0
- package/dist/esm/api/resources/business/resources/commerce/exports.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/commerce/exports.mjs +4 -0
- package/dist/esm/api/resources/business/resources/commerce/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/index.mjs +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/client/Client.mjs +77 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/ListLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/locations/types/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/Client.d.mts +186 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/Client.mjs +582 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.d.mts +29 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/CancelOrderLinesRequest.mjs +9 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.mts +15 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/MarkReadyOrdersRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/PickUpOrderRequest.d.mts +18 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.d.mts +45 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/RefundOrderLinesRequest.mjs +13 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/index.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/CancelOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/GetOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/KeepPaymentOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.d.mts +7 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/ListOrdersRequestState.mjs +7 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/ListOrdersResponse.d.mts +39 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/MarkNoShowOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/MarkPickedUpOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/MarkReadyOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/RefundOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/index.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/orders/types/index.mjs +9 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/Client.d.mts +56 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/Client.mjs +177 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/requests/AdjustLocationStockRequest.d.mts +19 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/requests/ListStockRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/AdjustStockResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/ListStockResponse.d.mts +39 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/commerce/resources/stock/types/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/business/resources/events/client/Client.mjs +4 -1
- package/dist/esm/api/resources/business/resources/events/client/requests/StoreEventRequest.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/events/client/requests/UpdateEventRequest.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.mjs +1 -1
- package/dist/esm/api/resources/business/resources/index.d.mts +1 -8
- package/dist/esm/api/resources/business/resources/index.mjs +1 -8
- package/dist/esm/api/resources/business/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/Client.mjs +1 -1
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.mts +2 -4
- package/dist/esm/api/resources/business/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.mts +3 -6
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/Client.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/Client.mjs +0 -3
- package/dist/esm/api/resources/business/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.mts +2 -4
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.d.mts +15 -4
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.mjs +13 -2
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/PurchaseLabelRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.mts +16 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/shipping/resources/account/client/Client.d.mts +6 -2
- package/dist/esm/api/resources/business/resources/shipping/resources/account/client/Client.mjs +6 -2
- package/dist/esm/api/resources/business/resources/stripeConnect/client/Client.d.mts +48 -7
- package/dist/esm/api/resources/business/resources/stripeConnect/client/Client.mjs +98 -7
- package/dist/esm/api/resources/business/resources/stripeConnect/types/ConnectStripeConnectResponse.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/stripeConnect/types/index.mjs +1 -0
- package/dist/esm/api/resources/commerce/client/Client.d.mts +18 -0
- package/dist/esm/api/resources/commerce/client/Client.mjs +22 -0
- package/dist/esm/api/resources/commerce/exports.d.mts +3 -0
- package/dist/esm/api/resources/commerce/exports.mjs +4 -0
- package/dist/esm/api/resources/commerce/index.d.mts +2 -0
- package/dist/esm/api/resources/commerce/index.mjs +2 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/Client.d.mts +99 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/Client.mjs +290 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/GetCurrentCartsRequest.d.mts +10 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.d.mts +14 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.d.mts +23 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/OpenCartRequest.mjs +9 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/UpdateCartRequest.d.mts +24 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/commerce/resources/carts/exports.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/exports.mjs +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/index.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/Client.d.mts +72 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/Client.mjs +220 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/CartLineRequest.d.mts +15 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.d.mts +17 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.d.mts +13 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/exports.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/exports.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/AddLinesResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/ChangeLinesResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/RemoveLinesResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/index.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/resources/lines/types/index.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/GetCurrentCartsResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/OpenCartsResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/UpdateCurrentCartsResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/index.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/carts/types/index.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/Client.d.mts +91 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/Client.mjs +230 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/requests/PayRequest.d.mts +22 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/requests/QuoteCheckoutRequest.d.mts +10 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.d.mts +15 -0
- package/dist/esm/api/resources/commerce/resources/checkout/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/commerce/resources/checkout/exports.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/checkout/exports.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/checkout/types/QuoteCheckoutResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/checkout/types/index.d.mts +1 -0
- package/dist/esm/api/resources/commerce/resources/checkout/types/index.mjs +1 -0
- package/dist/esm/api/resources/commerce/resources/index.d.mts +9 -0
- package/dist/esm/api/resources/commerce/resources/index.mjs +9 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/Client.mjs +143 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/requests/GetOrdersRequest.d.mts +12 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/requests/ListOrdersRequest.d.mts +8 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/commerce/resources/orders/exports.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/orders/exports.mjs +3 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/GetOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/ListOrdersResponse.d.mts +39 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/index.d.mts +2 -0
- package/dist/esm/api/resources/commerce/resources/orders/types/index.mjs +2 -0
- package/dist/esm/api/resources/customer/client/Client.d.mts +4 -11
- package/dist/esm/api/resources/customer/client/Client.mjs +7 -17
- package/dist/esm/api/resources/customer/client/requests/SearchCustomerRequest.d.mts +9 -22
- package/dist/esm/api/resources/customer/resources/auth/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/customer/resources/auth/client/Client.mjs +7 -10
- package/dist/esm/api/resources/customer/resources/auth/client/requests/UpdateUserRequest.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/auth/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/Client.mjs +8 -0
- package/dist/esm/api/resources/customer/resources/businessSubmissions/client/requests/StoreBusinessSubmissionRequest.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +10 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +10 -1
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/MenusBusinessesRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/PhotosBusinessesRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/client/requests/ListBulletinsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListCommentsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/businesses/resources/bulletins/resources/comments/client/requests/ListRepliesCommentsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/Client.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/resources/events/client/requests/ListEventsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/catalog/client/Client.d.mts +107 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/Client.mjs +350 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/GetProductCatalogRequest.d.mts +18 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListCategoriesCatalogRequest.d.mts +15 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListLocationsCatalogRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListPickupSlotsCatalogRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/ListProductsCatalogRequest.d.mts +19 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/catalog/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/catalog/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/GetProductCatalogRequestChannel.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/GetProductCatalogResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListCategoriesCatalogRequestChannel.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListCategoriesCatalogResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListLocationsCatalogResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListProductsCatalogRequestChannel.mjs +5 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/ListProductsCatalogResponse.d.mts +39 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/index.d.mts +7 -0
- package/dist/esm/api/resources/customer/resources/catalog/types/index.mjs +7 -0
- package/dist/esm/api/resources/customer/resources/discovery/client/Client.d.mts +2 -5
- package/dist/esm/api/resources/customer/resources/discovery/client/Client.mjs +2 -5
- package/dist/esm/api/resources/customer/resources/discovery/client/requests/CategoryBusinessesDiscoveryRequest.d.mts +4 -8
- package/dist/esm/api/resources/customer/resources/discovery/client/requests/FeedDiscoveryRequest.d.mts +4 -9
- package/dist/esm/api/resources/customer/resources/events/client/Client.d.mts +1 -4
- package/dist/esm/api/resources/customer/resources/events/client/Client.mjs +3 -6
- package/dist/esm/api/resources/customer/resources/events/client/requests/FeedEventsRequest.d.mts +5 -12
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.d.mts +7 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs +11 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/ConfirmOrderTicketingResponse.d.mts +5 -8
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/types/CreatePaymentIntentTicketingResponse.d.mts +3 -2
- package/dist/esm/api/resources/customer/resources/explore/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/customer/resources/explore/client/Client.mjs +1 -2
- package/dist/esm/api/resources/customer/resources/explore/client/requests/BusinessesExploreRequest.d.mts +3 -7
- package/dist/esm/api/resources/customer/resources/index.d.mts +3 -6
- package/dist/esm/api/resources/customer/resources/index.mjs +3 -6
- package/dist/esm/api/resources/customer/resources/me/client/Client.d.mts +1 -3
- package/dist/esm/api/resources/customer/resources/me/client/Client.mjs +2 -4
- package/dist/esm/api/resources/customer/resources/me/client/requests/RsvpsMeRequest.d.mts +5 -9
- package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/client/Client.d.mts +16 -0
- package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/client/Client.mjs +54 -0
- package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/me/resources/paymentMethods/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/me/resources/ticketOrders/client/requests/ListTicketOrdersRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/me/resources/tickets/client/requests/ListTicketsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.d.mts +6 -0
- package/dist/esm/api/resources/customer/resources/me/types/RsvpsMeRequestStatus.mjs +6 -0
- package/dist/esm/api/resources/customer/resources/me/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/me/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/messaging/client/requests/ChannelAuthMessagingRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/Client.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/requests/ListConversationsRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/messaging/resources/conversations/client/requests/SearchConversationsRequest.d.mts +3 -6
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/Client.d.mts +3 -4
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/Client.mjs +2 -5
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.d.mts +22 -0
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/AppHttpRequestsApiV1CustomerMessagingStoreMessageRequest.mjs +9 -0
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/ListMessagesRequest.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/stands/client/Client.d.mts +9 -94
- package/dist/esm/api/resources/customer/resources/stands/client/Client.mjs +12 -315
- package/dist/esm/api/resources/customer/resources/stands/client/requests/NoticeStandsRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/stands/client/requests/index.d.mts +1 -6
- package/dist/esm/api/resources/customer/resources/stands/types/NoticeStandsResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/stands/types/index.d.mts +1 -5
- package/dist/esm/api/resources/customer/resources/stands/types/index.mjs +1 -5
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/types/Address.d.mts +2 -2
- package/dist/esm/api/types/Allergen.d.mts +10 -0
- package/dist/esm/api/types/BusinessAllergen.d.mts +2 -2
- package/dist/esm/api/types/BusinessBulletin.d.mts +6 -6
- package/dist/esm/api/types/BusinessCommerceLocation.d.mts +22 -0
- package/dist/esm/api/types/BusinessCommerceLocation.mjs +9 -0
- package/dist/esm/api/types/BusinessCommerceOrder.d.mts +150 -0
- package/dist/esm/api/types/BusinessCommerceOrder.mjs +34 -0
- package/dist/esm/api/types/BusinessCommerceOrderSummary.d.mts +79 -0
- package/dist/esm/api/types/BusinessCommerceOrderSummary.mjs +34 -0
- package/dist/esm/api/types/BusinessCommerceRefund.d.mts +31 -0
- package/dist/esm/api/types/BusinessCommerceStockLevel.d.mts +18 -0
- package/dist/esm/api/types/BusinessConversation.d.mts +1 -1
- package/dist/esm/api/types/BusinessEvent.d.mts +16 -17
- package/dist/esm/api/types/BusinessEventRsvp.d.mts +3 -3
- package/dist/esm/api/types/BusinessEventTicketType.d.mts +11 -11
- package/dist/esm/api/types/BusinessHoursResource.d.mts +3 -2
- package/dist/esm/api/types/BusinessList.d.mts +2 -2
- package/dist/esm/api/types/BusinessListItem.d.mts +1 -1
- package/dist/esm/api/types/BusinessMe.d.mts +11 -0
- package/dist/esm/api/types/BusinessMenu.d.mts +4 -3
- package/dist/esm/api/types/BusinessMenuGroup.d.mts +4 -3
- package/dist/esm/api/types/BusinessMenuItem.d.mts +27 -8
- package/dist/esm/api/types/BusinessMenuItemModifier.d.mts +3 -3
- package/dist/esm/api/types/BusinessMenuItemVariation.d.mts +4 -4
- package/dist/esm/api/types/BusinessStripeConnection.d.mts +15 -15
- package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +2 -2
- package/dist/esm/api/types/BuyerOrder.d.mts +145 -0
- package/dist/esm/api/types/BuyerOrder.mjs +37 -0
- package/dist/esm/api/types/Cart.d.mts +140 -0
- package/dist/esm/api/types/Cart.mjs +32 -0
- package/dist/esm/api/types/CartQuote.d.mts +41 -0
- package/dist/esm/api/types/CartQuote.mjs +19 -0
- package/dist/esm/api/types/CatalogLocation.d.mts +116 -0
- package/dist/esm/api/types/CatalogLocation.mjs +8 -0
- package/dist/esm/api/types/CatalogPickupSlots.d.mts +18 -0
- package/dist/esm/api/types/CatalogProduct.d.mts +125 -0
- package/dist/esm/api/types/CatalogProduct.mjs +37 -0
- package/dist/esm/api/types/ConflictErrorBody.d.mts +9 -1
- package/dist/esm/api/types/ConflictErrorBody.mjs +7 -1
- package/dist/esm/api/types/Conversation.d.mts +1 -1
- package/dist/esm/api/types/CustomerBulletin.d.mts +1 -1
- package/dist/esm/api/types/CustomerBusinessProfile.d.mts +5 -1
- package/dist/esm/api/types/CustomerComment.d.mts +2 -2
- package/dist/esm/api/types/CustomerDiscoveryAllergen.d.mts +2 -2
- package/dist/esm/api/types/CustomerEvent.d.mts +1 -1
- package/dist/esm/api/types/CustomerEventRsvp.d.mts +2 -2
- package/dist/esm/api/types/CustomerEventTicketType.d.mts +2 -2
- package/dist/esm/api/types/CustomerMenuItemModifier.d.mts +1 -1
- package/dist/esm/api/types/CustomerUser.d.mts +13 -0
- package/dist/esm/api/types/ExploreResponse.d.mts +5 -0
- package/dist/esm/api/types/Image.d.mts +21 -0
- package/dist/esm/api/types/Message.d.mts +0 -1
- package/dist/esm/api/types/OrderItemResource.d.mts +4 -4
- package/dist/esm/api/types/OrderResource.d.mts +5 -0
- package/dist/esm/api/types/PayResult.d.mts +40 -0
- package/dist/esm/api/types/PayResult.mjs +11 -0
- package/dist/esm/api/types/ProductCategoryResource.d.mts +8 -0
- package/dist/esm/api/types/ShippingAccountResource.d.mts +5 -5
- package/dist/esm/api/types/StandNotice.d.mts +20 -0
- package/dist/esm/api/types/Transaction.d.mts +2 -2
- package/dist/esm/api/types/index.d.mts +16 -12
- package/dist/esm/api/types/index.mjs +16 -12
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +106 -117
- package/reference.md +1653 -1895
- package/dist/cjs/api/resources/business/resources/auth/client/requests/LogoutAuthRequest.d.ts +0 -7
- package/dist/cjs/api/resources/business/resources/priceLists/client/Client.d.ts +0 -53
- package/dist/cjs/api/resources/business/resources/priceLists/client/Client.js +0 -222
- package/dist/cjs/api/resources/business/resources/priceLists/client/requests/DeletePriceListsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/priceLists/client/requests/StorePriceListRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/priceLists/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/priceLists/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/priceLists/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/priceLists/types/CreatePriceListsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/priceLists/types/ListPriceListsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/priceLists/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/priceLists/types/index.js +0 -18
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/AddTrackingProductOrdersRequest.d.ts +0 -16
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/PurchaseLabelProductOrdersRequest.d.ts +0 -12
- package/dist/cjs/api/resources/business/resources/products/client/Client.d.ts +0 -96
- package/dist/cjs/api/resources/business/resources/products/client/Client.js +0 -373
- package/dist/cjs/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/products/client/requests/GetProductsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts +0 -16
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +0 -19
- package/dist/cjs/api/resources/business/resources/products/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/exports.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/exports.js +0 -22
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.d.ts +0 -47
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.js +0 -185
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/DeleteImagesRequest.d.ts +0 -11
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/ReorderImagesRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/UploadImagesRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/images/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/images/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/images/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/images/index.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/index.d.ts +0 -8
- package/dist/cjs/api/resources/business/resources/products/resources/index.js +0 -47
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/Client.d.ts +0 -28
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/Client.js +0 -117
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/requests/SummaryInventoryRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/SummaryInventoryResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/index.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.d.ts +0 -72
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.js +0 -273
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.d.ts +0 -33
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.d.ts +0 -33
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.js +0 -7
- package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.js +0 -22
- package/dist/cjs/api/resources/business/resources/products/resources/variants/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/index.js +0 -19
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.ts +0 -47
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.js +0 -185
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/DeleteImagesRequest.d.ts +0 -11
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/ReorderImagesRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/UploadImagesRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/index.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/index.d.ts +0 -8
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/index.js +0 -47
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.d.ts +0 -60
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.js +0 -244
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.d.ts +0 -14
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.d.ts +0 -15
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.js +0 -18
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.d.ts +0 -32
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.js +0 -137
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/index.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.d.ts +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/index.js +0 -17
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.js +0 -18
- package/dist/cjs/api/resources/business/resources/products/types/CreateProductsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/types/GetProductsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/types/ListProductsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/types/UpdateProductsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/types/index.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/types/index.js +0 -20
- package/dist/cjs/api/resources/business/resources/taxCodes/client/Client.d.ts +0 -27
- package/dist/cjs/api/resources/business/resources/taxCodes/client/Client.js +0 -111
- package/dist/cjs/api/resources/business/resources/taxCodes/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/taxCodes/exports.js +0 -21
- package/dist/cjs/api/resources/business/resources/taxCodes/types/ListTaxCodesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/taxCodes/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/taxCodes/types/index.js +0 -17
- package/dist/cjs/api/resources/customer/resources/auth/client/requests/LogoutAuthRequest.d.ts +0 -7
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.d.ts +0 -261
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.js +0 -853
- package/dist/cjs/api/resources/customer/resources/cart/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/customer/resources/cart/client/index.js +0 -17
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddItemCartRequest.d.ts +0 -16
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutCartRequest.d.ts +0 -15
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/ClearCartRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/GetCartRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/ListShippingOptionsCartRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/RefreshCartPaymentRequest.d.ts +0 -12
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/SelectShippingRateRequest.d.ts +0 -12
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/ShippingAddressRequest.d.ts +0 -27
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.ts +0 -12
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.d.ts +0 -12
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/customer/resources/cart/exports.d.ts +0 -2
- package/dist/cjs/api/resources/customer/resources/cart/exports.js +0 -21
- package/dist/cjs/api/resources/customer/resources/cart/types/AddItemCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.ts +0 -17
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.js +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/types/GetCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/ListShippingOptionsCartResponse.d.ts +0 -18
- package/dist/cjs/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.d.ts +0 -18
- package/dist/cjs/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.js +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/SetFulfillmentCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/SetShippingAddressCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/index.d.ts +0 -11
- package/dist/cjs/api/resources/customer/resources/cart/types/index.js +0 -27
- package/dist/cjs/api/resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.d.ts +0 -17
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.d.ts +0 -53
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.js +0 -221
- package/dist/cjs/api/resources/customer/resources/shop/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/customer/resources/shop/client/index.js +0 -17
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +0 -13
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +0 -11
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/customer/resources/shop/exports.d.ts +0 -2
- package/dist/cjs/api/resources/customer/resources/shop/exports.js +0 -21
- package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.js +0 -3
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.js +0 -3
- package/dist/cjs/api/resources/customer/resources/shop/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/customer/resources/shop/types/index.js +0 -19
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.d.ts +0 -16
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.d.ts +0 -15
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/stands/types/CheckoutStandsResponse.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.ts +0 -16
- package/dist/cjs/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.js +0 -10
- package/dist/cjs/api/resources/customer/resources/stands/types/GetCartStandsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/stands/types/GetCartStandsResponse.js +0 -3
- package/dist/cjs/api/resources/customer/resources/stands/types/ScanStandsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/stands/types/ScanStandsResponse.js +0 -3
- package/dist/cjs/api/types/AddCartItemRequest.d.ts +0 -9
- package/dist/cjs/api/types/AddCartItemRequest.js +0 -3
- package/dist/cjs/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.d.ts +0 -23
- package/dist/cjs/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.js +0 -3
- package/dist/cjs/api/types/CartResource.d.ts +0 -50
- package/dist/cjs/api/types/CartResource.js +0 -3
- package/dist/cjs/api/types/CheckoutRequest.d.ts +0 -5
- package/dist/cjs/api/types/CheckoutRequest.js +0 -3
- package/dist/cjs/api/types/FulfillmentType.d.ts +0 -6
- package/dist/cjs/api/types/FulfillmentType.js +0 -9
- package/dist/cjs/api/types/InventoryLevelResource.d.ts +0 -7
- package/dist/cjs/api/types/InventoryLevelResource.js +0 -3
- package/dist/cjs/api/types/PriceListResource.d.ts +0 -8
- package/dist/cjs/api/types/PriceListResource.js +0 -3
- package/dist/cjs/api/types/PriceResource.d.ts +0 -10
- package/dist/cjs/api/types/PriceResource.js +0 -3
- package/dist/cjs/api/types/ProductResource.d.ts +0 -21
- package/dist/cjs/api/types/ProductResource.js +0 -3
- package/dist/cjs/api/types/StandShop.d.ts +0 -24
- package/dist/cjs/api/types/StandShop.js +0 -3
- package/dist/cjs/api/types/TaxCode.d.ts +0 -21
- package/dist/cjs/api/types/TaxCode.js +0 -15
- package/dist/cjs/api/types/VariantResource.d.ts +0 -14
- package/dist/cjs/api/types/VariantResource.js +0 -3
- package/dist/esm/api/resources/business/resources/auth/client/requests/LogoutAuthRequest.d.mts +0 -7
- package/dist/esm/api/resources/business/resources/priceLists/client/Client.d.mts +0 -53
- package/dist/esm/api/resources/business/resources/priceLists/client/Client.mjs +0 -185
- package/dist/esm/api/resources/business/resources/priceLists/client/requests/DeletePriceListsRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/priceLists/client/requests/StorePriceListRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/priceLists/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/priceLists/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/priceLists/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/priceLists/types/CreatePriceListsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/priceLists/types/ListPriceListsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/priceLists/types/index.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/priceLists/types/index.mjs +0 -2
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/AddTrackingProductOrdersRequest.d.mts +0 -16
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/PurchaseLabelProductOrdersRequest.d.mts +0 -12
- package/dist/esm/api/resources/business/resources/products/client/Client.d.mts +0 -96
- package/dist/esm/api/resources/business/resources/products/client/Client.mjs +0 -336
- package/dist/esm/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/products/client/requests/GetProductsRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.d.mts +0 -16
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +0 -19
- package/dist/esm/api/resources/business/resources/products/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/exports.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/exports.mjs +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.d.mts +0 -47
- package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.mjs +0 -148
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/DeleteImagesRequest.d.mts +0 -11
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/ReorderImagesRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/UploadImagesRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/images/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/images/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/images/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/images/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/index.d.mts +0 -8
- package/dist/esm/api/resources/business/resources/products/resources/index.mjs +0 -8
- package/dist/esm/api/resources/business/resources/products/resources/inventory/client/Client.d.mts +0 -28
- package/dist/esm/api/resources/business/resources/products/resources/inventory/client/Client.mjs +0 -80
- package/dist/esm/api/resources/business/resources/products/resources/inventory/client/requests/SummaryInventoryRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/products/resources/inventory/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/inventory/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/inventory/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/inventory/types/SummaryInventoryResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/inventory/types/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/inventory/types/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.d.mts +0 -72
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.mjs +0 -236
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.d.mts +0 -33
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.mjs +0 -14
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.d.mts +0 -33
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.mjs +0 -14
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.mjs +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/exports.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/exports.mjs +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/index.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.mts +0 -47
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.mjs +0 -148
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/DeleteImagesRequest.d.mts +0 -11
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/ReorderImagesRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/UploadImagesRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/index.d.mts +0 -8
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/index.mjs +0 -8
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.d.mts +0 -60
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.mjs +0 -207
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.d.mts +0 -14
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.d.mts +0 -15
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.mjs +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.d.mts +0 -32
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.mjs +0 -100
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.d.mts +0 -21
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.mjs +0 -2
- package/dist/esm/api/resources/business/resources/products/types/CreateProductsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/types/GetProductsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/types/ListProductsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/types/UpdateProductsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/types/index.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/types/index.mjs +0 -4
- package/dist/esm/api/resources/business/resources/taxCodes/client/Client.d.mts +0 -27
- package/dist/esm/api/resources/business/resources/taxCodes/client/Client.mjs +0 -74
- package/dist/esm/api/resources/business/resources/taxCodes/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/taxCodes/exports.mjs +0 -3
- package/dist/esm/api/resources/business/resources/taxCodes/types/ListTaxCodesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/taxCodes/types/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/taxCodes/types/index.mjs +0 -1
- package/dist/esm/api/resources/customer/resources/auth/client/requests/LogoutAuthRequest.d.mts +0 -7
- package/dist/esm/api/resources/customer/resources/cart/client/Client.d.mts +0 -261
- package/dist/esm/api/resources/customer/resources/cart/client/Client.mjs +0 -816
- package/dist/esm/api/resources/customer/resources/cart/client/index.d.mts +0 -1
- package/dist/esm/api/resources/customer/resources/cart/client/index.mjs +0 -1
- package/dist/esm/api/resources/customer/resources/cart/client/requests/AddItemCartRequest.d.mts +0 -16
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutCartRequest.d.mts +0 -15
- package/dist/esm/api/resources/customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.d.mts +0 -13
- package/dist/esm/api/resources/customer/resources/cart/client/requests/ClearCartRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/cart/client/requests/GetCartRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/cart/client/requests/ListShippingOptionsCartRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/cart/client/requests/RefreshCartPaymentRequest.d.mts +0 -12
- package/dist/esm/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/cart/client/requests/SelectShippingRateRequest.d.mts +0 -12
- package/dist/esm/api/resources/customer/resources/cart/client/requests/ShippingAddressRequest.d.mts +0 -27
- package/dist/esm/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.mts +0 -12
- package/dist/esm/api/resources/customer/resources/cart/client/requests/index.d.mts +0 -12
- package/dist/esm/api/resources/customer/resources/cart/exports.d.mts +0 -2
- package/dist/esm/api/resources/customer/resources/cart/exports.mjs +0 -3
- package/dist/esm/api/resources/customer/resources/cart/types/AddItemCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.mts +0 -17
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.mjs +0 -7
- package/dist/esm/api/resources/customer/resources/cart/types/GetCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/ListShippingOptionsCartResponse.d.mts +0 -18
- package/dist/esm/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.d.mts +0 -18
- package/dist/esm/api/resources/customer/resources/cart/types/RefreshPaymentIntentCartResponse.mjs +0 -7
- package/dist/esm/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/SetFulfillmentCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/SetShippingAddressCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/cart/types/index.d.mts +0 -11
- package/dist/esm/api/resources/customer/resources/cart/types/index.mjs +0 -11
- package/dist/esm/api/resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.d.mts +0 -17
- package/dist/esm/api/resources/customer/resources/shop/client/Client.d.mts +0 -53
- package/dist/esm/api/resources/customer/resources/shop/client/Client.mjs +0 -184
- package/dist/esm/api/resources/customer/resources/shop/client/index.d.mts +0 -1
- package/dist/esm/api/resources/customer/resources/shop/client/index.mjs +0 -1
- package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +0 -13
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +0 -11
- package/dist/esm/api/resources/customer/resources/shop/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/customer/resources/shop/exports.d.mts +0 -2
- package/dist/esm/api/resources/customer/resources/shop/exports.mjs +0 -3
- package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/shop/types/index.d.mts +0 -3
- package/dist/esm/api/resources/customer/resources/shop/types/index.mjs +0 -3
- package/dist/esm/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.d.mts +0 -16
- package/dist/esm/api/resources/customer/resources/stands/client/requests/AddCartItemStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.d.mts +0 -15
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/stands/client/requests/ClearCartStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/stands/client/requests/GetCartStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.d.mts +0 -10
- package/dist/esm/api/resources/customer/resources/stands/client/requests/ScanStandsRequest.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/stands/types/AddCartItemStandsResponse.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/stands/types/CheckoutStandsResponse.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.mts +0 -16
- package/dist/esm/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.mjs +0 -7
- package/dist/esm/api/resources/customer/resources/stands/types/GetCartStandsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/stands/types/GetCartStandsResponse.mjs +0 -2
- package/dist/esm/api/resources/customer/resources/stands/types/ScanStandsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/stands/types/ScanStandsResponse.mjs +0 -2
- package/dist/esm/api/types/AddCartItemRequest.d.mts +0 -9
- package/dist/esm/api/types/AddCartItemRequest.mjs +0 -2
- package/dist/esm/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.d.mts +0 -23
- package/dist/esm/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.mjs +0 -2
- package/dist/esm/api/types/CartResource.d.mts +0 -50
- package/dist/esm/api/types/CartResource.mjs +0 -2
- package/dist/esm/api/types/CheckoutRequest.d.mts +0 -5
- package/dist/esm/api/types/CheckoutRequest.mjs +0 -2
- package/dist/esm/api/types/FulfillmentType.d.mts +0 -6
- package/dist/esm/api/types/FulfillmentType.mjs +0 -6
- package/dist/esm/api/types/InventoryLevelResource.d.mts +0 -7
- package/dist/esm/api/types/InventoryLevelResource.mjs +0 -2
- package/dist/esm/api/types/PriceListResource.d.mts +0 -8
- package/dist/esm/api/types/PriceListResource.mjs +0 -2
- package/dist/esm/api/types/PriceResource.d.mts +0 -10
- package/dist/esm/api/types/PriceResource.mjs +0 -2
- package/dist/esm/api/types/ProductResource.d.mts +0 -21
- package/dist/esm/api/types/ProductResource.mjs +0 -2
- package/dist/esm/api/types/StandShop.d.mts +0 -24
- package/dist/esm/api/types/StandShop.mjs +0 -2
- package/dist/esm/api/types/TaxCode.d.mts +0 -21
- package/dist/esm/api/types/TaxCode.mjs +0 -12
- package/dist/esm/api/types/VariantResource.d.mts +0 -14
- package/dist/esm/api/types/VariantResource.mjs +0 -2
- /package/dist/cjs/api/resources/business/resources/{taxCodes → commerce}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests → commerce/client}/index.js +0 -0
- /package/dist/{esm/api/resources/business/resources/priceLists/client/requests/index.mjs → cjs/api/resources/business/resources/commerce/resources/locations/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests → commerce/resources/locations/client}/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{auth/client/requests/LogoutAuthRequest.js → commerce/resources/locations/types/ListLocationsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests/DeletePriceListsRequest.js → commerce/resources/orders/client/requests/GetOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/client/requests/StorePriceListRequest.js → commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/types/CreatePriceListsResponse.js → commerce/resources/orders/client/requests/ListOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{priceLists/types/ListPriceListsResponse.js → commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/AddTrackingProductOrdersRequest.js → commerce/resources/orders/client/requests/MarkReadyOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/PurchaseLabelProductOrdersRequest.js → commerce/resources/orders/client/requests/PickUpOrderRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/DeleteProductsRequest.js → commerce/resources/orders/types/CancelOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/GetProductsRequest.js → commerce/resources/orders/types/GetOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/StoreProductRequest.js → commerce/resources/orders/types/KeepPaymentOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/client/requests/UpdateProductRequest.js → commerce/resources/orders/types/ListOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/DeleteImagesRequest.js → commerce/resources/orders/types/MarkNoShowOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/ReorderImagesRequest.js → commerce/resources/orders/types/MarkPickedUpOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images/client/requests/UploadImagesRequest.js → commerce/resources/orders/types/MarkReadyOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory/client/requests/SummaryInventoryRequest.js → commerce/resources/orders/types/RefundOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/stock}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products → commerce/resources/stock}/client/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/inventory/types/SummaryInventoryResponse.js → commerce/resources/stock/client/requests/AdjustLocationStockRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/client/requests/DeleteVariantsRequest.js → commerce/resources/stock/client/requests/ListStockRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/images → commerce/resources/stock}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/DeleteImagesRequest.js → commerce/resources/stock/types/AdjustStockResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/ReorderImagesRequest.js → commerce/resources/stock/types/ListStockResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/UploadImagesRequest.js → productOrders/client/requests/PurchaseLabelRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.js → productOrders/client/requests/StoreTrackingRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.js → stripeConnect/types/ConnectStripeConnectResponse.js} +0 -0
- /package/dist/{esm/api/resources/business/resources/products/client/requests/index.mjs → cjs/api/resources/commerce/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/inventory/client/requests → commerce/client}/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.js → commerce/resources/carts/client/requests/GetCurrentCartsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.js → commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.js → commerce/resources/carts/client/requests/UpdateCartRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products → commerce/resources/carts}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products → commerce/resources/carts}/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.js → commerce/resources/carts/resources/lines/client/requests/CartLineRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.js → commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/types/CreateVariantsResponse.js → commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/carts/resources/lines}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/types/UpdateVariantsResponse.js → commerce/resources/carts/resources/lines/types/AddLinesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/types/CreateProductsResponse.js → commerce/resources/carts/resources/lines/types/ChangeLinesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/types/GetProductsResponse.js → commerce/resources/carts/resources/lines/types/RemoveLinesResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/types/ListProductsResponse.js → commerce/resources/carts/types/GetCurrentCartsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/types/UpdateProductsResponse.js → commerce/resources/carts/types/OpenCartsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/taxCodes/types/ListTaxCodesResponse.js → commerce/resources/carts/types/UpdateCurrentCartsResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/auth/client/requests/LogoutAuthRequest.js → commerce/resources/checkout/client/requests/PayRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/AddItemCartRequest.js → commerce/resources/checkout/client/requests/QuoteCheckoutRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/CheckoutCartRequest.js → commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory → commerce/resources/checkout}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.js → commerce/resources/checkout/types/QuoteCheckoutResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ClearCartRequest.js → commerce/resources/orders/client/requests/GetOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.js → commerce/resources/orders/client/requests/ListOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/orders}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart → commerce/resources/orders}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart → commerce/resources/orders}/index.js +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/GetCartRequest.js → commerce/resources/orders/types/GetOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/ListShippingOptionsCartRequest.js → commerce/resources/orders/types/ListOrdersResponse.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.js +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/RefreshCartPaymentRequest.js → catalog/client/requests/GetProductCatalogRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/RemoveItemCartRequest.js → catalog/client/requests/ListCategoriesCatalogRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/SelectShippingRateRequest.js → catalog/client/requests/ListLocationsCatalogRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/ShippingAddressRequest.js → catalog/client/requests/ListPickupSlotsCatalogRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/UpdateCartItemRequest.js → catalog/client/requests/ListProductsCatalogRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/taxCodes/client → customer/resources/catalog/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/customer/resources/{shop → catalog}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/customer/resources/{shop → catalog}/index.js +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/AddItemCartResponse.js → catalog/types/GetProductCatalogResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/CheckoutCartResponse.js → catalog/types/ListCategoriesCatalogResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/GetCartResponse.js → catalog/types/ListLocationsCatalogResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/ListShippingOptionsCartResponse.js → catalog/types/ListProductsCatalogResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/RemoveItemCartResponse.js → me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/SelectShippingOptionCartResponse.js → stands/client/requests/NoticeStandsRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/types/SetFulfillmentCartResponse.js → stands/types/NoticeStandsResponse.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/cart/types/SetShippingAddressCartResponse.js → types/Allergen.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/cart/types/UpdateItemCartResponse.js → types/BusinessCommerceRefund.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.js → types/BusinessCommerceStockLevel.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/shop/client/requests/GetProductShopRequest.js → types/CatalogPickupSlots.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.js → types/Image.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/shop/client/requests/ListProductsShopRequest.js → types/ProductCategoryResource.js} +0 -0
- /package/dist/cjs/api/{resources/customer/resources/shop/types/GetProductShopResponse.js → types/StandNotice.js} +0 -0
- /package/dist/esm/api/resources/business/resources/{taxCodes → commerce}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests → commerce/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory/client/requests/index.mjs → commerce/resources/locations/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests → commerce/resources/locations/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/locations}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{auth/client/requests/LogoutAuthRequest.mjs → commerce/resources/locations/types/ListLocationsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists → commerce/resources/orders}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/client/requests/DeletePriceListsRequest.mjs → commerce/resources/orders/client/requests/GetOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/client/requests/StorePriceListRequest.mjs → commerce/resources/orders/client/requests/KeepPaymentOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/types/CreatePriceListsResponse.mjs → commerce/resources/orders/client/requests/ListOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{priceLists/types/ListPriceListsResponse.mjs → commerce/resources/orders/client/requests/MarkNoShowOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/AddTrackingProductOrdersRequest.mjs → commerce/resources/orders/client/requests/MarkReadyOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/PurchaseLabelProductOrdersRequest.mjs → commerce/resources/orders/client/requests/PickUpOrderRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory → commerce/resources/orders}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/DeleteProductsRequest.mjs → commerce/resources/orders/types/CancelOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/GetProductsRequest.mjs → commerce/resources/orders/types/GetOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/StoreProductRequest.mjs → commerce/resources/orders/types/KeepPaymentOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/client/requests/UpdateProductRequest.mjs → commerce/resources/orders/types/ListOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/DeleteImagesRequest.mjs → commerce/resources/orders/types/MarkNoShowOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/ReorderImagesRequest.mjs → commerce/resources/orders/types/MarkPickedUpOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/images/client/requests/UploadImagesRequest.mjs → commerce/resources/orders/types/MarkReadyOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory/client/requests/SummaryInventoryRequest.mjs → commerce/resources/orders/types/RefundOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce/resources/stock}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products → commerce/resources/stock}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/inventory/types/SummaryInventoryResponse.mjs → commerce/resources/stock/client/requests/AdjustLocationStockRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/client/requests/DeleteVariantsRequest.mjs → commerce/resources/stock/client/requests/ListStockRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory → commerce/resources/stock}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/DeleteImagesRequest.mjs → commerce/resources/stock/types/AdjustStockResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/ReorderImagesRequest.mjs → commerce/resources/stock/types/ListStockResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/images/client/requests/UploadImagesRequest.mjs → productOrders/client/requests/PurchaseLabelRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.mjs → productOrders/client/requests/StoreTrackingRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.mjs → stripeConnect/types/ConnectStripeConnectResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices/client/requests/index.mjs → commerce/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/{business/resources/taxCodes → commerce}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/images → commerce/resources/carts}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.mjs → commerce/resources/carts/client/requests/GetCurrentCartsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.mjs → commerce/resources/carts/client/requests/ListPickupSlotsCartsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.mjs → commerce/resources/carts/client/requests/UpdateCartRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products → commerce/resources/carts}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products → commerce/resources/carts}/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/inventory → commerce/resources/carts/resources/lines}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.mjs → commerce/resources/carts/resources/lines/client/requests/CartLineRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.mjs → commerce/resources/carts/resources/lines/client/requests/ChangeCartLineRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/types/CreateVariantsResponse.mjs → commerce/resources/carts/resources/lines/client/requests/RemoveLinesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/carts/resources/lines}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/prices → commerce/resources/carts/resources/lines}/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/types/UpdateVariantsResponse.mjs → commerce/resources/carts/resources/lines/types/AddLinesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/types/CreateProductsResponse.mjs → commerce/resources/carts/resources/lines/types/ChangeLinesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/types/GetProductsResponse.mjs → commerce/resources/carts/resources/lines/types/RemoveLinesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/types/ListProductsResponse.mjs → commerce/resources/carts/types/GetCurrentCartsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/types/UpdateProductsResponse.mjs → commerce/resources/carts/types/OpenCartsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/taxCodes/types/ListTaxCodesResponse.mjs → commerce/resources/carts/types/UpdateCurrentCartsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants → commerce/resources/checkout}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/auth/client/requests/LogoutAuthRequest.mjs → commerce/resources/checkout/client/requests/PayRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/AddItemCartRequest.mjs → commerce/resources/checkout/client/requests/QuoteCheckoutRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/CheckoutCartRequest.mjs → commerce/resources/checkout/client/requests/SettlePaymentCheckoutRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/shop → commerce/resources/checkout}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/taxCodes → commerce/resources/checkout}/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ChooseFulfillmentMethodRequest.mjs → commerce/resources/checkout/types/QuoteCheckoutResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/images → commerce/resources/orders}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ClearCartRequest.mjs → commerce/resources/orders/client/requests/GetOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.mjs → commerce/resources/orders/client/requests/ListOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/orders}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart → commerce/resources/orders}/index.mjs +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/GetCartRequest.mjs → commerce/resources/orders/types/GetOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/ListShippingOptionsCartRequest.mjs → commerce/resources/orders/types/ListOrdersResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory → customer/resources/catalog}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/RefreshCartPaymentRequest.mjs → catalog/client/requests/GetProductCatalogRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/RemoveItemCartRequest.mjs → catalog/client/requests/ListCategoriesCatalogRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/SelectShippingRateRequest.mjs → catalog/client/requests/ListLocationsCatalogRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/ShippingAddressRequest.mjs → catalog/client/requests/ListPickupSlotsCatalogRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/UpdateCartItemRequest.mjs → catalog/client/requests/ListProductsCatalogRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{shop → catalog}/index.d.mts +0 -0
- /package/dist/esm/api/resources/customer/resources/{shop → catalog}/index.mjs +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/AddItemCartResponse.mjs → catalog/types/GetProductCatalogResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/CheckoutCartResponse.mjs → catalog/types/ListCategoriesCatalogResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/GetCartResponse.mjs → catalog/types/ListLocationsCatalogResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/ListShippingOptionsCartResponse.mjs → catalog/types/ListProductsCatalogResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/RemoveItemCartResponse.mjs → me/resources/paymentMethods/types/CustomerSessionPaymentMethodsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/SelectShippingOptionCartResponse.mjs → stands/client/requests/NoticeStandsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/types/SetFulfillmentCartResponse.mjs → stands/types/NoticeStandsResponse.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/cart/types/SetShippingAddressCartResponse.mjs → types/Allergen.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/cart/types/UpdateItemCartResponse.mjs → types/BusinessCommerceRefund.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/messaging/resources/messages/client/requests/SendMessagesRequest.mjs → types/BusinessCommerceStockLevel.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/shop/client/requests/GetProductShopRequest.mjs → types/CatalogPickupSlots.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.mjs → types/Image.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/shop/client/requests/ListProductsShopRequest.mjs → types/ProductCategoryResource.mjs} +0 -0
- /package/dist/esm/api/{resources/customer/resources/shop/types/GetProductShopResponse.mjs → types/StandNotice.mjs} +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 51Eat TypeScript Library
|
|
2
2
|
|
|
3
|
-
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%
|
|
3
|
+
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2F51Eat%2Fsdk)
|
|
4
4
|
[](https://www.npmjs.com/package/@51eat/sdk)
|
|
5
5
|
|
|
6
6
|
The 51Eat TypeScript library provides convenient access to the 51Eat APIs from TypeScript.
|
|
@@ -35,7 +35,7 @@ npm i -s @51eat/sdk
|
|
|
35
35
|
|
|
36
36
|
## Reference
|
|
37
37
|
|
|
38
|
-
A full reference for this library is available [here](https://github.com/
|
|
38
|
+
A full reference for this library is available [here](https://github.com/51Eat/sdk/blob/HEAD/./reference.md).
|
|
39
39
|
|
|
40
40
|
## Usage
|
|
41
41
|
|
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@51eat/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.0
|
|
47
|
-
"User-Agent": "@51eat/sdk/0.0
|
|
46
|
+
"X-Fern-SDK-Version": "2.0.0",
|
|
47
|
+
"User-Agent": "@51eat/sdk/2.0.0",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BusinessClient } from "./api/resources/business/client/Client.js";
|
|
2
|
+
import { CommerceClient } from "./api/resources/commerce/client/Client.js";
|
|
2
3
|
import { CustomerClient } from "./api/resources/customer/client/Client.js";
|
|
3
4
|
import { PublicListsClient } from "./api/resources/publicLists/client/Client.js";
|
|
4
5
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
@@ -14,10 +15,12 @@ export declare class FiveOneEatClient {
|
|
|
14
15
|
protected _customer: CustomerClient | undefined;
|
|
15
16
|
protected _publicLists: PublicListsClient | undefined;
|
|
16
17
|
protected _business: BusinessClient | undefined;
|
|
18
|
+
protected _commerce: CommerceClient | undefined;
|
|
17
19
|
constructor(options?: FiveOneEatClient.Options);
|
|
18
20
|
get customer(): CustomerClient;
|
|
19
21
|
get publicLists(): PublicListsClient;
|
|
20
22
|
get business(): BusinessClient;
|
|
23
|
+
get commerce(): CommerceClient;
|
|
21
24
|
/**
|
|
22
25
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
23
26
|
* This is useful for making requests to endpoints not yet supported in the SDK.
|
package/dist/cjs/Client.js
CHANGED
|
@@ -45,8 +45,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
46
|
exports.FiveOneEatClient = void 0;
|
|
47
47
|
const Client_js_1 = require("./api/resources/business/client/Client.js");
|
|
48
|
-
const Client_js_2 = require("./api/resources/
|
|
49
|
-
const Client_js_3 = require("./api/resources/
|
|
48
|
+
const Client_js_2 = require("./api/resources/commerce/client/Client.js");
|
|
49
|
+
const Client_js_3 = require("./api/resources/customer/client/Client.js");
|
|
50
|
+
const Client_js_4 = require("./api/resources/publicLists/client/Client.js");
|
|
50
51
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
51
52
|
const core = __importStar(require("./core/index.js"));
|
|
52
53
|
class FiveOneEatClient {
|
|
@@ -55,16 +56,20 @@ class FiveOneEatClient {
|
|
|
55
56
|
}
|
|
56
57
|
get customer() {
|
|
57
58
|
var _a;
|
|
58
|
-
return ((_a = this._customer) !== null && _a !== void 0 ? _a : (this._customer = new
|
|
59
|
+
return ((_a = this._customer) !== null && _a !== void 0 ? _a : (this._customer = new Client_js_3.CustomerClient(this._options)));
|
|
59
60
|
}
|
|
60
61
|
get publicLists() {
|
|
61
62
|
var _a;
|
|
62
|
-
return ((_a = this._publicLists) !== null && _a !== void 0 ? _a : (this._publicLists = new
|
|
63
|
+
return ((_a = this._publicLists) !== null && _a !== void 0 ? _a : (this._publicLists = new Client_js_4.PublicListsClient(this._options)));
|
|
63
64
|
}
|
|
64
65
|
get business() {
|
|
65
66
|
var _a;
|
|
66
67
|
return ((_a = this._business) !== null && _a !== void 0 ? _a : (this._business = new Client_js_1.BusinessClient(this._options)));
|
|
67
68
|
}
|
|
69
|
+
get commerce() {
|
|
70
|
+
var _a;
|
|
71
|
+
return ((_a = this._commerce) !== null && _a !== void 0 ? _a : (this._commerce = new Client_js_2.CommerceClient(this._options)));
|
|
72
|
+
}
|
|
68
73
|
/**
|
|
69
74
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
70
75
|
* This is useful for making requests to endpoints not yet supported in the SDK.
|
|
@@ -7,22 +7,20 @@ import { BusinessesClient } from "../resources/businesses/client/Client.js";
|
|
|
7
7
|
import { CategoriesClient } from "../resources/categories/client/Client.js";
|
|
8
8
|
import { CertificationsClient } from "../resources/certifications/client/Client.js";
|
|
9
9
|
import { ClaimsClient } from "../resources/claims/client/Client.js";
|
|
10
|
+
import { CommerceClient } from "../resources/commerce/client/Client.js";
|
|
10
11
|
import { CuisinesClient } from "../resources/cuisines/client/Client.js";
|
|
11
12
|
import { EventsClient } from "../resources/events/client/Client.js";
|
|
12
13
|
import { GalleryClient } from "../resources/gallery/client/Client.js";
|
|
13
14
|
import { HoursClient } from "../resources/hours/client/Client.js";
|
|
14
15
|
import { MenusClient } from "../resources/menus/client/Client.js";
|
|
15
16
|
import { MessagingClient } from "../resources/messaging/client/Client.js";
|
|
16
|
-
import { PriceListsClient } from "../resources/priceLists/client/Client.js";
|
|
17
17
|
import { ProductCategoriesClient } from "../resources/productCategories/client/Client.js";
|
|
18
18
|
import { ProductOrdersClient } from "../resources/productOrders/client/Client.js";
|
|
19
|
-
import { ProductsClient } from "../resources/products/client/Client.js";
|
|
20
19
|
import { ProfileClient } from "../resources/profile/client/Client.js";
|
|
21
20
|
import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.js";
|
|
22
21
|
import { ShippingClient } from "../resources/shipping/client/Client.js";
|
|
23
22
|
import { StandsClient } from "../resources/stands/client/Client.js";
|
|
24
23
|
import { StripeConnectClient } from "../resources/stripeConnect/client/Client.js";
|
|
25
|
-
import { TaxCodesClient } from "../resources/taxCodes/client/Client.js";
|
|
26
24
|
import { TemporaryLocationsClient } from "../resources/temporaryLocations/client/Client.js";
|
|
27
25
|
export declare namespace BusinessClient {
|
|
28
26
|
type Options = BaseClientOptions;
|
|
@@ -34,9 +32,6 @@ export declare class BusinessClient {
|
|
|
34
32
|
protected _businesses: BusinessesClient | undefined;
|
|
35
33
|
protected _claims: ClaimsClient | undefined;
|
|
36
34
|
protected _productOrders: ProductOrdersClient | undefined;
|
|
37
|
-
protected _priceLists: PriceListsClient | undefined;
|
|
38
|
-
protected _products: ProductsClient | undefined;
|
|
39
|
-
protected _taxCodes: TaxCodesClient | undefined;
|
|
40
35
|
protected _events: EventsClient | undefined;
|
|
41
36
|
protected _gallery: GalleryClient | undefined;
|
|
42
37
|
protected _hours: HoursClient | undefined;
|
|
@@ -52,6 +47,7 @@ export declare class BusinessClient {
|
|
|
52
47
|
protected _allergens: AllergensClient | undefined;
|
|
53
48
|
protected _temporaryLocations: TemporaryLocationsClient | undefined;
|
|
54
49
|
protected _productCategories: ProductCategoriesClient | undefined;
|
|
50
|
+
protected _commerce: CommerceClient | undefined;
|
|
55
51
|
protected _shipping: ShippingClient | undefined;
|
|
56
52
|
constructor(options?: BusinessClient.Options);
|
|
57
53
|
get auth(): AuthClient;
|
|
@@ -59,9 +55,6 @@ export declare class BusinessClient {
|
|
|
59
55
|
get businesses(): BusinessesClient;
|
|
60
56
|
get claims(): ClaimsClient;
|
|
61
57
|
get productOrders(): ProductOrdersClient;
|
|
62
|
-
get priceLists(): PriceListsClient;
|
|
63
|
-
get products(): ProductsClient;
|
|
64
|
-
get taxCodes(): TaxCodesClient;
|
|
65
58
|
get events(): EventsClient;
|
|
66
59
|
get gallery(): GalleryClient;
|
|
67
60
|
get hours(): HoursClient;
|
|
@@ -77,5 +70,6 @@ export declare class BusinessClient {
|
|
|
77
70
|
get allergens(): AllergensClient;
|
|
78
71
|
get temporaryLocations(): TemporaryLocationsClient;
|
|
79
72
|
get productCategories(): ProductCategoriesClient;
|
|
73
|
+
get commerce(): CommerceClient;
|
|
80
74
|
get shipping(): ShippingClient;
|
|
81
75
|
}
|
|
@@ -10,23 +10,21 @@ const Client_js_4 = require("../resources/businesses/client/Client.js");
|
|
|
10
10
|
const Client_js_5 = require("../resources/categories/client/Client.js");
|
|
11
11
|
const Client_js_6 = require("../resources/certifications/client/Client.js");
|
|
12
12
|
const Client_js_7 = require("../resources/claims/client/Client.js");
|
|
13
|
-
const Client_js_8 = require("../resources/
|
|
14
|
-
const Client_js_9 = require("../resources/
|
|
15
|
-
const Client_js_10 = require("../resources/
|
|
16
|
-
const Client_js_11 = require("../resources/
|
|
17
|
-
const Client_js_12 = require("../resources/
|
|
18
|
-
const Client_js_13 = require("../resources/
|
|
19
|
-
const Client_js_14 = require("../resources/
|
|
13
|
+
const Client_js_8 = require("../resources/commerce/client/Client.js");
|
|
14
|
+
const Client_js_9 = require("../resources/cuisines/client/Client.js");
|
|
15
|
+
const Client_js_10 = require("../resources/events/client/Client.js");
|
|
16
|
+
const Client_js_11 = require("../resources/gallery/client/Client.js");
|
|
17
|
+
const Client_js_12 = require("../resources/hours/client/Client.js");
|
|
18
|
+
const Client_js_13 = require("../resources/menus/client/Client.js");
|
|
19
|
+
const Client_js_14 = require("../resources/messaging/client/Client.js");
|
|
20
20
|
const Client_js_15 = require("../resources/productCategories/client/Client.js");
|
|
21
21
|
const Client_js_16 = require("../resources/productOrders/client/Client.js");
|
|
22
|
-
const Client_js_17 = require("../resources/
|
|
23
|
-
const Client_js_18 = require("../resources/
|
|
24
|
-
const Client_js_19 = require("../resources/
|
|
25
|
-
const Client_js_20 = require("../resources/
|
|
26
|
-
const Client_js_21 = require("../resources/
|
|
27
|
-
const Client_js_22 = require("../resources/
|
|
28
|
-
const Client_js_23 = require("../resources/taxCodes/client/Client.js");
|
|
29
|
-
const Client_js_24 = require("../resources/temporaryLocations/client/Client.js");
|
|
22
|
+
const Client_js_17 = require("../resources/profile/client/Client.js");
|
|
23
|
+
const Client_js_18 = require("../resources/pushNotifications/client/Client.js");
|
|
24
|
+
const Client_js_19 = require("../resources/shipping/client/Client.js");
|
|
25
|
+
const Client_js_20 = require("../resources/stands/client/Client.js");
|
|
26
|
+
const Client_js_21 = require("../resources/stripeConnect/client/Client.js");
|
|
27
|
+
const Client_js_22 = require("../resources/temporaryLocations/client/Client.js");
|
|
30
28
|
class BusinessClient {
|
|
31
29
|
constructor(options = {}) {
|
|
32
30
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
@@ -51,57 +49,45 @@ class BusinessClient {
|
|
|
51
49
|
var _a;
|
|
52
50
|
return ((_a = this._productOrders) !== null && _a !== void 0 ? _a : (this._productOrders = new Client_js_16.ProductOrdersClient(this._options)));
|
|
53
51
|
}
|
|
54
|
-
get priceLists() {
|
|
55
|
-
var _a;
|
|
56
|
-
return ((_a = this._priceLists) !== null && _a !== void 0 ? _a : (this._priceLists = new Client_js_14.PriceListsClient(this._options)));
|
|
57
|
-
}
|
|
58
|
-
get products() {
|
|
59
|
-
var _a;
|
|
60
|
-
return ((_a = this._products) !== null && _a !== void 0 ? _a : (this._products = new Client_js_17.ProductsClient(this._options)));
|
|
61
|
-
}
|
|
62
|
-
get taxCodes() {
|
|
63
|
-
var _a;
|
|
64
|
-
return ((_a = this._taxCodes) !== null && _a !== void 0 ? _a : (this._taxCodes = new Client_js_23.TaxCodesClient(this._options)));
|
|
65
|
-
}
|
|
66
52
|
get events() {
|
|
67
53
|
var _a;
|
|
68
|
-
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new
|
|
54
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_js_10.EventsClient(this._options)));
|
|
69
55
|
}
|
|
70
56
|
get gallery() {
|
|
71
57
|
var _a;
|
|
72
|
-
return ((_a = this._gallery) !== null && _a !== void 0 ? _a : (this._gallery = new
|
|
58
|
+
return ((_a = this._gallery) !== null && _a !== void 0 ? _a : (this._gallery = new Client_js_11.GalleryClient(this._options)));
|
|
73
59
|
}
|
|
74
60
|
get hours() {
|
|
75
61
|
var _a;
|
|
76
|
-
return ((_a = this._hours) !== null && _a !== void 0 ? _a : (this._hours = new
|
|
62
|
+
return ((_a = this._hours) !== null && _a !== void 0 ? _a : (this._hours = new Client_js_12.HoursClient(this._options)));
|
|
77
63
|
}
|
|
78
64
|
get menus() {
|
|
79
65
|
var _a;
|
|
80
|
-
return ((_a = this._menus) !== null && _a !== void 0 ? _a : (this._menus = new
|
|
66
|
+
return ((_a = this._menus) !== null && _a !== void 0 ? _a : (this._menus = new Client_js_13.MenusClient(this._options)));
|
|
81
67
|
}
|
|
82
68
|
get messaging() {
|
|
83
69
|
var _a;
|
|
84
|
-
return ((_a = this._messaging) !== null && _a !== void 0 ? _a : (this._messaging = new
|
|
70
|
+
return ((_a = this._messaging) !== null && _a !== void 0 ? _a : (this._messaging = new Client_js_14.MessagingClient(this._options)));
|
|
85
71
|
}
|
|
86
72
|
get profile() {
|
|
87
73
|
var _a;
|
|
88
|
-
return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new
|
|
74
|
+
return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new Client_js_17.ProfileClient(this._options)));
|
|
89
75
|
}
|
|
90
76
|
get pushNotifications() {
|
|
91
77
|
var _a;
|
|
92
|
-
return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new
|
|
78
|
+
return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new Client_js_18.PushNotificationsClient(this._options)));
|
|
93
79
|
}
|
|
94
80
|
get stands() {
|
|
95
81
|
var _a;
|
|
96
|
-
return ((_a = this._stands) !== null && _a !== void 0 ? _a : (this._stands = new
|
|
82
|
+
return ((_a = this._stands) !== null && _a !== void 0 ? _a : (this._stands = new Client_js_20.StandsClient(this._options)));
|
|
97
83
|
}
|
|
98
84
|
get stripeConnect() {
|
|
99
85
|
var _a;
|
|
100
|
-
return ((_a = this._stripeConnect) !== null && _a !== void 0 ? _a : (this._stripeConnect = new
|
|
86
|
+
return ((_a = this._stripeConnect) !== null && _a !== void 0 ? _a : (this._stripeConnect = new Client_js_21.StripeConnectClient(this._options)));
|
|
101
87
|
}
|
|
102
88
|
get cuisines() {
|
|
103
89
|
var _a;
|
|
104
|
-
return ((_a = this._cuisines) !== null && _a !== void 0 ? _a : (this._cuisines = new
|
|
90
|
+
return ((_a = this._cuisines) !== null && _a !== void 0 ? _a : (this._cuisines = new Client_js_9.CuisinesClient(this._options)));
|
|
105
91
|
}
|
|
106
92
|
get certifications() {
|
|
107
93
|
var _a;
|
|
@@ -117,15 +103,19 @@ class BusinessClient {
|
|
|
117
103
|
}
|
|
118
104
|
get temporaryLocations() {
|
|
119
105
|
var _a;
|
|
120
|
-
return ((_a = this._temporaryLocations) !== null && _a !== void 0 ? _a : (this._temporaryLocations = new
|
|
106
|
+
return ((_a = this._temporaryLocations) !== null && _a !== void 0 ? _a : (this._temporaryLocations = new Client_js_22.TemporaryLocationsClient(this._options)));
|
|
121
107
|
}
|
|
122
108
|
get productCategories() {
|
|
123
109
|
var _a;
|
|
124
110
|
return ((_a = this._productCategories) !== null && _a !== void 0 ? _a : (this._productCategories = new Client_js_15.ProductCategoriesClient(this._options)));
|
|
125
111
|
}
|
|
112
|
+
get commerce() {
|
|
113
|
+
var _a;
|
|
114
|
+
return ((_a = this._commerce) !== null && _a !== void 0 ? _a : (this._commerce = new Client_js_8.CommerceClient(this._options)));
|
|
115
|
+
}
|
|
126
116
|
get shipping() {
|
|
127
117
|
var _a;
|
|
128
|
-
return ((_a = this._shipping) !== null && _a !== void 0 ? _a : (this._shipping = new
|
|
118
|
+
return ((_a = this._shipping) !== null && _a !== void 0 ? _a : (this._shipping = new Client_js_19.ShippingClient(this._options)));
|
|
129
119
|
}
|
|
130
120
|
}
|
|
131
121
|
exports.BusinessClient = BusinessClient;
|
|
@@ -99,7 +99,6 @@ export declare class AuthClient {
|
|
|
99
99
|
/**
|
|
100
100
|
* Revoke the current API token and log out the business user.
|
|
101
101
|
*
|
|
102
|
-
* @param {FiveOneEat.business.LogoutAuthRequest} request
|
|
103
102
|
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
104
103
|
*
|
|
105
104
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
@@ -107,7 +106,7 @@ export declare class AuthClient {
|
|
|
107
106
|
* @example
|
|
108
107
|
* await client.business.auth.logout()
|
|
109
108
|
*/
|
|
110
|
-
logout(
|
|
109
|
+
logout(requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.LogoutAuthResponse>;
|
|
111
110
|
private __logout;
|
|
112
111
|
/**
|
|
113
112
|
* Revoke all API tokens for the authenticated business user.
|
|
@@ -341,7 +341,6 @@ class AuthClient {
|
|
|
341
341
|
/**
|
|
342
342
|
* Revoke the current API token and log out the business user.
|
|
343
343
|
*
|
|
344
|
-
* @param {FiveOneEat.business.LogoutAuthRequest} request
|
|
345
344
|
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
346
345
|
*
|
|
347
346
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
@@ -349,11 +348,11 @@ class AuthClient {
|
|
|
349
348
|
* @example
|
|
350
349
|
* await client.business.auth.logout()
|
|
351
350
|
*/
|
|
352
|
-
logout(
|
|
353
|
-
return core.HttpResponsePromise.fromPromise(this.__logout(
|
|
351
|
+
logout(requestOptions) {
|
|
352
|
+
return core.HttpResponsePromise.fromPromise(this.__logout(requestOptions));
|
|
354
353
|
}
|
|
355
|
-
__logout() {
|
|
356
|
-
return __awaiter(this,
|
|
354
|
+
__logout(requestOptions) {
|
|
355
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
357
356
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
358
357
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
359
358
|
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);
|
|
@@ -361,10 +360,7 @@ class AuthClient {
|
|
|
361
360
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, "business/logout"),
|
|
362
361
|
method: "POST",
|
|
363
362
|
headers: _headers,
|
|
364
|
-
contentType: "application/json",
|
|
365
363
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
366
|
-
requestType: "json",
|
|
367
|
-
body: request,
|
|
368
364
|
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,
|
|
369
365
|
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,
|
|
370
366
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export type { ForgotPasswordRequest } from "./ForgotPasswordRequest.js";
|
|
2
2
|
export type { LoginBusinessRequest } from "./LoginBusinessRequest.js";
|
|
3
|
-
export type { LogoutAuthRequest } from "./LogoutAuthRequest.js";
|
|
4
3
|
export type { RegisterBusinessRequest } from "./RegisterBusinessRequest.js";
|
|
5
4
|
export type { ResetPasswordRequest } from "./ResetPasswordRequest.js";
|
|
6
5
|
export type { SwitchBusinessAuthRequest } from "./SwitchBusinessAuthRequest.js";
|
|
@@ -29,6 +29,12 @@ export declare class BusinessesClient {
|
|
|
29
29
|
* Create a new business owned by the authenticated user. The newly created
|
|
30
30
|
* business is automatically set as the user's active business.
|
|
31
31
|
*
|
|
32
|
+
* When the business matches unclaimed listings already on 51Eat (same
|
|
33
|
+
* phone, website domain, or name within 2 km), nothing is created and the
|
|
34
|
+
* response is 409 with those listings in `existing_listings`: offer to
|
|
35
|
+
* claim one (`POST /claim-requests`), or send `create_anyway: true` to
|
|
36
|
+
* create it regardless.
|
|
37
|
+
*
|
|
32
38
|
* @param {FiveOneEat.business.StoreBusinessRequest} request
|
|
33
39
|
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
40
|
*
|
|
@@ -84,7 +90,9 @@ export declare class BusinessesClient {
|
|
|
84
90
|
update(request: FiveOneEat.business.UpdateBusinessRequest, requestOptions?: BusinessesClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.UpdateBusinessesResponse>;
|
|
85
91
|
private __update;
|
|
86
92
|
/**
|
|
87
|
-
* Delete a business owned by the authenticated user.
|
|
93
|
+
* Delete a business owned by the authenticated user. A business with
|
|
94
|
+
* market history (dues or market-day attendance), or one that has taken
|
|
95
|
+
* payments, can't be deleted (422).
|
|
88
96
|
*
|
|
89
97
|
* @param {FiveOneEat.business.DeleteBusinessesRequest} request
|
|
90
98
|
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -92,6 +100,7 @@ export declare class BusinessesClient {
|
|
|
92
100
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
93
101
|
* @throws {@link FiveOneEat.ForbiddenError}
|
|
94
102
|
* @throws {@link FiveOneEat.NotFoundError}
|
|
103
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
95
104
|
*
|
|
96
105
|
* @example
|
|
97
106
|
* await client.business.businesses.delete({
|
|
@@ -135,6 +135,12 @@ class BusinessesClient {
|
|
|
135
135
|
* Create a new business owned by the authenticated user. The newly created
|
|
136
136
|
* business is automatically set as the user's active business.
|
|
137
137
|
*
|
|
138
|
+
* When the business matches unclaimed listings already on 51Eat (same
|
|
139
|
+
* phone, website domain, or name within 2 km), nothing is created and the
|
|
140
|
+
* response is 409 with those listings in `existing_listings`: offer to
|
|
141
|
+
* claim one (`POST /claim-requests`), or send `create_anyway: true` to
|
|
142
|
+
* create it regardless.
|
|
143
|
+
*
|
|
138
144
|
* @param {FiveOneEat.business.StoreBusinessRequest} request
|
|
139
145
|
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
140
146
|
*
|
|
@@ -323,7 +329,9 @@ class BusinessesClient {
|
|
|
323
329
|
});
|
|
324
330
|
}
|
|
325
331
|
/**
|
|
326
|
-
* Delete a business owned by the authenticated user.
|
|
332
|
+
* Delete a business owned by the authenticated user. A business with
|
|
333
|
+
* market history (dues or market-day attendance), or one that has taken
|
|
334
|
+
* payments, can't be deleted (422).
|
|
327
335
|
*
|
|
328
336
|
* @param {FiveOneEat.business.DeleteBusinessesRequest} request
|
|
329
337
|
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -331,6 +339,7 @@ class BusinessesClient {
|
|
|
331
339
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
332
340
|
* @throws {@link FiveOneEat.ForbiddenError}
|
|
333
341
|
* @throws {@link FiveOneEat.NotFoundError}
|
|
342
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
334
343
|
*
|
|
335
344
|
* @example
|
|
336
345
|
* await client.business.businesses.delete({
|
|
@@ -368,6 +377,8 @@ class BusinessesClient {
|
|
|
368
377
|
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
369
378
|
case 404:
|
|
370
379
|
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
380
|
+
case 422:
|
|
381
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
371
382
|
default:
|
|
372
383
|
throw new errors.FiveOneEatError({
|
|
373
384
|
statusCode: _response.error.statusCode,
|
|
@@ -24,6 +24,7 @@ export interface StoreBusinessRequest {
|
|
|
24
24
|
has_location?: boolean;
|
|
25
25
|
seasonal?: boolean;
|
|
26
26
|
operating_months?: StoreBusinessRequest.OperatingMonths.Item[] | null;
|
|
27
|
+
create_anyway?: boolean;
|
|
27
28
|
}
|
|
28
29
|
export declare namespace StoreBusinessRequest {
|
|
29
30
|
type OperatingMonths = OperatingMonths.Item[];
|
|
@@ -36,6 +36,7 @@ export declare class ClaimsClient {
|
|
|
36
36
|
* @param {ClaimsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
37
|
*
|
|
38
38
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
39
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
39
40
|
* @throws {@link FiveOneEat.ConflictError}
|
|
40
41
|
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
41
42
|
*
|
|
@@ -52,6 +53,9 @@ export declare class ClaimsClient {
|
|
|
52
53
|
* @param {ClaimsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
54
|
*
|
|
54
55
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
56
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
57
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
58
|
+
* @throws {@link FiveOneEat.ConflictError}
|
|
55
59
|
*
|
|
56
60
|
* @example
|
|
57
61
|
* await client.business.claims.claimViaToken({
|
|
@@ -169,6 +169,7 @@ class ClaimsClient {
|
|
|
169
169
|
* @param {ClaimsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
170
170
|
*
|
|
171
171
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
172
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
172
173
|
* @throws {@link FiveOneEat.ConflictError}
|
|
173
174
|
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
174
175
|
*
|
|
@@ -210,6 +211,8 @@ class ClaimsClient {
|
|
|
210
211
|
switch (_response.error.statusCode) {
|
|
211
212
|
case 401:
|
|
212
213
|
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
214
|
+
case 403:
|
|
215
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
213
216
|
case 409:
|
|
214
217
|
throw new FiveOneEat.ConflictError(_response.error.body, _response.rawResponse);
|
|
215
218
|
case 422:
|
|
@@ -230,6 +233,9 @@ class ClaimsClient {
|
|
|
230
233
|
* @param {ClaimsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
231
234
|
*
|
|
232
235
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
236
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
237
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
238
|
+
* @throws {@link FiveOneEat.ConflictError}
|
|
233
239
|
*
|
|
234
240
|
* @example
|
|
235
241
|
* await client.business.claims.claimViaToken({
|
|
@@ -266,6 +272,12 @@ class ClaimsClient {
|
|
|
266
272
|
switch (_response.error.statusCode) {
|
|
267
273
|
case 401:
|
|
268
274
|
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
275
|
+
case 403:
|
|
276
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
277
|
+
case 404:
|
|
278
|
+
throw new FiveOneEat.NotFoundError(_response.error.body, _response.rawResponse);
|
|
279
|
+
case 409:
|
|
280
|
+
throw new FiveOneEat.ConflictError(_response.error.body, _response.rawResponse);
|
|
269
281
|
default:
|
|
270
282
|
throw new errors.FiveOneEatError({
|
|
271
283
|
statusCode: _response.error.statusCode,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { BaseClientOptions } from "../../../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
|
|
3
|
+
import { LocationsClient } from "../resources/locations/client/Client.js";
|
|
4
|
+
import { OrdersClient } from "../resources/orders/client/Client.js";
|
|
5
|
+
import { StockClient } from "../resources/stock/client/Client.js";
|
|
6
|
+
export declare namespace CommerceClient {
|
|
7
|
+
type Options = BaseClientOptions;
|
|
8
|
+
}
|
|
9
|
+
export declare class CommerceClient {
|
|
10
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CommerceClient.Options>;
|
|
11
|
+
protected _locations: LocationsClient | undefined;
|
|
12
|
+
protected _orders: OrdersClient | undefined;
|
|
13
|
+
protected _stock: StockClient | undefined;
|
|
14
|
+
constructor(options?: CommerceClient.Options);
|
|
15
|
+
get locations(): LocationsClient;
|
|
16
|
+
get orders(): OrdersClient;
|
|
17
|
+
get stock(): StockClient;
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CommerceClient = void 0;
|
|
5
|
+
const BaseClient_js_1 = require("../../../../../../BaseClient.js");
|
|
6
|
+
const Client_js_1 = require("../resources/locations/client/Client.js");
|
|
7
|
+
const Client_js_2 = require("../resources/orders/client/Client.js");
|
|
8
|
+
const Client_js_3 = require("../resources/stock/client/Client.js");
|
|
9
|
+
class CommerceClient {
|
|
10
|
+
constructor(options = {}) {
|
|
11
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
12
|
+
}
|
|
13
|
+
get locations() {
|
|
14
|
+
var _a;
|
|
15
|
+
return ((_a = this._locations) !== null && _a !== void 0 ? _a : (this._locations = new Client_js_1.LocationsClient(this._options)));
|
|
16
|
+
}
|
|
17
|
+
get orders() {
|
|
18
|
+
var _a;
|
|
19
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_2.OrdersClient(this._options)));
|
|
20
|
+
}
|
|
21
|
+
get stock() {
|
|
22
|
+
var _a;
|
|
23
|
+
return ((_a = this._stock) !== null && _a !== void 0 ? _a : (this._stock = new Client_js_3.StockClient(this._options)));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.CommerceClient = CommerceClient;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.CommerceClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "CommerceClient", { enumerable: true, get: function () { return Client_js_1.CommerceClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
22
|
+
__exportStar(require("./resources/index.js"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./resources/index.js"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * as locations from "./locations/index.js";
|
|
2
|
+
export * from "./locations/types/index.js";
|
|
3
|
+
export * from "./orders/client/requests/index.js";
|
|
4
|
+
export * as orders from "./orders/index.js";
|
|
5
|
+
export * from "./orders/types/index.js";
|
|
6
|
+
export * from "./stock/client/requests/index.js";
|
|
7
|
+
export * as stock from "./stock/index.js";
|
|
8
|
+
export * from "./stock/types/index.js";
|