@51eat/sdk 0.0.68 → 0.0.70
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 +11 -13
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +5 -0
- package/dist/cjs/api/errors/InternalServerError.d.ts +2 -1
- package/dist/cjs/api/errors/index.d.ts +0 -1
- package/dist/cjs/api/errors/index.js +0 -1
- package/dist/cjs/api/resources/business/client/Client.d.ts +9 -9
- package/dist/cjs/api/resources/business/client/Client.js +25 -25
- package/dist/cjs/api/resources/business/resources/index.d.ts +3 -4
- package/dist/cjs/api/resources/business/resources/index.js +4 -5
- package/dist/cjs/api/resources/business/resources/priceLists/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/business/resources/priceLists/client/Client.js +222 -0
- package/dist/cjs/api/resources/business/resources/priceLists/client/requests/DeletePriceListsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/priceLists/client/requests/StorePriceListRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/priceLists/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/priceLists/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/priceLists/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/{discounts/types/index.js → priceLists/exports.js} +5 -5
- package/dist/cjs/api/resources/business/resources/priceLists/types/CreatePriceListsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/priceLists/types/ListPriceListsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/priceLists/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/{shipping/resources/rates → priceLists}/types/index.js +2 -3
- package/dist/cjs/api/resources/business/resources/productCategories/client/Client.d.ts +7 -28
- package/dist/cjs/api/resources/business/resources/productCategories/client/Client.js +30 -121
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoriesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/index.d.ts +1 -2
- package/dist/cjs/api/resources/business/resources/productCategories/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/productCategories/index.js +0 -1
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.d.ts +10 -23
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.js +21 -38
- package/dist/{esm/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.mts → cjs/api/resources/business/resources/productOrders/client/requests/AddTrackingProductOrdersRequest.d.ts} +4 -5
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/GetLabelRatesProductOrdersRequest.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/ListProductOrdersRequest.d.ts +8 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.d.ts +0 -1
- package/dist/{esm/api/resources/business/resources/productOrders/client/requests/PurchaseLabelRequest.d.mts → cjs/api/resources/business/resources/productOrders/client/requests/PurchaseLabelProductOrdersRequest.d.ts} +1 -2
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/{RefundOrderRequest.d.ts → RefundProductOrdersRequest.d.ts} +1 -2
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/index.d.ts +4 -3
- package/dist/cjs/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/productOrders/types/PurchaseLabelProductOrdersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/client/Client.d.ts +6 -11
- package/dist/cjs/api/resources/business/resources/products/client/Client.js +8 -24
- package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts +4 -56
- package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.js +0 -27
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +6 -56
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.js +0 -27
- package/dist/cjs/api/resources/business/resources/products/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/products/client/requests/index.js +0 -5
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.d.ts +5 -28
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/Client.js +23 -100
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/DeleteImagesRequest.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/ReorderImagesRequest.d.ts +1 -10
- package/dist/cjs/api/resources/business/resources/products/resources/images/client/requests/UploadImagesRequest.d.ts +0 -5
- 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 -1
- package/dist/cjs/api/resources/business/resources/products/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/index.js +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/Client.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/client/Client.js +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/inventory/types/SummaryInventoryResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.d.ts +13 -10
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.js +13 -11
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.d.ts +33 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.js +17 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.d.ts +33 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.js +17 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.js +5 -5
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.ts +5 -28
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/Client.js +23 -100
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/DeleteImagesRequest.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/ReorderImagesRequest.d.ts +1 -10
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/client/requests/UploadImagesRequest.d.ts +0 -5
- 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 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/index.d.ts +3 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/index.js +4 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.d.ts +17 -5
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.js +59 -21
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.d.ts +4 -16
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.js +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.d.ts +15 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.d.ts +2 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.js +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.js +1 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.d.ts +32 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.js +137 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/products/resources/{images/types → variants/resources/prices/client}/index.js +1 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.d.ts +21 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/{discounts → products/resources/variants/resources/prices}/exports.js +2 -2
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/prices/types/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.js +0 -1
- package/dist/cjs/api/resources/business/resources/products/types/CreateProductsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/types/GetProductsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/types/ListProductsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/types/UpdateProductsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/business/resources/products/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/products/types/index.js +0 -1
- package/dist/cjs/api/resources/business/resources/shipping/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/shipping/resources/index.js +0 -1
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/Client.d.ts +7 -28
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/Client.js +30 -112
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/requests/DeleteRatesRequest.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/requests/UpdateRatesRequest.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/requests/index.d.ts +1 -2
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/requests/index.js +0 -5
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/index.d.ts +0 -1
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/index.js +0 -1
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.d.ts +49 -67
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.js +87 -99
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddItemCartRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutCartRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/ClearCartRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/GetCartRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/GetShippingOptionsCartRequest.d.ts +26 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/SelectShippingOptionCartRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/{UpdateCartItemRequest.d.ts → UpdateItemCartRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.d.ts +6 -6
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.js +0 -5
- package/dist/cjs/api/resources/customer/resources/cart/types/AddItemCartResponse.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.ts +6 -13
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.js +7 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/GetCartResponse.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponse.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.ts +2 -4
- package/dist/cjs/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/cart/types/index.d.ts +1 -2
- package/dist/cjs/api/resources/customer/resources/cart/types/index.js +1 -2
- 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/{AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.ts → CreatePaymentIntentRequest.d.ts} +3 -3
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/productOrders/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/productOrders/client/Client.js +3 -3
- package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.d.ts +0 -1
- package/dist/cjs/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.d.ts +6 -3
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.js +14 -6
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +3 -6
- package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.ts +10 -4
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/stands/client/Client.d.ts +9 -21
- package/dist/cjs/api/resources/customer/resources/stands/client/Client.js +28 -78
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.ts +0 -1
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/stands/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/customer/resources/stands/types/index.js +0 -2
- package/dist/cjs/api/resources/customerStands/client/Client.d.ts +90 -0
- package/dist/cjs/api/resources/{business/resources/discounts → customerStands}/client/Client.js +83 -85
- package/dist/cjs/api/resources/customerStands/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customerStands/client/index.js +17 -0
- package/dist/cjs/api/resources/customerStands/client/requests/CustomerAddStandCartItemRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customerStands/client/requests/CustomerClearStandCartRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customerStands/client/requests/CustomerGetStandCartRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customerStands/client/requests/CustomerStandCheckoutRequest.d.ts +15 -0
- package/dist/cjs/api/resources/customerStands/client/requests/CustomerStandPaymentIntentRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customerStands/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/customerStands/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customerStands/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customerStands/exports.js +21 -0
- package/dist/cjs/api/resources/customerStands/index.d.ts +2 -0
- package/dist/cjs/api/resources/customerStands/index.js +18 -0
- package/dist/cjs/api/resources/customerStands/types/CustomerAddStandCartItemResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customerStands/types/CustomerGetStandCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customerStands/types/CustomerStandCheckoutResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customerStands/types/CustomerStandPaymentIntentResponse.d.ts +12 -0
- package/dist/cjs/api/resources/customerStands/types/CustomerStandPaymentIntentResponse.js +10 -0
- package/dist/cjs/api/resources/customerStands/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/{business/resources/productCategories → customerStands}/types/index.js +4 -4
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.d.ts +13 -0
- package/dist/cjs/api/types/BusinessHoursResource.d.ts +2 -3
- package/dist/cjs/api/types/BusinessMenu.d.ts +1 -2
- package/dist/cjs/api/types/BusinessMenuGroup.d.ts +1 -2
- package/dist/cjs/api/types/BusinessMenuItem.d.ts +2 -3
- package/dist/cjs/api/types/CartResource.d.ts +21 -0
- package/dist/cjs/api/types/CheckoutRequest.d.ts +5 -0
- package/dist/cjs/api/types/ImageResource.d.ts +6 -0
- package/dist/cjs/api/types/InternalServerErrorBody.d.ts +1 -1
- package/dist/cjs/api/types/InternalServerErrorBody.js +1 -1
- package/dist/cjs/api/types/InventoryLevelResource.d.ts +7 -0
- package/dist/cjs/api/types/OrderResource.d.ts +27 -0
- package/dist/cjs/api/types/PriceListResource.d.ts +8 -0
- package/dist/cjs/api/types/PriceResource.d.ts +10 -0
- package/dist/cjs/api/types/ProductCategoryResource.d.ts +8 -0
- package/dist/cjs/api/types/ProductResource.d.ts +17 -0
- package/dist/cjs/api/types/StandShop.d.ts +1 -1
- package/dist/cjs/api/types/VariantResource.d.ts +14 -0
- package/dist/cjs/api/types/index.d.ts +11 -20
- package/dist/cjs/api/types/index.js +11 -20
- 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/errors/InternalServerError.d.mts +2 -1
- package/dist/esm/api/errors/index.d.mts +0 -1
- package/dist/esm/api/errors/index.mjs +0 -1
- package/dist/esm/api/resources/business/client/Client.d.mts +9 -9
- package/dist/esm/api/resources/business/client/Client.mjs +15 -15
- package/dist/esm/api/resources/business/resources/index.d.mts +3 -4
- package/dist/esm/api/resources/business/resources/index.mjs +3 -4
- package/dist/esm/api/resources/business/resources/priceLists/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/business/resources/priceLists/client/Client.mjs +185 -0
- package/dist/esm/api/resources/business/resources/priceLists/client/requests/DeletePriceListsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/priceLists/client/requests/StorePriceListRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/priceLists/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/priceLists/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/priceLists/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/priceLists/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/priceLists/types/CreatePriceListsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/priceLists/types/ListPriceListsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/priceLists/types/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/priceLists/types/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/Client.d.mts +7 -28
- package/dist/esm/api/resources/business/resources/productCategories/client/Client.mjs +30 -121
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoriesRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/index.d.mts +1 -2
- package/dist/esm/api/resources/business/resources/productCategories/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/productCategories/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.d.mts +10 -23
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.mjs +21 -38
- package/dist/{cjs/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.ts → esm/api/resources/business/resources/productOrders/client/requests/AddTrackingProductOrdersRequest.d.mts} +4 -5
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/GetLabelRatesProductOrdersRequest.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/ListProductOrdersRequest.d.mts +8 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.d.mts +0 -1
- package/dist/{cjs/api/resources/business/resources/productOrders/client/requests/PurchaseLabelRequest.d.ts → esm/api/resources/business/resources/productOrders/client/requests/PurchaseLabelProductOrdersRequest.d.mts} +1 -2
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/{RefundOrderRequest.d.mts → RefundProductOrdersRequest.d.mts} +1 -2
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/index.d.mts +4 -3
- package/dist/esm/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/productOrders/types/GetLabelRatesProductOrdersResponseItem.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/productOrders/types/PurchaseLabelProductOrdersResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/client/Client.d.mts +6 -11
- package/dist/esm/api/resources/business/resources/products/client/Client.mjs +8 -24
- package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.d.mts +4 -56
- package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.mjs +1 -26
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +6 -56
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.mjs +1 -26
- package/dist/esm/api/resources/business/resources/products/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/products/client/requests/index.mjs +1 -2
- package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.d.mts +5 -28
- package/dist/esm/api/resources/business/resources/products/resources/images/client/Client.mjs +24 -101
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/DeleteImagesRequest.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/ReorderImagesRequest.d.mts +1 -10
- package/dist/esm/api/resources/business/resources/products/resources/images/client/requests/UploadImagesRequest.d.mts +0 -5
- 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 -1
- package/dist/esm/api/resources/business/resources/products/resources/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/inventory/client/Client.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/inventory/client/Client.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/inventory/types/SummaryInventoryResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.d.mts +13 -10
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.mjs +13 -11
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.d.mts +33 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreVariantRequest.mjs +14 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.d.mts +33 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateVariantRequest.mjs +14 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.mjs +2 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.d.mts +5 -28
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/Client.mjs +24 -101
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/DeleteImagesRequest.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/ReorderImagesRequest.d.mts +1 -10
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/client/requests/UploadImagesRequest.d.mts +0 -5
- 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 +3 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/index.mjs +3 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.d.mts +17 -5
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.mjs +59 -21
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.d.mts +4 -16
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/AdjustInventoryRequest.mjs +1 -8
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/HistoryInventoryRequest.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.d.mts +15 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.d.mts +2 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/AdjustInventoryResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/index.mjs +1 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.d.mts +32 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.mjs +100 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/SetPriceRequest.d.mts +21 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/{discounts → products/resources/variants/resources/prices}/exports.mjs +1 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/SetPricesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/prices/types/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/products/types/CreateProductsResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/types/GetProductsResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/types/ListProductsResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/types/UpdateProductsResponse.d.mts +1 -1
- package/dist/esm/api/resources/business/resources/products/types/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/products/types/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/shipping/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/shipping/resources/index.mjs +0 -1
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/Client.d.mts +7 -28
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/Client.mjs +30 -112
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/requests/DeleteRatesRequest.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/requests/UpdateRatesRequest.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/requests/index.d.mts +1 -2
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/requests/index.mjs +1 -2
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/index.d.mts +0 -1
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/index.mjs +0 -1
- package/dist/esm/api/resources/customer/resources/cart/client/Client.d.mts +49 -67
- package/dist/esm/api/resources/customer/resources/cart/client/Client.mjs +87 -99
- package/dist/esm/api/resources/customer/resources/cart/client/requests/AddItemCartRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutCartRequest.d.mts +15 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/ClearCartRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/GetCartRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/cart/client/requests/GetShippingOptionsCartRequest.d.mts +26 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/SelectShippingOptionCartRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/{UpdateCartItemRequest.d.mts → UpdateItemCartRequest.d.mts} +1 -1
- package/dist/esm/api/resources/customer/resources/cart/client/requests/index.d.mts +6 -6
- package/dist/esm/api/resources/customer/resources/cart/client/requests/index.mjs +1 -2
- package/dist/esm/api/resources/customer/resources/cart/types/AddItemCartResponse.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.mts +6 -13
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.mjs +6 -1
- package/dist/esm/api/resources/customer/resources/cart/types/GetCartResponse.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponse.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/cart/types/SelectShippingOptionCartResponse.d.mts +2 -4
- package/dist/esm/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/cart/types/index.d.mts +1 -2
- package/dist/esm/api/resources/customer/resources/cart/types/index.mjs +1 -2
- 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/{AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.mts → CreatePaymentIntentRequest.d.mts} +3 -3
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/productOrders/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/productOrders/client/Client.mjs +3 -3
- package/dist/esm/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.d.mts +0 -1
- package/dist/esm/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/shop/client/Client.d.mts +6 -3
- package/dist/esm/api/resources/customer/resources/shop/client/Client.mjs +14 -6
- package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +3 -6
- package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.mts +10 -4
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/stands/client/Client.d.mts +9 -21
- package/dist/esm/api/resources/customer/resources/stands/client/Client.mjs +28 -78
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CheckoutStandsRequest.d.mts +9 -0
- package/dist/esm/api/resources/customer/resources/stands/client/requests/CreatePaymentIntentStandsRequest.d.mts +0 -1
- package/dist/esm/api/resources/customer/resources/stands/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/stands/types/index.d.mts +0 -2
- package/dist/esm/api/resources/customer/resources/stands/types/index.mjs +0 -2
- package/dist/esm/api/resources/customerStands/client/Client.d.mts +90 -0
- package/dist/esm/api/resources/{business/resources/discounts → customerStands}/client/Client.mjs +81 -83
- package/dist/esm/api/resources/customerStands/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customerStands/client/index.mjs +1 -0
- package/dist/esm/api/resources/customerStands/client/requests/CustomerAddStandCartItemRequest.d.mts +14 -0
- package/dist/esm/api/resources/customerStands/client/requests/CustomerClearStandCartRequest.d.mts +10 -0
- package/dist/esm/api/resources/customerStands/client/requests/CustomerGetStandCartRequest.d.mts +10 -0
- package/dist/esm/api/resources/customerStands/client/requests/CustomerStandCheckoutRequest.d.mts +15 -0
- package/dist/esm/api/resources/customerStands/client/requests/CustomerStandPaymentIntentRequest.d.mts +10 -0
- package/dist/esm/api/resources/customerStands/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/customerStands/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customerStands/exports.d.mts +2 -0
- package/dist/esm/api/resources/customerStands/exports.mjs +3 -0
- package/dist/esm/api/resources/customerStands/index.d.mts +2 -0
- package/dist/esm/api/resources/customerStands/index.mjs +2 -0
- package/dist/esm/api/resources/customerStands/types/CustomerAddStandCartItemResponse.d.mts +4 -0
- package/dist/esm/api/resources/customerStands/types/CustomerGetStandCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customerStands/types/CustomerStandCheckoutResponse.d.mts +4 -0
- package/dist/esm/api/resources/customerStands/types/CustomerStandPaymentIntentResponse.d.mts +12 -0
- package/dist/esm/api/resources/customerStands/types/CustomerStandPaymentIntentResponse.mjs +7 -0
- package/dist/esm/api/resources/customerStands/types/index.d.mts +4 -0
- package/dist/esm/api/resources/customerStands/types/index.mjs +4 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/types/AppHttpResourcesApiV1BusinessCommerceProductResource.d.mts +13 -0
- package/dist/esm/api/types/BusinessHoursResource.d.mts +2 -3
- package/dist/esm/api/types/BusinessMenu.d.mts +1 -2
- package/dist/esm/api/types/BusinessMenuGroup.d.mts +1 -2
- package/dist/esm/api/types/BusinessMenuItem.d.mts +2 -3
- package/dist/esm/api/types/CartResource.d.mts +21 -0
- package/dist/esm/api/types/CheckoutRequest.d.mts +5 -0
- package/dist/esm/api/types/ImageResource.d.mts +6 -0
- package/dist/esm/api/types/InternalServerErrorBody.d.mts +1 -1
- package/dist/esm/api/types/InternalServerErrorBody.mjs +1 -1
- package/dist/esm/api/types/InventoryLevelResource.d.mts +7 -0
- package/dist/esm/api/types/OrderResource.d.mts +27 -0
- package/dist/esm/api/types/PriceListResource.d.mts +8 -0
- package/dist/esm/api/types/PriceResource.d.mts +10 -0
- package/dist/esm/api/types/ProductCategoryResource.d.mts +8 -0
- package/dist/esm/api/types/ProductResource.d.mts +17 -0
- package/dist/esm/api/types/StandShop.d.mts +1 -1
- package/dist/esm/api/types/VariantResource.d.mts +14 -0
- package/dist/esm/api/types/index.d.mts +11 -20
- package/dist/esm/api/types/index.mjs +11 -20
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +79 -57
- package/reference.md +1038 -936
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +0 -6
- package/dist/cjs/api/errors/ServiceUnavailableError.js +0 -54
- package/dist/cjs/api/resources/business/resources/discounts/client/Client.d.ts +0 -87
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/DeleteDiscountsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/GetDiscountsRequest.d.ts +0 -10
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.ts +0 -39
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.js +0 -18
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.ts +0 -38
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.js +0 -18
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/index.js +0 -7
- package/dist/cjs/api/resources/business/resources/discounts/exports.d.ts +0 -2
- package/dist/cjs/api/resources/business/resources/discounts/types/CreateDiscountsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.js +0 -10
- package/dist/cjs/api/resources/business/resources/discounts/types/GetDiscountsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/discounts/types/ListDiscountsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/discounts/types/index.d.ts +0 -5
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.ts +0 -12
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.ts +0 -14
- package/dist/cjs/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.js +0 -10
- package/dist/cjs/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/productCategories/types/index.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/images/types/DeleteImagesResponse.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/images/types/DeleteImagesResponse.js +0 -10
- package/dist/cjs/api/resources/business/resources/products/resources/images/types/ReorderImagesResponse.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/images/types/ReorderImagesResponse.js +0 -10
- package/dist/cjs/api/resources/business/resources/products/resources/images/types/UploadImagesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/images/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.d.ts +0 -34
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.js +0 -13
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.d.ts +0 -32
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.js +0 -13
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/types/DeleteImagesResponse.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/types/DeleteImagesResponse.js +0 -10
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/types/ReorderImagesResponse.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/types/ReorderImagesResponse.js +0 -10
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/types/UploadImagesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/images/types/index.js +0 -19
- package/dist/cjs/api/resources/business/resources/products/resources/variants/resources/inventory/types/HistoryInventoryResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.js +0 -10
- package/dist/cjs/api/resources/business/resources/products/types/DeleteProductsResponse.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/products/types/DeleteProductsResponse.js +0 -10
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/requests/StoreShippingRateRequest.d.ts +0 -23
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/requests/StoreShippingRateRequest.js +0 -11
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/requests/UpdateShippingRateRequest.d.ts +0 -26
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/client/requests/UpdateShippingRateRequest.js +0 -11
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/types/CreateRatesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/types/ListRatesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/types/UpdateRatesResponse.d.ts +0 -4
- package/dist/cjs/api/resources/business/resources/shipping/resources/rates/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.ts +0 -15
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.ts +0 -45
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutRequest.js +0 -11
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.ts +0 -43
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.js +0 -11
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/GetShippingOptionsRequest.d.ts +0 -28
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/SelectShippingOptionRequest.d.ts +0 -12
- package/dist/cjs/api/resources/customer/resources/cart/types/ClearCartResponse.d.ts +0 -9
- package/dist/cjs/api/resources/customer/resources/cart/types/ClearCartResponse.js +0 -10
- package/dist/cjs/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponseItem.d.ts +0 -19
- package/dist/cjs/api/resources/customer/resources/stands/client/requests/SelfCheckoutRequest.d.ts +0 -12
- package/dist/cjs/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.ts +0 -4
- package/dist/cjs/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.ts +0 -9
- package/dist/cjs/api/types/BusinessDiscount.d.ts +0 -19
- package/dist/cjs/api/types/BusinessInventoryLog.d.ts +0 -15
- package/dist/cjs/api/types/BusinessProduct.d.ts +0 -46
- package/dist/cjs/api/types/BusinessProductCategory.d.ts +0 -13
- package/dist/cjs/api/types/BusinessProductInventorySummary.d.ts +0 -7
- package/dist/cjs/api/types/BusinessProductOrder.d.ts +0 -40
- package/dist/cjs/api/types/BusinessProductOrderItem.d.ts +0 -24
- package/dist/cjs/api/types/BusinessProductVariant.d.ts +0 -22
- package/dist/cjs/api/types/CustomerCart.d.ts +0 -9
- package/dist/cjs/api/types/CustomerCartItem.d.ts +0 -24
- package/dist/cjs/api/types/CustomerProductOrder.d.ts +0 -25
- package/dist/cjs/api/types/CustomerProductOrderItem.d.ts +0 -32
- package/dist/cjs/api/types/CustomerShopProduct.d.ts +0 -21
- package/dist/cjs/api/types/CustomerShopProductCategory.d.ts +0 -8
- package/dist/cjs/api/types/CustomerShopProductCategory.js +0 -3
- package/dist/cjs/api/types/CustomerShopProductVariant.d.ts +0 -13
- package/dist/cjs/api/types/CustomerShopProductVariant.js +0 -3
- package/dist/cjs/api/types/InventoryChangeType.d.ts +0 -9
- package/dist/cjs/api/types/InventoryChangeType.js +0 -12
- package/dist/cjs/api/types/ReorderProductImagesRequest.d.ts +0 -12
- package/dist/cjs/api/types/ReorderProductImagesRequest.js +0 -3
- package/dist/cjs/api/types/ServiceUnavailableErrorBody.d.ts +0 -3
- package/dist/cjs/api/types/ServiceUnavailableErrorBody.js +0 -3
- package/dist/cjs/api/types/ShippingRateResource.d.ts +0 -12
- package/dist/cjs/api/types/ShippingRateResource.js +0 -3
- package/dist/cjs/api/types/StoreProductImageRequest.d.ts +0 -4
- package/dist/cjs/api/types/StoreProductImageRequest.js +0 -3
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +0 -6
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +0 -17
- package/dist/esm/api/resources/business/resources/discounts/client/Client.d.mts +0 -87
- package/dist/esm/api/resources/business/resources/discounts/client/requests/DeleteDiscountsRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/discounts/client/requests/GetDiscountsRequest.d.mts +0 -10
- package/dist/esm/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.mts +0 -39
- package/dist/esm/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.mjs +0 -15
- package/dist/esm/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.mts +0 -38
- package/dist/esm/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.mjs +0 -15
- package/dist/esm/api/resources/business/resources/discounts/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/discounts/client/requests/index.mjs +0 -2
- package/dist/esm/api/resources/business/resources/discounts/exports.d.mts +0 -2
- package/dist/esm/api/resources/business/resources/discounts/types/CreateDiscountsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.mjs +0 -7
- package/dist/esm/api/resources/business/resources/discounts/types/GetDiscountsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/discounts/types/ListDiscountsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/discounts/types/index.d.mts +0 -5
- package/dist/esm/api/resources/business/resources/discounts/types/index.mjs +0 -5
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.mts +0 -12
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.mts +0 -14
- package/dist/esm/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.mjs +0 -7
- package/dist/esm/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/productCategories/types/index.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/productCategories/types/index.mjs +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/images/types/DeleteImagesResponse.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/images/types/DeleteImagesResponse.mjs +0 -7
- package/dist/esm/api/resources/business/resources/products/resources/images/types/ReorderImagesResponse.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/images/types/ReorderImagesResponse.mjs +0 -7
- package/dist/esm/api/resources/business/resources/products/resources/images/types/UploadImagesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/images/types/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/images/types/index.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.d.mts +0 -34
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.mjs +0 -10
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.d.mts +0 -32
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.mjs +0 -10
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/types/DeleteImagesResponse.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/types/DeleteImagesResponse.mjs +0 -7
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/types/ReorderImagesResponse.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/types/ReorderImagesResponse.mjs +0 -7
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/types/UploadImagesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/types/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/images/types/index.mjs +0 -3
- package/dist/esm/api/resources/business/resources/products/resources/variants/resources/inventory/types/HistoryInventoryResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.mjs +0 -7
- package/dist/esm/api/resources/business/resources/products/types/DeleteProductsResponse.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/products/types/DeleteProductsResponse.mjs +0 -7
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/requests/StoreShippingRateRequest.d.mts +0 -23
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/requests/StoreShippingRateRequest.mjs +0 -8
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/requests/UpdateShippingRateRequest.d.mts +0 -26
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/client/requests/UpdateShippingRateRequest.mjs +0 -8
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/types/CreateRatesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/types/ListRatesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/types/UpdateRatesResponse.d.mts +0 -4
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/types/index.d.mts +0 -3
- package/dist/esm/api/resources/business/resources/shipping/resources/rates/types/index.mjs +0 -3
- package/dist/esm/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.mts +0 -15
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.mts +0 -45
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.mjs +0 -8
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.mts +0 -43
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.mjs +0 -8
- package/dist/esm/api/resources/customer/resources/cart/client/requests/GetShippingOptionsRequest.d.mts +0 -28
- package/dist/esm/api/resources/customer/resources/cart/client/requests/SelectShippingOptionRequest.d.mts +0 -12
- package/dist/esm/api/resources/customer/resources/cart/types/ClearCartResponse.d.mts +0 -9
- package/dist/esm/api/resources/customer/resources/cart/types/ClearCartResponse.mjs +0 -7
- package/dist/esm/api/resources/customer/resources/cart/types/GetShippingOptionsCartResponseItem.d.mts +0 -19
- package/dist/esm/api/resources/customer/resources/stands/client/requests/SelfCheckoutRequest.d.mts +0 -12
- package/dist/esm/api/resources/customer/resources/stands/types/CheckoutStandsResponse.d.mts +0 -4
- package/dist/esm/api/resources/customer/resources/stands/types/CreatePaymentIntentStandsResponse.d.mts +0 -9
- package/dist/esm/api/types/BusinessDiscount.d.mts +0 -19
- package/dist/esm/api/types/BusinessInventoryLog.d.mts +0 -15
- package/dist/esm/api/types/BusinessProduct.d.mts +0 -46
- package/dist/esm/api/types/BusinessProductCategory.d.mts +0 -13
- package/dist/esm/api/types/BusinessProductInventorySummary.d.mts +0 -7
- package/dist/esm/api/types/BusinessProductOrder.d.mts +0 -40
- package/dist/esm/api/types/BusinessProductOrderItem.d.mts +0 -24
- package/dist/esm/api/types/BusinessProductVariant.d.mts +0 -22
- package/dist/esm/api/types/CustomerCart.d.mts +0 -9
- package/dist/esm/api/types/CustomerCartItem.d.mts +0 -24
- package/dist/esm/api/types/CustomerProductOrder.d.mts +0 -25
- package/dist/esm/api/types/CustomerProductOrderItem.d.mts +0 -32
- package/dist/esm/api/types/CustomerShopProduct.d.mts +0 -21
- package/dist/esm/api/types/CustomerShopProductCategory.d.mts +0 -8
- package/dist/esm/api/types/CustomerShopProductCategory.mjs +0 -2
- package/dist/esm/api/types/CustomerShopProductVariant.d.mts +0 -13
- package/dist/esm/api/types/CustomerShopProductVariant.mjs +0 -2
- package/dist/esm/api/types/InventoryChangeType.d.mts +0 -9
- package/dist/esm/api/types/InventoryChangeType.mjs +0 -9
- package/dist/esm/api/types/ReorderProductImagesRequest.d.mts +0 -12
- package/dist/esm/api/types/ReorderProductImagesRequest.mjs +0 -2
- package/dist/esm/api/types/ServiceUnavailableErrorBody.d.mts +0 -3
- package/dist/esm/api/types/ServiceUnavailableErrorBody.mjs +0 -2
- package/dist/esm/api/types/ShippingRateResource.d.mts +0 -12
- package/dist/esm/api/types/ShippingRateResource.mjs +0 -2
- package/dist/esm/api/types/StoreProductImageRequest.d.mts +0 -4
- package/dist/esm/api/types/StoreProductImageRequest.mjs +0 -2
- /package/dist/cjs/api/resources/business/resources/{discounts → priceLists}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{discounts → priceLists}/client/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{discounts/client/requests/DeleteDiscountsRequest.js → priceLists/client/requests/DeletePriceListsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{discounts/client/requests/GetDiscountsRequest.js → priceLists/client/requests/StorePriceListRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{discounts → priceLists}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/business/resources/{discounts → priceLists}/index.js +0 -0
- /package/dist/cjs/api/resources/business/resources/{discounts/types/CreateDiscountsResponse.js → priceLists/types/CreatePriceListsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{discounts/types/GetDiscountsResponse.js → priceLists/types/ListPriceListsResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{discounts/types/ListDiscountsResponse.js → productCategories/client/requests/UpdateProductCategoriesRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{discounts/types/UpdateDiscountsResponse.js → productOrders/client/requests/AddTrackingProductOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productCategories/client/requests/StoreProductCategoryRequest.js → productOrders/client/requests/ListProductOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productCategories/client/requests/UpdateProductCategoryRequest.js → productOrders/client/requests/PurchaseLabelProductOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productCategories/types/CreateProductCategoriesResponse.js → productOrders/client/requests/RefundProductOrdersRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productCategories/types/ListProductCategoriesResponse.js → products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productCategories/types/UpdateProductCategoriesResponse.js → products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/PurchaseLabelRequest.js → products/resources/variants/resources/prices/client/requests/SetPriceRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/RefundOrderRequest.js → products/resources/variants/resources/prices/types/SetPricesResponse.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{productOrders/client/requests/StoreTrackingRequest.js → shipping/resources/rates/client/requests/UpdateRatesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/images/types/UploadImagesResponse.js → customer/resources/cart/client/requests/AddItemCartRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/images/types/UploadImagesResponse.js → customer/resources/cart/client/requests/CheckoutCartRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/products/resources/variants/resources/inventory/types/HistoryInventoryResponse.js → customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/shipping/resources/rates/types/CreateRatesResponse.js → customer/resources/cart/client/requests/GetShippingOptionsCartRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/shipping/resources/rates/types/ListRatesResponse.js → customer/resources/cart/client/requests/SelectShippingOptionCartRequest.js} +0 -0
- /package/dist/cjs/api/resources/{business/resources/shipping/resources/rates/types/UpdateRatesResponse.js → customer/resources/cart/client/requests/UpdateItemCartRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/cart/{client/requests/AddToCartRequest.js → types/GetShippingOptionsCartResponse.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/GetShippingOptionsRequest.js → events/resources/ticketing/client/requests/CreatePaymentIntentRequest.js} +0 -0
- /package/dist/cjs/api/resources/customer/resources/{cart/client/requests/SelectShippingOptionRequest.js → stands/client/requests/CheckoutStandsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/client/requests/UpdateCartItemRequest.js → customerStands/client/requests/CustomerAddStandCartItemRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/cart/types/GetShippingOptionsCartResponseItem.js → customerStands/client/requests/CustomerClearStandCartRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.js → customerStands/client/requests/CustomerGetStandCartRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/client/requests/SelfCheckoutRequest.js → customerStands/client/requests/CustomerStandCheckoutRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/types/CheckoutStandsResponse.js → customerStands/client/requests/CustomerStandPaymentIntentRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/stands/types/CreatePaymentIntentStandsResponse.js → customerStands/types/CustomerAddStandCartItemResponse.js} +0 -0
- /package/dist/cjs/api/{types/BusinessDiscount.js → resources/customerStands/types/CustomerGetStandCartResponse.js} +0 -0
- /package/dist/cjs/api/{types/BusinessInventoryLog.js → resources/customerStands/types/CustomerStandCheckoutResponse.js} +0 -0
- /package/dist/cjs/api/types/{BusinessProduct.js → AppHttpResourcesApiV1BusinessCommerceProductResource.js} +0 -0
- /package/dist/cjs/api/types/{BusinessProductCategory.js → CartResource.js} +0 -0
- /package/dist/cjs/api/types/{BusinessProductInventorySummary.js → CheckoutRequest.js} +0 -0
- /package/dist/cjs/api/types/{BusinessProductOrder.js → ImageResource.js} +0 -0
- /package/dist/cjs/api/types/{BusinessProductOrderItem.js → InventoryLevelResource.js} +0 -0
- /package/dist/cjs/api/types/{BusinessProductVariant.js → OrderResource.js} +0 -0
- /package/dist/cjs/api/types/{CustomerCart.js → PriceListResource.js} +0 -0
- /package/dist/cjs/api/types/{CustomerCartItem.js → PriceResource.js} +0 -0
- /package/dist/cjs/api/types/{CustomerProductOrder.js → ProductCategoryResource.js} +0 -0
- /package/dist/cjs/api/types/{CustomerProductOrderItem.js → ProductResource.js} +0 -0
- /package/dist/cjs/api/types/{CustomerShopProduct.js → VariantResource.js} +0 -0
- /package/dist/esm/api/resources/business/resources/{discounts → priceLists}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{discounts → priceLists}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{discounts/client/requests/DeleteDiscountsRequest.mjs → priceLists/client/requests/DeletePriceListsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{discounts/client/requests/GetDiscountsRequest.mjs → priceLists/client/requests/StorePriceListRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{discounts → priceLists}/index.d.mts +0 -0
- /package/dist/esm/api/resources/business/resources/{discounts → priceLists}/index.mjs +0 -0
- /package/dist/esm/api/resources/business/resources/{discounts/types/CreateDiscountsResponse.mjs → priceLists/types/CreatePriceListsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{discounts/types/GetDiscountsResponse.mjs → priceLists/types/ListPriceListsResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{discounts/types/ListDiscountsResponse.mjs → productCategories/client/requests/UpdateProductCategoriesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{discounts/types/UpdateDiscountsResponse.mjs → productOrders/client/requests/AddTrackingProductOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productCategories/client/requests/StoreProductCategoryRequest.mjs → productOrders/client/requests/ListProductOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productCategories/client/requests/UpdateProductCategoryRequest.mjs → productOrders/client/requests/PurchaseLabelProductOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productCategories/types/CreateProductCategoriesResponse.mjs → productOrders/client/requests/RefundProductOrdersRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productCategories/types/ListProductCategoriesResponse.mjs → products/resources/variants/resources/inventory/client/requests/UpdateTrackingInventoryRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productCategories/types/UpdateProductCategoriesResponse.mjs → products/resources/variants/resources/inventory/types/UpdateTrackingInventoryResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/PurchaseLabelRequest.mjs → products/resources/variants/resources/prices/client/requests/SetPriceRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/RefundOrderRequest.mjs → products/resources/variants/resources/prices/types/SetPricesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{productOrders/client/requests/StoreTrackingRequest.mjs → shipping/resources/rates/client/requests/UpdateRatesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/images/types/UploadImagesResponse.mjs → customer/resources/cart/client/requests/AddItemCartRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/images/types/UploadImagesResponse.mjs → customer/resources/cart/client/requests/CheckoutCartRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/products/resources/variants/resources/inventory/types/HistoryInventoryResponse.mjs → customer/resources/cart/client/requests/CreatePaymentIntentCartRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/shipping/resources/rates/types/CreateRatesResponse.mjs → customer/resources/cart/client/requests/GetShippingOptionsCartRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/shipping/resources/rates/types/ListRatesResponse.mjs → customer/resources/cart/client/requests/SelectShippingOptionCartRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{business/resources/shipping/resources/rates/types/UpdateRatesResponse.mjs → customer/resources/cart/client/requests/UpdateItemCartRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/cart/{client/requests/AddToCartRequest.mjs → types/GetShippingOptionsCartResponse.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/GetShippingOptionsRequest.mjs → events/resources/ticketing/client/requests/CreatePaymentIntentRequest.mjs} +0 -0
- /package/dist/esm/api/resources/customer/resources/{cart/client/requests/SelectShippingOptionRequest.mjs → stands/client/requests/CheckoutStandsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/client/requests/UpdateCartItemRequest.mjs → customerStands/client/requests/CustomerAddStandCartItemRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/cart/types/GetShippingOptionsCartResponseItem.mjs → customerStands/client/requests/CustomerClearStandCartRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.mjs → customerStands/client/requests/CustomerGetStandCartRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/client/requests/SelfCheckoutRequest.mjs → customerStands/client/requests/CustomerStandCheckoutRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/types/CheckoutStandsResponse.mjs → customerStands/client/requests/CustomerStandPaymentIntentRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/stands/types/CreatePaymentIntentStandsResponse.mjs → customerStands/types/CustomerAddStandCartItemResponse.mjs} +0 -0
- /package/dist/esm/api/{types/BusinessDiscount.mjs → resources/customerStands/types/CustomerGetStandCartResponse.mjs} +0 -0
- /package/dist/esm/api/{types/BusinessInventoryLog.mjs → resources/customerStands/types/CustomerStandCheckoutResponse.mjs} +0 -0
- /package/dist/esm/api/types/{BusinessProduct.mjs → AppHttpResourcesApiV1BusinessCommerceProductResource.mjs} +0 -0
- /package/dist/esm/api/types/{BusinessProductCategory.mjs → CartResource.mjs} +0 -0
- /package/dist/esm/api/types/{BusinessProductInventorySummary.mjs → CheckoutRequest.mjs} +0 -0
- /package/dist/esm/api/types/{BusinessProductOrder.mjs → ImageResource.mjs} +0 -0
- /package/dist/esm/api/types/{BusinessProductOrderItem.mjs → InventoryLevelResource.mjs} +0 -0
- /package/dist/esm/api/types/{BusinessProductVariant.mjs → OrderResource.mjs} +0 -0
- /package/dist/esm/api/types/{CustomerCart.mjs → PriceListResource.mjs} +0 -0
- /package/dist/esm/api/types/{CustomerCartItem.mjs → PriceResource.mjs} +0 -0
- /package/dist/esm/api/types/{CustomerProductOrder.mjs → ProductCategoryResource.mjs} +0 -0
- /package/dist/esm/api/types/{CustomerProductOrderItem.mjs → ProductResource.mjs} +0 -0
- /package/dist/esm/api/types/{CustomerShopProduct.mjs → VariantResource.mjs} +0 -0
package/reference.md
CHANGED
|
@@ -66,6 +66,267 @@ await client.customer.search({
|
|
|
66
66
|
</dl>
|
|
67
67
|
|
|
68
68
|
|
|
69
|
+
</dd>
|
|
70
|
+
</dl>
|
|
71
|
+
</details>
|
|
72
|
+
|
|
73
|
+
## Customer: Stands
|
|
74
|
+
<details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">customerGetStandCart</a>({ ...params }) -> FiveOneEat.CustomerGetStandCartResponse</code></summary>
|
|
75
|
+
<dl>
|
|
76
|
+
<dd>
|
|
77
|
+
|
|
78
|
+
#### 🔌 Usage
|
|
79
|
+
|
|
80
|
+
<dl>
|
|
81
|
+
<dd>
|
|
82
|
+
|
|
83
|
+
<dl>
|
|
84
|
+
<dd>
|
|
85
|
+
|
|
86
|
+
```typescript
|
|
87
|
+
await client.customerStands.customerGetStandCart({
|
|
88
|
+
stand: "stand"
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
</dd>
|
|
93
|
+
</dl>
|
|
94
|
+
</dd>
|
|
95
|
+
</dl>
|
|
96
|
+
|
|
97
|
+
#### ⚙️ Parameters
|
|
98
|
+
|
|
99
|
+
<dl>
|
|
100
|
+
<dd>
|
|
101
|
+
|
|
102
|
+
<dl>
|
|
103
|
+
<dd>
|
|
104
|
+
|
|
105
|
+
**request:** `FiveOneEat.CustomerGetStandCartRequest`
|
|
106
|
+
|
|
107
|
+
</dd>
|
|
108
|
+
</dl>
|
|
109
|
+
|
|
110
|
+
<dl>
|
|
111
|
+
<dd>
|
|
112
|
+
|
|
113
|
+
**requestOptions:** `CustomerStandsClient.RequestOptions`
|
|
114
|
+
|
|
115
|
+
</dd>
|
|
116
|
+
</dl>
|
|
117
|
+
</dd>
|
|
118
|
+
</dl>
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
</dd>
|
|
122
|
+
</dl>
|
|
123
|
+
</details>
|
|
124
|
+
|
|
125
|
+
<details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">customerAddStandCartItem</a>({ ...params }) -> FiveOneEat.CustomerAddStandCartItemResponse</code></summary>
|
|
126
|
+
<dl>
|
|
127
|
+
<dd>
|
|
128
|
+
|
|
129
|
+
#### 🔌 Usage
|
|
130
|
+
|
|
131
|
+
<dl>
|
|
132
|
+
<dd>
|
|
133
|
+
|
|
134
|
+
<dl>
|
|
135
|
+
<dd>
|
|
136
|
+
|
|
137
|
+
```typescript
|
|
138
|
+
await client.customerStands.customerAddStandCartItem({
|
|
139
|
+
stand: "stand",
|
|
140
|
+
variant_id: "variant_id",
|
|
141
|
+
quantity: 1
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
</dd>
|
|
146
|
+
</dl>
|
|
147
|
+
</dd>
|
|
148
|
+
</dl>
|
|
149
|
+
|
|
150
|
+
#### ⚙️ Parameters
|
|
151
|
+
|
|
152
|
+
<dl>
|
|
153
|
+
<dd>
|
|
154
|
+
|
|
155
|
+
<dl>
|
|
156
|
+
<dd>
|
|
157
|
+
|
|
158
|
+
**request:** `FiveOneEat.CustomerAddStandCartItemRequest`
|
|
159
|
+
|
|
160
|
+
</dd>
|
|
161
|
+
</dl>
|
|
162
|
+
|
|
163
|
+
<dl>
|
|
164
|
+
<dd>
|
|
165
|
+
|
|
166
|
+
**requestOptions:** `CustomerStandsClient.RequestOptions`
|
|
167
|
+
|
|
168
|
+
</dd>
|
|
169
|
+
</dl>
|
|
170
|
+
</dd>
|
|
171
|
+
</dl>
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
</dd>
|
|
175
|
+
</dl>
|
|
176
|
+
</details>
|
|
177
|
+
|
|
178
|
+
<details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">customerClearStandCart</a>({ ...params }) -> void</code></summary>
|
|
179
|
+
<dl>
|
|
180
|
+
<dd>
|
|
181
|
+
|
|
182
|
+
#### 🔌 Usage
|
|
183
|
+
|
|
184
|
+
<dl>
|
|
185
|
+
<dd>
|
|
186
|
+
|
|
187
|
+
<dl>
|
|
188
|
+
<dd>
|
|
189
|
+
|
|
190
|
+
```typescript
|
|
191
|
+
await client.customerStands.customerClearStandCart({
|
|
192
|
+
stand: "stand"
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
```
|
|
196
|
+
</dd>
|
|
197
|
+
</dl>
|
|
198
|
+
</dd>
|
|
199
|
+
</dl>
|
|
200
|
+
|
|
201
|
+
#### ⚙️ Parameters
|
|
202
|
+
|
|
203
|
+
<dl>
|
|
204
|
+
<dd>
|
|
205
|
+
|
|
206
|
+
<dl>
|
|
207
|
+
<dd>
|
|
208
|
+
|
|
209
|
+
**request:** `FiveOneEat.CustomerClearStandCartRequest`
|
|
210
|
+
|
|
211
|
+
</dd>
|
|
212
|
+
</dl>
|
|
213
|
+
|
|
214
|
+
<dl>
|
|
215
|
+
<dd>
|
|
216
|
+
|
|
217
|
+
**requestOptions:** `CustomerStandsClient.RequestOptions`
|
|
218
|
+
|
|
219
|
+
</dd>
|
|
220
|
+
</dl>
|
|
221
|
+
</dd>
|
|
222
|
+
</dl>
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
</dd>
|
|
226
|
+
</dl>
|
|
227
|
+
</details>
|
|
228
|
+
|
|
229
|
+
<details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">customerStandPaymentIntent</a>({ ...params }) -> FiveOneEat.CustomerStandPaymentIntentResponse</code></summary>
|
|
230
|
+
<dl>
|
|
231
|
+
<dd>
|
|
232
|
+
|
|
233
|
+
#### 🔌 Usage
|
|
234
|
+
|
|
235
|
+
<dl>
|
|
236
|
+
<dd>
|
|
237
|
+
|
|
238
|
+
<dl>
|
|
239
|
+
<dd>
|
|
240
|
+
|
|
241
|
+
```typescript
|
|
242
|
+
await client.customerStands.customerStandPaymentIntent({
|
|
243
|
+
stand: "stand"
|
|
244
|
+
});
|
|
245
|
+
|
|
246
|
+
```
|
|
247
|
+
</dd>
|
|
248
|
+
</dl>
|
|
249
|
+
</dd>
|
|
250
|
+
</dl>
|
|
251
|
+
|
|
252
|
+
#### ⚙️ Parameters
|
|
253
|
+
|
|
254
|
+
<dl>
|
|
255
|
+
<dd>
|
|
256
|
+
|
|
257
|
+
<dl>
|
|
258
|
+
<dd>
|
|
259
|
+
|
|
260
|
+
**request:** `FiveOneEat.CustomerStandPaymentIntentRequest`
|
|
261
|
+
|
|
262
|
+
</dd>
|
|
263
|
+
</dl>
|
|
264
|
+
|
|
265
|
+
<dl>
|
|
266
|
+
<dd>
|
|
267
|
+
|
|
268
|
+
**requestOptions:** `CustomerStandsClient.RequestOptions`
|
|
269
|
+
|
|
270
|
+
</dd>
|
|
271
|
+
</dl>
|
|
272
|
+
</dd>
|
|
273
|
+
</dl>
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
</dd>
|
|
277
|
+
</dl>
|
|
278
|
+
</details>
|
|
279
|
+
|
|
280
|
+
<details><summary><code>client.customerStands.<a href="/src/api/resources/customerStands/client/Client.ts">customerStandCheckout</a>({ ...params }) -> FiveOneEat.CustomerStandCheckoutResponse</code></summary>
|
|
281
|
+
<dl>
|
|
282
|
+
<dd>
|
|
283
|
+
|
|
284
|
+
#### 🔌 Usage
|
|
285
|
+
|
|
286
|
+
<dl>
|
|
287
|
+
<dd>
|
|
288
|
+
|
|
289
|
+
<dl>
|
|
290
|
+
<dd>
|
|
291
|
+
|
|
292
|
+
```typescript
|
|
293
|
+
await client.customerStands.customerStandCheckout({
|
|
294
|
+
stand: "stand",
|
|
295
|
+
body: {
|
|
296
|
+
payment_intent_id: "payment_intent_id"
|
|
297
|
+
}
|
|
298
|
+
});
|
|
299
|
+
|
|
300
|
+
```
|
|
301
|
+
</dd>
|
|
302
|
+
</dl>
|
|
303
|
+
</dd>
|
|
304
|
+
</dl>
|
|
305
|
+
|
|
306
|
+
#### ⚙️ Parameters
|
|
307
|
+
|
|
308
|
+
<dl>
|
|
309
|
+
<dd>
|
|
310
|
+
|
|
311
|
+
<dl>
|
|
312
|
+
<dd>
|
|
313
|
+
|
|
314
|
+
**request:** `FiveOneEat.CustomerStandCheckoutRequest`
|
|
315
|
+
|
|
316
|
+
</dd>
|
|
317
|
+
</dl>
|
|
318
|
+
|
|
319
|
+
<dl>
|
|
320
|
+
<dd>
|
|
321
|
+
|
|
322
|
+
**requestOptions:** `CustomerStandsClient.RequestOptions`
|
|
323
|
+
|
|
324
|
+
</dd>
|
|
325
|
+
</dl>
|
|
326
|
+
</dd>
|
|
327
|
+
</dl>
|
|
328
|
+
|
|
329
|
+
|
|
69
330
|
</dd>
|
|
70
331
|
</dl>
|
|
71
332
|
</details>
|
|
@@ -1458,8 +1719,8 @@ await client.business.claims.claimViaToken({
|
|
|
1458
1719
|
</dl>
|
|
1459
1720
|
</details>
|
|
1460
1721
|
|
|
1461
|
-
## Business
|
|
1462
|
-
<details><summary><code>client.business.
|
|
1722
|
+
## Business ProductOrders
|
|
1723
|
+
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">list</a>({ ...params }) -> FiveOneEat.ListProductOrdersResponse</code></summary>
|
|
1463
1724
|
<dl>
|
|
1464
1725
|
<dd>
|
|
1465
1726
|
|
|
@@ -1472,7 +1733,7 @@ await client.business.claims.claimViaToken({
|
|
|
1472
1733
|
<dd>
|
|
1473
1734
|
|
|
1474
1735
|
```typescript
|
|
1475
|
-
await client.business.
|
|
1736
|
+
await client.business.productOrders.list();
|
|
1476
1737
|
|
|
1477
1738
|
```
|
|
1478
1739
|
</dd>
|
|
@@ -1488,7 +1749,15 @@ await client.business.discounts.list();
|
|
|
1488
1749
|
<dl>
|
|
1489
1750
|
<dd>
|
|
1490
1751
|
|
|
1491
|
-
**
|
|
1752
|
+
**request:** `FiveOneEat.business.ListProductOrdersRequest`
|
|
1753
|
+
|
|
1754
|
+
</dd>
|
|
1755
|
+
</dl>
|
|
1756
|
+
|
|
1757
|
+
<dl>
|
|
1758
|
+
<dd>
|
|
1759
|
+
|
|
1760
|
+
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
1492
1761
|
|
|
1493
1762
|
</dd>
|
|
1494
1763
|
</dl>
|
|
@@ -1500,7 +1769,7 @@ await client.business.discounts.list();
|
|
|
1500
1769
|
</dl>
|
|
1501
1770
|
</details>
|
|
1502
1771
|
|
|
1503
|
-
<details><summary><code>client.business.
|
|
1772
|
+
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetProductOrdersResponse</code></summary>
|
|
1504
1773
|
<dl>
|
|
1505
1774
|
<dd>
|
|
1506
1775
|
|
|
@@ -1513,11 +1782,8 @@ await client.business.discounts.list();
|
|
|
1513
1782
|
<dd>
|
|
1514
1783
|
|
|
1515
1784
|
```typescript
|
|
1516
|
-
await client.business.
|
|
1517
|
-
|
|
1518
|
-
type: "percentage",
|
|
1519
|
-
value: 1.1,
|
|
1520
|
-
applies_to: "all"
|
|
1785
|
+
await client.business.productOrders.get({
|
|
1786
|
+
productOrder: "productOrder"
|
|
1521
1787
|
});
|
|
1522
1788
|
|
|
1523
1789
|
```
|
|
@@ -1534,7 +1800,7 @@ await client.business.discounts.create({
|
|
|
1534
1800
|
<dl>
|
|
1535
1801
|
<dd>
|
|
1536
1802
|
|
|
1537
|
-
**request:** `FiveOneEat.business.
|
|
1803
|
+
**request:** `FiveOneEat.business.GetProductOrdersRequest`
|
|
1538
1804
|
|
|
1539
1805
|
</dd>
|
|
1540
1806
|
</dl>
|
|
@@ -1542,7 +1808,7 @@ await client.business.discounts.create({
|
|
|
1542
1808
|
<dl>
|
|
1543
1809
|
<dd>
|
|
1544
1810
|
|
|
1545
|
-
**requestOptions:** `
|
|
1811
|
+
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
1546
1812
|
|
|
1547
1813
|
</dd>
|
|
1548
1814
|
</dl>
|
|
@@ -1554,7 +1820,7 @@ await client.business.discounts.create({
|
|
|
1554
1820
|
</dl>
|
|
1555
1821
|
</details>
|
|
1556
1822
|
|
|
1557
|
-
<details><summary><code>client.business.
|
|
1823
|
+
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">fulfill</a>({ ...params }) -> FiveOneEat.FulfillProductOrdersResponse</code></summary>
|
|
1558
1824
|
<dl>
|
|
1559
1825
|
<dd>
|
|
1560
1826
|
|
|
@@ -1567,8 +1833,8 @@ await client.business.discounts.create({
|
|
|
1567
1833
|
<dd>
|
|
1568
1834
|
|
|
1569
1835
|
```typescript
|
|
1570
|
-
await client.business.
|
|
1571
|
-
|
|
1836
|
+
await client.business.productOrders.fulfill({
|
|
1837
|
+
productOrder: "productOrder"
|
|
1572
1838
|
});
|
|
1573
1839
|
|
|
1574
1840
|
```
|
|
@@ -1585,7 +1851,7 @@ await client.business.discounts.get({
|
|
|
1585
1851
|
<dl>
|
|
1586
1852
|
<dd>
|
|
1587
1853
|
|
|
1588
|
-
**request:** `FiveOneEat.business.
|
|
1854
|
+
**request:** `FiveOneEat.business.FulfillProductOrdersRequest`
|
|
1589
1855
|
|
|
1590
1856
|
</dd>
|
|
1591
1857
|
</dl>
|
|
@@ -1593,7 +1859,7 @@ await client.business.discounts.get({
|
|
|
1593
1859
|
<dl>
|
|
1594
1860
|
<dd>
|
|
1595
1861
|
|
|
1596
|
-
**requestOptions:** `
|
|
1862
|
+
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
1597
1863
|
|
|
1598
1864
|
</dd>
|
|
1599
1865
|
</dl>
|
|
@@ -1605,7 +1871,7 @@ await client.business.discounts.get({
|
|
|
1605
1871
|
</dl>
|
|
1606
1872
|
</details>
|
|
1607
1873
|
|
|
1608
|
-
<details><summary><code>client.business.
|
|
1874
|
+
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">markPickedUp</a>({ ...params }) -> FiveOneEat.MarkPickedUpProductOrdersResponse</code></summary>
|
|
1609
1875
|
<dl>
|
|
1610
1876
|
<dd>
|
|
1611
1877
|
|
|
@@ -1618,8 +1884,8 @@ await client.business.discounts.get({
|
|
|
1618
1884
|
<dd>
|
|
1619
1885
|
|
|
1620
1886
|
```typescript
|
|
1621
|
-
await client.business.
|
|
1622
|
-
|
|
1887
|
+
await client.business.productOrders.markPickedUp({
|
|
1888
|
+
productOrder: "productOrder"
|
|
1623
1889
|
});
|
|
1624
1890
|
|
|
1625
1891
|
```
|
|
@@ -1636,7 +1902,7 @@ await client.business.discounts.update({
|
|
|
1636
1902
|
<dl>
|
|
1637
1903
|
<dd>
|
|
1638
1904
|
|
|
1639
|
-
**request:** `FiveOneEat.business.
|
|
1905
|
+
**request:** `FiveOneEat.business.MarkPickedUpProductOrdersRequest`
|
|
1640
1906
|
|
|
1641
1907
|
</dd>
|
|
1642
1908
|
</dl>
|
|
@@ -1644,7 +1910,7 @@ await client.business.discounts.update({
|
|
|
1644
1910
|
<dl>
|
|
1645
1911
|
<dd>
|
|
1646
1912
|
|
|
1647
|
-
**requestOptions:** `
|
|
1913
|
+
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
1648
1914
|
|
|
1649
1915
|
</dd>
|
|
1650
1916
|
</dl>
|
|
@@ -1656,7 +1922,7 @@ await client.business.discounts.update({
|
|
|
1656
1922
|
</dl>
|
|
1657
1923
|
</details>
|
|
1658
1924
|
|
|
1659
|
-
<details><summary><code>client.business.
|
|
1925
|
+
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">addTracking</a>({ ...params }) -> FiveOneEat.AddTrackingProductOrdersResponse</code></summary>
|
|
1660
1926
|
<dl>
|
|
1661
1927
|
<dd>
|
|
1662
1928
|
|
|
@@ -1669,8 +1935,10 @@ await client.business.discounts.update({
|
|
|
1669
1935
|
<dd>
|
|
1670
1936
|
|
|
1671
1937
|
```typescript
|
|
1672
|
-
await client.business.
|
|
1673
|
-
|
|
1938
|
+
await client.business.productOrders.addTracking({
|
|
1939
|
+
productOrder: "productOrder",
|
|
1940
|
+
carrier: "carrier",
|
|
1941
|
+
tracking_number: "tracking_number"
|
|
1674
1942
|
});
|
|
1675
1943
|
|
|
1676
1944
|
```
|
|
@@ -1687,7 +1955,7 @@ await client.business.discounts.delete({
|
|
|
1687
1955
|
<dl>
|
|
1688
1956
|
<dd>
|
|
1689
1957
|
|
|
1690
|
-
**request:** `FiveOneEat.business.
|
|
1958
|
+
**request:** `FiveOneEat.business.AddTrackingProductOrdersRequest`
|
|
1691
1959
|
|
|
1692
1960
|
</dd>
|
|
1693
1961
|
</dl>
|
|
@@ -1695,7 +1963,7 @@ await client.business.discounts.delete({
|
|
|
1695
1963
|
<dl>
|
|
1696
1964
|
<dd>
|
|
1697
1965
|
|
|
1698
|
-
**requestOptions:** `
|
|
1966
|
+
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
1699
1967
|
|
|
1700
1968
|
</dd>
|
|
1701
1969
|
</dl>
|
|
@@ -1707,12 +1975,11 @@ await client.business.discounts.delete({
|
|
|
1707
1975
|
</dl>
|
|
1708
1976
|
</details>
|
|
1709
1977
|
|
|
1710
|
-
|
|
1711
|
-
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">list</a>() -> FiveOneEat.ListEventsResponse</code></summary>
|
|
1978
|
+
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">refund</a>({ ...params }) -> FiveOneEat.RefundProductOrdersResponse</code></summary>
|
|
1712
1979
|
<dl>
|
|
1713
1980
|
<dd>
|
|
1714
1981
|
|
|
1715
|
-
####
|
|
1982
|
+
#### 🔌 Usage
|
|
1716
1983
|
|
|
1717
1984
|
<dl>
|
|
1718
1985
|
<dd>
|
|
@@ -1720,13 +1987,18 @@ await client.business.discounts.delete({
|
|
|
1720
1987
|
<dl>
|
|
1721
1988
|
<dd>
|
|
1722
1989
|
|
|
1723
|
-
|
|
1990
|
+
```typescript
|
|
1991
|
+
await client.business.productOrders.refund({
|
|
1992
|
+
productOrder: "productOrder"
|
|
1993
|
+
});
|
|
1994
|
+
|
|
1995
|
+
```
|
|
1724
1996
|
</dd>
|
|
1725
1997
|
</dl>
|
|
1726
1998
|
</dd>
|
|
1727
1999
|
</dl>
|
|
1728
2000
|
|
|
1729
|
-
####
|
|
2001
|
+
#### ⚙️ Parameters
|
|
1730
2002
|
|
|
1731
2003
|
<dl>
|
|
1732
2004
|
<dd>
|
|
@@ -1734,24 +2006,15 @@ Accepts an optional `filter` query param: `upcoming`, `past`, or `all` (default
|
|
|
1734
2006
|
<dl>
|
|
1735
2007
|
<dd>
|
|
1736
2008
|
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
```
|
|
1741
|
-
</dd>
|
|
1742
|
-
</dl>
|
|
2009
|
+
**request:** `FiveOneEat.business.RefundProductOrdersRequest`
|
|
2010
|
+
|
|
1743
2011
|
</dd>
|
|
1744
2012
|
</dl>
|
|
1745
2013
|
|
|
1746
|
-
#### ⚙️ Parameters
|
|
1747
|
-
|
|
1748
|
-
<dl>
|
|
1749
|
-
<dd>
|
|
1750
|
-
|
|
1751
2014
|
<dl>
|
|
1752
2015
|
<dd>
|
|
1753
2016
|
|
|
1754
|
-
**requestOptions:** `
|
|
2017
|
+
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
1755
2018
|
|
|
1756
2019
|
</dd>
|
|
1757
2020
|
</dl>
|
|
@@ -1763,7 +2026,7 @@ await client.business.events.list();
|
|
|
1763
2026
|
</dl>
|
|
1764
2027
|
</details>
|
|
1765
2028
|
|
|
1766
|
-
<details><summary><code>client.business.
|
|
2029
|
+
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">getLabelRates</a>({ ...params }) -> FiveOneEat.GetLabelRatesProductOrdersResponseItem[]</code></summary>
|
|
1767
2030
|
<dl>
|
|
1768
2031
|
<dd>
|
|
1769
2032
|
|
|
@@ -1776,10 +2039,8 @@ await client.business.events.list();
|
|
|
1776
2039
|
<dd>
|
|
1777
2040
|
|
|
1778
2041
|
```typescript
|
|
1779
|
-
await client.business.
|
|
1780
|
-
|
|
1781
|
-
starts_at: "2024-01-15T09:30:00Z",
|
|
1782
|
-
ends_at: "2024-01-15T09:30:00Z"
|
|
2042
|
+
await client.business.productOrders.getLabelRates({
|
|
2043
|
+
productOrder: "productOrder"
|
|
1783
2044
|
});
|
|
1784
2045
|
|
|
1785
2046
|
```
|
|
@@ -1796,7 +2057,7 @@ await client.business.events.create({
|
|
|
1796
2057
|
<dl>
|
|
1797
2058
|
<dd>
|
|
1798
2059
|
|
|
1799
|
-
**request:** `FiveOneEat.business.
|
|
2060
|
+
**request:** `FiveOneEat.business.GetLabelRatesProductOrdersRequest`
|
|
1800
2061
|
|
|
1801
2062
|
</dd>
|
|
1802
2063
|
</dl>
|
|
@@ -1804,7 +2065,7 @@ await client.business.events.create({
|
|
|
1804
2065
|
<dl>
|
|
1805
2066
|
<dd>
|
|
1806
2067
|
|
|
1807
|
-
**requestOptions:** `
|
|
2068
|
+
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
1808
2069
|
|
|
1809
2070
|
</dd>
|
|
1810
2071
|
</dl>
|
|
@@ -1816,7 +2077,7 @@ await client.business.events.create({
|
|
|
1816
2077
|
</dl>
|
|
1817
2078
|
</details>
|
|
1818
2079
|
|
|
1819
|
-
<details><summary><code>client.business.
|
|
2080
|
+
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">purchaseLabel</a>({ ...params }) -> FiveOneEat.PurchaseLabelProductOrdersResponse</code></summary>
|
|
1820
2081
|
<dl>
|
|
1821
2082
|
<dd>
|
|
1822
2083
|
|
|
@@ -1829,8 +2090,9 @@ await client.business.events.create({
|
|
|
1829
2090
|
<dd>
|
|
1830
2091
|
|
|
1831
2092
|
```typescript
|
|
1832
|
-
await client.business.
|
|
1833
|
-
|
|
2093
|
+
await client.business.productOrders.purchaseLabel({
|
|
2094
|
+
productOrder: "productOrder",
|
|
2095
|
+
provider_rate_id: "provider_rate_id"
|
|
1834
2096
|
});
|
|
1835
2097
|
|
|
1836
2098
|
```
|
|
@@ -1847,7 +2109,7 @@ await client.business.events.get({
|
|
|
1847
2109
|
<dl>
|
|
1848
2110
|
<dd>
|
|
1849
2111
|
|
|
1850
|
-
**request:** `FiveOneEat.business.
|
|
2112
|
+
**request:** `FiveOneEat.business.PurchaseLabelProductOrdersRequest`
|
|
1851
2113
|
|
|
1852
2114
|
</dd>
|
|
1853
2115
|
</dl>
|
|
@@ -1855,7 +2117,7 @@ await client.business.events.get({
|
|
|
1855
2117
|
<dl>
|
|
1856
2118
|
<dd>
|
|
1857
2119
|
|
|
1858
|
-
**requestOptions:** `
|
|
2120
|
+
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
1859
2121
|
|
|
1860
2122
|
</dd>
|
|
1861
2123
|
</dl>
|
|
@@ -1867,7 +2129,8 @@ await client.business.events.get({
|
|
|
1867
2129
|
</dl>
|
|
1868
2130
|
</details>
|
|
1869
2131
|
|
|
1870
|
-
|
|
2132
|
+
## Business PriceLists
|
|
2133
|
+
<details><summary><code>client.business.priceLists.<a href="/src/api/resources/business/resources/priceLists/client/Client.ts">list</a>() -> FiveOneEat.ListPriceListsResponse</code></summary>
|
|
1871
2134
|
<dl>
|
|
1872
2135
|
<dd>
|
|
1873
2136
|
|
|
@@ -1880,9 +2143,7 @@ await client.business.events.get({
|
|
|
1880
2143
|
<dd>
|
|
1881
2144
|
|
|
1882
2145
|
```typescript
|
|
1883
|
-
await client.business.
|
|
1884
|
-
event: "event"
|
|
1885
|
-
});
|
|
2146
|
+
await client.business.priceLists.list();
|
|
1886
2147
|
|
|
1887
2148
|
```
|
|
1888
2149
|
</dd>
|
|
@@ -1898,15 +2159,7 @@ await client.business.events.update({
|
|
|
1898
2159
|
<dl>
|
|
1899
2160
|
<dd>
|
|
1900
2161
|
|
|
1901
|
-
**
|
|
1902
|
-
|
|
1903
|
-
</dd>
|
|
1904
|
-
</dl>
|
|
1905
|
-
|
|
1906
|
-
<dl>
|
|
1907
|
-
<dd>
|
|
1908
|
-
|
|
1909
|
-
**requestOptions:** `EventsClient.RequestOptions`
|
|
2162
|
+
**requestOptions:** `PriceListsClient.RequestOptions`
|
|
1910
2163
|
|
|
1911
2164
|
</dd>
|
|
1912
2165
|
</dl>
|
|
@@ -1918,7 +2171,7 @@ await client.business.events.update({
|
|
|
1918
2171
|
</dl>
|
|
1919
2172
|
</details>
|
|
1920
2173
|
|
|
1921
|
-
<details><summary><code>client.business.
|
|
2174
|
+
<details><summary><code>client.business.priceLists.<a href="/src/api/resources/business/resources/priceLists/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreatePriceListsResponse</code></summary>
|
|
1922
2175
|
<dl>
|
|
1923
2176
|
<dd>
|
|
1924
2177
|
|
|
@@ -1931,8 +2184,8 @@ await client.business.events.update({
|
|
|
1931
2184
|
<dd>
|
|
1932
2185
|
|
|
1933
2186
|
```typescript
|
|
1934
|
-
await client.business.
|
|
1935
|
-
|
|
2187
|
+
await client.business.priceLists.create({
|
|
2188
|
+
name: "name"
|
|
1936
2189
|
});
|
|
1937
2190
|
|
|
1938
2191
|
```
|
|
@@ -1949,7 +2202,7 @@ await client.business.events.delete({
|
|
|
1949
2202
|
<dl>
|
|
1950
2203
|
<dd>
|
|
1951
2204
|
|
|
1952
|
-
**request:** `FiveOneEat.business.
|
|
2205
|
+
**request:** `FiveOneEat.business.StorePriceListRequest`
|
|
1953
2206
|
|
|
1954
2207
|
</dd>
|
|
1955
2208
|
</dl>
|
|
@@ -1957,7 +2210,7 @@ await client.business.events.delete({
|
|
|
1957
2210
|
<dl>
|
|
1958
2211
|
<dd>
|
|
1959
2212
|
|
|
1960
|
-
**requestOptions:** `
|
|
2213
|
+
**requestOptions:** `PriceListsClient.RequestOptions`
|
|
1961
2214
|
|
|
1962
2215
|
</dd>
|
|
1963
2216
|
</dl>
|
|
@@ -1969,7 +2222,7 @@ await client.business.events.delete({
|
|
|
1969
2222
|
</dl>
|
|
1970
2223
|
</details>
|
|
1971
2224
|
|
|
1972
|
-
<details><summary><code>client.business.
|
|
2225
|
+
<details><summary><code>client.business.priceLists.<a href="/src/api/resources/business/resources/priceLists/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
|
1973
2226
|
<dl>
|
|
1974
2227
|
<dd>
|
|
1975
2228
|
|
|
@@ -1982,8 +2235,8 @@ await client.business.events.delete({
|
|
|
1982
2235
|
<dd>
|
|
1983
2236
|
|
|
1984
2237
|
```typescript
|
|
1985
|
-
await client.business.
|
|
1986
|
-
|
|
2238
|
+
await client.business.priceLists.delete({
|
|
2239
|
+
priceList: "priceList"
|
|
1987
2240
|
});
|
|
1988
2241
|
|
|
1989
2242
|
```
|
|
@@ -2000,7 +2253,7 @@ await client.business.events.togglePublished({
|
|
|
2000
2253
|
<dl>
|
|
2001
2254
|
<dd>
|
|
2002
2255
|
|
|
2003
|
-
**request:** `FiveOneEat.business.
|
|
2256
|
+
**request:** `FiveOneEat.business.DeletePriceListsRequest`
|
|
2004
2257
|
|
|
2005
2258
|
</dd>
|
|
2006
2259
|
</dl>
|
|
@@ -2008,7 +2261,7 @@ await client.business.events.togglePublished({
|
|
|
2008
2261
|
<dl>
|
|
2009
2262
|
<dd>
|
|
2010
2263
|
|
|
2011
|
-
**requestOptions:** `
|
|
2264
|
+
**requestOptions:** `PriceListsClient.RequestOptions`
|
|
2012
2265
|
|
|
2013
2266
|
</dd>
|
|
2014
2267
|
</dl>
|
|
@@ -2020,11 +2273,12 @@ await client.business.events.togglePublished({
|
|
|
2020
2273
|
</dl>
|
|
2021
2274
|
</details>
|
|
2022
2275
|
|
|
2023
|
-
|
|
2276
|
+
## Business Products
|
|
2277
|
+
<details><summary><code>client.business.products.<a href="/src/api/resources/business/resources/products/client/Client.ts">list</a>() -> FiveOneEat.ListProductsResponse</code></summary>
|
|
2024
2278
|
<dl>
|
|
2025
2279
|
<dd>
|
|
2026
2280
|
|
|
2027
|
-
####
|
|
2281
|
+
#### 🔌 Usage
|
|
2028
2282
|
|
|
2029
2283
|
<dl>
|
|
2030
2284
|
<dd>
|
|
@@ -2032,11 +2286,38 @@ await client.business.events.togglePublished({
|
|
|
2032
2286
|
<dl>
|
|
2033
2287
|
<dd>
|
|
2034
2288
|
|
|
2035
|
-
|
|
2289
|
+
```typescript
|
|
2290
|
+
await client.business.products.list();
|
|
2291
|
+
|
|
2292
|
+
```
|
|
2293
|
+
</dd>
|
|
2294
|
+
</dl>
|
|
2295
|
+
</dd>
|
|
2296
|
+
</dl>
|
|
2297
|
+
|
|
2298
|
+
#### ⚙️ Parameters
|
|
2299
|
+
|
|
2300
|
+
<dl>
|
|
2301
|
+
<dd>
|
|
2302
|
+
|
|
2303
|
+
<dl>
|
|
2304
|
+
<dd>
|
|
2305
|
+
|
|
2306
|
+
**requestOptions:** `ProductsClient.RequestOptions`
|
|
2307
|
+
|
|
2308
|
+
</dd>
|
|
2309
|
+
</dl>
|
|
2036
2310
|
</dd>
|
|
2037
2311
|
</dl>
|
|
2312
|
+
|
|
2313
|
+
|
|
2038
2314
|
</dd>
|
|
2039
2315
|
</dl>
|
|
2316
|
+
</details>
|
|
2317
|
+
|
|
2318
|
+
<details><summary><code>client.business.products.<a href="/src/api/resources/business/resources/products/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateProductsResponse</code></summary>
|
|
2319
|
+
<dl>
|
|
2320
|
+
<dd>
|
|
2040
2321
|
|
|
2041
2322
|
#### 🔌 Usage
|
|
2042
2323
|
|
|
@@ -2047,9 +2328,8 @@ Upload and replace the image for the given event. Any existing image will be del
|
|
|
2047
2328
|
<dd>
|
|
2048
2329
|
|
|
2049
2330
|
```typescript
|
|
2050
|
-
await client.business.
|
|
2051
|
-
|
|
2052
|
-
event: "event"
|
|
2331
|
+
await client.business.products.create({
|
|
2332
|
+
name: "name"
|
|
2053
2333
|
});
|
|
2054
2334
|
|
|
2055
2335
|
```
|
|
@@ -2066,7 +2346,7 @@ await client.business.events.uploadImage({
|
|
|
2066
2346
|
<dl>
|
|
2067
2347
|
<dd>
|
|
2068
2348
|
|
|
2069
|
-
**request:** `FiveOneEat.business.
|
|
2349
|
+
**request:** `FiveOneEat.business.StoreProductRequest`
|
|
2070
2350
|
|
|
2071
2351
|
</dd>
|
|
2072
2352
|
</dl>
|
|
@@ -2074,7 +2354,7 @@ await client.business.events.uploadImage({
|
|
|
2074
2354
|
<dl>
|
|
2075
2355
|
<dd>
|
|
2076
2356
|
|
|
2077
|
-
**requestOptions:** `
|
|
2357
|
+
**requestOptions:** `ProductsClient.RequestOptions`
|
|
2078
2358
|
|
|
2079
2359
|
</dd>
|
|
2080
2360
|
</dl>
|
|
@@ -2086,7 +2366,7 @@ await client.business.events.uploadImage({
|
|
|
2086
2366
|
</dl>
|
|
2087
2367
|
</details>
|
|
2088
2368
|
|
|
2089
|
-
<details><summary><code>client.business.
|
|
2369
|
+
<details><summary><code>client.business.products.<a href="/src/api/resources/business/resources/products/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetProductsResponse</code></summary>
|
|
2090
2370
|
<dl>
|
|
2091
2371
|
<dd>
|
|
2092
2372
|
|
|
@@ -2099,8 +2379,8 @@ await client.business.events.uploadImage({
|
|
|
2099
2379
|
<dd>
|
|
2100
2380
|
|
|
2101
2381
|
```typescript
|
|
2102
|
-
await client.business.
|
|
2103
|
-
|
|
2382
|
+
await client.business.products.get({
|
|
2383
|
+
product: "product"
|
|
2104
2384
|
});
|
|
2105
2385
|
|
|
2106
2386
|
```
|
|
@@ -2117,7 +2397,7 @@ await client.business.events.deleteImage({
|
|
|
2117
2397
|
<dl>
|
|
2118
2398
|
<dd>
|
|
2119
2399
|
|
|
2120
|
-
**request:** `FiveOneEat.business.
|
|
2400
|
+
**request:** `FiveOneEat.business.GetProductsRequest`
|
|
2121
2401
|
|
|
2122
2402
|
</dd>
|
|
2123
2403
|
</dl>
|
|
@@ -2125,7 +2405,7 @@ await client.business.events.deleteImage({
|
|
|
2125
2405
|
<dl>
|
|
2126
2406
|
<dd>
|
|
2127
2407
|
|
|
2128
|
-
**requestOptions:** `
|
|
2408
|
+
**requestOptions:** `ProductsClient.RequestOptions`
|
|
2129
2409
|
|
|
2130
2410
|
</dd>
|
|
2131
2411
|
</dl>
|
|
@@ -2137,24 +2417,10 @@ await client.business.events.deleteImage({
|
|
|
2137
2417
|
</dl>
|
|
2138
2418
|
</details>
|
|
2139
2419
|
|
|
2140
|
-
<details><summary><code>client.business.
|
|
2141
|
-
<dl>
|
|
2142
|
-
<dd>
|
|
2143
|
-
|
|
2144
|
-
#### 📝 Description
|
|
2145
|
-
|
|
2146
|
-
<dl>
|
|
2147
|
-
<dd>
|
|
2148
|
-
|
|
2420
|
+
<details><summary><code>client.business.products.<a href="/src/api/resources/business/resources/products/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateProductsResponse</code></summary>
|
|
2149
2421
|
<dl>
|
|
2150
2422
|
<dd>
|
|
2151
2423
|
|
|
2152
|
-
Accepts an optional `status` query param: `attending`, `not_attending`, or `maybe`.
|
|
2153
|
-
</dd>
|
|
2154
|
-
</dl>
|
|
2155
|
-
</dd>
|
|
2156
|
-
</dl>
|
|
2157
|
-
|
|
2158
2424
|
#### 🔌 Usage
|
|
2159
2425
|
|
|
2160
2426
|
<dl>
|
|
@@ -2164,8 +2430,9 @@ Accepts an optional `status` query param: `attending`, `not_attending`, or `mayb
|
|
|
2164
2430
|
<dd>
|
|
2165
2431
|
|
|
2166
2432
|
```typescript
|
|
2167
|
-
await client.business.
|
|
2168
|
-
|
|
2433
|
+
await client.business.products.update({
|
|
2434
|
+
product: "product",
|
|
2435
|
+
name: "name"
|
|
2169
2436
|
});
|
|
2170
2437
|
|
|
2171
2438
|
```
|
|
@@ -2182,7 +2449,7 @@ await client.business.events.listRsvps({
|
|
|
2182
2449
|
<dl>
|
|
2183
2450
|
<dd>
|
|
2184
2451
|
|
|
2185
|
-
**request:** `FiveOneEat.business.
|
|
2452
|
+
**request:** `FiveOneEat.business.UpdateProductRequest`
|
|
2186
2453
|
|
|
2187
2454
|
</dd>
|
|
2188
2455
|
</dl>
|
|
@@ -2190,7 +2457,7 @@ await client.business.events.listRsvps({
|
|
|
2190
2457
|
<dl>
|
|
2191
2458
|
<dd>
|
|
2192
2459
|
|
|
2193
|
-
**requestOptions:** `
|
|
2460
|
+
**requestOptions:** `ProductsClient.RequestOptions`
|
|
2194
2461
|
|
|
2195
2462
|
</dd>
|
|
2196
2463
|
</dl>
|
|
@@ -2202,25 +2469,10 @@ await client.business.events.listRsvps({
|
|
|
2202
2469
|
</dl>
|
|
2203
2470
|
</details>
|
|
2204
2471
|
|
|
2205
|
-
<details><summary><code>client.business.
|
|
2206
|
-
<dl>
|
|
2207
|
-
<dd>
|
|
2208
|
-
|
|
2209
|
-
#### 📝 Description
|
|
2210
|
-
|
|
2211
|
-
<dl>
|
|
2212
|
-
<dd>
|
|
2213
|
-
|
|
2472
|
+
<details><summary><code>client.business.products.<a href="/src/api/resources/business/resources/products/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
|
2214
2473
|
<dl>
|
|
2215
2474
|
<dd>
|
|
2216
2475
|
|
|
2217
|
-
Accepts an optional `status` query param matching the ticket status
|
|
2218
|
-
(`valid`, `used`, `cancelled`, `refunded`).
|
|
2219
|
-
</dd>
|
|
2220
|
-
</dl>
|
|
2221
|
-
</dd>
|
|
2222
|
-
</dl>
|
|
2223
|
-
|
|
2224
2476
|
#### 🔌 Usage
|
|
2225
2477
|
|
|
2226
2478
|
<dl>
|
|
@@ -2230,8 +2482,8 @@ Accepts an optional `status` query param matching the ticket status
|
|
|
2230
2482
|
<dd>
|
|
2231
2483
|
|
|
2232
2484
|
```typescript
|
|
2233
|
-
await client.business.
|
|
2234
|
-
|
|
2485
|
+
await client.business.products.delete({
|
|
2486
|
+
product: "product"
|
|
2235
2487
|
});
|
|
2236
2488
|
|
|
2237
2489
|
```
|
|
@@ -2248,7 +2500,7 @@ await client.business.events.listAttendees({
|
|
|
2248
2500
|
<dl>
|
|
2249
2501
|
<dd>
|
|
2250
2502
|
|
|
2251
|
-
**request:** `FiveOneEat.business.
|
|
2503
|
+
**request:** `FiveOneEat.business.DeleteProductsRequest`
|
|
2252
2504
|
|
|
2253
2505
|
</dd>
|
|
2254
2506
|
</dl>
|
|
@@ -2256,7 +2508,7 @@ await client.business.events.listAttendees({
|
|
|
2256
2508
|
<dl>
|
|
2257
2509
|
<dd>
|
|
2258
2510
|
|
|
2259
|
-
**requestOptions:** `
|
|
2511
|
+
**requestOptions:** `ProductsClient.RequestOptions`
|
|
2260
2512
|
|
|
2261
2513
|
</dd>
|
|
2262
2514
|
</dl>
|
|
@@ -2268,7 +2520,8 @@ await client.business.events.listAttendees({
|
|
|
2268
2520
|
</dl>
|
|
2269
2521
|
</details>
|
|
2270
2522
|
|
|
2271
|
-
|
|
2523
|
+
## Business Events
|
|
2524
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">list</a>() -> FiveOneEat.ListEventsResponse</code></summary>
|
|
2272
2525
|
<dl>
|
|
2273
2526
|
<dd>
|
|
2274
2527
|
|
|
@@ -2280,8 +2533,7 @@ await client.business.events.listAttendees({
|
|
|
2280
2533
|
<dl>
|
|
2281
2534
|
<dd>
|
|
2282
2535
|
|
|
2283
|
-
|
|
2284
|
-
and a per-ticket-type breakdown.
|
|
2536
|
+
Accepts an optional `filter` query param: `upcoming`, `past`, or `all` (default `all`).
|
|
2285
2537
|
</dd>
|
|
2286
2538
|
</dl>
|
|
2287
2539
|
</dd>
|
|
@@ -2296,9 +2548,7 @@ and a per-ticket-type breakdown.
|
|
|
2296
2548
|
<dd>
|
|
2297
2549
|
|
|
2298
2550
|
```typescript
|
|
2299
|
-
await client.business.events.
|
|
2300
|
-
event: "event"
|
|
2301
|
-
});
|
|
2551
|
+
await client.business.events.list();
|
|
2302
2552
|
|
|
2303
2553
|
```
|
|
2304
2554
|
</dd>
|
|
@@ -2314,14 +2564,6 @@ await client.business.events.salesSummary({
|
|
|
2314
2564
|
<dl>
|
|
2315
2565
|
<dd>
|
|
2316
2566
|
|
|
2317
|
-
**request:** `FiveOneEat.business.SalesSummaryEventsRequest`
|
|
2318
|
-
|
|
2319
|
-
</dd>
|
|
2320
|
-
</dl>
|
|
2321
|
-
|
|
2322
|
-
<dl>
|
|
2323
|
-
<dd>
|
|
2324
|
-
|
|
2325
2567
|
**requestOptions:** `EventsClient.RequestOptions`
|
|
2326
2568
|
|
|
2327
2569
|
</dd>
|
|
@@ -2334,8 +2576,7 @@ await client.business.events.salesSummary({
|
|
|
2334
2576
|
</dl>
|
|
2335
2577
|
</details>
|
|
2336
2578
|
|
|
2337
|
-
|
|
2338
|
-
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">list</a>() -> FiveOneEat.ListGalleryResponse</code></summary>
|
|
2579
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateEventsResponse</code></summary>
|
|
2339
2580
|
<dl>
|
|
2340
2581
|
<dd>
|
|
2341
2582
|
|
|
@@ -2348,7 +2589,11 @@ await client.business.events.salesSummary({
|
|
|
2348
2589
|
<dd>
|
|
2349
2590
|
|
|
2350
2591
|
```typescript
|
|
2351
|
-
await client.business.
|
|
2592
|
+
await client.business.events.create({
|
|
2593
|
+
title: "title",
|
|
2594
|
+
starts_at: "2024-01-15T09:30:00Z",
|
|
2595
|
+
ends_at: "2024-01-15T09:30:00Z"
|
|
2596
|
+
});
|
|
2352
2597
|
|
|
2353
2598
|
```
|
|
2354
2599
|
</dd>
|
|
@@ -2364,7 +2609,15 @@ await client.business.gallery.list();
|
|
|
2364
2609
|
<dl>
|
|
2365
2610
|
<dd>
|
|
2366
2611
|
|
|
2367
|
-
**
|
|
2612
|
+
**request:** `FiveOneEat.business.StoreEventRequest`
|
|
2613
|
+
|
|
2614
|
+
</dd>
|
|
2615
|
+
</dl>
|
|
2616
|
+
|
|
2617
|
+
<dl>
|
|
2618
|
+
<dd>
|
|
2619
|
+
|
|
2620
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2368
2621
|
|
|
2369
2622
|
</dd>
|
|
2370
2623
|
</dl>
|
|
@@ -2376,7 +2629,7 @@ await client.business.gallery.list();
|
|
|
2376
2629
|
</dl>
|
|
2377
2630
|
</details>
|
|
2378
2631
|
|
|
2379
|
-
<details><summary><code>client.business.
|
|
2632
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetEventsResponse</code></summary>
|
|
2380
2633
|
<dl>
|
|
2381
2634
|
<dd>
|
|
2382
2635
|
|
|
@@ -2389,8 +2642,8 @@ await client.business.gallery.list();
|
|
|
2389
2642
|
<dd>
|
|
2390
2643
|
|
|
2391
2644
|
```typescript
|
|
2392
|
-
await client.business.
|
|
2393
|
-
|
|
2645
|
+
await client.business.events.get({
|
|
2646
|
+
event: "event"
|
|
2394
2647
|
});
|
|
2395
2648
|
|
|
2396
2649
|
```
|
|
@@ -2407,7 +2660,7 @@ await client.business.gallery.upload({
|
|
|
2407
2660
|
<dl>
|
|
2408
2661
|
<dd>
|
|
2409
2662
|
|
|
2410
|
-
**request:** `FiveOneEat.business.
|
|
2663
|
+
**request:** `FiveOneEat.business.GetEventsRequest`
|
|
2411
2664
|
|
|
2412
2665
|
</dd>
|
|
2413
2666
|
</dl>
|
|
@@ -2415,7 +2668,7 @@ await client.business.gallery.upload({
|
|
|
2415
2668
|
<dl>
|
|
2416
2669
|
<dd>
|
|
2417
2670
|
|
|
2418
|
-
**requestOptions:** `
|
|
2671
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2419
2672
|
|
|
2420
2673
|
</dd>
|
|
2421
2674
|
</dl>
|
|
@@ -2427,7 +2680,7 @@ await client.business.gallery.upload({
|
|
|
2427
2680
|
</dl>
|
|
2428
2681
|
</details>
|
|
2429
2682
|
|
|
2430
|
-
<details><summary><code>client.business.
|
|
2683
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateEventsResponse</code></summary>
|
|
2431
2684
|
<dl>
|
|
2432
2685
|
<dd>
|
|
2433
2686
|
|
|
@@ -2440,11 +2693,8 @@ await client.business.gallery.upload({
|
|
|
2440
2693
|
<dd>
|
|
2441
2694
|
|
|
2442
2695
|
```typescript
|
|
2443
|
-
await client.business.
|
|
2444
|
-
|
|
2445
|
-
id: "id",
|
|
2446
|
-
sort_order: 1
|
|
2447
|
-
}]
|
|
2696
|
+
await client.business.events.update({
|
|
2697
|
+
event: "event"
|
|
2448
2698
|
});
|
|
2449
2699
|
|
|
2450
2700
|
```
|
|
@@ -2461,7 +2711,7 @@ await client.business.gallery.reorder({
|
|
|
2461
2711
|
<dl>
|
|
2462
2712
|
<dd>
|
|
2463
2713
|
|
|
2464
|
-
**request:** `FiveOneEat.business.
|
|
2714
|
+
**request:** `FiveOneEat.business.UpdateEventRequest`
|
|
2465
2715
|
|
|
2466
2716
|
</dd>
|
|
2467
2717
|
</dl>
|
|
@@ -2469,7 +2719,7 @@ await client.business.gallery.reorder({
|
|
|
2469
2719
|
<dl>
|
|
2470
2720
|
<dd>
|
|
2471
2721
|
|
|
2472
|
-
**requestOptions:** `
|
|
2722
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2473
2723
|
|
|
2474
2724
|
</dd>
|
|
2475
2725
|
</dl>
|
|
@@ -2481,7 +2731,7 @@ await client.business.gallery.reorder({
|
|
|
2481
2731
|
</dl>
|
|
2482
2732
|
</details>
|
|
2483
2733
|
|
|
2484
|
-
<details><summary><code>client.business.
|
|
2734
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteEventsResponse</code></summary>
|
|
2485
2735
|
<dl>
|
|
2486
2736
|
<dd>
|
|
2487
2737
|
|
|
@@ -2494,8 +2744,8 @@ await client.business.gallery.reorder({
|
|
|
2494
2744
|
<dd>
|
|
2495
2745
|
|
|
2496
2746
|
```typescript
|
|
2497
|
-
await client.business.
|
|
2498
|
-
|
|
2747
|
+
await client.business.events.delete({
|
|
2748
|
+
event: "event"
|
|
2499
2749
|
});
|
|
2500
2750
|
|
|
2501
2751
|
```
|
|
@@ -2512,7 +2762,7 @@ await client.business.gallery.update({
|
|
|
2512
2762
|
<dl>
|
|
2513
2763
|
<dd>
|
|
2514
2764
|
|
|
2515
|
-
**request:** `FiveOneEat.business.
|
|
2765
|
+
**request:** `FiveOneEat.business.DeleteEventsRequest`
|
|
2516
2766
|
|
|
2517
2767
|
</dd>
|
|
2518
2768
|
</dl>
|
|
@@ -2520,100 +2770,7 @@ await client.business.gallery.update({
|
|
|
2520
2770
|
<dl>
|
|
2521
2771
|
<dd>
|
|
2522
2772
|
|
|
2523
|
-
**requestOptions:** `
|
|
2524
|
-
|
|
2525
|
-
</dd>
|
|
2526
|
-
</dl>
|
|
2527
|
-
</dd>
|
|
2528
|
-
</dl>
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
</dd>
|
|
2532
|
-
</dl>
|
|
2533
|
-
</details>
|
|
2534
|
-
|
|
2535
|
-
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteGalleryResponse</code></summary>
|
|
2536
|
-
<dl>
|
|
2537
|
-
<dd>
|
|
2538
|
-
|
|
2539
|
-
#### 🔌 Usage
|
|
2540
|
-
|
|
2541
|
-
<dl>
|
|
2542
|
-
<dd>
|
|
2543
|
-
|
|
2544
|
-
<dl>
|
|
2545
|
-
<dd>
|
|
2546
|
-
|
|
2547
|
-
```typescript
|
|
2548
|
-
await client.business.gallery.delete({
|
|
2549
|
-
photo: "photo"
|
|
2550
|
-
});
|
|
2551
|
-
|
|
2552
|
-
```
|
|
2553
|
-
</dd>
|
|
2554
|
-
</dl>
|
|
2555
|
-
</dd>
|
|
2556
|
-
</dl>
|
|
2557
|
-
|
|
2558
|
-
#### ⚙️ Parameters
|
|
2559
|
-
|
|
2560
|
-
<dl>
|
|
2561
|
-
<dd>
|
|
2562
|
-
|
|
2563
|
-
<dl>
|
|
2564
|
-
<dd>
|
|
2565
|
-
|
|
2566
|
-
**request:** `FiveOneEat.business.DeleteGalleryRequest`
|
|
2567
|
-
|
|
2568
|
-
</dd>
|
|
2569
|
-
</dl>
|
|
2570
|
-
|
|
2571
|
-
<dl>
|
|
2572
|
-
<dd>
|
|
2573
|
-
|
|
2574
|
-
**requestOptions:** `GalleryClient.RequestOptions`
|
|
2575
|
-
|
|
2576
|
-
</dd>
|
|
2577
|
-
</dl>
|
|
2578
|
-
</dd>
|
|
2579
|
-
</dl>
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
</dd>
|
|
2583
|
-
</dl>
|
|
2584
|
-
</details>
|
|
2585
|
-
|
|
2586
|
-
## Business Hours
|
|
2587
|
-
<details><summary><code>client.business.hours.<a href="/src/api/resources/business/resources/hours/client/Client.ts">get</a>() -> FiveOneEat.GetHoursResponse</code></summary>
|
|
2588
|
-
<dl>
|
|
2589
|
-
<dd>
|
|
2590
|
-
|
|
2591
|
-
#### 🔌 Usage
|
|
2592
|
-
|
|
2593
|
-
<dl>
|
|
2594
|
-
<dd>
|
|
2595
|
-
|
|
2596
|
-
<dl>
|
|
2597
|
-
<dd>
|
|
2598
|
-
|
|
2599
|
-
```typescript
|
|
2600
|
-
await client.business.hours.get();
|
|
2601
|
-
|
|
2602
|
-
```
|
|
2603
|
-
</dd>
|
|
2604
|
-
</dl>
|
|
2605
|
-
</dd>
|
|
2606
|
-
</dl>
|
|
2607
|
-
|
|
2608
|
-
#### ⚙️ Parameters
|
|
2609
|
-
|
|
2610
|
-
<dl>
|
|
2611
|
-
<dd>
|
|
2612
|
-
|
|
2613
|
-
<dl>
|
|
2614
|
-
<dd>
|
|
2615
|
-
|
|
2616
|
-
**requestOptions:** `HoursClient.RequestOptions`
|
|
2773
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2617
2774
|
|
|
2618
2775
|
</dd>
|
|
2619
2776
|
</dl>
|
|
@@ -2625,7 +2782,7 @@ await client.business.hours.get();
|
|
|
2625
2782
|
</dl>
|
|
2626
2783
|
</details>
|
|
2627
2784
|
|
|
2628
|
-
<details><summary><code>client.business.
|
|
2785
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">togglePublished</a>({ ...params }) -> FiveOneEat.TogglePublishedEventsResponse</code></summary>
|
|
2629
2786
|
<dl>
|
|
2630
2787
|
<dd>
|
|
2631
2788
|
|
|
@@ -2638,12 +2795,8 @@ await client.business.hours.get();
|
|
|
2638
2795
|
<dd>
|
|
2639
2796
|
|
|
2640
2797
|
```typescript
|
|
2641
|
-
await client.business.
|
|
2642
|
-
|
|
2643
|
-
day_of_week: 1,
|
|
2644
|
-
opens_at: "opens_at",
|
|
2645
|
-
closes_at: "closes_at"
|
|
2646
|
-
}]
|
|
2798
|
+
await client.business.events.togglePublished({
|
|
2799
|
+
event: "event"
|
|
2647
2800
|
});
|
|
2648
2801
|
|
|
2649
2802
|
```
|
|
@@ -2660,7 +2813,7 @@ await client.business.hours.update({
|
|
|
2660
2813
|
<dl>
|
|
2661
2814
|
<dd>
|
|
2662
2815
|
|
|
2663
|
-
**request:** `FiveOneEat.business.
|
|
2816
|
+
**request:** `FiveOneEat.business.TogglePublishedEventsRequest`
|
|
2664
2817
|
|
|
2665
2818
|
</dd>
|
|
2666
2819
|
</dl>
|
|
@@ -2668,7 +2821,7 @@ await client.business.hours.update({
|
|
|
2668
2821
|
<dl>
|
|
2669
2822
|
<dd>
|
|
2670
2823
|
|
|
2671
|
-
**requestOptions:** `
|
|
2824
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2672
2825
|
|
|
2673
2826
|
</dd>
|
|
2674
2827
|
</dl>
|
|
@@ -2680,8 +2833,7 @@ await client.business.hours.update({
|
|
|
2680
2833
|
</dl>
|
|
2681
2834
|
</details>
|
|
2682
2835
|
|
|
2683
|
-
|
|
2684
|
-
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">list</a>() -> FiveOneEat.ListMenusResponse</code></summary>
|
|
2836
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">uploadImage</a>({ ...params }) -> FiveOneEat.UploadImageEventsResponse</code></summary>
|
|
2685
2837
|
<dl>
|
|
2686
2838
|
<dd>
|
|
2687
2839
|
|
|
@@ -2693,53 +2845,12 @@ await client.business.hours.update({
|
|
|
2693
2845
|
<dl>
|
|
2694
2846
|
<dd>
|
|
2695
2847
|
|
|
2696
|
-
|
|
2697
|
-
</dd>
|
|
2698
|
-
</dl>
|
|
2699
|
-
</dd>
|
|
2700
|
-
</dl>
|
|
2701
|
-
|
|
2702
|
-
#### 🔌 Usage
|
|
2703
|
-
|
|
2704
|
-
<dl>
|
|
2705
|
-
<dd>
|
|
2706
|
-
|
|
2707
|
-
<dl>
|
|
2708
|
-
<dd>
|
|
2709
|
-
|
|
2710
|
-
```typescript
|
|
2711
|
-
await client.business.menus.list();
|
|
2712
|
-
|
|
2713
|
-
```
|
|
2714
|
-
</dd>
|
|
2715
|
-
</dl>
|
|
2716
|
-
</dd>
|
|
2717
|
-
</dl>
|
|
2718
|
-
|
|
2719
|
-
#### ⚙️ Parameters
|
|
2720
|
-
|
|
2721
|
-
<dl>
|
|
2722
|
-
<dd>
|
|
2723
|
-
|
|
2724
|
-
<dl>
|
|
2725
|
-
<dd>
|
|
2726
|
-
|
|
2727
|
-
**requestOptions:** `MenusClient.RequestOptions`
|
|
2728
|
-
|
|
2848
|
+
Upload and replace the image for the given event. Any existing image will be deleted.
|
|
2729
2849
|
</dd>
|
|
2730
2850
|
</dl>
|
|
2731
2851
|
</dd>
|
|
2732
2852
|
</dl>
|
|
2733
2853
|
|
|
2734
|
-
|
|
2735
|
-
</dd>
|
|
2736
|
-
</dl>
|
|
2737
|
-
</details>
|
|
2738
|
-
|
|
2739
|
-
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateMenusResponse</code></summary>
|
|
2740
|
-
<dl>
|
|
2741
|
-
<dd>
|
|
2742
|
-
|
|
2743
2854
|
#### 🔌 Usage
|
|
2744
2855
|
|
|
2745
2856
|
<dl>
|
|
@@ -2749,8 +2860,9 @@ await client.business.menus.list();
|
|
|
2749
2860
|
<dd>
|
|
2750
2861
|
|
|
2751
2862
|
```typescript
|
|
2752
|
-
await client.business.
|
|
2753
|
-
|
|
2863
|
+
await client.business.events.uploadImage({
|
|
2864
|
+
image: fs.createReadStream("/path/to/your/file"),
|
|
2865
|
+
event: "event"
|
|
2754
2866
|
});
|
|
2755
2867
|
|
|
2756
2868
|
```
|
|
@@ -2767,7 +2879,7 @@ await client.business.menus.create({
|
|
|
2767
2879
|
<dl>
|
|
2768
2880
|
<dd>
|
|
2769
2881
|
|
|
2770
|
-
**request:** `FiveOneEat.business.
|
|
2882
|
+
**request:** `FiveOneEat.business.UploadEventImageRequest`
|
|
2771
2883
|
|
|
2772
2884
|
</dd>
|
|
2773
2885
|
</dl>
|
|
@@ -2775,7 +2887,7 @@ await client.business.menus.create({
|
|
|
2775
2887
|
<dl>
|
|
2776
2888
|
<dd>
|
|
2777
2889
|
|
|
2778
|
-
**requestOptions:** `
|
|
2890
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2779
2891
|
|
|
2780
2892
|
</dd>
|
|
2781
2893
|
</dl>
|
|
@@ -2787,7 +2899,7 @@ await client.business.menus.create({
|
|
|
2787
2899
|
</dl>
|
|
2788
2900
|
</details>
|
|
2789
2901
|
|
|
2790
|
-
<details><summary><code>client.business.
|
|
2902
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">deleteImage</a>({ ...params }) -> FiveOneEat.DeleteImageEventsResponse</code></summary>
|
|
2791
2903
|
<dl>
|
|
2792
2904
|
<dd>
|
|
2793
2905
|
|
|
@@ -2800,8 +2912,8 @@ await client.business.menus.create({
|
|
|
2800
2912
|
<dd>
|
|
2801
2913
|
|
|
2802
2914
|
```typescript
|
|
2803
|
-
await client.business.
|
|
2804
|
-
|
|
2915
|
+
await client.business.events.deleteImage({
|
|
2916
|
+
event: "event"
|
|
2805
2917
|
});
|
|
2806
2918
|
|
|
2807
2919
|
```
|
|
@@ -2818,7 +2930,7 @@ await client.business.menus.get({
|
|
|
2818
2930
|
<dl>
|
|
2819
2931
|
<dd>
|
|
2820
2932
|
|
|
2821
|
-
**request:** `FiveOneEat.business.
|
|
2933
|
+
**request:** `FiveOneEat.business.DeleteImageEventsRequest`
|
|
2822
2934
|
|
|
2823
2935
|
</dd>
|
|
2824
2936
|
</dl>
|
|
@@ -2826,7 +2938,7 @@ await client.business.menus.get({
|
|
|
2826
2938
|
<dl>
|
|
2827
2939
|
<dd>
|
|
2828
2940
|
|
|
2829
|
-
**requestOptions:** `
|
|
2941
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2830
2942
|
|
|
2831
2943
|
</dd>
|
|
2832
2944
|
</dl>
|
|
@@ -2838,31 +2950,11 @@ await client.business.menus.get({
|
|
|
2838
2950
|
</dl>
|
|
2839
2951
|
</details>
|
|
2840
2952
|
|
|
2841
|
-
<details><summary><code>client.business.
|
|
2842
|
-
<dl>
|
|
2843
|
-
<dd>
|
|
2844
|
-
|
|
2845
|
-
#### 🔌 Usage
|
|
2846
|
-
|
|
2847
|
-
<dl>
|
|
2848
|
-
<dd>
|
|
2849
|
-
|
|
2953
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">listRsvps</a>({ ...params }) -> FiveOneEat.ListRsvpsEventsResponse</code></summary>
|
|
2850
2954
|
<dl>
|
|
2851
2955
|
<dd>
|
|
2852
2956
|
|
|
2853
|
-
|
|
2854
|
-
await client.business.menus.update({
|
|
2855
|
-
menu: "menu",
|
|
2856
|
-
name: "name"
|
|
2857
|
-
});
|
|
2858
|
-
|
|
2859
|
-
```
|
|
2860
|
-
</dd>
|
|
2861
|
-
</dl>
|
|
2862
|
-
</dd>
|
|
2863
|
-
</dl>
|
|
2864
|
-
|
|
2865
|
-
#### ⚙️ Parameters
|
|
2957
|
+
#### 📝 Description
|
|
2866
2958
|
|
|
2867
2959
|
<dl>
|
|
2868
2960
|
<dd>
|
|
@@ -2870,30 +2962,12 @@ await client.business.menus.update({
|
|
|
2870
2962
|
<dl>
|
|
2871
2963
|
<dd>
|
|
2872
2964
|
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
</dd>
|
|
2876
|
-
</dl>
|
|
2877
|
-
|
|
2878
|
-
<dl>
|
|
2879
|
-
<dd>
|
|
2880
|
-
|
|
2881
|
-
**requestOptions:** `MenusClient.RequestOptions`
|
|
2882
|
-
|
|
2965
|
+
Accepts an optional `status` query param: `attending`, `not_attending`, or `maybe`.
|
|
2883
2966
|
</dd>
|
|
2884
2967
|
</dl>
|
|
2885
2968
|
</dd>
|
|
2886
2969
|
</dl>
|
|
2887
2970
|
|
|
2888
|
-
|
|
2889
|
-
</dd>
|
|
2890
|
-
</dl>
|
|
2891
|
-
</details>
|
|
2892
|
-
|
|
2893
|
-
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteMenusResponse</code></summary>
|
|
2894
|
-
<dl>
|
|
2895
|
-
<dd>
|
|
2896
|
-
|
|
2897
2971
|
#### 🔌 Usage
|
|
2898
2972
|
|
|
2899
2973
|
<dl>
|
|
@@ -2903,8 +2977,8 @@ await client.business.menus.update({
|
|
|
2903
2977
|
<dd>
|
|
2904
2978
|
|
|
2905
2979
|
```typescript
|
|
2906
|
-
await client.business.
|
|
2907
|
-
|
|
2980
|
+
await client.business.events.listRsvps({
|
|
2981
|
+
event: "event"
|
|
2908
2982
|
});
|
|
2909
2983
|
|
|
2910
2984
|
```
|
|
@@ -2921,7 +2995,7 @@ await client.business.menus.delete({
|
|
|
2921
2995
|
<dl>
|
|
2922
2996
|
<dd>
|
|
2923
2997
|
|
|
2924
|
-
**request:** `FiveOneEat.business.
|
|
2998
|
+
**request:** `FiveOneEat.business.ListRsvpsEventsRequest`
|
|
2925
2999
|
|
|
2926
3000
|
</dd>
|
|
2927
3001
|
</dl>
|
|
@@ -2929,7 +3003,7 @@ await client.business.menus.delete({
|
|
|
2929
3003
|
<dl>
|
|
2930
3004
|
<dd>
|
|
2931
3005
|
|
|
2932
|
-
**requestOptions:** `
|
|
3006
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
2933
3007
|
|
|
2934
3008
|
</dd>
|
|
2935
3009
|
</dl>
|
|
@@ -2941,8 +3015,7 @@ await client.business.menus.delete({
|
|
|
2941
3015
|
</dl>
|
|
2942
3016
|
</details>
|
|
2943
3017
|
|
|
2944
|
-
|
|
2945
|
-
<details><summary><code>client.business.messaging.<a href="/src/api/resources/business/resources/messaging/client/Client.ts">channelAuth</a>({ ...params }) -> number</code></summary>
|
|
3018
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">listAttendees</a>({ ...params }) -> FiveOneEat.ListAttendeesEventsResponse</code></summary>
|
|
2946
3019
|
<dl>
|
|
2947
3020
|
<dd>
|
|
2948
3021
|
|
|
@@ -2954,9 +3027,8 @@ await client.business.menus.delete({
|
|
|
2954
3027
|
<dl>
|
|
2955
3028
|
<dd>
|
|
2956
3029
|
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
permission to access the requested channel, scoped to their active business.
|
|
3030
|
+
Accepts an optional `status` query param matching the ticket status
|
|
3031
|
+
(`valid`, `used`, `cancelled`, `refunded`).
|
|
2960
3032
|
</dd>
|
|
2961
3033
|
</dl>
|
|
2962
3034
|
</dd>
|
|
@@ -2971,9 +3043,8 @@ permission to access the requested channel, scoped to their active business.
|
|
|
2971
3043
|
<dd>
|
|
2972
3044
|
|
|
2973
3045
|
```typescript
|
|
2974
|
-
await client.business.
|
|
2975
|
-
|
|
2976
|
-
socket_id: "socket_id"
|
|
3046
|
+
await client.business.events.listAttendees({
|
|
3047
|
+
event: "event"
|
|
2977
3048
|
});
|
|
2978
3049
|
|
|
2979
3050
|
```
|
|
@@ -2990,7 +3061,7 @@ await client.business.messaging.channelAuth({
|
|
|
2990
3061
|
<dl>
|
|
2991
3062
|
<dd>
|
|
2992
3063
|
|
|
2993
|
-
**request:** `FiveOneEat.business.
|
|
3064
|
+
**request:** `FiveOneEat.business.ListAttendeesEventsRequest`
|
|
2994
3065
|
|
|
2995
3066
|
</dd>
|
|
2996
3067
|
</dl>
|
|
@@ -2998,7 +3069,7 @@ await client.business.messaging.channelAuth({
|
|
|
2998
3069
|
<dl>
|
|
2999
3070
|
<dd>
|
|
3000
3071
|
|
|
3001
|
-
**requestOptions:** `
|
|
3072
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
3002
3073
|
|
|
3003
3074
|
</dd>
|
|
3004
3075
|
</dl>
|
|
@@ -3010,8 +3081,7 @@ await client.business.messaging.channelAuth({
|
|
|
3010
3081
|
</dl>
|
|
3011
3082
|
</details>
|
|
3012
3083
|
|
|
3013
|
-
|
|
3014
|
-
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">list</a>() -> FiveOneEat.ListProductOrdersResponse</code></summary>
|
|
3084
|
+
<details><summary><code>client.business.events.<a href="/src/api/resources/business/resources/events/client/Client.ts">salesSummary</a>({ ...params }) -> FiveOneEat.SalesSummaryEventsResponse</code></summary>
|
|
3015
3085
|
<dl>
|
|
3016
3086
|
<dd>
|
|
3017
3087
|
|
|
@@ -3023,104 +3093,13 @@ await client.business.messaging.channelAuth({
|
|
|
3023
3093
|
<dl>
|
|
3024
3094
|
<dd>
|
|
3025
3095
|
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
</dl>
|
|
3029
|
-
</dd>
|
|
3030
|
-
</dl>
|
|
3031
|
-
|
|
3032
|
-
#### 🔌 Usage
|
|
3033
|
-
|
|
3034
|
-
<dl>
|
|
3035
|
-
<dd>
|
|
3036
|
-
|
|
3037
|
-
<dl>
|
|
3038
|
-
<dd>
|
|
3039
|
-
|
|
3040
|
-
```typescript
|
|
3041
|
-
await client.business.productOrders.list();
|
|
3042
|
-
|
|
3043
|
-
```
|
|
3044
|
-
</dd>
|
|
3045
|
-
</dl>
|
|
3046
|
-
</dd>
|
|
3047
|
-
</dl>
|
|
3048
|
-
|
|
3049
|
-
#### ⚙️ Parameters
|
|
3050
|
-
|
|
3051
|
-
<dl>
|
|
3052
|
-
<dd>
|
|
3053
|
-
|
|
3054
|
-
<dl>
|
|
3055
|
-
<dd>
|
|
3056
|
-
|
|
3057
|
-
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
3058
|
-
|
|
3059
|
-
</dd>
|
|
3060
|
-
</dl>
|
|
3061
|
-
</dd>
|
|
3062
|
-
</dl>
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
</dd>
|
|
3066
|
-
</dl>
|
|
3067
|
-
</details>
|
|
3068
|
-
|
|
3069
|
-
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetProductOrdersResponse</code></summary>
|
|
3070
|
-
<dl>
|
|
3071
|
-
<dd>
|
|
3072
|
-
|
|
3073
|
-
#### 🔌 Usage
|
|
3074
|
-
|
|
3075
|
-
<dl>
|
|
3076
|
-
<dd>
|
|
3077
|
-
|
|
3078
|
-
<dl>
|
|
3079
|
-
<dd>
|
|
3080
|
-
|
|
3081
|
-
```typescript
|
|
3082
|
-
await client.business.productOrders.get({
|
|
3083
|
-
productOrder: "productOrder"
|
|
3084
|
-
});
|
|
3085
|
-
|
|
3086
|
-
```
|
|
3087
|
-
</dd>
|
|
3088
|
-
</dl>
|
|
3089
|
-
</dd>
|
|
3090
|
-
</dl>
|
|
3091
|
-
|
|
3092
|
-
#### ⚙️ Parameters
|
|
3093
|
-
|
|
3094
|
-
<dl>
|
|
3095
|
-
<dd>
|
|
3096
|
-
|
|
3097
|
-
<dl>
|
|
3098
|
-
<dd>
|
|
3099
|
-
|
|
3100
|
-
**request:** `FiveOneEat.business.GetProductOrdersRequest`
|
|
3101
|
-
|
|
3102
|
-
</dd>
|
|
3103
|
-
</dl>
|
|
3104
|
-
|
|
3105
|
-
<dl>
|
|
3106
|
-
<dd>
|
|
3107
|
-
|
|
3108
|
-
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
3109
|
-
|
|
3096
|
+
Returns aggregated sales totals: gross revenue, refunds, tickets sold,
|
|
3097
|
+
and a per-ticket-type breakdown.
|
|
3110
3098
|
</dd>
|
|
3111
3099
|
</dl>
|
|
3112
3100
|
</dd>
|
|
3113
3101
|
</dl>
|
|
3114
3102
|
|
|
3115
|
-
|
|
3116
|
-
</dd>
|
|
3117
|
-
</dl>
|
|
3118
|
-
</details>
|
|
3119
|
-
|
|
3120
|
-
<details><summary><code>client.business.productOrders.<a href="/src/api/resources/business/resources/productOrders/client/Client.ts">fulfill</a>({ ...params }) -> FiveOneEat.FulfillProductOrdersResponse</code></summary>
|
|
3121
|
-
<dl>
|
|
3122
|
-
<dd>
|
|
3123
|
-
|
|
3124
3103
|
#### 🔌 Usage
|
|
3125
3104
|
|
|
3126
3105
|
<dl>
|
|
@@ -3130,8 +3109,8 @@ await client.business.productOrders.get({
|
|
|
3130
3109
|
<dd>
|
|
3131
3110
|
|
|
3132
3111
|
```typescript
|
|
3133
|
-
await client.business.
|
|
3134
|
-
|
|
3112
|
+
await client.business.events.salesSummary({
|
|
3113
|
+
event: "event"
|
|
3135
3114
|
});
|
|
3136
3115
|
|
|
3137
3116
|
```
|
|
@@ -3148,7 +3127,7 @@ await client.business.productOrders.fulfill({
|
|
|
3148
3127
|
<dl>
|
|
3149
3128
|
<dd>
|
|
3150
3129
|
|
|
3151
|
-
**request:** `FiveOneEat.business.
|
|
3130
|
+
**request:** `FiveOneEat.business.SalesSummaryEventsRequest`
|
|
3152
3131
|
|
|
3153
3132
|
</dd>
|
|
3154
3133
|
</dl>
|
|
@@ -3156,7 +3135,7 @@ await client.business.productOrders.fulfill({
|
|
|
3156
3135
|
<dl>
|
|
3157
3136
|
<dd>
|
|
3158
3137
|
|
|
3159
|
-
**requestOptions:** `
|
|
3138
|
+
**requestOptions:** `EventsClient.RequestOptions`
|
|
3160
3139
|
|
|
3161
3140
|
</dd>
|
|
3162
3141
|
</dl>
|
|
@@ -3168,7 +3147,8 @@ await client.business.productOrders.fulfill({
|
|
|
3168
3147
|
</dl>
|
|
3169
3148
|
</details>
|
|
3170
3149
|
|
|
3171
|
-
|
|
3150
|
+
## Business Gallery
|
|
3151
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">list</a>() -> FiveOneEat.ListGalleryResponse</code></summary>
|
|
3172
3152
|
<dl>
|
|
3173
3153
|
<dd>
|
|
3174
3154
|
|
|
@@ -3181,9 +3161,7 @@ await client.business.productOrders.fulfill({
|
|
|
3181
3161
|
<dd>
|
|
3182
3162
|
|
|
3183
3163
|
```typescript
|
|
3184
|
-
await client.business.
|
|
3185
|
-
productOrder: "productOrder"
|
|
3186
|
-
});
|
|
3164
|
+
await client.business.gallery.list();
|
|
3187
3165
|
|
|
3188
3166
|
```
|
|
3189
3167
|
</dd>
|
|
@@ -3199,15 +3177,7 @@ await client.business.productOrders.markPickedUp({
|
|
|
3199
3177
|
<dl>
|
|
3200
3178
|
<dd>
|
|
3201
3179
|
|
|
3202
|
-
**
|
|
3203
|
-
|
|
3204
|
-
</dd>
|
|
3205
|
-
</dl>
|
|
3206
|
-
|
|
3207
|
-
<dl>
|
|
3208
|
-
<dd>
|
|
3209
|
-
|
|
3210
|
-
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
3180
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
3211
3181
|
|
|
3212
3182
|
</dd>
|
|
3213
3183
|
</dl>
|
|
@@ -3219,25 +3189,10 @@ await client.business.productOrders.markPickedUp({
|
|
|
3219
3189
|
</dl>
|
|
3220
3190
|
</details>
|
|
3221
3191
|
|
|
3222
|
-
<details><summary><code>client.business.
|
|
3223
|
-
<dl>
|
|
3224
|
-
<dd>
|
|
3225
|
-
|
|
3226
|
-
#### 📝 Description
|
|
3227
|
-
|
|
3228
|
-
<dl>
|
|
3229
|
-
<dd>
|
|
3230
|
-
|
|
3192
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">upload</a>({ ...params }) -> FiveOneEat.UploadGalleryResponse</code></summary>
|
|
3231
3193
|
<dl>
|
|
3232
3194
|
<dd>
|
|
3233
3195
|
|
|
3234
|
-
Creates a shipment record, marks the order as shipped and fulfilled,
|
|
3235
|
-
and notifies the customer.
|
|
3236
|
-
</dd>
|
|
3237
|
-
</dl>
|
|
3238
|
-
</dd>
|
|
3239
|
-
</dl>
|
|
3240
|
-
|
|
3241
3196
|
#### 🔌 Usage
|
|
3242
3197
|
|
|
3243
3198
|
<dl>
|
|
@@ -3247,10 +3202,8 @@ and notifies the customer.
|
|
|
3247
3202
|
<dd>
|
|
3248
3203
|
|
|
3249
3204
|
```typescript
|
|
3250
|
-
await client.business.
|
|
3251
|
-
|
|
3252
|
-
tracking_number: "tracking_number",
|
|
3253
|
-
carrier: "carrier"
|
|
3205
|
+
await client.business.gallery.upload({
|
|
3206
|
+
photo: fs.createReadStream("/path/to/your/file")
|
|
3254
3207
|
});
|
|
3255
3208
|
|
|
3256
3209
|
```
|
|
@@ -3267,7 +3220,7 @@ await client.business.productOrders.addTracking({
|
|
|
3267
3220
|
<dl>
|
|
3268
3221
|
<dd>
|
|
3269
3222
|
|
|
3270
|
-
**request:** `FiveOneEat.business.
|
|
3223
|
+
**request:** `FiveOneEat.business.StoreGalleryPhotoRequest`
|
|
3271
3224
|
|
|
3272
3225
|
</dd>
|
|
3273
3226
|
</dl>
|
|
@@ -3275,7 +3228,7 @@ await client.business.productOrders.addTracking({
|
|
|
3275
3228
|
<dl>
|
|
3276
3229
|
<dd>
|
|
3277
3230
|
|
|
3278
|
-
**requestOptions:** `
|
|
3231
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
3279
3232
|
|
|
3280
3233
|
</dd>
|
|
3281
3234
|
</dl>
|
|
@@ -3287,24 +3240,10 @@ await client.business.productOrders.addTracking({
|
|
|
3287
3240
|
</dl>
|
|
3288
3241
|
</details>
|
|
3289
3242
|
|
|
3290
|
-
<details><summary><code>client.business.
|
|
3291
|
-
<dl>
|
|
3292
|
-
<dd>
|
|
3293
|
-
|
|
3294
|
-
#### 📝 Description
|
|
3295
|
-
|
|
3296
|
-
<dl>
|
|
3297
|
-
<dd>
|
|
3298
|
-
|
|
3243
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">reorder</a>({ ...params }) -> FiveOneEat.ReorderGalleryResponse</code></summary>
|
|
3299
3244
|
<dl>
|
|
3300
3245
|
<dd>
|
|
3301
3246
|
|
|
3302
|
-
Omit `amount` to issue a full refund.
|
|
3303
|
-
</dd>
|
|
3304
|
-
</dl>
|
|
3305
|
-
</dd>
|
|
3306
|
-
</dl>
|
|
3307
|
-
|
|
3308
3247
|
#### 🔌 Usage
|
|
3309
3248
|
|
|
3310
3249
|
<dl>
|
|
@@ -3314,8 +3253,11 @@ Omit `amount` to issue a full refund.
|
|
|
3314
3253
|
<dd>
|
|
3315
3254
|
|
|
3316
3255
|
```typescript
|
|
3317
|
-
await client.business.
|
|
3318
|
-
|
|
3256
|
+
await client.business.gallery.reorder({
|
|
3257
|
+
photos: [{
|
|
3258
|
+
id: "id",
|
|
3259
|
+
sort_order: 1
|
|
3260
|
+
}]
|
|
3319
3261
|
});
|
|
3320
3262
|
|
|
3321
3263
|
```
|
|
@@ -3332,7 +3274,7 @@ await client.business.productOrders.refund({
|
|
|
3332
3274
|
<dl>
|
|
3333
3275
|
<dd>
|
|
3334
3276
|
|
|
3335
|
-
**request:** `FiveOneEat.business.
|
|
3277
|
+
**request:** `FiveOneEat.business.ReorderGalleryRequest`
|
|
3336
3278
|
|
|
3337
3279
|
</dd>
|
|
3338
3280
|
</dl>
|
|
@@ -3340,7 +3282,7 @@ await client.business.productOrders.refund({
|
|
|
3340
3282
|
<dl>
|
|
3341
3283
|
<dd>
|
|
3342
3284
|
|
|
3343
|
-
**requestOptions:** `
|
|
3285
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
3344
3286
|
|
|
3345
3287
|
</dd>
|
|
3346
3288
|
</dl>
|
|
@@ -3352,7 +3294,7 @@ await client.business.productOrders.refund({
|
|
|
3352
3294
|
</dl>
|
|
3353
3295
|
</details>
|
|
3354
3296
|
|
|
3355
|
-
<details><summary><code>client.business.
|
|
3297
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateGalleryResponse</code></summary>
|
|
3356
3298
|
<dl>
|
|
3357
3299
|
<dd>
|
|
3358
3300
|
|
|
@@ -3365,8 +3307,8 @@ await client.business.productOrders.refund({
|
|
|
3365
3307
|
<dd>
|
|
3366
3308
|
|
|
3367
3309
|
```typescript
|
|
3368
|
-
await client.business.
|
|
3369
|
-
|
|
3310
|
+
await client.business.gallery.update({
|
|
3311
|
+
photo: "photo"
|
|
3370
3312
|
});
|
|
3371
3313
|
|
|
3372
3314
|
```
|
|
@@ -3383,7 +3325,7 @@ await client.business.productOrders.getLabelRates({
|
|
|
3383
3325
|
<dl>
|
|
3384
3326
|
<dd>
|
|
3385
3327
|
|
|
3386
|
-
**request:** `FiveOneEat.business.
|
|
3328
|
+
**request:** `FiveOneEat.business.UpdateGalleryPhotoRequest`
|
|
3387
3329
|
|
|
3388
3330
|
</dd>
|
|
3389
3331
|
</dl>
|
|
@@ -3391,7 +3333,7 @@ await client.business.productOrders.getLabelRates({
|
|
|
3391
3333
|
<dl>
|
|
3392
3334
|
<dd>
|
|
3393
3335
|
|
|
3394
|
-
**requestOptions:** `
|
|
3336
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
3395
3337
|
|
|
3396
3338
|
</dd>
|
|
3397
3339
|
</dl>
|
|
@@ -3403,7 +3345,7 @@ await client.business.productOrders.getLabelRates({
|
|
|
3403
3345
|
</dl>
|
|
3404
3346
|
</details>
|
|
3405
3347
|
|
|
3406
|
-
<details><summary><code>client.business.
|
|
3348
|
+
<details><summary><code>client.business.gallery.<a href="/src/api/resources/business/resources/gallery/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteGalleryResponse</code></summary>
|
|
3407
3349
|
<dl>
|
|
3408
3350
|
<dd>
|
|
3409
3351
|
|
|
@@ -3416,9 +3358,8 @@ await client.business.productOrders.getLabelRates({
|
|
|
3416
3358
|
<dd>
|
|
3417
3359
|
|
|
3418
3360
|
```typescript
|
|
3419
|
-
await client.business.
|
|
3420
|
-
|
|
3421
|
-
provider_rate_id: "provider_rate_id"
|
|
3361
|
+
await client.business.gallery.delete({
|
|
3362
|
+
photo: "photo"
|
|
3422
3363
|
});
|
|
3423
3364
|
|
|
3424
3365
|
```
|
|
@@ -3435,57 +3376,15 @@ await client.business.productOrders.purchaseLabel({
|
|
|
3435
3376
|
<dl>
|
|
3436
3377
|
<dd>
|
|
3437
3378
|
|
|
3438
|
-
**request:** `FiveOneEat.business.
|
|
3439
|
-
|
|
3440
|
-
</dd>
|
|
3441
|
-
</dl>
|
|
3442
|
-
|
|
3443
|
-
<dl>
|
|
3444
|
-
<dd>
|
|
3445
|
-
|
|
3446
|
-
**requestOptions:** `ProductOrdersClient.RequestOptions`
|
|
3379
|
+
**request:** `FiveOneEat.business.DeleteGalleryRequest`
|
|
3447
3380
|
|
|
3448
3381
|
</dd>
|
|
3449
3382
|
</dl>
|
|
3450
|
-
</dd>
|
|
3451
|
-
</dl>
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
</dd>
|
|
3455
|
-
</dl>
|
|
3456
|
-
</details>
|
|
3457
3383
|
|
|
3458
|
-
## Business Products
|
|
3459
|
-
<details><summary><code>client.business.products.<a href="/src/api/resources/business/resources/products/client/Client.ts">list</a>() -> FiveOneEat.ListProductsResponse</code></summary>
|
|
3460
3384
|
<dl>
|
|
3461
3385
|
<dd>
|
|
3462
3386
|
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
<dl>
|
|
3466
|
-
<dd>
|
|
3467
|
-
|
|
3468
|
-
<dl>
|
|
3469
|
-
<dd>
|
|
3470
|
-
|
|
3471
|
-
```typescript
|
|
3472
|
-
await client.business.products.list();
|
|
3473
|
-
|
|
3474
|
-
```
|
|
3475
|
-
</dd>
|
|
3476
|
-
</dl>
|
|
3477
|
-
</dd>
|
|
3478
|
-
</dl>
|
|
3479
|
-
|
|
3480
|
-
#### ⚙️ Parameters
|
|
3481
|
-
|
|
3482
|
-
<dl>
|
|
3483
|
-
<dd>
|
|
3484
|
-
|
|
3485
|
-
<dl>
|
|
3486
|
-
<dd>
|
|
3487
|
-
|
|
3488
|
-
**requestOptions:** `ProductsClient.RequestOptions`
|
|
3387
|
+
**requestOptions:** `GalleryClient.RequestOptions`
|
|
3489
3388
|
|
|
3490
3389
|
</dd>
|
|
3491
3390
|
</dl>
|
|
@@ -3497,7 +3396,8 @@ await client.business.products.list();
|
|
|
3497
3396
|
</dl>
|
|
3498
3397
|
</details>
|
|
3499
3398
|
|
|
3500
|
-
|
|
3399
|
+
## Business Hours
|
|
3400
|
+
<details><summary><code>client.business.hours.<a href="/src/api/resources/business/resources/hours/client/Client.ts">get</a>() -> FiveOneEat.GetHoursResponse</code></summary>
|
|
3501
3401
|
<dl>
|
|
3502
3402
|
<dd>
|
|
3503
3403
|
|
|
@@ -3510,11 +3410,7 @@ await client.business.products.list();
|
|
|
3510
3410
|
<dd>
|
|
3511
3411
|
|
|
3512
3412
|
```typescript
|
|
3513
|
-
await client.business.
|
|
3514
|
-
name: "name",
|
|
3515
|
-
product_type: "physical",
|
|
3516
|
-
base_price: 1.1
|
|
3517
|
-
});
|
|
3413
|
+
await client.business.hours.get();
|
|
3518
3414
|
|
|
3519
3415
|
```
|
|
3520
3416
|
</dd>
|
|
@@ -3530,15 +3426,7 @@ await client.business.products.create({
|
|
|
3530
3426
|
<dl>
|
|
3531
3427
|
<dd>
|
|
3532
3428
|
|
|
3533
|
-
**
|
|
3534
|
-
|
|
3535
|
-
</dd>
|
|
3536
|
-
</dl>
|
|
3537
|
-
|
|
3538
|
-
<dl>
|
|
3539
|
-
<dd>
|
|
3540
|
-
|
|
3541
|
-
**requestOptions:** `ProductsClient.RequestOptions`
|
|
3429
|
+
**requestOptions:** `HoursClient.RequestOptions`
|
|
3542
3430
|
|
|
3543
3431
|
</dd>
|
|
3544
3432
|
</dl>
|
|
@@ -3550,7 +3438,7 @@ await client.business.products.create({
|
|
|
3550
3438
|
</dl>
|
|
3551
3439
|
</details>
|
|
3552
3440
|
|
|
3553
|
-
<details><summary><code>client.business.
|
|
3441
|
+
<details><summary><code>client.business.hours.<a href="/src/api/resources/business/resources/hours/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateHoursResponse</code></summary>
|
|
3554
3442
|
<dl>
|
|
3555
3443
|
<dd>
|
|
3556
3444
|
|
|
@@ -3562,9 +3450,13 @@ await client.business.products.create({
|
|
|
3562
3450
|
<dl>
|
|
3563
3451
|
<dd>
|
|
3564
3452
|
|
|
3565
|
-
```typescript
|
|
3566
|
-
await client.business.
|
|
3567
|
-
|
|
3453
|
+
```typescript
|
|
3454
|
+
await client.business.hours.update({
|
|
3455
|
+
slots: [{
|
|
3456
|
+
day_of_week: 1,
|
|
3457
|
+
opens_at: "opens_at",
|
|
3458
|
+
closes_at: "closes_at"
|
|
3459
|
+
}]
|
|
3568
3460
|
});
|
|
3569
3461
|
|
|
3570
3462
|
```
|
|
@@ -3581,7 +3473,7 @@ await client.business.products.get({
|
|
|
3581
3473
|
<dl>
|
|
3582
3474
|
<dd>
|
|
3583
3475
|
|
|
3584
|
-
**request:** `FiveOneEat.business.
|
|
3476
|
+
**request:** `FiveOneEat.business.UpdateBusinessHoursRequest`
|
|
3585
3477
|
|
|
3586
3478
|
</dd>
|
|
3587
3479
|
</dl>
|
|
@@ -3589,7 +3481,7 @@ await client.business.products.get({
|
|
|
3589
3481
|
<dl>
|
|
3590
3482
|
<dd>
|
|
3591
3483
|
|
|
3592
|
-
**requestOptions:** `
|
|
3484
|
+
**requestOptions:** `HoursClient.RequestOptions`
|
|
3593
3485
|
|
|
3594
3486
|
</dd>
|
|
3595
3487
|
</dl>
|
|
@@ -3601,11 +3493,12 @@ await client.business.products.get({
|
|
|
3601
3493
|
</dl>
|
|
3602
3494
|
</details>
|
|
3603
3495
|
|
|
3604
|
-
|
|
3496
|
+
## Business Menus
|
|
3497
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">list</a>() -> FiveOneEat.ListMenusResponse</code></summary>
|
|
3605
3498
|
<dl>
|
|
3606
3499
|
<dd>
|
|
3607
3500
|
|
|
3608
|
-
####
|
|
3501
|
+
#### 📝 Description
|
|
3609
3502
|
|
|
3610
3503
|
<dl>
|
|
3611
3504
|
<dd>
|
|
@@ -3613,18 +3506,13 @@ await client.business.products.get({
|
|
|
3613
3506
|
<dl>
|
|
3614
3507
|
<dd>
|
|
3615
3508
|
|
|
3616
|
-
|
|
3617
|
-
await client.business.products.update({
|
|
3618
|
-
product: "product"
|
|
3619
|
-
});
|
|
3620
|
-
|
|
3621
|
-
```
|
|
3509
|
+
Returns all menus with their full group/item hierarchy for the authenticated user's active business.
|
|
3622
3510
|
</dd>
|
|
3623
3511
|
</dl>
|
|
3624
3512
|
</dd>
|
|
3625
3513
|
</dl>
|
|
3626
3514
|
|
|
3627
|
-
####
|
|
3515
|
+
#### 🔌 Usage
|
|
3628
3516
|
|
|
3629
3517
|
<dl>
|
|
3630
3518
|
<dd>
|
|
@@ -3632,15 +3520,24 @@ await client.business.products.update({
|
|
|
3632
3520
|
<dl>
|
|
3633
3521
|
<dd>
|
|
3634
3522
|
|
|
3635
|
-
|
|
3636
|
-
|
|
3523
|
+
```typescript
|
|
3524
|
+
await client.business.menus.list();
|
|
3525
|
+
|
|
3526
|
+
```
|
|
3527
|
+
</dd>
|
|
3528
|
+
</dl>
|
|
3637
3529
|
</dd>
|
|
3638
3530
|
</dl>
|
|
3639
3531
|
|
|
3532
|
+
#### ⚙️ Parameters
|
|
3533
|
+
|
|
3640
3534
|
<dl>
|
|
3641
3535
|
<dd>
|
|
3642
3536
|
|
|
3643
|
-
|
|
3537
|
+
<dl>
|
|
3538
|
+
<dd>
|
|
3539
|
+
|
|
3540
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
3644
3541
|
|
|
3645
3542
|
</dd>
|
|
3646
3543
|
</dl>
|
|
@@ -3652,7 +3549,7 @@ await client.business.products.update({
|
|
|
3652
3549
|
</dl>
|
|
3653
3550
|
</details>
|
|
3654
3551
|
|
|
3655
|
-
<details><summary><code>client.business.
|
|
3552
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateMenusResponse</code></summary>
|
|
3656
3553
|
<dl>
|
|
3657
3554
|
<dd>
|
|
3658
3555
|
|
|
@@ -3665,8 +3562,8 @@ await client.business.products.update({
|
|
|
3665
3562
|
<dd>
|
|
3666
3563
|
|
|
3667
3564
|
```typescript
|
|
3668
|
-
await client.business.
|
|
3669
|
-
|
|
3565
|
+
await client.business.menus.create({
|
|
3566
|
+
name: "name"
|
|
3670
3567
|
});
|
|
3671
3568
|
|
|
3672
3569
|
```
|
|
@@ -3683,7 +3580,7 @@ await client.business.products.delete({
|
|
|
3683
3580
|
<dl>
|
|
3684
3581
|
<dd>
|
|
3685
3582
|
|
|
3686
|
-
**request:** `FiveOneEat.business.
|
|
3583
|
+
**request:** `FiveOneEat.business.StoreMenuRequest`
|
|
3687
3584
|
|
|
3688
3585
|
</dd>
|
|
3689
3586
|
</dl>
|
|
@@ -3691,7 +3588,7 @@ await client.business.products.delete({
|
|
|
3691
3588
|
<dl>
|
|
3692
3589
|
<dd>
|
|
3693
3590
|
|
|
3694
|
-
**requestOptions:** `
|
|
3591
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
3695
3592
|
|
|
3696
3593
|
</dd>
|
|
3697
3594
|
</dl>
|
|
@@ -3703,8 +3600,7 @@ await client.business.products.delete({
|
|
|
3703
3600
|
</dl>
|
|
3704
3601
|
</details>
|
|
3705
3602
|
|
|
3706
|
-
|
|
3707
|
-
<details><summary><code>client.business.productCategories.<a href="/src/api/resources/business/resources/productCategories/client/Client.ts">list</a>() -> FiveOneEat.ListProductCategoriesResponse</code></summary>
|
|
3603
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetMenusResponse</code></summary>
|
|
3708
3604
|
<dl>
|
|
3709
3605
|
<dd>
|
|
3710
3606
|
|
|
@@ -3717,7 +3613,9 @@ await client.business.products.delete({
|
|
|
3717
3613
|
<dd>
|
|
3718
3614
|
|
|
3719
3615
|
```typescript
|
|
3720
|
-
await client.business.
|
|
3616
|
+
await client.business.menus.get({
|
|
3617
|
+
menu: "menu"
|
|
3618
|
+
});
|
|
3721
3619
|
|
|
3722
3620
|
```
|
|
3723
3621
|
</dd>
|
|
@@ -3733,7 +3631,15 @@ await client.business.productCategories.list();
|
|
|
3733
3631
|
<dl>
|
|
3734
3632
|
<dd>
|
|
3735
3633
|
|
|
3736
|
-
**
|
|
3634
|
+
**request:** `FiveOneEat.business.GetMenusRequest`
|
|
3635
|
+
|
|
3636
|
+
</dd>
|
|
3637
|
+
</dl>
|
|
3638
|
+
|
|
3639
|
+
<dl>
|
|
3640
|
+
<dd>
|
|
3641
|
+
|
|
3642
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
3737
3643
|
|
|
3738
3644
|
</dd>
|
|
3739
3645
|
</dl>
|
|
@@ -3745,7 +3651,7 @@ await client.business.productCategories.list();
|
|
|
3745
3651
|
</dl>
|
|
3746
3652
|
</details>
|
|
3747
3653
|
|
|
3748
|
-
<details><summary><code>client.business.
|
|
3654
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateMenusResponse</code></summary>
|
|
3749
3655
|
<dl>
|
|
3750
3656
|
<dd>
|
|
3751
3657
|
|
|
@@ -3758,7 +3664,8 @@ await client.business.productCategories.list();
|
|
|
3758
3664
|
<dd>
|
|
3759
3665
|
|
|
3760
3666
|
```typescript
|
|
3761
|
-
await client.business.
|
|
3667
|
+
await client.business.menus.update({
|
|
3668
|
+
menu: "menu",
|
|
3762
3669
|
name: "name"
|
|
3763
3670
|
});
|
|
3764
3671
|
|
|
@@ -3776,7 +3683,7 @@ await client.business.productCategories.create({
|
|
|
3776
3683
|
<dl>
|
|
3777
3684
|
<dd>
|
|
3778
3685
|
|
|
3779
|
-
**request:** `FiveOneEat.business.
|
|
3686
|
+
**request:** `FiveOneEat.business.UpdateMenuRequest`
|
|
3780
3687
|
|
|
3781
3688
|
</dd>
|
|
3782
3689
|
</dl>
|
|
@@ -3784,7 +3691,7 @@ await client.business.productCategories.create({
|
|
|
3784
3691
|
<dl>
|
|
3785
3692
|
<dd>
|
|
3786
3693
|
|
|
3787
|
-
**requestOptions:** `
|
|
3694
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
3788
3695
|
|
|
3789
3696
|
</dd>
|
|
3790
3697
|
</dl>
|
|
@@ -3796,7 +3703,7 @@ await client.business.productCategories.create({
|
|
|
3796
3703
|
</dl>
|
|
3797
3704
|
</details>
|
|
3798
3705
|
|
|
3799
|
-
<details><summary><code>client.business.
|
|
3706
|
+
<details><summary><code>client.business.menus.<a href="/src/api/resources/business/resources/menus/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteMenusResponse</code></summary>
|
|
3800
3707
|
<dl>
|
|
3801
3708
|
<dd>
|
|
3802
3709
|
|
|
@@ -3809,8 +3716,8 @@ await client.business.productCategories.create({
|
|
|
3809
3716
|
<dd>
|
|
3810
3717
|
|
|
3811
3718
|
```typescript
|
|
3812
|
-
await client.business.
|
|
3813
|
-
|
|
3719
|
+
await client.business.menus.delete({
|
|
3720
|
+
menu: "menu"
|
|
3814
3721
|
});
|
|
3815
3722
|
|
|
3816
3723
|
```
|
|
@@ -3827,7 +3734,7 @@ await client.business.productCategories.update({
|
|
|
3827
3734
|
<dl>
|
|
3828
3735
|
<dd>
|
|
3829
3736
|
|
|
3830
|
-
**request:** `FiveOneEat.business.
|
|
3737
|
+
**request:** `FiveOneEat.business.DeleteMenusRequest`
|
|
3831
3738
|
|
|
3832
3739
|
</dd>
|
|
3833
3740
|
</dl>
|
|
@@ -3835,7 +3742,7 @@ await client.business.productCategories.update({
|
|
|
3835
3742
|
<dl>
|
|
3836
3743
|
<dd>
|
|
3837
3744
|
|
|
3838
|
-
**requestOptions:** `
|
|
3745
|
+
**requestOptions:** `MenusClient.RequestOptions`
|
|
3839
3746
|
|
|
3840
3747
|
</dd>
|
|
3841
3748
|
</dl>
|
|
@@ -3847,10 +3754,27 @@ await client.business.productCategories.update({
|
|
|
3847
3754
|
</dl>
|
|
3848
3755
|
</details>
|
|
3849
3756
|
|
|
3850
|
-
|
|
3757
|
+
## Business Messaging
|
|
3758
|
+
<details><summary><code>client.business.messaging.<a href="/src/api/resources/business/resources/messaging/client/Client.ts">channelAuth</a>({ ...params }) -> number</code></summary>
|
|
3759
|
+
<dl>
|
|
3760
|
+
<dd>
|
|
3761
|
+
|
|
3762
|
+
#### 📝 Description
|
|
3763
|
+
|
|
3764
|
+
<dl>
|
|
3765
|
+
<dd>
|
|
3766
|
+
|
|
3851
3767
|
<dl>
|
|
3852
3768
|
<dd>
|
|
3853
3769
|
|
|
3770
|
+
This endpoint is used by the business companion mobile app to authenticate with
|
|
3771
|
+
Pusher channels. It validates that the authenticated business user has
|
|
3772
|
+
permission to access the requested channel, scoped to their active business.
|
|
3773
|
+
</dd>
|
|
3774
|
+
</dl>
|
|
3775
|
+
</dd>
|
|
3776
|
+
</dl>
|
|
3777
|
+
|
|
3854
3778
|
#### 🔌 Usage
|
|
3855
3779
|
|
|
3856
3780
|
<dl>
|
|
@@ -3860,8 +3784,9 @@ await client.business.productCategories.update({
|
|
|
3860
3784
|
<dd>
|
|
3861
3785
|
|
|
3862
3786
|
```typescript
|
|
3863
|
-
await client.business.
|
|
3864
|
-
|
|
3787
|
+
await client.business.messaging.channelAuth({
|
|
3788
|
+
channel_name: "channel_name",
|
|
3789
|
+
socket_id: "socket_id"
|
|
3865
3790
|
});
|
|
3866
3791
|
|
|
3867
3792
|
```
|
|
@@ -3878,7 +3803,7 @@ await client.business.productCategories.delete({
|
|
|
3878
3803
|
<dl>
|
|
3879
3804
|
<dd>
|
|
3880
3805
|
|
|
3881
|
-
**request:** `FiveOneEat.business.
|
|
3806
|
+
**request:** `FiveOneEat.business.ChannelAuthMessagingRequest`
|
|
3882
3807
|
|
|
3883
3808
|
</dd>
|
|
3884
3809
|
</dl>
|
|
@@ -3886,7 +3811,7 @@ await client.business.productCategories.delete({
|
|
|
3886
3811
|
<dl>
|
|
3887
3812
|
<dd>
|
|
3888
3813
|
|
|
3889
|
-
**requestOptions:** `
|
|
3814
|
+
**requestOptions:** `MessagingClient.RequestOptions`
|
|
3890
3815
|
|
|
3891
3816
|
</dd>
|
|
3892
3817
|
</dl>
|
|
@@ -4926,7 +4851,163 @@ to populate the `certification_ids` field when updating a business profile.
|
|
|
4926
4851
|
<dd>
|
|
4927
4852
|
|
|
4928
4853
|
```typescript
|
|
4929
|
-
await client.business.certifications.list();
|
|
4854
|
+
await client.business.certifications.list();
|
|
4855
|
+
|
|
4856
|
+
```
|
|
4857
|
+
</dd>
|
|
4858
|
+
</dl>
|
|
4859
|
+
</dd>
|
|
4860
|
+
</dl>
|
|
4861
|
+
|
|
4862
|
+
#### ⚙️ Parameters
|
|
4863
|
+
|
|
4864
|
+
<dl>
|
|
4865
|
+
<dd>
|
|
4866
|
+
|
|
4867
|
+
<dl>
|
|
4868
|
+
<dd>
|
|
4869
|
+
|
|
4870
|
+
**requestOptions:** `CertificationsClient.RequestOptions`
|
|
4871
|
+
|
|
4872
|
+
</dd>
|
|
4873
|
+
</dl>
|
|
4874
|
+
</dd>
|
|
4875
|
+
</dl>
|
|
4876
|
+
|
|
4877
|
+
|
|
4878
|
+
</dd>
|
|
4879
|
+
</dl>
|
|
4880
|
+
</details>
|
|
4881
|
+
|
|
4882
|
+
## Business Categories
|
|
4883
|
+
<details><summary><code>client.business.categories.<a href="/src/api/resources/business/resources/categories/client/Client.ts">list</a>() -> FiveOneEat.ListCategoriesResponse</code></summary>
|
|
4884
|
+
<dl>
|
|
4885
|
+
<dd>
|
|
4886
|
+
|
|
4887
|
+
#### 📝 Description
|
|
4888
|
+
|
|
4889
|
+
<dl>
|
|
4890
|
+
<dd>
|
|
4891
|
+
|
|
4892
|
+
<dl>
|
|
4893
|
+
<dd>
|
|
4894
|
+
|
|
4895
|
+
Retrieve a list of all business categories, ordered by sort order and name.
|
|
4896
|
+
Use these IDs to populate the `category_ids` field when creating or updating a business.
|
|
4897
|
+
</dd>
|
|
4898
|
+
</dl>
|
|
4899
|
+
</dd>
|
|
4900
|
+
</dl>
|
|
4901
|
+
|
|
4902
|
+
#### 🔌 Usage
|
|
4903
|
+
|
|
4904
|
+
<dl>
|
|
4905
|
+
<dd>
|
|
4906
|
+
|
|
4907
|
+
<dl>
|
|
4908
|
+
<dd>
|
|
4909
|
+
|
|
4910
|
+
```typescript
|
|
4911
|
+
await client.business.categories.list();
|
|
4912
|
+
|
|
4913
|
+
```
|
|
4914
|
+
</dd>
|
|
4915
|
+
</dl>
|
|
4916
|
+
</dd>
|
|
4917
|
+
</dl>
|
|
4918
|
+
|
|
4919
|
+
#### ⚙️ Parameters
|
|
4920
|
+
|
|
4921
|
+
<dl>
|
|
4922
|
+
<dd>
|
|
4923
|
+
|
|
4924
|
+
<dl>
|
|
4925
|
+
<dd>
|
|
4926
|
+
|
|
4927
|
+
**requestOptions:** `CategoriesClient.RequestOptions`
|
|
4928
|
+
|
|
4929
|
+
</dd>
|
|
4930
|
+
</dl>
|
|
4931
|
+
</dd>
|
|
4932
|
+
</dl>
|
|
4933
|
+
|
|
4934
|
+
|
|
4935
|
+
</dd>
|
|
4936
|
+
</dl>
|
|
4937
|
+
</details>
|
|
4938
|
+
|
|
4939
|
+
## Business Allergens
|
|
4940
|
+
<details><summary><code>client.business.allergens.<a href="/src/api/resources/business/resources/allergens/client/Client.ts">list</a>() -> FiveOneEat.ListAllergensResponse</code></summary>
|
|
4941
|
+
<dl>
|
|
4942
|
+
<dd>
|
|
4943
|
+
|
|
4944
|
+
#### 📝 Description
|
|
4945
|
+
|
|
4946
|
+
<dl>
|
|
4947
|
+
<dd>
|
|
4948
|
+
|
|
4949
|
+
<dl>
|
|
4950
|
+
<dd>
|
|
4951
|
+
|
|
4952
|
+
Retrieve a list of all allergens, ordered alphabetically. Use these UUIDs
|
|
4953
|
+
in the `allergens` array when creating or updating a menu item.
|
|
4954
|
+
</dd>
|
|
4955
|
+
</dl>
|
|
4956
|
+
</dd>
|
|
4957
|
+
</dl>
|
|
4958
|
+
|
|
4959
|
+
#### 🔌 Usage
|
|
4960
|
+
|
|
4961
|
+
<dl>
|
|
4962
|
+
<dd>
|
|
4963
|
+
|
|
4964
|
+
<dl>
|
|
4965
|
+
<dd>
|
|
4966
|
+
|
|
4967
|
+
```typescript
|
|
4968
|
+
await client.business.allergens.list();
|
|
4969
|
+
|
|
4970
|
+
```
|
|
4971
|
+
</dd>
|
|
4972
|
+
</dl>
|
|
4973
|
+
</dd>
|
|
4974
|
+
</dl>
|
|
4975
|
+
|
|
4976
|
+
#### ⚙️ Parameters
|
|
4977
|
+
|
|
4978
|
+
<dl>
|
|
4979
|
+
<dd>
|
|
4980
|
+
|
|
4981
|
+
<dl>
|
|
4982
|
+
<dd>
|
|
4983
|
+
|
|
4984
|
+
**requestOptions:** `AllergensClient.RequestOptions`
|
|
4985
|
+
|
|
4986
|
+
</dd>
|
|
4987
|
+
</dl>
|
|
4988
|
+
</dd>
|
|
4989
|
+
</dl>
|
|
4990
|
+
|
|
4991
|
+
|
|
4992
|
+
</dd>
|
|
4993
|
+
</dl>
|
|
4994
|
+
</details>
|
|
4995
|
+
|
|
4996
|
+
## Business TemporaryLocations
|
|
4997
|
+
<details><summary><code>client.business.temporaryLocations.<a href="/src/api/resources/business/resources/temporaryLocations/client/Client.ts">list</a>() -> FiveOneEat.ListTemporaryLocationsResponse</code></summary>
|
|
4998
|
+
<dl>
|
|
4999
|
+
<dd>
|
|
5000
|
+
|
|
5001
|
+
#### 🔌 Usage
|
|
5002
|
+
|
|
5003
|
+
<dl>
|
|
5004
|
+
<dd>
|
|
5005
|
+
|
|
5006
|
+
<dl>
|
|
5007
|
+
<dd>
|
|
5008
|
+
|
|
5009
|
+
```typescript
|
|
5010
|
+
await client.business.temporaryLocations.list();
|
|
4930
5011
|
|
|
4931
5012
|
```
|
|
4932
5013
|
</dd>
|
|
@@ -4942,7 +5023,7 @@ await client.business.certifications.list();
|
|
|
4942
5023
|
<dl>
|
|
4943
5024
|
<dd>
|
|
4944
5025
|
|
|
4945
|
-
**requestOptions:** `
|
|
5026
|
+
**requestOptions:** `TemporaryLocationsClient.RequestOptions`
|
|
4946
5027
|
|
|
4947
5028
|
</dd>
|
|
4948
5029
|
</dl>
|
|
@@ -4954,12 +5035,11 @@ await client.business.certifications.list();
|
|
|
4954
5035
|
</dl>
|
|
4955
5036
|
</details>
|
|
4956
5037
|
|
|
4957
|
-
|
|
4958
|
-
<details><summary><code>client.business.categories.<a href="/src/api/resources/business/resources/categories/client/Client.ts">list</a>() -> FiveOneEat.ListCategoriesResponse</code></summary>
|
|
5038
|
+
<details><summary><code>client.business.temporaryLocations.<a href="/src/api/resources/business/resources/temporaryLocations/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateTemporaryLocationsResponse</code></summary>
|
|
4959
5039
|
<dl>
|
|
4960
5040
|
<dd>
|
|
4961
5041
|
|
|
4962
|
-
####
|
|
5042
|
+
#### 🔌 Usage
|
|
4963
5043
|
|
|
4964
5044
|
<dl>
|
|
4965
5045
|
<dd>
|
|
@@ -4967,14 +5047,20 @@ await client.business.certifications.list();
|
|
|
4967
5047
|
<dl>
|
|
4968
5048
|
<dd>
|
|
4969
5049
|
|
|
4970
|
-
|
|
4971
|
-
|
|
5050
|
+
```typescript
|
|
5051
|
+
await client.business.temporaryLocations.create({
|
|
5052
|
+
title: "title",
|
|
5053
|
+
starts_at: "2024-01-15T09:30:00Z",
|
|
5054
|
+
ends_at: "2024-01-15T09:30:00Z"
|
|
5055
|
+
});
|
|
5056
|
+
|
|
5057
|
+
```
|
|
4972
5058
|
</dd>
|
|
4973
5059
|
</dl>
|
|
4974
5060
|
</dd>
|
|
4975
5061
|
</dl>
|
|
4976
5062
|
|
|
4977
|
-
####
|
|
5063
|
+
#### ⚙️ Parameters
|
|
4978
5064
|
|
|
4979
5065
|
<dl>
|
|
4980
5066
|
<dd>
|
|
@@ -4982,24 +5068,15 @@ Use these IDs to populate the `category_ids` field when creating or updating a b
|
|
|
4982
5068
|
<dl>
|
|
4983
5069
|
<dd>
|
|
4984
5070
|
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
```
|
|
4989
|
-
</dd>
|
|
4990
|
-
</dl>
|
|
5071
|
+
**request:** `FiveOneEat.business.StoreTemporaryLocationRequest`
|
|
5072
|
+
|
|
4991
5073
|
</dd>
|
|
4992
5074
|
</dl>
|
|
4993
5075
|
|
|
4994
|
-
#### ⚙️ Parameters
|
|
4995
|
-
|
|
4996
|
-
<dl>
|
|
4997
|
-
<dd>
|
|
4998
|
-
|
|
4999
5076
|
<dl>
|
|
5000
5077
|
<dd>
|
|
5001
5078
|
|
|
5002
|
-
**requestOptions:** `
|
|
5079
|
+
**requestOptions:** `TemporaryLocationsClient.RequestOptions`
|
|
5003
5080
|
|
|
5004
5081
|
</dd>
|
|
5005
5082
|
</dl>
|
|
@@ -5011,12 +5088,11 @@ await client.business.categories.list();
|
|
|
5011
5088
|
</dl>
|
|
5012
5089
|
</details>
|
|
5013
5090
|
|
|
5014
|
-
|
|
5015
|
-
<details><summary><code>client.business.allergens.<a href="/src/api/resources/business/resources/allergens/client/Client.ts">list</a>() -> FiveOneEat.ListAllergensResponse</code></summary>
|
|
5091
|
+
<details><summary><code>client.business.temporaryLocations.<a href="/src/api/resources/business/resources/temporaryLocations/client/Client.ts">get</a>({ ...params }) -> FiveOneEat.GetTemporaryLocationsResponse</code></summary>
|
|
5016
5092
|
<dl>
|
|
5017
5093
|
<dd>
|
|
5018
5094
|
|
|
5019
|
-
####
|
|
5095
|
+
#### 🔌 Usage
|
|
5020
5096
|
|
|
5021
5097
|
<dl>
|
|
5022
5098
|
<dd>
|
|
@@ -5024,14 +5100,18 @@ await client.business.categories.list();
|
|
|
5024
5100
|
<dl>
|
|
5025
5101
|
<dd>
|
|
5026
5102
|
|
|
5027
|
-
|
|
5028
|
-
|
|
5103
|
+
```typescript
|
|
5104
|
+
await client.business.temporaryLocations.get({
|
|
5105
|
+
temporaryLocation: "temporaryLocation"
|
|
5106
|
+
});
|
|
5107
|
+
|
|
5108
|
+
```
|
|
5029
5109
|
</dd>
|
|
5030
5110
|
</dl>
|
|
5031
5111
|
</dd>
|
|
5032
5112
|
</dl>
|
|
5033
5113
|
|
|
5034
|
-
####
|
|
5114
|
+
#### ⚙️ Parameters
|
|
5035
5115
|
|
|
5036
5116
|
<dl>
|
|
5037
5117
|
<dd>
|
|
@@ -5039,24 +5119,15 @@ in the `allergens` array when creating or updating a menu item.
|
|
|
5039
5119
|
<dl>
|
|
5040
5120
|
<dd>
|
|
5041
5121
|
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
```
|
|
5046
|
-
</dd>
|
|
5047
|
-
</dl>
|
|
5122
|
+
**request:** `FiveOneEat.business.GetTemporaryLocationsRequest`
|
|
5123
|
+
|
|
5048
5124
|
</dd>
|
|
5049
5125
|
</dl>
|
|
5050
5126
|
|
|
5051
|
-
#### ⚙️ Parameters
|
|
5052
|
-
|
|
5053
|
-
<dl>
|
|
5054
|
-
<dd>
|
|
5055
|
-
|
|
5056
5127
|
<dl>
|
|
5057
5128
|
<dd>
|
|
5058
5129
|
|
|
5059
|
-
**requestOptions:** `
|
|
5130
|
+
**requestOptions:** `TemporaryLocationsClient.RequestOptions`
|
|
5060
5131
|
|
|
5061
5132
|
</dd>
|
|
5062
5133
|
</dl>
|
|
@@ -5068,8 +5139,7 @@ await client.business.allergens.list();
|
|
|
5068
5139
|
</dl>
|
|
5069
5140
|
</details>
|
|
5070
5141
|
|
|
5071
|
-
|
|
5072
|
-
<details><summary><code>client.business.temporaryLocations.<a href="/src/api/resources/business/resources/temporaryLocations/client/Client.ts">list</a>() -> FiveOneEat.ListTemporaryLocationsResponse</code></summary>
|
|
5142
|
+
<details><summary><code>client.business.temporaryLocations.<a href="/src/api/resources/business/resources/temporaryLocations/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateTemporaryLocationsResponse</code></summary>
|
|
5073
5143
|
<dl>
|
|
5074
5144
|
<dd>
|
|
5075
5145
|
|
|
@@ -5082,7 +5152,9 @@ await client.business.allergens.list();
|
|
|
5082
5152
|
<dd>
|
|
5083
5153
|
|
|
5084
5154
|
```typescript
|
|
5085
|
-
await client.business.temporaryLocations.
|
|
5155
|
+
await client.business.temporaryLocations.update({
|
|
5156
|
+
temporaryLocation: "temporaryLocation"
|
|
5157
|
+
});
|
|
5086
5158
|
|
|
5087
5159
|
```
|
|
5088
5160
|
</dd>
|
|
@@ -5098,6 +5170,14 @@ await client.business.temporaryLocations.list();
|
|
|
5098
5170
|
<dl>
|
|
5099
5171
|
<dd>
|
|
5100
5172
|
|
|
5173
|
+
**request:** `FiveOneEat.business.UpdateTemporaryLocationRequest`
|
|
5174
|
+
|
|
5175
|
+
</dd>
|
|
5176
|
+
</dl>
|
|
5177
|
+
|
|
5178
|
+
<dl>
|
|
5179
|
+
<dd>
|
|
5180
|
+
|
|
5101
5181
|
**requestOptions:** `TemporaryLocationsClient.RequestOptions`
|
|
5102
5182
|
|
|
5103
5183
|
</dd>
|
|
@@ -5110,7 +5190,7 @@ await client.business.temporaryLocations.list();
|
|
|
5110
5190
|
</dl>
|
|
5111
5191
|
</details>
|
|
5112
5192
|
|
|
5113
|
-
<details><summary><code>client.business.temporaryLocations.<a href="/src/api/resources/business/resources/temporaryLocations/client/Client.ts">
|
|
5193
|
+
<details><summary><code>client.business.temporaryLocations.<a href="/src/api/resources/business/resources/temporaryLocations/client/Client.ts">delete</a>({ ...params }) -> FiveOneEat.DeleteTemporaryLocationsResponse</code></summary>
|
|
5114
5194
|
<dl>
|
|
5115
5195
|
<dd>
|
|
5116
5196
|
|
|
@@ -5123,10 +5203,8 @@ await client.business.temporaryLocations.list();
|
|
|
5123
5203
|
<dd>
|
|
5124
5204
|
|
|
5125
5205
|
```typescript
|
|
5126
|
-
await client.business.temporaryLocations.
|
|
5127
|
-
|
|
5128
|
-
starts_at: "2024-01-15T09:30:00Z",
|
|
5129
|
-
ends_at: "2024-01-15T09:30:00Z"
|
|
5206
|
+
await client.business.temporaryLocations.delete({
|
|
5207
|
+
temporaryLocation: "temporaryLocation"
|
|
5130
5208
|
});
|
|
5131
5209
|
|
|
5132
5210
|
```
|
|
@@ -5143,7 +5221,7 @@ await client.business.temporaryLocations.create({
|
|
|
5143
5221
|
<dl>
|
|
5144
5222
|
<dd>
|
|
5145
5223
|
|
|
5146
|
-
**request:** `FiveOneEat.business.
|
|
5224
|
+
**request:** `FiveOneEat.business.DeleteTemporaryLocationsRequest`
|
|
5147
5225
|
|
|
5148
5226
|
</dd>
|
|
5149
5227
|
</dl>
|
|
@@ -5163,7 +5241,8 @@ await client.business.temporaryLocations.create({
|
|
|
5163
5241
|
</dl>
|
|
5164
5242
|
</details>
|
|
5165
5243
|
|
|
5166
|
-
|
|
5244
|
+
## Business ProductCategories
|
|
5245
|
+
<details><summary><code>client.business.productCategories.<a href="/src/api/resources/business/resources/productCategories/client/Client.ts">list</a>() -> void</code></summary>
|
|
5167
5246
|
<dl>
|
|
5168
5247
|
<dd>
|
|
5169
5248
|
|
|
@@ -5176,9 +5255,7 @@ await client.business.temporaryLocations.create({
|
|
|
5176
5255
|
<dd>
|
|
5177
5256
|
|
|
5178
5257
|
```typescript
|
|
5179
|
-
await client.business.
|
|
5180
|
-
temporaryLocation: "temporaryLocation"
|
|
5181
|
-
});
|
|
5258
|
+
await client.business.productCategories.list();
|
|
5182
5259
|
|
|
5183
5260
|
```
|
|
5184
5261
|
</dd>
|
|
@@ -5194,15 +5271,48 @@ await client.business.temporaryLocations.get({
|
|
|
5194
5271
|
<dl>
|
|
5195
5272
|
<dd>
|
|
5196
5273
|
|
|
5197
|
-
**
|
|
5274
|
+
**requestOptions:** `ProductCategoriesClient.RequestOptions`
|
|
5198
5275
|
|
|
5199
5276
|
</dd>
|
|
5200
5277
|
</dl>
|
|
5278
|
+
</dd>
|
|
5279
|
+
</dl>
|
|
5280
|
+
|
|
5281
|
+
|
|
5282
|
+
</dd>
|
|
5283
|
+
</dl>
|
|
5284
|
+
</details>
|
|
5201
5285
|
|
|
5286
|
+
<details><summary><code>client.business.productCategories.<a href="/src/api/resources/business/resources/productCategories/client/Client.ts">create</a>() -> void</code></summary>
|
|
5202
5287
|
<dl>
|
|
5203
5288
|
<dd>
|
|
5204
5289
|
|
|
5205
|
-
|
|
5290
|
+
#### 🔌 Usage
|
|
5291
|
+
|
|
5292
|
+
<dl>
|
|
5293
|
+
<dd>
|
|
5294
|
+
|
|
5295
|
+
<dl>
|
|
5296
|
+
<dd>
|
|
5297
|
+
|
|
5298
|
+
```typescript
|
|
5299
|
+
await client.business.productCategories.create();
|
|
5300
|
+
|
|
5301
|
+
```
|
|
5302
|
+
</dd>
|
|
5303
|
+
</dl>
|
|
5304
|
+
</dd>
|
|
5305
|
+
</dl>
|
|
5306
|
+
|
|
5307
|
+
#### ⚙️ Parameters
|
|
5308
|
+
|
|
5309
|
+
<dl>
|
|
5310
|
+
<dd>
|
|
5311
|
+
|
|
5312
|
+
<dl>
|
|
5313
|
+
<dd>
|
|
5314
|
+
|
|
5315
|
+
**requestOptions:** `ProductCategoriesClient.RequestOptions`
|
|
5206
5316
|
|
|
5207
5317
|
</dd>
|
|
5208
5318
|
</dl>
|
|
@@ -5214,7 +5324,7 @@ await client.business.temporaryLocations.get({
|
|
|
5214
5324
|
</dl>
|
|
5215
5325
|
</details>
|
|
5216
5326
|
|
|
5217
|
-
<details><summary><code>client.business.
|
|
5327
|
+
<details><summary><code>client.business.productCategories.<a href="/src/api/resources/business/resources/productCategories/client/Client.ts">update</a>({ ...params }) -> void</code></summary>
|
|
5218
5328
|
<dl>
|
|
5219
5329
|
<dd>
|
|
5220
5330
|
|
|
@@ -5227,8 +5337,8 @@ await client.business.temporaryLocations.get({
|
|
|
5227
5337
|
<dd>
|
|
5228
5338
|
|
|
5229
5339
|
```typescript
|
|
5230
|
-
await client.business.
|
|
5231
|
-
|
|
5340
|
+
await client.business.productCategories.update({
|
|
5341
|
+
productCategory: "productCategory"
|
|
5232
5342
|
});
|
|
5233
5343
|
|
|
5234
5344
|
```
|
|
@@ -5245,7 +5355,7 @@ await client.business.temporaryLocations.update({
|
|
|
5245
5355
|
<dl>
|
|
5246
5356
|
<dd>
|
|
5247
5357
|
|
|
5248
|
-
**request:** `FiveOneEat.business.
|
|
5358
|
+
**request:** `FiveOneEat.business.UpdateProductCategoriesRequest`
|
|
5249
5359
|
|
|
5250
5360
|
</dd>
|
|
5251
5361
|
</dl>
|
|
@@ -5253,7 +5363,7 @@ await client.business.temporaryLocations.update({
|
|
|
5253
5363
|
<dl>
|
|
5254
5364
|
<dd>
|
|
5255
5365
|
|
|
5256
|
-
**requestOptions:** `
|
|
5366
|
+
**requestOptions:** `ProductCategoriesClient.RequestOptions`
|
|
5257
5367
|
|
|
5258
5368
|
</dd>
|
|
5259
5369
|
</dl>
|
|
@@ -5265,7 +5375,7 @@ await client.business.temporaryLocations.update({
|
|
|
5265
5375
|
</dl>
|
|
5266
5376
|
</details>
|
|
5267
5377
|
|
|
5268
|
-
<details><summary><code>client.business.
|
|
5378
|
+
<details><summary><code>client.business.productCategories.<a href="/src/api/resources/business/resources/productCategories/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
|
5269
5379
|
<dl>
|
|
5270
5380
|
<dd>
|
|
5271
5381
|
|
|
@@ -5278,8 +5388,8 @@ await client.business.temporaryLocations.update({
|
|
|
5278
5388
|
<dd>
|
|
5279
5389
|
|
|
5280
5390
|
```typescript
|
|
5281
|
-
await client.business.
|
|
5282
|
-
|
|
5391
|
+
await client.business.productCategories.delete({
|
|
5392
|
+
productCategory: "productCategory"
|
|
5283
5393
|
});
|
|
5284
5394
|
|
|
5285
5395
|
```
|
|
@@ -5296,7 +5406,7 @@ await client.business.temporaryLocations.delete({
|
|
|
5296
5406
|
<dl>
|
|
5297
5407
|
<dd>
|
|
5298
5408
|
|
|
5299
|
-
**request:** `FiveOneEat.business.
|
|
5409
|
+
**request:** `FiveOneEat.business.DeleteProductCategoriesRequest`
|
|
5300
5410
|
|
|
5301
5411
|
</dd>
|
|
5302
5412
|
</dl>
|
|
@@ -5304,7 +5414,7 @@ await client.business.temporaryLocations.delete({
|
|
|
5304
5414
|
<dl>
|
|
5305
5415
|
<dd>
|
|
5306
5416
|
|
|
5307
|
-
**requestOptions:** `
|
|
5417
|
+
**requestOptions:** `ProductCategoriesClient.RequestOptions`
|
|
5308
5418
|
|
|
5309
5419
|
</dd>
|
|
5310
5420
|
</dl>
|
|
@@ -7890,8 +8000,113 @@ Get the count of unread messages from the customer in a specific conversation.
|
|
|
7890
8000
|
<dd>
|
|
7891
8001
|
|
|
7892
8002
|
```typescript
|
|
7893
|
-
await client.business.messaging.messages.unreadCount({
|
|
7894
|
-
conversation: "550e8400-e29b-41d4-a716-446655440000"
|
|
8003
|
+
await client.business.messaging.messages.unreadCount({
|
|
8004
|
+
conversation: "550e8400-e29b-41d4-a716-446655440000"
|
|
8005
|
+
});
|
|
8006
|
+
|
|
8007
|
+
```
|
|
8008
|
+
</dd>
|
|
8009
|
+
</dl>
|
|
8010
|
+
</dd>
|
|
8011
|
+
</dl>
|
|
8012
|
+
|
|
8013
|
+
#### ⚙️ Parameters
|
|
8014
|
+
|
|
8015
|
+
<dl>
|
|
8016
|
+
<dd>
|
|
8017
|
+
|
|
8018
|
+
<dl>
|
|
8019
|
+
<dd>
|
|
8020
|
+
|
|
8021
|
+
**request:** `FiveOneEat.business.messaging.UnreadCountMessagesRequest`
|
|
8022
|
+
|
|
8023
|
+
</dd>
|
|
8024
|
+
</dl>
|
|
8025
|
+
|
|
8026
|
+
<dl>
|
|
8027
|
+
<dd>
|
|
8028
|
+
|
|
8029
|
+
**requestOptions:** `MessagesClient.RequestOptions`
|
|
8030
|
+
|
|
8031
|
+
</dd>
|
|
8032
|
+
</dl>
|
|
8033
|
+
</dd>
|
|
8034
|
+
</dl>
|
|
8035
|
+
|
|
8036
|
+
|
|
8037
|
+
</dd>
|
|
8038
|
+
</dl>
|
|
8039
|
+
</details>
|
|
8040
|
+
|
|
8041
|
+
## Business Products Variants
|
|
8042
|
+
<details><summary><code>client.business.products.variants.<a href="/src/api/resources/business/resources/products/resources/variants/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateVariantsResponse</code></summary>
|
|
8043
|
+
<dl>
|
|
8044
|
+
<dd>
|
|
8045
|
+
|
|
8046
|
+
#### 🔌 Usage
|
|
8047
|
+
|
|
8048
|
+
<dl>
|
|
8049
|
+
<dd>
|
|
8050
|
+
|
|
8051
|
+
<dl>
|
|
8052
|
+
<dd>
|
|
8053
|
+
|
|
8054
|
+
```typescript
|
|
8055
|
+
await client.business.products.variants.create({
|
|
8056
|
+
product: "product",
|
|
8057
|
+
name: "name"
|
|
8058
|
+
});
|
|
8059
|
+
|
|
8060
|
+
```
|
|
8061
|
+
</dd>
|
|
8062
|
+
</dl>
|
|
8063
|
+
</dd>
|
|
8064
|
+
</dl>
|
|
8065
|
+
|
|
8066
|
+
#### ⚙️ Parameters
|
|
8067
|
+
|
|
8068
|
+
<dl>
|
|
8069
|
+
<dd>
|
|
8070
|
+
|
|
8071
|
+
<dl>
|
|
8072
|
+
<dd>
|
|
8073
|
+
|
|
8074
|
+
**request:** `FiveOneEat.business.products.StoreVariantRequest`
|
|
8075
|
+
|
|
8076
|
+
</dd>
|
|
8077
|
+
</dl>
|
|
8078
|
+
|
|
8079
|
+
<dl>
|
|
8080
|
+
<dd>
|
|
8081
|
+
|
|
8082
|
+
**requestOptions:** `VariantsClient.RequestOptions`
|
|
8083
|
+
|
|
8084
|
+
</dd>
|
|
8085
|
+
</dl>
|
|
8086
|
+
</dd>
|
|
8087
|
+
</dl>
|
|
8088
|
+
|
|
8089
|
+
|
|
8090
|
+
</dd>
|
|
8091
|
+
</dl>
|
|
8092
|
+
</details>
|
|
8093
|
+
|
|
8094
|
+
<details><summary><code>client.business.products.variants.<a href="/src/api/resources/business/resources/products/resources/variants/client/Client.ts">update</a>({ ...params }) -> FiveOneEat.UpdateVariantsResponse</code></summary>
|
|
8095
|
+
<dl>
|
|
8096
|
+
<dd>
|
|
8097
|
+
|
|
8098
|
+
#### 🔌 Usage
|
|
8099
|
+
|
|
8100
|
+
<dl>
|
|
8101
|
+
<dd>
|
|
8102
|
+
|
|
8103
|
+
<dl>
|
|
8104
|
+
<dd>
|
|
8105
|
+
|
|
8106
|
+
```typescript
|
|
8107
|
+
await client.business.products.variants.update({
|
|
8108
|
+
variant: "variant",
|
|
8109
|
+
name: "name"
|
|
7895
8110
|
});
|
|
7896
8111
|
|
|
7897
8112
|
```
|
|
@@ -7908,7 +8123,7 @@ await client.business.messaging.messages.unreadCount({
|
|
|
7908
8123
|
<dl>
|
|
7909
8124
|
<dd>
|
|
7910
8125
|
|
|
7911
|
-
**request:** `FiveOneEat.business.
|
|
8126
|
+
**request:** `FiveOneEat.business.products.UpdateVariantRequest`
|
|
7912
8127
|
|
|
7913
8128
|
</dd>
|
|
7914
8129
|
</dl>
|
|
@@ -7916,7 +8131,7 @@ await client.business.messaging.messages.unreadCount({
|
|
|
7916
8131
|
<dl>
|
|
7917
8132
|
<dd>
|
|
7918
8133
|
|
|
7919
|
-
**requestOptions:** `
|
|
8134
|
+
**requestOptions:** `VariantsClient.RequestOptions`
|
|
7920
8135
|
|
|
7921
8136
|
</dd>
|
|
7922
8137
|
</dl>
|
|
@@ -7928,8 +8143,7 @@ await client.business.messaging.messages.unreadCount({
|
|
|
7928
8143
|
</dl>
|
|
7929
8144
|
</details>
|
|
7930
8145
|
|
|
7931
|
-
|
|
7932
|
-
<details><summary><code>client.business.products.variants.<a href="/src/api/resources/business/resources/products/resources/variants/client/Client.ts">create</a>({ ...params }) -> FiveOneEat.CreateVariantsResponse</code></summary>
|
|
8146
|
+
<details><summary><code>client.business.products.variants.<a href="/src/api/resources/business/resources/products/resources/variants/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
|
7933
8147
|
<dl>
|
|
7934
8148
|
<dd>
|
|
7935
8149
|
|
|
@@ -7942,10 +8156,8 @@ await client.business.messaging.messages.unreadCount({
|
|
|
7942
8156
|
<dd>
|
|
7943
8157
|
|
|
7944
8158
|
```typescript
|
|
7945
|
-
await client.business.products.variants.
|
|
7946
|
-
|
|
7947
|
-
name: "name",
|
|
7948
|
-
price: 1.1
|
|
8159
|
+
await client.business.products.variants.delete({
|
|
8160
|
+
variant: "variant"
|
|
7949
8161
|
});
|
|
7950
8162
|
|
|
7951
8163
|
```
|
|
@@ -7962,7 +8174,7 @@ await client.business.products.variants.create({
|
|
|
7962
8174
|
<dl>
|
|
7963
8175
|
<dd>
|
|
7964
8176
|
|
|
7965
|
-
**request:** `FiveOneEat.business.products.
|
|
8177
|
+
**request:** `FiveOneEat.business.products.DeleteVariantsRequest`
|
|
7966
8178
|
|
|
7967
8179
|
</dd>
|
|
7968
8180
|
</dl>
|
|
@@ -7982,7 +8194,8 @@ await client.business.products.variants.create({
|
|
|
7982
8194
|
</dl>
|
|
7983
8195
|
</details>
|
|
7984
8196
|
|
|
7985
|
-
|
|
8197
|
+
## Business Products Inventory
|
|
8198
|
+
<details><summary><code>client.business.products.inventory.<a href="/src/api/resources/business/resources/products/resources/inventory/client/Client.ts">summary</a>({ ...params }) -> FiveOneEat.SummaryInventoryResponse</code></summary>
|
|
7986
8199
|
<dl>
|
|
7987
8200
|
<dd>
|
|
7988
8201
|
|
|
@@ -7995,8 +8208,8 @@ await client.business.products.variants.create({
|
|
|
7995
8208
|
<dd>
|
|
7996
8209
|
|
|
7997
8210
|
```typescript
|
|
7998
|
-
await client.business.products.
|
|
7999
|
-
|
|
8211
|
+
await client.business.products.inventory.summary({
|
|
8212
|
+
product: "product"
|
|
8000
8213
|
});
|
|
8001
8214
|
|
|
8002
8215
|
```
|
|
@@ -8013,7 +8226,7 @@ await client.business.products.variants.update({
|
|
|
8013
8226
|
<dl>
|
|
8014
8227
|
<dd>
|
|
8015
8228
|
|
|
8016
|
-
**request:** `FiveOneEat.business.products.
|
|
8229
|
+
**request:** `FiveOneEat.business.products.SummaryInventoryRequest`
|
|
8017
8230
|
|
|
8018
8231
|
</dd>
|
|
8019
8232
|
</dl>
|
|
@@ -8021,7 +8234,7 @@ await client.business.products.variants.update({
|
|
|
8021
8234
|
<dl>
|
|
8022
8235
|
<dd>
|
|
8023
8236
|
|
|
8024
|
-
**requestOptions:** `
|
|
8237
|
+
**requestOptions:** `InventoryClient.RequestOptions`
|
|
8025
8238
|
|
|
8026
8239
|
</dd>
|
|
8027
8240
|
</dl>
|
|
@@ -8033,7 +8246,8 @@ await client.business.products.variants.update({
|
|
|
8033
8246
|
</dl>
|
|
8034
8247
|
</details>
|
|
8035
8248
|
|
|
8036
|
-
|
|
8249
|
+
## Business Products Images
|
|
8250
|
+
<details><summary><code>client.business.products.images.<a href="/src/api/resources/business/resources/products/resources/images/client/Client.ts">upload</a>({ ...params }) -> void</code></summary>
|
|
8037
8251
|
<dl>
|
|
8038
8252
|
<dd>
|
|
8039
8253
|
|
|
@@ -8046,8 +8260,8 @@ await client.business.products.variants.update({
|
|
|
8046
8260
|
<dd>
|
|
8047
8261
|
|
|
8048
8262
|
```typescript
|
|
8049
|
-
await client.business.products.
|
|
8050
|
-
|
|
8263
|
+
await client.business.products.images.upload({
|
|
8264
|
+
product: "product"
|
|
8051
8265
|
});
|
|
8052
8266
|
|
|
8053
8267
|
```
|
|
@@ -8064,7 +8278,7 @@ await client.business.products.variants.delete({
|
|
|
8064
8278
|
<dl>
|
|
8065
8279
|
<dd>
|
|
8066
8280
|
|
|
8067
|
-
**request:** `FiveOneEat.business.products.
|
|
8281
|
+
**request:** `FiveOneEat.business.products.UploadImagesRequest`
|
|
8068
8282
|
|
|
8069
8283
|
</dd>
|
|
8070
8284
|
</dl>
|
|
@@ -8072,7 +8286,7 @@ await client.business.products.variants.delete({
|
|
|
8072
8286
|
<dl>
|
|
8073
8287
|
<dd>
|
|
8074
8288
|
|
|
8075
|
-
**requestOptions:** `
|
|
8289
|
+
**requestOptions:** `ImagesClient.RequestOptions`
|
|
8076
8290
|
|
|
8077
8291
|
</dd>
|
|
8078
8292
|
</dl>
|
|
@@ -8084,8 +8298,7 @@ await client.business.products.variants.delete({
|
|
|
8084
8298
|
</dl>
|
|
8085
8299
|
</details>
|
|
8086
8300
|
|
|
8087
|
-
|
|
8088
|
-
<details><summary><code>client.business.products.images.<a href="/src/api/resources/business/resources/products/resources/images/client/Client.ts">upload</a>({ ...params }) -> FiveOneEat.UploadImagesResponse</code></summary>
|
|
8301
|
+
<details><summary><code>client.business.products.images.<a href="/src/api/resources/business/resources/products/resources/images/client/Client.ts">reorder</a>({ ...params }) -> void</code></summary>
|
|
8089
8302
|
<dl>
|
|
8090
8303
|
<dd>
|
|
8091
8304
|
|
|
@@ -8098,8 +8311,7 @@ await client.business.products.variants.delete({
|
|
|
8098
8311
|
<dd>
|
|
8099
8312
|
|
|
8100
8313
|
```typescript
|
|
8101
|
-
await client.business.products.images.
|
|
8102
|
-
image: fs.createReadStream("/path/to/your/file"),
|
|
8314
|
+
await client.business.products.images.reorder({
|
|
8103
8315
|
product: "product"
|
|
8104
8316
|
});
|
|
8105
8317
|
|
|
@@ -8117,7 +8329,7 @@ await client.business.products.images.upload({
|
|
|
8117
8329
|
<dl>
|
|
8118
8330
|
<dd>
|
|
8119
8331
|
|
|
8120
|
-
**request:** `FiveOneEat.business.products.
|
|
8332
|
+
**request:** `FiveOneEat.business.products.ReorderImagesRequest`
|
|
8121
8333
|
|
|
8122
8334
|
</dd>
|
|
8123
8335
|
</dl>
|
|
@@ -8137,7 +8349,7 @@ await client.business.products.images.upload({
|
|
|
8137
8349
|
</dl>
|
|
8138
8350
|
</details>
|
|
8139
8351
|
|
|
8140
|
-
<details><summary><code>client.business.products.images.<a href="/src/api/resources/business/resources/products/resources/images/client/Client.ts">
|
|
8352
|
+
<details><summary><code>client.business.products.images.<a href="/src/api/resources/business/resources/products/resources/images/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
|
8141
8353
|
<dl>
|
|
8142
8354
|
<dd>
|
|
8143
8355
|
|
|
@@ -8150,14 +8362,9 @@ await client.business.products.images.upload({
|
|
|
8150
8362
|
<dd>
|
|
8151
8363
|
|
|
8152
8364
|
```typescript
|
|
8153
|
-
await client.business.products.images.
|
|
8365
|
+
await client.business.products.images.delete({
|
|
8154
8366
|
product: "product",
|
|
8155
|
-
|
|
8156
|
-
images: [{
|
|
8157
|
-
id: "id",
|
|
8158
|
-
sort_order: 1
|
|
8159
|
-
}]
|
|
8160
|
-
}
|
|
8367
|
+
image: "image"
|
|
8161
8368
|
});
|
|
8162
8369
|
|
|
8163
8370
|
```
|
|
@@ -8174,7 +8381,7 @@ await client.business.products.images.reorder({
|
|
|
8174
8381
|
<dl>
|
|
8175
8382
|
<dd>
|
|
8176
8383
|
|
|
8177
|
-
**request:** `FiveOneEat.business.products.
|
|
8384
|
+
**request:** `FiveOneEat.business.products.DeleteImagesRequest`
|
|
8178
8385
|
|
|
8179
8386
|
</dd>
|
|
8180
8387
|
</dl>
|
|
@@ -8194,7 +8401,8 @@ await client.business.products.images.reorder({
|
|
|
8194
8401
|
</dl>
|
|
8195
8402
|
</details>
|
|
8196
8403
|
|
|
8197
|
-
|
|
8404
|
+
## Business Products Variants Prices
|
|
8405
|
+
<details><summary><code>client.business.products.variants.prices.<a href="/src/api/resources/business/resources/products/resources/variants/resources/prices/client/Client.ts">set</a>({ ...params }) -> FiveOneEat.SetPricesResponse</code></summary>
|
|
8198
8406
|
<dl>
|
|
8199
8407
|
<dd>
|
|
8200
8408
|
|
|
@@ -8207,9 +8415,11 @@ await client.business.products.images.reorder({
|
|
|
8207
8415
|
<dd>
|
|
8208
8416
|
|
|
8209
8417
|
```typescript
|
|
8210
|
-
await client.business.products.
|
|
8418
|
+
await client.business.products.variants.prices.set({
|
|
8211
8419
|
product: "product",
|
|
8212
|
-
|
|
8420
|
+
variant: "variant",
|
|
8421
|
+
priceList: "priceList",
|
|
8422
|
+
amount_cents: 1
|
|
8213
8423
|
});
|
|
8214
8424
|
|
|
8215
8425
|
```
|
|
@@ -8226,7 +8436,7 @@ await client.business.products.images.delete({
|
|
|
8226
8436
|
<dl>
|
|
8227
8437
|
<dd>
|
|
8228
8438
|
|
|
8229
|
-
**request:** `FiveOneEat.business.products.
|
|
8439
|
+
**request:** `FiveOneEat.business.products.variants.SetPriceRequest`
|
|
8230
8440
|
|
|
8231
8441
|
</dd>
|
|
8232
8442
|
</dl>
|
|
@@ -8234,7 +8444,7 @@ await client.business.products.images.delete({
|
|
|
8234
8444
|
<dl>
|
|
8235
8445
|
<dd>
|
|
8236
8446
|
|
|
8237
|
-
**requestOptions:** `
|
|
8447
|
+
**requestOptions:** `PricesClient.RequestOptions`
|
|
8238
8448
|
|
|
8239
8449
|
</dd>
|
|
8240
8450
|
</dl>
|
|
@@ -8246,8 +8456,8 @@ await client.business.products.images.delete({
|
|
|
8246
8456
|
</dl>
|
|
8247
8457
|
</details>
|
|
8248
8458
|
|
|
8249
|
-
## Business Products Inventory
|
|
8250
|
-
<details><summary><code>client.business.products.inventory.<a href="/src/api/resources/business/resources/products/resources/inventory/client/Client.ts">
|
|
8459
|
+
## Business Products Variants Inventory
|
|
8460
|
+
<details><summary><code>client.business.products.variants.inventory.<a href="/src/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.ts">adjust</a>({ ...params }) -> FiveOneEat.AdjustInventoryResponse</code></summary>
|
|
8251
8461
|
<dl>
|
|
8252
8462
|
<dd>
|
|
8253
8463
|
|
|
@@ -8260,8 +8470,10 @@ await client.business.products.images.delete({
|
|
|
8260
8470
|
<dd>
|
|
8261
8471
|
|
|
8262
8472
|
```typescript
|
|
8263
|
-
await client.business.products.inventory.
|
|
8264
|
-
|
|
8473
|
+
await client.business.products.variants.inventory.adjust({
|
|
8474
|
+
variant: "variant",
|
|
8475
|
+
sales_channel_id: "sales_channel_id",
|
|
8476
|
+
adjustment: 1
|
|
8265
8477
|
});
|
|
8266
8478
|
|
|
8267
8479
|
```
|
|
@@ -8278,7 +8490,7 @@ await client.business.products.inventory.summary({
|
|
|
8278
8490
|
<dl>
|
|
8279
8491
|
<dd>
|
|
8280
8492
|
|
|
8281
|
-
**request:** `FiveOneEat.business.products.
|
|
8493
|
+
**request:** `FiveOneEat.business.products.variants.AdjustInventoryRequest`
|
|
8282
8494
|
|
|
8283
8495
|
</dd>
|
|
8284
8496
|
</dl>
|
|
@@ -8298,8 +8510,7 @@ await client.business.products.inventory.summary({
|
|
|
8298
8510
|
</dl>
|
|
8299
8511
|
</details>
|
|
8300
8512
|
|
|
8301
|
-
|
|
8302
|
-
<details><summary><code>client.business.products.variants.images.<a href="/src/api/resources/business/resources/products/resources/variants/resources/images/client/Client.ts">upload</a>({ ...params }) -> FiveOneEat.UploadImagesResponse</code></summary>
|
|
8513
|
+
<details><summary><code>client.business.products.variants.inventory.<a href="/src/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.ts">updateTracking</a>({ ...params }) -> FiveOneEat.UpdateTrackingInventoryResponse</code></summary>
|
|
8303
8514
|
<dl>
|
|
8304
8515
|
<dd>
|
|
8305
8516
|
|
|
@@ -8312,9 +8523,10 @@ await client.business.products.inventory.summary({
|
|
|
8312
8523
|
<dd>
|
|
8313
8524
|
|
|
8314
8525
|
```typescript
|
|
8315
|
-
await client.business.products.variants.
|
|
8316
|
-
|
|
8317
|
-
|
|
8526
|
+
await client.business.products.variants.inventory.updateTracking({
|
|
8527
|
+
variant: "variant",
|
|
8528
|
+
sales_channel_id: "sales_channel_id",
|
|
8529
|
+
tracks_inventory: true
|
|
8318
8530
|
});
|
|
8319
8531
|
|
|
8320
8532
|
```
|
|
@@ -8331,7 +8543,7 @@ await client.business.products.variants.images.upload({
|
|
|
8331
8543
|
<dl>
|
|
8332
8544
|
<dd>
|
|
8333
8545
|
|
|
8334
|
-
**request:** `FiveOneEat.business.products.variants.
|
|
8546
|
+
**request:** `FiveOneEat.business.products.variants.UpdateTrackingInventoryRequest`
|
|
8335
8547
|
|
|
8336
8548
|
</dd>
|
|
8337
8549
|
</dl>
|
|
@@ -8339,7 +8551,7 @@ await client.business.products.variants.images.upload({
|
|
|
8339
8551
|
<dl>
|
|
8340
8552
|
<dd>
|
|
8341
8553
|
|
|
8342
|
-
**requestOptions:** `
|
|
8554
|
+
**requestOptions:** `InventoryClient.RequestOptions`
|
|
8343
8555
|
|
|
8344
8556
|
</dd>
|
|
8345
8557
|
</dl>
|
|
@@ -8351,7 +8563,7 @@ await client.business.products.variants.images.upload({
|
|
|
8351
8563
|
</dl>
|
|
8352
8564
|
</details>
|
|
8353
8565
|
|
|
8354
|
-
<details><summary><code>client.business.products.variants.
|
|
8566
|
+
<details><summary><code>client.business.products.variants.inventory.<a href="/src/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.ts">history</a>({ ...params }) -> void</code></summary>
|
|
8355
8567
|
<dl>
|
|
8356
8568
|
<dd>
|
|
8357
8569
|
|
|
@@ -8364,14 +8576,8 @@ await client.business.products.variants.images.upload({
|
|
|
8364
8576
|
<dd>
|
|
8365
8577
|
|
|
8366
8578
|
```typescript
|
|
8367
|
-
await client.business.products.variants.
|
|
8368
|
-
variant: "variant"
|
|
8369
|
-
body: {
|
|
8370
|
-
images: [{
|
|
8371
|
-
id: "id",
|
|
8372
|
-
sort_order: 1
|
|
8373
|
-
}]
|
|
8374
|
-
}
|
|
8579
|
+
await client.business.products.variants.inventory.history({
|
|
8580
|
+
variant: "variant"
|
|
8375
8581
|
});
|
|
8376
8582
|
|
|
8377
8583
|
```
|
|
@@ -8388,7 +8594,7 @@ await client.business.products.variants.images.reorder({
|
|
|
8388
8594
|
<dl>
|
|
8389
8595
|
<dd>
|
|
8390
8596
|
|
|
8391
|
-
**request:** `FiveOneEat.business.products.variants.
|
|
8597
|
+
**request:** `FiveOneEat.business.products.variants.HistoryInventoryRequest`
|
|
8392
8598
|
|
|
8393
8599
|
</dd>
|
|
8394
8600
|
</dl>
|
|
@@ -8396,7 +8602,7 @@ await client.business.products.variants.images.reorder({
|
|
|
8396
8602
|
<dl>
|
|
8397
8603
|
<dd>
|
|
8398
8604
|
|
|
8399
|
-
**requestOptions:** `
|
|
8605
|
+
**requestOptions:** `InventoryClient.RequestOptions`
|
|
8400
8606
|
|
|
8401
8607
|
</dd>
|
|
8402
8608
|
</dl>
|
|
@@ -8408,7 +8614,8 @@ await client.business.products.variants.images.reorder({
|
|
|
8408
8614
|
</dl>
|
|
8409
8615
|
</details>
|
|
8410
8616
|
|
|
8411
|
-
|
|
8617
|
+
## Business Products Variants Images
|
|
8618
|
+
<details><summary><code>client.business.products.variants.images.<a href="/src/api/resources/business/resources/products/resources/variants/resources/images/client/Client.ts">upload</a>({ ...params }) -> void</code></summary>
|
|
8412
8619
|
<dl>
|
|
8413
8620
|
<dd>
|
|
8414
8621
|
|
|
@@ -8421,9 +8628,8 @@ await client.business.products.variants.images.reorder({
|
|
|
8421
8628
|
<dd>
|
|
8422
8629
|
|
|
8423
8630
|
```typescript
|
|
8424
|
-
await client.business.products.variants.images.
|
|
8425
|
-
variant: "variant"
|
|
8426
|
-
image: "image"
|
|
8631
|
+
await client.business.products.variants.images.upload({
|
|
8632
|
+
variant: "variant"
|
|
8427
8633
|
});
|
|
8428
8634
|
|
|
8429
8635
|
```
|
|
@@ -8440,7 +8646,7 @@ await client.business.products.variants.images.delete({
|
|
|
8440
8646
|
<dl>
|
|
8441
8647
|
<dd>
|
|
8442
8648
|
|
|
8443
|
-
**request:** `FiveOneEat.business.products.variants.
|
|
8649
|
+
**request:** `FiveOneEat.business.products.variants.UploadImagesRequest`
|
|
8444
8650
|
|
|
8445
8651
|
</dd>
|
|
8446
8652
|
</dl>
|
|
@@ -8460,8 +8666,7 @@ await client.business.products.variants.images.delete({
|
|
|
8460
8666
|
</dl>
|
|
8461
8667
|
</details>
|
|
8462
8668
|
|
|
8463
|
-
|
|
8464
|
-
<details><summary><code>client.business.products.variants.inventory.<a href="/src/api/resources/business/resources/products/resources/variants/resources/inventory/client/Client.ts">adjust</a>({ ...params }) -> FiveOneEat.AdjustInventoryResponse</code></summary>
|
|
8669
|
+
<details><summary><code>client.business.products.variants.images.<a href="/src/api/resources/business/resources/products/resources/variants/resources/images/client/Client.ts">reorder</a>({ ...params }) -> void</code></summary>
|
|
8465
8670
|
<dl>
|
|
8466
8671
|
<dd>
|
|
8467
8672
|
|
|
@@ -8474,11 +8679,8 @@ await client.business.products.variants.images.delete({
|
|
|
8474
8679
|
<dd>
|
|
8475
8680
|
|
|
8476
8681
|
```typescript
|
|
8477
|
-
await client.business.products.variants.
|
|
8478
|
-
variant: "variant"
|
|
8479
|
-
type: "add",
|
|
8480
|
-
quantity: 1,
|
|
8481
|
-
reason: "restock"
|
|
8682
|
+
await client.business.products.variants.images.reorder({
|
|
8683
|
+
variant: "variant"
|
|
8482
8684
|
});
|
|
8483
8685
|
|
|
8484
8686
|
```
|
|
@@ -8495,7 +8697,7 @@ await client.business.products.variants.inventory.adjust({
|
|
|
8495
8697
|
<dl>
|
|
8496
8698
|
<dd>
|
|
8497
8699
|
|
|
8498
|
-
**request:** `FiveOneEat.business.products.variants.
|
|
8700
|
+
**request:** `FiveOneEat.business.products.variants.ReorderImagesRequest`
|
|
8499
8701
|
|
|
8500
8702
|
</dd>
|
|
8501
8703
|
</dl>
|
|
@@ -8503,7 +8705,7 @@ await client.business.products.variants.inventory.adjust({
|
|
|
8503
8705
|
<dl>
|
|
8504
8706
|
<dd>
|
|
8505
8707
|
|
|
8506
|
-
**requestOptions:** `
|
|
8708
|
+
**requestOptions:** `ImagesClient.RequestOptions`
|
|
8507
8709
|
|
|
8508
8710
|
</dd>
|
|
8509
8711
|
</dl>
|
|
@@ -8515,7 +8717,7 @@ await client.business.products.variants.inventory.adjust({
|
|
|
8515
8717
|
</dl>
|
|
8516
8718
|
</details>
|
|
8517
8719
|
|
|
8518
|
-
<details><summary><code>client.business.products.variants.
|
|
8720
|
+
<details><summary><code>client.business.products.variants.images.<a href="/src/api/resources/business/resources/products/resources/variants/resources/images/client/Client.ts">delete</a>({ ...params }) -> void</code></summary>
|
|
8519
8721
|
<dl>
|
|
8520
8722
|
<dd>
|
|
8521
8723
|
|
|
@@ -8528,8 +8730,9 @@ await client.business.products.variants.inventory.adjust({
|
|
|
8528
8730
|
<dd>
|
|
8529
8731
|
|
|
8530
8732
|
```typescript
|
|
8531
|
-
await client.business.products.variants.
|
|
8532
|
-
variant: "variant"
|
|
8733
|
+
await client.business.products.variants.images.delete({
|
|
8734
|
+
variant: "variant",
|
|
8735
|
+
image: "image"
|
|
8533
8736
|
});
|
|
8534
8737
|
|
|
8535
8738
|
```
|
|
@@ -8546,7 +8749,7 @@ await client.business.products.variants.inventory.history({
|
|
|
8546
8749
|
<dl>
|
|
8547
8750
|
<dd>
|
|
8548
8751
|
|
|
8549
|
-
**request:** `FiveOneEat.business.products.variants.
|
|
8752
|
+
**request:** `FiveOneEat.business.products.variants.DeleteImagesRequest`
|
|
8550
8753
|
|
|
8551
8754
|
</dd>
|
|
8552
8755
|
</dl>
|
|
@@ -8554,7 +8757,7 @@ await client.business.products.variants.inventory.history({
|
|
|
8554
8757
|
<dl>
|
|
8555
8758
|
<dd>
|
|
8556
8759
|
|
|
8557
|
-
**requestOptions:** `
|
|
8760
|
+
**requestOptions:** `ImagesClient.RequestOptions`
|
|
8558
8761
|
|
|
8559
8762
|
</dd>
|
|
8560
8763
|
</dl>
|
|
@@ -8943,7 +9146,7 @@ await client.business.shipping.account.delete();
|
|
|
8943
9146
|
</details>
|
|
8944
9147
|
|
|
8945
9148
|
## Business Shipping Rates
|
|
8946
|
-
<details><summary><code>client.business.shipping.rates.<a href="/src/api/resources/business/resources/shipping/resources/rates/client/Client.ts">list</a>() ->
|
|
9149
|
+
<details><summary><code>client.business.shipping.rates.<a href="/src/api/resources/business/resources/shipping/resources/rates/client/Client.ts">list</a>() -> void</code></summary>
|
|
8947
9150
|
<dl>
|
|
8948
9151
|
<dd>
|
|
8949
9152
|
|
|
@@ -8984,7 +9187,7 @@ await client.business.shipping.rates.list();
|
|
|
8984
9187
|
</dl>
|
|
8985
9188
|
</details>
|
|
8986
9189
|
|
|
8987
|
-
<details><summary><code>client.business.shipping.rates.<a href="/src/api/resources/business/resources/shipping/resources/rates/client/Client.ts">create</a>(
|
|
9190
|
+
<details><summary><code>client.business.shipping.rates.<a href="/src/api/resources/business/resources/shipping/resources/rates/client/Client.ts">create</a>() -> void</code></summary>
|
|
8988
9191
|
<dl>
|
|
8989
9192
|
<dd>
|
|
8990
9193
|
|
|
@@ -8997,10 +9200,7 @@ await client.business.shipping.rates.list();
|
|
|
8997
9200
|
<dd>
|
|
8998
9201
|
|
|
8999
9202
|
```typescript
|
|
9000
|
-
await client.business.shipping.rates.create(
|
|
9001
|
-
name: "name",
|
|
9002
|
-
rate_type: "flat"
|
|
9003
|
-
});
|
|
9203
|
+
await client.business.shipping.rates.create();
|
|
9004
9204
|
|
|
9005
9205
|
```
|
|
9006
9206
|
</dd>
|
|
@@ -9016,14 +9216,6 @@ await client.business.shipping.rates.create({
|
|
|
9016
9216
|
<dl>
|
|
9017
9217
|
<dd>
|
|
9018
9218
|
|
|
9019
|
-
**request:** `FiveOneEat.business.shipping.StoreShippingRateRequest`
|
|
9020
|
-
|
|
9021
|
-
</dd>
|
|
9022
|
-
</dl>
|
|
9023
|
-
|
|
9024
|
-
<dl>
|
|
9025
|
-
<dd>
|
|
9026
|
-
|
|
9027
9219
|
**requestOptions:** `RatesClient.RequestOptions`
|
|
9028
9220
|
|
|
9029
9221
|
</dd>
|
|
@@ -9036,7 +9228,7 @@ await client.business.shipping.rates.create({
|
|
|
9036
9228
|
</dl>
|
|
9037
9229
|
</details>
|
|
9038
9230
|
|
|
9039
|
-
<details><summary><code>client.business.shipping.rates.<a href="/src/api/resources/business/resources/shipping/resources/rates/client/Client.ts">update</a>({ ...params }) ->
|
|
9231
|
+
<details><summary><code>client.business.shipping.rates.<a href="/src/api/resources/business/resources/shipping/resources/rates/client/Client.ts">update</a>({ ...params }) -> void</code></summary>
|
|
9040
9232
|
<dl>
|
|
9041
9233
|
<dd>
|
|
9042
9234
|
|
|
@@ -9050,9 +9242,7 @@ await client.business.shipping.rates.create({
|
|
|
9050
9242
|
|
|
9051
9243
|
```typescript
|
|
9052
9244
|
await client.business.shipping.rates.update({
|
|
9053
|
-
shippingRate: "shippingRate"
|
|
9054
|
-
name: "name",
|
|
9055
|
-
rate_type: "flat"
|
|
9245
|
+
shippingRate: "shippingRate"
|
|
9056
9246
|
});
|
|
9057
9247
|
|
|
9058
9248
|
```
|
|
@@ -9069,7 +9259,7 @@ await client.business.shipping.rates.update({
|
|
|
9069
9259
|
<dl>
|
|
9070
9260
|
<dd>
|
|
9071
9261
|
|
|
9072
|
-
**request:** `FiveOneEat.business.shipping.
|
|
9262
|
+
**request:** `FiveOneEat.business.shipping.UpdateRatesRequest`
|
|
9073
9263
|
|
|
9074
9264
|
</dd>
|
|
9075
9265
|
</dl>
|
|
@@ -10523,7 +10713,7 @@ await client.customer.businesses.getPickupTimeslots({
|
|
|
10523
10713
|
|
|
10524
10714
|
```typescript
|
|
10525
10715
|
await client.customer.cart.get({
|
|
10526
|
-
business: "
|
|
10716
|
+
business: "business"
|
|
10527
10717
|
});
|
|
10528
10718
|
|
|
10529
10719
|
```
|
|
@@ -10574,8 +10764,8 @@ await client.customer.cart.get({
|
|
|
10574
10764
|
|
|
10575
10765
|
```typescript
|
|
10576
10766
|
await client.customer.cart.addItem({
|
|
10577
|
-
business: "
|
|
10578
|
-
|
|
10767
|
+
business: "business",
|
|
10768
|
+
variant_id: "variant_id",
|
|
10579
10769
|
quantity: 1
|
|
10580
10770
|
});
|
|
10581
10771
|
|
|
@@ -10593,7 +10783,7 @@ await client.customer.cart.addItem({
|
|
|
10593
10783
|
<dl>
|
|
10594
10784
|
<dd>
|
|
10595
10785
|
|
|
10596
|
-
**request:** `FiveOneEat.customer.
|
|
10786
|
+
**request:** `FiveOneEat.customer.AddItemCartRequest`
|
|
10597
10787
|
|
|
10598
10788
|
</dd>
|
|
10599
10789
|
</dl>
|
|
@@ -10613,7 +10803,7 @@ await client.customer.cart.addItem({
|
|
|
10613
10803
|
</dl>
|
|
10614
10804
|
</details>
|
|
10615
10805
|
|
|
10616
|
-
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">clear</a>({ ...params }) ->
|
|
10806
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">clear</a>({ ...params }) -> void</code></summary>
|
|
10617
10807
|
<dl>
|
|
10618
10808
|
<dd>
|
|
10619
10809
|
|
|
@@ -10627,7 +10817,7 @@ await client.customer.cart.addItem({
|
|
|
10627
10817
|
|
|
10628
10818
|
```typescript
|
|
10629
10819
|
await client.customer.cart.clear({
|
|
10630
|
-
business: "
|
|
10820
|
+
business: "business"
|
|
10631
10821
|
});
|
|
10632
10822
|
|
|
10633
10823
|
```
|
|
@@ -10664,24 +10854,10 @@ await client.customer.cart.clear({
|
|
|
10664
10854
|
</dl>
|
|
10665
10855
|
</details>
|
|
10666
10856
|
|
|
10667
|
-
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">
|
|
10668
|
-
<dl>
|
|
10669
|
-
<dd>
|
|
10670
|
-
|
|
10671
|
-
#### 📝 Description
|
|
10672
|
-
|
|
10673
|
-
<dl>
|
|
10674
|
-
<dd>
|
|
10675
|
-
|
|
10857
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">updateItem</a>({ ...params }) -> FiveOneEat.UpdateItemCartResponse</code></summary>
|
|
10676
10858
|
<dl>
|
|
10677
10859
|
<dd>
|
|
10678
10860
|
|
|
10679
|
-
Returns client_secret, price breakdown, and tax calculation for use with Stripe SDK.
|
|
10680
|
-
</dd>
|
|
10681
|
-
</dl>
|
|
10682
|
-
</dd>
|
|
10683
|
-
</dl>
|
|
10684
|
-
|
|
10685
10861
|
#### 🔌 Usage
|
|
10686
10862
|
|
|
10687
10863
|
<dl>
|
|
@@ -10691,15 +10867,9 @@ Returns client_secret, price breakdown, and tax calculation for use with Stripe
|
|
|
10691
10867
|
<dd>
|
|
10692
10868
|
|
|
10693
10869
|
```typescript
|
|
10694
|
-
await client.customer.cart.
|
|
10695
|
-
|
|
10696
|
-
|
|
10697
|
-
line1: "line1",
|
|
10698
|
-
city: "city",
|
|
10699
|
-
state: "state",
|
|
10700
|
-
postal_code: "postal_code",
|
|
10701
|
-
country: "country"
|
|
10702
|
-
}
|
|
10870
|
+
await client.customer.cart.updateItem({
|
|
10871
|
+
cartItem: "cartItem",
|
|
10872
|
+
quantity: 1
|
|
10703
10873
|
});
|
|
10704
10874
|
|
|
10705
10875
|
```
|
|
@@ -10716,7 +10886,7 @@ await client.customer.cart.createPaymentIntent({
|
|
|
10716
10886
|
<dl>
|
|
10717
10887
|
<dd>
|
|
10718
10888
|
|
|
10719
|
-
**request:** `FiveOneEat.customer.
|
|
10889
|
+
**request:** `FiveOneEat.customer.UpdateItemCartRequest`
|
|
10720
10890
|
|
|
10721
10891
|
</dd>
|
|
10722
10892
|
</dl>
|
|
@@ -10736,25 +10906,10 @@ await client.customer.cart.createPaymentIntent({
|
|
|
10736
10906
|
</dl>
|
|
10737
10907
|
</details>
|
|
10738
10908
|
|
|
10739
|
-
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">
|
|
10740
|
-
<dl>
|
|
10741
|
-
<dd>
|
|
10742
|
-
|
|
10743
|
-
#### 📝 Description
|
|
10744
|
-
|
|
10745
|
-
<dl>
|
|
10746
|
-
<dd>
|
|
10747
|
-
|
|
10909
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">removeItem</a>({ ...params }) -> FiveOneEat.RemoveItemCartResponse</code></summary>
|
|
10748
10910
|
<dl>
|
|
10749
10911
|
<dd>
|
|
10750
10912
|
|
|
10751
|
-
Verifies the Stripe payment intent, creates the order, decrements inventory,
|
|
10752
|
-
clears the cart, and dispatches order confirmation notifications.
|
|
10753
|
-
</dd>
|
|
10754
|
-
</dl>
|
|
10755
|
-
</dd>
|
|
10756
|
-
</dl>
|
|
10757
|
-
|
|
10758
10913
|
#### 🔌 Usage
|
|
10759
10914
|
|
|
10760
10915
|
<dl>
|
|
@@ -10764,16 +10919,8 @@ clears the cart, and dispatches order confirmation notifications.
|
|
|
10764
10919
|
<dd>
|
|
10765
10920
|
|
|
10766
10921
|
```typescript
|
|
10767
|
-
await client.customer.cart.
|
|
10768
|
-
|
|
10769
|
-
payment_intent_id: "payment_intent_id",
|
|
10770
|
-
billing_address: {
|
|
10771
|
-
line1: "line1",
|
|
10772
|
-
city: "city",
|
|
10773
|
-
state: "state",
|
|
10774
|
-
postal_code: "postal_code",
|
|
10775
|
-
country: "country"
|
|
10776
|
-
}
|
|
10922
|
+
await client.customer.cart.removeItem({
|
|
10923
|
+
cartItem: "cartItem"
|
|
10777
10924
|
});
|
|
10778
10925
|
|
|
10779
10926
|
```
|
|
@@ -10790,7 +10937,7 @@ await client.customer.cart.checkout({
|
|
|
10790
10937
|
<dl>
|
|
10791
10938
|
<dd>
|
|
10792
10939
|
|
|
10793
|
-
**request:** `FiveOneEat.customer.
|
|
10940
|
+
**request:** `FiveOneEat.customer.RemoveItemCartRequest`
|
|
10794
10941
|
|
|
10795
10942
|
</dd>
|
|
10796
10943
|
</dl>
|
|
@@ -10810,7 +10957,7 @@ await client.customer.cart.checkout({
|
|
|
10810
10957
|
</dl>
|
|
10811
10958
|
</details>
|
|
10812
10959
|
|
|
10813
|
-
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">
|
|
10960
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">createPaymentIntent</a>({ ...params }) -> FiveOneEat.CreatePaymentIntentCartResponse</code></summary>
|
|
10814
10961
|
<dl>
|
|
10815
10962
|
<dd>
|
|
10816
10963
|
|
|
@@ -10823,9 +10970,8 @@ await client.customer.cart.checkout({
|
|
|
10823
10970
|
<dd>
|
|
10824
10971
|
|
|
10825
10972
|
```typescript
|
|
10826
|
-
await client.customer.cart.
|
|
10827
|
-
|
|
10828
|
-
quantity: 1
|
|
10973
|
+
await client.customer.cart.createPaymentIntent({
|
|
10974
|
+
business: "business"
|
|
10829
10975
|
});
|
|
10830
10976
|
|
|
10831
10977
|
```
|
|
@@ -10842,7 +10988,7 @@ await client.customer.cart.updateItem({
|
|
|
10842
10988
|
<dl>
|
|
10843
10989
|
<dd>
|
|
10844
10990
|
|
|
10845
|
-
**request:** `FiveOneEat.customer.
|
|
10991
|
+
**request:** `FiveOneEat.customer.CreatePaymentIntentCartRequest`
|
|
10846
10992
|
|
|
10847
10993
|
</dd>
|
|
10848
10994
|
</dl>
|
|
@@ -10862,7 +11008,7 @@ await client.customer.cart.updateItem({
|
|
|
10862
11008
|
</dl>
|
|
10863
11009
|
</details>
|
|
10864
11010
|
|
|
10865
|
-
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">
|
|
11011
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">checkout</a>({ ...params }) -> FiveOneEat.CheckoutCartResponse</code></summary>
|
|
10866
11012
|
<dl>
|
|
10867
11013
|
<dd>
|
|
10868
11014
|
|
|
@@ -10875,8 +11021,11 @@ await client.customer.cart.updateItem({
|
|
|
10875
11021
|
<dd>
|
|
10876
11022
|
|
|
10877
11023
|
```typescript
|
|
10878
|
-
await client.customer.cart.
|
|
10879
|
-
|
|
11024
|
+
await client.customer.cart.checkout({
|
|
11025
|
+
business: "business",
|
|
11026
|
+
body: {
|
|
11027
|
+
payment_intent_id: "payment_intent_id"
|
|
11028
|
+
}
|
|
10880
11029
|
});
|
|
10881
11030
|
|
|
10882
11031
|
```
|
|
@@ -10893,7 +11042,7 @@ await client.customer.cart.removeItem({
|
|
|
10893
11042
|
<dl>
|
|
10894
11043
|
<dd>
|
|
10895
11044
|
|
|
10896
|
-
**request:** `FiveOneEat.customer.
|
|
11045
|
+
**request:** `FiveOneEat.customer.CheckoutCartRequest`
|
|
10897
11046
|
|
|
10898
11047
|
</dd>
|
|
10899
11048
|
</dl>
|
|
@@ -10913,27 +11062,10 @@ await client.customer.cart.removeItem({
|
|
|
10913
11062
|
</dl>
|
|
10914
11063
|
</details>
|
|
10915
11064
|
|
|
10916
|
-
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">getShippingOptions</a>({ ...params }) -> FiveOneEat.
|
|
10917
|
-
<dl>
|
|
10918
|
-
<dd>
|
|
10919
|
-
|
|
10920
|
-
#### 📝 Description
|
|
10921
|
-
|
|
10922
|
-
<dl>
|
|
10923
|
-
<dd>
|
|
10924
|
-
|
|
11065
|
+
<details><summary><code>client.customer.cart.<a href="/src/api/resources/customer/resources/cart/client/Client.ts">getShippingOptions</a>({ ...params }) -> FiveOneEat.GetShippingOptionsCartResponse</code></summary>
|
|
10925
11066
|
<dl>
|
|
10926
11067
|
<dd>
|
|
10927
11068
|
|
|
10928
|
-
Returns flat/free rates and live carrier rates (if enabled) for the given address.
|
|
10929
|
-
Free-shipping thresholds are applied automatically — qualifying rates show as $0.
|
|
10930
|
-
Cache live rates for 10 minutes per address/cart combination.
|
|
10931
|
-
Pass `shipping_rate_id` for flat/free options, or `provider_rate_id` for live rates.
|
|
10932
|
-
</dd>
|
|
10933
|
-
</dl>
|
|
10934
|
-
</dd>
|
|
10935
|
-
</dl>
|
|
10936
|
-
|
|
10937
11069
|
#### 🔌 Usage
|
|
10938
11070
|
|
|
10939
11071
|
<dl>
|
|
@@ -10944,8 +11076,8 @@ Pass `shipping_rate_id` for flat/free options, or `provider_rate_id` for live ra
|
|
|
10944
11076
|
|
|
10945
11077
|
```typescript
|
|
10946
11078
|
await client.customer.cart.getShippingOptions({
|
|
10947
|
-
business: "
|
|
10948
|
-
|
|
11079
|
+
business: "business",
|
|
11080
|
+
address: {
|
|
10949
11081
|
line1: "line1",
|
|
10950
11082
|
city: "city",
|
|
10951
11083
|
state: "state",
|
|
@@ -10967,7 +11099,7 @@ await client.customer.cart.getShippingOptions({
|
|
|
10967
11099
|
<dl>
|
|
10968
11100
|
<dd>
|
|
10969
11101
|
|
|
10970
|
-
**request:** `FiveOneEat.customer.
|
|
11102
|
+
**request:** `FiveOneEat.customer.GetShippingOptionsCartRequest`
|
|
10971
11103
|
|
|
10972
11104
|
</dd>
|
|
10973
11105
|
</dl>
|
|
@@ -10991,22 +11123,6 @@ await client.customer.cart.getShippingOptions({
|
|
|
10991
11123
|
<dl>
|
|
10992
11124
|
<dd>
|
|
10993
11125
|
|
|
10994
|
-
#### 📝 Description
|
|
10995
|
-
|
|
10996
|
-
<dl>
|
|
10997
|
-
<dd>
|
|
10998
|
-
|
|
10999
|
-
<dl>
|
|
11000
|
-
<dd>
|
|
11001
|
-
|
|
11002
|
-
Pass either `shipping_rate_id` (for flat/free rates) or `provider_rate_id`
|
|
11003
|
-
(for live carrier rates). Never both. Amounts are resolved server-side —
|
|
11004
|
-
the client never submits a price.
|
|
11005
|
-
</dd>
|
|
11006
|
-
</dl>
|
|
11007
|
-
</dd>
|
|
11008
|
-
</dl>
|
|
11009
|
-
|
|
11010
11126
|
#### 🔌 Usage
|
|
11011
11127
|
|
|
11012
11128
|
<dl>
|
|
@@ -11017,7 +11133,9 @@ the client never submits a price.
|
|
|
11017
11133
|
|
|
11018
11134
|
```typescript
|
|
11019
11135
|
await client.customer.cart.selectShippingOption({
|
|
11020
|
-
business: "
|
|
11136
|
+
business: "business",
|
|
11137
|
+
provider_rate_id: "provider_rate_id",
|
|
11138
|
+
amount_cents: 1
|
|
11021
11139
|
});
|
|
11022
11140
|
|
|
11023
11141
|
```
|
|
@@ -11034,7 +11152,7 @@ await client.customer.cart.selectShippingOption({
|
|
|
11034
11152
|
<dl>
|
|
11035
11153
|
<dd>
|
|
11036
11154
|
|
|
11037
|
-
**request:** `FiveOneEat.customer.
|
|
11155
|
+
**request:** `FiveOneEat.customer.SelectShippingOptionCartRequest`
|
|
11038
11156
|
|
|
11039
11157
|
</dd>
|
|
11040
11158
|
</dl>
|
|
@@ -12174,7 +12292,7 @@ await client.customer.pushNotifications.unregister({
|
|
|
12174
12292
|
|
|
12175
12293
|
```typescript
|
|
12176
12294
|
await client.customer.shop.listProducts({
|
|
12177
|
-
business: "
|
|
12295
|
+
business: "business"
|
|
12178
12296
|
});
|
|
12179
12297
|
|
|
12180
12298
|
```
|
|
@@ -12225,7 +12343,7 @@ await client.customer.shop.listProducts({
|
|
|
12225
12343
|
|
|
12226
12344
|
```typescript
|
|
12227
12345
|
await client.customer.shop.getProduct({
|
|
12228
|
-
business: "
|
|
12346
|
+
business: "business",
|
|
12229
12347
|
product: "product"
|
|
12230
12348
|
});
|
|
12231
12349
|
|
|
@@ -12277,7 +12395,7 @@ await client.customer.shop.getProduct({
|
|
|
12277
12395
|
|
|
12278
12396
|
```typescript
|
|
12279
12397
|
await client.customer.shop.listCategories({
|
|
12280
|
-
business: "
|
|
12398
|
+
business: "business"
|
|
12281
12399
|
});
|
|
12282
12400
|
|
|
12283
12401
|
```
|
|
@@ -12381,25 +12499,10 @@ await client.customer.stands.scan({
|
|
|
12381
12499
|
</dl>
|
|
12382
12500
|
</details>
|
|
12383
12501
|
|
|
12384
|
-
<details><summary><code>client.customer.stands.<a href="/src/api/resources/customer/resources/stands/client/Client.ts">
|
|
12385
|
-
<dl>
|
|
12386
|
-
<dd>
|
|
12387
|
-
|
|
12388
|
-
#### 📝 Description
|
|
12389
|
-
|
|
12390
|
-
<dl>
|
|
12391
|
-
<dd>
|
|
12392
|
-
|
|
12502
|
+
<details><summary><code>client.customer.stands.<a href="/src/api/resources/customer/resources/stands/client/Client.ts">checkout</a>({ ...params }) -> void</code></summary>
|
|
12393
12503
|
<dl>
|
|
12394
12504
|
<dd>
|
|
12395
12505
|
|
|
12396
|
-
Returns client_secret, price breakdown, and tax calculation for use with Stripe SDK.
|
|
12397
|
-
Shipping is always zero for stand orders.
|
|
12398
|
-
</dd>
|
|
12399
|
-
</dl>
|
|
12400
|
-
</dd>
|
|
12401
|
-
</dl>
|
|
12402
|
-
|
|
12403
12506
|
#### 🔌 Usage
|
|
12404
12507
|
|
|
12405
12508
|
<dl>
|
|
@@ -12409,7 +12512,7 @@ Shipping is always zero for stand orders.
|
|
|
12409
12512
|
<dd>
|
|
12410
12513
|
|
|
12411
12514
|
```typescript
|
|
12412
|
-
await client.customer.stands.
|
|
12515
|
+
await client.customer.stands.checkout({
|
|
12413
12516
|
stand: "stand"
|
|
12414
12517
|
});
|
|
12415
12518
|
|
|
@@ -12427,7 +12530,7 @@ await client.customer.stands.createPaymentIntent({
|
|
|
12427
12530
|
<dl>
|
|
12428
12531
|
<dd>
|
|
12429
12532
|
|
|
12430
|
-
**request:** `FiveOneEat.customer.
|
|
12533
|
+
**request:** `FiveOneEat.customer.CheckoutStandsRequest`
|
|
12431
12534
|
|
|
12432
12535
|
</dd>
|
|
12433
12536
|
</dl>
|
|
@@ -12447,7 +12550,7 @@ await client.customer.stands.createPaymentIntent({
|
|
|
12447
12550
|
</dl>
|
|
12448
12551
|
</details>
|
|
12449
12552
|
|
|
12450
|
-
<details><summary><code>client.customer.stands.<a href="/src/api/resources/customer/resources/stands/client/Client.ts">
|
|
12553
|
+
<details><summary><code>client.customer.stands.<a href="/src/api/resources/customer/resources/stands/client/Client.ts">createPaymentIntent</a>({ ...params }) -> void</code></summary>
|
|
12451
12554
|
<dl>
|
|
12452
12555
|
<dd>
|
|
12453
12556
|
|
|
@@ -12460,9 +12563,8 @@ await client.customer.stands.createPaymentIntent({
|
|
|
12460
12563
|
<dd>
|
|
12461
12564
|
|
|
12462
12565
|
```typescript
|
|
12463
|
-
await client.customer.stands.
|
|
12464
|
-
stand: "stand"
|
|
12465
|
-
payment_intent_id: "payment_intent_id"
|
|
12566
|
+
await client.customer.stands.createPaymentIntent({
|
|
12567
|
+
stand: "stand"
|
|
12466
12568
|
});
|
|
12467
12569
|
|
|
12468
12570
|
```
|
|
@@ -12479,7 +12581,7 @@ await client.customer.stands.checkout({
|
|
|
12479
12581
|
<dl>
|
|
12480
12582
|
<dd>
|
|
12481
12583
|
|
|
12482
|
-
**request:** `FiveOneEat.customer.
|
|
12584
|
+
**request:** `FiveOneEat.customer.CreatePaymentIntentStandsRequest`
|
|
12483
12585
|
|
|
12484
12586
|
</dd>
|
|
12485
12587
|
</dl>
|
|
@@ -13583,7 +13685,7 @@ await client.customer.events.ticketing.createPaymentIntent({
|
|
|
13583
13685
|
<dl>
|
|
13584
13686
|
<dd>
|
|
13585
13687
|
|
|
13586
|
-
**request:** `FiveOneEat.customer.events.
|
|
13688
|
+
**request:** `FiveOneEat.customer.events.CreatePaymentIntentRequest`
|
|
13587
13689
|
|
|
13588
13690
|
</dd>
|
|
13589
13691
|
</dl>
|