@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
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.OrdersClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../../../core/index.js"));
|
|
50
|
+
const environments = __importStar(require("../../../../../../environments.js"));
|
|
51
|
+
const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
|
|
52
|
+
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
53
|
+
const FiveOneEat = __importStar(require("../../../../../index.js"));
|
|
54
|
+
class OrdersClient {
|
|
55
|
+
constructor(options = {}) {
|
|
56
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The signed-in buyer's orders, newest first, 24 to a page. An order
|
|
60
|
+
* whose payment is still in flight or never went through isn't listed.
|
|
61
|
+
* While selling is paused the list is empty.
|
|
62
|
+
*
|
|
63
|
+
* @param {FiveOneEat.commerce.ListOrdersRequest} request
|
|
64
|
+
* @param {OrdersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* await client.commerce.orders.list()
|
|
70
|
+
*/
|
|
71
|
+
list(request = {}, requestOptions) {
|
|
72
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
73
|
+
}
|
|
74
|
+
__list() {
|
|
75
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
76
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
77
|
+
const { page } = request;
|
|
78
|
+
const _queryParams = {
|
|
79
|
+
page,
|
|
80
|
+
};
|
|
81
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
82
|
+
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);
|
|
83
|
+
const _response = yield core.fetcher({
|
|
84
|
+
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, "commerce/orders"),
|
|
85
|
+
method: "GET",
|
|
86
|
+
headers: _headers,
|
|
87
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
88
|
+
queryString: core.url
|
|
89
|
+
.queryBuilder()
|
|
90
|
+
.addMany(_queryParams)
|
|
91
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
92
|
+
.build(),
|
|
93
|
+
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,
|
|
94
|
+
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,
|
|
95
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
96
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
97
|
+
logging: this._options.logging,
|
|
98
|
+
});
|
|
99
|
+
if (_response.ok) {
|
|
100
|
+
return {
|
|
101
|
+
data: _response.body,
|
|
102
|
+
rawResponse: _response.rawResponse,
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
if (_response.error.reason === "status-code") {
|
|
106
|
+
switch (_response.error.statusCode) {
|
|
107
|
+
case 401:
|
|
108
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
109
|
+
default:
|
|
110
|
+
throw new errors.FiveOneEatError({
|
|
111
|
+
statusCode: _response.error.statusCode,
|
|
112
|
+
body: _response.error.body,
|
|
113
|
+
rawResponse: _response.rawResponse,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/commerce/orders");
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* One order, for its signed-in buyer, for whoever holds a signed link to
|
|
122
|
+
* it (`signature` and the rest of the link's query, which never expires;
|
|
123
|
+
* a guest's link shows only their own order), or for whoever holds the
|
|
124
|
+
* token of the cart it was placed from.
|
|
125
|
+
*
|
|
126
|
+
* @param {FiveOneEat.commerce.GetOrdersRequest} request
|
|
127
|
+
* @param {OrdersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
130
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* await client.commerce.orders.get({
|
|
134
|
+
* order: "order"
|
|
135
|
+
* })
|
|
136
|
+
*/
|
|
137
|
+
get(request, requestOptions) {
|
|
138
|
+
return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
|
|
139
|
+
}
|
|
140
|
+
__get(request, requestOptions) {
|
|
141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
143
|
+
const { order, "X-Cart-Token": cartToken } = request;
|
|
144
|
+
const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Cart-Token": cartToken }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
145
|
+
const _response = yield core.fetcher({
|
|
146
|
+
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, `commerce/orders/${core.url.encodePathParam(order)}`),
|
|
147
|
+
method: "GET",
|
|
148
|
+
headers: _headers,
|
|
149
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
150
|
+
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,
|
|
151
|
+
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,
|
|
152
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
153
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
154
|
+
logging: this._options.logging,
|
|
155
|
+
});
|
|
156
|
+
if (_response.ok) {
|
|
157
|
+
return {
|
|
158
|
+
data: _response.body,
|
|
159
|
+
rawResponse: _response.rawResponse,
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
if (_response.error.reason === "status-code") {
|
|
163
|
+
switch (_response.error.statusCode) {
|
|
164
|
+
case 403:
|
|
165
|
+
throw new FiveOneEat.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
166
|
+
case 422:
|
|
167
|
+
throw new FiveOneEat.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
168
|
+
default:
|
|
169
|
+
throw new errors.FiveOneEatError({
|
|
170
|
+
statusCode: _response.error.statusCode,
|
|
171
|
+
body: _response.error.body,
|
|
172
|
+
rawResponse: _response.rawResponse,
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/commerce/orders/{order}");
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
exports.OrdersClient = OrdersClient;
|
|
@@ -0,0 +1,21 @@
|
|
|
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.OrdersClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "OrdersClient", { enumerable: true, get: function () { return Client_js_1.OrdersClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type * as FiveOneEat from "../../../../../index.js";
|
|
2
|
+
export interface ListOrdersResponse {
|
|
3
|
+
data: FiveOneEat.BuyerOrder[];
|
|
4
|
+
links: ListOrdersResponse.Links;
|
|
5
|
+
meta: ListOrdersResponse.Meta;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace ListOrdersResponse {
|
|
8
|
+
interface Links {
|
|
9
|
+
first: string | null;
|
|
10
|
+
last: string | null;
|
|
11
|
+
prev: string | null;
|
|
12
|
+
next: string | null;
|
|
13
|
+
}
|
|
14
|
+
interface Meta {
|
|
15
|
+
current_page: number;
|
|
16
|
+
from: number | null;
|
|
17
|
+
last_page: number;
|
|
18
|
+
/** Generated paginator links. */
|
|
19
|
+
links: Meta.Links.Item[];
|
|
20
|
+
/** Base path for paginator generated URLs. */
|
|
21
|
+
path: string | null;
|
|
22
|
+
/** Number of items shown per page. */
|
|
23
|
+
per_page: number;
|
|
24
|
+
/** Number of the last item in the slice. */
|
|
25
|
+
to: number | null;
|
|
26
|
+
/** Total number of items being paginated. */
|
|
27
|
+
total: number;
|
|
28
|
+
}
|
|
29
|
+
namespace Meta {
|
|
30
|
+
type Links = Links.Item[];
|
|
31
|
+
namespace Links {
|
|
32
|
+
interface Item {
|
|
33
|
+
url: string | null;
|
|
34
|
+
label: string;
|
|
35
|
+
active: boolean;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -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("./GetOrdersResponse.js"), exports);
|
|
18
|
+
__exportStar(require("./ListOrdersResponse.js"), exports);
|
|
@@ -6,7 +6,7 @@ import { AdsClient } from "../resources/ads/client/Client.js";
|
|
|
6
6
|
import { AuthClient } from "../resources/auth/client/Client.js";
|
|
7
7
|
import { BusinessesClient } from "../resources/businesses/client/Client.js";
|
|
8
8
|
import { BusinessSubmissionsClient } from "../resources/businessSubmissions/client/Client.js";
|
|
9
|
-
import {
|
|
9
|
+
import { CatalogClient } from "../resources/catalog/client/Client.js";
|
|
10
10
|
import { DiscoveryClient } from "../resources/discovery/client/Client.js";
|
|
11
11
|
import { EditorialsClient } from "../resources/editorials/client/Client.js";
|
|
12
12
|
import { EventsClient } from "../resources/events/client/Client.js";
|
|
@@ -15,7 +15,6 @@ import { MeClient } from "../resources/me/client/Client.js";
|
|
|
15
15
|
import { MessagingClient } from "../resources/messaging/client/Client.js";
|
|
16
16
|
import { ProductOrdersClient } from "../resources/productOrders/client/Client.js";
|
|
17
17
|
import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.js";
|
|
18
|
-
import { ShopClient } from "../resources/shop/client/Client.js";
|
|
19
18
|
import { StandsClient } from "../resources/stands/client/Client.js";
|
|
20
19
|
export declare namespace CustomerClient {
|
|
21
20
|
type Options = BaseClientOptions;
|
|
@@ -28,7 +27,7 @@ export declare class CustomerClient {
|
|
|
28
27
|
protected _auth: AuthClient | undefined;
|
|
29
28
|
protected _businessSubmissions: BusinessSubmissionsClient | undefined;
|
|
30
29
|
protected _businesses: BusinessesClient | undefined;
|
|
31
|
-
protected
|
|
30
|
+
protected _catalog: CatalogClient | undefined;
|
|
32
31
|
protected _discovery: DiscoveryClient | undefined;
|
|
33
32
|
protected _explore: ExploreClient | undefined;
|
|
34
33
|
protected _editorials: EditorialsClient | undefined;
|
|
@@ -37,14 +36,13 @@ export declare class CustomerClient {
|
|
|
37
36
|
protected _me: MeClient | undefined;
|
|
38
37
|
protected _productOrders: ProductOrdersClient | undefined;
|
|
39
38
|
protected _pushNotifications: PushNotificationsClient | undefined;
|
|
40
|
-
protected _shop: ShopClient | undefined;
|
|
41
39
|
protected _stands: StandsClient | undefined;
|
|
42
40
|
constructor(options?: CustomerClient.Options);
|
|
43
41
|
get ads(): AdsClient;
|
|
44
42
|
get auth(): AuthClient;
|
|
45
43
|
get businessSubmissions(): BusinessSubmissionsClient;
|
|
46
44
|
get businesses(): BusinessesClient;
|
|
47
|
-
get
|
|
45
|
+
get catalog(): CatalogClient;
|
|
48
46
|
get discovery(): DiscoveryClient;
|
|
49
47
|
get explore(): ExploreClient;
|
|
50
48
|
get editorials(): EditorialsClient;
|
|
@@ -53,7 +51,6 @@ export declare class CustomerClient {
|
|
|
53
51
|
get me(): MeClient;
|
|
54
52
|
get productOrders(): ProductOrdersClient;
|
|
55
53
|
get pushNotifications(): PushNotificationsClient;
|
|
56
|
-
get shop(): ShopClient;
|
|
57
54
|
get stands(): StandsClient;
|
|
58
55
|
/**
|
|
59
56
|
* Returns grouped results for each type. Use per_type to control how many results
|
|
@@ -66,11 +63,7 @@ export declare class CustomerClient {
|
|
|
66
63
|
*
|
|
67
64
|
* @example
|
|
68
65
|
* await client.customer.search({
|
|
69
|
-
* q: "
|
|
70
|
-
* categories: "restaurant,bakery",
|
|
71
|
-
* city: "Buffalo",
|
|
72
|
-
* cuisines: "italian,mexican",
|
|
73
|
-
* certifications: "kosher,halal"
|
|
66
|
+
* q: "q"
|
|
74
67
|
* })
|
|
75
68
|
*/
|
|
76
69
|
search(request: FiveOneEat.SearchCustomerRequest, requestOptions?: CustomerClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.SearchCustomerResponse>;
|
|
@@ -47,7 +47,6 @@ exports.CustomerClient = void 0;
|
|
|
47
47
|
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
48
48
|
const headers_js_1 = require("../../../../core/headers.js");
|
|
49
49
|
const core = __importStar(require("../../../../core/index.js"));
|
|
50
|
-
const json_js_1 = require("../../../../core/json.js");
|
|
51
50
|
const environments = __importStar(require("../../../../environments.js"));
|
|
52
51
|
const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
|
|
53
52
|
const errors = __importStar(require("../../../../errors/index.js"));
|
|
@@ -56,7 +55,7 @@ const Client_js_1 = require("../resources/ads/client/Client.js");
|
|
|
56
55
|
const Client_js_2 = require("../resources/auth/client/Client.js");
|
|
57
56
|
const Client_js_3 = require("../resources/businesses/client/Client.js");
|
|
58
57
|
const Client_js_4 = require("../resources/businessSubmissions/client/Client.js");
|
|
59
|
-
const Client_js_5 = require("../resources/
|
|
58
|
+
const Client_js_5 = require("../resources/catalog/client/Client.js");
|
|
60
59
|
const Client_js_6 = require("../resources/discovery/client/Client.js");
|
|
61
60
|
const Client_js_7 = require("../resources/editorials/client/Client.js");
|
|
62
61
|
const Client_js_8 = require("../resources/events/client/Client.js");
|
|
@@ -65,8 +64,7 @@ const Client_js_10 = require("../resources/me/client/Client.js");
|
|
|
65
64
|
const Client_js_11 = require("../resources/messaging/client/Client.js");
|
|
66
65
|
const Client_js_12 = require("../resources/productOrders/client/Client.js");
|
|
67
66
|
const Client_js_13 = require("../resources/pushNotifications/client/Client.js");
|
|
68
|
-
const Client_js_14 = require("../resources/
|
|
69
|
-
const Client_js_15 = require("../resources/stands/client/Client.js");
|
|
67
|
+
const Client_js_14 = require("../resources/stands/client/Client.js");
|
|
70
68
|
class CustomerClient {
|
|
71
69
|
constructor(options = {}) {
|
|
72
70
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
@@ -87,9 +85,9 @@ class CustomerClient {
|
|
|
87
85
|
var _a;
|
|
88
86
|
return ((_a = this._businesses) !== null && _a !== void 0 ? _a : (this._businesses = new Client_js_3.BusinessesClient(this._options)));
|
|
89
87
|
}
|
|
90
|
-
get
|
|
88
|
+
get catalog() {
|
|
91
89
|
var _a;
|
|
92
|
-
return ((_a = this.
|
|
90
|
+
return ((_a = this._catalog) !== null && _a !== void 0 ? _a : (this._catalog = new Client_js_5.CatalogClient(this._options)));
|
|
93
91
|
}
|
|
94
92
|
get discovery() {
|
|
95
93
|
var _a;
|
|
@@ -123,13 +121,9 @@ class CustomerClient {
|
|
|
123
121
|
var _a;
|
|
124
122
|
return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new Client_js_13.PushNotificationsClient(this._options)));
|
|
125
123
|
}
|
|
126
|
-
get shop() {
|
|
127
|
-
var _a;
|
|
128
|
-
return ((_a = this._shop) !== null && _a !== void 0 ? _a : (this._shop = new Client_js_14.ShopClient(this._options)));
|
|
129
|
-
}
|
|
130
124
|
get stands() {
|
|
131
125
|
var _a;
|
|
132
|
-
return ((_a = this._stands) !== null && _a !== void 0 ? _a : (this._stands = new
|
|
126
|
+
return ((_a = this._stands) !== null && _a !== void 0 ? _a : (this._stands = new Client_js_14.StandsClient(this._options)));
|
|
133
127
|
}
|
|
134
128
|
/**
|
|
135
129
|
* Returns grouped results for each type. Use per_type to control how many results
|
|
@@ -142,11 +136,7 @@ class CustomerClient {
|
|
|
142
136
|
*
|
|
143
137
|
* @example
|
|
144
138
|
* await client.customer.search({
|
|
145
|
-
* q: "
|
|
146
|
-
* categories: "restaurant,bakery",
|
|
147
|
-
* city: "Buffalo",
|
|
148
|
-
* cuisines: "italian,mexican",
|
|
149
|
-
* certifications: "kosher,halal"
|
|
139
|
+
* q: "q"
|
|
150
140
|
* })
|
|
151
141
|
*/
|
|
152
142
|
search(request, requestOptions) {
|
|
@@ -155,17 +145,17 @@ class CustomerClient {
|
|
|
155
145
|
__search(request, requestOptions) {
|
|
156
146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
157
147
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
158
|
-
const { q, categories, city, cuisines, certifications, radius_km: radiusKm, per_type: perType,
|
|
148
|
+
const { q, categories, city, cuisines, certifications, lat, lng, radius_km: radiusKm, per_type: perType, } = request;
|
|
159
149
|
const _queryParams = {
|
|
160
150
|
q,
|
|
161
151
|
categories,
|
|
162
152
|
city,
|
|
163
153
|
cuisines,
|
|
164
154
|
certifications,
|
|
155
|
+
lat,
|
|
156
|
+
lng,
|
|
165
157
|
radius_km: radiusKm,
|
|
166
158
|
per_type: perType,
|
|
167
|
-
lat: lat != null ? (0, json_js_1.toJson)(lat) : undefined,
|
|
168
|
-
lng: lng != null ? (0, json_js_1.toJson)(lng) : undefined,
|
|
169
159
|
};
|
|
170
160
|
const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
171
161
|
const _response = yield core.fetcher({
|
|
@@ -1,30 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
|
-
* q: "
|
|
5
|
-
* categories: "restaurant,bakery",
|
|
6
|
-
* city: "Buffalo",
|
|
7
|
-
* cuisines: "italian,mexican",
|
|
8
|
-
* certifications: "kosher,halal"
|
|
4
|
+
* q: "q"
|
|
9
5
|
* }
|
|
10
6
|
*/
|
|
11
7
|
export interface SearchCustomerRequest {
|
|
12
|
-
/** Search query */
|
|
13
8
|
q: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
/** Geo radius in kilometers (requires lat and lng) */
|
|
23
|
-
radius_km?: number;
|
|
24
|
-
/** Max results per type (default 5, max 20) */
|
|
25
|
-
per_type?: number;
|
|
26
|
-
/** Latitude for geo radius filter (requires lng and radius_km) */
|
|
27
|
-
lat?: Record<string, unknown>;
|
|
28
|
-
/** Longitude for geo radius filter (requires lat and radius_km) */
|
|
29
|
-
lng?: Record<string, unknown>;
|
|
9
|
+
categories?: string | null;
|
|
10
|
+
city?: string | null;
|
|
11
|
+
cuisines?: string | null;
|
|
12
|
+
certifications?: string | null;
|
|
13
|
+
lat?: number | null;
|
|
14
|
+
lng?: number | null;
|
|
15
|
+
radius_km?: number | null;
|
|
16
|
+
per_type?: number | null;
|
|
30
17
|
}
|
|
@@ -97,8 +97,9 @@ export declare class AuthClient {
|
|
|
97
97
|
me(requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.MeAuthResponse>;
|
|
98
98
|
private __me;
|
|
99
99
|
/**
|
|
100
|
-
* Update name, email, and/or password. All fields are optional. To change the
|
|
100
|
+
* Update name, email, phone, and/or password. All fields are optional. Send `phone: null` to clear it. To change the
|
|
101
101
|
* password, `current_password` must be provided alongside `password` and `password_confirmation`.
|
|
102
|
+
* Changing the email clears its verification.
|
|
102
103
|
*
|
|
103
104
|
* @param {FiveOneEat.customer.UpdateUserRequest} request
|
|
104
105
|
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -131,7 +132,7 @@ export declare class AuthClient {
|
|
|
131
132
|
deleteAccount(request: FiveOneEat.customer.DeleteAccountRequest, requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.DeleteAccountAuthResponse>;
|
|
132
133
|
private __deleteAccount;
|
|
133
134
|
/**
|
|
134
|
-
* Upload and replace the avatar for the authenticated customer.
|
|
135
|
+
* Upload and replace the avatar for the authenticated customer. The previous avatar file is deleted once the new one is stored.
|
|
135
136
|
*
|
|
136
137
|
* @param {FiveOneEat.customer.UploadAvatarRequest} request
|
|
137
138
|
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -161,7 +162,6 @@ export declare class AuthClient {
|
|
|
161
162
|
/**
|
|
162
163
|
* Revoke the current API token and log out the user.
|
|
163
164
|
*
|
|
164
|
-
* @param {FiveOneEat.customer.LogoutAuthRequest} request
|
|
165
165
|
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
166
166
|
*
|
|
167
167
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
@@ -169,7 +169,7 @@ export declare class AuthClient {
|
|
|
169
169
|
* @example
|
|
170
170
|
* await client.customer.auth.logout()
|
|
171
171
|
*/
|
|
172
|
-
logout(
|
|
172
|
+
logout(requestOptions?: AuthClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.LogoutAuthResponse>;
|
|
173
173
|
private __logout;
|
|
174
174
|
/**
|
|
175
175
|
* Revoke all API tokens for the authenticated user.
|
|
@@ -339,8 +339,9 @@ class AuthClient {
|
|
|
339
339
|
});
|
|
340
340
|
}
|
|
341
341
|
/**
|
|
342
|
-
* Update name, email, and/or password. All fields are optional. To change the
|
|
342
|
+
* Update name, email, phone, and/or password. All fields are optional. Send `phone: null` to clear it. To change the
|
|
343
343
|
* password, `current_password` must be provided alongside `password` and `password_confirmation`.
|
|
344
|
+
* Changing the email clears its verification.
|
|
344
345
|
*
|
|
345
346
|
* @param {FiveOneEat.customer.UpdateUserRequest} request
|
|
346
347
|
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -459,7 +460,7 @@ class AuthClient {
|
|
|
459
460
|
});
|
|
460
461
|
}
|
|
461
462
|
/**
|
|
462
|
-
* Upload and replace the avatar for the authenticated customer.
|
|
463
|
+
* Upload and replace the avatar for the authenticated customer. The previous avatar file is deleted once the new one is stored.
|
|
463
464
|
*
|
|
464
465
|
* @param {FiveOneEat.customer.UploadAvatarRequest} request
|
|
465
466
|
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -570,7 +571,6 @@ class AuthClient {
|
|
|
570
571
|
/**
|
|
571
572
|
* Revoke the current API token and log out the user.
|
|
572
573
|
*
|
|
573
|
-
* @param {FiveOneEat.customer.LogoutAuthRequest} request
|
|
574
574
|
* @param {AuthClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
575
575
|
*
|
|
576
576
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
@@ -578,11 +578,11 @@ class AuthClient {
|
|
|
578
578
|
* @example
|
|
579
579
|
* await client.customer.auth.logout()
|
|
580
580
|
*/
|
|
581
|
-
logout(
|
|
582
|
-
return core.HttpResponsePromise.fromPromise(this.__logout(
|
|
581
|
+
logout(requestOptions) {
|
|
582
|
+
return core.HttpResponsePromise.fromPromise(this.__logout(requestOptions));
|
|
583
583
|
}
|
|
584
|
-
__logout() {
|
|
585
|
-
return __awaiter(this,
|
|
584
|
+
__logout(requestOptions) {
|
|
585
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
586
586
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
587
587
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
588
588
|
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);
|
|
@@ -590,10 +590,7 @@ class AuthClient {
|
|
|
590
590
|
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, "customer/logout"),
|
|
591
591
|
method: "POST",
|
|
592
592
|
headers: _headers,
|
|
593
|
-
contentType: "application/json",
|
|
594
593
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
595
|
-
requestType: "json",
|
|
596
|
-
body: request,
|
|
597
594
|
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,
|
|
598
595
|
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,
|
|
599
596
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -2,7 +2,6 @@ export type { AppHttpRequestsApiV1CustomerAuthForgotPasswordRequest } from "./Ap
|
|
|
2
2
|
export type { AppHttpRequestsApiV1CustomerAuthResetPasswordRequest } from "./AppHttpRequestsApiV1CustomerAuthResetPasswordRequest.js";
|
|
3
3
|
export type { DeleteAccountRequest } from "./DeleteAccountRequest.js";
|
|
4
4
|
export type { LoginCustomerRequest } from "./LoginCustomerRequest.js";
|
|
5
|
-
export type { LogoutAuthRequest } from "./LogoutAuthRequest.js";
|
|
6
5
|
export type { RegisterCustomerRequest } from "./RegisterCustomerRequest.js";
|
|
7
6
|
export type { UpdateUserRequest } from "./UpdateUserRequest.js";
|
|
8
7
|
export type { UploadAvatarRequest } from "./UploadAvatarRequest.js";
|
|
@@ -24,10 +24,16 @@ export declare class BusinessSubmissionsClient {
|
|
|
24
24
|
list(requestOptions?: BusinessSubmissionsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.ListBusinessSubmissionsResponse>;
|
|
25
25
|
private __list;
|
|
26
26
|
/**
|
|
27
|
+
* When it matches unclaimed listings already on the map (same phone,
|
|
28
|
+
* website domain, or name within 2 km), nothing is submitted and the
|
|
29
|
+
* response is 409 with those listings in `existing_listings`: show them,
|
|
30
|
+
* offer the owner the claim flow, or send `submit_anyway: true`.
|
|
31
|
+
*
|
|
27
32
|
* @param {FiveOneEat.customer.StoreBusinessSubmissionRequest} request
|
|
28
33
|
* @param {BusinessSubmissionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
29
34
|
*
|
|
30
35
|
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
36
|
+
* @throws {@link FiveOneEat.ConflictError}
|
|
31
37
|
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
32
38
|
*
|
|
33
39
|
* @example
|