@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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GetProductOrdersResponse.js"), exports);
|
|
18
|
+
__exportStar(require("./ListProductOrdersResponse.js"), exports);
|
|
@@ -0,0 +1,53 @@
|
|
|
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 ShopClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class ShopClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<ShopClient.Options>;
|
|
12
|
+
constructor(options?: ShopClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {FiveOneEat.customer.ListProductsShopRequest} request
|
|
15
|
+
* @param {ShopClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
+
*
|
|
17
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* await client.customer.shop.listProducts({
|
|
21
|
+
* handle: "katzs-deli"
|
|
22
|
+
* })
|
|
23
|
+
*/
|
|
24
|
+
listProducts(request: FiveOneEat.customer.ListProductsShopRequest, requestOptions?: ShopClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.ListProductsShopResponse>;
|
|
25
|
+
private __listProducts;
|
|
26
|
+
/**
|
|
27
|
+
* @param {FiveOneEat.customer.GetProductShopRequest} request
|
|
28
|
+
* @param {ShopClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
29
|
+
*
|
|
30
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* await client.customer.shop.getProduct({
|
|
34
|
+
* handle: "katzs-deli",
|
|
35
|
+
* product: "product"
|
|
36
|
+
* })
|
|
37
|
+
*/
|
|
38
|
+
getProduct(request: FiveOneEat.customer.GetProductShopRequest, requestOptions?: ShopClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.GetProductShopResponse>;
|
|
39
|
+
private __getProduct;
|
|
40
|
+
/**
|
|
41
|
+
* @param {FiveOneEat.customer.ListCategoriesShopRequest} request
|
|
42
|
+
* @param {ShopClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* await client.customer.shop.listCategories({
|
|
48
|
+
* handle: "katzs-deli"
|
|
49
|
+
* })
|
|
50
|
+
*/
|
|
51
|
+
listCategories(request: FiveOneEat.customer.ListCategoriesShopRequest, requestOptions?: ShopClient.RequestOptions): core.HttpResponsePromise<FiveOneEat.customer.ListCategoriesShopResponse>;
|
|
52
|
+
private __listCategories;
|
|
53
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.ShopClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
49
|
+
const core = __importStar(require("../../../../../../core/index.js"));
|
|
50
|
+
const environments = __importStar(require("../../../../../../environments.js"));
|
|
51
|
+
const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNonStatusCodeError.js");
|
|
52
|
+
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
53
|
+
const FiveOneEat = __importStar(require("../../../../../index.js"));
|
|
54
|
+
class ShopClient {
|
|
55
|
+
constructor(options = {}) {
|
|
56
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @param {FiveOneEat.customer.ListProductsShopRequest} request
|
|
60
|
+
* @param {ShopClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await client.customer.shop.listProducts({
|
|
66
|
+
* handle: "katzs-deli"
|
|
67
|
+
* })
|
|
68
|
+
*/
|
|
69
|
+
listProducts(request, requestOptions) {
|
|
70
|
+
return core.HttpResponsePromise.fromPromise(this.__listProducts(request, requestOptions));
|
|
71
|
+
}
|
|
72
|
+
__listProducts(request, requestOptions) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
75
|
+
const { handle, category_id: categoryId, featured } = request;
|
|
76
|
+
const _queryParams = {
|
|
77
|
+
category_id: categoryId,
|
|
78
|
+
featured,
|
|
79
|
+
};
|
|
80
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
81
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
82
|
+
const _response = yield core.fetcher({
|
|
83
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(handle)}/shop`),
|
|
84
|
+
method: "GET",
|
|
85
|
+
headers: _headers,
|
|
86
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
87
|
+
queryString: core.url
|
|
88
|
+
.queryBuilder()
|
|
89
|
+
.addMany(_queryParams)
|
|
90
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
91
|
+
.build(),
|
|
92
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
93
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
94
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
95
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
96
|
+
logging: this._options.logging,
|
|
97
|
+
});
|
|
98
|
+
if (_response.ok) {
|
|
99
|
+
return {
|
|
100
|
+
data: _response.body,
|
|
101
|
+
rawResponse: _response.rawResponse,
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
if (_response.error.reason === "status-code") {
|
|
105
|
+
switch (_response.error.statusCode) {
|
|
106
|
+
case 401:
|
|
107
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
108
|
+
default:
|
|
109
|
+
throw new errors.FiveOneEatError({
|
|
110
|
+
statusCode: _response.error.statusCode,
|
|
111
|
+
body: _response.error.body,
|
|
112
|
+
rawResponse: _response.rawResponse,
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{handle}/shop");
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @param {FiveOneEat.customer.GetProductShopRequest} request
|
|
121
|
+
* @param {ShopClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* await client.customer.shop.getProduct({
|
|
127
|
+
* handle: "katzs-deli",
|
|
128
|
+
* product: "product"
|
|
129
|
+
* })
|
|
130
|
+
*/
|
|
131
|
+
getProduct(request, requestOptions) {
|
|
132
|
+
return core.HttpResponsePromise.fromPromise(this.__getProduct(request, requestOptions));
|
|
133
|
+
}
|
|
134
|
+
__getProduct(request, requestOptions) {
|
|
135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
136
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
137
|
+
const { handle, product } = request;
|
|
138
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
139
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
140
|
+
const _response = yield core.fetcher({
|
|
141
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(handle)}/shop/products/${core.url.encodePathParam(product)}`),
|
|
142
|
+
method: "GET",
|
|
143
|
+
headers: _headers,
|
|
144
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
145
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
146
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
147
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
148
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
149
|
+
logging: this._options.logging,
|
|
150
|
+
});
|
|
151
|
+
if (_response.ok) {
|
|
152
|
+
return {
|
|
153
|
+
data: _response.body,
|
|
154
|
+
rawResponse: _response.rawResponse,
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
if (_response.error.reason === "status-code") {
|
|
158
|
+
switch (_response.error.statusCode) {
|
|
159
|
+
case 401:
|
|
160
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
161
|
+
default:
|
|
162
|
+
throw new errors.FiveOneEatError({
|
|
163
|
+
statusCode: _response.error.statusCode,
|
|
164
|
+
body: _response.error.body,
|
|
165
|
+
rawResponse: _response.rawResponse,
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{handle}/shop/products/{product}");
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* @param {FiveOneEat.customer.ListCategoriesShopRequest} request
|
|
174
|
+
* @param {ShopClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
175
|
+
*
|
|
176
|
+
* @throws {@link FiveOneEat.UnauthorizedError}
|
|
177
|
+
*
|
|
178
|
+
* @example
|
|
179
|
+
* await client.customer.shop.listCategories({
|
|
180
|
+
* handle: "katzs-deli"
|
|
181
|
+
* })
|
|
182
|
+
*/
|
|
183
|
+
listCategories(request, requestOptions) {
|
|
184
|
+
return core.HttpResponsePromise.fromPromise(this.__listCategories(request, requestOptions));
|
|
185
|
+
}
|
|
186
|
+
__listCategories(request, requestOptions) {
|
|
187
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
189
|
+
const { handle } = request;
|
|
190
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
191
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
192
|
+
const _response = yield core.fetcher({
|
|
193
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.FiveOneEatEnvironment.Production, `customer/businesses/${core.url.encodePathParam(handle)}/shop/categories`),
|
|
194
|
+
method: "GET",
|
|
195
|
+
headers: _headers,
|
|
196
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
197
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
198
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
199
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
200
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
201
|
+
logging: this._options.logging,
|
|
202
|
+
});
|
|
203
|
+
if (_response.ok) {
|
|
204
|
+
return {
|
|
205
|
+
data: _response.body,
|
|
206
|
+
rawResponse: _response.rawResponse,
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
if (_response.error.reason === "status-code") {
|
|
210
|
+
switch (_response.error.statusCode) {
|
|
211
|
+
case 401:
|
|
212
|
+
throw new FiveOneEat.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
213
|
+
default:
|
|
214
|
+
throw new errors.FiveOneEatError({
|
|
215
|
+
statusCode: _response.error.statusCode,
|
|
216
|
+
body: _response.error.body,
|
|
217
|
+
rawResponse: _response.rawResponse,
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/customer/businesses/{handle}/shop/categories");
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exports.ShopClient = ShopClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
package/dist/cjs/api/resources/customer/resources/shop/client/requests/ListProductsShopRequest.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* handle: "katzs-deli"
|
|
5
|
+
* }
|
|
6
|
+
*/
|
|
7
|
+
export interface ListProductsShopRequest {
|
|
8
|
+
/** The business handle */
|
|
9
|
+
handle: string;
|
|
10
|
+
/** Filter by product category ID */
|
|
11
|
+
category_id?: string;
|
|
12
|
+
/** Return only featured products */
|
|
13
|
+
featured?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ShopClient = void 0;
|
|
19
|
+
var Client_js_1 = require("./client/Client.js");
|
|
20
|
+
Object.defineProperty(exports, "ShopClient", { enumerable: true, get: function () { return Client_js_1.ShopClient; } });
|
|
21
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./types/index.js"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./GetProductShopResponse.js"), exports);
|
|
18
|
+
__exportStar(require("./ListCategoriesShopResponse.js"), exports);
|
|
19
|
+
__exportStar(require("./ListProductsShopResponse.js"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface BusinessDiscount {
|
|
2
|
+
id: string;
|
|
3
|
+
code: string;
|
|
4
|
+
type: string;
|
|
5
|
+
value: number;
|
|
6
|
+
minimum_purchase: number | null;
|
|
7
|
+
maximum_discount: number | null;
|
|
8
|
+
applies_to: string;
|
|
9
|
+
usage_limit: number | null;
|
|
10
|
+
usage_limit_per_customer: number | null;
|
|
11
|
+
usage_count?: number | undefined;
|
|
12
|
+
is_active: boolean;
|
|
13
|
+
starts_at: string | null;
|
|
14
|
+
ends_at: string | null;
|
|
15
|
+
products?: Record<string, unknown>[] | undefined;
|
|
16
|
+
categories?: Record<string, unknown>[] | undefined;
|
|
17
|
+
created_at: string | null;
|
|
18
|
+
updated_at: string | null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface BusinessEventCheckIn {
|
|
2
|
+
id: string;
|
|
3
|
+
ticket_number: string;
|
|
4
|
+
checked_in_at: string;
|
|
5
|
+
checked_in_by: string;
|
|
6
|
+
user?: BusinessEventCheckIn.User | undefined;
|
|
7
|
+
ticket_type?: BusinessEventCheckIn.TicketType | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace BusinessEventCheckIn {
|
|
10
|
+
interface User {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
interface TicketType {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type BusinessEventCheckInStats = unknown[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface BusinessEventCheckInTicket {
|
|
2
|
+
id: string;
|
|
3
|
+
ticket_number: string;
|
|
4
|
+
status: string;
|
|
5
|
+
used_at: string;
|
|
6
|
+
used_by: string;
|
|
7
|
+
user?: BusinessEventCheckInTicket.User | undefined;
|
|
8
|
+
ticket_type?: BusinessEventCheckInTicket.TicketType | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace BusinessEventCheckInTicket {
|
|
11
|
+
interface User {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
email: string;
|
|
15
|
+
}
|
|
16
|
+
interface TicketType {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type * as FiveOneEat from "../index.js";
|
|
2
|
+
export interface BusinessProduct {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
slug: string;
|
|
6
|
+
description: string | null;
|
|
7
|
+
product_type: string;
|
|
8
|
+
base_price: number;
|
|
9
|
+
compare_at_price: number | null;
|
|
10
|
+
sku: string | null;
|
|
11
|
+
track_inventory: boolean;
|
|
12
|
+
inventory_policy: string | null;
|
|
13
|
+
fulfillment_type: string | null;
|
|
14
|
+
requires_shipping: boolean;
|
|
15
|
+
length: number | null;
|
|
16
|
+
width: number | null;
|
|
17
|
+
height: number | null;
|
|
18
|
+
dimension_unit: string | null;
|
|
19
|
+
weight: number | null;
|
|
20
|
+
weight_unit: string | null;
|
|
21
|
+
is_pre_order: boolean;
|
|
22
|
+
taxable: boolean;
|
|
23
|
+
tax_code: string | null;
|
|
24
|
+
is_active: boolean;
|
|
25
|
+
is_featured: boolean;
|
|
26
|
+
sort_order: number;
|
|
27
|
+
variants?: FiveOneEat.BusinessProductVariant[] | undefined;
|
|
28
|
+
images?: Record<string, unknown>[] | undefined;
|
|
29
|
+
categories?: FiveOneEat.BusinessProductCategory[] | undefined;
|
|
30
|
+
created_at: string | null;
|
|
31
|
+
updated_at: string | null;
|
|
32
|
+
}
|