@51eat/sdk 0.0.35 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/errors/InternalServerError.d.ts +6 -0
- package/dist/cjs/api/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +6 -0
- package/dist/cjs/api/errors/ServiceUnavailableError.js +54 -0
- package/dist/cjs/api/errors/index.d.ts +2 -0
- package/dist/cjs/api/errors/index.js +2 -0
- package/dist/cjs/api/resources/business/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/business/client/Client.js +39 -14
- package/dist/cjs/api/resources/business/resources/discounts/client/Client.d.ts +87 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/Client.js +361 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/DeleteDiscountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/GetDiscountsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.ts +39 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.js +18 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.ts +38 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.js +18 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/discounts/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/business/resources/discounts/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/discounts/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/discounts/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/discounts/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/CreateDiscountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/GetDiscountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/GetDiscountsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/ListDiscountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/ListDiscountsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/discounts/types/index.js +21 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.d.ts +43 -9
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/Client.js +134 -30
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.d.ts +13 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/index.js +1 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/types/index.js +20 -0
- package/dist/cjs/api/resources/business/resources/events/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/events/resources/index.js +1 -0
- package/dist/cjs/api/resources/business/resources/index.d.ts +15 -0
- package/dist/cjs/api/resources/business/resources/index.js +16 -1
- package/dist/cjs/api/resources/business/resources/productCategories/client/Client.d.ts +68 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/Client.js +297 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.ts +14 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/productCategories/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/productCategories/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/productCategories/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/productCategories/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productCategories/types/index.js +20 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.d.ts +109 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/Client.js +429 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.d.ts +12 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.ts +16 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/productOrders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/productOrders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/productOrders/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/productOrders/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/productOrders/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/business/resources/productOrders/types/index.js +22 -0
- package/dist/cjs/api/resources/business/resources/products/client/Client.d.ts +89 -0
- package/dist/cjs/api/resources/business/resources/products/client/Client.js +365 -0
- package/dist/cjs/api/resources/business/resources/products/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/products/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/DeleteProductsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/GetProductsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/GetProductsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.d.ts +65 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/StoreProductRequest.js +30 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.ts +65 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/UpdateProductRequest.js +30 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/business/resources/products/exports.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/products/exports.js +22 -0
- package/dist/cjs/api/resources/business/resources/products/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/products/index.js +19 -0
- package/dist/cjs/api/resources/business/resources/products/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/index.js +42 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.d.ts +62 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/Client.js +258 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.d.ts +34 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.js +13 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.d.ts +32 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.js +13 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/business/resources/products/resources/variants/types/index.js +19 -0
- package/dist/cjs/api/resources/business/resources/products/types/CreateProductsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/types/CreateProductsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/types/DeleteProductsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/products/types/DeleteProductsResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/products/types/GetProductsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/types/GetProductsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/types/ListProductsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/types/ListProductsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/types/UpdateProductsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/products/types/UpdateProductsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/products/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/products/types/index.js +21 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/Client.d.ts +87 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/Client.js +363 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/index.js +17 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.ts +22 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.ts +22 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/exports.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/exports.js +21 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/index.d.ts +2 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/index.js +18 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.d.ts +9 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.js +10 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.d.ts +4 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.js +3 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/business/resources/temporaryLocations/types/index.js +21 -0
- package/dist/cjs/api/resources/customer/client/Client.d.ts +9 -0
- package/dist/cjs/api/resources/customer/client/Client.js +29 -14
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/Client.js +54 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/businesses/types/index.js +1 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.d.ts +127 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/Client.js +477 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/AddToCartRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.ts +47 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CheckoutRequest.js +15 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.ts +45 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.js +15 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.ts +12 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/customer/resources/cart/client/requests/index.js +7 -0
- package/dist/cjs/api/resources/customer/resources/cart/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/cart/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/cart/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/cart/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/AddItemCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/AddItemCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/CheckoutCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/ClearCartResponse.d.ts +9 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/ClearCartResponse.js +10 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.ts +18 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/GetCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/GetCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/RemoveItemCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/UpdateItemCartResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/customer/resources/cart/types/index.js +23 -0
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/Client.js +1 -1
- package/dist/{esm/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.mts → cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/customer/resources/index.d.ts +9 -0
- package/dist/cjs/api/resources/customer/resources/index.js +10 -1
- package/dist/cjs/api/resources/customer/resources/productOrders/client/Client.d.ts +37 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/Client.js +162 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/productOrders/types/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/Client.js +225 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/index.js +17 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.ts +13 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.ts +10 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts +14 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/customer/resources/shop/exports.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/shop/exports.js +21 -0
- package/dist/cjs/api/resources/customer/resources/shop/index.d.ts +2 -0
- package/dist/cjs/api/resources/customer/resources/shop/index.js +18 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/GetProductShopResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.ts +4 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/ListProductsShopResponse.js +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/customer/resources/shop/types/index.js +19 -0
- package/dist/cjs/api/types/BusinessDiscount.d.ts +19 -0
- package/dist/cjs/api/types/BusinessDiscount.js +3 -0
- package/dist/cjs/api/types/BusinessEventCheckIn.d.ts +18 -0
- package/dist/cjs/api/types/BusinessEventCheckIn.js +3 -0
- package/dist/cjs/api/types/BusinessEventCheckInStats.d.ts +1 -0
- package/dist/cjs/api/types/BusinessEventCheckInStats.js +3 -0
- package/dist/cjs/api/types/BusinessEventCheckInTicket.d.ts +20 -0
- package/dist/cjs/api/types/BusinessEventCheckInTicket.js +3 -0
- package/dist/cjs/api/types/BusinessProduct.d.ts +32 -0
- package/dist/cjs/api/types/BusinessProduct.js +3 -0
- package/dist/cjs/api/types/BusinessProductCategory.d.ts +12 -0
- package/dist/cjs/api/types/BusinessProductCategory.js +3 -0
- package/dist/cjs/api/types/BusinessProductOrder.d.ts +48 -0
- package/dist/cjs/api/types/BusinessProductOrder.js +3 -0
- package/dist/cjs/api/types/BusinessProductOrderItem.d.ts +24 -0
- package/dist/cjs/api/types/BusinessProductOrderItem.js +3 -0
- package/dist/cjs/api/types/BusinessProductVariant.d.ts +20 -0
- package/dist/cjs/api/types/BusinessProductVariant.js +3 -0
- package/dist/cjs/api/types/BusinessTemporaryLocation.d.ts +18 -0
- package/dist/cjs/api/types/BusinessTemporaryLocation.js +3 -0
- package/dist/cjs/api/types/CustomerCart.d.ts +9 -0
- package/dist/cjs/api/types/CustomerCart.js +3 -0
- package/dist/cjs/api/types/CustomerCartItem.d.ts +24 -0
- package/dist/cjs/api/types/CustomerCartItem.js +3 -0
- package/dist/cjs/api/types/CustomerProductOrder.d.ts +29 -0
- package/dist/cjs/api/types/CustomerProductOrder.js +3 -0
- package/dist/cjs/api/types/CustomerProductOrderItem.d.ts +23 -0
- package/dist/cjs/api/types/CustomerProductOrderItem.js +3 -0
- package/dist/cjs/api/types/CustomerShopProduct.d.ts +21 -0
- package/dist/cjs/api/types/CustomerShopProduct.js +3 -0
- package/dist/cjs/api/types/CustomerShopProductCategory.d.ts +8 -0
- package/dist/cjs/api/types/CustomerShopProductCategory.js +3 -0
- package/dist/cjs/api/types/CustomerShopProductVariant.d.ts +13 -0
- package/dist/cjs/api/types/CustomerShopProductVariant.js +3 -0
- package/dist/cjs/api/types/ExploreResponse.d.ts +1 -0
- package/dist/cjs/api/types/ExploreTemporaryLocation.d.ts +26 -0
- package/dist/cjs/api/types/ExploreTemporaryLocation.js +3 -0
- package/dist/cjs/api/types/InternalServerErrorBody.d.ts +3 -0
- package/dist/cjs/api/types/InternalServerErrorBody.js +3 -0
- package/dist/cjs/api/types/ServiceUnavailableErrorBody.d.ts +3 -0
- package/dist/cjs/api/types/ServiceUnavailableErrorBody.js +3 -0
- package/dist/cjs/api/types/index.d.ts +20 -0
- package/dist/cjs/api/types/index.js +20 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/errors/InternalServerError.d.mts +6 -0
- package/dist/esm/api/errors/InternalServerError.mjs +17 -0
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +6 -0
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +17 -0
- package/dist/esm/api/errors/index.d.mts +2 -0
- package/dist/esm/api/errors/index.mjs +2 -0
- package/dist/esm/api/resources/business/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/business/client/Client.mjs +25 -0
- package/dist/esm/api/resources/business/resources/discounts/client/Client.d.mts +87 -0
- package/dist/esm/api/resources/business/resources/discounts/client/Client.mjs +324 -0
- package/dist/esm/api/resources/business/resources/discounts/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/discounts/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/DeleteDiscountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/GetDiscountsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.d.mts +39 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/StoreDiscountRequest.mjs +15 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.d.mts +38 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/UpdateDiscountRequest.mjs +15 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/discounts/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/discounts/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/discounts/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/discounts/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/types/CreateDiscountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/discounts/types/DeleteDiscountsResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/discounts/types/GetDiscountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/discounts/types/GetDiscountsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/types/ListDiscountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/discounts/types/ListDiscountsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/discounts/types/UpdateDiscountsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/discounts/types/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/discounts/types/index.mjs +5 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.d.mts +43 -9
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/Client.mjs +134 -30
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupTicketRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/RecentCheckInRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.d.mts +13 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanTicketRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/StatsCheckInRequest.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/LookupCheckInResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/RecentCheckInResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/ScanCheckInResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/StatsCheckInResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/types/index.mjs +4 -0
- package/dist/esm/api/resources/business/resources/events/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/events/resources/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/index.d.mts +15 -0
- package/dist/esm/api/resources/business/resources/index.mjs +15 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/Client.d.mts +68 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/Client.mjs +260 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/DeleteProductCategoriesRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/StoreProductCategoryRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.d.mts +14 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/UpdateProductCategoryRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/productCategories/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/productCategories/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/productCategories/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/CreateProductCategoriesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/DeleteProductCategoriesResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/ListProductCategoriesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/UpdateProductCategoriesResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productCategories/types/index.mjs +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.d.mts +109 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/Client.mjs +392 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/FulfillProductOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/GetProductOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/MarkPickedUpProductOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.d.mts +12 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/RefundOrderRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.d.mts +16 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/StoreTrackingRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/productOrders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/productOrders/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/productOrders/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/AddTrackingProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/FulfillProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/GetProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/ListProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/MarkPickedUpProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/RefundProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/index.d.mts +6 -0
- package/dist/esm/api/resources/business/resources/productOrders/types/index.mjs +6 -0
- package/dist/esm/api/resources/business/resources/products/client/Client.d.mts +89 -0
- package/dist/esm/api/resources/business/resources/products/client/Client.mjs +328 -0
- package/dist/esm/api/resources/business/resources/products/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/products/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/DeleteProductsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/DeleteProductsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/GetProductsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/GetProductsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.d.mts +65 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/StoreProductRequest.mjs +27 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.d.mts +65 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/UpdateProductRequest.mjs +27 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/exports.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/products/exports.mjs +4 -0
- package/dist/esm/api/resources/business/resources/products/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/products/index.mjs +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/index.mjs +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.d.mts +62 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/Client.mjs +221 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/DeleteVariantsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.d.mts +34 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/StoreProductVariantRequest.mjs +10 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.d.mts +32 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/UpdateProductVariantRequest.mjs +10 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/CreateVariantsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/DeleteVariantsResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/UpdateVariantsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.d.mts +3 -0
- package/dist/esm/api/resources/business/resources/products/resources/variants/types/index.mjs +3 -0
- package/dist/esm/api/resources/business/resources/products/types/CreateProductsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/types/CreateProductsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/types/DeleteProductsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/products/types/DeleteProductsResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/products/types/GetProductsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/types/GetProductsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/types/ListProductsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/types/ListProductsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/types/UpdateProductsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/products/types/UpdateProductsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/products/types/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/products/types/index.mjs +5 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/Client.d.mts +87 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/Client.mjs +326 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/DeleteTemporaryLocationsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.d.mts +10 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/GetTemporaryLocationsRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.d.mts +22 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/StoreTemporaryLocationRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.d.mts +22 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/UpdateTemporaryLocationRequest.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/exports.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/exports.mjs +3 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/index.d.mts +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/index.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/CreateTemporaryLocationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.d.mts +9 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/DeleteTemporaryLocationsResponse.mjs +7 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/GetTemporaryLocationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/ListTemporaryLocationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.d.mts +4 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/UpdateTemporaryLocationsResponse.mjs +2 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/index.d.mts +5 -0
- package/dist/esm/api/resources/business/resources/temporaryLocations/types/index.mjs +5 -0
- package/dist/esm/api/resources/customer/client/Client.d.mts +9 -0
- package/dist/esm/api/resources/customer/client/Client.mjs +15 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/Client.mjs +54 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/ListTemporaryLocationsBusinessesRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/ListTemporaryLocationsBusinessesResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/businesses/types/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/cart/client/Client.d.mts +127 -0
- package/dist/esm/api/resources/customer/resources/cart/client/Client.mjs +440 -0
- package/dist/esm/api/resources/customer/resources/cart/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/cart/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/AddToCartRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/AddToCartRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.d.mts +47 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CheckoutRequest.mjs +12 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.d.mts +45 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/CreatePaymentIntentRequest.mjs +12 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/RemoveItemCartRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.d.mts +12 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/UpdateCartItemRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/customer/resources/cart/client/requests/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/cart/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/cart/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/cart/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/AddItemCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/cart/types/AddItemCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/CheckoutCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/cart/types/CheckoutCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/ClearCartResponse.d.mts +9 -0
- package/dist/esm/api/resources/customer/resources/cart/types/ClearCartResponse.mjs +7 -0
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.d.mts +18 -0
- package/dist/esm/api/resources/customer/resources/cart/types/CreatePaymentIntentCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/GetCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/cart/types/GetCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/RemoveItemCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/cart/types/RemoveItemCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/UpdateItemCartResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/cart/types/UpdateItemCartResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/cart/types/index.d.mts +7 -0
- package/dist/esm/api/resources/customer/resources/cart/types/index.mjs +7 -0
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/Client.mjs +1 -1
- package/dist/{cjs/api/resources/customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.d.ts → esm/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.d.mts} +1 -1
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/AppHttpRequestsApiV1CustomerEventsCreatePaymentIntentRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/events/resources/ticketing/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/customer/resources/index.d.mts +9 -0
- package/dist/esm/api/resources/customer/resources/index.mjs +9 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/Client.d.mts +37 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/Client.mjs +125 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/requests/GetProductOrdersRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/productOrders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/productOrders/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/productOrders/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/GetProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/ListProductOrdersResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/productOrders/types/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/customer/resources/shop/client/Client.mjs +188 -0
- package/dist/esm/api/resources/customer/resources/shop/client/index.d.mts +1 -0
- package/dist/esm/api/resources/customer/resources/shop/client/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.d.mts +13 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/GetProductShopRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.d.mts +10 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListCategoriesShopRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.mts +14 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/shop/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/customer/resources/shop/exports.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/shop/exports.mjs +3 -0
- package/dist/esm/api/resources/customer/resources/shop/index.d.mts +2 -0
- package/dist/esm/api/resources/customer/resources/shop/index.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/GetProductShopResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListCategoriesShopResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.d.mts +4 -0
- package/dist/esm/api/resources/customer/resources/shop/types/ListProductsShopResponse.mjs +2 -0
- package/dist/esm/api/resources/customer/resources/shop/types/index.d.mts +3 -0
- package/dist/esm/api/resources/customer/resources/shop/types/index.mjs +3 -0
- package/dist/esm/api/types/BusinessDiscount.d.mts +19 -0
- package/dist/esm/api/types/BusinessDiscount.mjs +2 -0
- package/dist/esm/api/types/BusinessEventCheckIn.d.mts +18 -0
- package/dist/esm/api/types/BusinessEventCheckIn.mjs +2 -0
- package/dist/esm/api/types/BusinessEventCheckInStats.d.mts +1 -0
- package/dist/esm/api/types/BusinessEventCheckInStats.mjs +2 -0
- package/dist/esm/api/types/BusinessEventCheckInTicket.d.mts +20 -0
- package/dist/esm/api/types/BusinessEventCheckInTicket.mjs +2 -0
- package/dist/esm/api/types/BusinessProduct.d.mts +32 -0
- package/dist/esm/api/types/BusinessProduct.mjs +2 -0
- package/dist/esm/api/types/BusinessProductCategory.d.mts +12 -0
- package/dist/esm/api/types/BusinessProductCategory.mjs +2 -0
- package/dist/esm/api/types/BusinessProductOrder.d.mts +48 -0
- package/dist/esm/api/types/BusinessProductOrder.mjs +2 -0
- package/dist/esm/api/types/BusinessProductOrderItem.d.mts +24 -0
- package/dist/esm/api/types/BusinessProductOrderItem.mjs +2 -0
- package/dist/esm/api/types/BusinessProductVariant.d.mts +20 -0
- package/dist/esm/api/types/BusinessProductVariant.mjs +2 -0
- package/dist/esm/api/types/BusinessTemporaryLocation.d.mts +18 -0
- package/dist/esm/api/types/BusinessTemporaryLocation.mjs +2 -0
- package/dist/esm/api/types/CustomerCart.d.mts +9 -0
- package/dist/esm/api/types/CustomerCart.mjs +2 -0
- package/dist/esm/api/types/CustomerCartItem.d.mts +24 -0
- package/dist/esm/api/types/CustomerCartItem.mjs +2 -0
- package/dist/esm/api/types/CustomerProductOrder.d.mts +29 -0
- package/dist/esm/api/types/CustomerProductOrder.mjs +2 -0
- package/dist/esm/api/types/CustomerProductOrderItem.d.mts +23 -0
- package/dist/esm/api/types/CustomerProductOrderItem.mjs +2 -0
- package/dist/esm/api/types/CustomerShopProduct.d.mts +21 -0
- package/dist/esm/api/types/CustomerShopProduct.mjs +2 -0
- package/dist/esm/api/types/CustomerShopProductCategory.d.mts +8 -0
- package/dist/esm/api/types/CustomerShopProductCategory.mjs +2 -0
- package/dist/esm/api/types/CustomerShopProductVariant.d.mts +13 -0
- package/dist/esm/api/types/CustomerShopProductVariant.mjs +2 -0
- package/dist/esm/api/types/ExploreResponse.d.mts +1 -0
- package/dist/esm/api/types/ExploreTemporaryLocation.d.mts +26 -0
- package/dist/esm/api/types/ExploreTemporaryLocation.mjs +2 -0
- package/dist/esm/api/types/InternalServerErrorBody.d.mts +3 -0
- package/dist/esm/api/types/InternalServerErrorBody.mjs +2 -0
- package/dist/esm/api/types/ServiceUnavailableErrorBody.d.mts +3 -0
- package/dist/esm/api/types/ServiceUnavailableErrorBody.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +20 -0
- package/dist/esm/api/types/index.mjs +20 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +100 -1
- package/reference.md +2876 -678
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.d.ts +0 -9
- package/dist/cjs/api/resources/business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.d.ts +0 -9
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/LookupCheckInRequest.d.mts +0 -9
- package/dist/esm/api/resources/business/resources/events/resources/checkIn/client/requests/ScanCheckInRequest.d.mts +0 -9
- /package/dist/cjs/api/resources/business/resources/{events/resources/checkIn/client/requests/LookupCheckInRequest.js → discounts/client/requests/DeleteDiscountsRequest.js} +0 -0
- /package/dist/cjs/api/resources/business/resources/{events/resources/checkIn/client/requests/ScanCheckInRequest.js → discounts/client/requests/GetDiscountsRequest.js} +0 -0
- /package/dist/cjs/api/resources/{customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.js → business/resources/discounts/types/CreateDiscountsResponse.js} +0 -0
- /package/dist/esm/api/resources/business/resources/{events/resources/checkIn/client/requests/LookupCheckInRequest.mjs → discounts/client/requests/DeleteDiscountsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/business/resources/{events/resources/checkIn/client/requests/ScanCheckInRequest.mjs → discounts/client/requests/GetDiscountsRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{customer/resources/events/resources/ticketing/client/requests/CreatePaymentIntentRequest.mjs → business/resources/discounts/types/CreateDiscountsResponse.mjs} +0 -0
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@51eat/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.0.
|
|
47
|
-
"User-Agent": "@51eat/sdk/0.0.
|
|
46
|
+
"X-Fern-SDK-Version": "0.0.37",
|
|
47
|
+
"User-Agent": "@51eat/sdk/0.0.37",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
import type * as FiveOneEat from "../index.js";
|
|
4
|
+
export declare class InternalServerError extends errors.FiveOneEatError {
|
|
5
|
+
constructor(body: FiveOneEat.InternalServerErrorBody, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.InternalServerError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
39
|
+
class InternalServerError extends errors.FiveOneEatError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "InternalServerError",
|
|
43
|
+
statusCode: 500,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = this.constructor.name;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.InternalServerError = InternalServerError;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../core/index.js";
|
|
2
|
+
import * as errors from "../../errors/index.js";
|
|
3
|
+
import type * as FiveOneEat from "../index.js";
|
|
4
|
+
export declare class ServiceUnavailableError extends errors.FiveOneEatError {
|
|
5
|
+
constructor(body: FiveOneEat.ServiceUnavailableErrorBody, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ServiceUnavailableError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
39
|
+
class ServiceUnavailableError extends errors.FiveOneEatError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "ServiceUnavailableError",
|
|
43
|
+
statusCode: 503,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
48
|
+
if (Error.captureStackTrace) {
|
|
49
|
+
Error.captureStackTrace(this, this.constructor);
|
|
50
|
+
}
|
|
51
|
+
this.name = this.constructor.name;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.ServiceUnavailableError = ServiceUnavailableError;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./ConflictError.js";
|
|
2
2
|
export * from "./ForbiddenError.js";
|
|
3
|
+
export * from "./InternalServerError.js";
|
|
3
4
|
export * from "./NotFoundError.js";
|
|
5
|
+
export * from "./ServiceUnavailableError.js";
|
|
4
6
|
export * from "./UnauthorizedError.js";
|
|
5
7
|
export * from "./UnprocessableEntityError.js";
|
|
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ConflictError.js"), exports);
|
|
18
18
|
__exportStar(require("./ForbiddenError.js"), exports);
|
|
19
|
+
__exportStar(require("./InternalServerError.js"), exports);
|
|
19
20
|
__exportStar(require("./NotFoundError.js"), exports);
|
|
21
|
+
__exportStar(require("./ServiceUnavailableError.js"), exports);
|
|
20
22
|
__exportStar(require("./UnauthorizedError.js"), exports);
|
|
21
23
|
__exportStar(require("./UnprocessableEntityError.js"), exports);
|
|
@@ -7,13 +7,18 @@ import { BusinessesClient } from "../resources/businesses/client/Client.js";
|
|
|
7
7
|
import { CategoriesClient } from "../resources/categories/client/Client.js";
|
|
8
8
|
import { CertificationsClient } from "../resources/certifications/client/Client.js";
|
|
9
9
|
import { CuisinesClient } from "../resources/cuisines/client/Client.js";
|
|
10
|
+
import { DiscountsClient } from "../resources/discounts/client/Client.js";
|
|
10
11
|
import { EventsClient } from "../resources/events/client/Client.js";
|
|
11
12
|
import { GalleryClient } from "../resources/gallery/client/Client.js";
|
|
12
13
|
import { MenusClient } from "../resources/menus/client/Client.js";
|
|
13
14
|
import { MessagingClient } from "../resources/messaging/client/Client.js";
|
|
15
|
+
import { ProductCategoriesClient } from "../resources/productCategories/client/Client.js";
|
|
16
|
+
import { ProductOrdersClient } from "../resources/productOrders/client/Client.js";
|
|
17
|
+
import { ProductsClient } from "../resources/products/client/Client.js";
|
|
14
18
|
import { ProfileClient } from "../resources/profile/client/Client.js";
|
|
15
19
|
import { PushNotificationsClient } from "../resources/pushNotifications/client/Client.js";
|
|
16
20
|
import { StripeConnectClient } from "../resources/stripeConnect/client/Client.js";
|
|
21
|
+
import { TemporaryLocationsClient } from "../resources/temporaryLocations/client/Client.js";
|
|
17
22
|
export declare namespace BusinessClient {
|
|
18
23
|
type Options = BaseClientOptions;
|
|
19
24
|
}
|
|
@@ -22,10 +27,14 @@ export declare class BusinessClient {
|
|
|
22
27
|
protected _auth: AuthClient | undefined;
|
|
23
28
|
protected _bulletins: BulletinsClient | undefined;
|
|
24
29
|
protected _businesses: BusinessesClient | undefined;
|
|
30
|
+
protected _discounts: DiscountsClient | undefined;
|
|
25
31
|
protected _events: EventsClient | undefined;
|
|
26
32
|
protected _gallery: GalleryClient | undefined;
|
|
27
33
|
protected _menus: MenusClient | undefined;
|
|
28
34
|
protected _messaging: MessagingClient | undefined;
|
|
35
|
+
protected _productOrders: ProductOrdersClient | undefined;
|
|
36
|
+
protected _products: ProductsClient | undefined;
|
|
37
|
+
protected _productCategories: ProductCategoriesClient | undefined;
|
|
29
38
|
protected _profile: ProfileClient | undefined;
|
|
30
39
|
protected _pushNotifications: PushNotificationsClient | undefined;
|
|
31
40
|
protected _stripeConnect: StripeConnectClient | undefined;
|
|
@@ -33,14 +42,19 @@ export declare class BusinessClient {
|
|
|
33
42
|
protected _certifications: CertificationsClient | undefined;
|
|
34
43
|
protected _categories: CategoriesClient | undefined;
|
|
35
44
|
protected _allergens: AllergensClient | undefined;
|
|
45
|
+
protected _temporaryLocations: TemporaryLocationsClient | undefined;
|
|
36
46
|
constructor(options?: BusinessClient.Options);
|
|
37
47
|
get auth(): AuthClient;
|
|
38
48
|
get bulletins(): BulletinsClient;
|
|
39
49
|
get businesses(): BusinessesClient;
|
|
50
|
+
get discounts(): DiscountsClient;
|
|
40
51
|
get events(): EventsClient;
|
|
41
52
|
get gallery(): GalleryClient;
|
|
42
53
|
get menus(): MenusClient;
|
|
43
54
|
get messaging(): MessagingClient;
|
|
55
|
+
get productOrders(): ProductOrdersClient;
|
|
56
|
+
get products(): ProductsClient;
|
|
57
|
+
get productCategories(): ProductCategoriesClient;
|
|
44
58
|
get profile(): ProfileClient;
|
|
45
59
|
get pushNotifications(): PushNotificationsClient;
|
|
46
60
|
get stripeConnect(): StripeConnectClient;
|
|
@@ -48,4 +62,5 @@ export declare class BusinessClient {
|
|
|
48
62
|
get certifications(): CertificationsClient;
|
|
49
63
|
get categories(): CategoriesClient;
|
|
50
64
|
get allergens(): AllergensClient;
|
|
65
|
+
get temporaryLocations(): TemporaryLocationsClient;
|
|
51
66
|
}
|
|
@@ -10,13 +10,18 @@ const Client_js_4 = require("../resources/businesses/client/Client.js");
|
|
|
10
10
|
const Client_js_5 = require("../resources/categories/client/Client.js");
|
|
11
11
|
const Client_js_6 = require("../resources/certifications/client/Client.js");
|
|
12
12
|
const Client_js_7 = require("../resources/cuisines/client/Client.js");
|
|
13
|
-
const Client_js_8 = require("../resources/
|
|
14
|
-
const Client_js_9 = require("../resources/
|
|
15
|
-
const Client_js_10 = require("../resources/
|
|
16
|
-
const Client_js_11 = require("../resources/
|
|
17
|
-
const Client_js_12 = require("../resources/
|
|
18
|
-
const Client_js_13 = require("../resources/
|
|
19
|
-
const Client_js_14 = require("../resources/
|
|
13
|
+
const Client_js_8 = require("../resources/discounts/client/Client.js");
|
|
14
|
+
const Client_js_9 = require("../resources/events/client/Client.js");
|
|
15
|
+
const Client_js_10 = require("../resources/gallery/client/Client.js");
|
|
16
|
+
const Client_js_11 = require("../resources/menus/client/Client.js");
|
|
17
|
+
const Client_js_12 = require("../resources/messaging/client/Client.js");
|
|
18
|
+
const Client_js_13 = require("../resources/productCategories/client/Client.js");
|
|
19
|
+
const Client_js_14 = require("../resources/productOrders/client/Client.js");
|
|
20
|
+
const Client_js_15 = require("../resources/products/client/Client.js");
|
|
21
|
+
const Client_js_16 = require("../resources/profile/client/Client.js");
|
|
22
|
+
const Client_js_17 = require("../resources/pushNotifications/client/Client.js");
|
|
23
|
+
const Client_js_18 = require("../resources/stripeConnect/client/Client.js");
|
|
24
|
+
const Client_js_19 = require("../resources/temporaryLocations/client/Client.js");
|
|
20
25
|
class BusinessClient {
|
|
21
26
|
constructor(options = {}) {
|
|
22
27
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
@@ -33,33 +38,49 @@ class BusinessClient {
|
|
|
33
38
|
var _a;
|
|
34
39
|
return ((_a = this._businesses) !== null && _a !== void 0 ? _a : (this._businesses = new Client_js_4.BusinessesClient(this._options)));
|
|
35
40
|
}
|
|
41
|
+
get discounts() {
|
|
42
|
+
var _a;
|
|
43
|
+
return ((_a = this._discounts) !== null && _a !== void 0 ? _a : (this._discounts = new Client_js_8.DiscountsClient(this._options)));
|
|
44
|
+
}
|
|
36
45
|
get events() {
|
|
37
46
|
var _a;
|
|
38
|
-
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new
|
|
47
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_js_9.EventsClient(this._options)));
|
|
39
48
|
}
|
|
40
49
|
get gallery() {
|
|
41
50
|
var _a;
|
|
42
|
-
return ((_a = this._gallery) !== null && _a !== void 0 ? _a : (this._gallery = new
|
|
51
|
+
return ((_a = this._gallery) !== null && _a !== void 0 ? _a : (this._gallery = new Client_js_10.GalleryClient(this._options)));
|
|
43
52
|
}
|
|
44
53
|
get menus() {
|
|
45
54
|
var _a;
|
|
46
|
-
return ((_a = this._menus) !== null && _a !== void 0 ? _a : (this._menus = new
|
|
55
|
+
return ((_a = this._menus) !== null && _a !== void 0 ? _a : (this._menus = new Client_js_11.MenusClient(this._options)));
|
|
47
56
|
}
|
|
48
57
|
get messaging() {
|
|
49
58
|
var _a;
|
|
50
|
-
return ((_a = this._messaging) !== null && _a !== void 0 ? _a : (this._messaging = new
|
|
59
|
+
return ((_a = this._messaging) !== null && _a !== void 0 ? _a : (this._messaging = new Client_js_12.MessagingClient(this._options)));
|
|
60
|
+
}
|
|
61
|
+
get productOrders() {
|
|
62
|
+
var _a;
|
|
63
|
+
return ((_a = this._productOrders) !== null && _a !== void 0 ? _a : (this._productOrders = new Client_js_14.ProductOrdersClient(this._options)));
|
|
64
|
+
}
|
|
65
|
+
get products() {
|
|
66
|
+
var _a;
|
|
67
|
+
return ((_a = this._products) !== null && _a !== void 0 ? _a : (this._products = new Client_js_15.ProductsClient(this._options)));
|
|
68
|
+
}
|
|
69
|
+
get productCategories() {
|
|
70
|
+
var _a;
|
|
71
|
+
return ((_a = this._productCategories) !== null && _a !== void 0 ? _a : (this._productCategories = new Client_js_13.ProductCategoriesClient(this._options)));
|
|
51
72
|
}
|
|
52
73
|
get profile() {
|
|
53
74
|
var _a;
|
|
54
|
-
return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new
|
|
75
|
+
return ((_a = this._profile) !== null && _a !== void 0 ? _a : (this._profile = new Client_js_16.ProfileClient(this._options)));
|
|
55
76
|
}
|
|
56
77
|
get pushNotifications() {
|
|
57
78
|
var _a;
|
|
58
|
-
return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new
|
|
79
|
+
return ((_a = this._pushNotifications) !== null && _a !== void 0 ? _a : (this._pushNotifications = new Client_js_17.PushNotificationsClient(this._options)));
|
|
59
80
|
}
|
|
60
81
|
get stripeConnect() {
|
|
61
82
|
var _a;
|
|
62
|
-
return ((_a = this._stripeConnect) !== null && _a !== void 0 ? _a : (this._stripeConnect = new
|
|
83
|
+
return ((_a = this._stripeConnect) !== null && _a !== void 0 ? _a : (this._stripeConnect = new Client_js_18.StripeConnectClient(this._options)));
|
|
63
84
|
}
|
|
64
85
|
get cuisines() {
|
|
65
86
|
var _a;
|
|
@@ -77,5 +98,9 @@ class BusinessClient {
|
|
|
77
98
|
var _a;
|
|
78
99
|
return ((_a = this._allergens) !== null && _a !== void 0 ? _a : (this._allergens = new Client_js_1.AllergensClient(this._options)));
|
|
79
100
|
}
|
|
101
|
+
get temporaryLocations() {
|
|
102
|
+
var _a;
|
|
103
|
+
return ((_a = this._temporaryLocations) !== null && _a !== void 0 ? _a : (this._temporaryLocations = new Client_js_19.TemporaryLocationsClient(this._options)));
|
|
104
|
+
}
|
|
80
105
|
}
|
|
81
106
|
exports.BusinessClient = BusinessClient;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
|
|
3
|
+
import * as core from "../../../../../../core/index.js";
|
|
4
|
+
import * as FiveOneEat from "../../../../../index.js";
|
|
5
|
+
export declare namespace DiscountsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class DiscountsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<DiscountsClient.Options>;
|
|
12
|
+
constructor(options?: DiscountsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {DiscountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
15
|
+
*
|
|
16
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* await client.business.discounts.list()
|
|
20
|
+
*/
|
|
21
|
+
list(requestOptions?: DiscountsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.ListDiscountsResponse>;
|
|
22
|
+
private __list;
|
|
23
|
+
/**
|
|
24
|
+
* @param {FiveOneEat.business.StoreDiscountRequest} request
|
|
25
|
+
* @param {DiscountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
|
+
*
|
|
27
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
28
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
29
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* await client.business.discounts.create({
|
|
33
|
+
* code: "code",
|
|
34
|
+
* type: "percentage",
|
|
35
|
+
* value: 1.1,
|
|
36
|
+
* applies_to: "all"
|
|
37
|
+
* })
|
|
38
|
+
*/
|
|
39
|
+
create(request: FiveOneEat.business.StoreDiscountRequest, requestOptions?: DiscountsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.CreateDiscountsResponse>;
|
|
40
|
+
private __create;
|
|
41
|
+
/**
|
|
42
|
+
* @param {FiveOneEat.business.GetDiscountsRequest} request
|
|
43
|
+
* @param {DiscountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
46
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
47
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* await client.business.discounts.get({
|
|
51
|
+
* discount: "discount"
|
|
52
|
+
* })
|
|
53
|
+
*/
|
|
54
|
+
get(request: FiveOneEat.business.GetDiscountsRequest, requestOptions?: DiscountsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.GetDiscountsResponse>;
|
|
55
|
+
private __get;
|
|
56
|
+
/**
|
|
57
|
+
* @param {FiveOneEat.business.UpdateDiscountRequest} request
|
|
58
|
+
* @param {DiscountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
61
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
62
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
63
|
+
* @throws {@link FiveOneEat.UnprocessableEntityError}
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* await client.business.discounts.update({
|
|
67
|
+
* discount: "discount"
|
|
68
|
+
* })
|
|
69
|
+
*/
|
|
70
|
+
update(request: FiveOneEat.business.UpdateDiscountRequest, requestOptions?: DiscountsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.UpdateDiscountsResponse>;
|
|
71
|
+
private __update;
|
|
72
|
+
/**
|
|
73
|
+
* @param {FiveOneEat.business.DeleteDiscountsRequest} request
|
|
74
|
+
* @param {DiscountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
77
|
+
* @throws {@link FiveOneEat.ForbiddenError}
|
|
78
|
+
* @throws {@link FiveOneEat.NotFoundError}
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* await client.business.discounts.delete({
|
|
82
|
+
* discount: "discount"
|
|
83
|
+
* })
|
|
84
|
+
*/
|
|
85
|
+
delete(request: FiveOneEat.business.DeleteDiscountsRequest, requestOptions?: DiscountsClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.business.DeleteDiscountsResponse>;
|
|
86
|
+
private __delete;
|
|
87
|
+
}
|