@51eat/sdk 0.0.36 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/errors/InternalServerError.d.ts +6 -0
- package/dist/cjs/api/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +6 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.js +54 -0
- package/dist/cjs/api/errors/index.d.ts +2 -0
- package/dist/cjs/api/errors/index.js +2 -0
- package/dist/cjs/api/resources/business/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/business/client/Client.js +39 -14
- package/dist/cjs/api/resources/business/resources/discounts/client/Client.d.ts +87 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/Client.js +361 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/DeleteDiscountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/GetDiscountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/GetDiscountsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.ts +39 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.js +18 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.ts +38 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.js +18 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/business/resources/discounts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/discounts/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/discounts/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/discounts/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/CreateDiscountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/CreateDiscountsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/GetDiscountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/GetDiscountsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/ListDiscountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/ListDiscountsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/index.js +21 -0
- package/dist/cjs/api/resources/business/resources/index.d.ts +15 -0
- package/dist/cjs/api/resources/business/resources/index.js +16 -1
- package/dist/cjs/api/resources/business/resources/productCategories/client/Client.d.ts +68 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/Client.js +297 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.ts +14 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/productCategories/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/productCategories/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/productCategories/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/productCategories/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/index.js +20 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.d.ts +109 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.js +429 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.js +3 -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/StoreTrackingRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/productOrders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/productOrders/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/productOrders/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/productOrders/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/index.js +22 -0
- package/dist/cjs/api/resources/business/resources/products/client/Client.d.ts +89 -0
- package/dist/cjs/api/resources/business/resources/products/client/Client.js +365 -0
- package/dist/cjs/api/resources/business/resources/products/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/products/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/DeleteProductsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/GetProductsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/GetProductsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts +65 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.js +30 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +65 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.js +30 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/business/resources/products/exports.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/products/exports.js +22 -0
- package/dist/cjs/api/resources/business/resources/products/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/products/index.js +19 -0
- package/dist/cjs/api/resources/business/resources/products/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/index.js +42 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.d.ts +62 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.js +258 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.d.ts +34 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.js +13 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.d.ts +32 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.js +13 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.js +19 -0
- package/dist/cjs/api/resources/business/resources/products/types/CreateProductsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/types/CreateProductsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/types/DeleteProductsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/products/types/DeleteProductsResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/products/types/GetProductsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/types/GetProductsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/types/ListProductsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/types/ListProductsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/types/UpdateProductsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/types/UpdateProductsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/products/types/index.js +21 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/Client.d.ts +87 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/Client.js +363 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.ts +22 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.ts +22 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/index.js +21 -0
- package/dist/cjs/api/resources/customer/client/Client.d.ts +9 -0
- package/dist/cjs/api/resources/customer/client/Client.js +29 -14
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +54 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.d.ts +127 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.js +477 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddToCartRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.ts +47 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutRequest.js +15 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.ts +45 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.js +15 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/customer/resources/cart/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/cart/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/cart/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/cart/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/AddItemCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/AddItemCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/CheckoutCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/ClearCartResponse.d.ts +9 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/ClearCartResponse.js +10 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.ts +18 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/GetCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/GetCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/RemoveItemCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/UpdateItemCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/index.js +23 -0
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js +1 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/{CreatePaymentIntentRequest.d.ts → AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/index.d.ts +9 -0
- package/dist/cjs/api/resources/customer/resources/index.js +10 -1
- package/dist/cjs/api/resources/customer/resources/productOrders/client/Client.d.ts +37 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/Client.js +162 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.js +225 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/shop/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/shop/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/shop/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/shop/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/index.js +19 -0
- package/dist/cjs/api/types/BusinessDiscount.d.ts +19 -0
- package/dist/cjs/api/types/BusinessDiscount.js +3 -0
- package/dist/cjs/api/types/BusinessProduct.d.ts +32 -0
- package/dist/cjs/api/types/BusinessProduct.js +3 -0
- package/dist/cjs/api/types/BusinessProductCategory.d.ts +12 -0
- package/dist/cjs/api/types/BusinessProductCategory.js +3 -0
- package/dist/cjs/api/types/BusinessProductOrder.d.ts +48 -0
- package/dist/cjs/api/types/BusinessProductOrder.js +3 -0
- package/dist/cjs/api/types/BusinessProductOrderItem.d.ts +24 -0
- package/dist/cjs/api/types/BusinessProductOrderItem.js +3 -0
- package/dist/cjs/api/types/BusinessProductVariant.d.ts +20 -0
- package/dist/cjs/api/types/BusinessProductVariant.js +3 -0
- package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +18 -0
- package/dist/cjs/api/types/BusinessTemporaryLocation.js +3 -0
- package/dist/cjs/api/types/CustomerCart.d.ts +9 -0
- package/dist/cjs/api/types/CustomerCart.js +3 -0
- package/dist/cjs/api/types/CustomerCartItem.d.ts +24 -0
- package/dist/cjs/api/types/CustomerCartItem.js +3 -0
- package/dist/cjs/api/types/CustomerProductOrder.d.ts +29 -0
- package/dist/cjs/api/types/CustomerProductOrder.js +3 -0
- package/dist/cjs/api/types/CustomerProductOrderItem.d.ts +23 -0
- package/dist/cjs/api/types/CustomerProductOrderItem.js +3 -0
- package/dist/cjs/api/types/CustomerShopProduct.d.ts +21 -0
- package/dist/cjs/api/types/CustomerShopProduct.js +3 -0
- package/dist/cjs/api/types/CustomerShopProductCategory.d.ts +8 -0
- package/dist/cjs/api/types/CustomerShopProductCategory.js +3 -0
- package/dist/cjs/api/types/CustomerShopProductVariant.d.ts +13 -0
- package/dist/cjs/api/types/CustomerShopProductVariant.js +3 -0
- package/dist/cjs/api/types/ExploreResponse.d.ts +1 -0
- package/dist/cjs/api/types/ExploreTemporaryLocation.d.ts +26 -0
- package/dist/cjs/api/types/ExploreTemporaryLocation.js +3 -0
- package/dist/cjs/api/types/InternalServerErrorBody.d.ts +3 -0
- package/dist/cjs/api/types/InternalServerErrorBody.js +3 -0
- package/dist/cjs/api/types/ServiceUnavailableErrorBody.d.ts +3 -0
- package/dist/cjs/api/types/ServiceUnavailableErrorBody.js +3 -0
- package/dist/cjs/api/types/index.d.ts +17 -0
- package/dist/cjs/api/types/index.js +17 -0
- 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/api/errors/InternalServerError.d.mts +6 -0
- package/dist/esm/api/errors/InternalServerError.mjs +17 -0
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +6 -0
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +17 -0
- package/dist/esm/api/errors/index.d.mts +2 -0
- package/dist/esm/api/errors/index.mjs +2 -0
- package/dist/esm/api/resources/business/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/business/client/Client.mjs +25 -0
- package/dist/esm/api/resources/business/resources/discounts/client/Client.d.mts +87 -0
- package/dist/esm/api/resources/business/resources/discounts/client/Client.mjs +324 -0
- package/dist/esm/api/resources/business/resources/discounts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/discounts/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/DeleteDiscountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/GetDiscountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/GetDiscountsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.mts +39 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.mjs +15 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.mts +38 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.mjs +15 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/discounts/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/discounts/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/discounts/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/types/CreateDiscountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/discounts/types/CreateDiscountsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/discounts/types/GetDiscountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/discounts/types/GetDiscountsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/types/ListDiscountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/discounts/types/ListDiscountsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/types/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/discounts/types/index.mjs +5 -0
- package/dist/esm/api/resources/business/resources/index.d.mts +15 -0
- package/dist/esm/api/resources/business/resources/index.mjs +15 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/Client.d.mts +68 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/Client.mjs +260 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.mts +14 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/productCategories/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/productCategories/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/index.mjs +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.d.mts +109 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.mjs +392 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.mjs +2 -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/StoreTrackingRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/productOrders/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/productOrders/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/index.d.mts +6 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/index.mjs +6 -0
- package/dist/esm/api/resources/business/resources/products/client/Client.d.mts +89 -0
- package/dist/esm/api/resources/business/resources/products/client/Client.mjs +328 -0
- package/dist/esm/api/resources/business/resources/products/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/products/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/DeleteProductsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/GetProductsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/GetProductsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.d.mts +65 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.mjs +27 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +65 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.mjs +27 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/exports.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/products/exports.mjs +4 -0
- package/dist/esm/api/resources/business/resources/products/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/products/index.mjs +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/index.mjs +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.d.mts +62 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.mjs +221 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.d.mts +34 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.mjs +10 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.d.mts +32 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.mjs +10 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.mjs +3 -0
- package/dist/esm/api/resources/business/resources/products/types/CreateProductsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/types/CreateProductsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/types/DeleteProductsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/products/types/DeleteProductsResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/products/types/GetProductsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/types/GetProductsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/types/ListProductsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/types/ListProductsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/types/UpdateProductsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/types/UpdateProductsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/types/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/products/types/index.mjs +5 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/Client.d.mts +87 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/Client.mjs +326 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.mts +22 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.mts +22 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/index.mjs +5 -0
- package/dist/esm/api/resources/customer/client/Client.d.mts +9 -0
- package/dist/esm/api/resources/customer/client/Client.mjs +15 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +54 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/cart/client/Client.d.mts +127 -0
- package/dist/esm/api/resources/customer/resources/cart/client/Client.mjs +440 -0
- package/dist/esm/api/resources/customer/resources/cart/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/cart/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/AddToCartRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.mts +47 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.mjs +12 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.mts +45 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.mjs +12 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.mts +12 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/cart/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/cart/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/cart/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/AddItemCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/cart/types/AddItemCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/cart/types/CheckoutCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/ClearCartResponse.d.mts +9 -0
- package/dist/esm/api/resources/customer/resources/cart/types/ClearCartResponse.mjs +7 -0
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.mts +18 -0
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/GetCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/cart/types/GetCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/cart/types/RemoveItemCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/cart/types/UpdateItemCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/index.d.mts +7 -0
- package/dist/esm/api/resources/customer/resources/cart/types/index.mjs +7 -0
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs +1 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/{CreatePaymentIntentRequest.d.mts → AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.mts} +1 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/index.d.mts +9 -0
- package/dist/esm/api/resources/customer/resources/index.mjs +9 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/Client.d.mts +37 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/Client.mjs +125 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/productOrders/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/productOrders/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/customer/resources/shop/client/Client.mjs +188 -0
- package/dist/esm/api/resources/customer/resources/shop/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/shop/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +13 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/shop/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/shop/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/shop/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/shop/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/types/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/shop/types/index.mjs +3 -0
- package/dist/esm/api/types/BusinessDiscount.d.mts +19 -0
- package/dist/esm/api/types/BusinessDiscount.mjs +2 -0
- package/dist/esm/api/types/BusinessProduct.d.mts +32 -0
- package/dist/esm/api/types/BusinessProduct.mjs +2 -0
- package/dist/esm/api/types/BusinessProductCategory.d.mts +12 -0
- package/dist/esm/api/types/BusinessProductCategory.mjs +2 -0
- package/dist/esm/api/types/BusinessProductOrder.d.mts +48 -0
- package/dist/esm/api/types/BusinessProductOrder.mjs +2 -0
- package/dist/esm/api/types/BusinessProductOrderItem.d.mts +24 -0
- package/dist/esm/api/types/BusinessProductOrderItem.mjs +2 -0
- package/dist/esm/api/types/BusinessProductVariant.d.mts +20 -0
- package/dist/esm/api/types/BusinessProductVariant.mjs +2 -0
- package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +18 -0
- package/dist/esm/api/types/BusinessTemporaryLocation.mjs +2 -0
- package/dist/esm/api/types/CustomerCart.d.mts +9 -0
- package/dist/esm/api/types/CustomerCart.mjs +2 -0
- package/dist/esm/api/types/CustomerCartItem.d.mts +24 -0
- package/dist/esm/api/types/CustomerCartItem.mjs +2 -0
- package/dist/esm/api/types/CustomerProductOrder.d.mts +29 -0
- package/dist/esm/api/types/CustomerProductOrder.mjs +2 -0
- package/dist/esm/api/types/CustomerProductOrderItem.d.mts +23 -0
- package/dist/esm/api/types/CustomerProductOrderItem.mjs +2 -0
- package/dist/esm/api/types/CustomerShopProduct.d.mts +21 -0
- package/dist/esm/api/types/CustomerShopProduct.mjs +2 -0
- package/dist/esm/api/types/CustomerShopProductCategory.d.mts +8 -0
- package/dist/esm/api/types/CustomerShopProductCategory.mjs +2 -0
- package/dist/esm/api/types/CustomerShopProductVariant.d.mts +13 -0
- package/dist/esm/api/types/CustomerShopProductVariant.mjs +2 -0
- package/dist/esm/api/types/ExploreResponse.d.mts +1 -0
- package/dist/esm/api/types/ExploreTemporaryLocation.d.mts +26 -0
- package/dist/esm/api/types/ExploreTemporaryLocation.mjs +2 -0
- package/dist/esm/api/types/InternalServerErrorBody.d.mts +3 -0
- package/dist/esm/api/types/InternalServerErrorBody.mjs +2 -0
- package/dist/esm/api/types/ServiceUnavailableErrorBody.d.mts +3 -0
- package/dist/esm/api/types/ServiceUnavailableErrorBody.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +17 -0
- package/dist/esm/api/types/index.mjs +17 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +100 -1
- package/reference.md +2877 -743
- /package/dist/cjs/api/resources/{customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.js → business/resources/discounts/client/requests/DeleteDiscountsRequest.js} +0 -0
- /package/dist/esm/api/resources/{customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.mjs → business/resources/discounts/client/requests/DeleteDiscountsRequest.mjs} +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* temporaryLocation: "temporaryLocation"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface UpdateTemporaryLocationRequest {
|
|
8
|
+
/** The temporary location ID */
|
|
9
|
+
temporaryLocation: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
notes?: string | null;
|
|
12
|
+
address?: string | null;
|
|
13
|
+
city?: string | null;
|
|
14
|
+
state?: string | null;
|
|
15
|
+
zipcode?: string | null;
|
|
16
|
+
country?: string | null;
|
|
17
|
+
latitude?: number | null;
|
|
18
|
+
longitude?: number | null;
|
|
19
|
+
hours?: string[] | null;
|
|
20
|
+
starts_at?: string;
|
|
21
|
+
ends_at?: string;
|
|
22
|
+
}
|
package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/index.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { DeleteTemporaryLocationsRequest } from "./DeleteTemporaryLocationsRequest.js";
|
|
2
|
+
export type { GetTemporaryLocationsRequest } from "./GetTemporaryLocationsRequest.js";
|
|
3
|
+
export type { StoreTemporaryLocationRequest } from "./StoreTemporaryLocationRequest.js";
|
|
4
|
+
export type { UpdateTemporaryLocationRequest } from "./UpdateTemporaryLocationRequest.js";
|
|
@@ -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.TemporaryLocationsClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "TemporaryLocationsClient", { enumerable: true, get: function () { return Client_js_1.TemporaryLocationsClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./types/index.js"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface DeleteTemporaryLocationsResponse {
|
|
2
|
+
message: DeleteTemporaryLocationsResponse.Message;
|
|
3
|
+
}
|
|
4
|
+
export declare namespace DeleteTemporaryLocationsResponse {
|
|
5
|
+
const Message: {
|
|
6
|
+
readonly TemporaryLocationDeletedSuccessfully: "Temporary location deleted successfully.";
|
|
7
|
+
};
|
|
8
|
+
type Message = (typeof Message)[keyof typeof Message];
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DeleteTemporaryLocationsResponse = void 0;
|
|
5
|
+
var DeleteTemporaryLocationsResponse;
|
|
6
|
+
(function (DeleteTemporaryLocationsResponse) {
|
|
7
|
+
DeleteTemporaryLocationsResponse.Message = {
|
|
8
|
+
TemporaryLocationDeletedSuccessfully: "Temporary location deleted successfully.",
|
|
9
|
+
};
|
|
10
|
+
})(DeleteTemporaryLocationsResponse || (exports.DeleteTemporaryLocationsResponse = DeleteTemporaryLocationsResponse = {}));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from "./CreateTemporaryLocationsResponse.js";
|
|
2
|
+
export * from "./DeleteTemporaryLocationsResponse.js";
|
|
3
|
+
export * from "./GetTemporaryLocationsResponse.js";
|
|
4
|
+
export * from "./ListTemporaryLocationsResponse.js";
|
|
5
|
+
export * from "./UpdateTemporaryLocationsResponse.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
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("./CreateTemporaryLocationsResponse.js"), exports);
|
|
18
|
+
__exportStar(require("./DeleteTemporaryLocationsResponse.js"), exports);
|
|
19
|
+
__exportStar(require("./GetTemporaryLocationsResponse.js"), exports);
|
|
20
|
+
__exportStar(require("./ListTemporaryLocationsResponse.js"), exports);
|
|
21
|
+
__exportStar(require("./UpdateTemporaryLocationsResponse.js"), exports);
|
|
@@ -4,13 +4,16 @@ import * as core from "../../../../core/index.js";
|
|
|
4
4
|
import * as FiveOneEat from "../../../index.js";
|
|
5
5
|
import { AuthClient } from "../resources/auth/client/Client.js";
|
|
6
6
|
import { BusinessesClient } from "../resources/businesses/client/Client.js";
|
|
7
|
+
import { CartClient } from "../resources/cart/client/Client.js";
|
|
7
8
|
import { DiscoveryClient } from "../resources/discovery/client/Client.js";
|
|
8
9
|
import { EditorialsClient } from "../resources/editorials/client/Client.js";
|
|
9
10
|
import { EventsClient } from "../resources/events/client/Client.js";
|
|
10
11
|
import { ExploreClient } from "../resources/explore/client/Client.js";
|
|
11
12
|
import { MeClient } from "../resources/me/client/Client.js";
|
|
12
13
|
import { MessagingClient } from "../resources/messaging/client/Client.js";
|
|
14
|
+
import { ProductOrdersClient } from "../resources/productOrders/client/Client.js";
|
|
13
15
|
import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.js";
|
|
16
|
+
import { ShopClient } from "../resources/shop/client/Client.js";
|
|
14
17
|
export declare namespace CustomerClient {
|
|
15
18
|
type Options = BaseClientOptions;
|
|
16
19
|
interface RequestOptions extends BaseRequestOptions {
|
|
@@ -20,23 +23,29 @@ export declare class CustomerClient {
|
|
|
20
23
|
protected readonly _options: NormalizedClientOptionsWithAuth<CustomerClient.Options>;
|
|
21
24
|
protected _auth: AuthClient | undefined;
|
|
22
25
|
protected _businesses: BusinessesClient | undefined;
|
|
26
|
+
protected _cart: CartClient | undefined;
|
|
23
27
|
protected _explore: ExploreClient | undefined;
|
|
24
28
|
protected _discovery: DiscoveryClient | undefined;
|
|
25
29
|
protected _editorials: EditorialsClient | undefined;
|
|
26
30
|
protected _events: EventsClient | undefined;
|
|
27
31
|
protected _messaging: MessagingClient | undefined;
|
|
28
32
|
protected _me: MeClient | undefined;
|
|
33
|
+
protected _productOrders: ProductOrdersClient | undefined;
|
|
29
34
|
protected _pushNotifications: PushNotificationsClient | undefined;
|
|
35
|
+
protected _shop: ShopClient | undefined;
|
|
30
36
|
constructor(options?: CustomerClient.Options);
|
|
31
37
|
get auth(): AuthClient;
|
|
32
38
|
get businesses(): BusinessesClient;
|
|
39
|
+
get cart(): CartClient;
|
|
33
40
|
get explore(): ExploreClient;
|
|
34
41
|
get discovery(): DiscoveryClient;
|
|
35
42
|
get editorials(): EditorialsClient;
|
|
36
43
|
get events(): EventsClient;
|
|
37
44
|
get messaging(): MessagingClient;
|
|
38
45
|
get me(): MeClient;
|
|
46
|
+
get productOrders(): ProductOrdersClient;
|
|
39
47
|
get pushNotifications(): PushNotificationsClient;
|
|
48
|
+
get shop(): ShopClient;
|
|
40
49
|
/**
|
|
41
50
|
* Returns grouped results for each type. Use per_type to control how many results
|
|
42
51
|
* appear per section. Optionally filter by category, city, or geo radius.
|
|
@@ -54,13 +54,16 @@ const errors = __importStar(require("../../../../errors/index.js"));
|
|
|
54
54
|
const FiveOneEat = __importStar(require("../../../index.js"));
|
|
55
55
|
const Client_js_1 = require("../resources/auth/client/Client.js");
|
|
56
56
|
const Client_js_2 = require("../resources/businesses/client/Client.js");
|
|
57
|
-
const Client_js_3 = require("../resources/
|
|
58
|
-
const Client_js_4 = require("../resources/
|
|
59
|
-
const Client_js_5 = require("../resources/
|
|
60
|
-
const Client_js_6 = require("../resources/
|
|
61
|
-
const Client_js_7 = require("../resources/
|
|
62
|
-
const Client_js_8 = require("../resources/
|
|
63
|
-
const Client_js_9 = require("../resources/
|
|
57
|
+
const Client_js_3 = require("../resources/cart/client/Client.js");
|
|
58
|
+
const Client_js_4 = require("../resources/discovery/client/Client.js");
|
|
59
|
+
const Client_js_5 = require("../resources/editorials/client/Client.js");
|
|
60
|
+
const Client_js_6 = require("../resources/events/client/Client.js");
|
|
61
|
+
const Client_js_7 = require("../resources/explore/client/Client.js");
|
|
62
|
+
const Client_js_8 = require("../resources/me/client/Client.js");
|
|
63
|
+
const Client_js_9 = require("../resources/messaging/client/Client.js");
|
|
64
|
+
const Client_js_10 = require("../resources/productOrders/client/Client.js");
|
|
65
|
+
const Client_js_11 = require("../resources/pushNotifications/client/Client.js");
|
|
66
|
+
const Client_js_12 = require("../resources/shop/client/Client.js");
|
|
64
67
|
class CustomerClient {
|
|
65
68
|
constructor(options = {}) {
|
|
66
69
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
@@ -73,33 +76,45 @@ class CustomerClient {
|
|
|
73
76
|
var _a;
|
|
74
77
|
return ((_a = this._businesses) !== null && _a !== void 0 ? _a : (this._businesses = new Client_js_2.BusinessesClient(this._options)));
|
|
75
78
|
}
|
|
79
|
+
get cart() {
|
|
80
|
+
var _a;
|
|
81
|
+
return ((_a = this._cart) !== null && _a !== void 0 ? _a : (this._cart = new Client_js_3.CartClient(this._options)));
|
|
82
|
+
}
|
|
76
83
|
get explore() {
|
|
77
84
|
var _a;
|
|
78
|
-
return ((_a = this._explore) !== null && _a !== void 0 ? _a : (this._explore = new
|
|
85
|
+
return ((_a = this._explore) !== null && _a !== void 0 ? _a : (this._explore = new Client_js_7.ExploreClient(this._options)));
|
|
79
86
|
}
|
|
80
87
|
get discovery() {
|
|
81
88
|
var _a;
|
|
82
|
-
return ((_a = this._discovery) !== null && _a !== void 0 ? _a : (this._discovery = new
|
|
89
|
+
return ((_a = this._discovery) !== null && _a !== void 0 ? _a : (this._discovery = new Client_js_4.DiscoveryClient(this._options)));
|
|
83
90
|
}
|
|
84
91
|
get editorials() {
|
|
85
92
|
var _a;
|
|
86
|
-
return ((_a = this._editorials) !== null && _a !== void 0 ? _a : (this._editorials = new
|
|
93
|
+
return ((_a = this._editorials) !== null && _a !== void 0 ? _a : (this._editorials = new Client_js_5.EditorialsClient(this._options)));
|
|
87
94
|
}
|
|
88
95
|
get events() {
|
|
89
96
|
var _a;
|
|
90
|
-
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new
|
|
97
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_js_6.EventsClient(this._options)));
|
|
91
98
|
}
|
|
92
99
|
get messaging() {
|
|
93
100
|
var _a;
|
|
94
|
-
return ((_a = this._messaging) !== null && _a !== void 0 ? _a : (this._messaging = new
|
|
101
|
+
return ((_a = this._messaging) !== null && _a !== void 0 ? _a : (this._messaging = new Client_js_9.MessagingClient(this._options)));
|
|
95
102
|
}
|
|
96
103
|
get me() {
|
|
97
104
|
var _a;
|
|
98
|
-
return ((_a = this._me) !== null && _a !== void 0 ? _a : (this._me = new
|
|
105
|
+
return ((_a = this._me) !== null && _a !== void 0 ? _a : (this._me = new Client_js_8.MeClient(this._options)));
|
|
106
|
+
}
|
|
107
|
+
get productOrders() {
|
|
108
|
+
var _a;
|
|
109
|
+
return ((_a = this._productOrders) !== null && _a !== void 0 ? _a : (this._productOrders = new Client_js_10.ProductOrdersClient(this._options)));
|
|
99
110
|
}
|
|
100
111
|
get pushNotifications() {
|
|
101
112
|
var _a;
|
|
102
|
-
return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new
|
|
113
|
+
return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new Client_js_11.PushNotificationsClient(this._options)));
|
|
114
|
+
}
|
|
115
|
+
get shop() {
|
|
116
|
+
var _a;
|
|
117
|
+
return ((_a = this._shop) !== null && _a !== void 0 ? _a : (this._shop = new Client_js_12.ShopClient(this._options)));
|
|
103
118
|
}
|
|
104
119
|
/**
|
|
105
120
|
* Returns grouped results for each type. Use per_type to control how many results
|
|
@@ -95,4 +95,19 @@ export declare class BusinessesClient {
|
|
|
95
95
|
*/
|
|
96
96
|
unfavorite(request: FiveOneEat.customer.UnfavoriteBusinessesRequest, requestOptions?: BusinessesClient.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
|
|
97
97
|
private __unfavorite;
|
|
98
|
+
/**
|
|
99
|
+
* Retrieve active and upcoming temporary locations for a business.
|
|
100
|
+
*
|
|
101
|
+
* @param {FiveOneEat.customer.ListTemporaryLocationsBusinessesRequest} request
|
|
102
|
+
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* await client.customer.businesses.listTemporaryLocations({
|
|
108
|
+
* handle: "katzs-deli"
|
|
109
|
+
* })
|
|
110
|
+
*/
|
|
111
|
+
listTemporaryLocations(request: FiveOneEat.customer.ListTemporaryLocationsBusinessesRequest, requestOptions?: BusinessesClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.ListTemporaryLocationsBusinessesResponse>;
|
|
112
|
+
private __listTemporaryLocations;
|
|
98
113
|
}
|
|
@@ -362,5 +362,59 @@ class BusinessesClient {
|
|
|
362
362
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/customer/businesses/{handle}/favorite");
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
|
+
/**
|
|
366
|
+
* Retrieve active and upcoming temporary locations for a business.
|
|
367
|
+
*
|
|
368
|
+
* @param {FiveOneEat.customer.ListTemporaryLocationsBusinessesRequest} request
|
|
369
|
+
* @param {BusinessesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
370
|
+
*
|
|
371
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
372
|
+
*
|
|
373
|
+
* @example
|
|
374
|
+
* await client.customer.businesses.listTemporaryLocations({
|
|
375
|
+
* handle: "katzs-deli"
|
|
376
|
+
* })
|
|
377
|
+
*/
|
|
378
|
+
listTemporaryLocations(request, requestOptions) {
|
|
379
|
+
return core.HttpResponsePromise.fromPromise(this.__listTemporaryLocations(request, requestOptions));
|
|
380
|
+
}
|
|
381
|
+
__listTemporaryLocations(request, requestOptions) {
|
|
382
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
383
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
384
|
+
const { handle } = request;
|
|
385
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
386
|
+
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);
|
|
387
|
+
const _response = yield core.fetcher({
|
|
388
|
+
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/businesses/${core.url.encodePathParam(handle)}/temporary-locations`),
|
|
389
|
+
method: "GET",
|
|
390
|
+
headers: _headers,
|
|
391
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
392
|
+
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,
|
|
393
|
+
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,
|
|
394
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
395
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
396
|
+
logging: this._options.logging,
|
|
397
|
+
});
|
|
398
|
+
if (_response.ok) {
|
|
399
|
+
return {
|
|
400
|
+
data: _response.body,
|
|
401
|
+
rawResponse: _response.rawResponse,
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
if (_response.error.reason === "status-code") {
|
|
405
|
+
switch (_response.error.statusCode) {
|
|
406
|
+
case 401:
|
|
407
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
408
|
+
default:
|
|
409
|
+
throw new errors.FiveOneEatError({
|
|
410
|
+
statusCode: _response.error.statusCode,
|
|
411
|
+
body: _response.error.body,
|
|
412
|
+
rawResponse: _response.rawResponse,
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{handle}/temporary-locations");
|
|
417
|
+
});
|
|
418
|
+
}
|
|
365
419
|
}
|
|
366
420
|
exports.BusinessesClient = BusinessesClient;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type { FavoriteBusinessesRequest } from "./FavoriteBusinessesRequest.js";
|
|
2
|
+
export type { ListTemporaryLocationsBusinessesRequest } from "./ListTemporaryLocationsBusinessesRequest.js";
|
|
2
3
|
export type { MenusBusinessesRequest } from "./MenusBusinessesRequest.js";
|
|
3
4
|
export type { PhotosBusinessesRequest } from "./PhotosBusinessesRequest.js";
|
|
4
5
|
export type { ProfileBusinessesRequest } from "./ProfileBusinessesRequest.js";
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./FavoriteBusinessesResponse.js"), exports);
|
|
18
|
+
__exportStar(require("./ListTemporaryLocationsBusinessesResponse.js"), exports);
|
|
18
19
|
__exportStar(require("./MenusBusinessesResponse.js"), exports);
|
|
19
20
|
__exportStar(require("./PhotosBusinessesResponse.js"), exports);
|
|
20
21
|
__exportStar(require("./ProfileBusinessesResponse.js"), exports);
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../../../core/index.js";
|
|
4
|
+
import * as FiveOneEat from "../../../../../index.js";
|
|
5
|
+
export declare namespace CartClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class CartClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<CartClient.Options>;
|
|
12
|
+
constructor(options?: CartClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
15
|
+
*
|
|
16
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* await client.customer.cart.get()
|
|
20
|
+
*/
|
|
21
|
+
get(requestOptions?: CartClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.GetCartResponse>;
|
|
22
|
+
private __get;
|
|
23
|
+
/**
|
|
24
|
+
* @param {FiveOneEat.customer.AddToCartRequest} request
|
|
25
|
+
* @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
|
+
*
|
|
27
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
28
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* await client.customer.cart.addItem({
|
|
32
|
+
* business_id: 1,
|
|
33
|
+
* product_id: 1,
|
|
34
|
+
* quantity: 1
|
|
35
|
+
* })
|
|
36
|
+
*/
|
|
37
|
+
addItem(request: FiveOneEat.customer.AddToCartRequest, requestOptions?: CartClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.AddItemCartResponse>;
|
|
38
|
+
private __addItem;
|
|
39
|
+
/**
|
|
40
|
+
* @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* await client.customer.cart.clear()
|
|
46
|
+
*/
|
|
47
|
+
clear(requestOptions?: CartClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.ClearCartResponse>;
|
|
48
|
+
private __clear;
|
|
49
|
+
/**
|
|
50
|
+
* @param {FiveOneEat.customer.UpdateCartItemRequest} request
|
|
51
|
+
* @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
54
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
55
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.customer.cart.updateItem({
|
|
59
|
+
* cartItem: "cartItem",
|
|
60
|
+
* quantity: 1
|
|
61
|
+
* })
|
|
62
|
+
*/
|
|
63
|
+
updateItem(request: FiveOneEat.customer.UpdateCartItemRequest, requestOptions?: CartClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.UpdateItemCartResponse>;
|
|
64
|
+
private __updateItem;
|
|
65
|
+
/**
|
|
66
|
+
* @param {FiveOneEat.customer.RemoveItemCartRequest} request
|
|
67
|
+
* @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
70
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* await client.customer.cart.removeItem({
|
|
74
|
+
* cartItem: "cartItem"
|
|
75
|
+
* })
|
|
76
|
+
*/
|
|
77
|
+
removeItem(request: FiveOneEat.customer.RemoveItemCartRequest, requestOptions?: CartClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.RemoveItemCartResponse>;
|
|
78
|
+
private __removeItem;
|
|
79
|
+
/**
|
|
80
|
+
* Returns client_secret, price breakdown, and tax calculation for use with Stripe SDK.
|
|
81
|
+
*
|
|
82
|
+
* @param {FiveOneEat.customer.CreatePaymentIntentRequest} request
|
|
83
|
+
* @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
86
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
87
|
+
* @throws {@link FiveOneEat.InternalServerError}
|
|
88
|
+
* @throws {@link FiveOneEat.ServiceUnavailableError}
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* await client.customer.cart.createPaymentIntent({
|
|
92
|
+
* billing_address: {
|
|
93
|
+
* line1: "line1",
|
|
94
|
+
* city: "city",
|
|
95
|
+
* state: "state",
|
|
96
|
+
* postal_code: "postal_code",
|
|
97
|
+
* country: "country"
|
|
98
|
+
* }
|
|
99
|
+
* })
|
|
100
|
+
*/
|
|
101
|
+
createPaymentIntent(request: FiveOneEat.customer.CreatePaymentIntentRequest, requestOptions?: CartClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.CreatePaymentIntentCartResponse>;
|
|
102
|
+
private __createPaymentIntent;
|
|
103
|
+
/**
|
|
104
|
+
* Verifies the Stripe payment intent, creates the order, decrements inventory,
|
|
105
|
+
* clears the cart, and dispatches order confirmation notifications.
|
|
106
|
+
*
|
|
107
|
+
* @param {FiveOneEat.customer.CheckoutRequest} request
|
|
108
|
+
* @param {CartClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
111
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* await client.customer.cart.checkout({
|
|
115
|
+
* payment_intent_id: "payment_intent_id",
|
|
116
|
+
* billing_address: {
|
|
117
|
+
* line1: "line1",
|
|
118
|
+
* city: "city",
|
|
119
|
+
* state: "state",
|
|
120
|
+
* postal_code: "postal_code",
|
|
121
|
+
* country: "country"
|
|
122
|
+
* }
|
|
123
|
+
* })
|
|
124
|
+
*/
|
|
125
|
+
checkout(request: FiveOneEat.customer.CheckoutRequest, requestOptions?: CartClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.CheckoutCartResponse>;
|
|
126
|
+
private __checkout;
|
|
127
|
+
}
|