@unchainedshop/api 4.0.0-rc.16 → 4.0.0-rc.18
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/lib/api-index.d.ts +1 -1
- package/lib/api-index.d.ts.map +1 -1
- package/lib/api-index.js +5 -3
- package/lib/api-index.js.map +1 -1
- package/lib/chat/defaultSystemPrompt.d.ts +1 -1
- package/lib/chat/defaultSystemPrompt.d.ts.map +1 -1
- package/lib/chat/defaultSystemPrompt.js +12 -3
- package/lib/chat/defaultSystemPrompt.js.map +1 -1
- package/lib/context.d.ts.map +1 -1
- package/lib/context.js +5 -2
- package/lib/context.js.map +1 -1
- package/lib/createGraphQLServer.d.ts +7 -4
- package/lib/createGraphQLServer.d.ts.map +1 -1
- package/lib/createGraphQLServer.js +6 -6
- package/lib/createGraphQLServer.js.map +1 -1
- package/lib/errors.d.ts +1 -0
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -0
- package/lib/errors.js.map +1 -1
- package/lib/express/chatHandler.d.ts.map +1 -1
- package/lib/express/chatHandler.js +58 -9
- package/lib/express/chatHandler.js.map +1 -1
- package/lib/express/createApolloMiddleware.d.ts +4 -0
- package/lib/express/createApolloMiddleware.d.ts.map +1 -0
- package/lib/express/createApolloMiddleware.js +36 -0
- package/lib/express/createApolloMiddleware.js.map +1 -0
- package/lib/express/createBulkImportMiddleware.d.ts.map +1 -1
- package/lib/express/createBulkImportMiddleware.js +2 -0
- package/lib/express/createBulkImportMiddleware.js.map +1 -1
- package/lib/express/createERCMetadataMiddleware.d.ts.map +1 -1
- package/lib/express/createERCMetadataMiddleware.js +4 -2
- package/lib/express/createERCMetadataMiddleware.js.map +1 -1
- package/lib/express/createMCPMiddleware.js +1 -1
- package/lib/express/createMCPMiddleware.js.map +1 -1
- package/lib/express/createSingleSignOnMiddleware.d.ts +5 -0
- package/lib/express/createSingleSignOnMiddleware.d.ts.map +1 -0
- package/lib/express/createSingleSignOnMiddleware.js +71 -0
- package/lib/express/createSingleSignOnMiddleware.js.map +1 -0
- package/lib/express/createTempUploadMiddleware.d.ts.map +1 -1
- package/lib/express/createTempUploadMiddleware.js +2 -0
- package/lib/express/createTempUploadMiddleware.js.map +1 -1
- package/lib/express/index.js +1 -1
- package/lib/express/index.js.map +1 -1
- package/lib/fastify/bulkImportHandler.d.ts.map +1 -1
- package/lib/fastify/bulkImportHandler.js +2 -0
- package/lib/fastify/bulkImportHandler.js.map +1 -1
- package/lib/fastify/chatHandler.d.ts.map +1 -1
- package/lib/fastify/chatHandler.js +57 -10
- package/lib/fastify/chatHandler.js.map +1 -1
- package/lib/fastify/ercMetadataHandler.js +1 -1
- package/lib/fastify/ercMetadataHandler.js.map +1 -1
- package/lib/fastify/index.js +1 -1
- package/lib/fastify/index.js.map +1 -1
- package/lib/fastify/tempUploadHandler.d.ts.map +1 -1
- package/lib/fastify/tempUploadHandler.js +2 -0
- package/lib/fastify/tempUploadHandler.js.map +1 -1
- package/lib/hashPassword.d.ts +2 -0
- package/lib/hashPassword.d.ts.map +1 -0
- package/lib/hashPassword.js +5 -0
- package/lib/hashPassword.js.map +1 -0
- package/lib/loaders/assortmentLinksLoader.d.ts.map +1 -1
- package/lib/loaders/assortmentLinksLoader.js +7 -4
- package/lib/loaders/assortmentLinksLoader.js.map +1 -1
- package/lib/loaders/assortmentMediasLoader.d.ts +2 -2
- package/lib/loaders/assortmentMediasLoader.d.ts.map +1 -1
- package/lib/loaders/assortmentMediasLoader.js.map +1 -1
- package/lib/loaders/filterTextLoader.d.ts +2 -2
- package/lib/loaders/filterTextLoader.d.ts.map +1 -1
- package/lib/loaders/filterTextLoader.js.map +1 -1
- package/lib/loaders/index.d.ts +8 -8
- package/lib/loaders/productMediasLoader.d.ts +2 -2
- package/lib/loaders/productMediasLoader.d.ts.map +1 -1
- package/lib/loaders/productMediasLoader.js.map +1 -1
- package/lib/loaders/productProxiesLoader.d.ts +2 -2
- package/lib/loaders/productProxiesLoader.d.ts.map +1 -1
- package/lib/loaders/productProxiesLoader.js.map +1 -1
- package/lib/loaders/utils.js +1 -1
- package/lib/loaders/utils.js.map +1 -1
- package/lib/locale-context.js +2 -2
- package/lib/locale-context.js.map +1 -1
- package/lib/mcp/index.d.ts.map +1 -1
- package/lib/mcp/index.js +4 -0
- package/lib/mcp/index.js.map +1 -1
- package/lib/mcp/resources/localization.d.ts +4 -0
- package/lib/mcp/resources/localization.d.ts.map +1 -0
- package/lib/mcp/resources/localization.js +93 -0
- package/lib/mcp/resources/localization.js.map +1 -0
- package/lib/mcp/tools/assortment/handlers/addAssortmentFilter.d.ts +24 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentFilter.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentLink.d.ts +24 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentLink.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentMedia.d.ts +24 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentMedia.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentProduct.d.ts +24 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentProduct.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/createAssortment.d.ts +25 -1
- package/lib/mcp/tools/assortment/handlers/createAssortment.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/getAssortment.d.ts +24 -1
- package/lib/mcp/tools/assortment/handlers/getAssortment.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentChildren.d.ts +48 -2
- package/lib/mcp/tools/assortment/handlers/getAssortmentChildren.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentFilters.d.ts +33 -10
- package/lib/mcp/tools/assortment/handlers/getAssortmentFilters.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentLinks.d.ts +51 -2
- package/lib/mcp/tools/assortment/handlers/getAssortmentLinks.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentMedia.d.ts +30 -2
- package/lib/mcp/tools/assortment/handlers/getAssortmentMedia.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentProducts.d.ts +46 -18
- package/lib/mcp/tools/assortment/handlers/getAssortmentProducts.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/listAssortments.d.ts +24 -1
- package/lib/mcp/tools/assortment/handlers/listAssortments.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortment.js +2 -2
- package/lib/mcp/tools/assortment/handlers/removeAssortment.js.map +1 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentFilter.js +2 -2
- package/lib/mcp/tools/assortment/handlers/removeAssortmentFilter.js.map +1 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentLink.js +2 -2
- package/lib/mcp/tools/assortment/handlers/removeAssortmentLink.js.map +1 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentProduct.js +2 -2
- package/lib/mcp/tools/assortment/handlers/removeAssortmentProduct.js.map +1 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentFilters.d.ts +9 -9
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentLinks.d.ts +27 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentLinks.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentMedia.d.ts +6 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentMedia.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentProducts.d.ts +22 -17
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentProducts.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/searchAssortmentProducts.d.ts +43 -15
- package/lib/mcp/tools/assortment/handlers/searchAssortmentProducts.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/setAssortmentBase.d.ts +24 -1
- package/lib/mcp/tools/assortment/handlers/setAssortmentBase.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortment.d.ts +24 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortment.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortmentMediaTexts.d.ts +7 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortmentMediaTexts.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortmentMediaTexts.js.map +1 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortmentStatus.d.ts +24 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortmentStatus.d.ts.map +1 -1
- package/lib/mcp/tools/assortment/schemas.d.ts +478 -478
- package/lib/mcp/tools/assortment/schemas.js +1 -1
- package/lib/mcp/tools/assortment/schemas.js.map +1 -1
- package/lib/mcp/tools/filter/handlers/createFilter.d.ts +12 -11
- package/lib/mcp/tools/filter/handlers/createFilter.d.ts.map +1 -1
- package/lib/mcp/tools/filter/handlers/createFilter.js.map +1 -1
- package/lib/mcp/tools/filter/handlers/createFilterOption.d.ts +14 -11
- package/lib/mcp/tools/filter/handlers/createFilterOption.d.ts.map +1 -1
- package/lib/mcp/tools/filter/handlers/createFilterOption.js +4 -2
- package/lib/mcp/tools/filter/handlers/createFilterOption.js.map +1 -1
- package/lib/mcp/tools/filter/handlers/getFilter.d.ts +10 -10
- package/lib/mcp/tools/filter/handlers/listFilters.d.ts +10 -10
- package/lib/mcp/tools/filter/handlers/removeFilterOption.d.ts +12 -10
- package/lib/mcp/tools/filter/handlers/removeFilterOption.d.ts.map +1 -1
- package/lib/mcp/tools/filter/handlers/removeFilterOption.js +2 -0
- package/lib/mcp/tools/filter/handlers/removeFilterOption.js.map +1 -1
- package/lib/mcp/tools/filter/handlers/updateFilter.d.ts +10 -10
- package/lib/mcp/tools/filter/handlers/updateFilterTexts.d.ts +13 -12
- package/lib/mcp/tools/filter/handlers/updateFilterTexts.d.ts.map +1 -1
- package/lib/mcp/tools/filter/handlers/updateFilterTexts.js.map +1 -1
- package/lib/mcp/tools/filter/schemas.d.ts +266 -266
- package/lib/mcp/tools/localization/handlers/getLocalization.d.ts +1 -1
- package/lib/mcp/tools/localization/index.js +1 -1
- package/lib/mcp/tools/localization/index.js.map +1 -1
- package/lib/mcp/tools/localization/schemas.d.ts +154 -154
- package/lib/mcp/tools/order/handlers/confirmOrder.d.ts +38 -57
- package/lib/mcp/tools/order/handlers/confirmOrder.d.ts.map +1 -1
- package/lib/mcp/tools/order/handlers/deliverOrder.d.ts +38 -57
- package/lib/mcp/tools/order/handlers/deliverOrder.d.ts.map +1 -1
- package/lib/mcp/tools/order/handlers/deliverOrder.js +7 -4
- package/lib/mcp/tools/order/handlers/deliverOrder.js.map +1 -1
- package/lib/mcp/tools/order/handlers/getMonthlyBreakdown.d.ts +10 -0
- package/lib/mcp/tools/order/handlers/getMonthlyBreakdown.d.ts.map +1 -1
- package/lib/mcp/tools/order/handlers/getOrder.d.ts +38 -57
- package/lib/mcp/tools/order/handlers/getOrder.d.ts.map +1 -1
- package/lib/mcp/tools/order/handlers/getSalesSummary.d.ts +10 -0
- package/lib/mcp/tools/order/handlers/getSalesSummary.d.ts.map +1 -1
- package/lib/mcp/tools/order/handlers/getTopCustomers.d.ts +13 -13
- package/lib/mcp/tools/order/handlers/getTopCustomers.d.ts.map +1 -1
- package/lib/mcp/tools/order/handlers/getTopCustomers.js +10 -7
- package/lib/mcp/tools/order/handlers/getTopCustomers.js.map +1 -1
- package/lib/mcp/tools/order/handlers/getTopProducts.d.ts +20 -15
- package/lib/mcp/tools/order/handlers/getTopProducts.d.ts.map +1 -1
- package/lib/mcp/tools/order/handlers/getUserCart.d.ts +38 -57
- package/lib/mcp/tools/order/handlers/getUserCart.d.ts.map +1 -1
- package/lib/mcp/tools/order/handlers/listOrders.d.ts +39 -58
- package/lib/mcp/tools/order/handlers/listOrders.d.ts.map +1 -1
- package/lib/mcp/tools/order/handlers/payOrder.d.ts +38 -57
- package/lib/mcp/tools/order/handlers/payOrder.d.ts.map +1 -1
- package/lib/mcp/tools/order/handlers/payOrder.js +7 -4
- package/lib/mcp/tools/order/handlers/payOrder.js.map +1 -1
- package/lib/mcp/tools/order/handlers/rejectOrder.d.ts +38 -57
- package/lib/mcp/tools/order/handlers/rejectOrder.d.ts.map +1 -1
- package/lib/mcp/tools/order/schemas.d.ts +184 -184
- package/lib/mcp/tools/product/handlers/addBundleItem.d.ts +18 -13
- package/lib/mcp/tools/product/handlers/addBundleItem.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/addBundleItem.js +16 -19
- package/lib/mcp/tools/product/handlers/addBundleItem.js.map +1 -1
- package/lib/mcp/tools/product/handlers/addProductAssignment.d.ts +20 -15
- package/lib/mcp/tools/product/handlers/addProductAssignment.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/addProductAssignment.js.map +1 -1
- package/lib/mcp/tools/product/handlers/addProductMedia.d.ts +18 -13
- package/lib/mcp/tools/product/handlers/addProductMedia.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/addProductVariationOption.d.ts +18 -13
- package/lib/mcp/tools/product/handlers/addProductVariationOption.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/addProductVariationOption.js +2 -2
- package/lib/mcp/tools/product/handlers/addProductVariationOption.js.map +1 -1
- package/lib/mcp/tools/product/handlers/createProduct.d.ts +18 -13
- package/lib/mcp/tools/product/handlers/createProduct.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/createProductVariation.d.ts +18 -13
- package/lib/mcp/tools/product/handlers/createProductVariation.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/createProductVariation.js +1 -0
- package/lib/mcp/tools/product/handlers/createProductVariation.js.map +1 -1
- package/lib/mcp/tools/product/handlers/getBundleItems.d.ts +18 -13
- package/lib/mcp/tools/product/handlers/getBundleItems.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/getCatalogPrice.d.ts +4 -2
- package/lib/mcp/tools/product/handlers/getCatalogPrice.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/getCatalogPrice.js +3 -1
- package/lib/mcp/tools/product/handlers/getCatalogPrice.js.map +1 -1
- package/lib/mcp/tools/product/handlers/getProduct.d.ts +18 -13
- package/lib/mcp/tools/product/handlers/getProduct.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/getProductAssignments.d.ts +1 -2
- package/lib/mcp/tools/product/handlers/getProductAssignments.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/getProductAssignments.js +4 -4
- package/lib/mcp/tools/product/handlers/getProductAssignments.js.map +1 -1
- package/lib/mcp/tools/product/handlers/getProductMedia.d.ts +6 -1
- package/lib/mcp/tools/product/handlers/getProductMedia.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/getSiblings.d.ts +19 -14
- package/lib/mcp/tools/product/handlers/getSiblings.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/getVariationProducts.d.ts +19 -14
- package/lib/mcp/tools/product/handlers/getVariationProducts.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/index.d.ts +2 -0
- package/lib/mcp/tools/product/handlers/index.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/index.js +2 -0
- package/lib/mcp/tools/product/handlers/index.js.map +1 -1
- package/lib/mcp/tools/product/handlers/listProducts.d.ts +19 -14
- package/lib/mcp/tools/product/handlers/listProducts.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/removeProduct.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/removeProduct.js +15 -3
- package/lib/mcp/tools/product/handlers/removeProduct.js.map +1 -1
- package/lib/mcp/tools/product/handlers/reorderProductMedia.d.ts +6 -1
- package/lib/mcp/tools/product/handlers/reorderProductMedia.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/simulatePrice.d.ts +4 -2
- package/lib/mcp/tools/product/handlers/simulatePrice.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/simulatePrice.js +2 -0
- package/lib/mcp/tools/product/handlers/simulatePrice.js.map +1 -1
- package/lib/mcp/tools/product/handlers/simulatePriceRange.d.ts +9 -2
- package/lib/mcp/tools/product/handlers/simulatePriceRange.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/simulatePriceRange.js +2 -0
- package/lib/mcp/tools/product/handlers/simulatePriceRange.js.map +1 -1
- package/lib/mcp/tools/product/handlers/updateProduct.d.ts +18 -13
- package/lib/mcp/tools/product/handlers/updateProduct.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/updateProductMediaTexts.d.ts +2 -1
- package/lib/mcp/tools/product/handlers/updateProductMediaTexts.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/updateProductMediaTexts.js.map +1 -1
- package/lib/mcp/tools/product/handlers/updateProductStatus.d.ts +18 -13
- package/lib/mcp/tools/product/handlers/updateProductStatus.d.ts.map +1 -1
- package/lib/mcp/tools/product/handlers/updateProductTexts.d.ts +6 -0
- package/lib/mcp/tools/product/handlers/updateProductTexts.d.ts.map +1 -0
- package/lib/mcp/tools/product/handlers/updateProductTexts.js +11 -0
- package/lib/mcp/tools/product/handlers/updateProductTexts.js.map +1 -0
- package/lib/mcp/tools/product/schemas.d.ts +1605 -1549
- package/lib/mcp/tools/product/schemas.d.ts.map +1 -1
- package/lib/mcp/tools/product/schemas.js +13 -6
- package/lib/mcp/tools/product/schemas.js.map +1 -1
- package/lib/mcp/tools/provider/handlers/getProvider.d.ts +1 -1
- package/lib/mcp/tools/provider/handlers/getProviderInterfaces.d.ts +1 -1
- package/lib/mcp/tools/provider/schemas.d.ts +110 -110
- package/lib/mcp/tools/quotation/handlers/countQuotations.d.ts +4 -0
- package/lib/mcp/tools/quotation/handlers/countQuotations.d.ts.map +1 -0
- package/lib/mcp/tools/quotation/handlers/countQuotations.js +5 -0
- package/lib/mcp/tools/quotation/handlers/countQuotations.js.map +1 -0
- package/lib/mcp/tools/quotation/handlers/getQuotation.d.ts +105 -0
- package/lib/mcp/tools/quotation/handlers/getQuotation.d.ts.map +1 -0
- package/lib/mcp/tools/quotation/handlers/getQuotation.js +6 -0
- package/lib/mcp/tools/quotation/handlers/getQuotation.js.map +1 -0
- package/lib/mcp/tools/quotation/handlers/index.d.ts +16 -0
- package/lib/mcp/tools/quotation/handlers/index.d.ts.map +1 -0
- package/lib/mcp/tools/quotation/handlers/index.js +15 -0
- package/lib/mcp/tools/quotation/handlers/index.js.map +1 -0
- package/lib/mcp/tools/quotation/handlers/listQuotations.d.ts +107 -0
- package/lib/mcp/tools/quotation/handlers/listQuotations.d.ts.map +1 -0
- package/lib/mcp/tools/quotation/handlers/listQuotations.js +9 -0
- package/lib/mcp/tools/quotation/handlers/listQuotations.js.map +1 -0
- package/lib/mcp/tools/quotation/handlers/makeQuotationProposal.d.ts +106 -0
- package/lib/mcp/tools/quotation/handlers/makeQuotationProposal.d.ts.map +1 -0
- package/lib/mcp/tools/quotation/handlers/makeQuotationProposal.js +16 -0
- package/lib/mcp/tools/quotation/handlers/makeQuotationProposal.js.map +1 -0
- package/lib/mcp/tools/quotation/handlers/rejectQuotation.d.ts +106 -0
- package/lib/mcp/tools/quotation/handlers/rejectQuotation.d.ts.map +1 -0
- package/lib/mcp/tools/quotation/handlers/rejectQuotation.js +16 -0
- package/lib/mcp/tools/quotation/handlers/rejectQuotation.js.map +1 -0
- package/lib/mcp/tools/quotation/handlers/verifyQuotation.d.ts +106 -0
- package/lib/mcp/tools/quotation/handlers/verifyQuotation.d.ts.map +1 -0
- package/lib/mcp/tools/quotation/handlers/verifyQuotation.js +16 -0
- package/lib/mcp/tools/quotation/handlers/verifyQuotation.js.map +1 -0
- package/lib/mcp/tools/quotation/index.d.ts +4 -0
- package/lib/mcp/tools/quotation/index.d.ts.map +1 -0
- package/lib/mcp/tools/quotation/index.js +5 -0
- package/lib/mcp/tools/quotation/index.js.map +1 -0
- package/lib/mcp/tools/quotation/quotationManagement.d.ts +10 -0
- package/lib/mcp/tools/quotation/quotationManagement.d.ts.map +1 -0
- package/lib/mcp/tools/quotation/quotationManagement.js +24 -0
- package/lib/mcp/tools/quotation/quotationManagement.js.map +1 -0
- package/lib/mcp/tools/quotation/schemas.d.ts +240 -0
- package/lib/mcp/tools/quotation/schemas.d.ts.map +1 -0
- package/lib/mcp/tools/quotation/schemas.js +99 -0
- package/lib/mcp/tools/quotation/schemas.js.map +1 -0
- package/lib/mcp/tools/system/handlers/getEvent.d.ts +1 -1
- package/lib/mcp/tools/system/handlers/getShopInfo.d.ts +2 -2
- package/lib/mcp/tools/system/handlers/getWorkStatistics.d.ts +2 -2
- package/lib/mcp/tools/system/handlers/index.d.ts +6 -6
- package/lib/mcp/tools/system/handlers/listWork.d.ts +2 -2
- package/lib/mcp/tools/system/handlers/listWork.d.ts.map +1 -1
- package/lib/mcp/tools/system/handlers/listWork.js.map +1 -1
- package/lib/mcp/tools/system/index.js +1 -1
- package/lib/mcp/tools/system/index.js.map +1 -1
- package/lib/mcp/tools/system/schemas.d.ts +220 -220
- package/lib/mcp/tools/system/schemas.js +2 -2
- package/lib/mcp/tools/system/schemas.js.map +1 -1
- package/lib/mcp/tools/system/types.d.ts +1 -1
- package/lib/mcp/tools/system/types.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/addUserEmail.d.ts +9 -4
- package/lib/mcp/tools/users/handlers/addUserEmail.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/addUserEmail.js +2 -2
- package/lib/mcp/tools/users/handlers/addUserEmail.js.map +1 -1
- package/lib/mcp/tools/users/handlers/createUser.d.ts +9 -4
- package/lib/mcp/tools/users/handlers/createUser.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/enrollUser.d.ts +9 -4
- package/lib/mcp/tools/users/handlers/enrollUser.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/enrollUser.js +1 -1
- package/lib/mcp/tools/users/handlers/enrollUser.js.map +1 -1
- package/lib/mcp/tools/users/handlers/getCurrentUser.d.ts +9 -4
- package/lib/mcp/tools/users/handlers/getCurrentUser.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/getCurrentUser.js.map +1 -1
- package/lib/mcp/tools/users/handlers/getUser.d.ts +9 -4
- package/lib/mcp/tools/users/handlers/getUser.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/getUserAvatar.d.ts +7 -2
- package/lib/mcp/tools/users/handlers/getUserAvatar.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/getUserAvatar.js +1 -1
- package/lib/mcp/tools/users/handlers/getUserAvatar.js.map +1 -1
- package/lib/mcp/tools/users/handlers/getUserBookmarks.d.ts +23 -18
- package/lib/mcp/tools/users/handlers/getUserBookmarks.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/getUserEnrollments.d.ts +33 -24
- package/lib/mcp/tools/users/handlers/getUserEnrollments.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/getUserOrders.d.ts +39 -58
- package/lib/mcp/tools/users/handlers/getUserOrders.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/getUserQuotations.d.ts +29 -20
- package/lib/mcp/tools/users/handlers/getUserQuotations.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/getUserReviews.d.ts +23 -18
- package/lib/mcp/tools/users/handlers/getUserReviews.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/listUsers.d.ts +10 -5
- package/lib/mcp/tools/users/handlers/listUsers.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/removeUserEmail.js.map +1 -1
- package/lib/mcp/tools/users/handlers/setUserTags.d.ts +9 -4
- package/lib/mcp/tools/users/handlers/setUserTags.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/setUserUsername.d.ts +9 -4
- package/lib/mcp/tools/users/handlers/setUserUsername.d.ts.map +1 -1
- package/lib/mcp/tools/users/handlers/updateUser.d.ts +9 -4
- package/lib/mcp/tools/users/handlers/updateUser.d.ts.map +1 -1
- package/lib/mcp/tools/users/schemas.d.ts +586 -586
- package/lib/mcp/utils/getNormalizedAssortmentDetails.d.ts +24 -1
- package/lib/mcp/utils/getNormalizedAssortmentDetails.d.ts.map +1 -1
- package/lib/mcp/utils/getNormalizedAssortmentDetails.js +5 -21
- package/lib/mcp/utils/getNormalizedAssortmentDetails.js.map +1 -1
- package/lib/mcp/utils/getNormalizedFilterDetails.d.ts +10 -10
- package/lib/mcp/utils/getNormalizedFilterDetails.js.map +1 -1
- package/lib/mcp/utils/getNormalizedOrderDetails.d.ts +38 -57
- package/lib/mcp/utils/getNormalizedOrderDetails.d.ts.map +1 -1
- package/lib/mcp/utils/getNormalizedOrderDetails.js.map +1 -1
- package/lib/mcp/utils/getNormalizedProductDetails.d.ts +18 -13
- package/lib/mcp/utils/getNormalizedProductDetails.d.ts.map +1 -1
- package/lib/mcp/utils/getNormalizedProductDetails.js +2 -23
- package/lib/mcp/utils/getNormalizedProductDetails.js.map +1 -1
- package/lib/mcp/utils/getNormalizedQuotationDetails.d.ts +104 -0
- package/lib/mcp/utils/getNormalizedQuotationDetails.d.ts.map +1 -0
- package/lib/mcp/utils/getNormalizedQuotationDetails.js +35 -0
- package/lib/mcp/utils/getNormalizedQuotationDetails.js.map +1 -0
- package/lib/mcp/utils/getNormalizedUserDetails.d.ts +9 -4
- package/lib/mcp/utils/getNormalizedUserDetails.d.ts.map +1 -1
- package/lib/mcp/utils/getNormalizedUserDetails.js.map +1 -1
- package/lib/mcp/utils/normalizeMediaUrl.d.ts +8 -1
- package/lib/mcp/utils/normalizeMediaUrl.d.ts.map +1 -1
- package/lib/mcp/utils/normalizeMediaUrl.js.map +1 -1
- package/lib/mcp/utils/normalizeProxyAssignments.d.ts +6 -0
- package/lib/mcp/utils/normalizeProxyAssignments.d.ts.map +1 -0
- package/lib/mcp/utils/normalizeProxyAssignments.js +27 -0
- package/lib/mcp/utils/normalizeProxyAssignments.js.map +1 -0
- package/lib/mcp/utils/orderFilters.d.ts +1 -1
- package/lib/mcp/utils/orderFilters.d.ts.map +1 -1
- package/lib/mcp/utils/sharedSchemas.d.ts +14 -14
- package/lib/mcp/utils/sharedSchemas.js +1 -1
- package/lib/mcp/utils/sharedSchemas.js.map +1 -1
- package/lib/resolvers/mutations/accounts/addEmail.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/addEmail.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/addEmail.js.map +1 -1
- package/lib/resolvers/mutations/accounts/addWeb3Address.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/addWeb3Address.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/addWeb3Address.js.map +1 -1
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.js.map +1 -1
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.d.ts +3 -0
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.d.ts.map +1 -0
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.js +6 -0
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.js.map +1 -0
- package/lib/resolvers/mutations/accounts/changePassword.js.map +1 -1
- package/lib/resolvers/mutations/accounts/createUser.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/createUser.js +2 -2
- package/lib/resolvers/mutations/accounts/createUser.js.map +1 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.d.ts +2 -2
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.d.ts +2 -2
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/disableTOTP.d.ts +6 -0
- package/lib/resolvers/mutations/accounts/disableTOTP.d.ts.map +1 -0
- package/lib/resolvers/mutations/accounts/disableTOTP.js +27 -0
- package/lib/resolvers/mutations/accounts/disableTOTP.js.map +1 -0
- package/lib/resolvers/mutations/accounts/enableTOTP.d.ts +6 -0
- package/lib/resolvers/mutations/accounts/enableTOTP.d.ts.map +1 -0
- package/lib/resolvers/mutations/accounts/enableTOTP.js +20 -0
- package/lib/resolvers/mutations/accounts/enableTOTP.js.map +1 -0
- package/lib/resolvers/mutations/accounts/enrollUser.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/enrollUser.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.d.ts +7 -0
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.d.ts.map +1 -0
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.js +30 -0
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.js.map +1 -0
- package/lib/resolvers/mutations/accounts/loginAsGuest.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/loginAsGuest.js +2 -2
- package/lib/resolvers/mutations/accounts/loginAsGuest.js.map +1 -1
- package/lib/resolvers/mutations/accounts/loginWithOAuth.d.ts +8 -0
- package/lib/resolvers/mutations/accounts/loginWithOAuth.d.ts.map +1 -0
- package/lib/resolvers/mutations/accounts/loginWithOAuth.js +25 -0
- package/lib/resolvers/mutations/accounts/loginWithOAuth.js.map +1 -0
- package/lib/resolvers/mutations/accounts/loginWithPassword.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/loginWithPassword.js +2 -2
- package/lib/resolvers/mutations/accounts/loginWithPassword.js.map +1 -1
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.js +2 -2
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.js.map +1 -1
- package/lib/resolvers/mutations/accounts/logoutAllSessions.d.ts +5 -0
- package/lib/resolvers/mutations/accounts/logoutAllSessions.d.ts.map +1 -0
- package/lib/resolvers/mutations/accounts/logoutAllSessions.js +20 -0
- package/lib/resolvers/mutations/accounts/logoutAllSessions.js.map +1 -0
- package/lib/resolvers/mutations/accounts/removeEmail.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/removeEmail.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/removeEmail.js.map +1 -1
- package/lib/resolvers/mutations/accounts/removeWeb3Address.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/removeWeb3Address.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/removeWeb3Address.js +2 -2
- package/lib/resolvers/mutations/accounts/removeWeb3Address.js.map +1 -1
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.js +2 -2
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.js.map +1 -1
- package/lib/resolvers/mutations/accounts/setPassword.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/setPassword.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/setUsername.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/setUsername.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/stopImpersonation.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/stopImpersonation.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.d.ts +6 -0
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.d.ts.map +1 -0
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.js +13 -0
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.js.map +1 -0
- package/lib/resolvers/mutations/accounts/verifyEmail.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/verifyEmail.js +2 -2
- package/lib/resolvers/mutations/accounts/verifyEmail.js.map +1 -1
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.d.ts +1 -1
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.d.ts.map +1 -1
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.js +3 -3
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.js.map +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentFilter.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentFilter.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentLink.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentLink.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.d.ts +6 -0
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.d.ts.map +1 -0
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.js +18 -0
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.js.map +1 -0
- package/lib/resolvers/mutations/assortments/addAssortmentProduct.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/addAssortmentProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortment.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortment.js +3 -4
- package/lib/resolvers/mutations/assortments/removeAssortment.js.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentFilter.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentFilter.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentLink.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentLink.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentMedia.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentMedia.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentProduct.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/setBaseAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/setBaseAssortment.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortment.d.ts +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortment.d.ts.map +1 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentMediaTexts.d.ts +7 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentMediaTexts.d.ts.map +1 -1
- package/lib/resolvers/mutations/bookmarks/bookmark.d.ts +1 -1
- package/lib/resolvers/mutations/bookmarks/bookmark.d.ts.map +1 -1
- package/lib/resolvers/mutations/bookmarks/createBookmark.d.ts +1 -1
- package/lib/resolvers/mutations/bookmarks/createBookmark.d.ts.map +1 -1
- package/lib/resolvers/mutations/bookmarks/removeBookmark.d.ts +1 -1
- package/lib/resolvers/mutations/bookmarks/removeBookmark.d.ts.map +1 -1
- package/lib/resolvers/mutations/countries/createCountry.d.ts +1 -1
- package/lib/resolvers/mutations/countries/createCountry.d.ts.map +1 -1
- package/lib/resolvers/mutations/countries/removeCountry.d.ts +1 -1
- package/lib/resolvers/mutations/countries/removeCountry.d.ts.map +1 -1
- package/lib/resolvers/mutations/countries/updateCountry.d.ts +1 -1
- package/lib/resolvers/mutations/countries/updateCountry.d.ts.map +1 -1
- package/lib/resolvers/mutations/currencies/createCurrency.d.ts +1 -1
- package/lib/resolvers/mutations/currencies/createCurrency.d.ts.map +1 -1
- package/lib/resolvers/mutations/currencies/removeCurrency.d.ts +1 -1
- package/lib/resolvers/mutations/currencies/removeCurrency.d.ts.map +1 -1
- package/lib/resolvers/mutations/currencies/updateCurrency.d.ts +1 -1
- package/lib/resolvers/mutations/currencies/updateCurrency.d.ts.map +1 -1
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.d.ts +2 -2
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.js.map +1 -1
- package/lib/resolvers/mutations/delivery/removeDeliveryProvider.d.ts +1 -1
- package/lib/resolvers/mutations/delivery/removeDeliveryProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/delivery/updateDeliveryProvider.d.ts +1 -1
- package/lib/resolvers/mutations/delivery/updateDeliveryProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/enrollments/createEnrollment.d.ts +1 -1
- package/lib/resolvers/mutations/enrollments/createEnrollment.d.ts.map +1 -1
- package/lib/resolvers/mutations/enrollments/createEnrollment.js +1 -1
- package/lib/resolvers/mutations/enrollments/createEnrollment.js.map +1 -1
- package/lib/resolvers/mutations/enrollments/updateEnrollment.d.ts.map +1 -1
- package/lib/resolvers/mutations/enrollments/updateEnrollment.js +6 -6
- package/lib/resolvers/mutations/enrollments/updateEnrollment.js.map +1 -1
- package/lib/resolvers/mutations/files/confirmMediaUpload.d.ts +1 -1
- package/lib/resolvers/mutations/files/confirmMediaUpload.d.ts.map +1 -1
- package/lib/resolvers/mutations/filters/createFilterOption.d.ts +1 -1
- package/lib/resolvers/mutations/filters/createFilterOption.d.ts.map +1 -1
- package/lib/resolvers/mutations/filters/createFilterOption.js.map +1 -1
- package/lib/resolvers/mutations/filters/removeFilter.d.ts +1 -1
- package/lib/resolvers/mutations/filters/removeFilter.d.ts.map +1 -1
- package/lib/resolvers/mutations/filters/removeFilterOption.d.ts +1 -1
- package/lib/resolvers/mutations/filters/removeFilterOption.d.ts.map +1 -1
- package/lib/resolvers/mutations/filters/removeFilterOption.js.map +1 -1
- package/lib/resolvers/mutations/filters/updateFilter.d.ts +1 -1
- package/lib/resolvers/mutations/filters/updateFilter.d.ts.map +1 -1
- package/lib/resolvers/mutations/filters/updateFilter.js.map +1 -1
- package/lib/resolvers/mutations/languages/createLanguage.d.ts +1 -1
- package/lib/resolvers/mutations/languages/createLanguage.d.ts.map +1 -1
- package/lib/resolvers/mutations/languages/removeLanguage.d.ts +1 -1
- package/lib/resolvers/mutations/languages/removeLanguage.d.ts.map +1 -1
- package/lib/resolvers/mutations/languages/updateLanguage.d.ts +1 -1
- package/lib/resolvers/mutations/languages/updateLanguage.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/addCartDiscount.d.ts +1 -1
- package/lib/resolvers/mutations/orders/addCartDiscount.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/addCartDiscount.js +1 -1
- package/lib/resolvers/mutations/orders/addCartDiscount.js.map +1 -1
- package/lib/resolvers/mutations/orders/addCartProduct.d.ts +1 -1
- package/lib/resolvers/mutations/orders/addCartProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/addCartProduct.js +1 -1
- package/lib/resolvers/mutations/orders/addCartProduct.js.map +1 -1
- package/lib/resolvers/mutations/orders/addCartQuotation.d.ts +1 -1
- package/lib/resolvers/mutations/orders/addCartQuotation.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/addCartQuotation.js +5 -3
- package/lib/resolvers/mutations/orders/addCartQuotation.js.map +1 -1
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.d.ts +1 -1
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.js +1 -1
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.js.map +1 -1
- package/lib/resolvers/mutations/orders/checkoutCart.d.ts +1 -1
- package/lib/resolvers/mutations/orders/checkoutCart.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/checkoutCart.js +1 -1
- package/lib/resolvers/mutations/orders/checkoutCart.js.map +1 -1
- package/lib/resolvers/mutations/orders/confirmOrder.d.ts +1 -1
- package/lib/resolvers/mutations/orders/confirmOrder.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/createCart.d.ts +1 -1
- package/lib/resolvers/mutations/orders/createCart.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/createCart.js +1 -1
- package/lib/resolvers/mutations/orders/createCart.js.map +1 -1
- package/lib/resolvers/mutations/orders/deliverOrder.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/deliverOrder.js +7 -4
- package/lib/resolvers/mutations/orders/deliverOrder.js.map +1 -1
- package/lib/resolvers/mutations/orders/emptyCart.d.ts +1 -1
- package/lib/resolvers/mutations/orders/emptyCart.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/emptyCart.js +1 -1
- package/lib/resolvers/mutations/orders/emptyCart.js.map +1 -1
- package/lib/resolvers/mutations/orders/payOrder.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/payOrder.js +7 -4
- package/lib/resolvers/mutations/orders/payOrder.js.map +1 -1
- package/lib/resolvers/mutations/orders/rejectOrder.d.ts +1 -1
- package/lib/resolvers/mutations/orders/rejectOrder.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/removeCartDiscount.d.ts +1 -1
- package/lib/resolvers/mutations/orders/removeCartDiscount.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/removeCartDiscount.js +3 -1
- package/lib/resolvers/mutations/orders/removeCartDiscount.js.map +1 -1
- package/lib/resolvers/mutations/orders/removeCartItem.d.ts +1 -1
- package/lib/resolvers/mutations/orders/removeCartItem.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/removeCartItem.js +3 -1
- package/lib/resolvers/mutations/orders/removeCartItem.js.map +1 -1
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.d.ts +1 -1
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.d.ts +1 -1
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.d.ts +1 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.js +9 -5
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateCart.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateCart.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateCart.js +1 -1
- package/lib/resolvers/mutations/orders/updateCart.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartDeliveryPickUp.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateCartDeliveryPickUp.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartDeliveryPickUp.js +4 -2
- package/lib/resolvers/mutations/orders/updateCartDeliveryPickUp.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartDeliveryShipping.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateCartDeliveryShipping.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartDeliveryShipping.js +4 -2
- package/lib/resolvers/mutations/orders/updateCartDeliveryShipping.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartItem.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateCartItem.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartItem.js +6 -4
- package/lib/resolvers/mutations/orders/updateCartItem.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartPaymentGeneric.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateCartPaymentGeneric.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartPaymentGeneric.js +4 -2
- package/lib/resolvers/mutations/orders/updateCartPaymentGeneric.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartPaymentInvoice.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateCartPaymentInvoice.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateCartPaymentInvoice.js +4 -2
- package/lib/resolvers/mutations/orders/updateCartPaymentInvoice.js.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.d.ts.map +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.d.ts +1 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/createPaymentProvider.d.ts +1 -1
- package/lib/resolvers/mutations/payment/createPaymentProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/createPaymentProvider.js.map +1 -1
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.d.ts +1 -1
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.js +1 -1
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.js.map +1 -1
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.d.ts +1 -1
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/removePaymentCredentials.d.ts +1 -1
- package/lib/resolvers/mutations/payment/removePaymentProvider.d.ts +1 -1
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.d.ts +1 -1
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.d.ts.map +1 -1
- package/lib/resolvers/mutations/payment/updatePaymentProvider.d.ts +1 -1
- package/lib/resolvers/mutations/products/addProductAssignment.d.ts +1 -1
- package/lib/resolvers/mutations/products/addProductAssignment.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/addProductAssignment.js.map +1 -1
- package/lib/resolvers/mutations/products/addProductMedia.d.ts +6 -0
- package/lib/resolvers/mutations/products/addProductMedia.d.ts.map +1 -0
- package/lib/resolvers/mutations/products/addProductMedia.js +18 -0
- package/lib/resolvers/mutations/products/addProductMedia.js.map +1 -0
- package/lib/resolvers/mutations/products/addProductReviewVote.d.ts +1 -1
- package/lib/resolvers/mutations/products/addProductReviewVote.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/addProductReviewVote.js +1 -1
- package/lib/resolvers/mutations/products/addProductReviewVote.js.map +1 -1
- package/lib/resolvers/mutations/products/createProductBundleItem.d.ts +1 -1
- package/lib/resolvers/mutations/products/createProductBundleItem.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/createProductReview.d.ts +2 -2
- package/lib/resolvers/mutations/products/createProductReview.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/createProductReview.js +2 -2
- package/lib/resolvers/mutations/products/createProductReview.js.map +1 -1
- package/lib/resolvers/mutations/products/createProductVariationOption.d.ts +1 -1
- package/lib/resolvers/mutations/products/createProductVariationOption.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/publishProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/publishProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeBundleItem.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeBundleItem.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductAssignment.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductAssignment.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductMedia.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductMedia.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductReview.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductReview.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductReviewVote.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductReviewVote.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductVariation.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductVariation.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/removeProductVariationOption.d.ts +1 -1
- package/lib/resolvers/mutations/products/removeProductVariationOption.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/unpublishProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/unpublishProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProduct.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProduct.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductCommerce.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductCommerce.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductPlan.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductPlan.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductReview.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductReview.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductSupply.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductSupply.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductTokenization.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductTokenization.d.ts.map +1 -1
- package/lib/resolvers/mutations/products/updateProductWarehousing.d.ts +1 -1
- package/lib/resolvers/mutations/products/updateProductWarehousing.d.ts.map +1 -1
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.d.ts +1 -1
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.d.ts.map +1 -1
- package/lib/resolvers/mutations/quotations/rejectQuotation.d.ts +1 -1
- package/lib/resolvers/mutations/quotations/rejectQuotation.d.ts.map +1 -1
- package/lib/resolvers/mutations/quotations/requestQuotation.js +1 -1
- package/lib/resolvers/mutations/quotations/requestQuotation.js.map +1 -1
- package/lib/resolvers/mutations/quotations/verifyQuotation.d.ts +1 -1
- package/lib/resolvers/mutations/quotations/verifyQuotation.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/addPushSubscription.d.ts +2 -2
- package/lib/resolvers/mutations/users/addPushSubscription.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/addPushSubscription.js.map +1 -1
- package/lib/resolvers/mutations/users/heartbeat.d.ts +1 -1
- package/lib/resolvers/mutations/users/heartbeat.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/removePushSubscription.d.ts +1 -1
- package/lib/resolvers/mutations/users/removePushSubscription.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/removePushSubscription.js.map +1 -1
- package/lib/resolvers/mutations/users/removeUser.d.ts +1 -1
- package/lib/resolvers/mutations/users/removeUser.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/removeUser.js.map +1 -1
- package/lib/resolvers/mutations/users/setRoles.d.ts +1 -1
- package/lib/resolvers/mutations/users/setRoles.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/setUserTags.d.ts +1 -1
- package/lib/resolvers/mutations/users/setUserTags.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/updateUserAvatar.d.ts +6 -0
- package/lib/resolvers/mutations/users/updateUserAvatar.d.ts.map +1 -0
- package/lib/resolvers/mutations/users/updateUserAvatar.js +22 -0
- package/lib/resolvers/mutations/users/updateUserAvatar.js.map +1 -0
- package/lib/resolvers/mutations/users/updateUserProfile.d.ts +1 -1
- package/lib/resolvers/mutations/users/updateUserProfile.d.ts.map +1 -1
- package/lib/resolvers/mutations/users/updateUserProfile.js.map +1 -1
- package/lib/resolvers/mutations/utils/getOrderCart.d.ts +7 -0
- package/lib/resolvers/mutations/utils/getOrderCart.d.ts.map +1 -0
- package/lib/resolvers/mutations/utils/getOrderCart.js +13 -0
- package/lib/resolvers/mutations/utils/getOrderCart.js.map +1 -0
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.d.ts +2 -2
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.js.map +1 -1
- package/lib/resolvers/mutations/warehousing/exportToken.d.ts +1 -1
- package/lib/resolvers/mutations/warehousing/exportToken.d.ts.map +1 -1
- package/lib/resolvers/mutations/warehousing/invalidateToken.d.ts +1 -1
- package/lib/resolvers/mutations/warehousing/invalidateToken.d.ts.map +1 -1
- package/lib/resolvers/mutations/warehousing/removeWarehousingProvider.d.ts +1 -1
- package/lib/resolvers/mutations/warehousing/removeWarehousingProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.d.ts +1 -1
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.d.ts.map +1 -1
- package/lib/resolvers/mutations/worker/allocateWork.d.ts +3 -3
- package/lib/resolvers/mutations/worker/allocateWork.d.ts.map +1 -1
- package/lib/resolvers/mutations/worker/allocateWork.js.map +1 -1
- package/lib/resolvers/mutations/worker/finishWork.d.ts +2 -2
- package/lib/resolvers/mutations/worker/finishWork.d.ts.map +1 -1
- package/lib/resolvers/mutations/worker/finishWork.js +2 -2
- package/lib/resolvers/mutations/worker/finishWork.js.map +1 -1
- package/lib/resolvers/mutations/worker/processNextWork.d.ts +1 -1
- package/lib/resolvers/mutations/worker/processNextWork.d.ts.map +1 -1
- package/lib/resolvers/mutations/worker/removeWork.d.ts +1 -1
- package/lib/resolvers/mutations/worker/removeWork.d.ts.map +1 -1
- package/lib/resolvers/queries/assortments/assortment.d.ts +1 -1
- package/lib/resolvers/queries/assortments/assortment.d.ts.map +1 -1
- package/lib/resolvers/queries/countries/country.d.ts +1 -1
- package/lib/resolvers/queries/countries/country.d.ts.map +1 -1
- package/lib/resolvers/queries/currencies/currency.d.ts +1 -1
- package/lib/resolvers/queries/currencies/currency.d.ts.map +1 -1
- package/lib/resolvers/queries/delivery/deliveryProvider.d.ts +1 -1
- package/lib/resolvers/queries/delivery/deliveryProvider.d.ts.map +1 -1
- package/lib/resolvers/queries/enrollments/enrollment.d.ts +1 -1
- package/lib/resolvers/queries/enrollments/enrollment.d.ts.map +1 -1
- package/lib/resolvers/queries/events/event.d.ts +1 -1
- package/lib/resolvers/queries/events/event.d.ts.map +1 -1
- package/lib/resolvers/queries/filters/filter.d.ts +1 -1
- package/lib/resolvers/queries/filters/filter.d.ts.map +1 -1
- package/lib/resolvers/queries/languages/language.d.ts +1 -1
- package/lib/resolvers/queries/languages/language.d.ts.map +1 -1
- package/lib/resolvers/queries/orders/order.d.ts +1 -1
- package/lib/resolvers/queries/orders/order.d.ts.map +1 -1
- package/lib/resolvers/queries/orders/orderStatistics.d.ts +1 -1
- package/lib/resolvers/queries/payment/paymentProvider.d.ts +1 -1
- package/lib/resolvers/queries/payment/paymentProvider.d.ts.map +1 -1
- package/lib/resolvers/queries/products/product.d.ts +1 -1
- package/lib/resolvers/queries/products/product.d.ts.map +1 -1
- package/lib/resolvers/queries/products/product.js +1 -1
- package/lib/resolvers/queries/products/product.js.map +1 -1
- package/lib/resolvers/queries/products/productCatalogPrices.d.ts +1 -1
- package/lib/resolvers/queries/products/productCatalogPrices.d.ts.map +1 -1
- package/lib/resolvers/queries/products/productReview.d.ts +1 -1
- package/lib/resolvers/queries/products/productReview.d.ts.map +1 -1
- package/lib/resolvers/queries/quotations/quotation.d.ts +1 -1
- package/lib/resolvers/queries/quotations/quotation.d.ts.map +1 -1
- package/lib/resolvers/queries/shopInfo.d.ts.map +1 -1
- package/lib/resolvers/queries/shopInfo.js +4 -0
- package/lib/resolvers/queries/shopInfo.js.map +1 -1
- package/lib/resolvers/queries/users/impersonator.d.ts +1 -1
- package/lib/resolvers/queries/users/impersonator.d.ts.map +1 -1
- package/lib/resolvers/queries/users/me.d.ts +1 -1
- package/lib/resolvers/queries/users/me.d.ts.map +1 -1
- package/lib/resolvers/queries/users/user.d.ts +1 -1
- package/lib/resolvers/queries/users/user.d.ts.map +1 -1
- package/lib/resolvers/queries/users/user.js +1 -1
- package/lib/resolvers/queries/users/user.js.map +1 -1
- package/lib/resolvers/queries/warehousing/token.d.ts +1 -1
- package/lib/resolvers/queries/warehousing/token.d.ts.map +1 -1
- package/lib/resolvers/queries/warehousing/tokens.d.ts.map +1 -1
- package/lib/resolvers/queries/warehousing/tokens.js +1 -1
- package/lib/resolvers/queries/warehousing/tokens.js.map +1 -1
- package/lib/resolvers/queries/warehousing/tokensCount.d.ts +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProvider.d.ts +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProvider.d.ts.map +1 -1
- package/lib/resolvers/queries/worker/work.d.ts +1 -1
- package/lib/resolvers/queries/worker/work.d.ts.map +1 -1
- package/lib/resolvers/scalars/LowerCaseString.d.ts +1 -1
- package/lib/resolvers/scalars/LowerCaseString.d.ts.map +1 -1
- package/lib/resolvers/scalars/index.d.ts +1 -1
- package/lib/resolvers/type/country-types.d.ts +2 -2
- package/lib/resolvers/type/country-types.d.ts.map +1 -1
- package/lib/resolvers/type/delivery-provider-types.d.ts +4 -4
- package/lib/resolvers/type/delivery-provider-types.js +1 -1
- package/lib/resolvers/type/delivery-provider-types.js.map +1 -1
- package/lib/resolvers/type/dimensions-types.d.ts +4 -4
- package/lib/resolvers/type/dispatch-types.d.ts +15 -0
- package/lib/resolvers/type/dispatch-types.d.ts.map +1 -0
- package/lib/resolvers/type/dispatch-types.js +16 -0
- package/lib/resolvers/type/dispatch-types.js.map +1 -0
- package/lib/resolvers/type/enrollment/enrollment-delivery-types.d.ts +1 -1
- package/lib/resolvers/type/enrollment/enrollment-delivery-types.d.ts.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-delivery-types.js +2 -0
- package/lib/resolvers/type/enrollment/enrollment-delivery-types.js.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-payment-types.d.ts +1 -1
- package/lib/resolvers/type/enrollment/enrollment-payment-types.d.ts.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-payment-types.js +4 -2
- package/lib/resolvers/type/enrollment/enrollment-payment-types.js.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-period-types.d.ts +1 -1
- package/lib/resolvers/type/enrollment/enrollment-period-types.d.ts.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-period-types.js +2 -0
- package/lib/resolvers/type/enrollment/enrollment-period-types.js.map +1 -1
- package/lib/resolvers/type/enrollment/enrollment-types.d.ts +4 -4
- package/lib/resolvers/type/enrollment/enrollment-types.js +2 -2
- package/lib/resolvers/type/enrollment/enrollment-types.js.map +1 -1
- package/lib/resolvers/type/filter/filter-types.d.ts +3 -3
- package/lib/resolvers/type/filter/loaded-filter-types.d.ts +3 -3
- package/lib/resolvers/type/index.d.ts +72 -89
- package/lib/resolvers/type/index.d.ts.map +1 -1
- package/lib/resolvers/type/index.js +0 -2
- package/lib/resolvers/type/index.js.map +1 -1
- package/lib/resolvers/type/media-types.d.ts +1 -1
- package/lib/resolvers/type/media-types.d.ts.map +1 -1
- package/lib/resolvers/type/media-types.js +2 -0
- package/lib/resolvers/type/media-types.js.map +1 -1
- package/lib/resolvers/type/oauth-account.d.ts +6 -0
- package/lib/resolvers/type/oauth-account.d.ts.map +1 -0
- package/lib/resolvers/type/oauth-account.js +7 -0
- package/lib/resolvers/type/oauth-account.js.map +1 -0
- package/lib/resolvers/type/oauth-provider.d.ts +6 -0
- package/lib/resolvers/type/oauth-provider.d.ts.map +1 -0
- package/lib/resolvers/type/oauth-provider.js +6 -0
- package/lib/resolvers/type/oauth-provider.js.map +1 -0
- package/lib/resolvers/type/order/order-delivery-discount-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-delivery-pickup-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-discount-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-global-discount-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-item-discount-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-item-types.d.ts +4 -4
- package/lib/resolvers/type/order/order-item-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-item-types.js +8 -3
- package/lib/resolvers/type/order/order-item-types.js.map +1 -1
- package/lib/resolvers/type/order/order-payment-discount-types.d.ts +1 -1
- package/lib/resolvers/type/order/order-statistics-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-statistics-types.js.map +1 -1
- package/lib/resolvers/type/order/order-types.d.ts +4 -4
- package/lib/resolvers/type/order/order-types.d.ts.map +1 -1
- package/lib/resolvers/type/order/order-types.js +18 -7
- package/lib/resolvers/type/order/order-types.js.map +1 -1
- package/lib/resolvers/type/payment/payment-provider-types.d.ts +3 -3
- package/lib/resolvers/type/payment/payment-provider-types.js.map +1 -1
- package/lib/resolvers/type/price-types.d.ts +1 -1
- package/lib/resolvers/type/product/product-bundle-types.d.ts +5 -5
- package/lib/resolvers/type/product/product-bundle-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-configurable-types.d.ts +2 -2
- package/lib/resolvers/type/product/product-configurable-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-configurable-types.js +3 -2
- package/lib/resolvers/type/product/product-configurable-types.js.map +1 -1
- package/lib/resolvers/type/product/product-discount.d.ts +2 -2
- package/lib/resolvers/type/product/product-discount.js +1 -1
- package/lib/resolvers/type/product/product-discount.js.map +1 -1
- package/lib/resolvers/type/product/product-plan-types.d.ts +5 -5
- package/lib/resolvers/type/product/product-plan-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-plan-types.js +7 -5
- package/lib/resolvers/type/product/product-plan-types.js.map +1 -1
- package/lib/resolvers/type/product/product-review-types.js +1 -1
- package/lib/resolvers/type/product/product-review-types.js.map +1 -1
- package/lib/resolvers/type/product/product-simple-types.d.ts +6 -6
- package/lib/resolvers/type/product/product-simple-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-tokenized-types.d.ts +8 -8
- package/lib/resolvers/type/product/product-tokenized-types.d.ts.map +1 -1
- package/lib/resolvers/type/product/product-tokenized-types.js +2 -2
- package/lib/resolvers/type/product/product-tokenized-types.js.map +1 -1
- package/lib/resolvers/type/product/product-variation-assignment-vector.d.ts +2 -2
- package/lib/resolvers/type/product/product-variation-assignment-vector.d.ts.map +1 -1
- package/lib/resolvers/type/product-search-result-types.js +2 -2
- package/lib/resolvers/type/product-search-result-types.js.map +1 -1
- package/lib/resolvers/type/quotation-types.d.ts +2 -2
- package/lib/resolvers/type/quotation-types.js +2 -2
- package/lib/resolvers/type/quotation-types.js.map +1 -1
- package/lib/resolvers/type/shop-types.d.ts.map +1 -1
- package/lib/resolvers/type/shop-types.js +2 -1
- package/lib/resolvers/type/shop-types.js.map +1 -1
- package/lib/resolvers/type/stock-types.d.ts +14 -0
- package/lib/resolvers/type/stock-types.d.ts.map +1 -0
- package/lib/resolvers/type/stock-types.js +15 -0
- package/lib/resolvers/type/stock-types.js.map +1 -0
- package/lib/resolvers/type/token-types.d.ts +2 -2
- package/lib/resolvers/type/user-types.d.ts +3 -3
- package/lib/resolvers/type/user-types.d.ts.map +1 -1
- package/lib/resolvers/type/user-types.js +4 -0
- package/lib/resolvers/type/user-types.js.map +1 -1
- package/lib/resolvers/type/warehousing-provider-types.d.ts +2 -2
- package/lib/resolvers/type/warehousing-provider-types.d.ts.map +1 -1
- package/lib/resolvers/type/web3-address.d.ts +1 -1
- package/lib/resolvers/type/work-types.d.ts +1 -1
- package/lib/resolvers/type/work-types.d.ts.map +1 -1
- package/lib/roles/all.js +2 -2
- package/lib/roles/all.js.map +1 -1
- package/lib/roles/index.d.ts +9 -9
- package/lib/roles/index.d.ts.map +1 -1
- package/lib/roles/index.js +3 -3
- package/lib/roles/index.js.map +1 -1
- package/lib/schema/index.d.ts +1 -1
- package/lib/schema/index.d.ts.map +1 -1
- package/lib/schema/index.js +3 -3
- package/lib/schema/index.js.map +1 -1
- package/lib/schema/types/warehousing.js +1 -1
- package/lib/user-context.d.ts +7 -0
- package/lib/user-context.d.ts.map +1 -0
- package/lib/user-context.js +76 -0
- package/lib/user-context.js.map +1 -0
- package/package.json +6 -6
- package/src/api-index.ts +7 -6
- package/src/chat/defaultSystemPrompt.ts +12 -3
- package/src/context.ts +5 -2
- package/src/createGraphQLServer.ts +16 -13
- package/src/errors.ts +6 -0
- package/src/express/chatHandler.ts +66 -9
- package/src/express/createBulkImportMiddleware.ts +1 -0
- package/src/express/createERCMetadataMiddleware.ts +4 -2
- package/src/express/createMCPMiddleware.ts +1 -1
- package/src/express/createTempUploadMiddleware.ts +1 -0
- package/src/express/index.ts +1 -1
- package/src/fastify/bulkImportHandler.ts +2 -0
- package/src/fastify/chatHandler.ts +68 -10
- package/src/fastify/ercMetadataHandler.ts +1 -1
- package/src/fastify/index.ts +2 -2
- package/src/fastify/tempUploadHandler.ts +1 -0
- package/src/loaders/assortmentLinksLoader.ts +10 -7
- package/src/loaders/assortmentMediasLoader.ts +1 -1
- package/src/loaders/filterTextLoader.ts +16 -15
- package/src/loaders/productMediasLoader.ts +1 -1
- package/src/loaders/productProxiesLoader.ts +1 -1
- package/src/loaders/utils.ts +1 -1
- package/src/locale-context.ts +2 -2
- package/src/mcp/index.ts +6 -0
- package/src/mcp/resources/localization.ts +129 -0
- package/src/mcp/tools/assortment/handlers/removeAssortment.ts +2 -2
- package/src/mcp/tools/assortment/handlers/removeAssortmentFilter.ts +2 -2
- package/src/mcp/tools/assortment/handlers/removeAssortmentLink.ts +2 -2
- package/src/mcp/tools/assortment/handlers/removeAssortmentProduct.ts +2 -2
- package/src/mcp/tools/assortment/handlers/updateAssortmentMediaTexts.ts +2 -1
- package/src/mcp/tools/assortment/schemas.ts +1 -1
- package/src/mcp/tools/filter/handlers/createFilter.ts +2 -1
- package/src/mcp/tools/filter/handlers/createFilterOption.ts +9 -3
- package/src/mcp/tools/filter/handlers/removeFilterOption.ts +3 -0
- package/src/mcp/tools/filter/handlers/updateFilterTexts.ts +2 -1
- package/src/mcp/tools/localization/index.ts +1 -1
- package/src/mcp/tools/order/handlers/deliverOrder.ts +8 -3
- package/src/mcp/tools/order/handlers/getTopCustomers.ts +11 -7
- package/src/mcp/tools/order/handlers/payOrder.ts +8 -3
- package/src/mcp/tools/product/handlers/addBundleItem.ts +21 -20
- package/src/mcp/tools/product/handlers/addProductAssignment.ts +4 -4
- package/src/mcp/tools/product/handlers/addProductVariationOption.ts +3 -2
- package/src/mcp/tools/product/handlers/createProductVariation.ts +1 -0
- package/src/mcp/tools/product/handlers/getCatalogPrice.ts +3 -1
- package/src/mcp/tools/product/handlers/getProductAssignments.ts +8 -4
- package/src/mcp/tools/product/handlers/index.ts +2 -0
- package/src/mcp/tools/product/handlers/removeProduct.ts +23 -3
- package/src/mcp/tools/product/handlers/simulatePrice.ts +2 -0
- package/src/mcp/tools/product/handlers/simulatePriceRange.ts +3 -0
- package/src/mcp/tools/product/handlers/updateProductMediaTexts.ts +5 -1
- package/src/mcp/tools/product/handlers/updateProductTexts.ts +16 -0
- package/src/mcp/tools/product/schemas.ts +15 -6
- package/src/mcp/tools/quotation/handlers/countQuotations.ts +8 -0
- package/src/mcp/tools/quotation/handlers/getQuotation.ts +8 -0
- package/src/mcp/tools/quotation/handlers/index.ts +15 -0
- package/src/mcp/tools/quotation/handlers/listQuotations.ts +14 -0
- package/src/mcp/tools/quotation/handlers/makeQuotationProposal.ts +23 -0
- package/src/mcp/tools/quotation/handlers/rejectQuotation.ts +21 -0
- package/src/mcp/tools/quotation/handlers/verifyQuotation.ts +21 -0
- package/src/mcp/tools/quotation/index.ts +12 -0
- package/src/mcp/tools/quotation/quotationManagement.ts +34 -0
- package/src/mcp/tools/quotation/schemas.ts +136 -0
- package/src/mcp/tools/system/handlers/listWork.ts +3 -3
- package/src/mcp/tools/system/index.ts +1 -1
- package/src/mcp/tools/system/schemas.ts +2 -2
- package/src/mcp/tools/system/types.ts +1 -1
- package/src/mcp/tools/users/handlers/addUserEmail.ts +2 -2
- package/src/mcp/tools/users/handlers/enrollUser.ts +1 -1
- package/src/mcp/tools/users/handlers/getCurrentUser.ts +1 -1
- package/src/mcp/tools/users/handlers/getUserAvatar.ts +1 -1
- package/src/mcp/tools/users/handlers/removeUserEmail.ts +2 -2
- package/src/mcp/utils/getNormalizedAssortmentDetails.ts +9 -29
- package/src/mcp/utils/getNormalizedFilterDetails.ts +3 -3
- package/src/mcp/utils/getNormalizedOrderDetails.ts +3 -3
- package/src/mcp/utils/getNormalizedProductDetails.ts +8 -29
- package/src/mcp/utils/getNormalizedQuotationDetails.ts +38 -0
- package/src/mcp/utils/getNormalizedUserDetails.ts +3 -3
- package/src/mcp/utils/normalizeMediaUrl.ts +1 -1
- package/src/mcp/utils/normalizeProxyAssignments.ts +29 -0
- package/src/mcp/utils/sharedSchemas.ts +1 -1
- package/src/resolvers/mutations/accounts/addEmail.ts +3 -3
- package/src/resolvers/mutations/accounts/addWeb3Address.ts +2 -2
- package/src/resolvers/mutations/accounts/addWebAuthnCredentials.ts +2 -2
- package/src/resolvers/mutations/accounts/changePassword.ts +4 -4
- package/src/resolvers/mutations/accounts/createUser.ts +3 -3
- package/src/resolvers/mutations/accounts/loginAsGuest.ts +3 -2
- package/src/resolvers/mutations/accounts/loginWithPassword.ts +4 -3
- package/src/resolvers/mutations/accounts/loginWithWebAuthn.ts +4 -3
- package/src/resolvers/mutations/accounts/removeEmail.ts +3 -3
- package/src/resolvers/mutations/accounts/removeWeb3Address.ts +2 -2
- package/src/resolvers/mutations/accounts/removeWebAuthnCredentials.ts +2 -2
- package/src/resolvers/mutations/accounts/verifyEmail.ts +3 -2
- package/src/resolvers/mutations/accounts/verifyWeb3Address.ts +3 -3
- package/src/resolvers/mutations/assortments/removeAssortment.ts +3 -5
- package/src/resolvers/mutations/delivery/createDeliveryProvider.ts +1 -1
- package/src/resolvers/mutations/enrollments/createEnrollment.ts +1 -1
- package/src/resolvers/mutations/enrollments/updateEnrollment.ts +9 -6
- package/src/resolvers/mutations/filters/createFilterOption.ts +1 -1
- package/src/resolvers/mutations/filters/removeFilterOption.ts +1 -1
- package/src/resolvers/mutations/filters/updateFilter.ts +1 -1
- package/src/resolvers/mutations/orders/addCartDiscount.ts +1 -1
- package/src/resolvers/mutations/orders/addCartProduct.ts +1 -1
- package/src/resolvers/mutations/orders/addCartQuotation.ts +5 -2
- package/src/resolvers/mutations/orders/addMultipleCartProducts.ts +3 -3
- package/src/resolvers/mutations/orders/checkoutCart.ts +1 -1
- package/src/resolvers/mutations/orders/createCart.ts +1 -1
- package/src/resolvers/mutations/orders/deliverOrder.ts +8 -3
- package/src/resolvers/mutations/orders/emptyCart.ts +1 -1
- package/src/resolvers/mutations/orders/payOrder.ts +8 -3
- package/src/resolvers/mutations/orders/removeCartDiscount.ts +10 -2
- package/src/resolvers/mutations/orders/removeCartItem.ts +8 -1
- package/src/resolvers/mutations/orders/signPaymentProviderForCheckout.ts +10 -4
- package/src/resolvers/mutations/orders/updateCart.ts +1 -1
- package/src/resolvers/mutations/orders/updateCartDeliveryPickUp.ts +4 -1
- package/src/resolvers/mutations/orders/updateCartDeliveryShipping.ts +4 -1
- package/src/resolvers/mutations/orders/updateCartItem.ts +8 -3
- package/src/resolvers/mutations/orders/updateCartPaymentGeneric.ts +4 -1
- package/src/resolvers/mutations/orders/updateCartPaymentInvoice.ts +4 -1
- package/src/resolvers/mutations/payment/createPaymentProvider.ts +1 -1
- package/src/resolvers/mutations/payment/markPaymentCredentialsPreferred.ts +1 -1
- package/src/resolvers/mutations/products/addProductAssignment.ts +2 -2
- package/src/resolvers/mutations/products/addProductReviewVote.ts +1 -1
- package/src/resolvers/mutations/products/createProductReview.ts +6 -3
- package/src/resolvers/mutations/quotations/requestQuotation.ts +1 -1
- package/src/resolvers/mutations/users/addPushSubscription.ts +2 -2
- package/src/resolvers/mutations/users/removePushSubscription.ts +2 -2
- package/src/resolvers/mutations/users/removeUser.ts +3 -3
- package/src/resolvers/mutations/users/updateUserProfile.ts +2 -2
- package/src/resolvers/mutations/warehousing/createWarehousingProvider.ts +1 -1
- package/src/resolvers/mutations/worker/allocateWork.ts +1 -1
- package/src/resolvers/mutations/worker/finishWork.ts +3 -3
- package/src/resolvers/queries/products/product.ts +1 -1
- package/src/resolvers/queries/shopInfo.ts +3 -0
- package/src/resolvers/queries/users/user.ts +2 -2
- package/src/resolvers/queries/warehousing/tokens.ts +1 -1
- package/src/resolvers/type/country-types.ts +2 -2
- package/src/resolvers/type/delivery-provider-types.ts +1 -1
- package/src/resolvers/type/enrollment/enrollment-delivery-types.ts +1 -0
- package/src/resolvers/type/enrollment/enrollment-payment-types.ts +3 -2
- package/src/resolvers/type/enrollment/enrollment-period-types.ts +1 -0
- package/src/resolvers/type/enrollment/enrollment-types.ts +2 -2
- package/src/resolvers/type/index.ts +0 -2
- package/src/resolvers/type/media-types.ts +2 -1
- package/src/resolvers/type/order/order-item-types.ts +20 -13
- package/src/resolvers/type/order/order-statistics-types.ts +3 -3
- package/src/resolvers/type/order/order-types.ts +22 -11
- package/src/resolvers/type/payment/payment-provider-types.ts +2 -2
- package/src/resolvers/type/product/product-configurable-types.ts +7 -5
- package/src/resolvers/type/product/product-discount.ts +1 -1
- package/src/resolvers/type/product/product-plan-types.ts +12 -10
- package/src/resolvers/type/product/product-review-types.ts +1 -1
- package/src/resolvers/type/product/product-simple-types.ts +1 -1
- package/src/resolvers/type/product/product-tokenized-types.ts +8 -8
- package/src/resolvers/type/product/product-variation-assignment-vector.ts +2 -2
- package/src/resolvers/type/product-search-result-types.ts +2 -2
- package/src/resolvers/type/quotation-types.ts +2 -2
- package/src/resolvers/type/shop-types.ts +3 -2
- package/src/resolvers/type/user-types.ts +5 -4
- package/src/resolvers/type/warehousing-provider-types.ts +2 -2
- package/src/resolvers/type/work-types.ts +1 -1
- package/src/roles/all.ts +2 -2
- package/src/roles/index.ts +9 -3
- package/src/schema/index.ts +4 -4
- package/src/schema/types/warehousing.ts +1 -1
- package/src/resolvers/type/color-types.ts +0 -31
|
@@ -11,17 +11,17 @@ export declare const UpdateProductPlanInputSchema: z.ZodObject<{
|
|
|
11
11
|
trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
|
|
12
12
|
trialIntervalCount: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
usageCalculationType
|
|
15
|
-
billingInterval
|
|
16
|
-
billingIntervalCount
|
|
17
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
18
|
-
trialIntervalCount?: number;
|
|
14
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
15
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
16
|
+
billingIntervalCount: number;
|
|
17
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
18
|
+
trialIntervalCount?: number | undefined;
|
|
19
19
|
}, {
|
|
20
|
-
usageCalculationType
|
|
21
|
-
billingInterval
|
|
22
|
-
billingIntervalCount
|
|
23
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
24
|
-
trialIntervalCount?: number;
|
|
20
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
21
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
22
|
+
billingIntervalCount: number;
|
|
23
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
24
|
+
trialIntervalCount?: number | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export declare const ProductTextInputSchema: z.ZodObject<{
|
|
27
27
|
locale: z.ZodString;
|
|
@@ -34,59 +34,59 @@ export declare const ProductTextInputSchema: z.ZodObject<{
|
|
|
34
34
|
brand: z.ZodOptional<z.ZodString>;
|
|
35
35
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
subtitle?: string;
|
|
41
|
-
slug?: string;
|
|
42
|
-
brand?: string;
|
|
43
|
-
vendor?: string;
|
|
44
|
-
labels?: string[];
|
|
37
|
+
locale: string;
|
|
38
|
+
title: string;
|
|
39
|
+
description?: string | undefined;
|
|
40
|
+
subtitle?: string | undefined;
|
|
41
|
+
slug?: string | undefined;
|
|
42
|
+
brand?: string | undefined;
|
|
43
|
+
vendor?: string | undefined;
|
|
44
|
+
labels?: string[] | undefined;
|
|
45
45
|
}, {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
subtitle?: string;
|
|
50
|
-
slug?: string;
|
|
51
|
-
brand?: string;
|
|
52
|
-
vendor?: string;
|
|
53
|
-
labels?: string[];
|
|
46
|
+
locale: string;
|
|
47
|
+
title: string;
|
|
48
|
+
description?: string | undefined;
|
|
49
|
+
subtitle?: string | undefined;
|
|
50
|
+
slug?: string | undefined;
|
|
51
|
+
brand?: string | undefined;
|
|
52
|
+
vendor?: string | undefined;
|
|
53
|
+
labels?: string[] | undefined;
|
|
54
54
|
}>;
|
|
55
55
|
export declare const ProductVariationTextInputSchema: z.ZodObject<{
|
|
56
56
|
locale: z.ZodString;
|
|
57
57
|
title: z.ZodString;
|
|
58
58
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
locale
|
|
61
|
-
title
|
|
62
|
-
subtitle?: string;
|
|
60
|
+
locale: string;
|
|
61
|
+
title: string;
|
|
62
|
+
subtitle?: string | undefined;
|
|
63
63
|
}, {
|
|
64
|
-
locale
|
|
65
|
-
title
|
|
66
|
-
subtitle?: string;
|
|
64
|
+
locale: string;
|
|
65
|
+
title: string;
|
|
66
|
+
subtitle?: string | undefined;
|
|
67
67
|
}>;
|
|
68
68
|
export declare const ProductMediaTextInputSchema: z.ZodObject<{
|
|
69
69
|
locale: z.ZodString;
|
|
70
70
|
title: z.ZodString;
|
|
71
71
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
locale
|
|
74
|
-
title
|
|
75
|
-
subtitle?: string;
|
|
73
|
+
locale: string;
|
|
74
|
+
title: string;
|
|
75
|
+
subtitle?: string | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
locale
|
|
78
|
-
title
|
|
79
|
-
subtitle?: string;
|
|
77
|
+
locale: string;
|
|
78
|
+
title: string;
|
|
79
|
+
subtitle?: string | undefined;
|
|
80
80
|
}>;
|
|
81
81
|
export declare const ProductAssignmentVectorSchema: z.ZodObject<{
|
|
82
82
|
key: z.ZodString;
|
|
83
83
|
value: z.ZodString;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
-
key
|
|
86
|
-
value
|
|
85
|
+
key: string;
|
|
86
|
+
value: string;
|
|
87
87
|
}, {
|
|
88
|
-
key
|
|
89
|
-
value
|
|
88
|
+
key: string;
|
|
89
|
+
value: string;
|
|
90
90
|
}>;
|
|
91
91
|
export declare const ProductSchema: z.ZodObject<{
|
|
92
92
|
type: z.ZodOptional<z.ZodEnum<[string, ...string[]]>>;
|
|
@@ -100,27 +100,27 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
100
100
|
trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
|
|
101
101
|
trialIntervalCount: z.ZodOptional<z.ZodNumber>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
usageCalculationType
|
|
104
|
-
billingInterval
|
|
105
|
-
billingIntervalCount
|
|
106
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
107
|
-
trialIntervalCount?: number;
|
|
103
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
104
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
105
|
+
billingIntervalCount: number;
|
|
106
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
107
|
+
trialIntervalCount?: number | undefined;
|
|
108
108
|
}, {
|
|
109
|
-
usageCalculationType
|
|
110
|
-
billingInterval
|
|
111
|
-
billingIntervalCount
|
|
112
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
113
|
-
trialIntervalCount?: number;
|
|
109
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
110
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
111
|
+
billingIntervalCount: number;
|
|
112
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
113
|
+
trialIntervalCount?: number | undefined;
|
|
114
114
|
}>>;
|
|
115
115
|
warehousing: z.ZodOptional<z.ZodObject<{
|
|
116
116
|
sku: z.ZodOptional<z.ZodString>;
|
|
117
117
|
baseUnit: z.ZodOptional<z.ZodString>;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
sku?: string;
|
|
120
|
-
baseUnit?: string;
|
|
119
|
+
sku?: string | undefined;
|
|
120
|
+
baseUnit?: string | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
sku?: string;
|
|
123
|
-
baseUnit?: string;
|
|
122
|
+
sku?: string | undefined;
|
|
123
|
+
baseUnit?: string | undefined;
|
|
124
124
|
}>>;
|
|
125
125
|
supply: z.ZodOptional<z.ZodObject<{
|
|
126
126
|
weightInGram: z.ZodOptional<z.ZodNumber>;
|
|
@@ -128,15 +128,15 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
128
128
|
lengthInMillimeters: z.ZodOptional<z.ZodNumber>;
|
|
129
129
|
widthInMillimeters: z.ZodOptional<z.ZodNumber>;
|
|
130
130
|
}, "strip", z.ZodTypeAny, {
|
|
131
|
-
weightInGram?: number;
|
|
132
|
-
lengthInMillimeters?: number;
|
|
133
|
-
widthInMillimeters?: number;
|
|
134
|
-
heightInMillimeters?: number;
|
|
131
|
+
weightInGram?: number | undefined;
|
|
132
|
+
lengthInMillimeters?: number | undefined;
|
|
133
|
+
widthInMillimeters?: number | undefined;
|
|
134
|
+
heightInMillimeters?: number | undefined;
|
|
135
135
|
}, {
|
|
136
|
-
weightInGram?: number;
|
|
137
|
-
lengthInMillimeters?: number;
|
|
138
|
-
widthInMillimeters?: number;
|
|
139
|
-
heightInMillimeters?: number;
|
|
136
|
+
weightInGram?: number | undefined;
|
|
137
|
+
lengthInMillimeters?: number | undefined;
|
|
138
|
+
widthInMillimeters?: number | undefined;
|
|
139
|
+
heightInMillimeters?: number | undefined;
|
|
140
140
|
}>>;
|
|
141
141
|
tokenization: z.ZodOptional<z.ZodObject<{
|
|
142
142
|
contractAddress: z.ZodString;
|
|
@@ -145,17 +145,17 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
145
145
|
supply: z.ZodNumber;
|
|
146
146
|
ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
supply
|
|
149
|
-
contractAddress
|
|
150
|
-
tokenId
|
|
151
|
-
contractStandard
|
|
152
|
-
ercMetadataProperties?: Record<string, any
|
|
148
|
+
supply: number;
|
|
149
|
+
contractAddress: string;
|
|
150
|
+
tokenId: string;
|
|
151
|
+
contractStandard: string;
|
|
152
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
153
153
|
}, {
|
|
154
|
-
supply
|
|
155
|
-
contractAddress
|
|
156
|
-
tokenId
|
|
157
|
-
contractStandard
|
|
158
|
-
ercMetadataProperties?: Record<string, any
|
|
154
|
+
supply: number;
|
|
155
|
+
contractAddress: string;
|
|
156
|
+
tokenId: string;
|
|
157
|
+
contractStandard: string;
|
|
158
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
159
159
|
}>>;
|
|
160
160
|
commerce: z.ZodOptional<z.ZodObject<{
|
|
161
161
|
pricing: z.ZodArray<z.ZodObject<{
|
|
@@ -166,145 +166,145 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
166
166
|
currencyCode: z.ZodString;
|
|
167
167
|
countryCode: z.ZodString;
|
|
168
168
|
}, "strip", z.ZodTypeAny, {
|
|
169
|
-
countryCode
|
|
170
|
-
currencyCode
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
169
|
+
countryCode: string;
|
|
170
|
+
currencyCode: string;
|
|
171
|
+
amount: number;
|
|
172
|
+
isNetPrice?: boolean | undefined;
|
|
173
|
+
isTaxable?: boolean | undefined;
|
|
174
|
+
maxQuantity?: number | undefined;
|
|
175
175
|
}, {
|
|
176
|
-
countryCode
|
|
177
|
-
currencyCode
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
176
|
+
countryCode: string;
|
|
177
|
+
currencyCode: string;
|
|
178
|
+
amount: number;
|
|
179
|
+
isNetPrice?: boolean | undefined;
|
|
180
|
+
isTaxable?: boolean | undefined;
|
|
181
|
+
maxQuantity?: number | undefined;
|
|
182
182
|
}>, "atleastone">;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
pricing
|
|
185
|
-
countryCode
|
|
186
|
-
currencyCode
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
184
|
+
pricing: [{
|
|
185
|
+
countryCode: string;
|
|
186
|
+
currencyCode: string;
|
|
187
|
+
amount: number;
|
|
188
|
+
isNetPrice?: boolean | undefined;
|
|
189
|
+
isTaxable?: boolean | undefined;
|
|
190
|
+
maxQuantity?: number | undefined;
|
|
191
191
|
}, ...{
|
|
192
|
-
countryCode
|
|
193
|
-
currencyCode
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
192
|
+
countryCode: string;
|
|
193
|
+
currencyCode: string;
|
|
194
|
+
amount: number;
|
|
195
|
+
isNetPrice?: boolean | undefined;
|
|
196
|
+
isTaxable?: boolean | undefined;
|
|
197
|
+
maxQuantity?: number | undefined;
|
|
198
198
|
}[]];
|
|
199
199
|
}, {
|
|
200
|
-
pricing
|
|
201
|
-
countryCode
|
|
202
|
-
currencyCode
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
200
|
+
pricing: [{
|
|
201
|
+
countryCode: string;
|
|
202
|
+
currencyCode: string;
|
|
203
|
+
amount: number;
|
|
204
|
+
isNetPrice?: boolean | undefined;
|
|
205
|
+
isTaxable?: boolean | undefined;
|
|
206
|
+
maxQuantity?: number | undefined;
|
|
207
207
|
}, ...{
|
|
208
|
-
countryCode
|
|
209
|
-
currencyCode
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
208
|
+
countryCode: string;
|
|
209
|
+
currencyCode: string;
|
|
210
|
+
amount: number;
|
|
211
|
+
isNetPrice?: boolean | undefined;
|
|
212
|
+
isTaxable?: boolean | undefined;
|
|
213
|
+
maxQuantity?: number | undefined;
|
|
214
214
|
}[]];
|
|
215
215
|
}>>;
|
|
216
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
|
-
meta?: Record<string, unknown
|
|
218
|
-
sequence?: number;
|
|
219
|
-
tags?: string[];
|
|
220
|
-
type?: string;
|
|
217
|
+
meta?: Record<string, unknown> | undefined;
|
|
218
|
+
sequence?: number | undefined;
|
|
219
|
+
tags?: string[] | undefined;
|
|
220
|
+
type?: string | undefined;
|
|
221
221
|
commerce?: {
|
|
222
|
-
pricing
|
|
223
|
-
countryCode
|
|
224
|
-
currencyCode
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
222
|
+
pricing: [{
|
|
223
|
+
countryCode: string;
|
|
224
|
+
currencyCode: string;
|
|
225
|
+
amount: number;
|
|
226
|
+
isNetPrice?: boolean | undefined;
|
|
227
|
+
isTaxable?: boolean | undefined;
|
|
228
|
+
maxQuantity?: number | undefined;
|
|
229
229
|
}, ...{
|
|
230
|
-
countryCode
|
|
231
|
-
currencyCode
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
230
|
+
countryCode: string;
|
|
231
|
+
currencyCode: string;
|
|
232
|
+
amount: number;
|
|
233
|
+
isNetPrice?: boolean | undefined;
|
|
234
|
+
isTaxable?: boolean | undefined;
|
|
235
|
+
maxQuantity?: number | undefined;
|
|
236
236
|
}[]];
|
|
237
|
-
};
|
|
237
|
+
} | undefined;
|
|
238
238
|
plan?: {
|
|
239
|
-
usageCalculationType
|
|
240
|
-
billingInterval
|
|
241
|
-
billingIntervalCount
|
|
242
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
243
|
-
trialIntervalCount?: number;
|
|
244
|
-
};
|
|
239
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
240
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
241
|
+
billingIntervalCount: number;
|
|
242
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
243
|
+
trialIntervalCount?: number | undefined;
|
|
244
|
+
} | undefined;
|
|
245
245
|
supply?: {
|
|
246
|
-
weightInGram?: number;
|
|
247
|
-
lengthInMillimeters?: number;
|
|
248
|
-
widthInMillimeters?: number;
|
|
249
|
-
heightInMillimeters?: number;
|
|
250
|
-
};
|
|
246
|
+
weightInGram?: number | undefined;
|
|
247
|
+
lengthInMillimeters?: number | undefined;
|
|
248
|
+
widthInMillimeters?: number | undefined;
|
|
249
|
+
heightInMillimeters?: number | undefined;
|
|
250
|
+
} | undefined;
|
|
251
251
|
warehousing?: {
|
|
252
|
-
sku?: string;
|
|
253
|
-
baseUnit?: string;
|
|
254
|
-
};
|
|
252
|
+
sku?: string | undefined;
|
|
253
|
+
baseUnit?: string | undefined;
|
|
254
|
+
} | undefined;
|
|
255
255
|
tokenization?: {
|
|
256
|
-
supply
|
|
257
|
-
contractAddress
|
|
258
|
-
tokenId
|
|
259
|
-
contractStandard
|
|
260
|
-
ercMetadataProperties?: Record<string, any
|
|
261
|
-
};
|
|
256
|
+
supply: number;
|
|
257
|
+
contractAddress: string;
|
|
258
|
+
tokenId: string;
|
|
259
|
+
contractStandard: string;
|
|
260
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
261
|
+
} | undefined;
|
|
262
262
|
}, {
|
|
263
|
-
meta?: Record<string, unknown
|
|
264
|
-
sequence?: number;
|
|
265
|
-
tags?: string[];
|
|
266
|
-
type?: string;
|
|
263
|
+
meta?: Record<string, unknown> | undefined;
|
|
264
|
+
sequence?: number | undefined;
|
|
265
|
+
tags?: string[] | undefined;
|
|
266
|
+
type?: string | undefined;
|
|
267
267
|
commerce?: {
|
|
268
|
-
pricing
|
|
269
|
-
countryCode
|
|
270
|
-
currencyCode
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
268
|
+
pricing: [{
|
|
269
|
+
countryCode: string;
|
|
270
|
+
currencyCode: string;
|
|
271
|
+
amount: number;
|
|
272
|
+
isNetPrice?: boolean | undefined;
|
|
273
|
+
isTaxable?: boolean | undefined;
|
|
274
|
+
maxQuantity?: number | undefined;
|
|
275
275
|
}, ...{
|
|
276
|
-
countryCode
|
|
277
|
-
currencyCode
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
276
|
+
countryCode: string;
|
|
277
|
+
currencyCode: string;
|
|
278
|
+
amount: number;
|
|
279
|
+
isNetPrice?: boolean | undefined;
|
|
280
|
+
isTaxable?: boolean | undefined;
|
|
281
|
+
maxQuantity?: number | undefined;
|
|
282
282
|
}[]];
|
|
283
|
-
};
|
|
283
|
+
} | undefined;
|
|
284
284
|
plan?: {
|
|
285
|
-
usageCalculationType
|
|
286
|
-
billingInterval
|
|
287
|
-
billingIntervalCount
|
|
288
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
289
|
-
trialIntervalCount?: number;
|
|
290
|
-
};
|
|
285
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
286
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
287
|
+
billingIntervalCount: number;
|
|
288
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
289
|
+
trialIntervalCount?: number | undefined;
|
|
290
|
+
} | undefined;
|
|
291
291
|
supply?: {
|
|
292
|
-
weightInGram?: number;
|
|
293
|
-
lengthInMillimeters?: number;
|
|
294
|
-
widthInMillimeters?: number;
|
|
295
|
-
heightInMillimeters?: number;
|
|
296
|
-
};
|
|
292
|
+
weightInGram?: number | undefined;
|
|
293
|
+
lengthInMillimeters?: number | undefined;
|
|
294
|
+
widthInMillimeters?: number | undefined;
|
|
295
|
+
heightInMillimeters?: number | undefined;
|
|
296
|
+
} | undefined;
|
|
297
297
|
warehousing?: {
|
|
298
|
-
sku?: string;
|
|
299
|
-
baseUnit?: string;
|
|
300
|
-
};
|
|
298
|
+
sku?: string | undefined;
|
|
299
|
+
baseUnit?: string | undefined;
|
|
300
|
+
} | undefined;
|
|
301
301
|
tokenization?: {
|
|
302
|
-
supply
|
|
303
|
-
contractAddress
|
|
304
|
-
tokenId
|
|
305
|
-
contractStandard
|
|
306
|
-
ercMetadataProperties?: Record<string, any
|
|
307
|
-
};
|
|
302
|
+
supply: number;
|
|
303
|
+
contractAddress: string;
|
|
304
|
+
tokenId: string;
|
|
305
|
+
contractStandard: string;
|
|
306
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
307
|
+
} | undefined;
|
|
308
308
|
}>;
|
|
309
309
|
export declare const actionValidators: {
|
|
310
310
|
readonly CREATE: z.ZodObject<{
|
|
@@ -319,27 +319,27 @@ export declare const actionValidators: {
|
|
|
319
319
|
trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
|
|
320
320
|
trialIntervalCount: z.ZodOptional<z.ZodNumber>;
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
usageCalculationType
|
|
323
|
-
billingInterval
|
|
324
|
-
billingIntervalCount
|
|
325
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
326
|
-
trialIntervalCount?: number;
|
|
322
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
323
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
324
|
+
billingIntervalCount: number;
|
|
325
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
326
|
+
trialIntervalCount?: number | undefined;
|
|
327
327
|
}, {
|
|
328
|
-
usageCalculationType
|
|
329
|
-
billingInterval
|
|
330
|
-
billingIntervalCount
|
|
331
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
332
|
-
trialIntervalCount?: number;
|
|
328
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
329
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
330
|
+
billingIntervalCount: number;
|
|
331
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
332
|
+
trialIntervalCount?: number | undefined;
|
|
333
333
|
}>>;
|
|
334
334
|
warehousing: z.ZodOptional<z.ZodObject<{
|
|
335
335
|
sku: z.ZodOptional<z.ZodString>;
|
|
336
336
|
baseUnit: z.ZodOptional<z.ZodString>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
sku?: string;
|
|
339
|
-
baseUnit?: string;
|
|
338
|
+
sku?: string | undefined;
|
|
339
|
+
baseUnit?: string | undefined;
|
|
340
340
|
}, {
|
|
341
|
-
sku?: string;
|
|
342
|
-
baseUnit?: string;
|
|
341
|
+
sku?: string | undefined;
|
|
342
|
+
baseUnit?: string | undefined;
|
|
343
343
|
}>>;
|
|
344
344
|
supply: z.ZodOptional<z.ZodObject<{
|
|
345
345
|
weightInGram: z.ZodOptional<z.ZodNumber>;
|
|
@@ -347,15 +347,15 @@ export declare const actionValidators: {
|
|
|
347
347
|
lengthInMillimeters: z.ZodOptional<z.ZodNumber>;
|
|
348
348
|
widthInMillimeters: z.ZodOptional<z.ZodNumber>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
weightInGram?: number;
|
|
351
|
-
lengthInMillimeters?: number;
|
|
352
|
-
widthInMillimeters?: number;
|
|
353
|
-
heightInMillimeters?: number;
|
|
350
|
+
weightInGram?: number | undefined;
|
|
351
|
+
lengthInMillimeters?: number | undefined;
|
|
352
|
+
widthInMillimeters?: number | undefined;
|
|
353
|
+
heightInMillimeters?: number | undefined;
|
|
354
354
|
}, {
|
|
355
|
-
weightInGram?: number;
|
|
356
|
-
lengthInMillimeters?: number;
|
|
357
|
-
widthInMillimeters?: number;
|
|
358
|
-
heightInMillimeters?: number;
|
|
355
|
+
weightInGram?: number | undefined;
|
|
356
|
+
lengthInMillimeters?: number | undefined;
|
|
357
|
+
widthInMillimeters?: number | undefined;
|
|
358
|
+
heightInMillimeters?: number | undefined;
|
|
359
359
|
}>>;
|
|
360
360
|
tokenization: z.ZodOptional<z.ZodObject<{
|
|
361
361
|
contractAddress: z.ZodString;
|
|
@@ -364,17 +364,17 @@ export declare const actionValidators: {
|
|
|
364
364
|
supply: z.ZodNumber;
|
|
365
365
|
ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
supply
|
|
368
|
-
contractAddress
|
|
369
|
-
tokenId
|
|
370
|
-
contractStandard
|
|
371
|
-
ercMetadataProperties?: Record<string, any
|
|
367
|
+
supply: number;
|
|
368
|
+
contractAddress: string;
|
|
369
|
+
tokenId: string;
|
|
370
|
+
contractStandard: string;
|
|
371
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
372
372
|
}, {
|
|
373
|
-
supply
|
|
374
|
-
contractAddress
|
|
375
|
-
tokenId
|
|
376
|
-
contractStandard
|
|
377
|
-
ercMetadataProperties?: Record<string, any
|
|
373
|
+
supply: number;
|
|
374
|
+
contractAddress: string;
|
|
375
|
+
tokenId: string;
|
|
376
|
+
contractStandard: string;
|
|
377
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
378
378
|
}>>;
|
|
379
379
|
commerce: z.ZodOptional<z.ZodObject<{
|
|
380
380
|
pricing: z.ZodArray<z.ZodObject<{
|
|
@@ -385,147 +385,147 @@ export declare const actionValidators: {
|
|
|
385
385
|
currencyCode: z.ZodString;
|
|
386
386
|
countryCode: z.ZodString;
|
|
387
387
|
}, "strip", z.ZodTypeAny, {
|
|
388
|
-
countryCode
|
|
389
|
-
currencyCode
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
388
|
+
countryCode: string;
|
|
389
|
+
currencyCode: string;
|
|
390
|
+
amount: number;
|
|
391
|
+
isNetPrice?: boolean | undefined;
|
|
392
|
+
isTaxable?: boolean | undefined;
|
|
393
|
+
maxQuantity?: number | undefined;
|
|
394
394
|
}, {
|
|
395
|
-
countryCode
|
|
396
|
-
currencyCode
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
395
|
+
countryCode: string;
|
|
396
|
+
currencyCode: string;
|
|
397
|
+
amount: number;
|
|
398
|
+
isNetPrice?: boolean | undefined;
|
|
399
|
+
isTaxable?: boolean | undefined;
|
|
400
|
+
maxQuantity?: number | undefined;
|
|
401
401
|
}>, "atleastone">;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
|
-
pricing
|
|
404
|
-
countryCode
|
|
405
|
-
currencyCode
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
403
|
+
pricing: [{
|
|
404
|
+
countryCode: string;
|
|
405
|
+
currencyCode: string;
|
|
406
|
+
amount: number;
|
|
407
|
+
isNetPrice?: boolean | undefined;
|
|
408
|
+
isTaxable?: boolean | undefined;
|
|
409
|
+
maxQuantity?: number | undefined;
|
|
410
410
|
}, ...{
|
|
411
|
-
countryCode
|
|
412
|
-
currencyCode
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
411
|
+
countryCode: string;
|
|
412
|
+
currencyCode: string;
|
|
413
|
+
amount: number;
|
|
414
|
+
isNetPrice?: boolean | undefined;
|
|
415
|
+
isTaxable?: boolean | undefined;
|
|
416
|
+
maxQuantity?: number | undefined;
|
|
417
417
|
}[]];
|
|
418
418
|
}, {
|
|
419
|
-
pricing
|
|
420
|
-
countryCode
|
|
421
|
-
currencyCode
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
419
|
+
pricing: [{
|
|
420
|
+
countryCode: string;
|
|
421
|
+
currencyCode: string;
|
|
422
|
+
amount: number;
|
|
423
|
+
isNetPrice?: boolean | undefined;
|
|
424
|
+
isTaxable?: boolean | undefined;
|
|
425
|
+
maxQuantity?: number | undefined;
|
|
426
426
|
}, ...{
|
|
427
|
-
countryCode
|
|
428
|
-
currencyCode
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
427
|
+
countryCode: string;
|
|
428
|
+
currencyCode: string;
|
|
429
|
+
amount: number;
|
|
430
|
+
isNetPrice?: boolean | undefined;
|
|
431
|
+
isTaxable?: boolean | undefined;
|
|
432
|
+
maxQuantity?: number | undefined;
|
|
433
433
|
}[]];
|
|
434
434
|
}>>;
|
|
435
435
|
} & {
|
|
436
436
|
type: z.ZodEnum<[string, ...string[]]>;
|
|
437
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
438
|
+
type: string;
|
|
439
|
+
meta?: Record<string, unknown> | undefined;
|
|
440
|
+
sequence?: number | undefined;
|
|
441
|
+
tags?: string[] | undefined;
|
|
442
442
|
commerce?: {
|
|
443
|
-
pricing
|
|
444
|
-
countryCode
|
|
445
|
-
currencyCode
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
443
|
+
pricing: [{
|
|
444
|
+
countryCode: string;
|
|
445
|
+
currencyCode: string;
|
|
446
|
+
amount: number;
|
|
447
|
+
isNetPrice?: boolean | undefined;
|
|
448
|
+
isTaxable?: boolean | undefined;
|
|
449
|
+
maxQuantity?: number | undefined;
|
|
450
450
|
}, ...{
|
|
451
|
-
countryCode
|
|
452
|
-
currencyCode
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
451
|
+
countryCode: string;
|
|
452
|
+
currencyCode: string;
|
|
453
|
+
amount: number;
|
|
454
|
+
isNetPrice?: boolean | undefined;
|
|
455
|
+
isTaxable?: boolean | undefined;
|
|
456
|
+
maxQuantity?: number | undefined;
|
|
457
457
|
}[]];
|
|
458
|
-
};
|
|
458
|
+
} | undefined;
|
|
459
459
|
plan?: {
|
|
460
|
-
usageCalculationType
|
|
461
|
-
billingInterval
|
|
462
|
-
billingIntervalCount
|
|
463
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
464
|
-
trialIntervalCount?: number;
|
|
465
|
-
};
|
|
460
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
461
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
462
|
+
billingIntervalCount: number;
|
|
463
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
464
|
+
trialIntervalCount?: number | undefined;
|
|
465
|
+
} | undefined;
|
|
466
466
|
supply?: {
|
|
467
|
-
weightInGram?: number;
|
|
468
|
-
lengthInMillimeters?: number;
|
|
469
|
-
widthInMillimeters?: number;
|
|
470
|
-
heightInMillimeters?: number;
|
|
471
|
-
};
|
|
467
|
+
weightInGram?: number | undefined;
|
|
468
|
+
lengthInMillimeters?: number | undefined;
|
|
469
|
+
widthInMillimeters?: number | undefined;
|
|
470
|
+
heightInMillimeters?: number | undefined;
|
|
471
|
+
} | undefined;
|
|
472
472
|
warehousing?: {
|
|
473
|
-
sku?: string;
|
|
474
|
-
baseUnit?: string;
|
|
475
|
-
};
|
|
473
|
+
sku?: string | undefined;
|
|
474
|
+
baseUnit?: string | undefined;
|
|
475
|
+
} | undefined;
|
|
476
476
|
tokenization?: {
|
|
477
|
-
supply
|
|
478
|
-
contractAddress
|
|
479
|
-
tokenId
|
|
480
|
-
contractStandard
|
|
481
|
-
ercMetadataProperties?: Record<string, any
|
|
482
|
-
};
|
|
477
|
+
supply: number;
|
|
478
|
+
contractAddress: string;
|
|
479
|
+
tokenId: string;
|
|
480
|
+
contractStandard: string;
|
|
481
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
482
|
+
} | undefined;
|
|
483
483
|
}, {
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
484
|
+
type: string;
|
|
485
|
+
meta?: Record<string, unknown> | undefined;
|
|
486
|
+
sequence?: number | undefined;
|
|
487
|
+
tags?: string[] | undefined;
|
|
488
488
|
commerce?: {
|
|
489
|
-
pricing
|
|
490
|
-
countryCode
|
|
491
|
-
currencyCode
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
489
|
+
pricing: [{
|
|
490
|
+
countryCode: string;
|
|
491
|
+
currencyCode: string;
|
|
492
|
+
amount: number;
|
|
493
|
+
isNetPrice?: boolean | undefined;
|
|
494
|
+
isTaxable?: boolean | undefined;
|
|
495
|
+
maxQuantity?: number | undefined;
|
|
496
496
|
}, ...{
|
|
497
|
-
countryCode
|
|
498
|
-
currencyCode
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
497
|
+
countryCode: string;
|
|
498
|
+
currencyCode: string;
|
|
499
|
+
amount: number;
|
|
500
|
+
isNetPrice?: boolean | undefined;
|
|
501
|
+
isTaxable?: boolean | undefined;
|
|
502
|
+
maxQuantity?: number | undefined;
|
|
503
503
|
}[]];
|
|
504
|
-
};
|
|
504
|
+
} | undefined;
|
|
505
505
|
plan?: {
|
|
506
|
-
usageCalculationType
|
|
507
|
-
billingInterval
|
|
508
|
-
billingIntervalCount
|
|
509
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
510
|
-
trialIntervalCount?: number;
|
|
511
|
-
};
|
|
506
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
507
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
508
|
+
billingIntervalCount: number;
|
|
509
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
510
|
+
trialIntervalCount?: number | undefined;
|
|
511
|
+
} | undefined;
|
|
512
512
|
supply?: {
|
|
513
|
-
weightInGram?: number;
|
|
514
|
-
lengthInMillimeters?: number;
|
|
515
|
-
widthInMillimeters?: number;
|
|
516
|
-
heightInMillimeters?: number;
|
|
517
|
-
};
|
|
513
|
+
weightInGram?: number | undefined;
|
|
514
|
+
lengthInMillimeters?: number | undefined;
|
|
515
|
+
widthInMillimeters?: number | undefined;
|
|
516
|
+
heightInMillimeters?: number | undefined;
|
|
517
|
+
} | undefined;
|
|
518
518
|
warehousing?: {
|
|
519
|
-
sku?: string;
|
|
520
|
-
baseUnit?: string;
|
|
521
|
-
};
|
|
519
|
+
sku?: string | undefined;
|
|
520
|
+
baseUnit?: string | undefined;
|
|
521
|
+
} | undefined;
|
|
522
522
|
tokenization?: {
|
|
523
|
-
supply
|
|
524
|
-
contractAddress
|
|
525
|
-
tokenId
|
|
526
|
-
contractStandard
|
|
527
|
-
ercMetadataProperties?: Record<string, any
|
|
528
|
-
};
|
|
523
|
+
supply: number;
|
|
524
|
+
contractAddress: string;
|
|
525
|
+
tokenId: string;
|
|
526
|
+
contractStandard: string;
|
|
527
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
528
|
+
} | undefined;
|
|
529
529
|
}>;
|
|
530
530
|
texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
531
531
|
locale: z.ZodString;
|
|
@@ -538,140 +538,140 @@ export declare const actionValidators: {
|
|
|
538
538
|
brand: z.ZodOptional<z.ZodString>;
|
|
539
539
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
540
540
|
}, "strip", z.ZodTypeAny, {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
subtitle?: string;
|
|
545
|
-
slug?: string;
|
|
546
|
-
brand?: string;
|
|
547
|
-
vendor?: string;
|
|
548
|
-
labels?: string[];
|
|
541
|
+
locale: string;
|
|
542
|
+
title: string;
|
|
543
|
+
description?: string | undefined;
|
|
544
|
+
subtitle?: string | undefined;
|
|
545
|
+
slug?: string | undefined;
|
|
546
|
+
brand?: string | undefined;
|
|
547
|
+
vendor?: string | undefined;
|
|
548
|
+
labels?: string[] | undefined;
|
|
549
549
|
}, {
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
subtitle?: string;
|
|
554
|
-
slug?: string;
|
|
555
|
-
brand?: string;
|
|
556
|
-
vendor?: string;
|
|
557
|
-
labels?: string[];
|
|
550
|
+
locale: string;
|
|
551
|
+
title: string;
|
|
552
|
+
description?: string | undefined;
|
|
553
|
+
subtitle?: string | undefined;
|
|
554
|
+
slug?: string | undefined;
|
|
555
|
+
brand?: string | undefined;
|
|
556
|
+
vendor?: string | undefined;
|
|
557
|
+
labels?: string[] | undefined;
|
|
558
558
|
}>, "many">>;
|
|
559
559
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
product
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
560
|
+
product: {
|
|
561
|
+
type: string;
|
|
562
|
+
meta?: Record<string, unknown> | undefined;
|
|
563
|
+
sequence?: number | undefined;
|
|
564
|
+
tags?: string[] | undefined;
|
|
565
565
|
commerce?: {
|
|
566
|
-
pricing
|
|
567
|
-
countryCode
|
|
568
|
-
currencyCode
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
566
|
+
pricing: [{
|
|
567
|
+
countryCode: string;
|
|
568
|
+
currencyCode: string;
|
|
569
|
+
amount: number;
|
|
570
|
+
isNetPrice?: boolean | undefined;
|
|
571
|
+
isTaxable?: boolean | undefined;
|
|
572
|
+
maxQuantity?: number | undefined;
|
|
573
573
|
}, ...{
|
|
574
|
-
countryCode
|
|
575
|
-
currencyCode
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
574
|
+
countryCode: string;
|
|
575
|
+
currencyCode: string;
|
|
576
|
+
amount: number;
|
|
577
|
+
isNetPrice?: boolean | undefined;
|
|
578
|
+
isTaxable?: boolean | undefined;
|
|
579
|
+
maxQuantity?: number | undefined;
|
|
580
580
|
}[]];
|
|
581
|
-
};
|
|
581
|
+
} | undefined;
|
|
582
582
|
plan?: {
|
|
583
|
-
usageCalculationType
|
|
584
|
-
billingInterval
|
|
585
|
-
billingIntervalCount
|
|
586
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
587
|
-
trialIntervalCount?: number;
|
|
588
|
-
};
|
|
583
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
584
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
585
|
+
billingIntervalCount: number;
|
|
586
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
587
|
+
trialIntervalCount?: number | undefined;
|
|
588
|
+
} | undefined;
|
|
589
589
|
supply?: {
|
|
590
|
-
weightInGram?: number;
|
|
591
|
-
lengthInMillimeters?: number;
|
|
592
|
-
widthInMillimeters?: number;
|
|
593
|
-
heightInMillimeters?: number;
|
|
594
|
-
};
|
|
590
|
+
weightInGram?: number | undefined;
|
|
591
|
+
lengthInMillimeters?: number | undefined;
|
|
592
|
+
widthInMillimeters?: number | undefined;
|
|
593
|
+
heightInMillimeters?: number | undefined;
|
|
594
|
+
} | undefined;
|
|
595
595
|
warehousing?: {
|
|
596
|
-
sku?: string;
|
|
597
|
-
baseUnit?: string;
|
|
598
|
-
};
|
|
596
|
+
sku?: string | undefined;
|
|
597
|
+
baseUnit?: string | undefined;
|
|
598
|
+
} | undefined;
|
|
599
599
|
tokenization?: {
|
|
600
|
-
supply
|
|
601
|
-
contractAddress
|
|
602
|
-
tokenId
|
|
603
|
-
contractStandard
|
|
604
|
-
ercMetadataProperties?: Record<string, any
|
|
605
|
-
};
|
|
600
|
+
supply: number;
|
|
601
|
+
contractAddress: string;
|
|
602
|
+
tokenId: string;
|
|
603
|
+
contractStandard: string;
|
|
604
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
605
|
+
} | undefined;
|
|
606
606
|
};
|
|
607
607
|
texts?: {
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
subtitle?: string;
|
|
612
|
-
slug?: string;
|
|
613
|
-
brand?: string;
|
|
614
|
-
vendor?: string;
|
|
615
|
-
labels?: string[];
|
|
616
|
-
}[];
|
|
608
|
+
locale: string;
|
|
609
|
+
title: string;
|
|
610
|
+
description?: string | undefined;
|
|
611
|
+
subtitle?: string | undefined;
|
|
612
|
+
slug?: string | undefined;
|
|
613
|
+
brand?: string | undefined;
|
|
614
|
+
vendor?: string | undefined;
|
|
615
|
+
labels?: string[] | undefined;
|
|
616
|
+
}[] | undefined;
|
|
617
617
|
}, {
|
|
618
|
-
product
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
618
|
+
product: {
|
|
619
|
+
type: string;
|
|
620
|
+
meta?: Record<string, unknown> | undefined;
|
|
621
|
+
sequence?: number | undefined;
|
|
622
|
+
tags?: string[] | undefined;
|
|
623
623
|
commerce?: {
|
|
624
|
-
pricing
|
|
625
|
-
countryCode
|
|
626
|
-
currencyCode
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
624
|
+
pricing: [{
|
|
625
|
+
countryCode: string;
|
|
626
|
+
currencyCode: string;
|
|
627
|
+
amount: number;
|
|
628
|
+
isNetPrice?: boolean | undefined;
|
|
629
|
+
isTaxable?: boolean | undefined;
|
|
630
|
+
maxQuantity?: number | undefined;
|
|
631
631
|
}, ...{
|
|
632
|
-
countryCode
|
|
633
|
-
currencyCode
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
632
|
+
countryCode: string;
|
|
633
|
+
currencyCode: string;
|
|
634
|
+
amount: number;
|
|
635
|
+
isNetPrice?: boolean | undefined;
|
|
636
|
+
isTaxable?: boolean | undefined;
|
|
637
|
+
maxQuantity?: number | undefined;
|
|
638
638
|
}[]];
|
|
639
|
-
};
|
|
639
|
+
} | undefined;
|
|
640
640
|
plan?: {
|
|
641
|
-
usageCalculationType
|
|
642
|
-
billingInterval
|
|
643
|
-
billingIntervalCount
|
|
644
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
645
|
-
trialIntervalCount?: number;
|
|
646
|
-
};
|
|
641
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
642
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
643
|
+
billingIntervalCount: number;
|
|
644
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
645
|
+
trialIntervalCount?: number | undefined;
|
|
646
|
+
} | undefined;
|
|
647
647
|
supply?: {
|
|
648
|
-
weightInGram?: number;
|
|
649
|
-
lengthInMillimeters?: number;
|
|
650
|
-
widthInMillimeters?: number;
|
|
651
|
-
heightInMillimeters?: number;
|
|
652
|
-
};
|
|
648
|
+
weightInGram?: number | undefined;
|
|
649
|
+
lengthInMillimeters?: number | undefined;
|
|
650
|
+
widthInMillimeters?: number | undefined;
|
|
651
|
+
heightInMillimeters?: number | undefined;
|
|
652
|
+
} | undefined;
|
|
653
653
|
warehousing?: {
|
|
654
|
-
sku?: string;
|
|
655
|
-
baseUnit?: string;
|
|
656
|
-
};
|
|
654
|
+
sku?: string | undefined;
|
|
655
|
+
baseUnit?: string | undefined;
|
|
656
|
+
} | undefined;
|
|
657
657
|
tokenization?: {
|
|
658
|
-
supply
|
|
659
|
-
contractAddress
|
|
660
|
-
tokenId
|
|
661
|
-
contractStandard
|
|
662
|
-
ercMetadataProperties?: Record<string, any
|
|
663
|
-
};
|
|
658
|
+
supply: number;
|
|
659
|
+
contractAddress: string;
|
|
660
|
+
tokenId: string;
|
|
661
|
+
contractStandard: string;
|
|
662
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
663
|
+
} | undefined;
|
|
664
664
|
};
|
|
665
665
|
texts?: {
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
subtitle?: string;
|
|
670
|
-
slug?: string;
|
|
671
|
-
brand?: string;
|
|
672
|
-
vendor?: string;
|
|
673
|
-
labels?: string[];
|
|
674
|
-
}[];
|
|
666
|
+
locale: string;
|
|
667
|
+
title: string;
|
|
668
|
+
description?: string | undefined;
|
|
669
|
+
subtitle?: string | undefined;
|
|
670
|
+
slug?: string | undefined;
|
|
671
|
+
brand?: string | undefined;
|
|
672
|
+
vendor?: string | undefined;
|
|
673
|
+
labels?: string[] | undefined;
|
|
674
|
+
}[] | undefined;
|
|
675
675
|
}>;
|
|
676
676
|
readonly UPDATE: z.ZodObject<{
|
|
677
677
|
productId: z.ZodString;
|
|
@@ -687,27 +687,27 @@ export declare const actionValidators: {
|
|
|
687
687
|
trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
|
|
688
688
|
trialIntervalCount: z.ZodOptional<z.ZodNumber>;
|
|
689
689
|
}, "strip", z.ZodTypeAny, {
|
|
690
|
-
usageCalculationType
|
|
691
|
-
billingInterval
|
|
692
|
-
billingIntervalCount
|
|
693
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
694
|
-
trialIntervalCount?: number;
|
|
690
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
691
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
692
|
+
billingIntervalCount: number;
|
|
693
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
694
|
+
trialIntervalCount?: number | undefined;
|
|
695
695
|
}, {
|
|
696
|
-
usageCalculationType
|
|
697
|
-
billingInterval
|
|
698
|
-
billingIntervalCount
|
|
699
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
700
|
-
trialIntervalCount?: number;
|
|
696
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
697
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
698
|
+
billingIntervalCount: number;
|
|
699
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
700
|
+
trialIntervalCount?: number | undefined;
|
|
701
701
|
}>>;
|
|
702
702
|
warehousing: z.ZodOptional<z.ZodObject<{
|
|
703
703
|
sku: z.ZodOptional<z.ZodString>;
|
|
704
704
|
baseUnit: z.ZodOptional<z.ZodString>;
|
|
705
705
|
}, "strip", z.ZodTypeAny, {
|
|
706
|
-
sku?: string;
|
|
707
|
-
baseUnit?: string;
|
|
706
|
+
sku?: string | undefined;
|
|
707
|
+
baseUnit?: string | undefined;
|
|
708
708
|
}, {
|
|
709
|
-
sku?: string;
|
|
710
|
-
baseUnit?: string;
|
|
709
|
+
sku?: string | undefined;
|
|
710
|
+
baseUnit?: string | undefined;
|
|
711
711
|
}>>;
|
|
712
712
|
supply: z.ZodOptional<z.ZodObject<{
|
|
713
713
|
weightInGram: z.ZodOptional<z.ZodNumber>;
|
|
@@ -715,15 +715,15 @@ export declare const actionValidators: {
|
|
|
715
715
|
lengthInMillimeters: z.ZodOptional<z.ZodNumber>;
|
|
716
716
|
widthInMillimeters: z.ZodOptional<z.ZodNumber>;
|
|
717
717
|
}, "strip", z.ZodTypeAny, {
|
|
718
|
-
weightInGram?: number;
|
|
719
|
-
lengthInMillimeters?: number;
|
|
720
|
-
widthInMillimeters?: number;
|
|
721
|
-
heightInMillimeters?: number;
|
|
718
|
+
weightInGram?: number | undefined;
|
|
719
|
+
lengthInMillimeters?: number | undefined;
|
|
720
|
+
widthInMillimeters?: number | undefined;
|
|
721
|
+
heightInMillimeters?: number | undefined;
|
|
722
722
|
}, {
|
|
723
|
-
weightInGram?: number;
|
|
724
|
-
lengthInMillimeters?: number;
|
|
725
|
-
widthInMillimeters?: number;
|
|
726
|
-
heightInMillimeters?: number;
|
|
723
|
+
weightInGram?: number | undefined;
|
|
724
|
+
lengthInMillimeters?: number | undefined;
|
|
725
|
+
widthInMillimeters?: number | undefined;
|
|
726
|
+
heightInMillimeters?: number | undefined;
|
|
727
727
|
}>>;
|
|
728
728
|
tokenization: z.ZodOptional<z.ZodObject<{
|
|
729
729
|
contractAddress: z.ZodString;
|
|
@@ -732,17 +732,17 @@ export declare const actionValidators: {
|
|
|
732
732
|
supply: z.ZodNumber;
|
|
733
733
|
ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
734
734
|
}, "strip", z.ZodTypeAny, {
|
|
735
|
-
supply
|
|
736
|
-
contractAddress
|
|
737
|
-
tokenId
|
|
738
|
-
contractStandard
|
|
739
|
-
ercMetadataProperties?: Record<string, any
|
|
735
|
+
supply: number;
|
|
736
|
+
contractAddress: string;
|
|
737
|
+
tokenId: string;
|
|
738
|
+
contractStandard: string;
|
|
739
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
740
740
|
}, {
|
|
741
|
-
supply
|
|
742
|
-
contractAddress
|
|
743
|
-
tokenId
|
|
744
|
-
contractStandard
|
|
745
|
-
ercMetadataProperties?: Record<string, any
|
|
741
|
+
supply: number;
|
|
742
|
+
contractAddress: string;
|
|
743
|
+
tokenId: string;
|
|
744
|
+
contractStandard: string;
|
|
745
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
746
746
|
}>>;
|
|
747
747
|
commerce: z.ZodOptional<z.ZodObject<{
|
|
748
748
|
pricing: z.ZodArray<z.ZodObject<{
|
|
@@ -753,272 +753,272 @@ export declare const actionValidators: {
|
|
|
753
753
|
currencyCode: z.ZodString;
|
|
754
754
|
countryCode: z.ZodString;
|
|
755
755
|
}, "strip", z.ZodTypeAny, {
|
|
756
|
-
countryCode
|
|
757
|
-
currencyCode
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
756
|
+
countryCode: string;
|
|
757
|
+
currencyCode: string;
|
|
758
|
+
amount: number;
|
|
759
|
+
isNetPrice?: boolean | undefined;
|
|
760
|
+
isTaxable?: boolean | undefined;
|
|
761
|
+
maxQuantity?: number | undefined;
|
|
762
762
|
}, {
|
|
763
|
-
countryCode
|
|
764
|
-
currencyCode
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
763
|
+
countryCode: string;
|
|
764
|
+
currencyCode: string;
|
|
765
|
+
amount: number;
|
|
766
|
+
isNetPrice?: boolean | undefined;
|
|
767
|
+
isTaxable?: boolean | undefined;
|
|
768
|
+
maxQuantity?: number | undefined;
|
|
769
769
|
}>, "atleastone">;
|
|
770
770
|
}, "strip", z.ZodTypeAny, {
|
|
771
|
-
pricing
|
|
772
|
-
countryCode
|
|
773
|
-
currencyCode
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
771
|
+
pricing: [{
|
|
772
|
+
countryCode: string;
|
|
773
|
+
currencyCode: string;
|
|
774
|
+
amount: number;
|
|
775
|
+
isNetPrice?: boolean | undefined;
|
|
776
|
+
isTaxable?: boolean | undefined;
|
|
777
|
+
maxQuantity?: number | undefined;
|
|
778
778
|
}, ...{
|
|
779
|
-
countryCode
|
|
780
|
-
currencyCode
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
779
|
+
countryCode: string;
|
|
780
|
+
currencyCode: string;
|
|
781
|
+
amount: number;
|
|
782
|
+
isNetPrice?: boolean | undefined;
|
|
783
|
+
isTaxable?: boolean | undefined;
|
|
784
|
+
maxQuantity?: number | undefined;
|
|
785
785
|
}[]];
|
|
786
786
|
}, {
|
|
787
|
-
pricing
|
|
788
|
-
countryCode
|
|
789
|
-
currencyCode
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
787
|
+
pricing: [{
|
|
788
|
+
countryCode: string;
|
|
789
|
+
currencyCode: string;
|
|
790
|
+
amount: number;
|
|
791
|
+
isNetPrice?: boolean | undefined;
|
|
792
|
+
isTaxable?: boolean | undefined;
|
|
793
|
+
maxQuantity?: number | undefined;
|
|
794
794
|
}, ...{
|
|
795
|
-
countryCode
|
|
796
|
-
currencyCode
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
795
|
+
countryCode: string;
|
|
796
|
+
currencyCode: string;
|
|
797
|
+
amount: number;
|
|
798
|
+
isNetPrice?: boolean | undefined;
|
|
799
|
+
isTaxable?: boolean | undefined;
|
|
800
|
+
maxQuantity?: number | undefined;
|
|
801
801
|
}[]];
|
|
802
802
|
}>>;
|
|
803
803
|
}, "strip", z.ZodTypeAny, {
|
|
804
|
-
meta?: Record<string, unknown
|
|
805
|
-
sequence?: number;
|
|
806
|
-
tags?: string[];
|
|
807
|
-
type?: string;
|
|
804
|
+
meta?: Record<string, unknown> | undefined;
|
|
805
|
+
sequence?: number | undefined;
|
|
806
|
+
tags?: string[] | undefined;
|
|
807
|
+
type?: string | undefined;
|
|
808
808
|
commerce?: {
|
|
809
|
-
pricing
|
|
810
|
-
countryCode
|
|
811
|
-
currencyCode
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
809
|
+
pricing: [{
|
|
810
|
+
countryCode: string;
|
|
811
|
+
currencyCode: string;
|
|
812
|
+
amount: number;
|
|
813
|
+
isNetPrice?: boolean | undefined;
|
|
814
|
+
isTaxable?: boolean | undefined;
|
|
815
|
+
maxQuantity?: number | undefined;
|
|
816
816
|
}, ...{
|
|
817
|
-
countryCode
|
|
818
|
-
currencyCode
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
817
|
+
countryCode: string;
|
|
818
|
+
currencyCode: string;
|
|
819
|
+
amount: number;
|
|
820
|
+
isNetPrice?: boolean | undefined;
|
|
821
|
+
isTaxable?: boolean | undefined;
|
|
822
|
+
maxQuantity?: number | undefined;
|
|
823
823
|
}[]];
|
|
824
|
-
};
|
|
824
|
+
} | undefined;
|
|
825
825
|
plan?: {
|
|
826
|
-
usageCalculationType
|
|
827
|
-
billingInterval
|
|
828
|
-
billingIntervalCount
|
|
829
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
830
|
-
trialIntervalCount?: number;
|
|
831
|
-
};
|
|
826
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
827
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
828
|
+
billingIntervalCount: number;
|
|
829
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
830
|
+
trialIntervalCount?: number | undefined;
|
|
831
|
+
} | undefined;
|
|
832
832
|
supply?: {
|
|
833
|
-
weightInGram?: number;
|
|
834
|
-
lengthInMillimeters?: number;
|
|
835
|
-
widthInMillimeters?: number;
|
|
836
|
-
heightInMillimeters?: number;
|
|
837
|
-
};
|
|
833
|
+
weightInGram?: number | undefined;
|
|
834
|
+
lengthInMillimeters?: number | undefined;
|
|
835
|
+
widthInMillimeters?: number | undefined;
|
|
836
|
+
heightInMillimeters?: number | undefined;
|
|
837
|
+
} | undefined;
|
|
838
838
|
warehousing?: {
|
|
839
|
-
sku?: string;
|
|
840
|
-
baseUnit?: string;
|
|
841
|
-
};
|
|
839
|
+
sku?: string | undefined;
|
|
840
|
+
baseUnit?: string | undefined;
|
|
841
|
+
} | undefined;
|
|
842
842
|
tokenization?: {
|
|
843
|
-
supply
|
|
844
|
-
contractAddress
|
|
845
|
-
tokenId
|
|
846
|
-
contractStandard
|
|
847
|
-
ercMetadataProperties?: Record<string, any
|
|
848
|
-
};
|
|
843
|
+
supply: number;
|
|
844
|
+
contractAddress: string;
|
|
845
|
+
tokenId: string;
|
|
846
|
+
contractStandard: string;
|
|
847
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
848
|
+
} | undefined;
|
|
849
849
|
}, {
|
|
850
|
-
meta?: Record<string, unknown
|
|
851
|
-
sequence?: number;
|
|
852
|
-
tags?: string[];
|
|
853
|
-
type?: string;
|
|
850
|
+
meta?: Record<string, unknown> | undefined;
|
|
851
|
+
sequence?: number | undefined;
|
|
852
|
+
tags?: string[] | undefined;
|
|
853
|
+
type?: string | undefined;
|
|
854
854
|
commerce?: {
|
|
855
|
-
pricing
|
|
856
|
-
countryCode
|
|
857
|
-
currencyCode
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
855
|
+
pricing: [{
|
|
856
|
+
countryCode: string;
|
|
857
|
+
currencyCode: string;
|
|
858
|
+
amount: number;
|
|
859
|
+
isNetPrice?: boolean | undefined;
|
|
860
|
+
isTaxable?: boolean | undefined;
|
|
861
|
+
maxQuantity?: number | undefined;
|
|
862
862
|
}, ...{
|
|
863
|
-
countryCode
|
|
864
|
-
currencyCode
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
863
|
+
countryCode: string;
|
|
864
|
+
currencyCode: string;
|
|
865
|
+
amount: number;
|
|
866
|
+
isNetPrice?: boolean | undefined;
|
|
867
|
+
isTaxable?: boolean | undefined;
|
|
868
|
+
maxQuantity?: number | undefined;
|
|
869
869
|
}[]];
|
|
870
|
-
};
|
|
870
|
+
} | undefined;
|
|
871
871
|
plan?: {
|
|
872
|
-
usageCalculationType
|
|
873
|
-
billingInterval
|
|
874
|
-
billingIntervalCount
|
|
875
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
876
|
-
trialIntervalCount?: number;
|
|
877
|
-
};
|
|
872
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
873
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
874
|
+
billingIntervalCount: number;
|
|
875
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
876
|
+
trialIntervalCount?: number | undefined;
|
|
877
|
+
} | undefined;
|
|
878
878
|
supply?: {
|
|
879
|
-
weightInGram?: number;
|
|
880
|
-
lengthInMillimeters?: number;
|
|
881
|
-
widthInMillimeters?: number;
|
|
882
|
-
heightInMillimeters?: number;
|
|
883
|
-
};
|
|
879
|
+
weightInGram?: number | undefined;
|
|
880
|
+
lengthInMillimeters?: number | undefined;
|
|
881
|
+
widthInMillimeters?: number | undefined;
|
|
882
|
+
heightInMillimeters?: number | undefined;
|
|
883
|
+
} | undefined;
|
|
884
884
|
warehousing?: {
|
|
885
|
-
sku?: string;
|
|
886
|
-
baseUnit?: string;
|
|
887
|
-
};
|
|
885
|
+
sku?: string | undefined;
|
|
886
|
+
baseUnit?: string | undefined;
|
|
887
|
+
} | undefined;
|
|
888
888
|
tokenization?: {
|
|
889
|
-
supply
|
|
890
|
-
contractAddress
|
|
891
|
-
tokenId
|
|
892
|
-
contractStandard
|
|
893
|
-
ercMetadataProperties?: Record<string, any
|
|
894
|
-
};
|
|
889
|
+
supply: number;
|
|
890
|
+
contractAddress: string;
|
|
891
|
+
tokenId: string;
|
|
892
|
+
contractStandard: string;
|
|
893
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
894
|
+
} | undefined;
|
|
895
895
|
}>;
|
|
896
896
|
}, "strip", z.ZodTypeAny, {
|
|
897
|
-
productId
|
|
898
|
-
product
|
|
899
|
-
meta?: Record<string, unknown
|
|
900
|
-
sequence?: number;
|
|
901
|
-
tags?: string[];
|
|
902
|
-
type?: string;
|
|
897
|
+
productId: string;
|
|
898
|
+
product: {
|
|
899
|
+
meta?: Record<string, unknown> | undefined;
|
|
900
|
+
sequence?: number | undefined;
|
|
901
|
+
tags?: string[] | undefined;
|
|
902
|
+
type?: string | undefined;
|
|
903
903
|
commerce?: {
|
|
904
|
-
pricing
|
|
905
|
-
countryCode
|
|
906
|
-
currencyCode
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
904
|
+
pricing: [{
|
|
905
|
+
countryCode: string;
|
|
906
|
+
currencyCode: string;
|
|
907
|
+
amount: number;
|
|
908
|
+
isNetPrice?: boolean | undefined;
|
|
909
|
+
isTaxable?: boolean | undefined;
|
|
910
|
+
maxQuantity?: number | undefined;
|
|
911
911
|
}, ...{
|
|
912
|
-
countryCode
|
|
913
|
-
currencyCode
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
912
|
+
countryCode: string;
|
|
913
|
+
currencyCode: string;
|
|
914
|
+
amount: number;
|
|
915
|
+
isNetPrice?: boolean | undefined;
|
|
916
|
+
isTaxable?: boolean | undefined;
|
|
917
|
+
maxQuantity?: number | undefined;
|
|
918
918
|
}[]];
|
|
919
|
-
};
|
|
919
|
+
} | undefined;
|
|
920
920
|
plan?: {
|
|
921
|
-
usageCalculationType
|
|
922
|
-
billingInterval
|
|
923
|
-
billingIntervalCount
|
|
924
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
925
|
-
trialIntervalCount?: number;
|
|
926
|
-
};
|
|
921
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
922
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
923
|
+
billingIntervalCount: number;
|
|
924
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
925
|
+
trialIntervalCount?: number | undefined;
|
|
926
|
+
} | undefined;
|
|
927
927
|
supply?: {
|
|
928
|
-
weightInGram?: number;
|
|
929
|
-
lengthInMillimeters?: number;
|
|
930
|
-
widthInMillimeters?: number;
|
|
931
|
-
heightInMillimeters?: number;
|
|
932
|
-
};
|
|
928
|
+
weightInGram?: number | undefined;
|
|
929
|
+
lengthInMillimeters?: number | undefined;
|
|
930
|
+
widthInMillimeters?: number | undefined;
|
|
931
|
+
heightInMillimeters?: number | undefined;
|
|
932
|
+
} | undefined;
|
|
933
933
|
warehousing?: {
|
|
934
|
-
sku?: string;
|
|
935
|
-
baseUnit?: string;
|
|
936
|
-
};
|
|
934
|
+
sku?: string | undefined;
|
|
935
|
+
baseUnit?: string | undefined;
|
|
936
|
+
} | undefined;
|
|
937
937
|
tokenization?: {
|
|
938
|
-
supply
|
|
939
|
-
contractAddress
|
|
940
|
-
tokenId
|
|
941
|
-
contractStandard
|
|
942
|
-
ercMetadataProperties?: Record<string, any
|
|
943
|
-
};
|
|
938
|
+
supply: number;
|
|
939
|
+
contractAddress: string;
|
|
940
|
+
tokenId: string;
|
|
941
|
+
contractStandard: string;
|
|
942
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
943
|
+
} | undefined;
|
|
944
944
|
};
|
|
945
945
|
}, {
|
|
946
|
-
productId
|
|
947
|
-
product
|
|
948
|
-
meta?: Record<string, unknown
|
|
949
|
-
sequence?: number;
|
|
950
|
-
tags?: string[];
|
|
951
|
-
type?: string;
|
|
946
|
+
productId: string;
|
|
947
|
+
product: {
|
|
948
|
+
meta?: Record<string, unknown> | undefined;
|
|
949
|
+
sequence?: number | undefined;
|
|
950
|
+
tags?: string[] | undefined;
|
|
951
|
+
type?: string | undefined;
|
|
952
952
|
commerce?: {
|
|
953
|
-
pricing
|
|
954
|
-
countryCode
|
|
955
|
-
currencyCode
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
953
|
+
pricing: [{
|
|
954
|
+
countryCode: string;
|
|
955
|
+
currencyCode: string;
|
|
956
|
+
amount: number;
|
|
957
|
+
isNetPrice?: boolean | undefined;
|
|
958
|
+
isTaxable?: boolean | undefined;
|
|
959
|
+
maxQuantity?: number | undefined;
|
|
960
960
|
}, ...{
|
|
961
|
-
countryCode
|
|
962
|
-
currencyCode
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
961
|
+
countryCode: string;
|
|
962
|
+
currencyCode: string;
|
|
963
|
+
amount: number;
|
|
964
|
+
isNetPrice?: boolean | undefined;
|
|
965
|
+
isTaxable?: boolean | undefined;
|
|
966
|
+
maxQuantity?: number | undefined;
|
|
967
967
|
}[]];
|
|
968
|
-
};
|
|
968
|
+
} | undefined;
|
|
969
969
|
plan?: {
|
|
970
|
-
usageCalculationType
|
|
971
|
-
billingInterval
|
|
972
|
-
billingIntervalCount
|
|
973
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
974
|
-
trialIntervalCount?: number;
|
|
975
|
-
};
|
|
970
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
971
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
972
|
+
billingIntervalCount: number;
|
|
973
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
974
|
+
trialIntervalCount?: number | undefined;
|
|
975
|
+
} | undefined;
|
|
976
976
|
supply?: {
|
|
977
|
-
weightInGram?: number;
|
|
978
|
-
lengthInMillimeters?: number;
|
|
979
|
-
widthInMillimeters?: number;
|
|
980
|
-
heightInMillimeters?: number;
|
|
981
|
-
};
|
|
977
|
+
weightInGram?: number | undefined;
|
|
978
|
+
lengthInMillimeters?: number | undefined;
|
|
979
|
+
widthInMillimeters?: number | undefined;
|
|
980
|
+
heightInMillimeters?: number | undefined;
|
|
981
|
+
} | undefined;
|
|
982
982
|
warehousing?: {
|
|
983
|
-
sku?: string;
|
|
984
|
-
baseUnit?: string;
|
|
985
|
-
};
|
|
983
|
+
sku?: string | undefined;
|
|
984
|
+
baseUnit?: string | undefined;
|
|
985
|
+
} | undefined;
|
|
986
986
|
tokenization?: {
|
|
987
|
-
supply
|
|
988
|
-
contractAddress
|
|
989
|
-
tokenId
|
|
990
|
-
contractStandard
|
|
991
|
-
ercMetadataProperties?: Record<string, any
|
|
992
|
-
};
|
|
987
|
+
supply: number;
|
|
988
|
+
contractAddress: string;
|
|
989
|
+
tokenId: string;
|
|
990
|
+
contractStandard: string;
|
|
991
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
992
|
+
} | undefined;
|
|
993
993
|
};
|
|
994
994
|
}>;
|
|
995
995
|
readonly REMOVE: z.ZodObject<{
|
|
996
996
|
productId: z.ZodString;
|
|
997
997
|
}, "strip", z.ZodTypeAny, {
|
|
998
|
-
productId
|
|
998
|
+
productId: string;
|
|
999
999
|
}, {
|
|
1000
|
-
productId
|
|
1000
|
+
productId: string;
|
|
1001
1001
|
}>;
|
|
1002
1002
|
readonly GET: z.ZodEffects<z.ZodObject<{
|
|
1003
1003
|
productId: z.ZodOptional<z.ZodString>;
|
|
1004
1004
|
slug: z.ZodOptional<z.ZodString>;
|
|
1005
1005
|
sku: z.ZodOptional<z.ZodString>;
|
|
1006
1006
|
}, "strip", z.ZodTypeAny, {
|
|
1007
|
-
productId?: string;
|
|
1008
|
-
slug?: string;
|
|
1009
|
-
sku?: string;
|
|
1007
|
+
productId?: string | undefined;
|
|
1008
|
+
slug?: string | undefined;
|
|
1009
|
+
sku?: string | undefined;
|
|
1010
1010
|
}, {
|
|
1011
|
-
productId?: string;
|
|
1012
|
-
slug?: string;
|
|
1013
|
-
sku?: string;
|
|
1011
|
+
productId?: string | undefined;
|
|
1012
|
+
slug?: string | undefined;
|
|
1013
|
+
sku?: string | undefined;
|
|
1014
1014
|
}>, {
|
|
1015
|
-
productId?: string;
|
|
1016
|
-
slug?: string;
|
|
1017
|
-
sku?: string;
|
|
1015
|
+
productId?: string | undefined;
|
|
1016
|
+
slug?: string | undefined;
|
|
1017
|
+
sku?: string | undefined;
|
|
1018
1018
|
}, {
|
|
1019
|
-
productId?: string;
|
|
1020
|
-
slug?: string;
|
|
1021
|
-
sku?: string;
|
|
1019
|
+
productId?: string | undefined;
|
|
1020
|
+
slug?: string | undefined;
|
|
1021
|
+
sku?: string | undefined;
|
|
1022
1022
|
}>;
|
|
1023
1023
|
readonly LIST: z.ZodObject<{
|
|
1024
1024
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1030,38 +1030,38 @@ export declare const actionValidators: {
|
|
|
1030
1030
|
key: z.ZodString;
|
|
1031
1031
|
value: z.ZodEnum<[string, ...string[]]>;
|
|
1032
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
-
key
|
|
1034
|
-
value
|
|
1033
|
+
key: string;
|
|
1034
|
+
value: string;
|
|
1035
1035
|
}, {
|
|
1036
|
-
key
|
|
1037
|
-
value
|
|
1036
|
+
key: string;
|
|
1037
|
+
value: string;
|
|
1038
1038
|
}>, "many">>;
|
|
1039
1039
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1040
1040
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1041
1041
|
}, "strip", z.ZodTypeAny, {
|
|
1042
|
-
|
|
1043
|
-
|
|
1042
|
+
includeInactive: boolean;
|
|
1043
|
+
slugs?: string[] | undefined;
|
|
1044
|
+
tags?: string[] | undefined;
|
|
1044
1045
|
sort?: {
|
|
1045
|
-
key
|
|
1046
|
-
value
|
|
1047
|
-
}[];
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
offset?: number;
|
|
1046
|
+
key: string;
|
|
1047
|
+
value: string;
|
|
1048
|
+
}[] | undefined;
|
|
1049
|
+
includeDrafts?: boolean | undefined;
|
|
1050
|
+
queryString?: string | undefined;
|
|
1051
|
+
limit?: number | undefined;
|
|
1052
|
+
offset?: number | undefined;
|
|
1053
1053
|
}, {
|
|
1054
|
-
slugs?: string[];
|
|
1055
|
-
tags?: string[];
|
|
1054
|
+
slugs?: string[] | undefined;
|
|
1055
|
+
tags?: string[] | undefined;
|
|
1056
1056
|
sort?: {
|
|
1057
|
-
key
|
|
1058
|
-
value
|
|
1059
|
-
}[];
|
|
1060
|
-
includeInactive?: boolean;
|
|
1061
|
-
includeDrafts?: boolean;
|
|
1062
|
-
queryString?: string;
|
|
1063
|
-
limit?: number;
|
|
1064
|
-
offset?: number;
|
|
1057
|
+
key: string;
|
|
1058
|
+
value: string;
|
|
1059
|
+
}[] | undefined;
|
|
1060
|
+
includeInactive?: boolean | undefined;
|
|
1061
|
+
includeDrafts?: boolean | undefined;
|
|
1062
|
+
queryString?: string | undefined;
|
|
1063
|
+
limit?: number | undefined;
|
|
1064
|
+
offset?: number | undefined;
|
|
1065
1065
|
}>;
|
|
1066
1066
|
readonly COUNT: z.ZodObject<{
|
|
1067
1067
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1070,74 +1070,74 @@ export declare const actionValidators: {
|
|
|
1070
1070
|
queryString: z.ZodOptional<z.ZodString>;
|
|
1071
1071
|
includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1072
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
includeDrafts?: boolean;
|
|
1077
|
-
queryString?: string;
|
|
1073
|
+
includeInactive: boolean;
|
|
1074
|
+
slugs?: string[] | undefined;
|
|
1075
|
+
tags?: string[] | undefined;
|
|
1076
|
+
includeDrafts?: boolean | undefined;
|
|
1077
|
+
queryString?: string | undefined;
|
|
1078
1078
|
}, {
|
|
1079
|
-
slugs?: string[];
|
|
1080
|
-
tags?: string[];
|
|
1081
|
-
includeInactive?: boolean;
|
|
1082
|
-
includeDrafts?: boolean;
|
|
1083
|
-
queryString?: string;
|
|
1079
|
+
slugs?: string[] | undefined;
|
|
1080
|
+
tags?: string[] | undefined;
|
|
1081
|
+
includeInactive?: boolean | undefined;
|
|
1082
|
+
includeDrafts?: boolean | undefined;
|
|
1083
|
+
queryString?: string | undefined;
|
|
1084
1084
|
}>;
|
|
1085
1085
|
readonly UPDATE_STATUS: z.ZodObject<{
|
|
1086
1086
|
productId: z.ZodString;
|
|
1087
1087
|
statusAction: z.ZodEnum<["PUBLISH", "UNPUBLISH"]>;
|
|
1088
1088
|
}, "strip", z.ZodTypeAny, {
|
|
1089
|
-
productId
|
|
1090
|
-
statusAction
|
|
1089
|
+
productId: string;
|
|
1090
|
+
statusAction: "PUBLISH" | "UNPUBLISH";
|
|
1091
1091
|
}, {
|
|
1092
|
-
productId
|
|
1093
|
-
statusAction
|
|
1092
|
+
productId: string;
|
|
1093
|
+
statusAction: "PUBLISH" | "UNPUBLISH";
|
|
1094
1094
|
}>;
|
|
1095
1095
|
readonly ADD_MEDIA: z.ZodObject<{
|
|
1096
1096
|
productId: z.ZodString;
|
|
1097
1097
|
mediaName: z.ZodString;
|
|
1098
1098
|
url: z.ZodString;
|
|
1099
1099
|
}, "strip", z.ZodTypeAny, {
|
|
1100
|
-
productId
|
|
1101
|
-
url
|
|
1102
|
-
mediaName
|
|
1100
|
+
productId: string;
|
|
1101
|
+
url: string;
|
|
1102
|
+
mediaName: string;
|
|
1103
1103
|
}, {
|
|
1104
|
-
productId
|
|
1105
|
-
url
|
|
1106
|
-
mediaName
|
|
1104
|
+
productId: string;
|
|
1105
|
+
url: string;
|
|
1106
|
+
mediaName: string;
|
|
1107
1107
|
}>;
|
|
1108
1108
|
readonly REMOVE_MEDIA: z.ZodObject<{
|
|
1109
1109
|
productMediaId: z.ZodString;
|
|
1110
1110
|
}, "strip", z.ZodTypeAny, {
|
|
1111
|
-
productMediaId
|
|
1111
|
+
productMediaId: string;
|
|
1112
1112
|
}, {
|
|
1113
|
-
productMediaId
|
|
1113
|
+
productMediaId: string;
|
|
1114
1114
|
}>;
|
|
1115
1115
|
readonly REORDER_MEDIA: z.ZodObject<{
|
|
1116
1116
|
sortKeys: z.ZodArray<z.ZodObject<{
|
|
1117
1117
|
productMediaId: z.ZodString;
|
|
1118
1118
|
sortKey: z.ZodNumber;
|
|
1119
1119
|
}, "strip", z.ZodTypeAny, {
|
|
1120
|
-
sortKey
|
|
1121
|
-
productMediaId
|
|
1120
|
+
sortKey: number;
|
|
1121
|
+
productMediaId: string;
|
|
1122
1122
|
}, {
|
|
1123
|
-
sortKey
|
|
1124
|
-
productMediaId
|
|
1123
|
+
sortKey: number;
|
|
1124
|
+
productMediaId: string;
|
|
1125
1125
|
}>, "atleastone">;
|
|
1126
1126
|
}, "strip", z.ZodTypeAny, {
|
|
1127
|
-
sortKeys
|
|
1128
|
-
sortKey
|
|
1129
|
-
productMediaId
|
|
1127
|
+
sortKeys: [{
|
|
1128
|
+
sortKey: number;
|
|
1129
|
+
productMediaId: string;
|
|
1130
1130
|
}, ...{
|
|
1131
|
-
sortKey
|
|
1132
|
-
productMediaId
|
|
1131
|
+
sortKey: number;
|
|
1132
|
+
productMediaId: string;
|
|
1133
1133
|
}[]];
|
|
1134
1134
|
}, {
|
|
1135
|
-
sortKeys
|
|
1136
|
-
sortKey
|
|
1137
|
-
productMediaId
|
|
1135
|
+
sortKeys: [{
|
|
1136
|
+
sortKey: number;
|
|
1137
|
+
productMediaId: string;
|
|
1138
1138
|
}, ...{
|
|
1139
|
-
sortKey
|
|
1140
|
-
productMediaId
|
|
1139
|
+
sortKey: number;
|
|
1140
|
+
productMediaId: string;
|
|
1141
1141
|
}[]];
|
|
1142
1142
|
}>;
|
|
1143
1143
|
readonly GET_MEDIA: z.ZodObject<{
|
|
@@ -1146,15 +1146,15 @@ export declare const actionValidators: {
|
|
|
1146
1146
|
productId: z.ZodString;
|
|
1147
1147
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1148
1148
|
}, "strip", z.ZodTypeAny, {
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
limit?: number;
|
|
1152
|
-
offset?: number;
|
|
1149
|
+
productId: string;
|
|
1150
|
+
tags?: string[] | undefined;
|
|
1151
|
+
limit?: number | undefined;
|
|
1152
|
+
offset?: number | undefined;
|
|
1153
1153
|
}, {
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
limit?: number;
|
|
1157
|
-
offset?: number;
|
|
1154
|
+
productId: string;
|
|
1155
|
+
tags?: string[] | undefined;
|
|
1156
|
+
limit?: number | undefined;
|
|
1157
|
+
offset?: number | undefined;
|
|
1158
1158
|
}>;
|
|
1159
1159
|
readonly UPDATE_MEDIA_TEXTS: z.ZodObject<{
|
|
1160
1160
|
productMediaId: z.ZodString;
|
|
@@ -1163,27 +1163,27 @@ export declare const actionValidators: {
|
|
|
1163
1163
|
title: z.ZodString;
|
|
1164
1164
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
1165
1165
|
}, "strip", z.ZodTypeAny, {
|
|
1166
|
-
locale
|
|
1167
|
-
title
|
|
1168
|
-
subtitle?: string;
|
|
1166
|
+
locale: string;
|
|
1167
|
+
title: string;
|
|
1168
|
+
subtitle?: string | undefined;
|
|
1169
1169
|
}, {
|
|
1170
|
-
locale
|
|
1171
|
-
title
|
|
1172
|
-
subtitle?: string;
|
|
1170
|
+
locale: string;
|
|
1171
|
+
title: string;
|
|
1172
|
+
subtitle?: string | undefined;
|
|
1173
1173
|
}>, "many">;
|
|
1174
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1175
|
-
productMediaId
|
|
1176
|
-
mediaTexts
|
|
1177
|
-
locale
|
|
1178
|
-
title
|
|
1179
|
-
subtitle?: string;
|
|
1175
|
+
productMediaId: string;
|
|
1176
|
+
mediaTexts: {
|
|
1177
|
+
locale: string;
|
|
1178
|
+
title: string;
|
|
1179
|
+
subtitle?: string | undefined;
|
|
1180
1180
|
}[];
|
|
1181
1181
|
}, {
|
|
1182
|
-
productMediaId
|
|
1183
|
-
mediaTexts
|
|
1184
|
-
locale
|
|
1185
|
-
title
|
|
1186
|
-
subtitle?: string;
|
|
1182
|
+
productMediaId: string;
|
|
1183
|
+
mediaTexts: {
|
|
1184
|
+
locale: string;
|
|
1185
|
+
title: string;
|
|
1186
|
+
subtitle?: string | undefined;
|
|
1187
1187
|
}[];
|
|
1188
1188
|
}>;
|
|
1189
1189
|
readonly CREATE_VARIATION: z.ZodObject<{
|
|
@@ -1192,54 +1192,54 @@ export declare const actionValidators: {
|
|
|
1192
1192
|
key: z.ZodString;
|
|
1193
1193
|
type: z.ZodEnum<[string, ...string[]]>;
|
|
1194
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1195
|
-
key
|
|
1196
|
-
type
|
|
1195
|
+
key: string;
|
|
1196
|
+
type: string;
|
|
1197
1197
|
}, {
|
|
1198
|
-
key
|
|
1199
|
-
type
|
|
1198
|
+
key: string;
|
|
1199
|
+
type: string;
|
|
1200
1200
|
}>;
|
|
1201
1201
|
variationTexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1202
1202
|
locale: z.ZodString;
|
|
1203
1203
|
title: z.ZodString;
|
|
1204
1204
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
1205
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1206
|
-
locale
|
|
1207
|
-
title
|
|
1208
|
-
subtitle?: string;
|
|
1206
|
+
locale: string;
|
|
1207
|
+
title: string;
|
|
1208
|
+
subtitle?: string | undefined;
|
|
1209
1209
|
}, {
|
|
1210
|
-
locale
|
|
1211
|
-
title
|
|
1212
|
-
subtitle?: string;
|
|
1210
|
+
locale: string;
|
|
1211
|
+
title: string;
|
|
1212
|
+
subtitle?: string | undefined;
|
|
1213
1213
|
}>, "many">>;
|
|
1214
1214
|
}, "strip", z.ZodTypeAny, {
|
|
1215
|
-
productId
|
|
1216
|
-
variation
|
|
1217
|
-
key
|
|
1218
|
-
type
|
|
1215
|
+
productId: string;
|
|
1216
|
+
variation: {
|
|
1217
|
+
key: string;
|
|
1218
|
+
type: string;
|
|
1219
1219
|
};
|
|
1220
1220
|
variationTexts?: {
|
|
1221
|
-
locale
|
|
1222
|
-
title
|
|
1223
|
-
subtitle?: string;
|
|
1224
|
-
}[];
|
|
1221
|
+
locale: string;
|
|
1222
|
+
title: string;
|
|
1223
|
+
subtitle?: string | undefined;
|
|
1224
|
+
}[] | undefined;
|
|
1225
1225
|
}, {
|
|
1226
|
-
productId
|
|
1227
|
-
variation
|
|
1228
|
-
key
|
|
1229
|
-
type
|
|
1226
|
+
productId: string;
|
|
1227
|
+
variation: {
|
|
1228
|
+
key: string;
|
|
1229
|
+
type: string;
|
|
1230
1230
|
};
|
|
1231
1231
|
variationTexts?: {
|
|
1232
|
-
locale
|
|
1233
|
-
title
|
|
1234
|
-
subtitle?: string;
|
|
1235
|
-
}[];
|
|
1232
|
+
locale: string;
|
|
1233
|
+
title: string;
|
|
1234
|
+
subtitle?: string | undefined;
|
|
1235
|
+
}[] | undefined;
|
|
1236
1236
|
}>;
|
|
1237
1237
|
readonly REMOVE_VARIATION: z.ZodObject<{
|
|
1238
1238
|
productVariationId: z.ZodString;
|
|
1239
1239
|
}, "strip", z.ZodTypeAny, {
|
|
1240
|
-
productVariationId
|
|
1240
|
+
productVariationId: string;
|
|
1241
1241
|
}, {
|
|
1242
|
-
productVariationId
|
|
1242
|
+
productVariationId: string;
|
|
1243
1243
|
}>;
|
|
1244
1244
|
readonly ADD_VARIATION_OPTION: z.ZodObject<{
|
|
1245
1245
|
productVariationId: z.ZodString;
|
|
@@ -1249,40 +1249,40 @@ export declare const actionValidators: {
|
|
|
1249
1249
|
title: z.ZodString;
|
|
1250
1250
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
1251
1251
|
}, "strip", z.ZodTypeAny, {
|
|
1252
|
-
locale
|
|
1253
|
-
title
|
|
1254
|
-
subtitle?: string;
|
|
1252
|
+
locale: string;
|
|
1253
|
+
title: string;
|
|
1254
|
+
subtitle?: string | undefined;
|
|
1255
1255
|
}, {
|
|
1256
|
-
locale
|
|
1257
|
-
title
|
|
1258
|
-
subtitle?: string;
|
|
1256
|
+
locale: string;
|
|
1257
|
+
title: string;
|
|
1258
|
+
subtitle?: string | undefined;
|
|
1259
1259
|
}>, "many">>;
|
|
1260
1260
|
}, "strip", z.ZodTypeAny, {
|
|
1261
|
-
productVariationId
|
|
1262
|
-
option
|
|
1261
|
+
productVariationId: string;
|
|
1262
|
+
option: string;
|
|
1263
1263
|
variationTexts?: {
|
|
1264
|
-
locale
|
|
1265
|
-
title
|
|
1266
|
-
subtitle?: string;
|
|
1267
|
-
}[];
|
|
1264
|
+
locale: string;
|
|
1265
|
+
title: string;
|
|
1266
|
+
subtitle?: string | undefined;
|
|
1267
|
+
}[] | undefined;
|
|
1268
1268
|
}, {
|
|
1269
|
-
productVariationId
|
|
1270
|
-
option
|
|
1269
|
+
productVariationId: string;
|
|
1270
|
+
option: string;
|
|
1271
1271
|
variationTexts?: {
|
|
1272
|
-
locale
|
|
1273
|
-
title
|
|
1274
|
-
subtitle?: string;
|
|
1275
|
-
}[];
|
|
1272
|
+
locale: string;
|
|
1273
|
+
title: string;
|
|
1274
|
+
subtitle?: string | undefined;
|
|
1275
|
+
}[] | undefined;
|
|
1276
1276
|
}>;
|
|
1277
1277
|
readonly REMOVE_VARIATION_OPTION: z.ZodObject<{
|
|
1278
1278
|
productVariationId: z.ZodString;
|
|
1279
1279
|
productVariationOptionValue: z.ZodString;
|
|
1280
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1281
|
-
productVariationId
|
|
1282
|
-
productVariationOptionValue
|
|
1281
|
+
productVariationId: string;
|
|
1282
|
+
productVariationOptionValue: string;
|
|
1283
1283
|
}, {
|
|
1284
|
-
productVariationId
|
|
1285
|
-
productVariationOptionValue
|
|
1284
|
+
productVariationId: string;
|
|
1285
|
+
productVariationOptionValue: string;
|
|
1286
1286
|
}>;
|
|
1287
1287
|
readonly UPDATE_VARIATION_TEXTS: z.ZodObject<{
|
|
1288
1288
|
productVariationId: z.ZodString;
|
|
@@ -1291,31 +1291,31 @@ export declare const actionValidators: {
|
|
|
1291
1291
|
title: z.ZodString;
|
|
1292
1292
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
1293
1293
|
}, "strip", z.ZodTypeAny, {
|
|
1294
|
-
locale
|
|
1295
|
-
title
|
|
1296
|
-
subtitle?: string;
|
|
1294
|
+
locale: string;
|
|
1295
|
+
title: string;
|
|
1296
|
+
subtitle?: string | undefined;
|
|
1297
1297
|
}, {
|
|
1298
|
-
locale
|
|
1299
|
-
title
|
|
1300
|
-
subtitle?: string;
|
|
1298
|
+
locale: string;
|
|
1299
|
+
title: string;
|
|
1300
|
+
subtitle?: string | undefined;
|
|
1301
1301
|
}>, "many">;
|
|
1302
1302
|
productVariationOptionValue: z.ZodOptional<z.ZodString>;
|
|
1303
1303
|
}, "strip", z.ZodTypeAny, {
|
|
1304
|
-
productVariationId
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
subtitle?: string;
|
|
1304
|
+
productVariationId: string;
|
|
1305
|
+
variationTexts: {
|
|
1306
|
+
locale: string;
|
|
1307
|
+
title: string;
|
|
1308
|
+
subtitle?: string | undefined;
|
|
1310
1309
|
}[];
|
|
1310
|
+
productVariationOptionValue?: string | undefined;
|
|
1311
1311
|
}, {
|
|
1312
|
-
productVariationId
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
subtitle?: string;
|
|
1312
|
+
productVariationId: string;
|
|
1313
|
+
variationTexts: {
|
|
1314
|
+
locale: string;
|
|
1315
|
+
title: string;
|
|
1316
|
+
subtitle?: string | undefined;
|
|
1318
1317
|
}[];
|
|
1318
|
+
productVariationOptionValue?: string | undefined;
|
|
1319
1319
|
}>;
|
|
1320
1320
|
readonly GET_VARIATION_PRODUCTS: z.ZodObject<{
|
|
1321
1321
|
productId: z.ZodString;
|
|
@@ -1323,37 +1323,37 @@ export declare const actionValidators: {
|
|
|
1323
1323
|
key: z.ZodString;
|
|
1324
1324
|
value: z.ZodString;
|
|
1325
1325
|
}, "strip", z.ZodTypeAny, {
|
|
1326
|
-
key
|
|
1327
|
-
value
|
|
1326
|
+
key: string;
|
|
1327
|
+
value: string;
|
|
1328
1328
|
}, {
|
|
1329
|
-
key
|
|
1330
|
-
value
|
|
1329
|
+
key: string;
|
|
1330
|
+
value: string;
|
|
1331
1331
|
}>, "many">;
|
|
1332
1332
|
includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1333
1333
|
}, "strip", z.ZodTypeAny, {
|
|
1334
|
-
productId
|
|
1335
|
-
includeInactive
|
|
1336
|
-
vectors
|
|
1337
|
-
key
|
|
1338
|
-
value
|
|
1334
|
+
productId: string;
|
|
1335
|
+
includeInactive: boolean;
|
|
1336
|
+
vectors: {
|
|
1337
|
+
key: string;
|
|
1338
|
+
value: string;
|
|
1339
1339
|
}[];
|
|
1340
1340
|
}, {
|
|
1341
|
-
productId
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
value?: string;
|
|
1341
|
+
productId: string;
|
|
1342
|
+
vectors: {
|
|
1343
|
+
key: string;
|
|
1344
|
+
value: string;
|
|
1346
1345
|
}[];
|
|
1346
|
+
includeInactive?: boolean | undefined;
|
|
1347
1347
|
}>;
|
|
1348
1348
|
readonly GET_ASSIGNMENTS: z.ZodObject<{
|
|
1349
1349
|
productId: z.ZodString;
|
|
1350
1350
|
includeInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1351
1351
|
}, "strip", z.ZodTypeAny, {
|
|
1352
|
-
productId
|
|
1353
|
-
includeInactive?: boolean;
|
|
1352
|
+
productId: string;
|
|
1353
|
+
includeInactive?: boolean | undefined;
|
|
1354
1354
|
}, {
|
|
1355
|
-
productId
|
|
1356
|
-
includeInactive?: boolean;
|
|
1355
|
+
productId: string;
|
|
1356
|
+
includeInactive?: boolean | undefined;
|
|
1357
1357
|
}>;
|
|
1358
1358
|
readonly ADD_ASSIGNMENT: z.ZodObject<{
|
|
1359
1359
|
proxyId: z.ZodString;
|
|
@@ -1362,26 +1362,26 @@ export declare const actionValidators: {
|
|
|
1362
1362
|
key: z.ZodString;
|
|
1363
1363
|
value: z.ZodString;
|
|
1364
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1365
|
-
key
|
|
1366
|
-
value
|
|
1365
|
+
key: string;
|
|
1366
|
+
value: string;
|
|
1367
1367
|
}, {
|
|
1368
|
-
key
|
|
1369
|
-
value
|
|
1368
|
+
key: string;
|
|
1369
|
+
value: string;
|
|
1370
1370
|
}>, "many">;
|
|
1371
1371
|
}, "strip", z.ZodTypeAny, {
|
|
1372
|
-
proxyId
|
|
1373
|
-
vectors
|
|
1374
|
-
key
|
|
1375
|
-
value
|
|
1372
|
+
proxyId: string;
|
|
1373
|
+
vectors: {
|
|
1374
|
+
key: string;
|
|
1375
|
+
value: string;
|
|
1376
1376
|
}[];
|
|
1377
|
-
assignProductId
|
|
1377
|
+
assignProductId: string;
|
|
1378
1378
|
}, {
|
|
1379
|
-
proxyId
|
|
1380
|
-
vectors
|
|
1381
|
-
key
|
|
1382
|
-
value
|
|
1379
|
+
proxyId: string;
|
|
1380
|
+
vectors: {
|
|
1381
|
+
key: string;
|
|
1382
|
+
value: string;
|
|
1383
1383
|
}[];
|
|
1384
|
-
assignProductId
|
|
1384
|
+
assignProductId: string;
|
|
1385
1385
|
}>;
|
|
1386
1386
|
readonly REMOVE_ASSIGNMENT: z.ZodObject<{
|
|
1387
1387
|
proxyId: z.ZodString;
|
|
@@ -1389,67 +1389,67 @@ export declare const actionValidators: {
|
|
|
1389
1389
|
key: z.ZodString;
|
|
1390
1390
|
value: z.ZodString;
|
|
1391
1391
|
}, "strip", z.ZodTypeAny, {
|
|
1392
|
-
key
|
|
1393
|
-
value
|
|
1392
|
+
key: string;
|
|
1393
|
+
value: string;
|
|
1394
1394
|
}, {
|
|
1395
|
-
key
|
|
1396
|
-
value
|
|
1395
|
+
key: string;
|
|
1396
|
+
value: string;
|
|
1397
1397
|
}>, "many">;
|
|
1398
1398
|
}, "strip", z.ZodTypeAny, {
|
|
1399
|
-
proxyId
|
|
1400
|
-
vectors
|
|
1401
|
-
key
|
|
1402
|
-
value
|
|
1399
|
+
proxyId: string;
|
|
1400
|
+
vectors: {
|
|
1401
|
+
key: string;
|
|
1402
|
+
value: string;
|
|
1403
1403
|
}[];
|
|
1404
1404
|
}, {
|
|
1405
|
-
proxyId
|
|
1406
|
-
vectors
|
|
1407
|
-
key
|
|
1408
|
-
value
|
|
1405
|
+
proxyId: string;
|
|
1406
|
+
vectors: {
|
|
1407
|
+
key: string;
|
|
1408
|
+
value: string;
|
|
1409
1409
|
}[];
|
|
1410
1410
|
}>;
|
|
1411
1411
|
readonly ADD_BUNDLE_ITEM: z.ZodObject<{
|
|
1412
1412
|
bundleId: z.ZodString;
|
|
1413
1413
|
bundleProductId: z.ZodString;
|
|
1414
|
-
quantity: z.
|
|
1414
|
+
quantity: z.ZodDefault<z.ZodNumber>;
|
|
1415
1415
|
}, "strip", z.ZodTypeAny, {
|
|
1416
|
-
quantity
|
|
1417
|
-
bundleId
|
|
1418
|
-
bundleProductId
|
|
1416
|
+
quantity: number;
|
|
1417
|
+
bundleId: string;
|
|
1418
|
+
bundleProductId: string;
|
|
1419
1419
|
}, {
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1420
|
+
bundleId: string;
|
|
1421
|
+
bundleProductId: string;
|
|
1422
|
+
quantity?: number | undefined;
|
|
1423
1423
|
}>;
|
|
1424
1424
|
readonly REMOVE_BUNDLE_ITEM: z.ZodObject<{
|
|
1425
1425
|
bundleId: z.ZodString;
|
|
1426
1426
|
index: z.ZodNumber;
|
|
1427
1427
|
}, "strip", z.ZodTypeAny, {
|
|
1428
|
-
index
|
|
1429
|
-
bundleId
|
|
1428
|
+
index: number;
|
|
1429
|
+
bundleId: string;
|
|
1430
1430
|
}, {
|
|
1431
|
-
index
|
|
1432
|
-
bundleId
|
|
1431
|
+
index: number;
|
|
1432
|
+
bundleId: string;
|
|
1433
1433
|
}>;
|
|
1434
1434
|
readonly GET_BUNDLE_ITEMS: z.ZodObject<{
|
|
1435
1435
|
bundleId: z.ZodString;
|
|
1436
1436
|
}, "strip", z.ZodTypeAny, {
|
|
1437
|
-
bundleId
|
|
1437
|
+
bundleId: string;
|
|
1438
1438
|
}, {
|
|
1439
|
-
bundleId
|
|
1439
|
+
bundleId: string;
|
|
1440
1440
|
}>;
|
|
1441
1441
|
readonly GET_CATALOG_PRICE: z.ZodObject<{
|
|
1442
1442
|
productId: z.ZodString;
|
|
1443
1443
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1444
1444
|
currencyCode: z.ZodOptional<z.ZodString>;
|
|
1445
1445
|
}, "strip", z.ZodTypeAny, {
|
|
1446
|
-
productId
|
|
1447
|
-
|
|
1448
|
-
|
|
1446
|
+
productId: string;
|
|
1447
|
+
quantity?: number | undefined;
|
|
1448
|
+
currencyCode?: string | undefined;
|
|
1449
1449
|
}, {
|
|
1450
|
-
productId
|
|
1451
|
-
|
|
1452
|
-
|
|
1450
|
+
productId: string;
|
|
1451
|
+
quantity?: number | undefined;
|
|
1452
|
+
currencyCode?: string | undefined;
|
|
1453
1453
|
}>;
|
|
1454
1454
|
readonly SIMULATE_PRICE: z.ZodObject<{
|
|
1455
1455
|
productId: z.ZodString;
|
|
@@ -1457,33 +1457,33 @@ export declare const actionValidators: {
|
|
|
1457
1457
|
key: z.ZodString;
|
|
1458
1458
|
value: z.ZodString;
|
|
1459
1459
|
}, "strip", z.ZodTypeAny, {
|
|
1460
|
-
key
|
|
1461
|
-
value
|
|
1460
|
+
key: string;
|
|
1461
|
+
value: string;
|
|
1462
1462
|
}, {
|
|
1463
|
-
key
|
|
1464
|
-
value
|
|
1463
|
+
key: string;
|
|
1464
|
+
value: string;
|
|
1465
1465
|
}>, "many">>;
|
|
1466
1466
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1467
1467
|
currencyCode: z.ZodOptional<z.ZodString>;
|
|
1468
1468
|
useNetPrice: z.ZodOptional<z.ZodBoolean>;
|
|
1469
1469
|
}, "strip", z.ZodTypeAny, {
|
|
1470
|
-
productId
|
|
1471
|
-
|
|
1472
|
-
|
|
1470
|
+
productId: string;
|
|
1471
|
+
quantity?: number | undefined;
|
|
1472
|
+
currencyCode?: string | undefined;
|
|
1473
1473
|
vectors?: {
|
|
1474
|
-
key
|
|
1475
|
-
value
|
|
1476
|
-
}[];
|
|
1477
|
-
useNetPrice?: boolean;
|
|
1474
|
+
key: string;
|
|
1475
|
+
value: string;
|
|
1476
|
+
}[] | undefined;
|
|
1477
|
+
useNetPrice?: boolean | undefined;
|
|
1478
1478
|
}, {
|
|
1479
|
-
productId
|
|
1480
|
-
|
|
1481
|
-
|
|
1479
|
+
productId: string;
|
|
1480
|
+
quantity?: number | undefined;
|
|
1481
|
+
currencyCode?: string | undefined;
|
|
1482
1482
|
vectors?: {
|
|
1483
|
-
key
|
|
1484
|
-
value
|
|
1485
|
-
}[];
|
|
1486
|
-
useNetPrice?: boolean;
|
|
1483
|
+
key: string;
|
|
1484
|
+
value: string;
|
|
1485
|
+
}[] | undefined;
|
|
1486
|
+
useNetPrice?: boolean | undefined;
|
|
1487
1487
|
}>;
|
|
1488
1488
|
readonly SIMULATE_PRICE_RANGE: z.ZodObject<{
|
|
1489
1489
|
productId: z.ZodString;
|
|
@@ -1491,57 +1491,57 @@ export declare const actionValidators: {
|
|
|
1491
1491
|
key: z.ZodString;
|
|
1492
1492
|
value: z.ZodString;
|
|
1493
1493
|
}, "strip", z.ZodTypeAny, {
|
|
1494
|
-
key
|
|
1495
|
-
value
|
|
1494
|
+
key: string;
|
|
1495
|
+
value: string;
|
|
1496
1496
|
}, {
|
|
1497
|
-
key
|
|
1498
|
-
value
|
|
1497
|
+
key: string;
|
|
1498
|
+
value: string;
|
|
1499
1499
|
}>, "many">>;
|
|
1500
1500
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1501
1501
|
currencyCode: z.ZodOptional<z.ZodString>;
|
|
1502
1502
|
useNetPrice: z.ZodOptional<z.ZodBoolean>;
|
|
1503
1503
|
}, "strip", z.ZodTypeAny, {
|
|
1504
|
-
productId
|
|
1505
|
-
|
|
1506
|
-
|
|
1504
|
+
productId: string;
|
|
1505
|
+
quantity?: number | undefined;
|
|
1506
|
+
currencyCode?: string | undefined;
|
|
1507
1507
|
vectors?: {
|
|
1508
|
-
key
|
|
1509
|
-
value
|
|
1510
|
-
}[];
|
|
1511
|
-
useNetPrice?: boolean;
|
|
1508
|
+
key: string;
|
|
1509
|
+
value: string;
|
|
1510
|
+
}[] | undefined;
|
|
1511
|
+
useNetPrice?: boolean | undefined;
|
|
1512
1512
|
}, {
|
|
1513
|
-
productId
|
|
1514
|
-
|
|
1515
|
-
|
|
1513
|
+
productId: string;
|
|
1514
|
+
quantity?: number | undefined;
|
|
1515
|
+
currencyCode?: string | undefined;
|
|
1516
1516
|
vectors?: {
|
|
1517
|
-
key
|
|
1518
|
-
value
|
|
1519
|
-
}[];
|
|
1520
|
-
useNetPrice?: boolean;
|
|
1517
|
+
key: string;
|
|
1518
|
+
value: string;
|
|
1519
|
+
}[] | undefined;
|
|
1520
|
+
useNetPrice?: boolean | undefined;
|
|
1521
1521
|
}>;
|
|
1522
1522
|
readonly GET_PRODUCT_TEXTS: z.ZodObject<{
|
|
1523
1523
|
productId: z.ZodString;
|
|
1524
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1525
|
-
productId
|
|
1525
|
+
productId: string;
|
|
1526
1526
|
}, {
|
|
1527
|
-
productId
|
|
1527
|
+
productId: string;
|
|
1528
1528
|
}>;
|
|
1529
1529
|
readonly GET_VARIATION_TEXTS: z.ZodObject<{
|
|
1530
1530
|
productVariationId: z.ZodString;
|
|
1531
1531
|
productVariationOptionValue: z.ZodOptional<z.ZodString>;
|
|
1532
1532
|
}, "strip", z.ZodTypeAny, {
|
|
1533
|
-
productVariationId
|
|
1534
|
-
productVariationOptionValue?: string;
|
|
1533
|
+
productVariationId: string;
|
|
1534
|
+
productVariationOptionValue?: string | undefined;
|
|
1535
1535
|
}, {
|
|
1536
|
-
productVariationId
|
|
1537
|
-
productVariationOptionValue?: string;
|
|
1536
|
+
productVariationId: string;
|
|
1537
|
+
productVariationOptionValue?: string | undefined;
|
|
1538
1538
|
}>;
|
|
1539
1539
|
readonly GET_MEDIA_TEXTS: z.ZodObject<{
|
|
1540
1540
|
productMediaId: z.ZodString;
|
|
1541
1541
|
}, "strip", z.ZodTypeAny, {
|
|
1542
|
-
productMediaId
|
|
1542
|
+
productMediaId: string;
|
|
1543
1543
|
}, {
|
|
1544
|
-
productMediaId
|
|
1544
|
+
productMediaId: string;
|
|
1545
1545
|
}>;
|
|
1546
1546
|
readonly GET_REVIEWS: z.ZodObject<{
|
|
1547
1547
|
queryString: z.ZodOptional<z.ZodString>;
|
|
@@ -1550,61 +1550,117 @@ export declare const actionValidators: {
|
|
|
1550
1550
|
key: z.ZodString;
|
|
1551
1551
|
value: z.ZodEnum<[string, ...string[]]>;
|
|
1552
1552
|
}, "strip", z.ZodTypeAny, {
|
|
1553
|
-
key
|
|
1554
|
-
value
|
|
1553
|
+
key: string;
|
|
1554
|
+
value: string;
|
|
1555
1555
|
}, {
|
|
1556
|
-
key
|
|
1557
|
-
value
|
|
1556
|
+
key: string;
|
|
1557
|
+
value: string;
|
|
1558
1558
|
}>, "many">>;
|
|
1559
1559
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1560
1560
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1561
1561
|
productId: z.ZodString;
|
|
1562
1562
|
}, "strip", z.ZodTypeAny, {
|
|
1563
|
+
productId: string;
|
|
1564
|
+
includeInactive: boolean;
|
|
1563
1565
|
sort?: {
|
|
1564
|
-
key
|
|
1565
|
-
value
|
|
1566
|
-
}[];
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
limit?: number;
|
|
1571
|
-
offset?: number;
|
|
1566
|
+
key: string;
|
|
1567
|
+
value: string;
|
|
1568
|
+
}[] | undefined;
|
|
1569
|
+
queryString?: string | undefined;
|
|
1570
|
+
limit?: number | undefined;
|
|
1571
|
+
offset?: number | undefined;
|
|
1572
1572
|
}, {
|
|
1573
|
+
productId: string;
|
|
1573
1574
|
sort?: {
|
|
1574
|
-
key
|
|
1575
|
-
value
|
|
1576
|
-
}[];
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
offset?: number;
|
|
1575
|
+
key: string;
|
|
1576
|
+
value: string;
|
|
1577
|
+
}[] | undefined;
|
|
1578
|
+
includeInactive?: boolean | undefined;
|
|
1579
|
+
queryString?: string | undefined;
|
|
1580
|
+
limit?: number | undefined;
|
|
1581
|
+
offset?: number | undefined;
|
|
1582
1582
|
}>;
|
|
1583
1583
|
readonly COUNT_REVIEWS: z.ZodObject<{
|
|
1584
1584
|
queryString: z.ZodOptional<z.ZodString>;
|
|
1585
1585
|
includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1586
1586
|
productId: z.ZodString;
|
|
1587
1587
|
}, "strip", z.ZodTypeAny, {
|
|
1588
|
-
productId
|
|
1589
|
-
includeInactive
|
|
1590
|
-
queryString?: string;
|
|
1588
|
+
productId: string;
|
|
1589
|
+
includeInactive: boolean;
|
|
1590
|
+
queryString?: string | undefined;
|
|
1591
1591
|
}, {
|
|
1592
|
-
productId
|
|
1593
|
-
includeInactive?: boolean;
|
|
1594
|
-
queryString?: string;
|
|
1592
|
+
productId: string;
|
|
1593
|
+
includeInactive?: boolean | undefined;
|
|
1594
|
+
queryString?: string | undefined;
|
|
1595
1595
|
}>;
|
|
1596
1596
|
readonly GET_SIBLINGS: z.ZodObject<{
|
|
1597
1597
|
productId: z.ZodString;
|
|
1598
1598
|
assortmentId: z.ZodOptional<z.ZodString>;
|
|
1599
1599
|
includeInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1600
1600
|
}, "strip", z.ZodTypeAny, {
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
includeInactive?: boolean;
|
|
1601
|
+
productId: string;
|
|
1602
|
+
assortmentId?: string | undefined;
|
|
1603
|
+
includeInactive?: boolean | undefined;
|
|
1604
1604
|
}, {
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
includeInactive?: boolean;
|
|
1605
|
+
productId: string;
|
|
1606
|
+
assortmentId?: string | undefined;
|
|
1607
|
+
includeInactive?: boolean | undefined;
|
|
1608
|
+
}>;
|
|
1609
|
+
readonly UPDATE_PRODUCT_TEXTS: z.ZodObject<{
|
|
1610
|
+
productId: z.ZodString;
|
|
1611
|
+
texts: z.ZodArray<z.ZodObject<{
|
|
1612
|
+
locale: z.ZodString;
|
|
1613
|
+
title: z.ZodString;
|
|
1614
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
} & {
|
|
1616
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1617
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1618
|
+
vendor: z.ZodOptional<z.ZodString>;
|
|
1619
|
+
brand: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1621
|
+
}, "strip", z.ZodTypeAny, {
|
|
1622
|
+
locale: string;
|
|
1623
|
+
title: string;
|
|
1624
|
+
description?: string | undefined;
|
|
1625
|
+
subtitle?: string | undefined;
|
|
1626
|
+
slug?: string | undefined;
|
|
1627
|
+
brand?: string | undefined;
|
|
1628
|
+
vendor?: string | undefined;
|
|
1629
|
+
labels?: string[] | undefined;
|
|
1630
|
+
}, {
|
|
1631
|
+
locale: string;
|
|
1632
|
+
title: string;
|
|
1633
|
+
description?: string | undefined;
|
|
1634
|
+
subtitle?: string | undefined;
|
|
1635
|
+
slug?: string | undefined;
|
|
1636
|
+
brand?: string | undefined;
|
|
1637
|
+
vendor?: string | undefined;
|
|
1638
|
+
labels?: string[] | undefined;
|
|
1639
|
+
}>, "many">;
|
|
1640
|
+
}, "strip", z.ZodTypeAny, {
|
|
1641
|
+
productId: string;
|
|
1642
|
+
texts: {
|
|
1643
|
+
locale: string;
|
|
1644
|
+
title: string;
|
|
1645
|
+
description?: string | undefined;
|
|
1646
|
+
subtitle?: string | undefined;
|
|
1647
|
+
slug?: string | undefined;
|
|
1648
|
+
brand?: string | undefined;
|
|
1649
|
+
vendor?: string | undefined;
|
|
1650
|
+
labels?: string[] | undefined;
|
|
1651
|
+
}[];
|
|
1652
|
+
}, {
|
|
1653
|
+
productId: string;
|
|
1654
|
+
texts: {
|
|
1655
|
+
locale: string;
|
|
1656
|
+
title: string;
|
|
1657
|
+
description?: string | undefined;
|
|
1658
|
+
subtitle?: string | undefined;
|
|
1659
|
+
slug?: string | undefined;
|
|
1660
|
+
brand?: string | undefined;
|
|
1661
|
+
vendor?: string | undefined;
|
|
1662
|
+
labels?: string[] | undefined;
|
|
1663
|
+
}[];
|
|
1608
1664
|
}>;
|
|
1609
1665
|
};
|
|
1610
1666
|
export declare const ProductManagementSchema: {
|
|
@@ -1617,15 +1673,15 @@ export declare const ProductManagementSchema: {
|
|
|
1617
1673
|
key: z.ZodString;
|
|
1618
1674
|
value: z.ZodEnum<[string, ...string[]]>;
|
|
1619
1675
|
}, "strip", z.ZodTypeAny, {
|
|
1620
|
-
key
|
|
1621
|
-
value
|
|
1676
|
+
key: string;
|
|
1677
|
+
value: string;
|
|
1622
1678
|
}, {
|
|
1623
|
-
key
|
|
1624
|
-
value
|
|
1679
|
+
key: string;
|
|
1680
|
+
value: string;
|
|
1625
1681
|
}>, "many">>;
|
|
1626
1682
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1627
1683
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1628
|
-
action: z.ZodEnum<["CREATE", "UPDATE", "REMOVE", "GET", "LIST", "COUNT", "UPDATE_STATUS", "ADD_MEDIA", "REMOVE_MEDIA", "REORDER_MEDIA", "GET_MEDIA", "UPDATE_MEDIA_TEXTS", "CREATE_VARIATION", "REMOVE_VARIATION", "ADD_VARIATION_OPTION", "REMOVE_VARIATION_OPTION", "ADD_ASSIGNMENT", "REMOVE_ASSIGNMENT", "GET_ASSIGNMENTS", "GET_VARIATION_PRODUCTS", "UPDATE_VARIATION_TEXTS", "ADD_BUNDLE_ITEM", "REMOVE_BUNDLE_ITEM", "GET_BUNDLE_ITEMS", "SIMULATE_PRICE", "SIMULATE_PRICE_RANGE", "GET_CATALOG_PRICE", "GET_PRODUCT_TEXTS", "GET_MEDIA_TEXTS", "GET_VARIATION_TEXTS", "GET_REVIEWS", "COUNT_REVIEWS", "GET_SIBLINGS"]>;
|
|
1684
|
+
action: z.ZodEnum<["CREATE", "UPDATE", "REMOVE", "GET", "LIST", "COUNT", "UPDATE_STATUS", "ADD_MEDIA", "REMOVE_MEDIA", "REORDER_MEDIA", "GET_MEDIA", "UPDATE_MEDIA_TEXTS", "CREATE_VARIATION", "REMOVE_VARIATION", "ADD_VARIATION_OPTION", "REMOVE_VARIATION_OPTION", "ADD_ASSIGNMENT", "REMOVE_ASSIGNMENT", "GET_ASSIGNMENTS", "GET_VARIATION_PRODUCTS", "UPDATE_VARIATION_TEXTS", "ADD_BUNDLE_ITEM", "REMOVE_BUNDLE_ITEM", "GET_BUNDLE_ITEMS", "SIMULATE_PRICE", "SIMULATE_PRICE_RANGE", "GET_CATALOG_PRICE", "GET_PRODUCT_TEXTS", "GET_MEDIA_TEXTS", "GET_VARIATION_TEXTS", "GET_REVIEWS", "COUNT_REVIEWS", "GET_SIBLINGS", "UPDATE_PRODUCT_TEXTS"]>;
|
|
1629
1685
|
productId: z.ZodOptional<z.ZodString>;
|
|
1630
1686
|
slug: z.ZodOptional<z.ZodString>;
|
|
1631
1687
|
sku: z.ZodOptional<z.ZodString>;
|
|
@@ -1643,27 +1699,27 @@ export declare const ProductManagementSchema: {
|
|
|
1643
1699
|
trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
|
|
1644
1700
|
trialIntervalCount: z.ZodOptional<z.ZodNumber>;
|
|
1645
1701
|
}, "strip", z.ZodTypeAny, {
|
|
1646
|
-
usageCalculationType
|
|
1647
|
-
billingInterval
|
|
1648
|
-
billingIntervalCount
|
|
1649
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
1650
|
-
trialIntervalCount?: number;
|
|
1702
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
1703
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
1704
|
+
billingIntervalCount: number;
|
|
1705
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
1706
|
+
trialIntervalCount?: number | undefined;
|
|
1651
1707
|
}, {
|
|
1652
|
-
usageCalculationType
|
|
1653
|
-
billingInterval
|
|
1654
|
-
billingIntervalCount
|
|
1655
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
1656
|
-
trialIntervalCount?: number;
|
|
1708
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
1709
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
1710
|
+
billingIntervalCount: number;
|
|
1711
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
1712
|
+
trialIntervalCount?: number | undefined;
|
|
1657
1713
|
}>>;
|
|
1658
1714
|
warehousing: z.ZodOptional<z.ZodObject<{
|
|
1659
1715
|
sku: z.ZodOptional<z.ZodString>;
|
|
1660
1716
|
baseUnit: z.ZodOptional<z.ZodString>;
|
|
1661
1717
|
}, "strip", z.ZodTypeAny, {
|
|
1662
|
-
sku?: string;
|
|
1663
|
-
baseUnit?: string;
|
|
1718
|
+
sku?: string | undefined;
|
|
1719
|
+
baseUnit?: string | undefined;
|
|
1664
1720
|
}, {
|
|
1665
|
-
sku?: string;
|
|
1666
|
-
baseUnit?: string;
|
|
1721
|
+
sku?: string | undefined;
|
|
1722
|
+
baseUnit?: string | undefined;
|
|
1667
1723
|
}>>;
|
|
1668
1724
|
supply: z.ZodOptional<z.ZodObject<{
|
|
1669
1725
|
weightInGram: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1671,15 +1727,15 @@ export declare const ProductManagementSchema: {
|
|
|
1671
1727
|
lengthInMillimeters: z.ZodOptional<z.ZodNumber>;
|
|
1672
1728
|
widthInMillimeters: z.ZodOptional<z.ZodNumber>;
|
|
1673
1729
|
}, "strip", z.ZodTypeAny, {
|
|
1674
|
-
weightInGram?: number;
|
|
1675
|
-
lengthInMillimeters?: number;
|
|
1676
|
-
widthInMillimeters?: number;
|
|
1677
|
-
heightInMillimeters?: number;
|
|
1730
|
+
weightInGram?: number | undefined;
|
|
1731
|
+
lengthInMillimeters?: number | undefined;
|
|
1732
|
+
widthInMillimeters?: number | undefined;
|
|
1733
|
+
heightInMillimeters?: number | undefined;
|
|
1678
1734
|
}, {
|
|
1679
|
-
weightInGram?: number;
|
|
1680
|
-
lengthInMillimeters?: number;
|
|
1681
|
-
widthInMillimeters?: number;
|
|
1682
|
-
heightInMillimeters?: number;
|
|
1735
|
+
weightInGram?: number | undefined;
|
|
1736
|
+
lengthInMillimeters?: number | undefined;
|
|
1737
|
+
widthInMillimeters?: number | undefined;
|
|
1738
|
+
heightInMillimeters?: number | undefined;
|
|
1683
1739
|
}>>;
|
|
1684
1740
|
tokenization: z.ZodOptional<z.ZodObject<{
|
|
1685
1741
|
contractAddress: z.ZodString;
|
|
@@ -1688,17 +1744,17 @@ export declare const ProductManagementSchema: {
|
|
|
1688
1744
|
supply: z.ZodNumber;
|
|
1689
1745
|
ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1690
1746
|
}, "strip", z.ZodTypeAny, {
|
|
1691
|
-
supply
|
|
1692
|
-
contractAddress
|
|
1693
|
-
tokenId
|
|
1694
|
-
contractStandard
|
|
1695
|
-
ercMetadataProperties?: Record<string, any
|
|
1747
|
+
supply: number;
|
|
1748
|
+
contractAddress: string;
|
|
1749
|
+
tokenId: string;
|
|
1750
|
+
contractStandard: string;
|
|
1751
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
1696
1752
|
}, {
|
|
1697
|
-
supply
|
|
1698
|
-
contractAddress
|
|
1699
|
-
tokenId
|
|
1700
|
-
contractStandard
|
|
1701
|
-
ercMetadataProperties?: Record<string, any
|
|
1753
|
+
supply: number;
|
|
1754
|
+
contractAddress: string;
|
|
1755
|
+
tokenId: string;
|
|
1756
|
+
contractStandard: string;
|
|
1757
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
1702
1758
|
}>>;
|
|
1703
1759
|
commerce: z.ZodOptional<z.ZodObject<{
|
|
1704
1760
|
pricing: z.ZodArray<z.ZodObject<{
|
|
@@ -1709,145 +1765,145 @@ export declare const ProductManagementSchema: {
|
|
|
1709
1765
|
currencyCode: z.ZodString;
|
|
1710
1766
|
countryCode: z.ZodString;
|
|
1711
1767
|
}, "strip", z.ZodTypeAny, {
|
|
1712
|
-
countryCode
|
|
1713
|
-
currencyCode
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1768
|
+
countryCode: string;
|
|
1769
|
+
currencyCode: string;
|
|
1770
|
+
amount: number;
|
|
1771
|
+
isNetPrice?: boolean | undefined;
|
|
1772
|
+
isTaxable?: boolean | undefined;
|
|
1773
|
+
maxQuantity?: number | undefined;
|
|
1718
1774
|
}, {
|
|
1719
|
-
countryCode
|
|
1720
|
-
currencyCode
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1775
|
+
countryCode: string;
|
|
1776
|
+
currencyCode: string;
|
|
1777
|
+
amount: number;
|
|
1778
|
+
isNetPrice?: boolean | undefined;
|
|
1779
|
+
isTaxable?: boolean | undefined;
|
|
1780
|
+
maxQuantity?: number | undefined;
|
|
1725
1781
|
}>, "atleastone">;
|
|
1726
1782
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
-
pricing
|
|
1728
|
-
countryCode
|
|
1729
|
-
currencyCode
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1783
|
+
pricing: [{
|
|
1784
|
+
countryCode: string;
|
|
1785
|
+
currencyCode: string;
|
|
1786
|
+
amount: number;
|
|
1787
|
+
isNetPrice?: boolean | undefined;
|
|
1788
|
+
isTaxable?: boolean | undefined;
|
|
1789
|
+
maxQuantity?: number | undefined;
|
|
1734
1790
|
}, ...{
|
|
1735
|
-
countryCode
|
|
1736
|
-
currencyCode
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1791
|
+
countryCode: string;
|
|
1792
|
+
currencyCode: string;
|
|
1793
|
+
amount: number;
|
|
1794
|
+
isNetPrice?: boolean | undefined;
|
|
1795
|
+
isTaxable?: boolean | undefined;
|
|
1796
|
+
maxQuantity?: number | undefined;
|
|
1741
1797
|
}[]];
|
|
1742
1798
|
}, {
|
|
1743
|
-
pricing
|
|
1744
|
-
countryCode
|
|
1745
|
-
currencyCode
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1799
|
+
pricing: [{
|
|
1800
|
+
countryCode: string;
|
|
1801
|
+
currencyCode: string;
|
|
1802
|
+
amount: number;
|
|
1803
|
+
isNetPrice?: boolean | undefined;
|
|
1804
|
+
isTaxable?: boolean | undefined;
|
|
1805
|
+
maxQuantity?: number | undefined;
|
|
1750
1806
|
}, ...{
|
|
1751
|
-
countryCode
|
|
1752
|
-
currencyCode
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1807
|
+
countryCode: string;
|
|
1808
|
+
currencyCode: string;
|
|
1809
|
+
amount: number;
|
|
1810
|
+
isNetPrice?: boolean | undefined;
|
|
1811
|
+
isTaxable?: boolean | undefined;
|
|
1812
|
+
maxQuantity?: number | undefined;
|
|
1757
1813
|
}[]];
|
|
1758
1814
|
}>>;
|
|
1759
1815
|
}, "strip", z.ZodTypeAny, {
|
|
1760
|
-
meta?: Record<string, unknown
|
|
1761
|
-
sequence?: number;
|
|
1762
|
-
tags?: string[];
|
|
1763
|
-
type?: string;
|
|
1816
|
+
meta?: Record<string, unknown> | undefined;
|
|
1817
|
+
sequence?: number | undefined;
|
|
1818
|
+
tags?: string[] | undefined;
|
|
1819
|
+
type?: string | undefined;
|
|
1764
1820
|
commerce?: {
|
|
1765
|
-
pricing
|
|
1766
|
-
countryCode
|
|
1767
|
-
currencyCode
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1821
|
+
pricing: [{
|
|
1822
|
+
countryCode: string;
|
|
1823
|
+
currencyCode: string;
|
|
1824
|
+
amount: number;
|
|
1825
|
+
isNetPrice?: boolean | undefined;
|
|
1826
|
+
isTaxable?: boolean | undefined;
|
|
1827
|
+
maxQuantity?: number | undefined;
|
|
1772
1828
|
}, ...{
|
|
1773
|
-
countryCode
|
|
1774
|
-
currencyCode
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1829
|
+
countryCode: string;
|
|
1830
|
+
currencyCode: string;
|
|
1831
|
+
amount: number;
|
|
1832
|
+
isNetPrice?: boolean | undefined;
|
|
1833
|
+
isTaxable?: boolean | undefined;
|
|
1834
|
+
maxQuantity?: number | undefined;
|
|
1779
1835
|
}[]];
|
|
1780
|
-
};
|
|
1836
|
+
} | undefined;
|
|
1781
1837
|
plan?: {
|
|
1782
|
-
usageCalculationType
|
|
1783
|
-
billingInterval
|
|
1784
|
-
billingIntervalCount
|
|
1785
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
1786
|
-
trialIntervalCount?: number;
|
|
1787
|
-
};
|
|
1838
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
1839
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
1840
|
+
billingIntervalCount: number;
|
|
1841
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
1842
|
+
trialIntervalCount?: number | undefined;
|
|
1843
|
+
} | undefined;
|
|
1788
1844
|
supply?: {
|
|
1789
|
-
weightInGram?: number;
|
|
1790
|
-
lengthInMillimeters?: number;
|
|
1791
|
-
widthInMillimeters?: number;
|
|
1792
|
-
heightInMillimeters?: number;
|
|
1793
|
-
};
|
|
1845
|
+
weightInGram?: number | undefined;
|
|
1846
|
+
lengthInMillimeters?: number | undefined;
|
|
1847
|
+
widthInMillimeters?: number | undefined;
|
|
1848
|
+
heightInMillimeters?: number | undefined;
|
|
1849
|
+
} | undefined;
|
|
1794
1850
|
warehousing?: {
|
|
1795
|
-
sku?: string;
|
|
1796
|
-
baseUnit?: string;
|
|
1797
|
-
};
|
|
1851
|
+
sku?: string | undefined;
|
|
1852
|
+
baseUnit?: string | undefined;
|
|
1853
|
+
} | undefined;
|
|
1798
1854
|
tokenization?: {
|
|
1799
|
-
supply
|
|
1800
|
-
contractAddress
|
|
1801
|
-
tokenId
|
|
1802
|
-
contractStandard
|
|
1803
|
-
ercMetadataProperties?: Record<string, any
|
|
1804
|
-
};
|
|
1855
|
+
supply: number;
|
|
1856
|
+
contractAddress: string;
|
|
1857
|
+
tokenId: string;
|
|
1858
|
+
contractStandard: string;
|
|
1859
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
1860
|
+
} | undefined;
|
|
1805
1861
|
}, {
|
|
1806
|
-
meta?: Record<string, unknown
|
|
1807
|
-
sequence?: number;
|
|
1808
|
-
tags?: string[];
|
|
1809
|
-
type?: string;
|
|
1862
|
+
meta?: Record<string, unknown> | undefined;
|
|
1863
|
+
sequence?: number | undefined;
|
|
1864
|
+
tags?: string[] | undefined;
|
|
1865
|
+
type?: string | undefined;
|
|
1810
1866
|
commerce?: {
|
|
1811
|
-
pricing
|
|
1812
|
-
countryCode
|
|
1813
|
-
currencyCode
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1867
|
+
pricing: [{
|
|
1868
|
+
countryCode: string;
|
|
1869
|
+
currencyCode: string;
|
|
1870
|
+
amount: number;
|
|
1871
|
+
isNetPrice?: boolean | undefined;
|
|
1872
|
+
isTaxable?: boolean | undefined;
|
|
1873
|
+
maxQuantity?: number | undefined;
|
|
1818
1874
|
}, ...{
|
|
1819
|
-
countryCode
|
|
1820
|
-
currencyCode
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1875
|
+
countryCode: string;
|
|
1876
|
+
currencyCode: string;
|
|
1877
|
+
amount: number;
|
|
1878
|
+
isNetPrice?: boolean | undefined;
|
|
1879
|
+
isTaxable?: boolean | undefined;
|
|
1880
|
+
maxQuantity?: number | undefined;
|
|
1825
1881
|
}[]];
|
|
1826
|
-
};
|
|
1882
|
+
} | undefined;
|
|
1827
1883
|
plan?: {
|
|
1828
|
-
usageCalculationType
|
|
1829
|
-
billingInterval
|
|
1830
|
-
billingIntervalCount
|
|
1831
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
1832
|
-
trialIntervalCount?: number;
|
|
1833
|
-
};
|
|
1884
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
1885
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
1886
|
+
billingIntervalCount: number;
|
|
1887
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
1888
|
+
trialIntervalCount?: number | undefined;
|
|
1889
|
+
} | undefined;
|
|
1834
1890
|
supply?: {
|
|
1835
|
-
weightInGram?: number;
|
|
1836
|
-
lengthInMillimeters?: number;
|
|
1837
|
-
widthInMillimeters?: number;
|
|
1838
|
-
heightInMillimeters?: number;
|
|
1839
|
-
};
|
|
1891
|
+
weightInGram?: number | undefined;
|
|
1892
|
+
lengthInMillimeters?: number | undefined;
|
|
1893
|
+
widthInMillimeters?: number | undefined;
|
|
1894
|
+
heightInMillimeters?: number | undefined;
|
|
1895
|
+
} | undefined;
|
|
1840
1896
|
warehousing?: {
|
|
1841
|
-
sku?: string;
|
|
1842
|
-
baseUnit?: string;
|
|
1843
|
-
};
|
|
1897
|
+
sku?: string | undefined;
|
|
1898
|
+
baseUnit?: string | undefined;
|
|
1899
|
+
} | undefined;
|
|
1844
1900
|
tokenization?: {
|
|
1845
|
-
supply
|
|
1846
|
-
contractAddress
|
|
1847
|
-
tokenId
|
|
1848
|
-
contractStandard
|
|
1849
|
-
ercMetadataProperties?: Record<string, any
|
|
1850
|
-
};
|
|
1901
|
+
supply: number;
|
|
1902
|
+
contractAddress: string;
|
|
1903
|
+
tokenId: string;
|
|
1904
|
+
contractStandard: string;
|
|
1905
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
1906
|
+
} | undefined;
|
|
1851
1907
|
}>>;
|
|
1852
1908
|
texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1853
1909
|
locale: z.ZodString;
|
|
@@ -1860,23 +1916,23 @@ export declare const ProductManagementSchema: {
|
|
|
1860
1916
|
brand: z.ZodOptional<z.ZodString>;
|
|
1861
1917
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1862
1918
|
}, "strip", z.ZodTypeAny, {
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
subtitle?: string;
|
|
1867
|
-
slug?: string;
|
|
1868
|
-
brand?: string;
|
|
1869
|
-
vendor?: string;
|
|
1870
|
-
labels?: string[];
|
|
1919
|
+
locale: string;
|
|
1920
|
+
title: string;
|
|
1921
|
+
description?: string | undefined;
|
|
1922
|
+
subtitle?: string | undefined;
|
|
1923
|
+
slug?: string | undefined;
|
|
1924
|
+
brand?: string | undefined;
|
|
1925
|
+
vendor?: string | undefined;
|
|
1926
|
+
labels?: string[] | undefined;
|
|
1871
1927
|
}, {
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
subtitle?: string;
|
|
1876
|
-
slug?: string;
|
|
1877
|
-
brand?: string;
|
|
1878
|
-
vendor?: string;
|
|
1879
|
-
labels?: string[];
|
|
1928
|
+
locale: string;
|
|
1929
|
+
title: string;
|
|
1930
|
+
description?: string | undefined;
|
|
1931
|
+
subtitle?: string | undefined;
|
|
1932
|
+
slug?: string | undefined;
|
|
1933
|
+
brand?: string | undefined;
|
|
1934
|
+
vendor?: string | undefined;
|
|
1935
|
+
labels?: string[] | undefined;
|
|
1880
1936
|
}>, "many">>;
|
|
1881
1937
|
statusAction: z.ZodOptional<z.ZodEnum<["PUBLISH", "UNPUBLISH"]>>;
|
|
1882
1938
|
mediaName: z.ZodOptional<z.ZodString>;
|
|
@@ -1885,35 +1941,35 @@ export declare const ProductManagementSchema: {
|
|
|
1885
1941
|
productMediaId: z.ZodString;
|
|
1886
1942
|
sortKey: z.ZodNumber;
|
|
1887
1943
|
}, "strip", z.ZodTypeAny, {
|
|
1888
|
-
sortKey
|
|
1889
|
-
productMediaId
|
|
1944
|
+
sortKey: number;
|
|
1945
|
+
productMediaId: string;
|
|
1890
1946
|
}, {
|
|
1891
|
-
sortKey
|
|
1892
|
-
productMediaId
|
|
1947
|
+
sortKey: number;
|
|
1948
|
+
productMediaId: string;
|
|
1893
1949
|
}>, "many">>;
|
|
1894
1950
|
mediaTexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1895
1951
|
locale: z.ZodString;
|
|
1896
1952
|
title: z.ZodString;
|
|
1897
1953
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
1898
1954
|
}, "strip", z.ZodTypeAny, {
|
|
1899
|
-
locale
|
|
1900
|
-
title
|
|
1901
|
-
subtitle?: string;
|
|
1955
|
+
locale: string;
|
|
1956
|
+
title: string;
|
|
1957
|
+
subtitle?: string | undefined;
|
|
1902
1958
|
}, {
|
|
1903
|
-
locale
|
|
1904
|
-
title
|
|
1905
|
-
subtitle?: string;
|
|
1959
|
+
locale: string;
|
|
1960
|
+
title: string;
|
|
1961
|
+
subtitle?: string | undefined;
|
|
1906
1962
|
}>, "many">>;
|
|
1907
1963
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1908
1964
|
variation: z.ZodOptional<z.ZodObject<{
|
|
1909
1965
|
key: z.ZodString;
|
|
1910
1966
|
type: z.ZodEnum<[string, ...string[]]>;
|
|
1911
1967
|
}, "strip", z.ZodTypeAny, {
|
|
1912
|
-
key
|
|
1913
|
-
type
|
|
1968
|
+
key: string;
|
|
1969
|
+
type: string;
|
|
1914
1970
|
}, {
|
|
1915
|
-
key
|
|
1916
|
-
type
|
|
1971
|
+
key: string;
|
|
1972
|
+
type: string;
|
|
1917
1973
|
}>>;
|
|
1918
1974
|
option: z.ZodOptional<z.ZodString>;
|
|
1919
1975
|
productVariationOptionValue: z.ZodOptional<z.ZodString>;
|
|
@@ -1922,13 +1978,13 @@ export declare const ProductManagementSchema: {
|
|
|
1922
1978
|
title: z.ZodString;
|
|
1923
1979
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
1924
1980
|
}, "strip", z.ZodTypeAny, {
|
|
1925
|
-
locale
|
|
1926
|
-
title
|
|
1927
|
-
subtitle?: string;
|
|
1981
|
+
locale: string;
|
|
1982
|
+
title: string;
|
|
1983
|
+
subtitle?: string | undefined;
|
|
1928
1984
|
}, {
|
|
1929
|
-
locale
|
|
1930
|
-
title
|
|
1931
|
-
subtitle?: string;
|
|
1985
|
+
locale: string;
|
|
1986
|
+
title: string;
|
|
1987
|
+
subtitle?: string | undefined;
|
|
1932
1988
|
}>, "many">>;
|
|
1933
1989
|
assignProductId: z.ZodOptional<z.ZodString>;
|
|
1934
1990
|
proxyId: z.ZodOptional<z.ZodString>;
|
|
@@ -1936,11 +1992,11 @@ export declare const ProductManagementSchema: {
|
|
|
1936
1992
|
key: z.ZodString;
|
|
1937
1993
|
value: z.ZodString;
|
|
1938
1994
|
}, "strip", z.ZodTypeAny, {
|
|
1939
|
-
key
|
|
1940
|
-
value
|
|
1995
|
+
key: string;
|
|
1996
|
+
value: string;
|
|
1941
1997
|
}, {
|
|
1942
|
-
key
|
|
1943
|
-
value
|
|
1998
|
+
key: string;
|
|
1999
|
+
value: string;
|
|
1944
2000
|
}>, "many">>;
|
|
1945
2001
|
bundleId: z.ZodOptional<z.ZodString>;
|
|
1946
2002
|
bundleProductId: z.ZodOptional<z.ZodString>;
|
|
@@ -1959,15 +2015,15 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
|
|
|
1959
2015
|
key: z.ZodString;
|
|
1960
2016
|
value: z.ZodEnum<[string, ...string[]]>;
|
|
1961
2017
|
}, "strip", z.ZodTypeAny, {
|
|
1962
|
-
key
|
|
1963
|
-
value
|
|
2018
|
+
key: string;
|
|
2019
|
+
value: string;
|
|
1964
2020
|
}, {
|
|
1965
|
-
key
|
|
1966
|
-
value
|
|
2021
|
+
key: string;
|
|
2022
|
+
value: string;
|
|
1967
2023
|
}>, "many">>;
|
|
1968
2024
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1969
2025
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1970
|
-
action: z.ZodEnum<["CREATE", "UPDATE", "REMOVE", "GET", "LIST", "COUNT", "UPDATE_STATUS", "ADD_MEDIA", "REMOVE_MEDIA", "REORDER_MEDIA", "GET_MEDIA", "UPDATE_MEDIA_TEXTS", "CREATE_VARIATION", "REMOVE_VARIATION", "ADD_VARIATION_OPTION", "REMOVE_VARIATION_OPTION", "ADD_ASSIGNMENT", "REMOVE_ASSIGNMENT", "GET_ASSIGNMENTS", "GET_VARIATION_PRODUCTS", "UPDATE_VARIATION_TEXTS", "ADD_BUNDLE_ITEM", "REMOVE_BUNDLE_ITEM", "GET_BUNDLE_ITEMS", "SIMULATE_PRICE", "SIMULATE_PRICE_RANGE", "GET_CATALOG_PRICE", "GET_PRODUCT_TEXTS", "GET_MEDIA_TEXTS", "GET_VARIATION_TEXTS", "GET_REVIEWS", "COUNT_REVIEWS", "GET_SIBLINGS"]>;
|
|
2026
|
+
action: z.ZodEnum<["CREATE", "UPDATE", "REMOVE", "GET", "LIST", "COUNT", "UPDATE_STATUS", "ADD_MEDIA", "REMOVE_MEDIA", "REORDER_MEDIA", "GET_MEDIA", "UPDATE_MEDIA_TEXTS", "CREATE_VARIATION", "REMOVE_VARIATION", "ADD_VARIATION_OPTION", "REMOVE_VARIATION_OPTION", "ADD_ASSIGNMENT", "REMOVE_ASSIGNMENT", "GET_ASSIGNMENTS", "GET_VARIATION_PRODUCTS", "UPDATE_VARIATION_TEXTS", "ADD_BUNDLE_ITEM", "REMOVE_BUNDLE_ITEM", "GET_BUNDLE_ITEMS", "SIMULATE_PRICE", "SIMULATE_PRICE_RANGE", "GET_CATALOG_PRICE", "GET_PRODUCT_TEXTS", "GET_MEDIA_TEXTS", "GET_VARIATION_TEXTS", "GET_REVIEWS", "COUNT_REVIEWS", "GET_SIBLINGS", "UPDATE_PRODUCT_TEXTS"]>;
|
|
1971
2027
|
productId: z.ZodOptional<z.ZodString>;
|
|
1972
2028
|
slug: z.ZodOptional<z.ZodString>;
|
|
1973
2029
|
sku: z.ZodOptional<z.ZodString>;
|
|
@@ -1985,27 +2041,27 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
|
|
|
1985
2041
|
trialInterval: z.ZodOptional<z.ZodEnum<["HOURS", "DAYS", "WEEKS", "MONTHS", "YEARS"]>>;
|
|
1986
2042
|
trialIntervalCount: z.ZodOptional<z.ZodNumber>;
|
|
1987
2043
|
}, "strip", z.ZodTypeAny, {
|
|
1988
|
-
usageCalculationType
|
|
1989
|
-
billingInterval
|
|
1990
|
-
billingIntervalCount
|
|
1991
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
1992
|
-
trialIntervalCount?: number;
|
|
2044
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
2045
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
2046
|
+
billingIntervalCount: number;
|
|
2047
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
2048
|
+
trialIntervalCount?: number | undefined;
|
|
1993
2049
|
}, {
|
|
1994
|
-
usageCalculationType
|
|
1995
|
-
billingInterval
|
|
1996
|
-
billingIntervalCount
|
|
1997
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
1998
|
-
trialIntervalCount?: number;
|
|
2050
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
2051
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
2052
|
+
billingIntervalCount: number;
|
|
2053
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
2054
|
+
trialIntervalCount?: number | undefined;
|
|
1999
2055
|
}>>;
|
|
2000
2056
|
warehousing: z.ZodOptional<z.ZodObject<{
|
|
2001
2057
|
sku: z.ZodOptional<z.ZodString>;
|
|
2002
2058
|
baseUnit: z.ZodOptional<z.ZodString>;
|
|
2003
2059
|
}, "strip", z.ZodTypeAny, {
|
|
2004
|
-
sku?: string;
|
|
2005
|
-
baseUnit?: string;
|
|
2060
|
+
sku?: string | undefined;
|
|
2061
|
+
baseUnit?: string | undefined;
|
|
2006
2062
|
}, {
|
|
2007
|
-
sku?: string;
|
|
2008
|
-
baseUnit?: string;
|
|
2063
|
+
sku?: string | undefined;
|
|
2064
|
+
baseUnit?: string | undefined;
|
|
2009
2065
|
}>>;
|
|
2010
2066
|
supply: z.ZodOptional<z.ZodObject<{
|
|
2011
2067
|
weightInGram: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2013,15 +2069,15 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
|
|
|
2013
2069
|
lengthInMillimeters: z.ZodOptional<z.ZodNumber>;
|
|
2014
2070
|
widthInMillimeters: z.ZodOptional<z.ZodNumber>;
|
|
2015
2071
|
}, "strip", z.ZodTypeAny, {
|
|
2016
|
-
weightInGram?: number;
|
|
2017
|
-
lengthInMillimeters?: number;
|
|
2018
|
-
widthInMillimeters?: number;
|
|
2019
|
-
heightInMillimeters?: number;
|
|
2072
|
+
weightInGram?: number | undefined;
|
|
2073
|
+
lengthInMillimeters?: number | undefined;
|
|
2074
|
+
widthInMillimeters?: number | undefined;
|
|
2075
|
+
heightInMillimeters?: number | undefined;
|
|
2020
2076
|
}, {
|
|
2021
|
-
weightInGram?: number;
|
|
2022
|
-
lengthInMillimeters?: number;
|
|
2023
|
-
widthInMillimeters?: number;
|
|
2024
|
-
heightInMillimeters?: number;
|
|
2077
|
+
weightInGram?: number | undefined;
|
|
2078
|
+
lengthInMillimeters?: number | undefined;
|
|
2079
|
+
widthInMillimeters?: number | undefined;
|
|
2080
|
+
heightInMillimeters?: number | undefined;
|
|
2025
2081
|
}>>;
|
|
2026
2082
|
tokenization: z.ZodOptional<z.ZodObject<{
|
|
2027
2083
|
contractAddress: z.ZodString;
|
|
@@ -2030,17 +2086,17 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
|
|
|
2030
2086
|
supply: z.ZodNumber;
|
|
2031
2087
|
ercMetadataProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2032
2088
|
}, "strip", z.ZodTypeAny, {
|
|
2033
|
-
supply
|
|
2034
|
-
contractAddress
|
|
2035
|
-
tokenId
|
|
2036
|
-
contractStandard
|
|
2037
|
-
ercMetadataProperties?: Record<string, any
|
|
2089
|
+
supply: number;
|
|
2090
|
+
contractAddress: string;
|
|
2091
|
+
tokenId: string;
|
|
2092
|
+
contractStandard: string;
|
|
2093
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
2038
2094
|
}, {
|
|
2039
|
-
supply
|
|
2040
|
-
contractAddress
|
|
2041
|
-
tokenId
|
|
2042
|
-
contractStandard
|
|
2043
|
-
ercMetadataProperties?: Record<string, any
|
|
2095
|
+
supply: number;
|
|
2096
|
+
contractAddress: string;
|
|
2097
|
+
tokenId: string;
|
|
2098
|
+
contractStandard: string;
|
|
2099
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
2044
2100
|
}>>;
|
|
2045
2101
|
commerce: z.ZodOptional<z.ZodObject<{
|
|
2046
2102
|
pricing: z.ZodArray<z.ZodObject<{
|
|
@@ -2051,145 +2107,145 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
|
|
|
2051
2107
|
currencyCode: z.ZodString;
|
|
2052
2108
|
countryCode: z.ZodString;
|
|
2053
2109
|
}, "strip", z.ZodTypeAny, {
|
|
2054
|
-
countryCode
|
|
2055
|
-
currencyCode
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2110
|
+
countryCode: string;
|
|
2111
|
+
currencyCode: string;
|
|
2112
|
+
amount: number;
|
|
2113
|
+
isNetPrice?: boolean | undefined;
|
|
2114
|
+
isTaxable?: boolean | undefined;
|
|
2115
|
+
maxQuantity?: number | undefined;
|
|
2060
2116
|
}, {
|
|
2061
|
-
countryCode
|
|
2062
|
-
currencyCode
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2117
|
+
countryCode: string;
|
|
2118
|
+
currencyCode: string;
|
|
2119
|
+
amount: number;
|
|
2120
|
+
isNetPrice?: boolean | undefined;
|
|
2121
|
+
isTaxable?: boolean | undefined;
|
|
2122
|
+
maxQuantity?: number | undefined;
|
|
2067
2123
|
}>, "atleastone">;
|
|
2068
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2069
|
-
pricing
|
|
2070
|
-
countryCode
|
|
2071
|
-
currencyCode
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2125
|
+
pricing: [{
|
|
2126
|
+
countryCode: string;
|
|
2127
|
+
currencyCode: string;
|
|
2128
|
+
amount: number;
|
|
2129
|
+
isNetPrice?: boolean | undefined;
|
|
2130
|
+
isTaxable?: boolean | undefined;
|
|
2131
|
+
maxQuantity?: number | undefined;
|
|
2076
2132
|
}, ...{
|
|
2077
|
-
countryCode
|
|
2078
|
-
currencyCode
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2133
|
+
countryCode: string;
|
|
2134
|
+
currencyCode: string;
|
|
2135
|
+
amount: number;
|
|
2136
|
+
isNetPrice?: boolean | undefined;
|
|
2137
|
+
isTaxable?: boolean | undefined;
|
|
2138
|
+
maxQuantity?: number | undefined;
|
|
2083
2139
|
}[]];
|
|
2084
2140
|
}, {
|
|
2085
|
-
pricing
|
|
2086
|
-
countryCode
|
|
2087
|
-
currencyCode
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2141
|
+
pricing: [{
|
|
2142
|
+
countryCode: string;
|
|
2143
|
+
currencyCode: string;
|
|
2144
|
+
amount: number;
|
|
2145
|
+
isNetPrice?: boolean | undefined;
|
|
2146
|
+
isTaxable?: boolean | undefined;
|
|
2147
|
+
maxQuantity?: number | undefined;
|
|
2092
2148
|
}, ...{
|
|
2093
|
-
countryCode
|
|
2094
|
-
currencyCode
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2149
|
+
countryCode: string;
|
|
2150
|
+
currencyCode: string;
|
|
2151
|
+
amount: number;
|
|
2152
|
+
isNetPrice?: boolean | undefined;
|
|
2153
|
+
isTaxable?: boolean | undefined;
|
|
2154
|
+
maxQuantity?: number | undefined;
|
|
2099
2155
|
}[]];
|
|
2100
2156
|
}>>;
|
|
2101
2157
|
}, "strip", z.ZodTypeAny, {
|
|
2102
|
-
meta?: Record<string, unknown
|
|
2103
|
-
sequence?: number;
|
|
2104
|
-
tags?: string[];
|
|
2105
|
-
type?: string;
|
|
2158
|
+
meta?: Record<string, unknown> | undefined;
|
|
2159
|
+
sequence?: number | undefined;
|
|
2160
|
+
tags?: string[] | undefined;
|
|
2161
|
+
type?: string | undefined;
|
|
2106
2162
|
commerce?: {
|
|
2107
|
-
pricing
|
|
2108
|
-
countryCode
|
|
2109
|
-
currencyCode
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2163
|
+
pricing: [{
|
|
2164
|
+
countryCode: string;
|
|
2165
|
+
currencyCode: string;
|
|
2166
|
+
amount: number;
|
|
2167
|
+
isNetPrice?: boolean | undefined;
|
|
2168
|
+
isTaxable?: boolean | undefined;
|
|
2169
|
+
maxQuantity?: number | undefined;
|
|
2114
2170
|
}, ...{
|
|
2115
|
-
countryCode
|
|
2116
|
-
currencyCode
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2171
|
+
countryCode: string;
|
|
2172
|
+
currencyCode: string;
|
|
2173
|
+
amount: number;
|
|
2174
|
+
isNetPrice?: boolean | undefined;
|
|
2175
|
+
isTaxable?: boolean | undefined;
|
|
2176
|
+
maxQuantity?: number | undefined;
|
|
2121
2177
|
}[]];
|
|
2122
|
-
};
|
|
2178
|
+
} | undefined;
|
|
2123
2179
|
plan?: {
|
|
2124
|
-
usageCalculationType
|
|
2125
|
-
billingInterval
|
|
2126
|
-
billingIntervalCount
|
|
2127
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
2128
|
-
trialIntervalCount?: number;
|
|
2129
|
-
};
|
|
2180
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
2181
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
2182
|
+
billingIntervalCount: number;
|
|
2183
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
2184
|
+
trialIntervalCount?: number | undefined;
|
|
2185
|
+
} | undefined;
|
|
2130
2186
|
supply?: {
|
|
2131
|
-
weightInGram?: number;
|
|
2132
|
-
lengthInMillimeters?: number;
|
|
2133
|
-
widthInMillimeters?: number;
|
|
2134
|
-
heightInMillimeters?: number;
|
|
2135
|
-
};
|
|
2187
|
+
weightInGram?: number | undefined;
|
|
2188
|
+
lengthInMillimeters?: number | undefined;
|
|
2189
|
+
widthInMillimeters?: number | undefined;
|
|
2190
|
+
heightInMillimeters?: number | undefined;
|
|
2191
|
+
} | undefined;
|
|
2136
2192
|
warehousing?: {
|
|
2137
|
-
sku?: string;
|
|
2138
|
-
baseUnit?: string;
|
|
2139
|
-
};
|
|
2193
|
+
sku?: string | undefined;
|
|
2194
|
+
baseUnit?: string | undefined;
|
|
2195
|
+
} | undefined;
|
|
2140
2196
|
tokenization?: {
|
|
2141
|
-
supply
|
|
2142
|
-
contractAddress
|
|
2143
|
-
tokenId
|
|
2144
|
-
contractStandard
|
|
2145
|
-
ercMetadataProperties?: Record<string, any
|
|
2146
|
-
};
|
|
2197
|
+
supply: number;
|
|
2198
|
+
contractAddress: string;
|
|
2199
|
+
tokenId: string;
|
|
2200
|
+
contractStandard: string;
|
|
2201
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
2202
|
+
} | undefined;
|
|
2147
2203
|
}, {
|
|
2148
|
-
meta?: Record<string, unknown
|
|
2149
|
-
sequence?: number;
|
|
2150
|
-
tags?: string[];
|
|
2151
|
-
type?: string;
|
|
2204
|
+
meta?: Record<string, unknown> | undefined;
|
|
2205
|
+
sequence?: number | undefined;
|
|
2206
|
+
tags?: string[] | undefined;
|
|
2207
|
+
type?: string | undefined;
|
|
2152
2208
|
commerce?: {
|
|
2153
|
-
pricing
|
|
2154
|
-
countryCode
|
|
2155
|
-
currencyCode
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2209
|
+
pricing: [{
|
|
2210
|
+
countryCode: string;
|
|
2211
|
+
currencyCode: string;
|
|
2212
|
+
amount: number;
|
|
2213
|
+
isNetPrice?: boolean | undefined;
|
|
2214
|
+
isTaxable?: boolean | undefined;
|
|
2215
|
+
maxQuantity?: number | undefined;
|
|
2160
2216
|
}, ...{
|
|
2161
|
-
countryCode
|
|
2162
|
-
currencyCode
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2217
|
+
countryCode: string;
|
|
2218
|
+
currencyCode: string;
|
|
2219
|
+
amount: number;
|
|
2220
|
+
isNetPrice?: boolean | undefined;
|
|
2221
|
+
isTaxable?: boolean | undefined;
|
|
2222
|
+
maxQuantity?: number | undefined;
|
|
2167
2223
|
}[]];
|
|
2168
|
-
};
|
|
2224
|
+
} | undefined;
|
|
2169
2225
|
plan?: {
|
|
2170
|
-
usageCalculationType
|
|
2171
|
-
billingInterval
|
|
2172
|
-
billingIntervalCount
|
|
2173
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
2174
|
-
trialIntervalCount?: number;
|
|
2175
|
-
};
|
|
2226
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
2227
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
2228
|
+
billingIntervalCount: number;
|
|
2229
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
2230
|
+
trialIntervalCount?: number | undefined;
|
|
2231
|
+
} | undefined;
|
|
2176
2232
|
supply?: {
|
|
2177
|
-
weightInGram?: number;
|
|
2178
|
-
lengthInMillimeters?: number;
|
|
2179
|
-
widthInMillimeters?: number;
|
|
2180
|
-
heightInMillimeters?: number;
|
|
2181
|
-
};
|
|
2233
|
+
weightInGram?: number | undefined;
|
|
2234
|
+
lengthInMillimeters?: number | undefined;
|
|
2235
|
+
widthInMillimeters?: number | undefined;
|
|
2236
|
+
heightInMillimeters?: number | undefined;
|
|
2237
|
+
} | undefined;
|
|
2182
2238
|
warehousing?: {
|
|
2183
|
-
sku?: string;
|
|
2184
|
-
baseUnit?: string;
|
|
2185
|
-
};
|
|
2239
|
+
sku?: string | undefined;
|
|
2240
|
+
baseUnit?: string | undefined;
|
|
2241
|
+
} | undefined;
|
|
2186
2242
|
tokenization?: {
|
|
2187
|
-
supply
|
|
2188
|
-
contractAddress
|
|
2189
|
-
tokenId
|
|
2190
|
-
contractStandard
|
|
2191
|
-
ercMetadataProperties?: Record<string, any
|
|
2192
|
-
};
|
|
2243
|
+
supply: number;
|
|
2244
|
+
contractAddress: string;
|
|
2245
|
+
tokenId: string;
|
|
2246
|
+
contractStandard: string;
|
|
2247
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
2248
|
+
} | undefined;
|
|
2193
2249
|
}>>;
|
|
2194
2250
|
texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2195
2251
|
locale: z.ZodString;
|
|
@@ -2202,23 +2258,23 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
|
|
|
2202
2258
|
brand: z.ZodOptional<z.ZodString>;
|
|
2203
2259
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2204
2260
|
}, "strip", z.ZodTypeAny, {
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
subtitle?: string;
|
|
2209
|
-
slug?: string;
|
|
2210
|
-
brand?: string;
|
|
2211
|
-
vendor?: string;
|
|
2212
|
-
labels?: string[];
|
|
2261
|
+
locale: string;
|
|
2262
|
+
title: string;
|
|
2263
|
+
description?: string | undefined;
|
|
2264
|
+
subtitle?: string | undefined;
|
|
2265
|
+
slug?: string | undefined;
|
|
2266
|
+
brand?: string | undefined;
|
|
2267
|
+
vendor?: string | undefined;
|
|
2268
|
+
labels?: string[] | undefined;
|
|
2213
2269
|
}, {
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
subtitle?: string;
|
|
2218
|
-
slug?: string;
|
|
2219
|
-
brand?: string;
|
|
2220
|
-
vendor?: string;
|
|
2221
|
-
labels?: string[];
|
|
2270
|
+
locale: string;
|
|
2271
|
+
title: string;
|
|
2272
|
+
description?: string | undefined;
|
|
2273
|
+
subtitle?: string | undefined;
|
|
2274
|
+
slug?: string | undefined;
|
|
2275
|
+
brand?: string | undefined;
|
|
2276
|
+
vendor?: string | undefined;
|
|
2277
|
+
labels?: string[] | undefined;
|
|
2222
2278
|
}>, "many">>;
|
|
2223
2279
|
statusAction: z.ZodOptional<z.ZodEnum<["PUBLISH", "UNPUBLISH"]>>;
|
|
2224
2280
|
mediaName: z.ZodOptional<z.ZodString>;
|
|
@@ -2227,35 +2283,35 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
|
|
|
2227
2283
|
productMediaId: z.ZodString;
|
|
2228
2284
|
sortKey: z.ZodNumber;
|
|
2229
2285
|
}, "strip", z.ZodTypeAny, {
|
|
2230
|
-
sortKey
|
|
2231
|
-
productMediaId
|
|
2286
|
+
sortKey: number;
|
|
2287
|
+
productMediaId: string;
|
|
2232
2288
|
}, {
|
|
2233
|
-
sortKey
|
|
2234
|
-
productMediaId
|
|
2289
|
+
sortKey: number;
|
|
2290
|
+
productMediaId: string;
|
|
2235
2291
|
}>, "many">>;
|
|
2236
2292
|
mediaTexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2237
2293
|
locale: z.ZodString;
|
|
2238
2294
|
title: z.ZodString;
|
|
2239
2295
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
2240
2296
|
}, "strip", z.ZodTypeAny, {
|
|
2241
|
-
locale
|
|
2242
|
-
title
|
|
2243
|
-
subtitle?: string;
|
|
2297
|
+
locale: string;
|
|
2298
|
+
title: string;
|
|
2299
|
+
subtitle?: string | undefined;
|
|
2244
2300
|
}, {
|
|
2245
|
-
locale
|
|
2246
|
-
title
|
|
2247
|
-
subtitle?: string;
|
|
2301
|
+
locale: string;
|
|
2302
|
+
title: string;
|
|
2303
|
+
subtitle?: string | undefined;
|
|
2248
2304
|
}>, "many">>;
|
|
2249
2305
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2250
2306
|
variation: z.ZodOptional<z.ZodObject<{
|
|
2251
2307
|
key: z.ZodString;
|
|
2252
2308
|
type: z.ZodEnum<[string, ...string[]]>;
|
|
2253
2309
|
}, "strip", z.ZodTypeAny, {
|
|
2254
|
-
key
|
|
2255
|
-
type
|
|
2310
|
+
key: string;
|
|
2311
|
+
type: string;
|
|
2256
2312
|
}, {
|
|
2257
|
-
key
|
|
2258
|
-
type
|
|
2313
|
+
key: string;
|
|
2314
|
+
type: string;
|
|
2259
2315
|
}>>;
|
|
2260
2316
|
option: z.ZodOptional<z.ZodString>;
|
|
2261
2317
|
productVariationOptionValue: z.ZodOptional<z.ZodString>;
|
|
@@ -2264,13 +2320,13 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
|
|
|
2264
2320
|
title: z.ZodString;
|
|
2265
2321
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
2266
2322
|
}, "strip", z.ZodTypeAny, {
|
|
2267
|
-
locale
|
|
2268
|
-
title
|
|
2269
|
-
subtitle?: string;
|
|
2323
|
+
locale: string;
|
|
2324
|
+
title: string;
|
|
2325
|
+
subtitle?: string | undefined;
|
|
2270
2326
|
}, {
|
|
2271
|
-
locale
|
|
2272
|
-
title
|
|
2273
|
-
subtitle?: string;
|
|
2327
|
+
locale: string;
|
|
2328
|
+
title: string;
|
|
2329
|
+
subtitle?: string | undefined;
|
|
2274
2330
|
}>, "many">>;
|
|
2275
2331
|
assignProductId: z.ZodOptional<z.ZodString>;
|
|
2276
2332
|
proxyId: z.ZodOptional<z.ZodString>;
|
|
@@ -2278,11 +2334,11 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
|
|
|
2278
2334
|
key: z.ZodString;
|
|
2279
2335
|
value: z.ZodString;
|
|
2280
2336
|
}, "strip", z.ZodTypeAny, {
|
|
2281
|
-
key
|
|
2282
|
-
value
|
|
2337
|
+
key: string;
|
|
2338
|
+
value: string;
|
|
2283
2339
|
}, {
|
|
2284
|
-
key
|
|
2285
|
-
value
|
|
2340
|
+
key: string;
|
|
2341
|
+
value: string;
|
|
2286
2342
|
}>, "many">>;
|
|
2287
2343
|
bundleId: z.ZodOptional<z.ZodString>;
|
|
2288
2344
|
bundleProductId: z.ZodOptional<z.ZodString>;
|
|
@@ -2291,227 +2347,227 @@ export declare const ProductManagementZodSchema: z.ZodObject<{
|
|
|
2291
2347
|
currencyCode: z.ZodOptional<z.ZodString>;
|
|
2292
2348
|
useNetPrice: z.ZodOptional<z.ZodBoolean>;
|
|
2293
2349
|
}, "strip", z.ZodTypeAny, {
|
|
2294
|
-
|
|
2350
|
+
includeInactive: boolean;
|
|
2351
|
+
action: "GET" | "CREATE" | "UPDATE" | "REMOVE" | "LIST" | "COUNT" | "UPDATE_STATUS" | "ADD_MEDIA" | "REMOVE_MEDIA" | "REORDER_MEDIA" | "GET_MEDIA" | "UPDATE_MEDIA_TEXTS" | "CREATE_VARIATION" | "REMOVE_VARIATION" | "ADD_VARIATION_OPTION" | "REMOVE_VARIATION_OPTION" | "ADD_ASSIGNMENT" | "REMOVE_ASSIGNMENT" | "GET_ASSIGNMENTS" | "GET_VARIATION_PRODUCTS" | "UPDATE_VARIATION_TEXTS" | "ADD_BUNDLE_ITEM" | "REMOVE_BUNDLE_ITEM" | "GET_BUNDLE_ITEMS" | "SIMULATE_PRICE" | "SIMULATE_PRICE_RANGE" | "GET_CATALOG_PRICE" | "GET_PRODUCT_TEXTS" | "GET_MEDIA_TEXTS" | "GET_VARIATION_TEXTS" | "GET_REVIEWS" | "COUNT_REVIEWS" | "GET_SIBLINGS" | "UPDATE_PRODUCT_TEXTS";
|
|
2352
|
+
tags?: string[] | undefined;
|
|
2295
2353
|
sort?: {
|
|
2296
|
-
key
|
|
2297
|
-
value
|
|
2298
|
-
}[];
|
|
2299
|
-
index?: number;
|
|
2300
|
-
assortmentId?: string;
|
|
2301
|
-
productId?: string;
|
|
2302
|
-
slug?: string;
|
|
2303
|
-
productMediaId?: string;
|
|
2304
|
-
productVariationId?: string;
|
|
2305
|
-
productVariationOptionValue?: string;
|
|
2306
|
-
url?: string;
|
|
2307
|
-
|
|
2308
|
-
currencyCode?: string;
|
|
2309
|
-
includeDrafts?: boolean;
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
productIds?: string[];
|
|
2354
|
+
key: string;
|
|
2355
|
+
value: string;
|
|
2356
|
+
}[] | undefined;
|
|
2357
|
+
index?: number | undefined;
|
|
2358
|
+
assortmentId?: string | undefined;
|
|
2359
|
+
productId?: string | undefined;
|
|
2360
|
+
slug?: string | undefined;
|
|
2361
|
+
productMediaId?: string | undefined;
|
|
2362
|
+
productVariationId?: string | undefined;
|
|
2363
|
+
productVariationOptionValue?: string | undefined;
|
|
2364
|
+
url?: string | undefined;
|
|
2365
|
+
quantity?: number | undefined;
|
|
2366
|
+
currencyCode?: string | undefined;
|
|
2367
|
+
includeDrafts?: boolean | undefined;
|
|
2368
|
+
queryString?: string | undefined;
|
|
2369
|
+
limit?: number | undefined;
|
|
2370
|
+
offset?: number | undefined;
|
|
2371
|
+
productIds?: string[] | undefined;
|
|
2315
2372
|
product?: {
|
|
2316
|
-
meta?: Record<string, unknown
|
|
2317
|
-
sequence?: number;
|
|
2318
|
-
tags?: string[];
|
|
2319
|
-
type?: string;
|
|
2373
|
+
meta?: Record<string, unknown> | undefined;
|
|
2374
|
+
sequence?: number | undefined;
|
|
2375
|
+
tags?: string[] | undefined;
|
|
2376
|
+
type?: string | undefined;
|
|
2320
2377
|
commerce?: {
|
|
2321
|
-
pricing
|
|
2322
|
-
countryCode
|
|
2323
|
-
currencyCode
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2378
|
+
pricing: [{
|
|
2379
|
+
countryCode: string;
|
|
2380
|
+
currencyCode: string;
|
|
2381
|
+
amount: number;
|
|
2382
|
+
isNetPrice?: boolean | undefined;
|
|
2383
|
+
isTaxable?: boolean | undefined;
|
|
2384
|
+
maxQuantity?: number | undefined;
|
|
2328
2385
|
}, ...{
|
|
2329
|
-
countryCode
|
|
2330
|
-
currencyCode
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2386
|
+
countryCode: string;
|
|
2387
|
+
currencyCode: string;
|
|
2388
|
+
amount: number;
|
|
2389
|
+
isNetPrice?: boolean | undefined;
|
|
2390
|
+
isTaxable?: boolean | undefined;
|
|
2391
|
+
maxQuantity?: number | undefined;
|
|
2335
2392
|
}[]];
|
|
2336
|
-
};
|
|
2393
|
+
} | undefined;
|
|
2337
2394
|
plan?: {
|
|
2338
|
-
usageCalculationType
|
|
2339
|
-
billingInterval
|
|
2340
|
-
billingIntervalCount
|
|
2341
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
2342
|
-
trialIntervalCount?: number;
|
|
2343
|
-
};
|
|
2395
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
2396
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
2397
|
+
billingIntervalCount: number;
|
|
2398
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
2399
|
+
trialIntervalCount?: number | undefined;
|
|
2400
|
+
} | undefined;
|
|
2344
2401
|
supply?: {
|
|
2345
|
-
weightInGram?: number;
|
|
2346
|
-
lengthInMillimeters?: number;
|
|
2347
|
-
widthInMillimeters?: number;
|
|
2348
|
-
heightInMillimeters?: number;
|
|
2349
|
-
};
|
|
2402
|
+
weightInGram?: number | undefined;
|
|
2403
|
+
lengthInMillimeters?: number | undefined;
|
|
2404
|
+
widthInMillimeters?: number | undefined;
|
|
2405
|
+
heightInMillimeters?: number | undefined;
|
|
2406
|
+
} | undefined;
|
|
2350
2407
|
warehousing?: {
|
|
2351
|
-
sku?: string;
|
|
2352
|
-
baseUnit?: string;
|
|
2353
|
-
};
|
|
2408
|
+
sku?: string | undefined;
|
|
2409
|
+
baseUnit?: string | undefined;
|
|
2410
|
+
} | undefined;
|
|
2354
2411
|
tokenization?: {
|
|
2355
|
-
supply
|
|
2356
|
-
contractAddress
|
|
2357
|
-
tokenId
|
|
2358
|
-
contractStandard
|
|
2359
|
-
ercMetadataProperties?: Record<string, any
|
|
2360
|
-
};
|
|
2361
|
-
};
|
|
2412
|
+
supply: number;
|
|
2413
|
+
contractAddress: string;
|
|
2414
|
+
tokenId: string;
|
|
2415
|
+
contractStandard: string;
|
|
2416
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
2417
|
+
} | undefined;
|
|
2418
|
+
} | undefined;
|
|
2362
2419
|
texts?: {
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
subtitle?: string;
|
|
2367
|
-
slug?: string;
|
|
2368
|
-
brand?: string;
|
|
2369
|
-
vendor?: string;
|
|
2370
|
-
labels?: string[];
|
|
2371
|
-
}[];
|
|
2420
|
+
locale: string;
|
|
2421
|
+
title: string;
|
|
2422
|
+
description?: string | undefined;
|
|
2423
|
+
subtitle?: string | undefined;
|
|
2424
|
+
slug?: string | undefined;
|
|
2425
|
+
brand?: string | undefined;
|
|
2426
|
+
vendor?: string | undefined;
|
|
2427
|
+
labels?: string[] | undefined;
|
|
2428
|
+
}[] | undefined;
|
|
2372
2429
|
variation?: {
|
|
2373
|
-
key
|
|
2374
|
-
type
|
|
2375
|
-
};
|
|
2376
|
-
option?: string;
|
|
2430
|
+
key: string;
|
|
2431
|
+
type: string;
|
|
2432
|
+
} | undefined;
|
|
2433
|
+
option?: string | undefined;
|
|
2377
2434
|
sortKeys?: {
|
|
2378
|
-
sortKey
|
|
2379
|
-
productMediaId
|
|
2380
|
-
}[];
|
|
2381
|
-
proxyId?: string;
|
|
2435
|
+
sortKey: number;
|
|
2436
|
+
productMediaId: string;
|
|
2437
|
+
}[] | undefined;
|
|
2438
|
+
proxyId?: string | undefined;
|
|
2382
2439
|
vectors?: {
|
|
2383
|
-
key
|
|
2384
|
-
value
|
|
2385
|
-
}[];
|
|
2386
|
-
mediaName?: string;
|
|
2387
|
-
useNetPrice?: boolean;
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
statusAction?: "PUBLISH" | "UNPUBLISH";
|
|
2440
|
+
key: string;
|
|
2441
|
+
value: string;
|
|
2442
|
+
}[] | undefined;
|
|
2443
|
+
mediaName?: string | undefined;
|
|
2444
|
+
useNetPrice?: boolean | undefined;
|
|
2445
|
+
sku?: string | undefined;
|
|
2446
|
+
statusAction?: "PUBLISH" | "UNPUBLISH" | undefined;
|
|
2391
2447
|
mediaTexts?: {
|
|
2392
|
-
locale
|
|
2393
|
-
title
|
|
2394
|
-
subtitle?: string;
|
|
2395
|
-
}[];
|
|
2448
|
+
locale: string;
|
|
2449
|
+
title: string;
|
|
2450
|
+
subtitle?: string | undefined;
|
|
2451
|
+
}[] | undefined;
|
|
2396
2452
|
variationTexts?: {
|
|
2397
|
-
locale
|
|
2398
|
-
title
|
|
2399
|
-
subtitle?: string;
|
|
2400
|
-
}[];
|
|
2401
|
-
assignProductId?: string;
|
|
2402
|
-
bundleId?: string;
|
|
2403
|
-
bundleProductId?: string;
|
|
2453
|
+
locale: string;
|
|
2454
|
+
title: string;
|
|
2455
|
+
subtitle?: string | undefined;
|
|
2456
|
+
}[] | undefined;
|
|
2457
|
+
assignProductId?: string | undefined;
|
|
2458
|
+
bundleId?: string | undefined;
|
|
2459
|
+
bundleProductId?: string | undefined;
|
|
2404
2460
|
}, {
|
|
2405
|
-
|
|
2461
|
+
action: "GET" | "CREATE" | "UPDATE" | "REMOVE" | "LIST" | "COUNT" | "UPDATE_STATUS" | "ADD_MEDIA" | "REMOVE_MEDIA" | "REORDER_MEDIA" | "GET_MEDIA" | "UPDATE_MEDIA_TEXTS" | "CREATE_VARIATION" | "REMOVE_VARIATION" | "ADD_VARIATION_OPTION" | "REMOVE_VARIATION_OPTION" | "ADD_ASSIGNMENT" | "REMOVE_ASSIGNMENT" | "GET_ASSIGNMENTS" | "GET_VARIATION_PRODUCTS" | "UPDATE_VARIATION_TEXTS" | "ADD_BUNDLE_ITEM" | "REMOVE_BUNDLE_ITEM" | "GET_BUNDLE_ITEMS" | "SIMULATE_PRICE" | "SIMULATE_PRICE_RANGE" | "GET_CATALOG_PRICE" | "GET_PRODUCT_TEXTS" | "GET_MEDIA_TEXTS" | "GET_VARIATION_TEXTS" | "GET_REVIEWS" | "COUNT_REVIEWS" | "GET_SIBLINGS" | "UPDATE_PRODUCT_TEXTS";
|
|
2462
|
+
tags?: string[] | undefined;
|
|
2406
2463
|
sort?: {
|
|
2407
|
-
key
|
|
2408
|
-
value
|
|
2409
|
-
}[];
|
|
2410
|
-
index?: number;
|
|
2411
|
-
assortmentId?: string;
|
|
2412
|
-
productId?: string;
|
|
2413
|
-
slug?: string;
|
|
2414
|
-
productMediaId?: string;
|
|
2415
|
-
productVariationId?: string;
|
|
2416
|
-
productVariationOptionValue?: string;
|
|
2417
|
-
url?: string;
|
|
2418
|
-
includeInactive?: boolean;
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
queryString?: string;
|
|
2423
|
-
limit?: number;
|
|
2424
|
-
offset?: number;
|
|
2425
|
-
productIds?: string[];
|
|
2464
|
+
key: string;
|
|
2465
|
+
value: string;
|
|
2466
|
+
}[] | undefined;
|
|
2467
|
+
index?: number | undefined;
|
|
2468
|
+
assortmentId?: string | undefined;
|
|
2469
|
+
productId?: string | undefined;
|
|
2470
|
+
slug?: string | undefined;
|
|
2471
|
+
productMediaId?: string | undefined;
|
|
2472
|
+
productVariationId?: string | undefined;
|
|
2473
|
+
productVariationOptionValue?: string | undefined;
|
|
2474
|
+
url?: string | undefined;
|
|
2475
|
+
includeInactive?: boolean | undefined;
|
|
2476
|
+
quantity?: number | undefined;
|
|
2477
|
+
currencyCode?: string | undefined;
|
|
2478
|
+
includeDrafts?: boolean | undefined;
|
|
2479
|
+
queryString?: string | undefined;
|
|
2480
|
+
limit?: number | undefined;
|
|
2481
|
+
offset?: number | undefined;
|
|
2482
|
+
productIds?: string[] | undefined;
|
|
2426
2483
|
product?: {
|
|
2427
|
-
meta?: Record<string, unknown
|
|
2428
|
-
sequence?: number;
|
|
2429
|
-
tags?: string[];
|
|
2430
|
-
type?: string;
|
|
2484
|
+
meta?: Record<string, unknown> | undefined;
|
|
2485
|
+
sequence?: number | undefined;
|
|
2486
|
+
tags?: string[] | undefined;
|
|
2487
|
+
type?: string | undefined;
|
|
2431
2488
|
commerce?: {
|
|
2432
|
-
pricing
|
|
2433
|
-
countryCode
|
|
2434
|
-
currencyCode
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2489
|
+
pricing: [{
|
|
2490
|
+
countryCode: string;
|
|
2491
|
+
currencyCode: string;
|
|
2492
|
+
amount: number;
|
|
2493
|
+
isNetPrice?: boolean | undefined;
|
|
2494
|
+
isTaxable?: boolean | undefined;
|
|
2495
|
+
maxQuantity?: number | undefined;
|
|
2439
2496
|
}, ...{
|
|
2440
|
-
countryCode
|
|
2441
|
-
currencyCode
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2497
|
+
countryCode: string;
|
|
2498
|
+
currencyCode: string;
|
|
2499
|
+
amount: number;
|
|
2500
|
+
isNetPrice?: boolean | undefined;
|
|
2501
|
+
isTaxable?: boolean | undefined;
|
|
2502
|
+
maxQuantity?: number | undefined;
|
|
2446
2503
|
}[]];
|
|
2447
|
-
};
|
|
2504
|
+
} | undefined;
|
|
2448
2505
|
plan?: {
|
|
2449
|
-
usageCalculationType
|
|
2450
|
-
billingInterval
|
|
2451
|
-
billingIntervalCount
|
|
2452
|
-
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
2453
|
-
trialIntervalCount?: number;
|
|
2454
|
-
};
|
|
2506
|
+
usageCalculationType: "LICENSED" | "METERED";
|
|
2507
|
+
billingInterval: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS";
|
|
2508
|
+
billingIntervalCount: number;
|
|
2509
|
+
trialInterval?: "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS" | undefined;
|
|
2510
|
+
trialIntervalCount?: number | undefined;
|
|
2511
|
+
} | undefined;
|
|
2455
2512
|
supply?: {
|
|
2456
|
-
weightInGram?: number;
|
|
2457
|
-
lengthInMillimeters?: number;
|
|
2458
|
-
widthInMillimeters?: number;
|
|
2459
|
-
heightInMillimeters?: number;
|
|
2460
|
-
};
|
|
2513
|
+
weightInGram?: number | undefined;
|
|
2514
|
+
lengthInMillimeters?: number | undefined;
|
|
2515
|
+
widthInMillimeters?: number | undefined;
|
|
2516
|
+
heightInMillimeters?: number | undefined;
|
|
2517
|
+
} | undefined;
|
|
2461
2518
|
warehousing?: {
|
|
2462
|
-
sku?: string;
|
|
2463
|
-
baseUnit?: string;
|
|
2464
|
-
};
|
|
2519
|
+
sku?: string | undefined;
|
|
2520
|
+
baseUnit?: string | undefined;
|
|
2521
|
+
} | undefined;
|
|
2465
2522
|
tokenization?: {
|
|
2466
|
-
supply
|
|
2467
|
-
contractAddress
|
|
2468
|
-
tokenId
|
|
2469
|
-
contractStandard
|
|
2470
|
-
ercMetadataProperties?: Record<string, any
|
|
2471
|
-
};
|
|
2472
|
-
};
|
|
2523
|
+
supply: number;
|
|
2524
|
+
contractAddress: string;
|
|
2525
|
+
tokenId: string;
|
|
2526
|
+
contractStandard: string;
|
|
2527
|
+
ercMetadataProperties?: Record<string, any> | undefined;
|
|
2528
|
+
} | undefined;
|
|
2529
|
+
} | undefined;
|
|
2473
2530
|
texts?: {
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
subtitle?: string;
|
|
2478
|
-
slug?: string;
|
|
2479
|
-
brand?: string;
|
|
2480
|
-
vendor?: string;
|
|
2481
|
-
labels?: string[];
|
|
2482
|
-
}[];
|
|
2531
|
+
locale: string;
|
|
2532
|
+
title: string;
|
|
2533
|
+
description?: string | undefined;
|
|
2534
|
+
subtitle?: string | undefined;
|
|
2535
|
+
slug?: string | undefined;
|
|
2536
|
+
brand?: string | undefined;
|
|
2537
|
+
vendor?: string | undefined;
|
|
2538
|
+
labels?: string[] | undefined;
|
|
2539
|
+
}[] | undefined;
|
|
2483
2540
|
variation?: {
|
|
2484
|
-
key
|
|
2485
|
-
type
|
|
2486
|
-
};
|
|
2487
|
-
option?: string;
|
|
2541
|
+
key: string;
|
|
2542
|
+
type: string;
|
|
2543
|
+
} | undefined;
|
|
2544
|
+
option?: string | undefined;
|
|
2488
2545
|
sortKeys?: {
|
|
2489
|
-
sortKey
|
|
2490
|
-
productMediaId
|
|
2491
|
-
}[];
|
|
2492
|
-
proxyId?: string;
|
|
2546
|
+
sortKey: number;
|
|
2547
|
+
productMediaId: string;
|
|
2548
|
+
}[] | undefined;
|
|
2549
|
+
proxyId?: string | undefined;
|
|
2493
2550
|
vectors?: {
|
|
2494
|
-
key
|
|
2495
|
-
value
|
|
2496
|
-
}[];
|
|
2497
|
-
mediaName?: string;
|
|
2498
|
-
useNetPrice?: boolean;
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
statusAction?: "PUBLISH" | "UNPUBLISH";
|
|
2551
|
+
key: string;
|
|
2552
|
+
value: string;
|
|
2553
|
+
}[] | undefined;
|
|
2554
|
+
mediaName?: string | undefined;
|
|
2555
|
+
useNetPrice?: boolean | undefined;
|
|
2556
|
+
sku?: string | undefined;
|
|
2557
|
+
statusAction?: "PUBLISH" | "UNPUBLISH" | undefined;
|
|
2502
2558
|
mediaTexts?: {
|
|
2503
|
-
locale
|
|
2504
|
-
title
|
|
2505
|
-
subtitle?: string;
|
|
2506
|
-
}[];
|
|
2559
|
+
locale: string;
|
|
2560
|
+
title: string;
|
|
2561
|
+
subtitle?: string | undefined;
|
|
2562
|
+
}[] | undefined;
|
|
2507
2563
|
variationTexts?: {
|
|
2508
|
-
locale
|
|
2509
|
-
title
|
|
2510
|
-
subtitle?: string;
|
|
2511
|
-
}[];
|
|
2512
|
-
assignProductId?: string;
|
|
2513
|
-
bundleId?: string;
|
|
2514
|
-
bundleProductId?: string;
|
|
2564
|
+
locale: string;
|
|
2565
|
+
title: string;
|
|
2566
|
+
subtitle?: string | undefined;
|
|
2567
|
+
}[] | undefined;
|
|
2568
|
+
assignProductId?: string | undefined;
|
|
2569
|
+
bundleId?: string | undefined;
|
|
2570
|
+
bundleProductId?: string | undefined;
|
|
2515
2571
|
}>;
|
|
2516
2572
|
export type ProductManagementParams = z.infer<typeof ProductManagementZodSchema>;
|
|
2517
2573
|
export type ActionName = keyof typeof actionValidators;
|