@unchainedshop/api 4.0.0-rc.16 → 4.0.0-rc.17
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 +3 -3
- 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
|
@@ -8,30 +8,30 @@ export declare const AssortmentTextInputSchema: z.ZodObject<{
|
|
|
8
8
|
slug: z.ZodOptional<z.ZodString>;
|
|
9
9
|
description: z.ZodOptional<z.ZodString>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
subtitle?: string;
|
|
15
|
-
slug?: string;
|
|
11
|
+
locale: string;
|
|
12
|
+
title: string;
|
|
13
|
+
description?: string | undefined;
|
|
14
|
+
subtitle?: string | undefined;
|
|
15
|
+
slug?: string | undefined;
|
|
16
16
|
}, {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
subtitle?: string;
|
|
21
|
-
slug?: string;
|
|
17
|
+
locale: string;
|
|
18
|
+
title: string;
|
|
19
|
+
description?: string | undefined;
|
|
20
|
+
subtitle?: string | undefined;
|
|
21
|
+
slug?: string | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
export declare const AssortmentMediaTextInputSchema: z.ZodObject<{
|
|
24
24
|
locale: z.ZodString;
|
|
25
25
|
title: z.ZodString;
|
|
26
26
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
locale
|
|
29
|
-
title
|
|
30
|
-
subtitle?: string;
|
|
28
|
+
locale: string;
|
|
29
|
+
title: string;
|
|
30
|
+
subtitle?: string | undefined;
|
|
31
31
|
}, {
|
|
32
|
-
locale
|
|
33
|
-
title
|
|
34
|
-
subtitle?: string;
|
|
32
|
+
locale: string;
|
|
33
|
+
title: string;
|
|
34
|
+
subtitle?: string | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
export declare const AssortmentSchema: z.ZodObject<{
|
|
37
37
|
isRoot: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -40,17 +40,17 @@ export declare const AssortmentSchema: z.ZodObject<{
|
|
|
40
40
|
sequence: z.ZodOptional<z.ZodNumber>;
|
|
41
41
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
isActive?: boolean;
|
|
44
|
-
isRoot?: boolean;
|
|
45
|
-
meta?: Record<string, unknown
|
|
46
|
-
sequence?: number;
|
|
47
|
-
tags?: string[];
|
|
43
|
+
isActive?: boolean | undefined;
|
|
44
|
+
isRoot?: boolean | undefined;
|
|
45
|
+
meta?: Record<string, unknown> | undefined;
|
|
46
|
+
sequence?: number | undefined;
|
|
47
|
+
tags?: string[] | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
isActive?: boolean;
|
|
50
|
-
isRoot?: boolean;
|
|
51
|
-
meta?: Record<string, unknown
|
|
52
|
-
sequence?: number;
|
|
53
|
-
tags?: string[];
|
|
49
|
+
isActive?: boolean | undefined;
|
|
50
|
+
isRoot?: boolean | undefined;
|
|
51
|
+
meta?: Record<string, unknown> | undefined;
|
|
52
|
+
sequence?: number | undefined;
|
|
53
|
+
tags?: string[] | undefined;
|
|
54
54
|
}>;
|
|
55
55
|
export declare const actionValidators: {
|
|
56
56
|
readonly CREATE: z.ZodObject<{
|
|
@@ -61,17 +61,17 @@ export declare const actionValidators: {
|
|
|
61
61
|
sequence: z.ZodOptional<z.ZodNumber>;
|
|
62
62
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
isActive?: boolean;
|
|
65
|
-
isRoot?: boolean;
|
|
66
|
-
meta?: Record<string, unknown
|
|
67
|
-
sequence?: number;
|
|
68
|
-
tags?: string[];
|
|
64
|
+
isActive?: boolean | undefined;
|
|
65
|
+
isRoot?: boolean | undefined;
|
|
66
|
+
meta?: Record<string, unknown> | undefined;
|
|
67
|
+
sequence?: number | undefined;
|
|
68
|
+
tags?: string[] | undefined;
|
|
69
69
|
}, {
|
|
70
|
-
isActive?: boolean;
|
|
71
|
-
isRoot?: boolean;
|
|
72
|
-
meta?: Record<string, unknown
|
|
73
|
-
sequence?: number;
|
|
74
|
-
tags?: string[];
|
|
70
|
+
isActive?: boolean | undefined;
|
|
71
|
+
isRoot?: boolean | undefined;
|
|
72
|
+
meta?: Record<string, unknown> | undefined;
|
|
73
|
+
sequence?: number | undefined;
|
|
74
|
+
tags?: string[] | undefined;
|
|
75
75
|
}>;
|
|
76
76
|
texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
77
77
|
locale: z.ZodString;
|
|
@@ -81,48 +81,48 @@ export declare const actionValidators: {
|
|
|
81
81
|
slug: z.ZodOptional<z.ZodString>;
|
|
82
82
|
description: z.ZodOptional<z.ZodString>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
subtitle?: string;
|
|
88
|
-
slug?: string;
|
|
84
|
+
locale: string;
|
|
85
|
+
title: string;
|
|
86
|
+
description?: string | undefined;
|
|
87
|
+
subtitle?: string | undefined;
|
|
88
|
+
slug?: string | undefined;
|
|
89
89
|
}, {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
subtitle?: string;
|
|
94
|
-
slug?: string;
|
|
90
|
+
locale: string;
|
|
91
|
+
title: string;
|
|
92
|
+
description?: string | undefined;
|
|
93
|
+
subtitle?: string | undefined;
|
|
94
|
+
slug?: string | undefined;
|
|
95
95
|
}>, "many">>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}[];
|
|
104
|
-
assortment?: {
|
|
105
|
-
isActive?: boolean;
|
|
106
|
-
isRoot?: boolean;
|
|
107
|
-
meta?: Record<string, unknown>;
|
|
108
|
-
sequence?: number;
|
|
109
|
-
tags?: string[];
|
|
97
|
+
assortment: {
|
|
98
|
+
isActive?: boolean | undefined;
|
|
99
|
+
isRoot?: boolean | undefined;
|
|
100
|
+
meta?: Record<string, unknown> | undefined;
|
|
101
|
+
sequence?: number | undefined;
|
|
102
|
+
tags?: string[] | undefined;
|
|
110
103
|
};
|
|
111
|
-
}, {
|
|
112
104
|
texts?: {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
subtitle?: string;
|
|
117
|
-
slug?: string;
|
|
118
|
-
}[];
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
105
|
+
locale: string;
|
|
106
|
+
title: string;
|
|
107
|
+
description?: string | undefined;
|
|
108
|
+
subtitle?: string | undefined;
|
|
109
|
+
slug?: string | undefined;
|
|
110
|
+
}[] | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
assortment: {
|
|
113
|
+
isActive?: boolean | undefined;
|
|
114
|
+
isRoot?: boolean | undefined;
|
|
115
|
+
meta?: Record<string, unknown> | undefined;
|
|
116
|
+
sequence?: number | undefined;
|
|
117
|
+
tags?: string[] | undefined;
|
|
125
118
|
};
|
|
119
|
+
texts?: {
|
|
120
|
+
locale: string;
|
|
121
|
+
title: string;
|
|
122
|
+
description?: string | undefined;
|
|
123
|
+
subtitle?: string | undefined;
|
|
124
|
+
slug?: string | undefined;
|
|
125
|
+
}[] | undefined;
|
|
126
126
|
}>;
|
|
127
127
|
readonly UPDATE: z.ZodObject<{
|
|
128
128
|
assortmentId: z.ZodString;
|
|
@@ -133,59 +133,59 @@ export declare const actionValidators: {
|
|
|
133
133
|
sequence: z.ZodOptional<z.ZodNumber>;
|
|
134
134
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
isActive?: boolean;
|
|
137
|
-
isRoot?: boolean;
|
|
138
|
-
meta?: Record<string, unknown
|
|
139
|
-
sequence?: number;
|
|
140
|
-
tags?: string[];
|
|
136
|
+
isActive?: boolean | undefined;
|
|
137
|
+
isRoot?: boolean | undefined;
|
|
138
|
+
meta?: Record<string, unknown> | undefined;
|
|
139
|
+
sequence?: number | undefined;
|
|
140
|
+
tags?: string[] | undefined;
|
|
141
141
|
}, {
|
|
142
|
-
isActive?: boolean;
|
|
143
|
-
isRoot?: boolean;
|
|
144
|
-
meta?: Record<string, unknown
|
|
145
|
-
sequence?: number;
|
|
146
|
-
tags?: string[];
|
|
142
|
+
isActive?: boolean | undefined;
|
|
143
|
+
isRoot?: boolean | undefined;
|
|
144
|
+
meta?: Record<string, unknown> | undefined;
|
|
145
|
+
sequence?: number | undefined;
|
|
146
|
+
tags?: string[] | undefined;
|
|
147
147
|
}>;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
-
assortmentId
|
|
150
|
-
assortment
|
|
151
|
-
isActive?: boolean;
|
|
152
|
-
isRoot?: boolean;
|
|
153
|
-
meta?: Record<string, unknown
|
|
154
|
-
sequence?: number;
|
|
155
|
-
tags?: string[];
|
|
149
|
+
assortmentId: string;
|
|
150
|
+
assortment: {
|
|
151
|
+
isActive?: boolean | undefined;
|
|
152
|
+
isRoot?: boolean | undefined;
|
|
153
|
+
meta?: Record<string, unknown> | undefined;
|
|
154
|
+
sequence?: number | undefined;
|
|
155
|
+
tags?: string[] | undefined;
|
|
156
156
|
};
|
|
157
157
|
}, {
|
|
158
|
-
assortmentId
|
|
159
|
-
assortment
|
|
160
|
-
isActive?: boolean;
|
|
161
|
-
isRoot?: boolean;
|
|
162
|
-
meta?: Record<string, unknown
|
|
163
|
-
sequence?: number;
|
|
164
|
-
tags?: string[];
|
|
158
|
+
assortmentId: string;
|
|
159
|
+
assortment: {
|
|
160
|
+
isActive?: boolean | undefined;
|
|
161
|
+
isRoot?: boolean | undefined;
|
|
162
|
+
meta?: Record<string, unknown> | undefined;
|
|
163
|
+
sequence?: number | undefined;
|
|
164
|
+
tags?: string[] | undefined;
|
|
165
165
|
};
|
|
166
166
|
}>;
|
|
167
167
|
readonly REMOVE: z.ZodObject<{
|
|
168
168
|
assortmentId: z.ZodString;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
|
170
|
-
assortmentId
|
|
170
|
+
assortmentId: string;
|
|
171
171
|
}, {
|
|
172
|
-
assortmentId
|
|
172
|
+
assortmentId: string;
|
|
173
173
|
}>;
|
|
174
174
|
readonly GET: z.ZodEffects<z.ZodObject<{
|
|
175
175
|
assortmentId: z.ZodOptional<z.ZodString>;
|
|
176
176
|
slug: z.ZodOptional<z.ZodString>;
|
|
177
177
|
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
assortmentId?: string;
|
|
179
|
-
slug?: string;
|
|
178
|
+
assortmentId?: string | undefined;
|
|
179
|
+
slug?: string | undefined;
|
|
180
180
|
}, {
|
|
181
|
-
assortmentId?: string;
|
|
182
|
-
slug?: string;
|
|
181
|
+
assortmentId?: string | undefined;
|
|
182
|
+
slug?: string | undefined;
|
|
183
183
|
}>, {
|
|
184
|
-
assortmentId?: string;
|
|
185
|
-
slug?: string;
|
|
184
|
+
assortmentId?: string | undefined;
|
|
185
|
+
slug?: string | undefined;
|
|
186
186
|
}, {
|
|
187
|
-
assortmentId?: string;
|
|
188
|
-
slug?: string;
|
|
187
|
+
assortmentId?: string | undefined;
|
|
188
|
+
slug?: string | undefined;
|
|
189
189
|
}>;
|
|
190
190
|
readonly LIST: z.ZodObject<{
|
|
191
191
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -197,38 +197,38 @@ export declare const actionValidators: {
|
|
|
197
197
|
key: z.ZodString;
|
|
198
198
|
value: z.ZodEnum<[string, ...string[]]>;
|
|
199
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
key
|
|
201
|
-
value
|
|
200
|
+
key: string;
|
|
201
|
+
value: string;
|
|
202
202
|
}, {
|
|
203
|
-
key
|
|
204
|
-
value
|
|
203
|
+
key: string;
|
|
204
|
+
value: string;
|
|
205
205
|
}>, "many">>;
|
|
206
206
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
207
207
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
208
208
|
}, "strip", z.ZodTypeAny, {
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
includeInactive: boolean;
|
|
210
|
+
slugs?: string[] | undefined;
|
|
211
|
+
tags?: string[] | undefined;
|
|
211
212
|
sort?: {
|
|
212
|
-
key
|
|
213
|
-
value
|
|
214
|
-
}[];
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
tags?: string[];
|
|
213
|
+
key: string;
|
|
214
|
+
value: string;
|
|
215
|
+
}[] | undefined;
|
|
216
|
+
queryString?: string | undefined;
|
|
217
|
+
includeLeaves?: boolean | undefined;
|
|
218
|
+
limit?: number | undefined;
|
|
219
|
+
offset?: number | undefined;
|
|
220
|
+
}, {
|
|
221
|
+
slugs?: string[] | undefined;
|
|
222
|
+
tags?: string[] | undefined;
|
|
223
223
|
sort?: {
|
|
224
|
-
key
|
|
225
|
-
value
|
|
226
|
-
}[];
|
|
227
|
-
includeInactive?: boolean;
|
|
228
|
-
queryString?: string;
|
|
229
|
-
includeLeaves?: boolean;
|
|
230
|
-
limit?: number;
|
|
231
|
-
offset?: number;
|
|
224
|
+
key: string;
|
|
225
|
+
value: string;
|
|
226
|
+
}[] | undefined;
|
|
227
|
+
includeInactive?: boolean | undefined;
|
|
228
|
+
queryString?: string | undefined;
|
|
229
|
+
includeLeaves?: boolean | undefined;
|
|
230
|
+
limit?: number | undefined;
|
|
231
|
+
offset?: number | undefined;
|
|
232
232
|
}>;
|
|
233
233
|
readonly COUNT: z.ZodObject<{
|
|
234
234
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -237,74 +237,74 @@ export declare const actionValidators: {
|
|
|
237
237
|
queryString: z.ZodOptional<z.ZodString>;
|
|
238
238
|
includeInactive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
queryString?: string;
|
|
244
|
-
includeLeaves?: boolean;
|
|
245
|
-
}, {
|
|
246
|
-
slugs?: string[];
|
|
247
|
-
tags?: string[];
|
|
248
|
-
includeInactive?: boolean;
|
|
249
|
-
queryString?: string;
|
|
250
|
-
includeLeaves?: boolean;
|
|
240
|
+
includeInactive: boolean;
|
|
241
|
+
slugs?: string[] | undefined;
|
|
242
|
+
tags?: string[] | undefined;
|
|
243
|
+
queryString?: string | undefined;
|
|
244
|
+
includeLeaves?: boolean | undefined;
|
|
245
|
+
}, {
|
|
246
|
+
slugs?: string[] | undefined;
|
|
247
|
+
tags?: string[] | undefined;
|
|
248
|
+
includeInactive?: boolean | undefined;
|
|
249
|
+
queryString?: string | undefined;
|
|
250
|
+
includeLeaves?: boolean | undefined;
|
|
251
251
|
}>;
|
|
252
252
|
readonly UPDATE_STATUS: z.ZodObject<{
|
|
253
253
|
assortmentId: z.ZodString;
|
|
254
254
|
statusAction: z.ZodEnum<["ACTIVATE", "DEACTIVATE"]>;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
assortmentId
|
|
257
|
-
statusAction
|
|
256
|
+
assortmentId: string;
|
|
257
|
+
statusAction: "ACTIVATE" | "DEACTIVATE";
|
|
258
258
|
}, {
|
|
259
|
-
assortmentId
|
|
260
|
-
statusAction
|
|
259
|
+
assortmentId: string;
|
|
260
|
+
statusAction: "ACTIVATE" | "DEACTIVATE";
|
|
261
261
|
}>;
|
|
262
262
|
readonly ADD_MEDIA: z.ZodObject<{
|
|
263
263
|
assortmentId: z.ZodString;
|
|
264
264
|
mediaId: z.ZodString;
|
|
265
265
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
267
|
+
mediaId: string;
|
|
268
|
+
assortmentId: string;
|
|
269
|
+
tags?: string[] | undefined;
|
|
270
270
|
}, {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
271
|
+
mediaId: string;
|
|
272
|
+
assortmentId: string;
|
|
273
|
+
tags?: string[] | undefined;
|
|
274
274
|
}>;
|
|
275
275
|
readonly REMOVE_MEDIA: z.ZodObject<{
|
|
276
276
|
mediaId: z.ZodString;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
mediaId
|
|
278
|
+
mediaId: string;
|
|
279
279
|
}, {
|
|
280
|
-
mediaId
|
|
280
|
+
mediaId: string;
|
|
281
281
|
}>;
|
|
282
282
|
readonly REORDER_MEDIA: z.ZodObject<{
|
|
283
283
|
sortKeys: z.ZodArray<z.ZodObject<{
|
|
284
284
|
assortmentMediaId: z.ZodString;
|
|
285
285
|
sortKey: z.ZodNumber;
|
|
286
286
|
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
sortKey
|
|
288
|
-
assortmentMediaId
|
|
287
|
+
sortKey: number;
|
|
288
|
+
assortmentMediaId: string;
|
|
289
289
|
}, {
|
|
290
|
-
sortKey
|
|
291
|
-
assortmentMediaId
|
|
290
|
+
sortKey: number;
|
|
291
|
+
assortmentMediaId: string;
|
|
292
292
|
}>, "atleastone">;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
|
-
sortKeys
|
|
295
|
-
sortKey
|
|
296
|
-
assortmentMediaId
|
|
294
|
+
sortKeys: [{
|
|
295
|
+
sortKey: number;
|
|
296
|
+
assortmentMediaId: string;
|
|
297
297
|
}, ...{
|
|
298
|
-
sortKey
|
|
299
|
-
assortmentMediaId
|
|
298
|
+
sortKey: number;
|
|
299
|
+
assortmentMediaId: string;
|
|
300
300
|
}[]];
|
|
301
301
|
}, {
|
|
302
|
-
sortKeys
|
|
303
|
-
sortKey
|
|
304
|
-
assortmentMediaId
|
|
302
|
+
sortKeys: [{
|
|
303
|
+
sortKey: number;
|
|
304
|
+
assortmentMediaId: string;
|
|
305
305
|
}, ...{
|
|
306
|
-
sortKey
|
|
307
|
-
assortmentMediaId
|
|
306
|
+
sortKey: number;
|
|
307
|
+
assortmentMediaId: string;
|
|
308
308
|
}[]];
|
|
309
309
|
}>;
|
|
310
310
|
readonly GET_MEDIA: z.ZodObject<{
|
|
@@ -313,15 +313,15 @@ export declare const actionValidators: {
|
|
|
313
313
|
assortmentId: z.ZodString;
|
|
314
314
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
limit?: number;
|
|
319
|
-
offset?: number;
|
|
316
|
+
assortmentId: string;
|
|
317
|
+
tags?: string[] | undefined;
|
|
318
|
+
limit?: number | undefined;
|
|
319
|
+
offset?: number | undefined;
|
|
320
320
|
}, {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
limit?: number;
|
|
324
|
-
offset?: number;
|
|
321
|
+
assortmentId: string;
|
|
322
|
+
tags?: string[] | undefined;
|
|
323
|
+
limit?: number | undefined;
|
|
324
|
+
offset?: number | undefined;
|
|
325
325
|
}>;
|
|
326
326
|
readonly UPDATE_MEDIA_TEXTS: z.ZodObject<{
|
|
327
327
|
assortmentMediaId: z.ZodString;
|
|
@@ -330,27 +330,27 @@ export declare const actionValidators: {
|
|
|
330
330
|
title: z.ZodString;
|
|
331
331
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
|
-
locale
|
|
334
|
-
title
|
|
335
|
-
subtitle?: string;
|
|
333
|
+
locale: string;
|
|
334
|
+
title: string;
|
|
335
|
+
subtitle?: string | undefined;
|
|
336
336
|
}, {
|
|
337
|
-
locale
|
|
338
|
-
title
|
|
339
|
-
subtitle?: string;
|
|
337
|
+
locale: string;
|
|
338
|
+
title: string;
|
|
339
|
+
subtitle?: string | undefined;
|
|
340
340
|
}>, "many">;
|
|
341
341
|
}, "strip", z.ZodTypeAny, {
|
|
342
|
-
assortmentMediaId
|
|
343
|
-
mediaTexts
|
|
344
|
-
locale
|
|
345
|
-
title
|
|
346
|
-
subtitle?: string;
|
|
342
|
+
assortmentMediaId: string;
|
|
343
|
+
mediaTexts: {
|
|
344
|
+
locale: string;
|
|
345
|
+
title: string;
|
|
346
|
+
subtitle?: string | undefined;
|
|
347
347
|
}[];
|
|
348
348
|
}, {
|
|
349
|
-
assortmentMediaId
|
|
350
|
-
mediaTexts
|
|
351
|
-
locale
|
|
352
|
-
title
|
|
353
|
-
subtitle?: string;
|
|
349
|
+
assortmentMediaId: string;
|
|
350
|
+
mediaTexts: {
|
|
351
|
+
locale: string;
|
|
352
|
+
title: string;
|
|
353
|
+
subtitle?: string | undefined;
|
|
354
354
|
}[];
|
|
355
355
|
}>;
|
|
356
356
|
readonly ADD_PRODUCT: z.ZodObject<{
|
|
@@ -358,54 +358,54 @@ export declare const actionValidators: {
|
|
|
358
358
|
productId: z.ZodString;
|
|
359
359
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
assortmentId: string;
|
|
362
|
+
productId: string;
|
|
363
|
+
tags?: string[] | undefined;
|
|
364
364
|
}, {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
365
|
+
assortmentId: string;
|
|
366
|
+
productId: string;
|
|
367
|
+
tags?: string[] | undefined;
|
|
368
368
|
}>;
|
|
369
369
|
readonly REMOVE_PRODUCT: z.ZodObject<{
|
|
370
370
|
assortmentProductId: z.ZodString;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
assortmentProductId
|
|
372
|
+
assortmentProductId: string;
|
|
373
373
|
}, {
|
|
374
|
-
assortmentProductId
|
|
374
|
+
assortmentProductId: string;
|
|
375
375
|
}>;
|
|
376
376
|
readonly GET_PRODUCTS: z.ZodObject<{
|
|
377
377
|
assortmentId: z.ZodString;
|
|
378
378
|
}, "strip", z.ZodTypeAny, {
|
|
379
|
-
assortmentId
|
|
379
|
+
assortmentId: string;
|
|
380
380
|
}, {
|
|
381
|
-
assortmentId
|
|
381
|
+
assortmentId: string;
|
|
382
382
|
}>;
|
|
383
383
|
readonly REORDER_PRODUCTS: z.ZodObject<{
|
|
384
384
|
sortKeys: z.ZodArray<z.ZodObject<{
|
|
385
385
|
assortmentProductId: z.ZodString;
|
|
386
386
|
sortKey: z.ZodNumber;
|
|
387
387
|
}, "strip", z.ZodTypeAny, {
|
|
388
|
-
sortKey
|
|
389
|
-
assortmentProductId
|
|
388
|
+
sortKey: number;
|
|
389
|
+
assortmentProductId: string;
|
|
390
390
|
}, {
|
|
391
|
-
sortKey
|
|
392
|
-
assortmentProductId
|
|
391
|
+
sortKey: number;
|
|
392
|
+
assortmentProductId: string;
|
|
393
393
|
}>, "atleastone">;
|
|
394
394
|
}, "strip", z.ZodTypeAny, {
|
|
395
|
-
sortKeys
|
|
396
|
-
sortKey
|
|
397
|
-
assortmentProductId
|
|
395
|
+
sortKeys: [{
|
|
396
|
+
sortKey: number;
|
|
397
|
+
assortmentProductId: string;
|
|
398
398
|
}, ...{
|
|
399
|
-
sortKey
|
|
400
|
-
assortmentProductId
|
|
399
|
+
sortKey: number;
|
|
400
|
+
assortmentProductId: string;
|
|
401
401
|
}[]];
|
|
402
402
|
}, {
|
|
403
|
-
sortKeys
|
|
404
|
-
sortKey
|
|
405
|
-
assortmentProductId
|
|
403
|
+
sortKeys: [{
|
|
404
|
+
sortKey: number;
|
|
405
|
+
assortmentProductId: string;
|
|
406
406
|
}, ...{
|
|
407
|
-
sortKey
|
|
408
|
-
assortmentProductId
|
|
407
|
+
sortKey: number;
|
|
408
|
+
assortmentProductId: string;
|
|
409
409
|
}[]];
|
|
410
410
|
}>;
|
|
411
411
|
readonly ADD_FILTER: z.ZodObject<{
|
|
@@ -413,54 +413,54 @@ export declare const actionValidators: {
|
|
|
413
413
|
filterId: z.ZodString;
|
|
414
414
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
415
415
|
}, "strip", z.ZodTypeAny, {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
416
|
+
assortmentId: string;
|
|
417
|
+
filterId: string;
|
|
418
|
+
tags?: string[] | undefined;
|
|
419
419
|
}, {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
420
|
+
assortmentId: string;
|
|
421
|
+
filterId: string;
|
|
422
|
+
tags?: string[] | undefined;
|
|
423
423
|
}>;
|
|
424
424
|
readonly REMOVE_FILTER: z.ZodObject<{
|
|
425
425
|
assortmentFilterId: z.ZodString;
|
|
426
426
|
}, "strip", z.ZodTypeAny, {
|
|
427
|
-
assortmentFilterId
|
|
427
|
+
assortmentFilterId: string;
|
|
428
428
|
}, {
|
|
429
|
-
assortmentFilterId
|
|
429
|
+
assortmentFilterId: string;
|
|
430
430
|
}>;
|
|
431
431
|
readonly GET_FILTERS: z.ZodObject<{
|
|
432
432
|
assortmentId: z.ZodString;
|
|
433
433
|
}, "strip", z.ZodTypeAny, {
|
|
434
|
-
assortmentId
|
|
434
|
+
assortmentId: string;
|
|
435
435
|
}, {
|
|
436
|
-
assortmentId
|
|
436
|
+
assortmentId: string;
|
|
437
437
|
}>;
|
|
438
438
|
readonly REORDER_FILTERS: z.ZodObject<{
|
|
439
439
|
sortKeys: z.ZodArray<z.ZodObject<{
|
|
440
440
|
assortmentFilterId: z.ZodString;
|
|
441
441
|
sortKey: z.ZodNumber;
|
|
442
442
|
}, "strip", z.ZodTypeAny, {
|
|
443
|
-
sortKey
|
|
444
|
-
assortmentFilterId
|
|
443
|
+
sortKey: number;
|
|
444
|
+
assortmentFilterId: string;
|
|
445
445
|
}, {
|
|
446
|
-
sortKey
|
|
447
|
-
assortmentFilterId
|
|
446
|
+
sortKey: number;
|
|
447
|
+
assortmentFilterId: string;
|
|
448
448
|
}>, "atleastone">;
|
|
449
449
|
}, "strip", z.ZodTypeAny, {
|
|
450
|
-
sortKeys
|
|
451
|
-
sortKey
|
|
452
|
-
assortmentFilterId
|
|
450
|
+
sortKeys: [{
|
|
451
|
+
sortKey: number;
|
|
452
|
+
assortmentFilterId: string;
|
|
453
453
|
}, ...{
|
|
454
|
-
sortKey
|
|
455
|
-
assortmentFilterId
|
|
454
|
+
sortKey: number;
|
|
455
|
+
assortmentFilterId: string;
|
|
456
456
|
}[]];
|
|
457
457
|
}, {
|
|
458
|
-
sortKeys
|
|
459
|
-
sortKey
|
|
460
|
-
assortmentFilterId
|
|
458
|
+
sortKeys: [{
|
|
459
|
+
sortKey: number;
|
|
460
|
+
assortmentFilterId: string;
|
|
461
461
|
}, ...{
|
|
462
|
-
sortKey
|
|
463
|
-
assortmentFilterId
|
|
462
|
+
sortKey: number;
|
|
463
|
+
assortmentFilterId: string;
|
|
464
464
|
}[]];
|
|
465
465
|
}>;
|
|
466
466
|
readonly ADD_LINK: z.ZodObject<{
|
|
@@ -468,72 +468,72 @@ export declare const actionValidators: {
|
|
|
468
468
|
childAssortmentId: z.ZodString;
|
|
469
469
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
471
|
+
childAssortmentId: string;
|
|
472
|
+
parentAssortmentId: string;
|
|
473
|
+
tags?: string[] | undefined;
|
|
474
474
|
}, {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
475
|
+
childAssortmentId: string;
|
|
476
|
+
parentAssortmentId: string;
|
|
477
|
+
tags?: string[] | undefined;
|
|
478
478
|
}>;
|
|
479
479
|
readonly REMOVE_LINK: z.ZodObject<{
|
|
480
480
|
assortmentLinkId: z.ZodString;
|
|
481
481
|
}, "strip", z.ZodTypeAny, {
|
|
482
|
-
assortmentLinkId
|
|
482
|
+
assortmentLinkId: string;
|
|
483
483
|
}, {
|
|
484
|
-
assortmentLinkId
|
|
484
|
+
assortmentLinkId: string;
|
|
485
485
|
}>;
|
|
486
486
|
readonly GET_LINKS: z.ZodObject<{
|
|
487
487
|
assortmentId: z.ZodString;
|
|
488
488
|
}, "strip", z.ZodTypeAny, {
|
|
489
|
-
assortmentId
|
|
489
|
+
assortmentId: string;
|
|
490
490
|
}, {
|
|
491
|
-
assortmentId
|
|
491
|
+
assortmentId: string;
|
|
492
492
|
}>;
|
|
493
493
|
readonly REORDER_LINKS: z.ZodObject<{
|
|
494
494
|
sortKeys: z.ZodArray<z.ZodObject<{
|
|
495
495
|
assortmentLinkId: z.ZodString;
|
|
496
496
|
sortKey: z.ZodNumber;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
sortKey
|
|
499
|
-
assortmentLinkId
|
|
498
|
+
sortKey: number;
|
|
499
|
+
assortmentLinkId: string;
|
|
500
500
|
}, {
|
|
501
|
-
sortKey
|
|
502
|
-
assortmentLinkId
|
|
501
|
+
sortKey: number;
|
|
502
|
+
assortmentLinkId: string;
|
|
503
503
|
}>, "atleastone">;
|
|
504
504
|
}, "strip", z.ZodTypeAny, {
|
|
505
|
-
sortKeys
|
|
506
|
-
sortKey
|
|
507
|
-
assortmentLinkId
|
|
505
|
+
sortKeys: [{
|
|
506
|
+
sortKey: number;
|
|
507
|
+
assortmentLinkId: string;
|
|
508
508
|
}, ...{
|
|
509
|
-
sortKey
|
|
510
|
-
assortmentLinkId
|
|
509
|
+
sortKey: number;
|
|
510
|
+
assortmentLinkId: string;
|
|
511
511
|
}[]];
|
|
512
512
|
}, {
|
|
513
|
-
sortKeys
|
|
514
|
-
sortKey
|
|
515
|
-
assortmentLinkId
|
|
513
|
+
sortKeys: [{
|
|
514
|
+
sortKey: number;
|
|
515
|
+
assortmentLinkId: string;
|
|
516
516
|
}, ...{
|
|
517
|
-
sortKey
|
|
518
|
-
assortmentLinkId
|
|
517
|
+
sortKey: number;
|
|
518
|
+
assortmentLinkId: string;
|
|
519
519
|
}[]];
|
|
520
520
|
}>;
|
|
521
521
|
readonly GET_CHILDREN: z.ZodObject<{
|
|
522
|
-
assortmentId: z.
|
|
522
|
+
assortmentId: z.ZodString;
|
|
523
523
|
includeInactive: z.ZodOptional<z.ZodBoolean>;
|
|
524
524
|
}, "strip", z.ZodTypeAny, {
|
|
525
|
-
assortmentId
|
|
526
|
-
includeInactive?: boolean;
|
|
525
|
+
assortmentId: string;
|
|
526
|
+
includeInactive?: boolean | undefined;
|
|
527
527
|
}, {
|
|
528
|
-
assortmentId
|
|
529
|
-
includeInactive?: boolean;
|
|
528
|
+
assortmentId: string;
|
|
529
|
+
includeInactive?: boolean | undefined;
|
|
530
530
|
}>;
|
|
531
531
|
readonly SET_BASE: z.ZodObject<{
|
|
532
532
|
assortmentId: z.ZodString;
|
|
533
533
|
}, "strip", z.ZodTypeAny, {
|
|
534
|
-
assortmentId
|
|
534
|
+
assortmentId: string;
|
|
535
535
|
}, {
|
|
536
|
-
assortmentId
|
|
536
|
+
assortmentId: string;
|
|
537
537
|
}>;
|
|
538
538
|
readonly SEARCH_PRODUCTS: z.ZodObject<{
|
|
539
539
|
queryString: z.ZodOptional<z.ZodString>;
|
|
@@ -542,31 +542,31 @@ export declare const actionValidators: {
|
|
|
542
542
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
543
543
|
assortmentId: z.ZodString;
|
|
544
544
|
}, "strip", z.ZodTypeAny, {
|
|
545
|
-
assortmentId
|
|
546
|
-
includeInactive
|
|
547
|
-
queryString?: string;
|
|
548
|
-
limit?: number;
|
|
549
|
-
offset?: number;
|
|
550
|
-
}, {
|
|
551
|
-
assortmentId
|
|
552
|
-
includeInactive?: boolean;
|
|
553
|
-
queryString?: string;
|
|
554
|
-
limit?: number;
|
|
555
|
-
offset?: number;
|
|
545
|
+
assortmentId: string;
|
|
546
|
+
includeInactive: boolean;
|
|
547
|
+
queryString?: string | undefined;
|
|
548
|
+
limit?: number | undefined;
|
|
549
|
+
offset?: number | undefined;
|
|
550
|
+
}, {
|
|
551
|
+
assortmentId: string;
|
|
552
|
+
includeInactive?: boolean | undefined;
|
|
553
|
+
queryString?: string | undefined;
|
|
554
|
+
limit?: number | undefined;
|
|
555
|
+
offset?: number | undefined;
|
|
556
556
|
}>;
|
|
557
557
|
readonly GET_TEXTS: z.ZodObject<{
|
|
558
558
|
assortmentId: z.ZodString;
|
|
559
559
|
}, "strip", z.ZodTypeAny, {
|
|
560
|
-
assortmentId
|
|
560
|
+
assortmentId: string;
|
|
561
561
|
}, {
|
|
562
|
-
assortmentId
|
|
562
|
+
assortmentId: string;
|
|
563
563
|
}>;
|
|
564
564
|
readonly GET_MEDIA_TEXTS: z.ZodObject<{
|
|
565
565
|
assortmentMediaId: z.ZodString;
|
|
566
566
|
}, "strip", z.ZodTypeAny, {
|
|
567
|
-
assortmentMediaId
|
|
567
|
+
assortmentMediaId: string;
|
|
568
568
|
}, {
|
|
569
|
-
assortmentMediaId
|
|
569
|
+
assortmentMediaId: string;
|
|
570
570
|
}>;
|
|
571
571
|
};
|
|
572
572
|
export declare const AssortmentManagementSchema: {
|
|
@@ -578,11 +578,11 @@ export declare const AssortmentManagementSchema: {
|
|
|
578
578
|
key: z.ZodString;
|
|
579
579
|
value: z.ZodEnum<[string, ...string[]]>;
|
|
580
580
|
}, "strip", z.ZodTypeAny, {
|
|
581
|
-
key
|
|
582
|
-
value
|
|
581
|
+
key: string;
|
|
582
|
+
value: string;
|
|
583
583
|
}, {
|
|
584
|
-
key
|
|
585
|
-
value
|
|
584
|
+
key: string;
|
|
585
|
+
value: string;
|
|
586
586
|
}>, "many">>;
|
|
587
587
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
588
588
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -597,17 +597,17 @@ export declare const AssortmentManagementSchema: {
|
|
|
597
597
|
sequence: z.ZodOptional<z.ZodNumber>;
|
|
598
598
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
599
599
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
isActive?: boolean;
|
|
601
|
-
isRoot?: boolean;
|
|
602
|
-
meta?: Record<string, unknown
|
|
603
|
-
sequence?: number;
|
|
604
|
-
tags?: string[];
|
|
605
|
-
}, {
|
|
606
|
-
isActive?: boolean;
|
|
607
|
-
isRoot?: boolean;
|
|
608
|
-
meta?: Record<string, unknown
|
|
609
|
-
sequence?: number;
|
|
610
|
-
tags?: string[];
|
|
600
|
+
isActive?: boolean | undefined;
|
|
601
|
+
isRoot?: boolean | undefined;
|
|
602
|
+
meta?: Record<string, unknown> | undefined;
|
|
603
|
+
sequence?: number | undefined;
|
|
604
|
+
tags?: string[] | undefined;
|
|
605
|
+
}, {
|
|
606
|
+
isActive?: boolean | undefined;
|
|
607
|
+
isRoot?: boolean | undefined;
|
|
608
|
+
meta?: Record<string, unknown> | undefined;
|
|
609
|
+
sequence?: number | undefined;
|
|
610
|
+
tags?: string[] | undefined;
|
|
611
611
|
}>>;
|
|
612
612
|
texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
613
613
|
locale: z.ZodString;
|
|
@@ -617,17 +617,17 @@ export declare const AssortmentManagementSchema: {
|
|
|
617
617
|
slug: z.ZodOptional<z.ZodString>;
|
|
618
618
|
description: z.ZodOptional<z.ZodString>;
|
|
619
619
|
}, "strip", z.ZodTypeAny, {
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
subtitle?: string;
|
|
624
|
-
slug?: string;
|
|
625
|
-
}, {
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
subtitle?: string;
|
|
630
|
-
slug?: string;
|
|
620
|
+
locale: string;
|
|
621
|
+
title: string;
|
|
622
|
+
description?: string | undefined;
|
|
623
|
+
subtitle?: string | undefined;
|
|
624
|
+
slug?: string | undefined;
|
|
625
|
+
}, {
|
|
626
|
+
locale: string;
|
|
627
|
+
title: string;
|
|
628
|
+
description?: string | undefined;
|
|
629
|
+
subtitle?: string | undefined;
|
|
630
|
+
slug?: string | undefined;
|
|
631
631
|
}>, "many">>;
|
|
632
632
|
statusAction: z.ZodOptional<z.ZodEnum<["ACTIVATE", "DEACTIVATE"]>>;
|
|
633
633
|
mediaId: z.ZodOptional<z.ZodString>;
|
|
@@ -635,51 +635,51 @@ export declare const AssortmentManagementSchema: {
|
|
|
635
635
|
assortmentMediaId: z.ZodString;
|
|
636
636
|
sortKey: z.ZodNumber;
|
|
637
637
|
}, "strip", z.ZodTypeAny, {
|
|
638
|
-
sortKey
|
|
639
|
-
assortmentMediaId
|
|
638
|
+
sortKey: number;
|
|
639
|
+
assortmentMediaId: string;
|
|
640
640
|
}, {
|
|
641
|
-
sortKey
|
|
642
|
-
assortmentMediaId
|
|
641
|
+
sortKey: number;
|
|
642
|
+
assortmentMediaId: string;
|
|
643
643
|
}>, z.ZodObject<{
|
|
644
644
|
assortmentProductId: z.ZodString;
|
|
645
645
|
sortKey: z.ZodNumber;
|
|
646
646
|
}, "strip", z.ZodTypeAny, {
|
|
647
|
-
sortKey
|
|
648
|
-
assortmentProductId
|
|
647
|
+
sortKey: number;
|
|
648
|
+
assortmentProductId: string;
|
|
649
649
|
}, {
|
|
650
|
-
sortKey
|
|
651
|
-
assortmentProductId
|
|
650
|
+
sortKey: number;
|
|
651
|
+
assortmentProductId: string;
|
|
652
652
|
}>, z.ZodObject<{
|
|
653
653
|
assortmentFilterId: z.ZodString;
|
|
654
654
|
sortKey: z.ZodNumber;
|
|
655
655
|
}, "strip", z.ZodTypeAny, {
|
|
656
|
-
sortKey
|
|
657
|
-
assortmentFilterId
|
|
656
|
+
sortKey: number;
|
|
657
|
+
assortmentFilterId: string;
|
|
658
658
|
}, {
|
|
659
|
-
sortKey
|
|
660
|
-
assortmentFilterId
|
|
659
|
+
sortKey: number;
|
|
660
|
+
assortmentFilterId: string;
|
|
661
661
|
}>, z.ZodObject<{
|
|
662
662
|
assortmentLinkId: z.ZodString;
|
|
663
663
|
sortKey: z.ZodNumber;
|
|
664
664
|
}, "strip", z.ZodTypeAny, {
|
|
665
|
-
sortKey
|
|
666
|
-
assortmentLinkId
|
|
665
|
+
sortKey: number;
|
|
666
|
+
assortmentLinkId: string;
|
|
667
667
|
}, {
|
|
668
|
-
sortKey
|
|
669
|
-
assortmentLinkId
|
|
668
|
+
sortKey: number;
|
|
669
|
+
assortmentLinkId: string;
|
|
670
670
|
}>]>, "many">>;
|
|
671
671
|
mediaTexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
672
672
|
locale: z.ZodString;
|
|
673
673
|
title: z.ZodString;
|
|
674
674
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
675
675
|
}, "strip", z.ZodTypeAny, {
|
|
676
|
-
locale
|
|
677
|
-
title
|
|
678
|
-
subtitle?: string;
|
|
676
|
+
locale: string;
|
|
677
|
+
title: string;
|
|
678
|
+
subtitle?: string | undefined;
|
|
679
679
|
}, {
|
|
680
|
-
locale
|
|
681
|
-
title
|
|
682
|
-
subtitle?: string;
|
|
680
|
+
locale: string;
|
|
681
|
+
title: string;
|
|
682
|
+
subtitle?: string | undefined;
|
|
683
683
|
}>, "many">>;
|
|
684
684
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
685
685
|
assortmentProductId: z.ZodOptional<z.ZodString>;
|
|
@@ -699,11 +699,11 @@ export declare const AssortmentManagementZodSchema: z.ZodObject<{
|
|
|
699
699
|
key: z.ZodString;
|
|
700
700
|
value: z.ZodEnum<[string, ...string[]]>;
|
|
701
701
|
}, "strip", z.ZodTypeAny, {
|
|
702
|
-
key
|
|
703
|
-
value
|
|
702
|
+
key: string;
|
|
703
|
+
value: string;
|
|
704
704
|
}, {
|
|
705
|
-
key
|
|
706
|
-
value
|
|
705
|
+
key: string;
|
|
706
|
+
value: string;
|
|
707
707
|
}>, "many">>;
|
|
708
708
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
709
709
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -718,17 +718,17 @@ export declare const AssortmentManagementZodSchema: z.ZodObject<{
|
|
|
718
718
|
sequence: z.ZodOptional<z.ZodNumber>;
|
|
719
719
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
720
720
|
}, "strip", z.ZodTypeAny, {
|
|
721
|
-
isActive?: boolean;
|
|
722
|
-
isRoot?: boolean;
|
|
723
|
-
meta?: Record<string, unknown
|
|
724
|
-
sequence?: number;
|
|
725
|
-
tags?: string[];
|
|
726
|
-
}, {
|
|
727
|
-
isActive?: boolean;
|
|
728
|
-
isRoot?: boolean;
|
|
729
|
-
meta?: Record<string, unknown
|
|
730
|
-
sequence?: number;
|
|
731
|
-
tags?: string[];
|
|
721
|
+
isActive?: boolean | undefined;
|
|
722
|
+
isRoot?: boolean | undefined;
|
|
723
|
+
meta?: Record<string, unknown> | undefined;
|
|
724
|
+
sequence?: number | undefined;
|
|
725
|
+
tags?: string[] | undefined;
|
|
726
|
+
}, {
|
|
727
|
+
isActive?: boolean | undefined;
|
|
728
|
+
isRoot?: boolean | undefined;
|
|
729
|
+
meta?: Record<string, unknown> | undefined;
|
|
730
|
+
sequence?: number | undefined;
|
|
731
|
+
tags?: string[] | undefined;
|
|
732
732
|
}>>;
|
|
733
733
|
texts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
734
734
|
locale: z.ZodString;
|
|
@@ -738,17 +738,17 @@ export declare const AssortmentManagementZodSchema: z.ZodObject<{
|
|
|
738
738
|
slug: z.ZodOptional<z.ZodString>;
|
|
739
739
|
description: z.ZodOptional<z.ZodString>;
|
|
740
740
|
}, "strip", z.ZodTypeAny, {
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
subtitle?: string;
|
|
745
|
-
slug?: string;
|
|
746
|
-
}, {
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
subtitle?: string;
|
|
751
|
-
slug?: string;
|
|
741
|
+
locale: string;
|
|
742
|
+
title: string;
|
|
743
|
+
description?: string | undefined;
|
|
744
|
+
subtitle?: string | undefined;
|
|
745
|
+
slug?: string | undefined;
|
|
746
|
+
}, {
|
|
747
|
+
locale: string;
|
|
748
|
+
title: string;
|
|
749
|
+
description?: string | undefined;
|
|
750
|
+
subtitle?: string | undefined;
|
|
751
|
+
slug?: string | undefined;
|
|
752
752
|
}>, "many">>;
|
|
753
753
|
statusAction: z.ZodOptional<z.ZodEnum<["ACTIVATE", "DEACTIVATE"]>>;
|
|
754
754
|
mediaId: z.ZodOptional<z.ZodString>;
|
|
@@ -756,51 +756,51 @@ export declare const AssortmentManagementZodSchema: z.ZodObject<{
|
|
|
756
756
|
assortmentMediaId: z.ZodString;
|
|
757
757
|
sortKey: z.ZodNumber;
|
|
758
758
|
}, "strip", z.ZodTypeAny, {
|
|
759
|
-
sortKey
|
|
760
|
-
assortmentMediaId
|
|
759
|
+
sortKey: number;
|
|
760
|
+
assortmentMediaId: string;
|
|
761
761
|
}, {
|
|
762
|
-
sortKey
|
|
763
|
-
assortmentMediaId
|
|
762
|
+
sortKey: number;
|
|
763
|
+
assortmentMediaId: string;
|
|
764
764
|
}>, z.ZodObject<{
|
|
765
765
|
assortmentProductId: z.ZodString;
|
|
766
766
|
sortKey: z.ZodNumber;
|
|
767
767
|
}, "strip", z.ZodTypeAny, {
|
|
768
|
-
sortKey
|
|
769
|
-
assortmentProductId
|
|
768
|
+
sortKey: number;
|
|
769
|
+
assortmentProductId: string;
|
|
770
770
|
}, {
|
|
771
|
-
sortKey
|
|
772
|
-
assortmentProductId
|
|
771
|
+
sortKey: number;
|
|
772
|
+
assortmentProductId: string;
|
|
773
773
|
}>, z.ZodObject<{
|
|
774
774
|
assortmentFilterId: z.ZodString;
|
|
775
775
|
sortKey: z.ZodNumber;
|
|
776
776
|
}, "strip", z.ZodTypeAny, {
|
|
777
|
-
sortKey
|
|
778
|
-
assortmentFilterId
|
|
777
|
+
sortKey: number;
|
|
778
|
+
assortmentFilterId: string;
|
|
779
779
|
}, {
|
|
780
|
-
sortKey
|
|
781
|
-
assortmentFilterId
|
|
780
|
+
sortKey: number;
|
|
781
|
+
assortmentFilterId: string;
|
|
782
782
|
}>, z.ZodObject<{
|
|
783
783
|
assortmentLinkId: z.ZodString;
|
|
784
784
|
sortKey: z.ZodNumber;
|
|
785
785
|
}, "strip", z.ZodTypeAny, {
|
|
786
|
-
sortKey
|
|
787
|
-
assortmentLinkId
|
|
786
|
+
sortKey: number;
|
|
787
|
+
assortmentLinkId: string;
|
|
788
788
|
}, {
|
|
789
|
-
sortKey
|
|
790
|
-
assortmentLinkId
|
|
789
|
+
sortKey: number;
|
|
790
|
+
assortmentLinkId: string;
|
|
791
791
|
}>]>, "many">>;
|
|
792
792
|
mediaTexts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
793
793
|
locale: z.ZodString;
|
|
794
794
|
title: z.ZodString;
|
|
795
795
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
796
796
|
}, "strip", z.ZodTypeAny, {
|
|
797
|
-
locale
|
|
798
|
-
title
|
|
799
|
-
subtitle?: string;
|
|
797
|
+
locale: string;
|
|
798
|
+
title: string;
|
|
799
|
+
subtitle?: string | undefined;
|
|
800
800
|
}, {
|
|
801
|
-
locale
|
|
802
|
-
title
|
|
803
|
-
subtitle?: string;
|
|
801
|
+
locale: string;
|
|
802
|
+
title: string;
|
|
803
|
+
subtitle?: string | undefined;
|
|
804
804
|
}>, "many">>;
|
|
805
805
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
806
806
|
assortmentProductId: z.ZodOptional<z.ZodString>;
|
|
@@ -811,119 +811,119 @@ export declare const AssortmentManagementZodSchema: z.ZodObject<{
|
|
|
811
811
|
childAssortmentId: z.ZodOptional<z.ZodString>;
|
|
812
812
|
assortmentLinkId: z.ZodOptional<z.ZodString>;
|
|
813
813
|
}, "strip", z.ZodTypeAny, {
|
|
814
|
-
|
|
815
|
-
|
|
814
|
+
includeInactive: boolean;
|
|
815
|
+
action: "GET" | "CREATE" | "UPDATE" | "REMOVE" | "LIST" | "COUNT" | "GET_TEXTS" | "UPDATE_STATUS" | "ADD_MEDIA" | "REMOVE_MEDIA" | "REORDER_MEDIA" | "GET_MEDIA" | "UPDATE_MEDIA_TEXTS" | "GET_MEDIA_TEXTS" | "ADD_PRODUCT" | "REMOVE_PRODUCT" | "GET_PRODUCTS" | "REORDER_PRODUCTS" | "ADD_FILTER" | "REMOVE_FILTER" | "GET_FILTERS" | "REORDER_FILTERS" | "ADD_LINK" | "REMOVE_LINK" | "GET_LINKS" | "REORDER_LINKS" | "GET_CHILDREN" | "SET_BASE" | "SEARCH_PRODUCTS";
|
|
816
|
+
slugs?: string[] | undefined;
|
|
817
|
+
tags?: string[] | undefined;
|
|
816
818
|
sort?: {
|
|
817
|
-
key
|
|
818
|
-
value
|
|
819
|
-
}[];
|
|
820
|
-
mediaId?: string;
|
|
821
|
-
assortmentId?: string;
|
|
822
|
-
assortmentMediaId?: string;
|
|
823
|
-
filterId?: string;
|
|
824
|
-
childAssortmentId?: string;
|
|
825
|
-
parentAssortmentId?: string;
|
|
826
|
-
productId?: string;
|
|
827
|
-
slug?: string;
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
offset?: number;
|
|
819
|
+
key: string;
|
|
820
|
+
value: string;
|
|
821
|
+
}[] | undefined;
|
|
822
|
+
mediaId?: string | undefined;
|
|
823
|
+
assortmentId?: string | undefined;
|
|
824
|
+
assortmentMediaId?: string | undefined;
|
|
825
|
+
filterId?: string | undefined;
|
|
826
|
+
childAssortmentId?: string | undefined;
|
|
827
|
+
parentAssortmentId?: string | undefined;
|
|
828
|
+
productId?: string | undefined;
|
|
829
|
+
slug?: string | undefined;
|
|
830
|
+
queryString?: string | undefined;
|
|
831
|
+
includeLeaves?: boolean | undefined;
|
|
832
|
+
limit?: number | undefined;
|
|
833
|
+
offset?: number | undefined;
|
|
833
834
|
texts?: {
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
subtitle?: string;
|
|
838
|
-
slug?: string;
|
|
839
|
-
}[];
|
|
835
|
+
locale: string;
|
|
836
|
+
title: string;
|
|
837
|
+
description?: string | undefined;
|
|
838
|
+
subtitle?: string | undefined;
|
|
839
|
+
slug?: string | undefined;
|
|
840
|
+
}[] | undefined;
|
|
840
841
|
sortKeys?: ({
|
|
841
|
-
sortKey
|
|
842
|
-
assortmentMediaId
|
|
842
|
+
sortKey: number;
|
|
843
|
+
assortmentMediaId: string;
|
|
843
844
|
} | {
|
|
844
|
-
sortKey
|
|
845
|
-
assortmentProductId
|
|
845
|
+
sortKey: number;
|
|
846
|
+
assortmentProductId: string;
|
|
846
847
|
} | {
|
|
847
|
-
sortKey
|
|
848
|
-
assortmentFilterId
|
|
848
|
+
sortKey: number;
|
|
849
|
+
assortmentFilterId: string;
|
|
849
850
|
} | {
|
|
850
|
-
sortKey
|
|
851
|
-
assortmentLinkId
|
|
852
|
-
})[];
|
|
851
|
+
sortKey: number;
|
|
852
|
+
assortmentLinkId: string;
|
|
853
|
+
})[] | undefined;
|
|
853
854
|
assortment?: {
|
|
854
|
-
isActive?: boolean;
|
|
855
|
-
isRoot?: boolean;
|
|
856
|
-
meta?: Record<string, unknown
|
|
857
|
-
sequence?: number;
|
|
858
|
-
tags?: string[];
|
|
859
|
-
};
|
|
860
|
-
assortmentProductId?: string;
|
|
861
|
-
assortmentLinkId?: string;
|
|
862
|
-
assortmentFilterId?: string;
|
|
863
|
-
|
|
864
|
-
statusAction?: "ACTIVATE" | "DEACTIVATE";
|
|
855
|
+
isActive?: boolean | undefined;
|
|
856
|
+
isRoot?: boolean | undefined;
|
|
857
|
+
meta?: Record<string, unknown> | undefined;
|
|
858
|
+
sequence?: number | undefined;
|
|
859
|
+
tags?: string[] | undefined;
|
|
860
|
+
} | undefined;
|
|
861
|
+
assortmentProductId?: string | undefined;
|
|
862
|
+
assortmentLinkId?: string | undefined;
|
|
863
|
+
assortmentFilterId?: string | undefined;
|
|
864
|
+
statusAction?: "ACTIVATE" | "DEACTIVATE" | undefined;
|
|
865
865
|
mediaTexts?: {
|
|
866
|
-
locale
|
|
867
|
-
title
|
|
868
|
-
subtitle?: string;
|
|
869
|
-
}[];
|
|
866
|
+
locale: string;
|
|
867
|
+
title: string;
|
|
868
|
+
subtitle?: string | undefined;
|
|
869
|
+
}[] | undefined;
|
|
870
870
|
}, {
|
|
871
|
-
|
|
872
|
-
|
|
871
|
+
action: "GET" | "CREATE" | "UPDATE" | "REMOVE" | "LIST" | "COUNT" | "GET_TEXTS" | "UPDATE_STATUS" | "ADD_MEDIA" | "REMOVE_MEDIA" | "REORDER_MEDIA" | "GET_MEDIA" | "UPDATE_MEDIA_TEXTS" | "GET_MEDIA_TEXTS" | "ADD_PRODUCT" | "REMOVE_PRODUCT" | "GET_PRODUCTS" | "REORDER_PRODUCTS" | "ADD_FILTER" | "REMOVE_FILTER" | "GET_FILTERS" | "REORDER_FILTERS" | "ADD_LINK" | "REMOVE_LINK" | "GET_LINKS" | "REORDER_LINKS" | "GET_CHILDREN" | "SET_BASE" | "SEARCH_PRODUCTS";
|
|
872
|
+
slugs?: string[] | undefined;
|
|
873
|
+
tags?: string[] | undefined;
|
|
873
874
|
sort?: {
|
|
874
|
-
key
|
|
875
|
-
value
|
|
876
|
-
}[];
|
|
877
|
-
mediaId?: string;
|
|
878
|
-
assortmentId?: string;
|
|
879
|
-
assortmentMediaId?: string;
|
|
880
|
-
filterId?: string;
|
|
881
|
-
childAssortmentId?: string;
|
|
882
|
-
parentAssortmentId?: string;
|
|
883
|
-
productId?: string;
|
|
884
|
-
slug?: string;
|
|
885
|
-
includeInactive?: boolean;
|
|
886
|
-
queryString?: string;
|
|
887
|
-
includeLeaves?: boolean;
|
|
888
|
-
limit?: number;
|
|
889
|
-
offset?: number;
|
|
875
|
+
key: string;
|
|
876
|
+
value: string;
|
|
877
|
+
}[] | undefined;
|
|
878
|
+
mediaId?: string | undefined;
|
|
879
|
+
assortmentId?: string | undefined;
|
|
880
|
+
assortmentMediaId?: string | undefined;
|
|
881
|
+
filterId?: string | undefined;
|
|
882
|
+
childAssortmentId?: string | undefined;
|
|
883
|
+
parentAssortmentId?: string | undefined;
|
|
884
|
+
productId?: string | undefined;
|
|
885
|
+
slug?: string | undefined;
|
|
886
|
+
includeInactive?: boolean | undefined;
|
|
887
|
+
queryString?: string | undefined;
|
|
888
|
+
includeLeaves?: boolean | undefined;
|
|
889
|
+
limit?: number | undefined;
|
|
890
|
+
offset?: number | undefined;
|
|
890
891
|
texts?: {
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
subtitle?: string;
|
|
895
|
-
slug?: string;
|
|
896
|
-
}[];
|
|
892
|
+
locale: string;
|
|
893
|
+
title: string;
|
|
894
|
+
description?: string | undefined;
|
|
895
|
+
subtitle?: string | undefined;
|
|
896
|
+
slug?: string | undefined;
|
|
897
|
+
}[] | undefined;
|
|
897
898
|
sortKeys?: ({
|
|
898
|
-
sortKey
|
|
899
|
-
assortmentMediaId
|
|
899
|
+
sortKey: number;
|
|
900
|
+
assortmentMediaId: string;
|
|
900
901
|
} | {
|
|
901
|
-
sortKey
|
|
902
|
-
assortmentProductId
|
|
902
|
+
sortKey: number;
|
|
903
|
+
assortmentProductId: string;
|
|
903
904
|
} | {
|
|
904
|
-
sortKey
|
|
905
|
-
assortmentFilterId
|
|
905
|
+
sortKey: number;
|
|
906
|
+
assortmentFilterId: string;
|
|
906
907
|
} | {
|
|
907
|
-
sortKey
|
|
908
|
-
assortmentLinkId
|
|
909
|
-
})[];
|
|
908
|
+
sortKey: number;
|
|
909
|
+
assortmentLinkId: string;
|
|
910
|
+
})[] | undefined;
|
|
910
911
|
assortment?: {
|
|
911
|
-
isActive?: boolean;
|
|
912
|
-
isRoot?: boolean;
|
|
913
|
-
meta?: Record<string, unknown
|
|
914
|
-
sequence?: number;
|
|
915
|
-
tags?: string[];
|
|
916
|
-
};
|
|
917
|
-
assortmentProductId?: string;
|
|
918
|
-
assortmentLinkId?: string;
|
|
919
|
-
assortmentFilterId?: string;
|
|
920
|
-
|
|
921
|
-
statusAction?: "ACTIVATE" | "DEACTIVATE";
|
|
912
|
+
isActive?: boolean | undefined;
|
|
913
|
+
isRoot?: boolean | undefined;
|
|
914
|
+
meta?: Record<string, unknown> | undefined;
|
|
915
|
+
sequence?: number | undefined;
|
|
916
|
+
tags?: string[] | undefined;
|
|
917
|
+
} | undefined;
|
|
918
|
+
assortmentProductId?: string | undefined;
|
|
919
|
+
assortmentLinkId?: string | undefined;
|
|
920
|
+
assortmentFilterId?: string | undefined;
|
|
921
|
+
statusAction?: "ACTIVATE" | "DEACTIVATE" | undefined;
|
|
922
922
|
mediaTexts?: {
|
|
923
|
-
locale
|
|
924
|
-
title
|
|
925
|
-
subtitle?: string;
|
|
926
|
-
}[];
|
|
923
|
+
locale: string;
|
|
924
|
+
title: string;
|
|
925
|
+
subtitle?: string | undefined;
|
|
926
|
+
}[] | undefined;
|
|
927
927
|
}>;
|
|
928
928
|
export type AssortmentManagementParams = z.infer<typeof AssortmentManagementZodSchema>;
|
|
929
929
|
export type ActionName = keyof typeof actionValidators;
|