@unchainedshop/api 4.3.5 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +153 -4
- package/lib/acl.d.ts +1 -2
- package/lib/acl.js +1 -4
- package/lib/api-index.d.ts +10 -11
- package/lib/api-index.js +12 -13
- package/lib/chat/defaultSystemPrompt.d.ts +0 -1
- package/lib/chat/defaultSystemPrompt.js +0 -1
- package/lib/chat/generateImageHandler.d.ts +0 -1
- package/lib/chat/generateImageHandler.js +0 -2
- package/lib/chat/normalizeToolsIndex.d.ts +0 -1
- package/lib/chat/normalizeToolsIndex.js +1 -2
- package/lib/chat/utils.d.ts +0 -1
- package/lib/chat/utils.js +0 -3
- package/lib/context.d.ts +5 -6
- package/lib/context.js +11 -4
- package/lib/createGraphQLServer.d.ts +1 -2
- package/lib/createGraphQLServer.js +1 -2
- package/lib/errors.d.ts +0 -1
- package/lib/errors.js +0 -1
- package/lib/events.d.ts +5 -5
- package/lib/events.js +4 -6
- package/lib/express/chatHandler.d.ts +1 -2
- package/lib/express/chatHandler.js +11 -8
- package/lib/express/createBulkImportMiddleware.d.ts +1 -2
- package/lib/express/createBulkImportMiddleware.js +3 -4
- package/lib/express/createERCMetadataMiddleware.d.ts +1 -2
- package/lib/express/createERCMetadataMiddleware.js +0 -2
- package/lib/express/createMCPMiddleware.d.ts +1 -2
- package/lib/express/createMCPMiddleware.js +21 -14
- package/lib/express/createTempUploadMiddleware.d.ts +1 -2
- package/lib/express/createTempUploadMiddleware.js +3 -5
- package/lib/express/index.d.ts +4 -5
- package/lib/express/index.js +10 -15
- package/lib/fastify/bulkImportHandler.d.ts +1 -2
- package/lib/fastify/bulkImportHandler.js +3 -4
- package/lib/fastify/chatHandler.d.ts +2 -3
- package/lib/fastify/chatHandler.js +11 -8
- package/lib/fastify/ercMetadataHandler.d.ts +1 -2
- package/lib/fastify/ercMetadataHandler.js +0 -1
- package/lib/fastify/index.d.ts +6 -7
- package/lib/fastify/index.js +12 -21
- package/lib/fastify/mcpHandler.d.ts +1 -2
- package/lib/fastify/mcpHandler.js +20 -11
- package/lib/fastify/tempUploadHandler.d.ts +1 -2
- package/lib/fastify/tempUploadHandler.js +3 -5
- package/lib/loaders/assortmentLinkLoader.d.ts +2 -3
- package/lib/loaders/assortmentLinkLoader.js +0 -1
- package/lib/loaders/assortmentLinksLoader.d.ts +2 -3
- package/lib/loaders/assortmentLinksLoader.js +0 -1
- package/lib/loaders/assortmentLoader.d.ts +2 -3
- package/lib/loaders/assortmentLoader.js +0 -1
- package/lib/loaders/assortmentMediaTextLoader.d.ts +2 -3
- package/lib/loaders/assortmentMediaTextLoader.js +2 -3
- package/lib/loaders/assortmentMediasLoader.d.ts +2 -3
- package/lib/loaders/assortmentMediasLoader.js +0 -1
- package/lib/loaders/assortmentProductLoader.d.ts +2 -3
- package/lib/loaders/assortmentProductLoader.js +0 -1
- package/lib/loaders/assortmentProductsLoader.d.ts +2 -3
- package/lib/loaders/assortmentProductsLoader.js +0 -1
- package/lib/loaders/assortmentTextLoader.d.ts +2 -3
- package/lib/loaders/assortmentTextLoader.js +2 -3
- package/lib/loaders/buildLocaleMap.d.ts +0 -1
- package/lib/loaders/buildLocaleMap.js +0 -4
- package/lib/loaders/buildTextMap.d.ts +0 -1
- package/lib/loaders/buildTextMap.js +3 -9
- package/lib/loaders/countryLoader.d.ts +2 -3
- package/lib/loaders/countryLoader.js +0 -1
- package/lib/loaders/currencyLoader.d.ts +2 -3
- package/lib/loaders/currencyLoader.js +0 -1
- package/lib/loaders/deliveryProviderLoader.d.ts +2 -3
- package/lib/loaders/deliveryProviderLoader.js +0 -1
- package/lib/loaders/fileLoader.d.ts +2 -3
- package/lib/loaders/fileLoader.js +0 -1
- package/lib/loaders/filterLoader.d.ts +2 -3
- package/lib/loaders/filterLoader.js +0 -1
- package/lib/loaders/filterTextLoader.d.ts +2 -3
- package/lib/loaders/filterTextLoader.js +2 -3
- package/lib/loaders/index.d.ts +1 -2
- package/lib/loaders/index.js +29 -30
- package/lib/loaders/languageLoader.d.ts +2 -3
- package/lib/loaders/languageLoader.js +0 -1
- package/lib/loaders/orderLoader.d.ts +2 -3
- package/lib/loaders/orderLoader.js +0 -3
- package/lib/loaders/paymentProviderLoader.d.ts +2 -3
- package/lib/loaders/paymentProviderLoader.js +0 -1
- package/lib/loaders/productBySKULoader.d.ts +2 -3
- package/lib/loaders/productBySKULoader.js +0 -1
- package/lib/loaders/productLoader.d.ts +2 -3
- package/lib/loaders/productLoader.js +0 -1
- package/lib/loaders/productMediaTextLoader.d.ts +2 -3
- package/lib/loaders/productMediaTextLoader.js +2 -3
- package/lib/loaders/productMediasLoader.d.ts +2 -3
- package/lib/loaders/productMediasLoader.js +0 -1
- package/lib/loaders/productProxiesLoader.d.ts +2 -3
- package/lib/loaders/productProxiesLoader.js +0 -1
- package/lib/loaders/productTextLoader.d.ts +2 -3
- package/lib/loaders/productTextLoader.js +2 -3
- package/lib/loaders/productVariationByKeyLoader.d.ts +2 -3
- package/lib/loaders/productVariationByKeyLoader.js +0 -2
- package/lib/loaders/productVariationLoader.d.ts +2 -3
- package/lib/loaders/productVariationLoader.js +0 -1
- package/lib/loaders/productVariationTextLoader.d.ts +2 -3
- package/lib/loaders/productVariationTextLoader.js +2 -4
- package/lib/loaders/quotationLoader.d.ts +2 -3
- package/lib/loaders/quotationLoader.js +0 -1
- package/lib/loaders/userLoader.d.ts +2 -3
- package/lib/loaders/userLoader.js +0 -3
- package/lib/loaders/utils.d.ts +0 -1
- package/lib/loaders/utils.js +0 -3
- package/lib/loaders/warehousingProviderLoader.d.ts +2 -3
- package/lib/loaders/warehousingProviderLoader.js +0 -1
- package/lib/locale-context.d.ts +2 -3
- package/lib/locale-context.js +1 -2
- package/lib/mcp/index.d.ts +3 -4
- package/lib/mcp/index.js +11 -17
- package/lib/mcp/resources/localization.d.ts +2 -3
- package/lib/mcp/resources/localization.js +0 -1
- package/lib/mcp/tools/assortment/assortmentManagement.d.ts +4 -4
- package/lib/mcp/tools/assortment/assortmentManagement.js +3 -4
- package/lib/mcp/tools/assortment/handlers/addAssortmentFilter.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/addAssortmentFilter.js +2 -3
- package/lib/mcp/tools/assortment/handlers/addAssortmentLink.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/addAssortmentLink.js +2 -3
- package/lib/mcp/tools/assortment/handlers/addAssortmentMedia.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/addAssortmentMedia.js +2 -3
- package/lib/mcp/tools/assortment/handlers/addAssortmentProduct.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/addAssortmentProduct.js +2 -3
- package/lib/mcp/tools/assortment/handlers/countAssortments.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/countAssortments.js +0 -1
- package/lib/mcp/tools/assortment/handlers/createAssortment.d.ts +3 -4
- package/lib/mcp/tools/assortment/handlers/createAssortment.js +1 -2
- package/lib/mcp/tools/assortment/handlers/getAssortment.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/getAssortment.js +2 -3
- package/lib/mcp/tools/assortment/handlers/getAssortmentChildren.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/getAssortmentChildren.js +2 -3
- package/lib/mcp/tools/assortment/handlers/getAssortmentFilters.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/getAssortmentFilters.js +3 -4
- package/lib/mcp/tools/assortment/handlers/getAssortmentLinks.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/getAssortmentLinks.js +2 -3
- package/lib/mcp/tools/assortment/handlers/getAssortmentMedia.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/getAssortmentMedia.js +3 -4
- package/lib/mcp/tools/assortment/handlers/getAssortmentMediaTexts.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/getAssortmentMediaTexts.js +1 -2
- package/lib/mcp/tools/assortment/handlers/getAssortmentProducts.d.ts +3 -4
- package/lib/mcp/tools/assortment/handlers/getAssortmentProducts.js +3 -4
- package/lib/mcp/tools/assortment/handlers/getAssortmentTexts.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/getAssortmentTexts.js +1 -2
- package/lib/mcp/tools/assortment/handlers/index.d.ts +29 -30
- package/lib/mcp/tools/assortment/handlers/index.js +29 -30
- package/lib/mcp/tools/assortment/handlers/listAssortments.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/listAssortments.js +1 -2
- package/lib/mcp/tools/assortment/handlers/removeAssortment.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/removeAssortment.js +1 -2
- package/lib/mcp/tools/assortment/handlers/removeAssortmentFilter.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/removeAssortmentFilter.js +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentLink.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/removeAssortmentLink.js +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentMedia.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/removeAssortmentMedia.js +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentProduct.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/removeAssortmentProduct.js +0 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentFilters.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentFilters.js +1 -2
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentLinks.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentLinks.js +1 -2
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentMedia.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentMedia.js +1 -2
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentProducts.d.ts +3 -4
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentProducts.js +1 -2
- package/lib/mcp/tools/assortment/handlers/searchAssortmentProducts.d.ts +3 -4
- package/lib/mcp/tools/assortment/handlers/searchAssortmentProducts.js +3 -4
- package/lib/mcp/tools/assortment/handlers/setAssortmentBase.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/setAssortmentBase.js +2 -3
- package/lib/mcp/tools/assortment/handlers/updateAssortment.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/updateAssortment.js +2 -3
- package/lib/mcp/tools/assortment/handlers/updateAssortmentMediaTexts.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/updateAssortmentMediaTexts.js +1 -2
- package/lib/mcp/tools/assortment/handlers/updateAssortmentStatus.d.ts +2 -3
- package/lib/mcp/tools/assortment/handlers/updateAssortmentStatus.js +2 -3
- package/lib/mcp/tools/assortment/index.d.ts +2 -3
- package/lib/mcp/tools/assortment/index.js +1 -2
- package/lib/mcp/tools/assortment/schemas.d.ts +167 -725
- package/lib/mcp/tools/assortment/schemas.js +2 -3
- package/lib/mcp/tools/filter/filterManagement.d.ts +4 -4
- package/lib/mcp/tools/filter/filterManagement.js +3 -4
- package/lib/mcp/tools/filter/handlers/countFilters.d.ts +2 -3
- package/lib/mcp/tools/filter/handlers/countFilters.js +0 -1
- package/lib/mcp/tools/filter/handlers/createFilter.d.ts +3 -4
- package/lib/mcp/tools/filter/handlers/createFilter.js +1 -2
- package/lib/mcp/tools/filter/handlers/createFilterOption.d.ts +3 -4
- package/lib/mcp/tools/filter/handlers/createFilterOption.js +2 -3
- package/lib/mcp/tools/filter/handlers/getFilter.d.ts +2 -3
- package/lib/mcp/tools/filter/handlers/getFilter.js +2 -3
- package/lib/mcp/tools/filter/handlers/getFilterTexts.d.ts +2 -3
- package/lib/mcp/tools/filter/handlers/getFilterTexts.js +1 -2
- package/lib/mcp/tools/filter/handlers/index.d.ts +10 -11
- package/lib/mcp/tools/filter/handlers/index.js +10 -11
- package/lib/mcp/tools/filter/handlers/listFilters.d.ts +2 -3
- package/lib/mcp/tools/filter/handlers/listFilters.js +1 -2
- package/lib/mcp/tools/filter/handlers/removeFilter.d.ts +2 -3
- package/lib/mcp/tools/filter/handlers/removeFilter.js +1 -2
- package/lib/mcp/tools/filter/handlers/removeFilterOption.d.ts +2 -3
- package/lib/mcp/tools/filter/handlers/removeFilterOption.js +2 -3
- package/lib/mcp/tools/filter/handlers/updateFilter.d.ts +2 -3
- package/lib/mcp/tools/filter/handlers/updateFilter.js +2 -3
- package/lib/mcp/tools/filter/handlers/updateFilterTexts.d.ts +3 -4
- package/lib/mcp/tools/filter/handlers/updateFilterTexts.js +2 -3
- package/lib/mcp/tools/filter/index.d.ts +2 -3
- package/lib/mcp/tools/filter/index.js +1 -2
- package/lib/mcp/tools/filter/schemas.d.ts +100 -414
- package/lib/mcp/tools/filter/schemas.js +1 -2
- package/lib/mcp/tools/localization/getLocalizationsConfig.d.ts +2 -3
- package/lib/mcp/tools/localization/getLocalizationsConfig.js +1 -2
- package/lib/mcp/tools/localization/handlers/countLocalizations.d.ts +2 -3
- package/lib/mcp/tools/localization/handlers/countLocalizations.js +1 -2
- package/lib/mcp/tools/localization/handlers/createLocalization.d.ts +2 -3
- package/lib/mcp/tools/localization/handlers/createLocalization.js +3 -4
- package/lib/mcp/tools/localization/handlers/getLocalization.d.ts +2 -3
- package/lib/mcp/tools/localization/handlers/getLocalization.js +1 -2
- package/lib/mcp/tools/localization/handlers/index.d.ts +6 -7
- package/lib/mcp/tools/localization/handlers/index.js +6 -7
- package/lib/mcp/tools/localization/handlers/listLocalizations.d.ts +2 -3
- package/lib/mcp/tools/localization/handlers/listLocalizations.js +1 -2
- package/lib/mcp/tools/localization/handlers/removeLocalization.d.ts +2 -3
- package/lib/mcp/tools/localization/handlers/removeLocalization.js +1 -2
- package/lib/mcp/tools/localization/handlers/updateLocalization.d.ts +2 -3
- package/lib/mcp/tools/localization/handlers/updateLocalization.js +2 -3
- package/lib/mcp/tools/localization/index.d.ts +2 -3
- package/lib/mcp/tools/localization/index.js +1 -2
- package/lib/mcp/tools/localization/localizationManagement.d.ts +4 -4
- package/lib/mcp/tools/localization/localizationManagement.js +3 -4
- package/lib/mcp/tools/localization/schemas.d.ts +85 -225
- package/lib/mcp/tools/localization/schemas.js +4 -5
- package/lib/mcp/tools/localization/types.d.ts +0 -1
- package/lib/mcp/tools/localization/types.js +0 -1
- package/lib/mcp/tools/order/handlers/confirmOrder.d.ts +3 -4
- package/lib/mcp/tools/order/handlers/confirmOrder.js +2 -3
- package/lib/mcp/tools/order/handlers/deliverOrder.d.ts +3 -4
- package/lib/mcp/tools/order/handlers/deliverOrder.js +2 -3
- package/lib/mcp/tools/order/handlers/getMonthlyBreakdown.d.ts +2 -3
- package/lib/mcp/tools/order/handlers/getMonthlyBreakdown.js +1 -2
- package/lib/mcp/tools/order/handlers/getOrder.d.ts +3 -4
- package/lib/mcp/tools/order/handlers/getOrder.js +1 -2
- package/lib/mcp/tools/order/handlers/getSalesSummary.d.ts +2 -3
- package/lib/mcp/tools/order/handlers/getSalesSummary.js +1 -2
- package/lib/mcp/tools/order/handlers/getTopCustomers.d.ts +2 -3
- package/lib/mcp/tools/order/handlers/getTopCustomers.js +1 -2
- package/lib/mcp/tools/order/handlers/getTopProducts.d.ts +3 -4
- package/lib/mcp/tools/order/handlers/getTopProducts.js +2 -3
- package/lib/mcp/tools/order/handlers/getUserCart.d.ts +3 -4
- package/lib/mcp/tools/order/handlers/getUserCart.js +1 -2
- package/lib/mcp/tools/order/handlers/index.d.ts +11 -12
- package/lib/mcp/tools/order/handlers/index.js +11 -12
- package/lib/mcp/tools/order/handlers/listOrders.d.ts +3 -4
- package/lib/mcp/tools/order/handlers/listOrders.js +2 -3
- package/lib/mcp/tools/order/handlers/payOrder.d.ts +3 -4
- package/lib/mcp/tools/order/handlers/payOrder.js +2 -3
- package/lib/mcp/tools/order/handlers/rejectOrder.d.ts +3 -4
- package/lib/mcp/tools/order/handlers/rejectOrder.js +2 -3
- package/lib/mcp/tools/order/index.d.ts +2 -3
- package/lib/mcp/tools/order/index.js +1 -2
- package/lib/mcp/tools/order/orderManagement.d.ts +4 -4
- package/lib/mcp/tools/order/orderManagement.js +3 -4
- package/lib/mcp/tools/order/schemas.d.ts +160 -291
- package/lib/mcp/tools/order/schemas.js +17 -12
- package/lib/mcp/tools/product/handlers/addBundleItem.d.ts +4 -4
- package/lib/mcp/tools/product/handlers/addBundleItem.js +5 -6
- package/lib/mcp/tools/product/handlers/addProductAssignment.d.ts +4 -4
- package/lib/mcp/tools/product/handlers/addProductAssignment.js +5 -7
- package/lib/mcp/tools/product/handlers/addProductMedia.d.ts +3 -4
- package/lib/mcp/tools/product/handlers/addProductMedia.js +2 -3
- package/lib/mcp/tools/product/handlers/addProductVariationOption.d.ts +3 -4
- package/lib/mcp/tools/product/handlers/addProductVariationOption.js +2 -3
- package/lib/mcp/tools/product/handlers/countProducts.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/countProducts.js +0 -1
- package/lib/mcp/tools/product/handlers/countReviews.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/countReviews.js +1 -2
- package/lib/mcp/tools/product/handlers/createProduct.d.ts +4 -5
- package/lib/mcp/tools/product/handlers/createProduct.js +1 -2
- package/lib/mcp/tools/product/handlers/createProductVariation.d.ts +4 -4
- package/lib/mcp/tools/product/handlers/createProductVariation.js +5 -6
- package/lib/mcp/tools/product/handlers/getBundleItems.d.ts +4 -4
- package/lib/mcp/tools/product/handlers/getBundleItems.js +5 -6
- package/lib/mcp/tools/product/handlers/getCatalogPrice.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/getCatalogPrice.js +1 -2
- package/lib/mcp/tools/product/handlers/getMediaTexts.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/getMediaTexts.js +1 -2
- package/lib/mcp/tools/product/handlers/getProduct.d.ts +3 -4
- package/lib/mcp/tools/product/handlers/getProduct.js +2 -3
- package/lib/mcp/tools/product/handlers/getProductAssignments.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/getProductAssignments.js +5 -6
- package/lib/mcp/tools/product/handlers/getProductMedia.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/getProductMedia.js +2 -3
- package/lib/mcp/tools/product/handlers/getProductTexts.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/getProductTexts.js +1 -2
- package/lib/mcp/tools/product/handlers/getReviews.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/getReviews.js +1 -2
- package/lib/mcp/tools/product/handlers/getSiblings.d.ts +3 -4
- package/lib/mcp/tools/product/handlers/getSiblings.js +2 -3
- package/lib/mcp/tools/product/handlers/getVariationProducts.d.ts +3 -4
- package/lib/mcp/tools/product/handlers/getVariationProducts.js +2 -3
- package/lib/mcp/tools/product/handlers/getVariationTexts.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/getVariationTexts.js +1 -2
- package/lib/mcp/tools/product/handlers/index.d.ts +34 -35
- package/lib/mcp/tools/product/handlers/index.js +34 -35
- package/lib/mcp/tools/product/handlers/listProducts.d.ts +3 -4
- package/lib/mcp/tools/product/handlers/listProducts.js +1 -2
- package/lib/mcp/tools/product/handlers/removeBundleItem.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/removeBundleItem.js +4 -5
- package/lib/mcp/tools/product/handlers/removeProduct.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/removeProduct.js +1 -2
- package/lib/mcp/tools/product/handlers/removeProductAssignment.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/removeProductAssignment.js +4 -5
- package/lib/mcp/tools/product/handlers/removeProductMedia.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/removeProductMedia.js +1 -2
- package/lib/mcp/tools/product/handlers/removeProductVariation.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/removeProductVariation.js +1 -2
- package/lib/mcp/tools/product/handlers/removeProductVariationOption.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/removeProductVariationOption.js +1 -2
- package/lib/mcp/tools/product/handlers/reorderProductMedia.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/reorderProductMedia.js +1 -2
- package/lib/mcp/tools/product/handlers/simulatePrice.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/simulatePrice.js +2 -3
- package/lib/mcp/tools/product/handlers/simulatePriceRange.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/simulatePriceRange.js +4 -5
- package/lib/mcp/tools/product/handlers/updateProduct.d.ts +4 -4
- package/lib/mcp/tools/product/handlers/updateProduct.js +11 -12
- package/lib/mcp/tools/product/handlers/updateProductMediaTexts.d.ts +3 -5
- package/lib/mcp/tools/product/handlers/updateProductMediaTexts.js +1 -2
- package/lib/mcp/tools/product/handlers/updateProductStatus.d.ts +3 -4
- package/lib/mcp/tools/product/handlers/updateProductStatus.js +2 -3
- package/lib/mcp/tools/product/handlers/updateProductTexts.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/updateProductTexts.js +1 -2
- package/lib/mcp/tools/product/handlers/updateProductVariationTexts.d.ts +2 -3
- package/lib/mcp/tools/product/handlers/updateProductVariationTexts.js +1 -2
- package/lib/mcp/tools/product/index.d.ts +2 -3
- package/lib/mcp/tools/product/index.js +1 -2
- package/lib/mcp/tools/product/productManagement.d.ts +4 -4
- package/lib/mcp/tools/product/productManagement.js +3 -4
- package/lib/mcp/tools/product/schemas.d.ts +373 -2154
- package/lib/mcp/tools/product/schemas.js +8 -8
- package/lib/mcp/tools/provider/handlers/createProvider.d.ts +2 -3
- package/lib/mcp/tools/provider/handlers/createProvider.js +2 -3
- package/lib/mcp/tools/provider/handlers/getProvider.d.ts +2 -3
- package/lib/mcp/tools/provider/handlers/getProvider.js +1 -2
- package/lib/mcp/tools/provider/handlers/getProviderInterfaces.d.ts +3 -4
- package/lib/mcp/tools/provider/handlers/getProviderInterfaces.js +1 -2
- package/lib/mcp/tools/provider/handlers/index.d.ts +6 -7
- package/lib/mcp/tools/provider/handlers/index.js +6 -7
- package/lib/mcp/tools/provider/handlers/listProviders.d.ts +2 -3
- package/lib/mcp/tools/provider/handlers/listProviders.js +1 -2
- package/lib/mcp/tools/provider/handlers/removeProvider.d.ts +2 -3
- package/lib/mcp/tools/provider/handlers/removeProvider.js +1 -2
- package/lib/mcp/tools/provider/handlers/updateProvider.d.ts +2 -3
- package/lib/mcp/tools/provider/handlers/updateProvider.js +1 -2
- package/lib/mcp/tools/provider/index.d.ts +2 -3
- package/lib/mcp/tools/provider/index.js +1 -2
- package/lib/mcp/tools/provider/providerManagement.d.ts +4 -4
- package/lib/mcp/tools/provider/providerManagement.js +3 -4
- package/lib/mcp/tools/provider/schemas.d.ts +193 -195
- package/lib/mcp/tools/provider/schemas.js +5 -6
- package/lib/mcp/tools/provider/utils/getProviderConfig.d.ts +1 -2
- package/lib/mcp/tools/provider/utils/getProviderConfig.js +1 -2
- package/lib/mcp/tools/quotation/handlers/countQuotations.d.ts +2 -3
- package/lib/mcp/tools/quotation/handlers/countQuotations.js +0 -1
- package/lib/mcp/tools/quotation/handlers/getQuotation.d.ts +3 -4
- package/lib/mcp/tools/quotation/handlers/getQuotation.js +1 -2
- package/lib/mcp/tools/quotation/handlers/index.d.ts +6 -7
- package/lib/mcp/tools/quotation/handlers/index.js +6 -7
- package/lib/mcp/tools/quotation/handlers/listQuotations.d.ts +3 -4
- package/lib/mcp/tools/quotation/handlers/listQuotations.js +1 -2
- package/lib/mcp/tools/quotation/handlers/makeQuotationProposal.d.ts +3 -4
- package/lib/mcp/tools/quotation/handlers/makeQuotationProposal.js +2 -3
- package/lib/mcp/tools/quotation/handlers/rejectQuotation.d.ts +3 -4
- package/lib/mcp/tools/quotation/handlers/rejectQuotation.js +2 -3
- package/lib/mcp/tools/quotation/handlers/verifyQuotation.d.ts +3 -4
- package/lib/mcp/tools/quotation/handlers/verifyQuotation.js +2 -3
- package/lib/mcp/tools/quotation/index.d.ts +2 -3
- package/lib/mcp/tools/quotation/index.js +1 -2
- package/lib/mcp/tools/quotation/quotationManagement.d.ts +4 -4
- package/lib/mcp/tools/quotation/quotationManagement.js +3 -4
- package/lib/mcp/tools/quotation/schemas.d.ts +78 -173
- package/lib/mcp/tools/quotation/schemas.js +5 -6
- package/lib/mcp/tools/system/handlers/activeWorkTypes.d.ts +1 -2
- package/lib/mcp/tools/system/handlers/activeWorkTypes.js +0 -1
- package/lib/mcp/tools/system/handlers/addWork.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/addWork.js +0 -1
- package/lib/mcp/tools/system/handlers/allocateWork.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/allocateWork.js +0 -1
- package/lib/mcp/tools/system/handlers/countEvents.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/countEvents.js +0 -1
- package/lib/mcp/tools/system/handlers/countWork.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/countWork.js +0 -1
- package/lib/mcp/tools/system/handlers/finishWork.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/finishWork.js +0 -1
- package/lib/mcp/tools/system/handlers/getEvent.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/getEvent.js +0 -1
- package/lib/mcp/tools/system/handlers/getEventsStatistics.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/getEventsStatistics.js +0 -1
- package/lib/mcp/tools/system/handlers/getShopInfo.d.ts +1 -2
- package/lib/mcp/tools/system/handlers/getShopInfo.js +0 -1
- package/lib/mcp/tools/system/handlers/getWork.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/getWork.js +0 -1
- package/lib/mcp/tools/system/handlers/getWorkStatistics.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/getWorkStatistics.js +0 -1
- package/lib/mcp/tools/system/handlers/index.d.ts +15 -16
- package/lib/mcp/tools/system/handlers/index.js +15 -16
- package/lib/mcp/tools/system/handlers/listEvents.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/listEvents.js +0 -1
- package/lib/mcp/tools/system/handlers/listWork.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/listWork.js +0 -1
- package/lib/mcp/tools/system/handlers/processNextWork.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/processNextWork.js +0 -1
- package/lib/mcp/tools/system/handlers/removeWork.d.ts +2 -3
- package/lib/mcp/tools/system/handlers/removeWork.js +0 -1
- package/lib/mcp/tools/system/index.d.ts +2 -3
- package/lib/mcp/tools/system/index.js +2 -3
- package/lib/mcp/tools/system/schemas.d.ts +96 -347
- package/lib/mcp/tools/system/schemas.js +1 -14
- package/lib/mcp/tools/system/systemManagement.d.ts +4 -4
- package/lib/mcp/tools/system/systemManagement.js +4 -5
- package/lib/mcp/tools/system/types.d.ts +1 -2
- package/lib/mcp/tools/system/types.js +1 -2
- package/lib/mcp/tools/users/handlers/addUserEmail.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/addUserEmail.js +1 -2
- package/lib/mcp/tools/users/handlers/countUsers.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/countUsers.js +0 -1
- package/lib/mcp/tools/users/handlers/createUser.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/createUser.js +2 -3
- package/lib/mcp/tools/users/handlers/enrollUser.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/enrollUser.js +1 -2
- package/lib/mcp/tools/users/handlers/getCurrentUser.d.ts +1 -2
- package/lib/mcp/tools/users/handlers/getCurrentUser.js +1 -2
- package/lib/mcp/tools/users/handlers/getUser.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/getUser.js +1 -2
- package/lib/mcp/tools/users/handlers/getUserAvatar.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/getUserAvatar.js +1 -2
- package/lib/mcp/tools/users/handlers/getUserBookmarks.d.ts +3 -4
- package/lib/mcp/tools/users/handlers/getUserBookmarks.js +1 -2
- package/lib/mcp/tools/users/handlers/getUserEnrollments.d.ts +3 -4
- package/lib/mcp/tools/users/handlers/getUserEnrollments.js +1 -2
- package/lib/mcp/tools/users/handlers/getUserOrders.d.ts +3 -4
- package/lib/mcp/tools/users/handlers/getUserOrders.js +1 -2
- package/lib/mcp/tools/users/handlers/getUserPaymentCredentials.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/getUserPaymentCredentials.js +0 -1
- package/lib/mcp/tools/users/handlers/getUserQuotations.d.ts +3 -4
- package/lib/mcp/tools/users/handlers/getUserQuotations.js +1 -2
- package/lib/mcp/tools/users/handlers/getUserReviews.d.ts +3 -4
- package/lib/mcp/tools/users/handlers/getUserReviews.js +1 -2
- package/lib/mcp/tools/users/handlers/getUserReviewsCount.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/getUserReviewsCount.js +0 -1
- package/lib/mcp/tools/users/handlers/index.d.ts +23 -24
- package/lib/mcp/tools/users/handlers/index.js +23 -24
- package/lib/mcp/tools/users/handlers/listUsers.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/listUsers.js +1 -2
- package/lib/mcp/tools/users/handlers/removeProductReviews.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/removeProductReviews.js +0 -1
- package/lib/mcp/tools/users/handlers/removeUser.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/removeUser.js +0 -1
- package/lib/mcp/tools/users/handlers/removeUserEmail.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/removeUserEmail.js +0 -1
- package/lib/mcp/tools/users/handlers/sendEnrollmentEmail.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/sendEnrollmentEmail.js +0 -1
- package/lib/mcp/tools/users/handlers/sendVerificationEmail.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/sendVerificationEmail.js +0 -1
- package/lib/mcp/tools/users/handlers/setUserTags.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/setUserTags.js +1 -2
- package/lib/mcp/tools/users/handlers/setUserUsername.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/setUserUsername.js +1 -2
- package/lib/mcp/tools/users/handlers/updateUser.d.ts +2 -3
- package/lib/mcp/tools/users/handlers/updateUser.js +1 -2
- package/lib/mcp/tools/users/index.d.ts +2 -3
- package/lib/mcp/tools/users/index.js +1 -2
- package/lib/mcp/tools/users/schemas.d.ts +125 -790
- package/lib/mcp/tools/users/schemas.js +1 -3
- package/lib/mcp/tools/users/usersManagement.d.ts +4 -4
- package/lib/mcp/tools/users/usersManagement.js +3 -4
- package/lib/mcp/utils/getNormalizedAssortmentDetails.d.ts +1 -2
- package/lib/mcp/utils/getNormalizedAssortmentDetails.js +1 -2
- package/lib/mcp/utils/getNormalizedFilterDetails.d.ts +1 -2
- package/lib/mcp/utils/getNormalizedFilterDetails.js +0 -1
- package/lib/mcp/utils/getNormalizedOrderDetails.d.ts +2 -3
- package/lib/mcp/utils/getNormalizedOrderDetails.js +1 -2
- package/lib/mcp/utils/getNormalizedProductDetails.d.ts +3 -3
- package/lib/mcp/utils/getNormalizedProductDetails.js +5 -8
- package/lib/mcp/utils/getNormalizedQuotationDetails.d.ts +2 -3
- package/lib/mcp/utils/getNormalizedQuotationDetails.js +1 -2
- package/lib/mcp/utils/getNormalizedUserDetails.d.ts +1 -2
- package/lib/mcp/utils/getNormalizedUserDetails.js +1 -2
- package/lib/mcp/utils/normalizeMediaUrl.d.ts +0 -1
- package/lib/mcp/utils/normalizeMediaUrl.js +0 -1
- package/lib/mcp/utils/normalizeProxyAssignments.d.ts +1 -2
- package/lib/mcp/utils/normalizeProxyAssignments.js +1 -2
- package/lib/mcp/utils/orderFilters.d.ts +1 -2
- package/lib/mcp/utils/orderFilters.js +0 -1
- package/lib/mcp/utils/sanitizeLocalizationEntityData.d.ts +1 -2
- package/lib/mcp/utils/sanitizeLocalizationEntityData.js +1 -2
- package/lib/mcp/utils/sharedSchemas.d.ts +21 -30
- package/lib/mcp/utils/sharedSchemas.js +0 -1
- package/lib/mcp/utils/validateIsoCode.d.ts +1 -2
- package/lib/mcp/utils/validateIsoCode.js +0 -1
- package/lib/mongo-store.d.ts +1 -35
- package/lib/mongo-store.js +2 -66
- package/lib/resolvers/index.d.ts +0 -1
- package/lib/resolvers/index.js +4 -5
- package/lib/resolvers/mutations/accounts/addEmail.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/addEmail.js +1 -2
- package/lib/resolvers/mutations/accounts/addWeb3Address.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/addWeb3Address.js +1 -2
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.js +1 -2
- package/lib/resolvers/mutations/accounts/changePassword.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/changePassword.js +1 -2
- package/lib/resolvers/mutations/accounts/createUser.d.ts +2 -3
- package/lib/resolvers/mutations/accounts/createUser.js +1 -2
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.js +0 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.js +0 -1
- package/lib/resolvers/mutations/accounts/enrollUser.d.ts +2 -3
- package/lib/resolvers/mutations/accounts/enrollUser.js +1 -2
- package/lib/resolvers/mutations/accounts/forgotPassword.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/forgotPassword.js +1 -2
- package/lib/resolvers/mutations/accounts/impersonate.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/impersonate.js +1 -2
- package/lib/resolvers/mutations/accounts/loginAsGuest.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/loginAsGuest.js +0 -1
- package/lib/resolvers/mutations/accounts/loginWithPassword.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/loginWithPassword.js +1 -2
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.js +1 -2
- package/lib/resolvers/mutations/accounts/logout.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/logout.js +0 -1
- package/lib/resolvers/mutations/accounts/removeEmail.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/removeEmail.js +1 -2
- package/lib/resolvers/mutations/accounts/removeWeb3Address.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/removeWeb3Address.js +1 -2
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.js +1 -2
- package/lib/resolvers/mutations/accounts/resetPassword.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/resetPassword.js +1 -2
- package/lib/resolvers/mutations/accounts/sendEnrollmentEmail.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/sendEnrollmentEmail.js +1 -2
- package/lib/resolvers/mutations/accounts/sendVerificationEmail.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/sendVerificationEmail.js +1 -2
- package/lib/resolvers/mutations/accounts/setPassword.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/setPassword.js +1 -2
- package/lib/resolvers/mutations/accounts/setUsername.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/setUsername.js +1 -2
- package/lib/resolvers/mutations/accounts/stopImpersonation.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/stopImpersonation.js +1 -2
- package/lib/resolvers/mutations/accounts/verifyEmail.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/verifyEmail.js +1 -2
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.d.ts +1 -2
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.js +4 -19
- package/lib/resolvers/mutations/assortments/addAssortmentFilter.d.ts +2 -3
- package/lib/resolvers/mutations/assortments/addAssortmentFilter.js +1 -2
- package/lib/resolvers/mutations/assortments/addAssortmentLink.d.ts +2 -3
- package/lib/resolvers/mutations/assortments/addAssortmentLink.js +1 -2
- package/lib/resolvers/mutations/assortments/addAssortmentProduct.d.ts +2 -3
- package/lib/resolvers/mutations/assortments/addAssortmentProduct.js +1 -2
- package/lib/resolvers/mutations/assortments/createAssortment.d.ts +2 -3
- package/lib/resolvers/mutations/assortments/createAssortment.js +0 -1
- package/lib/resolvers/mutations/assortments/prepareAssortmentMediaUpload.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/prepareAssortmentMediaUpload.js +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortment.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/removeAssortment.js +1 -2
- package/lib/resolvers/mutations/assortments/removeAssortmentFilter.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/removeAssortmentFilter.js +1 -2
- package/lib/resolvers/mutations/assortments/removeAssortmentLink.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/removeAssortmentLink.js +1 -2
- package/lib/resolvers/mutations/assortments/removeAssortmentMedia.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/removeAssortmentMedia.js +1 -2
- package/lib/resolvers/mutations/assortments/removeAssortmentProduct.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/removeAssortmentProduct.js +1 -2
- package/lib/resolvers/mutations/assortments/reorderAssortmentFilters.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/reorderAssortmentFilters.js +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentLinks.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/reorderAssortmentLinks.js +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentMedia.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/reorderAssortmentMedia.js +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentProducts.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/reorderAssortmentProducts.js +0 -1
- package/lib/resolvers/mutations/assortments/setBaseAssortment.d.ts +1 -2
- package/lib/resolvers/mutations/assortments/setBaseAssortment.js +1 -2
- package/lib/resolvers/mutations/assortments/updateAssortment.d.ts +2 -3
- package/lib/resolvers/mutations/assortments/updateAssortment.js +1 -2
- package/lib/resolvers/mutations/assortments/updateAssortmentMediaTexts.d.ts +2 -3
- package/lib/resolvers/mutations/assortments/updateAssortmentMediaTexts.js +1 -2
- package/lib/resolvers/mutations/assortments/updateAssortmentTexts.d.ts +2 -3
- package/lib/resolvers/mutations/assortments/updateAssortmentTexts.js +1 -2
- package/lib/resolvers/mutations/bookmarks/bookmark.d.ts +1 -2
- package/lib/resolvers/mutations/bookmarks/bookmark.js +1 -2
- package/lib/resolvers/mutations/bookmarks/createBookmark.d.ts +1 -2
- package/lib/resolvers/mutations/bookmarks/createBookmark.js +1 -2
- package/lib/resolvers/mutations/bookmarks/removeBookmark.d.ts +1 -2
- package/lib/resolvers/mutations/bookmarks/removeBookmark.js +1 -2
- package/lib/resolvers/mutations/countries/createCountry.d.ts +2 -3
- package/lib/resolvers/mutations/countries/createCountry.js +0 -1
- package/lib/resolvers/mutations/countries/removeCountry.d.ts +1 -2
- package/lib/resolvers/mutations/countries/removeCountry.js +1 -2
- package/lib/resolvers/mutations/countries/updateCountry.d.ts +2 -3
- package/lib/resolvers/mutations/countries/updateCountry.js +1 -2
- package/lib/resolvers/mutations/currencies/createCurrency.d.ts +2 -3
- package/lib/resolvers/mutations/currencies/createCurrency.js +0 -1
- package/lib/resolvers/mutations/currencies/removeCurrency.d.ts +1 -2
- package/lib/resolvers/mutations/currencies/removeCurrency.js +1 -2
- package/lib/resolvers/mutations/currencies/updateCurrency.d.ts +2 -3
- package/lib/resolvers/mutations/currencies/updateCurrency.js +1 -2
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.d.ts +2 -3
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.js +1 -2
- package/lib/resolvers/mutations/delivery/removeDeliveryProvider.d.ts +1 -2
- package/lib/resolvers/mutations/delivery/removeDeliveryProvider.js +1 -2
- package/lib/resolvers/mutations/delivery/updateDeliveryProvider.d.ts +2 -3
- package/lib/resolvers/mutations/delivery/updateDeliveryProvider.js +1 -2
- package/lib/resolvers/mutations/enrollments/activateEnrollment.d.ts +1 -2
- package/lib/resolvers/mutations/enrollments/activateEnrollment.js +1 -2
- package/lib/resolvers/mutations/enrollments/createEnrollment.d.ts +1 -2
- package/lib/resolvers/mutations/enrollments/createEnrollment.js +3 -4
- package/lib/resolvers/mutations/enrollments/terminateEnrollment.d.ts +1 -2
- package/lib/resolvers/mutations/enrollments/terminateEnrollment.js +1 -2
- package/lib/resolvers/mutations/enrollments/updateEnrollment.d.ts +3 -4
- package/lib/resolvers/mutations/enrollments/updateEnrollment.js +1 -3
- package/lib/resolvers/mutations/files/confirmMediaUpload.d.ts +1 -2
- package/lib/resolvers/mutations/files/confirmMediaUpload.js +1 -2
- package/lib/resolvers/mutations/filters/createFilter.d.ts +3 -4
- package/lib/resolvers/mutations/filters/createFilter.js +1 -2
- package/lib/resolvers/mutations/filters/createFilterOption.d.ts +2 -3
- package/lib/resolvers/mutations/filters/createFilterOption.js +1 -2
- package/lib/resolvers/mutations/filters/removeFilter.d.ts +1 -2
- package/lib/resolvers/mutations/filters/removeFilter.js +1 -2
- package/lib/resolvers/mutations/filters/removeFilterOption.d.ts +1 -2
- package/lib/resolvers/mutations/filters/removeFilterOption.js +1 -2
- package/lib/resolvers/mutations/filters/updateFilter.d.ts +2 -3
- package/lib/resolvers/mutations/filters/updateFilter.js +1 -2
- package/lib/resolvers/mutations/filters/updateFilterTexts.d.ts +1 -2
- package/lib/resolvers/mutations/filters/updateFilterTexts.js +1 -2
- package/lib/resolvers/mutations/index.d.ts +0 -1
- package/lib/resolvers/mutations/index.js +158 -159
- package/lib/resolvers/mutations/languages/createLanguage.d.ts +2 -3
- package/lib/resolvers/mutations/languages/createLanguage.js +0 -1
- package/lib/resolvers/mutations/languages/removeLanguage.d.ts +1 -2
- package/lib/resolvers/mutations/languages/removeLanguage.js +1 -2
- package/lib/resolvers/mutations/languages/updateLanguage.d.ts +2 -3
- package/lib/resolvers/mutations/languages/updateLanguage.js +1 -2
- package/lib/resolvers/mutations/orders/addCartDiscount.d.ts +1 -2
- package/lib/resolvers/mutations/orders/addCartDiscount.js +1 -3
- package/lib/resolvers/mutations/orders/addCartProduct.d.ts +1 -2
- package/lib/resolvers/mutations/orders/addCartProduct.js +1 -3
- package/lib/resolvers/mutations/orders/addCartQuotation.d.ts +1 -2
- package/lib/resolvers/mutations/orders/addCartQuotation.js +1 -2
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.d.ts +1 -2
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.js +1 -3
- package/lib/resolvers/mutations/orders/checkoutCart.d.ts +1 -2
- package/lib/resolvers/mutations/orders/checkoutCart.js +1 -3
- package/lib/resolvers/mutations/orders/confirmOrder.d.ts +1 -2
- package/lib/resolvers/mutations/orders/confirmOrder.js +1 -2
- package/lib/resolvers/mutations/orders/createCart.d.ts +1 -2
- package/lib/resolvers/mutations/orders/createCart.js +1 -2
- package/lib/resolvers/mutations/orders/deliverOrder.d.ts +1 -2
- package/lib/resolvers/mutations/orders/deliverOrder.js +1 -2
- package/lib/resolvers/mutations/orders/emptyCart.d.ts +1 -2
- package/lib/resolvers/mutations/orders/emptyCart.js +1 -2
- package/lib/resolvers/mutations/orders/payOrder.d.ts +1 -2
- package/lib/resolvers/mutations/orders/payOrder.js +1 -2
- package/lib/resolvers/mutations/orders/rejectOrder.d.ts +1 -2
- package/lib/resolvers/mutations/orders/rejectOrder.js +1 -2
- package/lib/resolvers/mutations/orders/removeCartDiscount.d.ts +1 -2
- package/lib/resolvers/mutations/orders/removeCartDiscount.js +1 -3
- package/lib/resolvers/mutations/orders/removeCartItem.d.ts +1 -2
- package/lib/resolvers/mutations/orders/removeCartItem.js +1 -2
- package/lib/resolvers/mutations/orders/removeOrder.d.ts +1 -2
- package/lib/resolvers/mutations/orders/removeOrder.js +1 -2
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.d.ts +1 -2
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.js +1 -2
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.d.ts +1 -2
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.js +1 -2
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.d.ts +1 -2
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.js +1 -2
- package/lib/resolvers/mutations/orders/updateCart.d.ts +2 -3
- package/lib/resolvers/mutations/orders/updateCart.js +1 -3
- package/lib/resolvers/mutations/orders/updateCartDeliveryPickUp.d.ts +1 -2
- package/lib/resolvers/mutations/orders/updateCartDeliveryPickUp.js +1 -2
- package/lib/resolvers/mutations/orders/updateCartDeliveryShipping.d.ts +1 -2
- package/lib/resolvers/mutations/orders/updateCartDeliveryShipping.js +1 -2
- package/lib/resolvers/mutations/orders/updateCartItem.d.ts +1 -2
- package/lib/resolvers/mutations/orders/updateCartItem.js +1 -2
- package/lib/resolvers/mutations/orders/updateCartPaymentGeneric.d.ts +1 -2
- package/lib/resolvers/mutations/orders/updateCartPaymentGeneric.js +1 -2
- package/lib/resolvers/mutations/orders/updateCartPaymentInvoice.d.ts +1 -2
- package/lib/resolvers/mutations/orders/updateCartPaymentInvoice.js +1 -2
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.d.ts +1 -2
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.js +1 -2
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.d.ts +1 -2
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.js +1 -2
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.d.ts +1 -2
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.js +1 -2
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.d.ts +1 -2
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.js +1 -2
- package/lib/resolvers/mutations/pageView.d.ts +0 -1
- package/lib/resolvers/mutations/pageView.js +0 -1
- package/lib/resolvers/mutations/payment/createPaymentProvider.d.ts +2 -3
- package/lib/resolvers/mutations/payment/createPaymentProvider.js +1 -2
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.d.ts +1 -2
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.js +1 -2
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.d.ts +1 -2
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.js +1 -2
- package/lib/resolvers/mutations/payment/removePaymentCredentials.d.ts +1 -2
- package/lib/resolvers/mutations/payment/removePaymentCredentials.js +1 -2
- package/lib/resolvers/mutations/payment/removePaymentProvider.d.ts +1 -2
- package/lib/resolvers/mutations/payment/removePaymentProvider.js +1 -2
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.d.ts +1 -2
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.js +1 -2
- package/lib/resolvers/mutations/payment/updatePaymentProvider.d.ts +2 -3
- package/lib/resolvers/mutations/payment/updatePaymentProvider.js +1 -2
- package/lib/resolvers/mutations/products/addProductAssignment.d.ts +2 -3
- package/lib/resolvers/mutations/products/addProductAssignment.js +5 -6
- package/lib/resolvers/mutations/products/addProductReviewVote.d.ts +1 -2
- package/lib/resolvers/mutations/products/addProductReviewVote.js +2 -2
- package/lib/resolvers/mutations/products/createProduct.d.ts +2 -3
- package/lib/resolvers/mutations/products/createProduct.js +0 -1
- package/lib/resolvers/mutations/products/createProductBundleItem.d.ts +2 -3
- package/lib/resolvers/mutations/products/createProductBundleItem.js +4 -5
- package/lib/resolvers/mutations/products/createProductReview.d.ts +2 -3
- package/lib/resolvers/mutations/products/createProductReview.js +1 -2
- package/lib/resolvers/mutations/products/createProductVariation.d.ts +1 -2
- package/lib/resolvers/mutations/products/createProductVariation.js +4 -5
- package/lib/resolvers/mutations/products/createProductVariationOption.d.ts +2 -3
- package/lib/resolvers/mutations/products/createProductVariationOption.js +1 -2
- package/lib/resolvers/mutations/products/prepareProductMediaUpload.d.ts +1 -2
- package/lib/resolvers/mutations/products/prepareProductMediaUpload.js +0 -1
- package/lib/resolvers/mutations/products/publishProduct.d.ts +1 -2
- package/lib/resolvers/mutations/products/publishProduct.js +1 -2
- package/lib/resolvers/mutations/products/removeBundleItem.d.ts +1 -2
- package/lib/resolvers/mutations/products/removeBundleItem.js +4 -5
- package/lib/resolvers/mutations/products/removeProduct.d.ts +1 -2
- package/lib/resolvers/mutations/products/removeProduct.js +1 -2
- package/lib/resolvers/mutations/products/removeProductAssignment.d.ts +2 -3
- package/lib/resolvers/mutations/products/removeProductAssignment.js +4 -5
- package/lib/resolvers/mutations/products/removeProductMedia.d.ts +1 -2
- package/lib/resolvers/mutations/products/removeProductMedia.js +1 -2
- package/lib/resolvers/mutations/products/removeProductReview.d.ts +1 -2
- package/lib/resolvers/mutations/products/removeProductReview.js +1 -2
- package/lib/resolvers/mutations/products/removeProductReviewVote.d.ts +1 -2
- package/lib/resolvers/mutations/products/removeProductReviewVote.js +2 -2
- package/lib/resolvers/mutations/products/removeProductVariation.d.ts +1 -2
- package/lib/resolvers/mutations/products/removeProductVariation.js +1 -2
- package/lib/resolvers/mutations/products/removeProductVariationOption.d.ts +1 -2
- package/lib/resolvers/mutations/products/removeProductVariationOption.js +1 -2
- package/lib/resolvers/mutations/products/reorderProductMedia.d.ts +1 -2
- package/lib/resolvers/mutations/products/reorderProductMedia.js +0 -1
- package/lib/resolvers/mutations/products/unpublishProduct.d.ts +1 -2
- package/lib/resolvers/mutations/products/unpublishProduct.js +1 -2
- package/lib/resolvers/mutations/products/updateProduct.d.ts +2 -3
- package/lib/resolvers/mutations/products/updateProduct.js +1 -2
- package/lib/resolvers/mutations/products/updateProductCommerce.d.ts +2 -3
- package/lib/resolvers/mutations/products/updateProductCommerce.js +4 -5
- package/lib/resolvers/mutations/products/updateProductMediaTexts.d.ts +2 -3
- package/lib/resolvers/mutations/products/updateProductMediaTexts.js +1 -2
- package/lib/resolvers/mutations/products/updateProductPlan.d.ts +2 -3
- package/lib/resolvers/mutations/products/updateProductPlan.js +4 -5
- package/lib/resolvers/mutations/products/updateProductReview.d.ts +2 -3
- package/lib/resolvers/mutations/products/updateProductReview.js +1 -2
- package/lib/resolvers/mutations/products/updateProductSupply.d.ts +2 -3
- package/lib/resolvers/mutations/products/updateProductSupply.js +4 -5
- package/lib/resolvers/mutations/products/updateProductTexts.d.ts +1 -2
- package/lib/resolvers/mutations/products/updateProductTexts.js +1 -2
- package/lib/resolvers/mutations/products/updateProductTokenization.d.ts +2 -3
- package/lib/resolvers/mutations/products/updateProductTokenization.js +4 -5
- package/lib/resolvers/mutations/products/updateProductVariationTexts.d.ts +2 -3
- package/lib/resolvers/mutations/products/updateProductVariationTexts.js +1 -2
- package/lib/resolvers/mutations/products/updateProductWarehousing.d.ts +2 -3
- package/lib/resolvers/mutations/products/updateProductWarehousing.js +4 -5
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.d.ts +1 -2
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.js +1 -2
- package/lib/resolvers/mutations/quotations/rejectQuotation.d.ts +1 -2
- package/lib/resolvers/mutations/quotations/rejectQuotation.js +1 -2
- package/lib/resolvers/mutations/quotations/requestQuotation.d.ts +1 -2
- package/lib/resolvers/mutations/quotations/requestQuotation.js +1 -2
- package/lib/resolvers/mutations/quotations/verifyQuotation.d.ts +1 -2
- package/lib/resolvers/mutations/quotations/verifyQuotation.js +1 -2
- package/lib/resolvers/mutations/users/addPushSubscription.d.ts +1 -2
- package/lib/resolvers/mutations/users/addPushSubscription.js +0 -1
- package/lib/resolvers/mutations/users/heartbeat.d.ts +1 -2
- package/lib/resolvers/mutations/users/heartbeat.js +1 -2
- package/lib/resolvers/mutations/users/prepareUserAvatarUpload.d.ts +1 -2
- package/lib/resolvers/mutations/users/prepareUserAvatarUpload.js +0 -1
- package/lib/resolvers/mutations/users/removePushSubscription.d.ts +1 -2
- package/lib/resolvers/mutations/users/removePushSubscription.js +0 -1
- package/lib/resolvers/mutations/users/removeUser.d.ts +1 -2
- package/lib/resolvers/mutations/users/removeUser.js +1 -2
- package/lib/resolvers/mutations/users/removeUserProductReviews.d.ts +1 -2
- package/lib/resolvers/mutations/users/removeUserProductReviews.js +1 -4
- package/lib/resolvers/mutations/users/setRoles.d.ts +1 -2
- package/lib/resolvers/mutations/users/setRoles.js +1 -2
- package/lib/resolvers/mutations/users/setUserTags.d.ts +1 -2
- package/lib/resolvers/mutations/users/setUserTags.js +1 -2
- package/lib/resolvers/mutations/users/updateUserProfile.d.ts +2 -3
- package/lib/resolvers/mutations/users/updateUserProfile.js +1 -2
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.d.ts +2 -3
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.js +1 -2
- package/lib/resolvers/mutations/warehousing/exportToken.d.ts +1 -2
- package/lib/resolvers/mutations/warehousing/exportToken.js +1 -2
- package/lib/resolvers/mutations/warehousing/invalidateToken.d.ts +1 -2
- package/lib/resolvers/mutations/warehousing/invalidateToken.js +1 -2
- package/lib/resolvers/mutations/warehousing/removeWarehousingProvider.d.ts +1 -2
- package/lib/resolvers/mutations/warehousing/removeWarehousingProvider.js +1 -2
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.d.ts +2 -3
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.js +1 -2
- package/lib/resolvers/mutations/worker/addWork.d.ts +2 -3
- package/lib/resolvers/mutations/worker/addWork.js +0 -1
- package/lib/resolvers/mutations/worker/allocateWork.d.ts +1 -2
- package/lib/resolvers/mutations/worker/allocateWork.js +0 -1
- package/lib/resolvers/mutations/worker/finishWork.d.ts +1 -2
- package/lib/resolvers/mutations/worker/finishWork.js +1 -2
- package/lib/resolvers/mutations/worker/processNextWork.d.ts +1 -2
- package/lib/resolvers/mutations/worker/processNextWork.js +0 -1
- package/lib/resolvers/mutations/worker/removeWork.d.ts +1 -2
- package/lib/resolvers/mutations/worker/removeWork.js +1 -2
- package/lib/resolvers/queries/assortments/assortment.d.ts +1 -2
- package/lib/resolvers/queries/assortments/assortment.js +1 -2
- package/lib/resolvers/queries/assortments/assortments.d.ts +3 -4
- package/lib/resolvers/queries/assortments/assortments.js +0 -1
- package/lib/resolvers/queries/assortments/assortmentsCount.d.ts +2 -3
- package/lib/resolvers/queries/assortments/assortmentsCount.js +0 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentMediaTexts.d.ts +1 -2
- package/lib/resolvers/queries/assortments/translatedAssortmentMediaTexts.js +0 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentTexts.d.ts +1 -2
- package/lib/resolvers/queries/assortments/translatedAssortmentTexts.js +0 -1
- package/lib/resolvers/queries/countries/countries.d.ts +3 -4
- package/lib/resolvers/queries/countries/countries.js +0 -1
- package/lib/resolvers/queries/countries/countriesCount.d.ts +2 -3
- package/lib/resolvers/queries/countries/countriesCount.js +0 -1
- package/lib/resolvers/queries/countries/country.d.ts +1 -2
- package/lib/resolvers/queries/countries/country.js +1 -2
- package/lib/resolvers/queries/currencies/currencies.d.ts +3 -4
- package/lib/resolvers/queries/currencies/currencies.js +0 -1
- package/lib/resolvers/queries/currencies/currenciesCount.d.ts +2 -3
- package/lib/resolvers/queries/currencies/currenciesCount.js +0 -1
- package/lib/resolvers/queries/currencies/currency.d.ts +1 -2
- package/lib/resolvers/queries/currencies/currency.js +1 -2
- package/lib/resolvers/queries/delivery/deliveryInterfaces.d.ts +1 -2
- package/lib/resolvers/queries/delivery/deliveryInterfaces.js +1 -1
- package/lib/resolvers/queries/delivery/deliveryProvider.d.ts +1 -2
- package/lib/resolvers/queries/delivery/deliveryProvider.js +1 -2
- package/lib/resolvers/queries/delivery/deliveryProviders.d.ts +1 -2
- package/lib/resolvers/queries/delivery/deliveryProviders.js +1 -1
- package/lib/resolvers/queries/delivery/deliveryProvidersCount.d.ts +1 -2
- package/lib/resolvers/queries/delivery/deliveryProvidersCount.js +1 -1
- package/lib/resolvers/queries/enrollments/enrollment.d.ts +1 -2
- package/lib/resolvers/queries/enrollments/enrollment.js +1 -2
- package/lib/resolvers/queries/enrollments/enrollments.d.ts +3 -4
- package/lib/resolvers/queries/enrollments/enrollments.js +0 -1
- package/lib/resolvers/queries/enrollments/enrollmentsCount.d.ts +2 -3
- package/lib/resolvers/queries/enrollments/enrollmentsCount.js +0 -1
- package/lib/resolvers/queries/events/event.d.ts +1 -2
- package/lib/resolvers/queries/events/event.js +0 -1
- package/lib/resolvers/queries/events/eventStatistics.d.ts +2 -3
- package/lib/resolvers/queries/events/eventStatistics.js +0 -1
- package/lib/resolvers/queries/events/events.d.ts +1 -2
- package/lib/resolvers/queries/events/events.js +0 -1
- package/lib/resolvers/queries/events/eventsCounts.d.ts +1 -2
- package/lib/resolvers/queries/events/eventsCounts.js +0 -1
- package/lib/resolvers/queries/filters/filter.d.ts +1 -2
- package/lib/resolvers/queries/filters/filter.js +1 -2
- package/lib/resolvers/queries/filters/filters.d.ts +3 -4
- package/lib/resolvers/queries/filters/filters.js +0 -1
- package/lib/resolvers/queries/filters/filtersCount.d.ts +2 -3
- package/lib/resolvers/queries/filters/filtersCount.js +0 -1
- package/lib/resolvers/queries/filters/searchAssortments.d.ts +2 -3
- package/lib/resolvers/queries/filters/searchAssortments.js +0 -1
- package/lib/resolvers/queries/filters/searchProducts.d.ts +2 -3
- package/lib/resolvers/queries/filters/searchProducts.js +0 -1
- package/lib/resolvers/queries/filters/translatedFilterTexts.d.ts +1 -2
- package/lib/resolvers/queries/filters/translatedFilterTexts.js +0 -1
- package/lib/resolvers/queries/index.d.ts +2 -3
- package/lib/resolvers/queries/index.js +74 -75
- package/lib/resolvers/queries/languages/language.d.ts +1 -2
- package/lib/resolvers/queries/languages/language.js +1 -2
- package/lib/resolvers/queries/languages/languages.d.ts +3 -4
- package/lib/resolvers/queries/languages/languages.js +0 -1
- package/lib/resolvers/queries/languages/languagesCount.d.ts +2 -3
- package/lib/resolvers/queries/languages/languagesCount.js +0 -1
- package/lib/resolvers/queries/orders/order.d.ts +1 -2
- package/lib/resolvers/queries/orders/order.js +1 -2
- package/lib/resolvers/queries/orders/orderStatistics.d.ts +2 -3
- package/lib/resolvers/queries/orders/orderStatistics.js +0 -1
- package/lib/resolvers/queries/orders/orders.d.ts +3 -4
- package/lib/resolvers/queries/orders/orders.js +0 -1
- package/lib/resolvers/queries/orders/ordersCount.d.ts +2 -3
- package/lib/resolvers/queries/orders/ordersCount.js +0 -1
- package/lib/resolvers/queries/payment/paymentInterfaces.d.ts +1 -2
- package/lib/resolvers/queries/payment/paymentInterfaces.js +1 -1
- package/lib/resolvers/queries/payment/paymentProvider.d.ts +1 -2
- package/lib/resolvers/queries/payment/paymentProvider.js +1 -2
- package/lib/resolvers/queries/payment/paymentProviders.d.ts +1 -2
- package/lib/resolvers/queries/payment/paymentProviders.js +1 -1
- package/lib/resolvers/queries/payment/paymentProvidersCount.d.ts +2 -3
- package/lib/resolvers/queries/payment/paymentProvidersCount.js +0 -1
- package/lib/resolvers/queries/products/product.d.ts +1 -2
- package/lib/resolvers/queries/products/product.js +1 -2
- package/lib/resolvers/queries/products/productCatalogPrices.d.ts +1 -2
- package/lib/resolvers/queries/products/productCatalogPrices.js +1 -2
- package/lib/resolvers/queries/products/productReview.d.ts +1 -2
- package/lib/resolvers/queries/products/productReview.js +1 -2
- package/lib/resolvers/queries/products/productReviews.d.ts +2 -3
- package/lib/resolvers/queries/products/productReviews.js +0 -1
- package/lib/resolvers/queries/products/productReviewsCount.d.ts +2 -3
- package/lib/resolvers/queries/products/productReviewsCount.js +0 -1
- package/lib/resolvers/queries/products/products.d.ts +3 -4
- package/lib/resolvers/queries/products/products.js +0 -1
- package/lib/resolvers/queries/products/productsCount.d.ts +2 -3
- package/lib/resolvers/queries/products/productsCount.js +0 -1
- package/lib/resolvers/queries/products/translatedProductMediaTexts.d.ts +1 -2
- package/lib/resolvers/queries/products/translatedProductMediaTexts.js +0 -1
- package/lib/resolvers/queries/products/translatedProductTexts.d.ts +1 -2
- package/lib/resolvers/queries/products/translatedProductTexts.js +0 -1
- package/lib/resolvers/queries/products/translatedProductVariationTexts.d.ts +1 -2
- package/lib/resolvers/queries/products/translatedProductVariationTexts.js +0 -1
- package/lib/resolvers/queries/quotations/quotation.d.ts +1 -2
- package/lib/resolvers/queries/quotations/quotation.js +1 -2
- package/lib/resolvers/queries/quotations/quotations.d.ts +3 -4
- package/lib/resolvers/queries/quotations/quotations.js +0 -1
- package/lib/resolvers/queries/quotations/quotationsCount.d.ts +2 -3
- package/lib/resolvers/queries/quotations/quotationsCount.js +0 -1
- package/lib/resolvers/queries/shopInfo.d.ts +1 -2
- package/lib/resolvers/queries/shopInfo.js +0 -2
- package/lib/resolvers/queries/users/impersonator.d.ts +1 -2
- package/lib/resolvers/queries/users/impersonator.js +0 -1
- package/lib/resolvers/queries/users/me.d.ts +1 -2
- package/lib/resolvers/queries/users/me.js +0 -1
- package/lib/resolvers/queries/users/user.d.ts +1 -2
- package/lib/resolvers/queries/users/user.js +0 -1
- package/lib/resolvers/queries/users/users.d.ts +3 -4
- package/lib/resolvers/queries/users/users.js +0 -1
- package/lib/resolvers/queries/users/usersCount.d.ts +2 -3
- package/lib/resolvers/queries/users/usersCount.js +0 -1
- package/lib/resolvers/queries/users/validateResetPasswordToken.d.ts +1 -2
- package/lib/resolvers/queries/users/validateResetPasswordToken.js +0 -1
- package/lib/resolvers/queries/users/validateVerifyEmailToken.d.ts +1 -2
- package/lib/resolvers/queries/users/validateVerifyEmailToken.js +0 -1
- package/lib/resolvers/queries/warehousing/token.d.ts +1 -2
- package/lib/resolvers/queries/warehousing/token.js +1 -2
- package/lib/resolvers/queries/warehousing/tokens.d.ts +1 -2
- package/lib/resolvers/queries/warehousing/tokens.js +0 -1
- package/lib/resolvers/queries/warehousing/tokensCount.d.ts +1 -2
- package/lib/resolvers/queries/warehousing/tokensCount.js +0 -1
- package/lib/resolvers/queries/warehousing/warehousingInterfaces.d.ts +1 -2
- package/lib/resolvers/queries/warehousing/warehousingInterfaces.js +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProvider.d.ts +1 -2
- package/lib/resolvers/queries/warehousing/warehousingProvider.js +1 -2
- package/lib/resolvers/queries/warehousing/warehousingProviders.d.ts +1 -2
- package/lib/resolvers/queries/warehousing/warehousingProviders.js +1 -1
- package/lib/resolvers/queries/warehousing/warehousingProvidersCount.d.ts +1 -2
- package/lib/resolvers/queries/warehousing/warehousingProvidersCount.js +1 -1
- package/lib/resolvers/queries/worker/activeWorkTypes.d.ts +1 -2
- package/lib/resolvers/queries/worker/activeWorkTypes.js +0 -1
- package/lib/resolvers/queries/worker/work.d.ts +1 -2
- package/lib/resolvers/queries/worker/work.js +1 -2
- package/lib/resolvers/queries/worker/workQueue.d.ts +2 -3
- package/lib/resolvers/queries/worker/workQueue.js +1 -1
- package/lib/resolvers/queries/worker/workQueueCount.d.ts +2 -3
- package/lib/resolvers/queries/worker/workQueueCount.js +0 -1
- package/lib/resolvers/queries/worker/workStatistics.d.ts +2 -3
- package/lib/resolvers/queries/worker/workStatistics.js +0 -1
- package/lib/resolvers/scalars/LowerCaseString.d.ts +0 -1
- package/lib/resolvers/scalars/LowerCaseString.js +0 -1
- package/lib/resolvers/scalars/index.d.ts +0 -1
- package/lib/resolvers/scalars/index.js +1 -2
- package/lib/resolvers/type/assortment/assortment-filter-types.d.ts +2 -3
- package/lib/resolvers/type/assortment/assortment-filter-types.js +0 -1
- package/lib/resolvers/type/assortment/assortment-link-types.d.ts +2 -3
- package/lib/resolvers/type/assortment/assortment-link-types.js +0 -1
- package/lib/resolvers/type/assortment/assortment-media-types.d.ts +3 -4
- package/lib/resolvers/type/assortment/assortment-media-types.js +0 -1
- package/lib/resolvers/type/assortment/assortment-path-link-types.d.ts +2 -3
- package/lib/resolvers/type/assortment/assortment-path-link-types.js +0 -1
- package/lib/resolvers/type/assortment/assortment-product-types.d.ts +3 -4
- package/lib/resolvers/type/assortment/assortment-product-types.js +0 -1
- package/lib/resolvers/type/assortment/assortment-types.d.ts +3 -4
- package/lib/resolvers/type/assortment/assortment-types.js +0 -1
- package/lib/resolvers/type/bookmark-types.d.ts +4 -5
- package/lib/resolvers/type/bookmark-types.js +0 -1
- package/lib/resolvers/type/country-types.d.ts +3 -4
- package/lib/resolvers/type/country-types.js +0 -1
- package/lib/resolvers/type/currency-types.d.ts +0 -1
- package/lib/resolvers/type/currency-types.js +0 -1
- package/lib/resolvers/type/delivery-provider-interface.d.ts +1 -2
- package/lib/resolvers/type/delivery-provider-interface.js +0 -1
- package/lib/resolvers/type/delivery-provider-pickup-types.d.ts +2 -3
- package/lib/resolvers/type/delivery-provider-pickup-types.js +1 -2
- package/lib/resolvers/type/delivery-provider-shipping-types.d.ts +3 -4
- package/lib/resolvers/type/delivery-provider-shipping-types.js +1 -2
- package/lib/resolvers/type/delivery-provider-types.d.ts +5 -7
- package/lib/resolvers/type/delivery-provider-types.js +7 -15
- package/lib/resolvers/type/dimensions-types.d.ts +0 -1
- package/lib/resolvers/type/dimensions-types.js +0 -1
- package/lib/resolvers/type/enrollment/enrollment-delivery-types.d.ts +2 -3
- package/lib/resolvers/type/enrollment/enrollment-delivery-types.js +0 -1
- package/lib/resolvers/type/enrollment/enrollment-payment-types.d.ts +2 -3
- package/lib/resolvers/type/enrollment/enrollment-payment-types.js +0 -1
- package/lib/resolvers/type/enrollment/enrollment-period-types.d.ts +2 -3
- package/lib/resolvers/type/enrollment/enrollment-period-types.js +0 -1
- package/lib/resolvers/type/enrollment/enrollment-plan-tyes.d.ts +2 -3
- package/lib/resolvers/type/enrollment/enrollment-plan-tyes.js +0 -1
- package/lib/resolvers/type/enrollment/enrollment-types.d.ts +2 -3
- package/lib/resolvers/type/enrollment/enrollment-types.js +0 -1
- package/lib/resolvers/type/event-types.d.ts +2 -3
- package/lib/resolvers/type/event-types.js +0 -1
- package/lib/resolvers/type/filter/filter-option-types.d.ts +2 -3
- package/lib/resolvers/type/filter/filter-option-types.js +0 -1
- package/lib/resolvers/type/filter/filter-types.d.ts +2 -3
- package/lib/resolvers/type/filter/filter-types.js +0 -1
- package/lib/resolvers/type/filter/loaded-filter-option-types.d.ts +1 -2
- package/lib/resolvers/type/filter/loaded-filter-option-types.js +0 -1
- package/lib/resolvers/type/filter/loaded-filter-types.d.ts +2 -3
- package/lib/resolvers/type/filter/loaded-filter-types.js +0 -6
- package/lib/resolvers/type/index.d.ts +211 -212
- package/lib/resolvers/type/index.js +71 -72
- package/lib/resolvers/type/language-types.d.ts +2 -3
- package/lib/resolvers/type/language-types.js +0 -1
- package/lib/resolvers/type/login-method-response-types.d.ts +0 -1
- package/lib/resolvers/type/login-method-response-types.js +0 -1
- package/lib/resolvers/type/media-types.d.ts +2 -3
- package/lib/resolvers/type/media-types.js +2 -3
- package/lib/resolvers/type/order/order-delivery-discount-types.d.ts +2 -3
- package/lib/resolvers/type/order/order-delivery-discount-types.js +0 -1
- package/lib/resolvers/type/order/order-delivery-pickup-types.d.ts +2 -3
- package/lib/resolvers/type/order/order-delivery-pickup-types.js +0 -2
- package/lib/resolvers/type/order/order-delivery-shipping-types.d.ts +2 -3
- package/lib/resolvers/type/order/order-delivery-shipping-types.js +0 -2
- package/lib/resolvers/type/order/order-delivery-types.d.ts +3 -4
- package/lib/resolvers/type/order/order-delivery-types.js +5 -10
- package/lib/resolvers/type/order/order-discount-types.d.ts +2 -3
- package/lib/resolvers/type/order/order-discount-types.js +0 -1
- package/lib/resolvers/type/order/order-discountable-types.d.ts +2 -3
- package/lib/resolvers/type/order/order-discountable-types.js +0 -1
- package/lib/resolvers/type/order/order-global-discount-types.d.ts +3 -4
- package/lib/resolvers/type/order/order-global-discount-types.js +0 -1
- package/lib/resolvers/type/order/order-item-discount-types.d.ts +2 -3
- package/lib/resolvers/type/order/order-item-discount-types.js +0 -1
- package/lib/resolvers/type/order/order-item-types.d.ts +8 -9
- package/lib/resolvers/type/order/order-item-types.js +0 -3
- package/lib/resolvers/type/order/order-payment-card-types.d.ts +2 -3
- package/lib/resolvers/type/order/order-payment-card-types.js +0 -2
- package/lib/resolvers/type/order/order-payment-discount-types.d.ts +3 -4
- package/lib/resolvers/type/order/order-payment-discount-types.js +0 -1
- package/lib/resolvers/type/order/order-payment-generic-types.d.ts +2 -3
- package/lib/resolvers/type/order/order-payment-generic-types.js +0 -2
- package/lib/resolvers/type/order/order-payment-invoice-types.d.ts +2 -3
- package/lib/resolvers/type/order/order-payment-invoice-types.js +0 -2
- package/lib/resolvers/type/order/order-payment-types.d.ts +3 -4
- package/lib/resolvers/type/order/order-payment-types.js +5 -10
- package/lib/resolvers/type/order/order-statistics-types.d.ts +1 -2
- package/lib/resolvers/type/order/order-statistics-types.js +0 -2
- package/lib/resolvers/type/order/order-types.d.ts +8 -9
- package/lib/resolvers/type/order/order-types.js +2 -3
- package/lib/resolvers/type/payment/payment-credentials-types.d.ts +3 -4
- package/lib/resolvers/type/payment/payment-credentials-types.js +0 -1
- package/lib/resolvers/type/payment/payment-provider-types.d.ts +2 -3
- package/lib/resolvers/type/payment/payment-provider-types.js +1 -2
- package/lib/resolvers/type/price-types.d.ts +0 -1
- package/lib/resolvers/type/price-types.js +0 -19
- package/lib/resolvers/type/product/product-assortment-path-types.d.ts +3 -4
- package/lib/resolvers/type/product/product-assortment-path-types.js +0 -1
- package/lib/resolvers/type/product/product-bundle-item-types.d.ts +2 -3
- package/lib/resolvers/type/product/product-bundle-item-types.js +0 -1
- package/lib/resolvers/type/product/product-bundle-types.d.ts +12 -13
- package/lib/resolvers/type/product/product-bundle-types.js +1 -2
- package/lib/resolvers/type/product/product-catalog-price-types.d.ts +4 -5
- package/lib/resolvers/type/product/product-catalog-price-types.js +0 -1
- package/lib/resolvers/type/product/product-configurable-or-bundle-product-types.d.ts +2 -3
- package/lib/resolvers/type/product/product-configurable-or-bundle-product-types.js +13 -5
- package/lib/resolvers/type/product/product-configurable-types.d.ts +2 -3
- package/lib/resolvers/type/product/product-configurable-types.js +1 -2
- package/lib/resolvers/type/product/product-discount.d.ts +1 -2
- package/lib/resolvers/type/product/product-discount.js +0 -1
- package/lib/resolvers/type/product/product-media-types.d.ts +3 -4
- package/lib/resolvers/type/product/product-media-types.js +0 -1
- package/lib/resolvers/type/product/product-plan-types.d.ts +2 -3
- package/lib/resolvers/type/product/product-plan-types.js +1 -2
- package/lib/resolvers/type/product/product-review-types.d.ts +4 -5
- package/lib/resolvers/type/product/product-review-types.js +1 -1
- package/lib/resolvers/type/product/product-simple-types.d.ts +5 -6
- package/lib/resolvers/type/product/product-simple-types.js +1 -2
- package/lib/resolvers/type/product/product-tokenized-types.d.ts +4 -5
- package/lib/resolvers/type/product/product-tokenized-types.js +3 -4
- package/lib/resolvers/type/product/product-types.d.ts +15 -17
- package/lib/resolvers/type/product/product-types.js +13 -5
- package/lib/resolvers/type/product/product-variation-assignment-types.d.ts +2 -3
- package/lib/resolvers/type/product/product-variation-assignment-types.js +0 -1
- package/lib/resolvers/type/product/product-variation-assignment-vector.d.ts +3 -4
- package/lib/resolvers/type/product/product-variation-assignment-vector.js +0 -1
- package/lib/resolvers/type/product/product-variation-option-types.d.ts +2 -3
- package/lib/resolvers/type/product/product-variation-option-types.js +0 -1
- package/lib/resolvers/type/product/product-variation-types.d.ts +2 -3
- package/lib/resolvers/type/product/product-variation-types.js +0 -1
- package/lib/resolvers/type/product-search-result-types.d.ts +2 -3
- package/lib/resolvers/type/product-search-result-types.js +0 -1
- package/lib/resolvers/type/quotation-types.d.ts +2 -3
- package/lib/resolvers/type/quotation-types.js +0 -1
- package/lib/resolvers/type/shop-types.d.ts +3 -4
- package/lib/resolvers/type/shop-types.js +2 -3
- package/lib/resolvers/type/token-types.d.ts +3 -4
- package/lib/resolvers/type/token-types.js +3 -6
- package/lib/resolvers/type/user-types.d.ts +14 -15
- package/lib/resolvers/type/user-types.js +2 -3
- package/lib/resolvers/type/warehousing-provider-types.d.ts +3 -4
- package/lib/resolvers/type/warehousing-provider-types.js +1 -2
- package/lib/resolvers/type/web3-address.d.ts +0 -1
- package/lib/resolvers/type/web3-address.js +0 -1
- package/lib/resolvers/type/webauthn-credentials-types.d.ts +1 -2
- package/lib/resolvers/type/webauthn-credentials-types.js +0 -1
- package/lib/resolvers/type/work-types.d.ts +2 -3
- package/lib/resolvers/type/work-types.js +0 -1
- package/lib/roles/admin.d.ts +0 -1
- package/lib/roles/admin.js +0 -1
- package/lib/roles/all.d.ts +0 -1
- package/lib/roles/all.js +0 -8
- package/lib/roles/index.d.ts +0 -1
- package/lib/roles/index.js +3 -4
- package/lib/roles/loggedIn.d.ts +0 -1
- package/lib/roles/loggedIn.js +0 -20
- package/lib/schema/directives.d.ts +0 -1
- package/lib/schema/directives.js +1 -2
- package/lib/schema/index.d.ts +0 -1
- package/lib/schema/index.js +6 -7
- package/lib/schema/inputTypes.d.ts +0 -1
- package/lib/schema/inputTypes.js +2 -3
- package/lib/schema/mutation.d.ts +0 -1
- package/lib/schema/mutation.js +1 -2
- package/lib/schema/query.d.ts +0 -1
- package/lib/schema/query.js +1 -2
- package/lib/schema/scalars.d.ts +0 -1
- package/lib/schema/scalars.js +1 -2
- package/lib/schema/types/address.d.ts +0 -1
- package/lib/schema/types/address.js +1 -2
- package/lib/schema/types/assortment.d.ts +0 -1
- package/lib/schema/types/assortment.js +1 -2
- package/lib/schema/types/bookmark.d.ts +0 -1
- package/lib/schema/types/bookmark.js +1 -2
- package/lib/schema/types/color.d.ts +0 -1
- package/lib/schema/types/color.js +1 -2
- package/lib/schema/types/contact.d.ts +0 -1
- package/lib/schema/types/contact.js +1 -2
- package/lib/schema/types/country.d.ts +0 -1
- package/lib/schema/types/country.js +1 -2
- package/lib/schema/types/currency.d.ts +0 -1
- package/lib/schema/types/currency.js +1 -2
- package/lib/schema/types/delivery.d.ts +0 -1
- package/lib/schema/types/delivery.js +1 -2
- package/lib/schema/types/dimensions.d.ts +0 -1
- package/lib/schema/types/dimensions.js +1 -2
- package/lib/schema/types/discount.d.ts +0 -1
- package/lib/schema/types/discount.js +1 -2
- package/lib/schema/types/dispatch.d.ts +0 -1
- package/lib/schema/types/dispatch.js +1 -2
- package/lib/schema/types/enrollment.d.ts +0 -1
- package/lib/schema/types/enrollment.js +1 -2
- package/lib/schema/types/events.d.ts +0 -1
- package/lib/schema/types/events.js +1 -2
- package/lib/schema/types/files.d.ts +0 -1
- package/lib/schema/types/files.js +1 -2
- package/lib/schema/types/filter.d.ts +0 -1
- package/lib/schema/types/filter.js +1 -2
- package/lib/schema/types/geo-position.d.ts +0 -1
- package/lib/schema/types/geo-position.js +1 -2
- package/lib/schema/types/index.d.ts +0 -1
- package/lib/schema/types/index.js +30 -31
- package/lib/schema/types/language.d.ts +0 -1
- package/lib/schema/types/language.js +1 -2
- package/lib/schema/types/media.d.ts +0 -1
- package/lib/schema/types/media.js +1 -2
- package/lib/schema/types/order/delivery.d.ts +0 -1
- package/lib/schema/types/order/delivery.js +1 -2
- package/lib/schema/types/order/discount.d.ts +0 -1
- package/lib/schema/types/order/discount.js +1 -2
- package/lib/schema/types/order/index.d.ts +0 -1
- package/lib/schema/types/order/index.js +6 -7
- package/lib/schema/types/order/item.d.ts +0 -1
- package/lib/schema/types/order/item.js +1 -2
- package/lib/schema/types/order/order.d.ts +0 -1
- package/lib/schema/types/order/order.js +1 -2
- package/lib/schema/types/order/payment.d.ts +0 -1
- package/lib/schema/types/order/payment.js +1 -2
- package/lib/schema/types/order/pick-up-location.d.ts +0 -1
- package/lib/schema/types/order/pick-up-location.js +1 -2
- package/lib/schema/types/payment.d.ts +0 -1
- package/lib/schema/types/payment.js +1 -2
- package/lib/schema/types/price.d.ts +0 -1
- package/lib/schema/types/price.js +1 -2
- package/lib/schema/types/product/bundle-product.d.ts +0 -1
- package/lib/schema/types/product/bundle-product.js +1 -2
- package/lib/schema/types/product/configurable-product.d.ts +0 -1
- package/lib/schema/types/product/configurable-product.js +1 -2
- package/lib/schema/types/product/index.d.ts +0 -1
- package/lib/schema/types/product/index.js +6 -7
- package/lib/schema/types/product/plan-product.d.ts +0 -1
- package/lib/schema/types/product/plan-product.js +1 -2
- package/lib/schema/types/product/product.d.ts +0 -1
- package/lib/schema/types/product/product.js +9 -2
- package/lib/schema/types/product/simple-product.d.ts +0 -1
- package/lib/schema/types/product/simple-product.js +1 -2
- package/lib/schema/types/product/tokenized-product.d.ts +0 -1
- package/lib/schema/types/product/tokenized-product.js +1 -2
- package/lib/schema/types/quotation.d.ts +0 -1
- package/lib/schema/types/quotation.js +1 -2
- package/lib/schema/types/search.d.ts +0 -1
- package/lib/schema/types/search.js +1 -2
- package/lib/schema/types/shop.d.ts +0 -1
- package/lib/schema/types/shop.js +1 -2
- package/lib/schema/types/stock.d.ts +0 -1
- package/lib/schema/types/stock.js +1 -2
- package/lib/schema/types/types.d.ts +0 -1
- package/lib/schema/types/types.js +1 -2
- package/lib/schema/types/user.d.ts +0 -1
- package/lib/schema/types/user.js +1 -2
- package/lib/schema/types/warehousing.d.ts +0 -1
- package/lib/schema/types/warehousing.js +1 -2
- package/lib/schema/types/worker.d.ts +0 -1
- package/lib/schema/types/worker.js +1 -2
- package/package.json +18 -17
- package/lib/acl.d.ts.map +0 -1
- package/lib/acl.js.map +0 -1
- package/lib/api-index.d.ts.map +0 -1
- package/lib/api-index.js.map +0 -1
- package/lib/chat/defaultSystemPrompt.d.ts.map +0 -1
- package/lib/chat/defaultSystemPrompt.js.map +0 -1
- package/lib/chat/generateImageHandler.d.ts.map +0 -1
- package/lib/chat/generateImageHandler.js.map +0 -1
- package/lib/chat/normalizeToolsIndex.d.ts.map +0 -1
- package/lib/chat/normalizeToolsIndex.js.map +0 -1
- package/lib/chat/utils.d.ts.map +0 -1
- package/lib/chat/utils.js.map +0 -1
- package/lib/context.d.ts.map +0 -1
- package/lib/context.js.map +0 -1
- package/lib/createGraphQLServer.d.ts.map +0 -1
- package/lib/createGraphQLServer.js.map +0 -1
- package/lib/errors.d.ts.map +0 -1
- package/lib/errors.js.map +0 -1
- package/lib/events.d.ts.map +0 -1
- package/lib/events.js.map +0 -1
- package/lib/express/chatHandler.d.ts.map +0 -1
- package/lib/express/chatHandler.js.map +0 -1
- package/lib/express/createApolloMiddleware.d.ts +0 -4
- package/lib/express/createApolloMiddleware.d.ts.map +0 -1
- package/lib/express/createApolloMiddleware.js +0 -36
- package/lib/express/createApolloMiddleware.js.map +0 -1
- package/lib/express/createBulkImportMiddleware.d.ts.map +0 -1
- package/lib/express/createBulkImportMiddleware.js.map +0 -1
- package/lib/express/createERCMetadataMiddleware.d.ts.map +0 -1
- package/lib/express/createERCMetadataMiddleware.js.map +0 -1
- package/lib/express/createMCPMiddleware.d.ts.map +0 -1
- package/lib/express/createMCPMiddleware.js.map +0 -1
- package/lib/express/createSingleSignOnMiddleware.d.ts +0 -5
- package/lib/express/createSingleSignOnMiddleware.d.ts.map +0 -1
- package/lib/express/createSingleSignOnMiddleware.js +0 -71
- package/lib/express/createSingleSignOnMiddleware.js.map +0 -1
- package/lib/express/createTempUploadMiddleware.d.ts.map +0 -1
- package/lib/express/createTempUploadMiddleware.js.map +0 -1
- package/lib/express/index.d.ts.map +0 -1
- package/lib/express/index.js.map +0 -1
- package/lib/fastify/bulkImportHandler.d.ts.map +0 -1
- package/lib/fastify/bulkImportHandler.js.map +0 -1
- package/lib/fastify/chatHandler.d.ts.map +0 -1
- package/lib/fastify/chatHandler.js.map +0 -1
- package/lib/fastify/ercMetadataHandler.d.ts.map +0 -1
- package/lib/fastify/ercMetadataHandler.js.map +0 -1
- package/lib/fastify/index.d.ts.map +0 -1
- package/lib/fastify/index.js.map +0 -1
- package/lib/fastify/mcpHandler.d.ts.map +0 -1
- package/lib/fastify/mcpHandler.js.map +0 -1
- package/lib/fastify/tempUploadHandler.d.ts.map +0 -1
- package/lib/fastify/tempUploadHandler.js.map +0 -1
- package/lib/hashPassword.d.ts +0 -2
- package/lib/hashPassword.d.ts.map +0 -1
- package/lib/hashPassword.js +0 -5
- package/lib/hashPassword.js.map +0 -1
- package/lib/loaders/assortmentLinkLoader.d.ts.map +0 -1
- package/lib/loaders/assortmentLinkLoader.js.map +0 -1
- package/lib/loaders/assortmentLinksLoader.d.ts.map +0 -1
- package/lib/loaders/assortmentLinksLoader.js.map +0 -1
- package/lib/loaders/assortmentLoader.d.ts.map +0 -1
- package/lib/loaders/assortmentLoader.js.map +0 -1
- package/lib/loaders/assortmentMediaTextLoader.d.ts.map +0 -1
- package/lib/loaders/assortmentMediaTextLoader.js.map +0 -1
- package/lib/loaders/assortmentMediasLoader.d.ts.map +0 -1
- package/lib/loaders/assortmentMediasLoader.js.map +0 -1
- package/lib/loaders/assortmentProductLoader.d.ts.map +0 -1
- package/lib/loaders/assortmentProductLoader.js.map +0 -1
- package/lib/loaders/assortmentProductsLoader.d.ts.map +0 -1
- package/lib/loaders/assortmentProductsLoader.js.map +0 -1
- package/lib/loaders/assortmentTextLoader.d.ts.map +0 -1
- package/lib/loaders/assortmentTextLoader.js.map +0 -1
- package/lib/loaders/buildLocaleMap.d.ts.map +0 -1
- package/lib/loaders/buildLocaleMap.js.map +0 -1
- package/lib/loaders/buildTextMap.d.ts.map +0 -1
- package/lib/loaders/buildTextMap.js.map +0 -1
- package/lib/loaders/countryLoader.d.ts.map +0 -1
- package/lib/loaders/countryLoader.js.map +0 -1
- package/lib/loaders/currencyLoader.d.ts.map +0 -1
- package/lib/loaders/currencyLoader.js.map +0 -1
- package/lib/loaders/deliveryProviderLoader.d.ts.map +0 -1
- package/lib/loaders/deliveryProviderLoader.js.map +0 -1
- package/lib/loaders/fileLoader.d.ts.map +0 -1
- package/lib/loaders/fileLoader.js.map +0 -1
- package/lib/loaders/filterLoader.d.ts.map +0 -1
- package/lib/loaders/filterLoader.js.map +0 -1
- package/lib/loaders/filterTextLoader.d.ts.map +0 -1
- package/lib/loaders/filterTextLoader.js.map +0 -1
- package/lib/loaders/index.d.ts.map +0 -1
- package/lib/loaders/index.js.map +0 -1
- package/lib/loaders/languageLoader.d.ts.map +0 -1
- package/lib/loaders/languageLoader.js.map +0 -1
- package/lib/loaders/orderLoader.d.ts.map +0 -1
- package/lib/loaders/orderLoader.js.map +0 -1
- package/lib/loaders/paymentProviderLoader.d.ts.map +0 -1
- package/lib/loaders/paymentProviderLoader.js.map +0 -1
- package/lib/loaders/productBySKULoader.d.ts.map +0 -1
- package/lib/loaders/productBySKULoader.js.map +0 -1
- package/lib/loaders/productLoader.d.ts.map +0 -1
- package/lib/loaders/productLoader.js.map +0 -1
- package/lib/loaders/productLoaderBySKU.d.ts +0 -10
- package/lib/loaders/productLoaderBySKU.d.ts.map +0 -1
- package/lib/loaders/productLoaderBySKU.js +0 -16
- package/lib/loaders/productLoaderBySKU.js.map +0 -1
- package/lib/loaders/productMediaTextLoader.d.ts.map +0 -1
- package/lib/loaders/productMediaTextLoader.js.map +0 -1
- package/lib/loaders/productMediasLoader.d.ts.map +0 -1
- package/lib/loaders/productMediasLoader.js.map +0 -1
- package/lib/loaders/productProxiesLoader.d.ts.map +0 -1
- package/lib/loaders/productProxiesLoader.js.map +0 -1
- package/lib/loaders/productTextLoader.d.ts.map +0 -1
- package/lib/loaders/productTextLoader.js.map +0 -1
- package/lib/loaders/productVariationByKeyLoader.d.ts.map +0 -1
- package/lib/loaders/productVariationByKeyLoader.js.map +0 -1
- package/lib/loaders/productVariationLoader.d.ts.map +0 -1
- package/lib/loaders/productVariationLoader.js.map +0 -1
- package/lib/loaders/productVariationTextLoader.d.ts.map +0 -1
- package/lib/loaders/productVariationTextLoader.js.map +0 -1
- package/lib/loaders/quotationLoader.d.ts.map +0 -1
- package/lib/loaders/quotationLoader.js.map +0 -1
- package/lib/loaders/userLoader.d.ts.map +0 -1
- package/lib/loaders/userLoader.js.map +0 -1
- package/lib/loaders/utils.d.ts.map +0 -1
- package/lib/loaders/utils.js.map +0 -1
- package/lib/loaders/warehousingProviderLoader.d.ts.map +0 -1
- package/lib/loaders/warehousingProviderLoader.js.map +0 -1
- package/lib/locale-context.d.ts.map +0 -1
- package/lib/locale-context.js.map +0 -1
- package/lib/mcp/index.d.ts.map +0 -1
- package/lib/mcp/index.js.map +0 -1
- package/lib/mcp/resources/localization.d.ts.map +0 -1
- package/lib/mcp/resources/localization.js.map +0 -1
- package/lib/mcp/tools/assortment/assortmentManagement.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/assortmentManagement.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentFilter.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentFilter.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentLink.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentLink.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentMedia.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentMedia.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentProduct.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/addAssortmentProduct.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/countAssortments.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/countAssortments.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/createAssortment.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/createAssortment.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortment.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortment.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentChildren.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentChildren.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentFilters.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentFilters.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentLinks.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentLinks.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentMedia.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentMedia.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentMediaTexts.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentMediaTexts.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentProducts.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentProducts.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentTexts.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/getAssortmentTexts.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/index.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/index.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/listAssortments.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/listAssortments.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortment.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortment.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentFilter.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentFilter.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentLink.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentLink.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentMedia.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentMedia.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentProduct.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/removeAssortmentProduct.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentFilters.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentFilters.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentLinks.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentLinks.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentMedia.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentMedia.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentProducts.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/reorderAssortmentProducts.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/searchAssortmentProducts.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/searchAssortmentProducts.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/setAssortmentBase.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/setAssortmentBase.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortment.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortment.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortmentMediaTexts.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortmentMediaTexts.js.map +0 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortmentStatus.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/handlers/updateAssortmentStatus.js.map +0 -1
- package/lib/mcp/tools/assortment/index.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/index.js.map +0 -1
- package/lib/mcp/tools/assortment/schemas.d.ts.map +0 -1
- package/lib/mcp/tools/assortment/schemas.js.map +0 -1
- package/lib/mcp/tools/filter/filterManagement.d.ts.map +0 -1
- package/lib/mcp/tools/filter/filterManagement.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/countFilters.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/countFilters.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/createFilter.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/createFilter.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/createFilterOption.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/createFilterOption.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/getFilter.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/getFilter.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/getFilterTexts.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/getFilterTexts.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/index.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/index.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/listFilters.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/listFilters.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/removeFilter.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/removeFilter.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/removeFilterOption.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/removeFilterOption.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/updateFilter.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/updateFilter.js.map +0 -1
- package/lib/mcp/tools/filter/handlers/updateFilterTexts.d.ts.map +0 -1
- package/lib/mcp/tools/filter/handlers/updateFilterTexts.js.map +0 -1
- package/lib/mcp/tools/filter/index.d.ts.map +0 -1
- package/lib/mcp/tools/filter/index.js.map +0 -1
- package/lib/mcp/tools/filter/schemas.d.ts.map +0 -1
- package/lib/mcp/tools/filter/schemas.js.map +0 -1
- package/lib/mcp/tools/localization/getLocalizationsConfig.d.ts.map +0 -1
- package/lib/mcp/tools/localization/getLocalizationsConfig.js.map +0 -1
- package/lib/mcp/tools/localization/handlers/countLocalizations.d.ts.map +0 -1
- package/lib/mcp/tools/localization/handlers/countLocalizations.js.map +0 -1
- package/lib/mcp/tools/localization/handlers/createLocalization.d.ts.map +0 -1
- package/lib/mcp/tools/localization/handlers/createLocalization.js.map +0 -1
- package/lib/mcp/tools/localization/handlers/getLocalization.d.ts.map +0 -1
- package/lib/mcp/tools/localization/handlers/getLocalization.js.map +0 -1
- package/lib/mcp/tools/localization/handlers/index.d.ts.map +0 -1
- package/lib/mcp/tools/localization/handlers/index.js.map +0 -1
- package/lib/mcp/tools/localization/handlers/listLocalizations.d.ts.map +0 -1
- package/lib/mcp/tools/localization/handlers/listLocalizations.js.map +0 -1
- package/lib/mcp/tools/localization/handlers/removeLocalization.d.ts.map +0 -1
- package/lib/mcp/tools/localization/handlers/removeLocalization.js.map +0 -1
- package/lib/mcp/tools/localization/handlers/updateLocalization.d.ts.map +0 -1
- package/lib/mcp/tools/localization/handlers/updateLocalization.js.map +0 -1
- package/lib/mcp/tools/localization/index.d.ts.map +0 -1
- package/lib/mcp/tools/localization/index.js.map +0 -1
- package/lib/mcp/tools/localization/localizationManagement.d.ts.map +0 -1
- package/lib/mcp/tools/localization/localizationManagement.js.map +0 -1
- package/lib/mcp/tools/localization/schemas.d.ts.map +0 -1
- package/lib/mcp/tools/localization/schemas.js.map +0 -1
- package/lib/mcp/tools/localization/types.d.ts.map +0 -1
- package/lib/mcp/tools/localization/types.js.map +0 -1
- package/lib/mcp/tools/order/handlers/confirmOrder.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/confirmOrder.js.map +0 -1
- package/lib/mcp/tools/order/handlers/deliverOrder.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/deliverOrder.js.map +0 -1
- package/lib/mcp/tools/order/handlers/getMonthlyBreakdown.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/getMonthlyBreakdown.js.map +0 -1
- package/lib/mcp/tools/order/handlers/getOrder.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/getOrder.js.map +0 -1
- package/lib/mcp/tools/order/handlers/getSalesSummary.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/getSalesSummary.js.map +0 -1
- package/lib/mcp/tools/order/handlers/getTopCustomers.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/getTopCustomers.js.map +0 -1
- package/lib/mcp/tools/order/handlers/getTopProducts.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/getTopProducts.js.map +0 -1
- package/lib/mcp/tools/order/handlers/getUserCart.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/getUserCart.js.map +0 -1
- package/lib/mcp/tools/order/handlers/index.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/index.js.map +0 -1
- package/lib/mcp/tools/order/handlers/listOrders.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/listOrders.js.map +0 -1
- package/lib/mcp/tools/order/handlers/payOrder.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/payOrder.js.map +0 -1
- package/lib/mcp/tools/order/handlers/rejectOrder.d.ts.map +0 -1
- package/lib/mcp/tools/order/handlers/rejectOrder.js.map +0 -1
- package/lib/mcp/tools/order/index.d.ts.map +0 -1
- package/lib/mcp/tools/order/index.js.map +0 -1
- package/lib/mcp/tools/order/orderManagement.d.ts.map +0 -1
- package/lib/mcp/tools/order/orderManagement.js.map +0 -1
- package/lib/mcp/tools/order/schemas.d.ts.map +0 -1
- package/lib/mcp/tools/order/schemas.js.map +0 -1
- package/lib/mcp/tools/product/handlers/addBundleItem.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/addBundleItem.js.map +0 -1
- package/lib/mcp/tools/product/handlers/addProductAssignment.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/addProductAssignment.js.map +0 -1
- package/lib/mcp/tools/product/handlers/addProductMedia.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/addProductMedia.js.map +0 -1
- package/lib/mcp/tools/product/handlers/addProductVariationOption.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/addProductVariationOption.js.map +0 -1
- package/lib/mcp/tools/product/handlers/countProducts.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/countProducts.js.map +0 -1
- package/lib/mcp/tools/product/handlers/countReviews.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/countReviews.js.map +0 -1
- package/lib/mcp/tools/product/handlers/createProduct.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/createProduct.js.map +0 -1
- package/lib/mcp/tools/product/handlers/createProductVariation.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/createProductVariation.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getBundleItems.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getBundleItems.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getCatalogPrice.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getCatalogPrice.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getMediaTexts.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getMediaTexts.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getProduct.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getProduct.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getProductAssignments.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getProductAssignments.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getProductMedia.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getProductMedia.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getProductTexts.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getProductTexts.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getReviews.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getReviews.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getSiblings.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getSiblings.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getVariationProducts.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getVariationProducts.js.map +0 -1
- package/lib/mcp/tools/product/handlers/getVariationTexts.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/getVariationTexts.js.map +0 -1
- package/lib/mcp/tools/product/handlers/index.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/index.js.map +0 -1
- package/lib/mcp/tools/product/handlers/listProducts.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/listProducts.js.map +0 -1
- package/lib/mcp/tools/product/handlers/removeBundleItem.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/removeBundleItem.js.map +0 -1
- package/lib/mcp/tools/product/handlers/removeProduct.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/removeProduct.js.map +0 -1
- package/lib/mcp/tools/product/handlers/removeProductAssignment.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/removeProductAssignment.js.map +0 -1
- package/lib/mcp/tools/product/handlers/removeProductMedia.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/removeProductMedia.js.map +0 -1
- package/lib/mcp/tools/product/handlers/removeProductVariation.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/removeProductVariation.js.map +0 -1
- package/lib/mcp/tools/product/handlers/removeProductVariationOption.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/removeProductVariationOption.js.map +0 -1
- package/lib/mcp/tools/product/handlers/reorderProductMedia.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/reorderProductMedia.js.map +0 -1
- package/lib/mcp/tools/product/handlers/simulatePrice.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/simulatePrice.js.map +0 -1
- package/lib/mcp/tools/product/handlers/simulatePriceRange.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/simulatePriceRange.js.map +0 -1
- package/lib/mcp/tools/product/handlers/updateProduct.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/updateProduct.js.map +0 -1
- package/lib/mcp/tools/product/handlers/updateProductMediaTexts.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/updateProductMediaTexts.js.map +0 -1
- package/lib/mcp/tools/product/handlers/updateProductStatus.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/updateProductStatus.js.map +0 -1
- package/lib/mcp/tools/product/handlers/updateProductTexts.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/updateProductTexts.js.map +0 -1
- package/lib/mcp/tools/product/handlers/updateProductVariationTexts.d.ts.map +0 -1
- package/lib/mcp/tools/product/handlers/updateProductVariationTexts.js.map +0 -1
- package/lib/mcp/tools/product/index.d.ts.map +0 -1
- package/lib/mcp/tools/product/index.js.map +0 -1
- package/lib/mcp/tools/product/productManagement.d.ts.map +0 -1
- package/lib/mcp/tools/product/productManagement.js.map +0 -1
- package/lib/mcp/tools/product/schemas.d.ts.map +0 -1
- package/lib/mcp/tools/product/schemas.js.map +0 -1
- package/lib/mcp/tools/provider/handlers/createProvider.d.ts.map +0 -1
- package/lib/mcp/tools/provider/handlers/createProvider.js.map +0 -1
- package/lib/mcp/tools/provider/handlers/getProvider.d.ts.map +0 -1
- package/lib/mcp/tools/provider/handlers/getProvider.js.map +0 -1
- package/lib/mcp/tools/provider/handlers/getProviderInterfaces.d.ts.map +0 -1
- package/lib/mcp/tools/provider/handlers/getProviderInterfaces.js.map +0 -1
- package/lib/mcp/tools/provider/handlers/index.d.ts.map +0 -1
- package/lib/mcp/tools/provider/handlers/index.js.map +0 -1
- package/lib/mcp/tools/provider/handlers/listProviders.d.ts.map +0 -1
- package/lib/mcp/tools/provider/handlers/listProviders.js.map +0 -1
- package/lib/mcp/tools/provider/handlers/removeProvider.d.ts.map +0 -1
- package/lib/mcp/tools/provider/handlers/removeProvider.js.map +0 -1
- package/lib/mcp/tools/provider/handlers/updateProvider.d.ts.map +0 -1
- package/lib/mcp/tools/provider/handlers/updateProvider.js.map +0 -1
- package/lib/mcp/tools/provider/index.d.ts.map +0 -1
- package/lib/mcp/tools/provider/index.js.map +0 -1
- package/lib/mcp/tools/provider/providerManagement.d.ts.map +0 -1
- package/lib/mcp/tools/provider/providerManagement.js.map +0 -1
- package/lib/mcp/tools/provider/schemas.d.ts.map +0 -1
- package/lib/mcp/tools/provider/schemas.js.map +0 -1
- package/lib/mcp/tools/provider/utils/getProviderConfig.d.ts.map +0 -1
- package/lib/mcp/tools/provider/utils/getProviderConfig.js.map +0 -1
- package/lib/mcp/tools/quotation/handlers/countQuotations.d.ts.map +0 -1
- package/lib/mcp/tools/quotation/handlers/countQuotations.js.map +0 -1
- package/lib/mcp/tools/quotation/handlers/getQuotation.d.ts.map +0 -1
- package/lib/mcp/tools/quotation/handlers/getQuotation.js.map +0 -1
- package/lib/mcp/tools/quotation/handlers/index.d.ts.map +0 -1
- package/lib/mcp/tools/quotation/handlers/index.js.map +0 -1
- package/lib/mcp/tools/quotation/handlers/listQuotations.d.ts.map +0 -1
- package/lib/mcp/tools/quotation/handlers/listQuotations.js.map +0 -1
- package/lib/mcp/tools/quotation/handlers/makeQuotationProposal.d.ts.map +0 -1
- package/lib/mcp/tools/quotation/handlers/makeQuotationProposal.js.map +0 -1
- package/lib/mcp/tools/quotation/handlers/rejectQuotation.d.ts.map +0 -1
- package/lib/mcp/tools/quotation/handlers/rejectQuotation.js.map +0 -1
- package/lib/mcp/tools/quotation/handlers/verifyQuotation.d.ts.map +0 -1
- package/lib/mcp/tools/quotation/handlers/verifyQuotation.js.map +0 -1
- package/lib/mcp/tools/quotation/index.d.ts.map +0 -1
- package/lib/mcp/tools/quotation/index.js.map +0 -1
- package/lib/mcp/tools/quotation/quotationManagement.d.ts.map +0 -1
- package/lib/mcp/tools/quotation/quotationManagement.js.map +0 -1
- package/lib/mcp/tools/quotation/schemas.d.ts.map +0 -1
- package/lib/mcp/tools/quotation/schemas.js.map +0 -1
- package/lib/mcp/tools/system/handlers/activeWorkTypes.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/activeWorkTypes.js.map +0 -1
- package/lib/mcp/tools/system/handlers/addWork.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/addWork.js.map +0 -1
- package/lib/mcp/tools/system/handlers/allocateWork.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/allocateWork.js.map +0 -1
- package/lib/mcp/tools/system/handlers/countEvents.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/countEvents.js.map +0 -1
- package/lib/mcp/tools/system/handlers/countWork.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/countWork.js.map +0 -1
- package/lib/mcp/tools/system/handlers/finishWork.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/finishWork.js.map +0 -1
- package/lib/mcp/tools/system/handlers/getEvent.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/getEvent.js.map +0 -1
- package/lib/mcp/tools/system/handlers/getEventsStatistics.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/getEventsStatistics.js.map +0 -1
- package/lib/mcp/tools/system/handlers/getShopInfo.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/getShopInfo.js.map +0 -1
- package/lib/mcp/tools/system/handlers/getWork.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/getWork.js.map +0 -1
- package/lib/mcp/tools/system/handlers/getWorkStatistics.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/getWorkStatistics.js.map +0 -1
- package/lib/mcp/tools/system/handlers/index.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/index.js.map +0 -1
- package/lib/mcp/tools/system/handlers/listEvents.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/listEvents.js.map +0 -1
- package/lib/mcp/tools/system/handlers/listWork.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/listWork.js.map +0 -1
- package/lib/mcp/tools/system/handlers/processNextWork.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/processNextWork.js.map +0 -1
- package/lib/mcp/tools/system/handlers/removeWork.d.ts.map +0 -1
- package/lib/mcp/tools/system/handlers/removeWork.js.map +0 -1
- package/lib/mcp/tools/system/index.d.ts.map +0 -1
- package/lib/mcp/tools/system/index.js.map +0 -1
- package/lib/mcp/tools/system/schemas.d.ts.map +0 -1
- package/lib/mcp/tools/system/schemas.js.map +0 -1
- package/lib/mcp/tools/system/systemManagement.d.ts.map +0 -1
- package/lib/mcp/tools/system/systemManagement.js.map +0 -1
- package/lib/mcp/tools/system/types.d.ts.map +0 -1
- package/lib/mcp/tools/system/types.js.map +0 -1
- package/lib/mcp/tools/users/handlers/addUserEmail.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/addUserEmail.js.map +0 -1
- package/lib/mcp/tools/users/handlers/countUsers.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/countUsers.js.map +0 -1
- package/lib/mcp/tools/users/handlers/createUser.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/createUser.js.map +0 -1
- package/lib/mcp/tools/users/handlers/enrollUser.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/enrollUser.js.map +0 -1
- package/lib/mcp/tools/users/handlers/getCurrentUser.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/getCurrentUser.js.map +0 -1
- package/lib/mcp/tools/users/handlers/getUser.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/getUser.js.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserAvatar.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserAvatar.js.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserBookmarks.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserBookmarks.js.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserEnrollments.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserEnrollments.js.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserOrders.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserOrders.js.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserPaymentCredentials.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserPaymentCredentials.js.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserQuotations.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserQuotations.js.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserReviews.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserReviews.js.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserReviewsCount.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/getUserReviewsCount.js.map +0 -1
- package/lib/mcp/tools/users/handlers/index.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/index.js.map +0 -1
- package/lib/mcp/tools/users/handlers/listUsers.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/listUsers.js.map +0 -1
- package/lib/mcp/tools/users/handlers/removeProductReviews.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/removeProductReviews.js.map +0 -1
- package/lib/mcp/tools/users/handlers/removeUser.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/removeUser.js.map +0 -1
- package/lib/mcp/tools/users/handlers/removeUserEmail.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/removeUserEmail.js.map +0 -1
- package/lib/mcp/tools/users/handlers/sendEnrollmentEmail.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/sendEnrollmentEmail.js.map +0 -1
- package/lib/mcp/tools/users/handlers/sendVerificationEmail.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/sendVerificationEmail.js.map +0 -1
- package/lib/mcp/tools/users/handlers/setUserTags.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/setUserTags.js.map +0 -1
- package/lib/mcp/tools/users/handlers/setUserUsername.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/setUserUsername.js.map +0 -1
- package/lib/mcp/tools/users/handlers/updateUser.d.ts.map +0 -1
- package/lib/mcp/tools/users/handlers/updateUser.js.map +0 -1
- package/lib/mcp/tools/users/index.d.ts.map +0 -1
- package/lib/mcp/tools/users/index.js.map +0 -1
- package/lib/mcp/tools/users/schemas.d.ts.map +0 -1
- package/lib/mcp/tools/users/schemas.js.map +0 -1
- package/lib/mcp/tools/users/usersManagement.d.ts.map +0 -1
- package/lib/mcp/tools/users/usersManagement.js.map +0 -1
- package/lib/mcp/utils/getNormalizedAssortmentDetails.d.ts.map +0 -1
- package/lib/mcp/utils/getNormalizedAssortmentDetails.js.map +0 -1
- package/lib/mcp/utils/getNormalizedFilterDetails.d.ts.map +0 -1
- package/lib/mcp/utils/getNormalizedFilterDetails.js.map +0 -1
- package/lib/mcp/utils/getNormalizedOrderDetails.d.ts.map +0 -1
- package/lib/mcp/utils/getNormalizedOrderDetails.js.map +0 -1
- package/lib/mcp/utils/getNormalizedProductDetails.d.ts.map +0 -1
- package/lib/mcp/utils/getNormalizedProductDetails.js.map +0 -1
- package/lib/mcp/utils/getNormalizedQuotationDetails.d.ts.map +0 -1
- package/lib/mcp/utils/getNormalizedQuotationDetails.js.map +0 -1
- package/lib/mcp/utils/getNormalizedUserDetails.d.ts.map +0 -1
- package/lib/mcp/utils/getNormalizedUserDetails.js.map +0 -1
- package/lib/mcp/utils/normalizeMediaUrl.d.ts.map +0 -1
- package/lib/mcp/utils/normalizeMediaUrl.js.map +0 -1
- package/lib/mcp/utils/normalizeProxyAssignments.d.ts.map +0 -1
- package/lib/mcp/utils/normalizeProxyAssignments.js.map +0 -1
- package/lib/mcp/utils/orderFilters.d.ts.map +0 -1
- package/lib/mcp/utils/orderFilters.js.map +0 -1
- package/lib/mcp/utils/sanitizeLocalizationEntityData.d.ts.map +0 -1
- package/lib/mcp/utils/sanitizeLocalizationEntityData.js.map +0 -1
- package/lib/mcp/utils/sharedSchemas.d.ts.map +0 -1
- package/lib/mcp/utils/sharedSchemas.js.map +0 -1
- package/lib/mcp/utils/validateIsoCode.d.ts.map +0 -1
- package/lib/mcp/utils/validateIsoCode.js.map +0 -1
- package/lib/mongo-store.d.ts.map +0 -1
- package/lib/mongo-store.js.map +0 -1
- package/lib/resolvers/index.d.ts.map +0 -1
- package/lib/resolvers/index.js.map +0 -1
- package/lib/resolvers/mutations/accounts/addEmail.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/addEmail.js.map +0 -1
- package/lib/resolvers/mutations/accounts/addWeb3Address.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/addWeb3Address.js.map +0 -1
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/addWebAuthnCredentials.js.map +0 -1
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.d.ts +0 -3
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.js +0 -6
- package/lib/resolvers/mutations/accounts/buildSecretTOTPAuthURL.js.map +0 -1
- package/lib/resolvers/mutations/accounts/changePassword.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/changePassword.js.map +0 -1
- package/lib/resolvers/mutations/accounts/createUser.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/createUser.js.map +0 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.js.map +0 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.js.map +0 -1
- package/lib/resolvers/mutations/accounts/disableTOTP.d.ts +0 -6
- package/lib/resolvers/mutations/accounts/disableTOTP.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/disableTOTP.js +0 -27
- package/lib/resolvers/mutations/accounts/disableTOTP.js.map +0 -1
- package/lib/resolvers/mutations/accounts/enableTOTP.d.ts +0 -6
- package/lib/resolvers/mutations/accounts/enableTOTP.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/enableTOTP.js +0 -20
- package/lib/resolvers/mutations/accounts/enableTOTP.js.map +0 -1
- package/lib/resolvers/mutations/accounts/enrollUser.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/enrollUser.js.map +0 -1
- package/lib/resolvers/mutations/accounts/forgotPassword.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/forgotPassword.js.map +0 -1
- package/lib/resolvers/mutations/accounts/impersonate.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/impersonate.js.map +0 -1
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.d.ts +0 -7
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.js +0 -30
- package/lib/resolvers/mutations/accounts/linkOAuthAccount.js.map +0 -1
- package/lib/resolvers/mutations/accounts/loginAsGuest.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/loginAsGuest.js.map +0 -1
- package/lib/resolvers/mutations/accounts/loginWithOAuth.d.ts +0 -8
- package/lib/resolvers/mutations/accounts/loginWithOAuth.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/loginWithOAuth.js +0 -25
- package/lib/resolvers/mutations/accounts/loginWithOAuth.js.map +0 -1
- package/lib/resolvers/mutations/accounts/loginWithPassword.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/loginWithPassword.js.map +0 -1
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/loginWithWebAuthn.js.map +0 -1
- package/lib/resolvers/mutations/accounts/logout.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/logout.js.map +0 -1
- package/lib/resolvers/mutations/accounts/logoutAllSessions.d.ts +0 -5
- package/lib/resolvers/mutations/accounts/logoutAllSessions.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/logoutAllSessions.js +0 -20
- package/lib/resolvers/mutations/accounts/logoutAllSessions.js.map +0 -1
- package/lib/resolvers/mutations/accounts/removeEmail.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/removeEmail.js.map +0 -1
- package/lib/resolvers/mutations/accounts/removeWeb3Address.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/removeWeb3Address.js.map +0 -1
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/removeWebAuthnCredentials.js.map +0 -1
- package/lib/resolvers/mutations/accounts/resetPassword.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/resetPassword.js.map +0 -1
- package/lib/resolvers/mutations/accounts/sendEnrollmentEmail.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/sendEnrollmentEmail.js.map +0 -1
- package/lib/resolvers/mutations/accounts/sendVerificationEmail.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/sendVerificationEmail.js.map +0 -1
- package/lib/resolvers/mutations/accounts/setPassword.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/setPassword.js.map +0 -1
- package/lib/resolvers/mutations/accounts/setUsername.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/setUsername.js.map +0 -1
- package/lib/resolvers/mutations/accounts/stopImpersonation.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/stopImpersonation.js.map +0 -1
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.d.ts +0 -6
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.js +0 -13
- package/lib/resolvers/mutations/accounts/unlinkOAuthAccount.js.map +0 -1
- package/lib/resolvers/mutations/accounts/verifyEmail.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/verifyEmail.js.map +0 -1
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.d.ts.map +0 -1
- package/lib/resolvers/mutations/accounts/verifyWeb3Address.js.map +0 -1
- package/lib/resolvers/mutations/assortments/addAssortmentFilter.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/addAssortmentFilter.js.map +0 -1
- package/lib/resolvers/mutations/assortments/addAssortmentLink.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/addAssortmentLink.js.map +0 -1
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.d.ts +0 -6
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.js +0 -18
- package/lib/resolvers/mutations/assortments/addAssortmentMedia.js.map +0 -1
- package/lib/resolvers/mutations/assortments/addAssortmentProduct.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/addAssortmentProduct.js.map +0 -1
- package/lib/resolvers/mutations/assortments/createAssortment.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/createAssortment.js.map +0 -1
- package/lib/resolvers/mutations/assortments/prepareAssortmentMediaUpload.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/prepareAssortmentMediaUpload.js.map +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortment.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortment.js.map +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentFilter.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentFilter.js.map +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentLink.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentLink.js.map +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentMedia.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentMedia.js.map +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentProduct.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/removeAssortmentProduct.js.map +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentFilters.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentFilters.js.map +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentLinks.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentLinks.js.map +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentMedia.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentMedia.js.map +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentProducts.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/reorderAssortmentProducts.js.map +0 -1
- package/lib/resolvers/mutations/assortments/setBaseAssortment.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/setBaseAssortment.js.map +0 -1
- package/lib/resolvers/mutations/assortments/updateAssortment.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/updateAssortment.js.map +0 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentMediaTexts.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentMediaTexts.js.map +0 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentTexts.d.ts.map +0 -1
- package/lib/resolvers/mutations/assortments/updateAssortmentTexts.js.map +0 -1
- package/lib/resolvers/mutations/bookmarks/bookmark.d.ts.map +0 -1
- package/lib/resolvers/mutations/bookmarks/bookmark.js.map +0 -1
- package/lib/resolvers/mutations/bookmarks/createBookmark.d.ts.map +0 -1
- package/lib/resolvers/mutations/bookmarks/createBookmark.js.map +0 -1
- package/lib/resolvers/mutations/bookmarks/removeBookmark.d.ts.map +0 -1
- package/lib/resolvers/mutations/bookmarks/removeBookmark.js.map +0 -1
- package/lib/resolvers/mutations/countries/createCountry.d.ts.map +0 -1
- package/lib/resolvers/mutations/countries/createCountry.js.map +0 -1
- package/lib/resolvers/mutations/countries/removeCountry.d.ts.map +0 -1
- package/lib/resolvers/mutations/countries/removeCountry.js.map +0 -1
- package/lib/resolvers/mutations/countries/updateCountry.d.ts.map +0 -1
- package/lib/resolvers/mutations/countries/updateCountry.js.map +0 -1
- package/lib/resolvers/mutations/currencies/createCurrency.d.ts.map +0 -1
- package/lib/resolvers/mutations/currencies/createCurrency.js.map +0 -1
- package/lib/resolvers/mutations/currencies/removeCurrency.d.ts.map +0 -1
- package/lib/resolvers/mutations/currencies/removeCurrency.js.map +0 -1
- package/lib/resolvers/mutations/currencies/updateCurrency.d.ts.map +0 -1
- package/lib/resolvers/mutations/currencies/updateCurrency.js.map +0 -1
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/delivery/createDeliveryProvider.js.map +0 -1
- package/lib/resolvers/mutations/delivery/removeDeliveryProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/delivery/removeDeliveryProvider.js.map +0 -1
- package/lib/resolvers/mutations/delivery/updateDeliveryProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/delivery/updateDeliveryProvider.js.map +0 -1
- package/lib/resolvers/mutations/enrollments/activateEnrollment.d.ts.map +0 -1
- package/lib/resolvers/mutations/enrollments/activateEnrollment.js.map +0 -1
- package/lib/resolvers/mutations/enrollments/createEnrollment.d.ts.map +0 -1
- package/lib/resolvers/mutations/enrollments/createEnrollment.js.map +0 -1
- package/lib/resolvers/mutations/enrollments/terminateEnrollment.d.ts.map +0 -1
- package/lib/resolvers/mutations/enrollments/terminateEnrollment.js.map +0 -1
- package/lib/resolvers/mutations/enrollments/updateEnrollment.d.ts.map +0 -1
- package/lib/resolvers/mutations/enrollments/updateEnrollment.js.map +0 -1
- package/lib/resolvers/mutations/files/confirmMediaUpload.d.ts.map +0 -1
- package/lib/resolvers/mutations/files/confirmMediaUpload.js.map +0 -1
- package/lib/resolvers/mutations/filters/createFilter.d.ts.map +0 -1
- package/lib/resolvers/mutations/filters/createFilter.js.map +0 -1
- package/lib/resolvers/mutations/filters/createFilterOption.d.ts.map +0 -1
- package/lib/resolvers/mutations/filters/createFilterOption.js.map +0 -1
- package/lib/resolvers/mutations/filters/removeFilter.d.ts.map +0 -1
- package/lib/resolvers/mutations/filters/removeFilter.js.map +0 -1
- package/lib/resolvers/mutations/filters/removeFilterOption.d.ts.map +0 -1
- package/lib/resolvers/mutations/filters/removeFilterOption.js.map +0 -1
- package/lib/resolvers/mutations/filters/updateFilter.d.ts.map +0 -1
- package/lib/resolvers/mutations/filters/updateFilter.js.map +0 -1
- package/lib/resolvers/mutations/filters/updateFilterTexts.d.ts.map +0 -1
- package/lib/resolvers/mutations/filters/updateFilterTexts.js.map +0 -1
- package/lib/resolvers/mutations/index.d.ts.map +0 -1
- package/lib/resolvers/mutations/index.js.map +0 -1
- package/lib/resolvers/mutations/languages/createLanguage.d.ts.map +0 -1
- package/lib/resolvers/mutations/languages/createLanguage.js.map +0 -1
- package/lib/resolvers/mutations/languages/removeLanguage.d.ts.map +0 -1
- package/lib/resolvers/mutations/languages/removeLanguage.js.map +0 -1
- package/lib/resolvers/mutations/languages/updateLanguage.d.ts.map +0 -1
- package/lib/resolvers/mutations/languages/updateLanguage.js.map +0 -1
- package/lib/resolvers/mutations/orders/addCartDiscount.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/addCartDiscount.js.map +0 -1
- package/lib/resolvers/mutations/orders/addCartProduct.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/addCartProduct.js.map +0 -1
- package/lib/resolvers/mutations/orders/addCartQuotation.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/addCartQuotation.js.map +0 -1
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/addMultipleCartProducts.js.map +0 -1
- package/lib/resolvers/mutations/orders/checkoutCart.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/checkoutCart.js.map +0 -1
- package/lib/resolvers/mutations/orders/confirmOrder.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/confirmOrder.js.map +0 -1
- package/lib/resolvers/mutations/orders/createCart.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/createCart.js.map +0 -1
- package/lib/resolvers/mutations/orders/deliverOrder.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/deliverOrder.js.map +0 -1
- package/lib/resolvers/mutations/orders/emptyCart.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/emptyCart.js.map +0 -1
- package/lib/resolvers/mutations/orders/payOrder.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/payOrder.js.map +0 -1
- package/lib/resolvers/mutations/orders/rejectOrder.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/rejectOrder.js.map +0 -1
- package/lib/resolvers/mutations/orders/removeCartDiscount.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/removeCartDiscount.js.map +0 -1
- package/lib/resolvers/mutations/orders/removeCartItem.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/removeCartItem.js.map +0 -1
- package/lib/resolvers/mutations/orders/removeOrder.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/removeOrder.js.map +0 -1
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/setOrderDeliveryProvider.js.map +0 -1
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/setOrderPaymentProvider.js.map +0 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/signPaymentProviderForCheckout.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateCart.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateCart.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateCartDeliveryPickUp.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateCartDeliveryPickUp.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateCartDeliveryShipping.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateCartDeliveryShipping.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateCartItem.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateCartItem.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateCartPaymentGeneric.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateCartPaymentGeneric.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateCartPaymentInvoice.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateCartPaymentInvoice.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryPickUp.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderDeliveryShipping.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.d.ts +0 -6
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.js +0 -26
- package/lib/resolvers/mutations/orders/updateOrderPaymentCard.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentGeneric.js.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.d.ts.map +0 -1
- package/lib/resolvers/mutations/orders/updateOrderPaymentInvoice.js.map +0 -1
- package/lib/resolvers/mutations/pageView.d.ts.map +0 -1
- package/lib/resolvers/mutations/pageView.js.map +0 -1
- package/lib/resolvers/mutations/payment/createPaymentProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/payment/createPaymentProvider.js.map +0 -1
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.d.ts.map +0 -1
- package/lib/resolvers/mutations/payment/markPaymentCredentialsPreferred.js.map +0 -1
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.d.ts.map +0 -1
- package/lib/resolvers/mutations/payment/registerPaymentCredentials.js.map +0 -1
- package/lib/resolvers/mutations/payment/removePaymentCredentials.d.ts.map +0 -1
- package/lib/resolvers/mutations/payment/removePaymentCredentials.js.map +0 -1
- package/lib/resolvers/mutations/payment/removePaymentProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/payment/removePaymentProvider.js.map +0 -1
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.d.ts.map +0 -1
- package/lib/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.js.map +0 -1
- package/lib/resolvers/mutations/payment/updatePaymentProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/payment/updatePaymentProvider.js.map +0 -1
- package/lib/resolvers/mutations/products/addProductAssignment.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/addProductAssignment.js.map +0 -1
- package/lib/resolvers/mutations/products/addProductMedia.d.ts +0 -6
- package/lib/resolvers/mutations/products/addProductMedia.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/addProductMedia.js +0 -18
- package/lib/resolvers/mutations/products/addProductMedia.js.map +0 -1
- package/lib/resolvers/mutations/products/addProductReviewVote.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/addProductReviewVote.js.map +0 -1
- package/lib/resolvers/mutations/products/createProduct.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/createProduct.js.map +0 -1
- package/lib/resolvers/mutations/products/createProductBundleItem.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/createProductBundleItem.js.map +0 -1
- package/lib/resolvers/mutations/products/createProductReview.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/createProductReview.js.map +0 -1
- package/lib/resolvers/mutations/products/createProductVariation.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/createProductVariation.js.map +0 -1
- package/lib/resolvers/mutations/products/createProductVariationOption.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/createProductVariationOption.js.map +0 -1
- package/lib/resolvers/mutations/products/prepareProductMediaUpload.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/prepareProductMediaUpload.js.map +0 -1
- package/lib/resolvers/mutations/products/publishProduct.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/publishProduct.js.map +0 -1
- package/lib/resolvers/mutations/products/removeBundleItem.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/removeBundleItem.js.map +0 -1
- package/lib/resolvers/mutations/products/removeProduct.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/removeProduct.js.map +0 -1
- package/lib/resolvers/mutations/products/removeProductAssignment.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/removeProductAssignment.js.map +0 -1
- package/lib/resolvers/mutations/products/removeProductMedia.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/removeProductMedia.js.map +0 -1
- package/lib/resolvers/mutations/products/removeProductReview.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/removeProductReview.js.map +0 -1
- package/lib/resolvers/mutations/products/removeProductReviewVote.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/removeProductReviewVote.js.map +0 -1
- package/lib/resolvers/mutations/products/removeProductVariation.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/removeProductVariation.js.map +0 -1
- package/lib/resolvers/mutations/products/removeProductVariationOption.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/removeProductVariationOption.js.map +0 -1
- package/lib/resolvers/mutations/products/reorderProductMedia.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/reorderProductMedia.js.map +0 -1
- package/lib/resolvers/mutations/products/unpublishProduct.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/unpublishProduct.js.map +0 -1
- package/lib/resolvers/mutations/products/updateProduct.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/updateProduct.js.map +0 -1
- package/lib/resolvers/mutations/products/updateProductCommerce.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/updateProductCommerce.js.map +0 -1
- package/lib/resolvers/mutations/products/updateProductMediaTexts.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/updateProductMediaTexts.js.map +0 -1
- package/lib/resolvers/mutations/products/updateProductPlan.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/updateProductPlan.js.map +0 -1
- package/lib/resolvers/mutations/products/updateProductReview.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/updateProductReview.js.map +0 -1
- package/lib/resolvers/mutations/products/updateProductSupply.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/updateProductSupply.js.map +0 -1
- package/lib/resolvers/mutations/products/updateProductTexts.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/updateProductTexts.js.map +0 -1
- package/lib/resolvers/mutations/products/updateProductTokenization.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/updateProductTokenization.js.map +0 -1
- package/lib/resolvers/mutations/products/updateProductVariationTexts.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/updateProductVariationTexts.js.map +0 -1
- package/lib/resolvers/mutations/products/updateProductWarehousing.d.ts.map +0 -1
- package/lib/resolvers/mutations/products/updateProductWarehousing.js.map +0 -1
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.d.ts.map +0 -1
- package/lib/resolvers/mutations/quotations/makeQuotationProposal.js.map +0 -1
- package/lib/resolvers/mutations/quotations/rejectQuotation.d.ts.map +0 -1
- package/lib/resolvers/mutations/quotations/rejectQuotation.js.map +0 -1
- package/lib/resolvers/mutations/quotations/requestQuotation.d.ts.map +0 -1
- package/lib/resolvers/mutations/quotations/requestQuotation.js.map +0 -1
- package/lib/resolvers/mutations/quotations/verifyQuotation.d.ts.map +0 -1
- package/lib/resolvers/mutations/quotations/verifyQuotation.js.map +0 -1
- package/lib/resolvers/mutations/users/addPushSubscription.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/addPushSubscription.js.map +0 -1
- package/lib/resolvers/mutations/users/heartbeat.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/heartbeat.js.map +0 -1
- package/lib/resolvers/mutations/users/prepareUserAvatarUpload.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/prepareUserAvatarUpload.js.map +0 -1
- package/lib/resolvers/mutations/users/removePushSubscription.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/removePushSubscription.js.map +0 -1
- package/lib/resolvers/mutations/users/removeUser.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/removeUser.js.map +0 -1
- package/lib/resolvers/mutations/users/removeUserProductReviews.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/removeUserProductReviews.js.map +0 -1
- package/lib/resolvers/mutations/users/setRoles.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/setRoles.js.map +0 -1
- package/lib/resolvers/mutations/users/setUserTags.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/setUserTags.js.map +0 -1
- package/lib/resolvers/mutations/users/updateUserAvatar.d.ts +0 -6
- package/lib/resolvers/mutations/users/updateUserAvatar.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/updateUserAvatar.js +0 -22
- package/lib/resolvers/mutations/users/updateUserAvatar.js.map +0 -1
- package/lib/resolvers/mutations/users/updateUserProfile.d.ts.map +0 -1
- package/lib/resolvers/mutations/users/updateUserProfile.js.map +0 -1
- package/lib/resolvers/mutations/utils/getOrderCart.d.ts +0 -7
- package/lib/resolvers/mutations/utils/getOrderCart.d.ts.map +0 -1
- package/lib/resolvers/mutations/utils/getOrderCart.js +0 -13
- package/lib/resolvers/mutations/utils/getOrderCart.js.map +0 -1
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/warehousing/createWarehousingProvider.js.map +0 -1
- package/lib/resolvers/mutations/warehousing/exportToken.d.ts.map +0 -1
- package/lib/resolvers/mutations/warehousing/exportToken.js.map +0 -1
- package/lib/resolvers/mutations/warehousing/invalidateToken.d.ts.map +0 -1
- package/lib/resolvers/mutations/warehousing/invalidateToken.js.map +0 -1
- package/lib/resolvers/mutations/warehousing/removeWarehousingProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/warehousing/removeWarehousingProvider.js.map +0 -1
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.d.ts.map +0 -1
- package/lib/resolvers/mutations/warehousing/updateWarehousingProvider.js.map +0 -1
- package/lib/resolvers/mutations/worker/addWork.d.ts.map +0 -1
- package/lib/resolvers/mutations/worker/addWork.js.map +0 -1
- package/lib/resolvers/mutations/worker/allocateWork.d.ts.map +0 -1
- package/lib/resolvers/mutations/worker/allocateWork.js.map +0 -1
- package/lib/resolvers/mutations/worker/finishWork.d.ts.map +0 -1
- package/lib/resolvers/mutations/worker/finishWork.js.map +0 -1
- package/lib/resolvers/mutations/worker/processNextWork.d.ts.map +0 -1
- package/lib/resolvers/mutations/worker/processNextWork.js.map +0 -1
- package/lib/resolvers/mutations/worker/removeWork.d.ts.map +0 -1
- package/lib/resolvers/mutations/worker/removeWork.js.map +0 -1
- package/lib/resolvers/queries/assortments/assortment.d.ts.map +0 -1
- package/lib/resolvers/queries/assortments/assortment.js.map +0 -1
- package/lib/resolvers/queries/assortments/assortments.d.ts.map +0 -1
- package/lib/resolvers/queries/assortments/assortments.js.map +0 -1
- package/lib/resolvers/queries/assortments/assortmentsCount.d.ts.map +0 -1
- package/lib/resolvers/queries/assortments/assortmentsCount.js.map +0 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentMediaTexts.d.ts.map +0 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentMediaTexts.js.map +0 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentTexts.d.ts.map +0 -1
- package/lib/resolvers/queries/assortments/translatedAssortmentTexts.js.map +0 -1
- package/lib/resolvers/queries/countries/countries.d.ts.map +0 -1
- package/lib/resolvers/queries/countries/countries.js.map +0 -1
- package/lib/resolvers/queries/countries/countriesCount.d.ts.map +0 -1
- package/lib/resolvers/queries/countries/countriesCount.js.map +0 -1
- package/lib/resolvers/queries/countries/country.d.ts.map +0 -1
- package/lib/resolvers/queries/countries/country.js.map +0 -1
- package/lib/resolvers/queries/currencies/currencies.d.ts.map +0 -1
- package/lib/resolvers/queries/currencies/currencies.js.map +0 -1
- package/lib/resolvers/queries/currencies/currenciesCount.d.ts.map +0 -1
- package/lib/resolvers/queries/currencies/currenciesCount.js.map +0 -1
- package/lib/resolvers/queries/currencies/currency.d.ts.map +0 -1
- package/lib/resolvers/queries/currencies/currency.js.map +0 -1
- package/lib/resolvers/queries/delivery/deliveryInterfaces.d.ts.map +0 -1
- package/lib/resolvers/queries/delivery/deliveryInterfaces.js.map +0 -1
- package/lib/resolvers/queries/delivery/deliveryProvider.d.ts.map +0 -1
- package/lib/resolvers/queries/delivery/deliveryProvider.js.map +0 -1
- package/lib/resolvers/queries/delivery/deliveryProviders.d.ts.map +0 -1
- package/lib/resolvers/queries/delivery/deliveryProviders.js.map +0 -1
- package/lib/resolvers/queries/delivery/deliveryProvidersCount.d.ts.map +0 -1
- package/lib/resolvers/queries/delivery/deliveryProvidersCount.js.map +0 -1
- package/lib/resolvers/queries/enrollments/enrollment.d.ts.map +0 -1
- package/lib/resolvers/queries/enrollments/enrollment.js.map +0 -1
- package/lib/resolvers/queries/enrollments/enrollments.d.ts.map +0 -1
- package/lib/resolvers/queries/enrollments/enrollments.js.map +0 -1
- package/lib/resolvers/queries/enrollments/enrollmentsCount.d.ts.map +0 -1
- package/lib/resolvers/queries/enrollments/enrollmentsCount.js.map +0 -1
- package/lib/resolvers/queries/events/event.d.ts.map +0 -1
- package/lib/resolvers/queries/events/event.js.map +0 -1
- package/lib/resolvers/queries/events/eventStatistics.d.ts.map +0 -1
- package/lib/resolvers/queries/events/eventStatistics.js.map +0 -1
- package/lib/resolvers/queries/events/events.d.ts.map +0 -1
- package/lib/resolvers/queries/events/events.js.map +0 -1
- package/lib/resolvers/queries/events/eventsCounts.d.ts.map +0 -1
- package/lib/resolvers/queries/events/eventsCounts.js.map +0 -1
- package/lib/resolvers/queries/filters/filter.d.ts.map +0 -1
- package/lib/resolvers/queries/filters/filter.js.map +0 -1
- package/lib/resolvers/queries/filters/filters.d.ts.map +0 -1
- package/lib/resolvers/queries/filters/filters.js.map +0 -1
- package/lib/resolvers/queries/filters/filtersCount.d.ts.map +0 -1
- package/lib/resolvers/queries/filters/filtersCount.js.map +0 -1
- package/lib/resolvers/queries/filters/searchAssortments.d.ts.map +0 -1
- package/lib/resolvers/queries/filters/searchAssortments.js.map +0 -1
- package/lib/resolvers/queries/filters/searchProducts.d.ts.map +0 -1
- package/lib/resolvers/queries/filters/searchProducts.js.map +0 -1
- package/lib/resolvers/queries/filters/translatedFilterTexts.d.ts.map +0 -1
- package/lib/resolvers/queries/filters/translatedFilterTexts.js.map +0 -1
- package/lib/resolvers/queries/index.d.ts.map +0 -1
- package/lib/resolvers/queries/index.js.map +0 -1
- package/lib/resolvers/queries/languages/language.d.ts.map +0 -1
- package/lib/resolvers/queries/languages/language.js.map +0 -1
- package/lib/resolvers/queries/languages/languages.d.ts.map +0 -1
- package/lib/resolvers/queries/languages/languages.js.map +0 -1
- package/lib/resolvers/queries/languages/languagesCount.d.ts.map +0 -1
- package/lib/resolvers/queries/languages/languagesCount.js.map +0 -1
- package/lib/resolvers/queries/orders/order.d.ts.map +0 -1
- package/lib/resolvers/queries/orders/order.js.map +0 -1
- package/lib/resolvers/queries/orders/orderStatistics.d.ts.map +0 -1
- package/lib/resolvers/queries/orders/orderStatistics.js.map +0 -1
- package/lib/resolvers/queries/orders/orders.d.ts.map +0 -1
- package/lib/resolvers/queries/orders/orders.js.map +0 -1
- package/lib/resolvers/queries/orders/ordersCount.d.ts.map +0 -1
- package/lib/resolvers/queries/orders/ordersCount.js.map +0 -1
- package/lib/resolvers/queries/payment/paymentInterfaces.d.ts.map +0 -1
- package/lib/resolvers/queries/payment/paymentInterfaces.js.map +0 -1
- package/lib/resolvers/queries/payment/paymentProvider.d.ts.map +0 -1
- package/lib/resolvers/queries/payment/paymentProvider.js.map +0 -1
- package/lib/resolvers/queries/payment/paymentProviders.d.ts.map +0 -1
- package/lib/resolvers/queries/payment/paymentProviders.js.map +0 -1
- package/lib/resolvers/queries/payment/paymentProvidersCount.d.ts.map +0 -1
- package/lib/resolvers/queries/payment/paymentProvidersCount.js.map +0 -1
- package/lib/resolvers/queries/products/product.d.ts.map +0 -1
- package/lib/resolvers/queries/products/product.js.map +0 -1
- package/lib/resolvers/queries/products/productCatalogPrices.d.ts.map +0 -1
- package/lib/resolvers/queries/products/productCatalogPrices.js.map +0 -1
- package/lib/resolvers/queries/products/productReview.d.ts.map +0 -1
- package/lib/resolvers/queries/products/productReview.js.map +0 -1
- package/lib/resolvers/queries/products/productReviews.d.ts.map +0 -1
- package/lib/resolvers/queries/products/productReviews.js.map +0 -1
- package/lib/resolvers/queries/products/productReviewsCount.d.ts.map +0 -1
- package/lib/resolvers/queries/products/productReviewsCount.js.map +0 -1
- package/lib/resolvers/queries/products/products.d.ts.map +0 -1
- package/lib/resolvers/queries/products/products.js.map +0 -1
- package/lib/resolvers/queries/products/productsCount.d.ts.map +0 -1
- package/lib/resolvers/queries/products/productsCount.js.map +0 -1
- package/lib/resolvers/queries/products/translatedProductMediaTexts.d.ts.map +0 -1
- package/lib/resolvers/queries/products/translatedProductMediaTexts.js.map +0 -1
- package/lib/resolvers/queries/products/translatedProductTexts.d.ts.map +0 -1
- package/lib/resolvers/queries/products/translatedProductTexts.js.map +0 -1
- package/lib/resolvers/queries/products/translatedProductVariationTexts.d.ts.map +0 -1
- package/lib/resolvers/queries/products/translatedProductVariationTexts.js.map +0 -1
- package/lib/resolvers/queries/quotations/quotation.d.ts.map +0 -1
- package/lib/resolvers/queries/quotations/quotation.js.map +0 -1
- package/lib/resolvers/queries/quotations/quotations.d.ts.map +0 -1
- package/lib/resolvers/queries/quotations/quotations.js.map +0 -1
- package/lib/resolvers/queries/quotations/quotationsCount.d.ts.map +0 -1
- package/lib/resolvers/queries/quotations/quotationsCount.js.map +0 -1
- package/lib/resolvers/queries/shopInfo.d.ts.map +0 -1
- package/lib/resolvers/queries/shopInfo.js.map +0 -1
- package/lib/resolvers/queries/users/impersonator.d.ts.map +0 -1
- package/lib/resolvers/queries/users/impersonator.js.map +0 -1
- package/lib/resolvers/queries/users/me.d.ts.map +0 -1
- package/lib/resolvers/queries/users/me.js.map +0 -1
- package/lib/resolvers/queries/users/user.d.ts.map +0 -1
- package/lib/resolvers/queries/users/user.js.map +0 -1
- package/lib/resolvers/queries/users/users.d.ts.map +0 -1
- package/lib/resolvers/queries/users/users.js.map +0 -1
- package/lib/resolvers/queries/users/usersCount.d.ts.map +0 -1
- package/lib/resolvers/queries/users/usersCount.js.map +0 -1
- package/lib/resolvers/queries/users/validateResetPasswordToken.d.ts.map +0 -1
- package/lib/resolvers/queries/users/validateResetPasswordToken.js.map +0 -1
- package/lib/resolvers/queries/users/validateVerifyEmailToken.d.ts.map +0 -1
- package/lib/resolvers/queries/users/validateVerifyEmailToken.js.map +0 -1
- package/lib/resolvers/queries/warehousing/token.d.ts.map +0 -1
- package/lib/resolvers/queries/warehousing/token.js.map +0 -1
- package/lib/resolvers/queries/warehousing/tokens.d.ts.map +0 -1
- package/lib/resolvers/queries/warehousing/tokens.js.map +0 -1
- package/lib/resolvers/queries/warehousing/tokensCount.d.ts.map +0 -1
- package/lib/resolvers/queries/warehousing/tokensCount.js.map +0 -1
- package/lib/resolvers/queries/warehousing/warehousingInterfaces.d.ts.map +0 -1
- package/lib/resolvers/queries/warehousing/warehousingInterfaces.js.map +0 -1
- package/lib/resolvers/queries/warehousing/warehousingProvider.d.ts.map +0 -1
- package/lib/resolvers/queries/warehousing/warehousingProvider.js.map +0 -1
- package/lib/resolvers/queries/warehousing/warehousingProviders.d.ts.map +0 -1
- package/lib/resolvers/queries/warehousing/warehousingProviders.js.map +0 -1
- package/lib/resolvers/queries/warehousing/warehousingProvidersCount.d.ts.map +0 -1
- package/lib/resolvers/queries/warehousing/warehousingProvidersCount.js.map +0 -1
- package/lib/resolvers/queries/worker/activeWorkTypes.d.ts.map +0 -1
- package/lib/resolvers/queries/worker/activeWorkTypes.js.map +0 -1
- package/lib/resolvers/queries/worker/work.d.ts.map +0 -1
- package/lib/resolvers/queries/worker/work.js.map +0 -1
- package/lib/resolvers/queries/worker/workQueue.d.ts.map +0 -1
- package/lib/resolvers/queries/worker/workQueue.js.map +0 -1
- package/lib/resolvers/queries/worker/workQueueCount.d.ts.map +0 -1
- package/lib/resolvers/queries/worker/workQueueCount.js.map +0 -1
- package/lib/resolvers/queries/worker/workStatistics.d.ts.map +0 -1
- package/lib/resolvers/queries/worker/workStatistics.js.map +0 -1
- package/lib/resolvers/scalars/LowerCaseString.d.ts.map +0 -1
- package/lib/resolvers/scalars/LowerCaseString.js.map +0 -1
- package/lib/resolvers/scalars/index.d.ts.map +0 -1
- package/lib/resolvers/scalars/index.js.map +0 -1
- package/lib/resolvers/type/assortment/assortment-filter-types.d.ts.map +0 -1
- package/lib/resolvers/type/assortment/assortment-filter-types.js.map +0 -1
- package/lib/resolvers/type/assortment/assortment-link-types.d.ts.map +0 -1
- package/lib/resolvers/type/assortment/assortment-link-types.js.map +0 -1
- package/lib/resolvers/type/assortment/assortment-media-types.d.ts.map +0 -1
- package/lib/resolvers/type/assortment/assortment-media-types.js.map +0 -1
- package/lib/resolvers/type/assortment/assortment-path-link-types.d.ts.map +0 -1
- package/lib/resolvers/type/assortment/assortment-path-link-types.js.map +0 -1
- package/lib/resolvers/type/assortment/assortment-product-types.d.ts.map +0 -1
- package/lib/resolvers/type/assortment/assortment-product-types.js.map +0 -1
- package/lib/resolvers/type/assortment/assortment-types.d.ts.map +0 -1
- package/lib/resolvers/type/assortment/assortment-types.js.map +0 -1
- package/lib/resolvers/type/bookmark-types.d.ts.map +0 -1
- package/lib/resolvers/type/bookmark-types.js.map +0 -1
- package/lib/resolvers/type/color-types.d.ts +0 -18
- package/lib/resolvers/type/color-types.d.ts.map +0 -1
- package/lib/resolvers/type/color-types.js +0 -31
- package/lib/resolvers/type/color-types.js.map +0 -1
- package/lib/resolvers/type/country-types.d.ts.map +0 -1
- package/lib/resolvers/type/country-types.js.map +0 -1
- package/lib/resolvers/type/currency-types.d.ts.map +0 -1
- package/lib/resolvers/type/currency-types.js.map +0 -1
- package/lib/resolvers/type/delivery-provider-interface.d.ts.map +0 -1
- package/lib/resolvers/type/delivery-provider-interface.js.map +0 -1
- package/lib/resolvers/type/delivery-provider-pickup-types.d.ts.map +0 -1
- package/lib/resolvers/type/delivery-provider-pickup-types.js.map +0 -1
- package/lib/resolvers/type/delivery-provider-shipping-types.d.ts.map +0 -1
- package/lib/resolvers/type/delivery-provider-shipping-types.js.map +0 -1
- package/lib/resolvers/type/delivery-provider-types.d.ts.map +0 -1
- package/lib/resolvers/type/delivery-provider-types.js.map +0 -1
- package/lib/resolvers/type/dimensions-types.d.ts.map +0 -1
- package/lib/resolvers/type/dimensions-types.js.map +0 -1
- package/lib/resolvers/type/dispatch-types.d.ts +0 -15
- package/lib/resolvers/type/dispatch-types.d.ts.map +0 -1
- package/lib/resolvers/type/dispatch-types.js +0 -16
- package/lib/resolvers/type/dispatch-types.js.map +0 -1
- package/lib/resolvers/type/enrollment/enrollment-delivery-types.d.ts.map +0 -1
- package/lib/resolvers/type/enrollment/enrollment-delivery-types.js.map +0 -1
- package/lib/resolvers/type/enrollment/enrollment-payment-types.d.ts.map +0 -1
- package/lib/resolvers/type/enrollment/enrollment-payment-types.js.map +0 -1
- package/lib/resolvers/type/enrollment/enrollment-period-types.d.ts.map +0 -1
- package/lib/resolvers/type/enrollment/enrollment-period-types.js.map +0 -1
- package/lib/resolvers/type/enrollment/enrollment-plan-tyes.d.ts.map +0 -1
- package/lib/resolvers/type/enrollment/enrollment-plan-tyes.js.map +0 -1
- package/lib/resolvers/type/enrollment/enrollment-types.d.ts.map +0 -1
- package/lib/resolvers/type/enrollment/enrollment-types.js.map +0 -1
- package/lib/resolvers/type/event-types.d.ts.map +0 -1
- package/lib/resolvers/type/event-types.js.map +0 -1
- package/lib/resolvers/type/filter/filter-option-types.d.ts.map +0 -1
- package/lib/resolvers/type/filter/filter-option-types.js.map +0 -1
- package/lib/resolvers/type/filter/filter-types.d.ts.map +0 -1
- package/lib/resolvers/type/filter/filter-types.js.map +0 -1
- package/lib/resolvers/type/filter/loaded-filter-option-types.d.ts.map +0 -1
- package/lib/resolvers/type/filter/loaded-filter-option-types.js.map +0 -1
- package/lib/resolvers/type/filter/loaded-filter-types.d.ts.map +0 -1
- package/lib/resolvers/type/filter/loaded-filter-types.js.map +0 -1
- package/lib/resolvers/type/index.d.ts.map +0 -1
- package/lib/resolvers/type/index.js.map +0 -1
- package/lib/resolvers/type/language-types.d.ts.map +0 -1
- package/lib/resolvers/type/language-types.js.map +0 -1
- package/lib/resolvers/type/login-method-response-types.d.ts.map +0 -1
- package/lib/resolvers/type/login-method-response-types.js.map +0 -1
- package/lib/resolvers/type/media-types.d.ts.map +0 -1
- package/lib/resolvers/type/media-types.js.map +0 -1
- package/lib/resolvers/type/oauth-account.d.ts +0 -6
- package/lib/resolvers/type/oauth-account.d.ts.map +0 -1
- package/lib/resolvers/type/oauth-account.js +0 -7
- package/lib/resolvers/type/oauth-account.js.map +0 -1
- package/lib/resolvers/type/oauth-provider.d.ts +0 -6
- package/lib/resolvers/type/oauth-provider.d.ts.map +0 -1
- package/lib/resolvers/type/oauth-provider.js +0 -6
- package/lib/resolvers/type/oauth-provider.js.map +0 -1
- package/lib/resolvers/type/order/order-delivery-discount-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-delivery-discount-types.js.map +0 -1
- package/lib/resolvers/type/order/order-delivery-pickup-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-delivery-pickup-types.js.map +0 -1
- package/lib/resolvers/type/order/order-delivery-shipping-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-delivery-shipping-types.js.map +0 -1
- package/lib/resolvers/type/order/order-delivery-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-delivery-types.js.map +0 -1
- package/lib/resolvers/type/order/order-discount-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-discount-types.js.map +0 -1
- package/lib/resolvers/type/order/order-discountable-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-discountable-types.js.map +0 -1
- package/lib/resolvers/type/order/order-global-discount-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-global-discount-types.js.map +0 -1
- package/lib/resolvers/type/order/order-item-discount-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-item-discount-types.js.map +0 -1
- package/lib/resolvers/type/order/order-item-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-item-types.js.map +0 -1
- package/lib/resolvers/type/order/order-payment-card-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-payment-card-types.js.map +0 -1
- package/lib/resolvers/type/order/order-payment-discount-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-payment-discount-types.js.map +0 -1
- package/lib/resolvers/type/order/order-payment-generic-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-payment-generic-types.js.map +0 -1
- package/lib/resolvers/type/order/order-payment-invoice-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-payment-invoice-types.js.map +0 -1
- package/lib/resolvers/type/order/order-payment-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-payment-types.js.map +0 -1
- package/lib/resolvers/type/order/order-statistics-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-statistics-types.js.map +0 -1
- package/lib/resolvers/type/order/order-types.d.ts.map +0 -1
- package/lib/resolvers/type/order/order-types.js.map +0 -1
- package/lib/resolvers/type/payment/payment-credentials-types.d.ts.map +0 -1
- package/lib/resolvers/type/payment/payment-credentials-types.js.map +0 -1
- package/lib/resolvers/type/payment/payment-provider-types.d.ts.map +0 -1
- package/lib/resolvers/type/payment/payment-provider-types.js.map +0 -1
- package/lib/resolvers/type/price-types.d.ts.map +0 -1
- package/lib/resolvers/type/price-types.js.map +0 -1
- package/lib/resolvers/type/product/product-assortment-path-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-assortment-path-types.js.map +0 -1
- package/lib/resolvers/type/product/product-bundle-item-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-bundle-item-types.js.map +0 -1
- package/lib/resolvers/type/product/product-bundle-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-bundle-types.js.map +0 -1
- package/lib/resolvers/type/product/product-catalog-price-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-catalog-price-types.js.map +0 -1
- package/lib/resolvers/type/product/product-configurable-or-bundle-product-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-configurable-or-bundle-product-types.js.map +0 -1
- package/lib/resolvers/type/product/product-configurable-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-configurable-types.js.map +0 -1
- package/lib/resolvers/type/product/product-discount.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-discount.js.map +0 -1
- package/lib/resolvers/type/product/product-media-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-media-types.js.map +0 -1
- package/lib/resolvers/type/product/product-plan-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-plan-types.js.map +0 -1
- package/lib/resolvers/type/product/product-review-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-review-types.js.map +0 -1
- package/lib/resolvers/type/product/product-simple-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-simple-types.js.map +0 -1
- package/lib/resolvers/type/product/product-tokenized-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-tokenized-types.js.map +0 -1
- package/lib/resolvers/type/product/product-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-types.js.map +0 -1
- package/lib/resolvers/type/product/product-variation-assignment-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-variation-assignment-types.js.map +0 -1
- package/lib/resolvers/type/product/product-variation-assignment-vector.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-variation-assignment-vector.js.map +0 -1
- package/lib/resolvers/type/product/product-variation-option-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-variation-option-types.js.map +0 -1
- package/lib/resolvers/type/product/product-variation-types.d.ts.map +0 -1
- package/lib/resolvers/type/product/product-variation-types.js.map +0 -1
- package/lib/resolvers/type/product-search-result-types.d.ts.map +0 -1
- package/lib/resolvers/type/product-search-result-types.js.map +0 -1
- package/lib/resolvers/type/quotation-types.d.ts.map +0 -1
- package/lib/resolvers/type/quotation-types.js.map +0 -1
- package/lib/resolvers/type/shop-types.d.ts.map +0 -1
- package/lib/resolvers/type/shop-types.js.map +0 -1
- package/lib/resolvers/type/stock-types.d.ts +0 -14
- package/lib/resolvers/type/stock-types.d.ts.map +0 -1
- package/lib/resolvers/type/stock-types.js +0 -15
- package/lib/resolvers/type/stock-types.js.map +0 -1
- package/lib/resolvers/type/token-types.d.ts.map +0 -1
- package/lib/resolvers/type/token-types.js.map +0 -1
- package/lib/resolvers/type/user-types.d.ts.map +0 -1
- package/lib/resolvers/type/user-types.js.map +0 -1
- package/lib/resolvers/type/warehousing-provider-types.d.ts.map +0 -1
- package/lib/resolvers/type/warehousing-provider-types.js.map +0 -1
- package/lib/resolvers/type/web3-address.d.ts.map +0 -1
- package/lib/resolvers/type/web3-address.js.map +0 -1
- package/lib/resolvers/type/webauthn-credentials-types.d.ts.map +0 -1
- package/lib/resolvers/type/webauthn-credentials-types.js.map +0 -1
- package/lib/resolvers/type/work-types.d.ts.map +0 -1
- package/lib/resolvers/type/work-types.js.map +0 -1
- package/lib/roles/admin.d.ts.map +0 -1
- package/lib/roles/admin.js.map +0 -1
- package/lib/roles/all.d.ts.map +0 -1
- package/lib/roles/all.js.map +0 -1
- package/lib/roles/index.d.ts.map +0 -1
- package/lib/roles/index.js.map +0 -1
- package/lib/roles/loggedIn.d.ts.map +0 -1
- package/lib/roles/loggedIn.js.map +0 -1
- package/lib/schema/directives.d.ts.map +0 -1
- package/lib/schema/directives.js.map +0 -1
- package/lib/schema/index.d.ts.map +0 -1
- package/lib/schema/index.js.map +0 -1
- package/lib/schema/inputTypes.d.ts.map +0 -1
- package/lib/schema/inputTypes.js.map +0 -1
- package/lib/schema/mutation.d.ts.map +0 -1
- package/lib/schema/mutation.js.map +0 -1
- package/lib/schema/query.d.ts.map +0 -1
- package/lib/schema/query.js.map +0 -1
- package/lib/schema/scalars.d.ts.map +0 -1
- package/lib/schema/scalars.js.map +0 -1
- package/lib/schema/types/address.d.ts.map +0 -1
- package/lib/schema/types/address.js.map +0 -1
- package/lib/schema/types/assortment.d.ts.map +0 -1
- package/lib/schema/types/assortment.js.map +0 -1
- package/lib/schema/types/bookmark.d.ts.map +0 -1
- package/lib/schema/types/bookmark.js.map +0 -1
- package/lib/schema/types/color.d.ts.map +0 -1
- package/lib/schema/types/color.js.map +0 -1
- package/lib/schema/types/contact.d.ts.map +0 -1
- package/lib/schema/types/contact.js.map +0 -1
- package/lib/schema/types/country.d.ts.map +0 -1
- package/lib/schema/types/country.js.map +0 -1
- package/lib/schema/types/currency.d.ts.map +0 -1
- package/lib/schema/types/currency.js.map +0 -1
- package/lib/schema/types/delivery.d.ts.map +0 -1
- package/lib/schema/types/delivery.js.map +0 -1
- package/lib/schema/types/dimensions.d.ts.map +0 -1
- package/lib/schema/types/dimensions.js.map +0 -1
- package/lib/schema/types/discount.d.ts.map +0 -1
- package/lib/schema/types/discount.js.map +0 -1
- package/lib/schema/types/dispatch.d.ts.map +0 -1
- package/lib/schema/types/dispatch.js.map +0 -1
- package/lib/schema/types/enrollment.d.ts.map +0 -1
- package/lib/schema/types/enrollment.js.map +0 -1
- package/lib/schema/types/events.d.ts.map +0 -1
- package/lib/schema/types/events.js.map +0 -1
- package/lib/schema/types/files.d.ts.map +0 -1
- package/lib/schema/types/files.js.map +0 -1
- package/lib/schema/types/filter.d.ts.map +0 -1
- package/lib/schema/types/filter.js.map +0 -1
- package/lib/schema/types/geo-position.d.ts.map +0 -1
- package/lib/schema/types/geo-position.js.map +0 -1
- package/lib/schema/types/index.d.ts.map +0 -1
- package/lib/schema/types/index.js.map +0 -1
- package/lib/schema/types/language.d.ts.map +0 -1
- package/lib/schema/types/language.js.map +0 -1
- package/lib/schema/types/media.d.ts.map +0 -1
- package/lib/schema/types/media.js.map +0 -1
- package/lib/schema/types/order/delivery.d.ts.map +0 -1
- package/lib/schema/types/order/delivery.js.map +0 -1
- package/lib/schema/types/order/discount.d.ts.map +0 -1
- package/lib/schema/types/order/discount.js.map +0 -1
- package/lib/schema/types/order/index.d.ts.map +0 -1
- package/lib/schema/types/order/index.js.map +0 -1
- package/lib/schema/types/order/item.d.ts.map +0 -1
- package/lib/schema/types/order/item.js.map +0 -1
- package/lib/schema/types/order/order.d.ts.map +0 -1
- package/lib/schema/types/order/order.js.map +0 -1
- package/lib/schema/types/order/payment.d.ts.map +0 -1
- package/lib/schema/types/order/payment.js.map +0 -1
- package/lib/schema/types/order/pick-up-location.d.ts.map +0 -1
- package/lib/schema/types/order/pick-up-location.js.map +0 -1
- package/lib/schema/types/payment.d.ts.map +0 -1
- package/lib/schema/types/payment.js.map +0 -1
- package/lib/schema/types/price.d.ts.map +0 -1
- package/lib/schema/types/price.js.map +0 -1
- package/lib/schema/types/product/bundle-product.d.ts.map +0 -1
- package/lib/schema/types/product/bundle-product.js.map +0 -1
- package/lib/schema/types/product/configurable-product.d.ts.map +0 -1
- package/lib/schema/types/product/configurable-product.js.map +0 -1
- package/lib/schema/types/product/index.d.ts.map +0 -1
- package/lib/schema/types/product/index.js.map +0 -1
- package/lib/schema/types/product/plan-product.d.ts.map +0 -1
- package/lib/schema/types/product/plan-product.js.map +0 -1
- package/lib/schema/types/product/product.d.ts.map +0 -1
- package/lib/schema/types/product/product.js.map +0 -1
- package/lib/schema/types/product/simple-product.d.ts.map +0 -1
- package/lib/schema/types/product/simple-product.js.map +0 -1
- package/lib/schema/types/product/tokenized-product.d.ts.map +0 -1
- package/lib/schema/types/product/tokenized-product.js.map +0 -1
- package/lib/schema/types/quotation.d.ts.map +0 -1
- package/lib/schema/types/quotation.js.map +0 -1
- package/lib/schema/types/search.d.ts.map +0 -1
- package/lib/schema/types/search.js.map +0 -1
- package/lib/schema/types/shop.d.ts.map +0 -1
- package/lib/schema/types/shop.js.map +0 -1
- package/lib/schema/types/stock.d.ts.map +0 -1
- package/lib/schema/types/stock.js.map +0 -1
- package/lib/schema/types/types.d.ts.map +0 -1
- package/lib/schema/types/types.js.map +0 -1
- package/lib/schema/types/user.d.ts.map +0 -1
- package/lib/schema/types/user.js.map +0 -1
- package/lib/schema/types/warehousing.d.ts.map +0 -1
- package/lib/schema/types/warehousing.js.map +0 -1
- package/lib/schema/types/worker.d.ts.map +0 -1
- package/lib/schema/types/worker.js.map +0 -1
- package/lib/user-context.d.ts +0 -7
- package/lib/user-context.d.ts.map +0 -1
- package/lib/user-context.js +0 -76
- package/lib/user-context.js.map +0 -1
- package/src/acl.ts +0 -96
- package/src/api-index.ts +0 -65
- package/src/chat/defaultSystemPrompt.ts +0 -16
- package/src/chat/generateImageHandler.ts +0 -91
- package/src/chat/normalizeToolsIndex.ts +0 -11
- package/src/chat/utils.ts +0 -42
- package/src/context.ts +0 -120
- package/src/createGraphQLServer.ts +0 -33
- package/src/errors.ts +0 -337
- package/src/events.ts +0 -8
- package/src/express/chatHandler.ts +0 -204
- package/src/express/createBulkImportMiddleware.ts +0 -65
- package/src/express/createERCMetadataMiddleware.ts +0 -65
- package/src/express/createMCPMiddleware.ts +0 -91
- package/src/express/createTempUploadMiddleware.ts +0 -56
- package/src/express/index.ts +0 -268
- package/src/fastify/bulkImportHandler.ts +0 -61
- package/src/fastify/chatHandler.ts +0 -210
- package/src/fastify/ercMetadataHandler.ts +0 -56
- package/src/fastify/index.ts +0 -331
- package/src/fastify/mcpHandler.ts +0 -93
- package/src/fastify/tempUploadHandler.ts +0 -50
- package/src/loaders/assortmentLinkLoader.ts +0 -32
- package/src/loaders/assortmentLinksLoader.ts +0 -49
- package/src/loaders/assortmentLoader.ts +0 -20
- package/src/loaders/assortmentMediaTextLoader.ts +0 -26
- package/src/loaders/assortmentMediasLoader.ts +0 -21
- package/src/loaders/assortmentProductLoader.ts +0 -19
- package/src/loaders/assortmentProductsLoader.ts +0 -22
- package/src/loaders/assortmentTextLoader.ts +0 -24
- package/src/loaders/buildLocaleMap.test.ts +0 -65
- package/src/loaders/buildLocaleMap.ts +0 -37
- package/src/loaders/buildTextMap.test.ts +0 -54
- package/src/loaders/buildTextMap.ts +0 -38
- package/src/loaders/countryLoader.ts +0 -20
- package/src/loaders/currencyLoader.ts +0 -20
- package/src/loaders/deliveryProviderLoader.ts +0 -20
- package/src/loaders/fileLoader.ts +0 -19
- package/src/loaders/filterLoader.ts +0 -20
- package/src/loaders/filterTextLoader.ts +0 -27
- package/src/loaders/index.ts +0 -80
- package/src/loaders/languageLoader.ts +0 -20
- package/src/loaders/orderLoader.ts +0 -22
- package/src/loaders/paymentProviderLoader.ts +0 -20
- package/src/loaders/productBySKULoader.ts +0 -22
- package/src/loaders/productLoader.ts +0 -22
- package/src/loaders/productMediaTextLoader.ts +0 -24
- package/src/loaders/productMediasLoader.ts +0 -21
- package/src/loaders/productProxiesLoader.ts +0 -37
- package/src/loaders/productTextLoader.ts +0 -22
- package/src/loaders/productVariationByKeyLoader.ts +0 -20
- package/src/loaders/productVariationLoader.ts +0 -19
- package/src/loaders/productVariationTextLoader.ts +0 -37
- package/src/loaders/quotationLoader.ts +0 -19
- package/src/loaders/userLoader.ts +0 -23
- package/src/loaders/utils.ts +0 -35
- package/src/loaders/warehousingProviderLoader.ts +0 -22
- package/src/locale-context.ts +0 -73
- package/src/mcp/README.md +0 -25
- package/src/mcp/index.ts +0 -37
- package/src/mcp/resources/localization.ts +0 -114
- package/src/mcp/tools/assortment/assortmentManagement.ts +0 -34
- package/src/mcp/tools/assortment/handlers/addAssortmentFilter.ts +0 -23
- package/src/mcp/tools/assortment/handlers/addAssortmentLink.ts +0 -34
- package/src/mcp/tools/assortment/handlers/addAssortmentMedia.ts +0 -20
- package/src/mcp/tools/assortment/handlers/addAssortmentProduct.ts +0 -23
- package/src/mcp/tools/assortment/handlers/countAssortments.ts +0 -16
- package/src/mcp/tools/assortment/handlers/createAssortment.ts +0 -18
- package/src/mcp/tools/assortment/handlers/getAssortment.ts +0 -23
- package/src/mcp/tools/assortment/handlers/getAssortmentChildren.ts +0 -22
- package/src/mcp/tools/assortment/handlers/getAssortmentFilters.ts +0 -25
- package/src/mcp/tools/assortment/handlers/getAssortmentLinks.ts +0 -25
- package/src/mcp/tools/assortment/handlers/getAssortmentMedia.ts +0 -27
- package/src/mcp/tools/assortment/handlers/getAssortmentMediaTexts.ts +0 -17
- package/src/mcp/tools/assortment/handlers/getAssortmentProducts.ts +0 -26
- package/src/mcp/tools/assortment/handlers/getAssortmentTexts.ts +0 -14
- package/src/mcp/tools/assortment/handlers/index.ts +0 -61
- package/src/mcp/tools/assortment/handlers/listAssortments.ts +0 -36
- package/src/mcp/tools/assortment/handlers/removeAssortment.ts +0 -14
- package/src/mcp/tools/assortment/handlers/removeAssortmentFilter.ts +0 -10
- package/src/mcp/tools/assortment/handlers/removeAssortmentLink.ts +0 -14
- package/src/mcp/tools/assortment/handlers/removeAssortmentMedia.ts +0 -10
- package/src/mcp/tools/assortment/handlers/removeAssortmentProduct.ts +0 -13
- package/src/mcp/tools/assortment/handlers/reorderAssortmentFilters.ts +0 -22
- package/src/mcp/tools/assortment/handlers/reorderAssortmentLinks.ts +0 -17
- package/src/mcp/tools/assortment/handlers/reorderAssortmentMedia.ts +0 -11
- package/src/mcp/tools/assortment/handlers/reorderAssortmentProducts.ts +0 -22
- package/src/mcp/tools/assortment/handlers/searchAssortmentProducts.ts +0 -49
- package/src/mcp/tools/assortment/handlers/setAssortmentBase.ts +0 -15
- package/src/mcp/tools/assortment/handlers/updateAssortment.ts +0 -26
- package/src/mcp/tools/assortment/handlers/updateAssortmentMediaTexts.ts +0 -21
- package/src/mcp/tools/assortment/handlers/updateAssortmentStatus.ts +0 -18
- package/src/mcp/tools/assortment/index.ts +0 -12
- package/src/mcp/tools/assortment/schemas.ts +0 -343
- package/src/mcp/tools/filter/filterManagement.ts +0 -34
- package/src/mcp/tools/filter/handlers/countFilters.ts +0 -14
- package/src/mcp/tools/filter/handlers/createFilter.ts +0 -27
- package/src/mcp/tools/filter/handlers/createFilterOption.ts +0 -30
- package/src/mcp/tools/filter/handlers/getFilter.ts +0 -14
- package/src/mcp/tools/filter/handlers/getFilterTexts.ts +0 -19
- package/src/mcp/tools/filter/handlers/index.ts +0 -23
- package/src/mcp/tools/filter/handlers/listFilters.ts +0 -28
- package/src/mcp/tools/filter/handlers/removeFilter.ts +0 -22
- package/src/mcp/tools/filter/handlers/removeFilterOption.ts +0 -26
- package/src/mcp/tools/filter/handlers/updateFilter.ts +0 -17
- package/src/mcp/tools/filter/handlers/updateFilterTexts.ts +0 -22
- package/src/mcp/tools/filter/index.ts +0 -12
- package/src/mcp/tools/filter/schemas.ts +0 -177
- package/src/mcp/tools/localization/getLocalizationsConfig.ts +0 -45
- package/src/mcp/tools/localization/handlers/countLocalizations.ts +0 -15
- package/src/mcp/tools/localization/handlers/createLocalization.ts +0 -21
- package/src/mcp/tools/localization/handlers/getLocalization.ts +0 -15
- package/src/mcp/tools/localization/handlers/index.ts +0 -15
- package/src/mcp/tools/localization/handlers/listLocalizations.ts +0 -36
- package/src/mcp/tools/localization/handlers/removeLocalization.ts +0 -15
- package/src/mcp/tools/localization/handlers/updateLocalization.ts +0 -21
- package/src/mcp/tools/localization/index.ts +0 -12
- package/src/mcp/tools/localization/localizationManagement.ts +0 -35
- package/src/mcp/tools/localization/schemas.ts +0 -123
- package/src/mcp/tools/localization/types.ts +0 -39
- package/src/mcp/tools/order/handlers/confirmOrder.ts +0 -18
- package/src/mcp/tools/order/handlers/deliverOrder.ts +0 -42
- package/src/mcp/tools/order/handlers/getMonthlyBreakdown.ts +0 -68
- package/src/mcp/tools/order/handlers/getOrder.ts +0 -13
- package/src/mcp/tools/order/handlers/getSalesSummary.ts +0 -64
- package/src/mcp/tools/order/handlers/getTopCustomers.ts +0 -100
- package/src/mcp/tools/order/handlers/getTopProducts.ts +0 -84
- package/src/mcp/tools/order/handlers/getUserCart.ts +0 -15
- package/src/mcp/tools/order/handlers/index.ts +0 -25
- package/src/mcp/tools/order/handlers/listOrders.ts +0 -52
- package/src/mcp/tools/order/handlers/payOrder.ts +0 -40
- package/src/mcp/tools/order/handlers/rejectOrder.ts +0 -19
- package/src/mcp/tools/order/index.ts +0 -12
- package/src/mcp/tools/order/orderManagement.ts +0 -34
- package/src/mcp/tools/order/schemas.ts +0 -231
- package/src/mcp/tools/product/handlers/addBundleItem.ts +0 -39
- package/src/mcp/tools/product/handlers/addProductAssignment.ts +0 -70
- package/src/mcp/tools/product/handlers/addProductMedia.ts +0 -45
- package/src/mcp/tools/product/handlers/addProductVariationOption.ts +0 -29
- package/src/mcp/tools/product/handlers/countProducts.ts +0 -15
- package/src/mcp/tools/product/handlers/countReviews.ts +0 -14
- package/src/mcp/tools/product/handlers/createProduct.ts +0 -17
- package/src/mcp/tools/product/handlers/createProductVariation.ts +0 -38
- package/src/mcp/tools/product/handlers/getBundleItems.ts +0 -22
- package/src/mcp/tools/product/handlers/getCatalogPrice.ts +0 -33
- package/src/mcp/tools/product/handlers/getMediaTexts.ts +0 -14
- package/src/mcp/tools/product/handlers/getProduct.ts +0 -21
- package/src/mcp/tools/product/handlers/getProductAssignments.ts +0 -31
- package/src/mcp/tools/product/handlers/getProductMedia.ts +0 -19
- package/src/mcp/tools/product/handlers/getProductTexts.ts +0 -13
- package/src/mcp/tools/product/handlers/getReviews.ts +0 -22
- package/src/mcp/tools/product/handlers/getSiblings.ts +0 -20
- package/src/mcp/tools/product/handlers/getVariationProducts.ts +0 -33
- package/src/mcp/tools/product/handlers/getVariationTexts.ts +0 -20
- package/src/mcp/tools/product/handlers/index.ts +0 -71
- package/src/mcp/tools/product/handlers/listProducts.ts +0 -26
- package/src/mcp/tools/product/handlers/removeBundleItem.ts +0 -34
- package/src/mcp/tools/product/handlers/removeProduct.ts +0 -34
- package/src/mcp/tools/product/handlers/removeProductAssignment.ts +0 -26
- package/src/mcp/tools/product/handlers/removeProductMedia.ts +0 -15
- package/src/mcp/tools/product/handlers/removeProductVariation.ts +0 -18
- package/src/mcp/tools/product/handlers/removeProductVariationOption.ts +0 -20
- package/src/mcp/tools/product/handlers/reorderProductMedia.ts +0 -11
- package/src/mcp/tools/product/handlers/simulatePrice.ts +0 -34
- package/src/mcp/tools/product/handlers/simulatePriceRange.ts +0 -46
- package/src/mcp/tools/product/handlers/updateProduct.ts +0 -86
- package/src/mcp/tools/product/handlers/updateProductMediaTexts.ts +0 -21
- package/src/mcp/tools/product/handlers/updateProductStatus.ts +0 -25
- package/src/mcp/tools/product/handlers/updateProductTexts.ts +0 -16
- package/src/mcp/tools/product/handlers/updateProductVariationTexts.ts +0 -22
- package/src/mcp/tools/product/index.ts +0 -12
- package/src/mcp/tools/product/productManagement.ts +0 -34
- package/src/mcp/tools/product/schemas.ts +0 -495
- package/src/mcp/tools/provider/handlers/createProvider.ts +0 -21
- package/src/mcp/tools/provider/handlers/getProvider.ts +0 -18
- package/src/mcp/tools/provider/handlers/getProviderInterfaces.ts +0 -25
- package/src/mcp/tools/provider/handlers/index.ts +0 -15
- package/src/mcp/tools/provider/handlers/listProviders.ts +0 -18
- package/src/mcp/tools/provider/handlers/removeProvider.ts +0 -14
- package/src/mcp/tools/provider/handlers/updateProvider.ts +0 -30
- package/src/mcp/tools/provider/index.ts +0 -12
- package/src/mcp/tools/provider/providerManagement.ts +0 -35
- package/src/mcp/tools/provider/schemas.ts +0 -154
- package/src/mcp/tools/provider/utils/getProviderConfig.ts +0 -44
- package/src/mcp/tools/quotation/handlers/countQuotations.ts +0 -8
- package/src/mcp/tools/quotation/handlers/getQuotation.ts +0 -8
- package/src/mcp/tools/quotation/handlers/index.ts +0 -15
- package/src/mcp/tools/quotation/handlers/listQuotations.ts +0 -14
- package/src/mcp/tools/quotation/handlers/makeQuotationProposal.ts +0 -23
- package/src/mcp/tools/quotation/handlers/rejectQuotation.ts +0 -21
- package/src/mcp/tools/quotation/handlers/verifyQuotation.ts +0 -21
- package/src/mcp/tools/quotation/index.ts +0 -12
- package/src/mcp/tools/quotation/quotationManagement.ts +0 -34
- package/src/mcp/tools/quotation/schemas.ts +0 -136
- package/src/mcp/tools/system/handlers/activeWorkTypes.ts +0 -13
- package/src/mcp/tools/system/handlers/addWork.ts +0 -17
- package/src/mcp/tools/system/handlers/allocateWork.ts +0 -19
- package/src/mcp/tools/system/handlers/countEvents.ts +0 -9
- package/src/mcp/tools/system/handlers/countWork.ts +0 -13
- package/src/mcp/tools/system/handlers/finishWork.ts +0 -18
- package/src/mcp/tools/system/handlers/getEvent.ts +0 -9
- package/src/mcp/tools/system/handlers/getEventsStatistics.ts +0 -8
- package/src/mcp/tools/system/handlers/getShopInfo.ts +0 -20
- package/src/mcp/tools/system/handlers/getWork.ts +0 -17
- package/src/mcp/tools/system/handlers/getWorkStatistics.ts +0 -15
- package/src/mcp/tools/system/handlers/index.ts +0 -33
- package/src/mcp/tools/system/handlers/listEvents.ts +0 -18
- package/src/mcp/tools/system/handlers/listWork.ts +0 -24
- package/src/mcp/tools/system/handlers/processNextWork.ts +0 -17
- package/src/mcp/tools/system/handlers/removeWork.ts +0 -17
- package/src/mcp/tools/system/index.ts +0 -13
- package/src/mcp/tools/system/schemas.ts +0 -341
- package/src/mcp/tools/system/systemManagement.ts +0 -28
- package/src/mcp/tools/system/types.ts +0 -46
- package/src/mcp/tools/users/handlers/addUserEmail.ts +0 -12
- package/src/mcp/tools/users/handlers/countUsers.ts +0 -16
- package/src/mcp/tools/users/handlers/createUser.ts +0 -44
- package/src/mcp/tools/users/handlers/enrollUser.ts +0 -19
- package/src/mcp/tools/users/handlers/getCurrentUser.ts +0 -7
- package/src/mcp/tools/users/handlers/getUser.ts +0 -13
- package/src/mcp/tools/users/handlers/getUserAvatar.ts +0 -18
- package/src/mcp/tools/users/handlers/getUserBookmarks.ts +0 -16
- package/src/mcp/tools/users/handlers/getUserEnrollments.ts +0 -25
- package/src/mcp/tools/users/handlers/getUserOrders.ts +0 -31
- package/src/mcp/tools/users/handlers/getUserPaymentCredentials.ts +0 -20
- package/src/mcp/tools/users/handlers/getUserQuotations.ts +0 -32
- package/src/mcp/tools/users/handlers/getUserReviews.ts +0 -22
- package/src/mcp/tools/users/handlers/getUserReviewsCount.ts +0 -15
- package/src/mcp/tools/users/handlers/index.ts +0 -49
- package/src/mcp/tools/users/handlers/listUsers.ts +0 -29
- package/src/mcp/tools/users/handlers/removeProductReviews.ts +0 -12
- package/src/mcp/tools/users/handlers/removeUser.ts +0 -17
- package/src/mcp/tools/users/handlers/removeUserEmail.ts +0 -11
- package/src/mcp/tools/users/handlers/sendEnrollmentEmail.ts +0 -15
- package/src/mcp/tools/users/handlers/sendVerificationEmail.ts +0 -19
- package/src/mcp/tools/users/handlers/setUserTags.ts +0 -11
- package/src/mcp/tools/users/handlers/setUserUsername.ts +0 -11
- package/src/mcp/tools/users/handlers/updateUser.ts +0 -11
- package/src/mcp/tools/users/index.ts +0 -12
- package/src/mcp/tools/users/schemas.ts +0 -280
- package/src/mcp/tools/users/usersManagement.ts +0 -34
- package/src/mcp/utils/getNormalizedAssortmentDetails.ts +0 -58
- package/src/mcp/utils/getNormalizedFilterDetails.ts +0 -23
- package/src/mcp/utils/getNormalizedOrderDetails.ts +0 -77
- package/src/mcp/utils/getNormalizedProductDetails.ts +0 -85
- package/src/mcp/utils/getNormalizedQuotationDetails.ts +0 -38
- package/src/mcp/utils/getNormalizedUserDetails.ts +0 -86
- package/src/mcp/utils/normalizeMediaUrl.ts +0 -29
- package/src/mcp/utils/normalizeProxyAssignments.ts +0 -29
- package/src/mcp/utils/orderFilters.ts +0 -52
- package/src/mcp/utils/sanitizeLocalizationEntityData.ts +0 -26
- package/src/mcp/utils/sharedSchemas.ts +0 -98
- package/src/mcp/utils/validateIsoCode.ts +0 -25
- package/src/mongo-store.ts +0 -500
- package/src/resolvers/index.ts +0 -23
- package/src/resolvers/mutations/accounts/addEmail.ts +0 -25
- package/src/resolvers/mutations/accounts/addWeb3Address.ts +0 -37
- package/src/resolvers/mutations/accounts/addWebAuthnCredentials.ts +0 -30
- package/src/resolvers/mutations/accounts/changePassword.ts +0 -34
- package/src/resolvers/mutations/accounts/createUser.ts +0 -60
- package/src/resolvers/mutations/accounts/createWebAuthnCredentialCreationOptions.ts +0 -20
- package/src/resolvers/mutations/accounts/createWebAuthnCredentialRequestOptions.ts +0 -28
- package/src/resolvers/mutations/accounts/enrollUser.ts +0 -42
- package/src/resolvers/mutations/accounts/forgotPassword.ts +0 -25
- package/src/resolvers/mutations/accounts/impersonate.ts +0 -28
- package/src/resolvers/mutations/accounts/loginAsGuest.ts +0 -32
- package/src/resolvers/mutations/accounts/loginWithPassword.ts +0 -51
- package/src/resolvers/mutations/accounts/loginWithWebAuthn.ts +0 -44
- package/src/resolvers/mutations/accounts/logout.ts +0 -12
- package/src/resolvers/mutations/accounts/removeEmail.ts +0 -20
- package/src/resolvers/mutations/accounts/removeWeb3Address.ts +0 -30
- package/src/resolvers/mutations/accounts/removeWebAuthnCredentials.ts +0 -28
- package/src/resolvers/mutations/accounts/resetPassword.ts +0 -37
- package/src/resolvers/mutations/accounts/sendEnrollmentEmail.ts +0 -25
- package/src/resolvers/mutations/accounts/sendVerificationEmail.ts +0 -25
- package/src/resolvers/mutations/accounts/setPassword.ts +0 -27
- package/src/resolvers/mutations/accounts/setUsername.ts +0 -27
- package/src/resolvers/mutations/accounts/stopImpersonation.ts +0 -24
- package/src/resolvers/mutations/accounts/verifyEmail.ts +0 -34
- package/src/resolvers/mutations/accounts/verifyWeb3Address.ts +0 -157
- package/src/resolvers/mutations/assortments/addAssortmentFilter.ts +0 -28
- package/src/resolvers/mutations/assortments/addAssortmentLink.ts +0 -48
- package/src/resolvers/mutations/assortments/addAssortmentProduct.ts +0 -31
- package/src/resolvers/mutations/assortments/createAssortment.ts +0 -27
- package/src/resolvers/mutations/assortments/prepareAssortmentMediaUpload.ts +0 -19
- package/src/resolvers/mutations/assortments/removeAssortment.ts +0 -18
- package/src/resolvers/mutations/assortments/removeAssortmentFilter.ts +0 -24
- package/src/resolvers/mutations/assortments/removeAssortmentLink.ts +0 -22
- package/src/resolvers/mutations/assortments/removeAssortmentMedia.ts +0 -25
- package/src/resolvers/mutations/assortments/removeAssortmentProduct.ts +0 -24
- package/src/resolvers/mutations/assortments/reorderAssortmentFilters.ts +0 -14
- package/src/resolvers/mutations/assortments/reorderAssortmentLinks.ts +0 -13
- package/src/resolvers/mutations/assortments/reorderAssortmentMedia.ts +0 -13
- package/src/resolvers/mutations/assortments/reorderAssortmentProducts.ts +0 -13
- package/src/resolvers/mutations/assortments/setBaseAssortment.ts +0 -20
- package/src/resolvers/mutations/assortments/updateAssortment.ts +0 -23
- package/src/resolvers/mutations/assortments/updateAssortmentMediaTexts.ts +0 -24
- package/src/resolvers/mutations/assortments/updateAssortmentTexts.ts +0 -19
- package/src/resolvers/mutations/bookmarks/bookmark.ts +0 -55
- package/src/resolvers/mutations/bookmarks/createBookmark.ts +0 -33
- package/src/resolvers/mutations/bookmarks/removeBookmark.ts +0 -18
- package/src/resolvers/mutations/countries/createCountry.ts +0 -17
- package/src/resolvers/mutations/countries/removeCountry.ts +0 -20
- package/src/resolvers/mutations/countries/updateCountry.ts +0 -21
- package/src/resolvers/mutations/currencies/createCurrency.ts +0 -16
- package/src/resolvers/mutations/currencies/removeCurrency.ts +0 -20
- package/src/resolvers/mutations/currencies/updateCurrency.ts +0 -20
- package/src/resolvers/mutations/delivery/createDeliveryProvider.ts +0 -25
- package/src/resolvers/mutations/delivery/removeDeliveryProvider.ts +0 -18
- package/src/resolvers/mutations/delivery/updateDeliveryProvider.ts +0 -21
- package/src/resolvers/mutations/enrollments/activateEnrollment.ts +0 -32
- package/src/resolvers/mutations/enrollments/createEnrollment.ts +0 -55
- package/src/resolvers/mutations/enrollments/terminateEnrollment.ts +0 -29
- package/src/resolvers/mutations/enrollments/updateEnrollment.ts +0 -75
- package/src/resolvers/mutations/files/confirmMediaUpload.ts +0 -21
- package/src/resolvers/mutations/filters/createFilter.ts +0 -27
- package/src/resolvers/mutations/filters/createFilterOption.ts +0 -28
- package/src/resolvers/mutations/filters/removeFilter.ts +0 -22
- package/src/resolvers/mutations/filters/removeFilterOption.ts +0 -25
- package/src/resolvers/mutations/filters/updateFilter.ts +0 -24
- package/src/resolvers/mutations/filters/updateFilterTexts.ts +0 -26
- package/src/resolvers/mutations/index.ts +0 -328
- package/src/resolvers/mutations/languages/createLanguage.ts +0 -17
- package/src/resolvers/mutations/languages/removeLanguage.ts +0 -20
- package/src/resolvers/mutations/languages/updateLanguage.ts +0 -21
- package/src/resolvers/mutations/orders/addCartDiscount.ts +0 -37
- package/src/resolvers/mutations/orders/addCartProduct.ts +0 -64
- package/src/resolvers/mutations/orders/addCartQuotation.ts +0 -80
- package/src/resolvers/mutations/orders/addMultipleCartProducts.ts +0 -83
- package/src/resolvers/mutations/orders/checkoutCart.ts +0 -42
- package/src/resolvers/mutations/orders/confirmOrder.ts +0 -31
- package/src/resolvers/mutations/orders/createCart.ts +0 -22
- package/src/resolvers/mutations/orders/deliverOrder.ts +0 -48
- package/src/resolvers/mutations/orders/emptyCart.ts +0 -27
- package/src/resolvers/mutations/orders/payOrder.ts +0 -42
- package/src/resolvers/mutations/orders/rejectOrder.ts +0 -30
- package/src/resolvers/mutations/orders/removeCartDiscount.ts +0 -53
- package/src/resolvers/mutations/orders/removeCartItem.ts +0 -37
- package/src/resolvers/mutations/orders/removeOrder.ts +0 -24
- package/src/resolvers/mutations/orders/setOrderDeliveryProvider.ts +0 -25
- package/src/resolvers/mutations/orders/setOrderPaymentProvider.ts +0 -26
- package/src/resolvers/mutations/orders/signPaymentProviderForCheckout.ts +0 -85
- package/src/resolvers/mutations/orders/updateCart.ts +0 -52
- package/src/resolvers/mutations/orders/updateCartDeliveryPickUp.ts +0 -54
- package/src/resolvers/mutations/orders/updateCartDeliveryShipping.ts +0 -54
- package/src/resolvers/mutations/orders/updateCartItem.ts +0 -65
- package/src/resolvers/mutations/orders/updateCartPaymentGeneric.ts +0 -53
- package/src/resolvers/mutations/orders/updateCartPaymentInvoice.ts +0 -53
- package/src/resolvers/mutations/orders/updateOrderDeliveryPickUp.ts +0 -44
- package/src/resolvers/mutations/orders/updateOrderDeliveryShipping.ts +0 -43
- package/src/resolvers/mutations/orders/updateOrderPaymentGeneric.ts +0 -38
- package/src/resolvers/mutations/orders/updateOrderPaymentInvoice.ts +0 -38
- package/src/resolvers/mutations/pageView.ts +0 -13
- package/src/resolvers/mutations/payment/createPaymentProvider.ts +0 -21
- package/src/resolvers/mutations/payment/markPaymentCredentialsPreferred.ts +0 -31
- package/src/resolvers/mutations/payment/registerPaymentCredentials.ts +0 -25
- package/src/resolvers/mutations/payment/removePaymentCredentials.ts +0 -18
- package/src/resolvers/mutations/payment/removePaymentProvider.ts +0 -21
- package/src/resolvers/mutations/payment/signPaymentProviderForCredentialRegistration.ts +0 -32
- package/src/resolvers/mutations/payment/updatePaymentProvider.ts +0 -25
- package/src/resolvers/mutations/products/addProductAssignment.ts +0 -95
- package/src/resolvers/mutations/products/addProductReviewVote.ts +0 -22
- package/src/resolvers/mutations/products/createProduct.ts +0 -18
- package/src/resolvers/mutations/products/createProductBundleItem.ts +0 -43
- package/src/resolvers/mutations/products/createProductReview.ts +0 -27
- package/src/resolvers/mutations/products/createProductVariation.ts +0 -52
- package/src/resolvers/mutations/products/createProductVariationOption.ts +0 -37
- package/src/resolvers/mutations/products/prepareProductMediaUpload.ts +0 -17
- package/src/resolvers/mutations/products/publishProduct.ts +0 -22
- package/src/resolvers/mutations/products/removeBundleItem.ts +0 -28
- package/src/resolvers/mutations/products/removeProduct.ts +0 -42
- package/src/resolvers/mutations/products/removeProductAssignment.ts +0 -30
- package/src/resolvers/mutations/products/removeProductMedia.ts +0 -23
- package/src/resolvers/mutations/products/removeProductReview.ts +0 -22
- package/src/resolvers/mutations/products/removeProductReviewVote.ts +0 -23
- package/src/resolvers/mutations/products/removeProductVariation.ts +0 -22
- package/src/resolvers/mutations/products/removeProductVariationOption.ts +0 -31
- package/src/resolvers/mutations/products/reorderProductMedia.ts +0 -14
- package/src/resolvers/mutations/products/unpublishProduct.ts +0 -22
- package/src/resolvers/mutations/products/updateProduct.ts +0 -21
- package/src/resolvers/mutations/products/updateProductCommerce.ts +0 -29
- package/src/resolvers/mutations/products/updateProductMediaTexts.ts +0 -21
- package/src/resolvers/mutations/products/updateProductPlan.ts +0 -28
- package/src/resolvers/mutations/products/updateProductReview.ts +0 -21
- package/src/resolvers/mutations/products/updateProductSupply.ts +0 -29
- package/src/resolvers/mutations/products/updateProductTexts.ts +0 -20
- package/src/resolvers/mutations/products/updateProductTokenization.ts +0 -28
- package/src/resolvers/mutations/products/updateProductVariationTexts.ts +0 -31
- package/src/resolvers/mutations/products/updateProductWarehousing.ts +0 -30
- package/src/resolvers/mutations/quotations/makeQuotationProposal.ts +0 -26
- package/src/resolvers/mutations/quotations/rejectQuotation.ts +0 -26
- package/src/resolvers/mutations/quotations/requestQuotation.ts +0 -31
- package/src/resolvers/mutations/quotations/verifyQuotation.ts +0 -26
- package/src/resolvers/mutations/users/addPushSubscription.ts +0 -21
- package/src/resolvers/mutations/users/heartbeat.ts +0 -27
- package/src/resolvers/mutations/users/prepareUserAvatarUpload.ts +0 -22
- package/src/resolvers/mutations/users/removePushSubscription.ts +0 -15
- package/src/resolvers/mutations/users/removeUser.ts +0 -23
- package/src/resolvers/mutations/users/removeUserProductReviews.ts +0 -23
- package/src/resolvers/mutations/users/setRoles.ts +0 -19
- package/src/resolvers/mutations/users/setUserTags.ts +0 -19
- package/src/resolvers/mutations/users/updateUserProfile.ts +0 -20
- package/src/resolvers/mutations/warehousing/createWarehousingProvider.ts +0 -25
- package/src/resolvers/mutations/warehousing/exportToken.ts +0 -46
- package/src/resolvers/mutations/warehousing/invalidateToken.ts +0 -48
- package/src/resolvers/mutations/warehousing/removeWarehousingProvider.ts +0 -22
- package/src/resolvers/mutations/warehousing/updateWarehousingProvider.ts +0 -26
- package/src/resolvers/mutations/worker/addWork.ts +0 -11
- package/src/resolvers/mutations/worker/allocateWork.ts +0 -14
- package/src/resolvers/mutations/worker/finishWork.ts +0 -35
- package/src/resolvers/mutations/worker/processNextWork.ts +0 -21
- package/src/resolvers/mutations/worker/removeWork.ts +0 -21
- package/src/resolvers/queries/assortments/assortment.ts +0 -18
- package/src/resolvers/queries/assortments/assortments.ts +0 -23
- package/src/resolvers/queries/assortments/assortmentsCount.ts +0 -18
- package/src/resolvers/queries/assortments/translatedAssortmentMediaTexts.ts +0 -16
- package/src/resolvers/queries/assortments/translatedAssortmentTexts.ts +0 -12
- package/src/resolvers/queries/countries/countries.ts +0 -19
- package/src/resolvers/queries/countries/countriesCount.ts +0 -20
- package/src/resolvers/queries/countries/country.ts +0 -14
- package/src/resolvers/queries/currencies/currencies.ts +0 -18
- package/src/resolvers/queries/currencies/currenciesCount.ts +0 -15
- package/src/resolvers/queries/currencies/currency.ts +0 -15
- package/src/resolvers/queries/delivery/deliveryInterfaces.ts +0 -24
- package/src/resolvers/queries/delivery/deliveryProvider.ts +0 -15
- package/src/resolvers/queries/delivery/deliveryProviders.ts +0 -21
- package/src/resolvers/queries/delivery/deliveryProvidersCount.ts +0 -21
- package/src/resolvers/queries/enrollments/enrollment.ts +0 -15
- package/src/resolvers/queries/enrollments/enrollments.ts +0 -17
- package/src/resolvers/queries/enrollments/enrollmentsCount.ts +0 -13
- package/src/resolvers/queries/events/event.ts +0 -12
- package/src/resolvers/queries/events/eventStatistics.ts +0 -16
- package/src/resolvers/queries/events/events.ts +0 -19
- package/src/resolvers/queries/events/eventsCounts.ts +0 -16
- package/src/resolvers/queries/filters/filter.ts +0 -15
- package/src/resolvers/queries/filters/filters.ts +0 -23
- package/src/resolvers/queries/filters/filtersCount.ts +0 -20
- package/src/resolvers/queries/filters/searchAssortments.ts +0 -13
- package/src/resolvers/queries/filters/searchProducts.ts +0 -42
- package/src/resolvers/queries/filters/translatedFilterTexts.ts +0 -17
- package/src/resolvers/queries/index.ts +0 -150
- package/src/resolvers/queries/languages/language.ts +0 -15
- package/src/resolvers/queries/languages/languages.ts +0 -19
- package/src/resolvers/queries/languages/languagesCount.ts +0 -15
- package/src/resolvers/queries/orders/order.ts +0 -15
- package/src/resolvers/queries/orders/orderStatistics.ts +0 -16
- package/src/resolvers/queries/orders/orders.ts +0 -38
- package/src/resolvers/queries/orders/ordersCount.ts +0 -33
- package/src/resolvers/queries/payment/paymentInterfaces.ts +0 -24
- package/src/resolvers/queries/payment/paymentProvider.ts +0 -17
- package/src/resolvers/queries/payment/paymentProviders.ts +0 -21
- package/src/resolvers/queries/payment/paymentProvidersCount.ts +0 -21
- package/src/resolvers/queries/products/product.ts +0 -15
- package/src/resolvers/queries/products/productCatalogPrices.ts +0 -20
- package/src/resolvers/queries/products/productReview.ts +0 -16
- package/src/resolvers/queries/products/productReviews.ts +0 -22
- package/src/resolvers/queries/products/productReviewsCount.ts +0 -13
- package/src/resolvers/queries/products/products.ts +0 -22
- package/src/resolvers/queries/products/productsCount.ts +0 -17
- package/src/resolvers/queries/products/translatedProductMediaTexts.ts +0 -12
- package/src/resolvers/queries/products/translatedProductTexts.ts +0 -12
- package/src/resolvers/queries/products/translatedProductVariationTexts.ts +0 -18
- package/src/resolvers/queries/quotations/quotation.ts +0 -15
- package/src/resolvers/queries/quotations/quotations.ts +0 -14
- package/src/resolvers/queries/quotations/quotationsCount.ts +0 -13
- package/src/resolvers/queries/shopInfo.ts +0 -83
- package/src/resolvers/queries/users/impersonator.ts +0 -14
- package/src/resolvers/queries/users/me.ts +0 -8
- package/src/resolvers/queries/users/user.ts +0 -12
- package/src/resolvers/queries/users/users.ts +0 -29
- package/src/resolvers/queries/users/usersCount.ts +0 -11
- package/src/resolvers/queries/users/validateResetPasswordToken.ts +0 -16
- package/src/resolvers/queries/users/validateVerifyEmailToken.ts +0 -16
- package/src/resolvers/queries/warehousing/token.ts +0 -17
- package/src/resolvers/queries/warehousing/tokens.ts +0 -20
- package/src/resolvers/queries/warehousing/tokensCount.ts +0 -12
- package/src/resolvers/queries/warehousing/warehousingInterfaces.ts +0 -22
- package/src/resolvers/queries/warehousing/warehousingProvider.ts +0 -17
- package/src/resolvers/queries/warehousing/warehousingProviders.ts +0 -21
- package/src/resolvers/queries/warehousing/warehousingProvidersCount.ts +0 -21
- package/src/resolvers/queries/worker/activeWorkTypes.ts +0 -13
- package/src/resolvers/queries/worker/work.ts +0 -15
- package/src/resolvers/queries/worker/workQueue.ts +0 -42
- package/src/resolvers/queries/worker/workQueueCount.ts +0 -15
- package/src/resolvers/queries/worker/workStatistics.ts +0 -16
- package/src/resolvers/scalars/LowerCaseString.ts +0 -19
- package/src/resolvers/scalars/index.ts +0 -5
- package/src/resolvers/type/assortment/assortment-filter-types.ts +0 -16
- package/src/resolvers/type/assortment/assortment-link-types.ts +0 -25
- package/src/resolvers/type/assortment/assortment-media-types.ts +0 -27
- package/src/resolvers/type/assortment/assortment-path-link-types.ts +0 -25
- package/src/resolvers/type/assortment/assortment-product-types.ts +0 -26
- package/src/resolvers/type/assortment/assortment-types.ts +0 -138
- package/src/resolvers/type/bookmark-types.ts +0 -25
- package/src/resolvers/type/country-types.ts +0 -31
- package/src/resolvers/type/currency-types.ts +0 -5
- package/src/resolvers/type/delivery-provider-interface.ts +0 -55
- package/src/resolvers/type/delivery-provider-pickup-types.ts +0 -12
- package/src/resolvers/type/delivery-provider-shipping-types.ts +0 -5
- package/src/resolvers/type/delivery-provider-types.ts +0 -27
- package/src/resolvers/type/dimensions-types.ts +0 -53
- package/src/resolvers/type/enrollment/enrollment-delivery-types.ts +0 -11
- package/src/resolvers/type/enrollment/enrollment-payment-types.ts +0 -11
- package/src/resolvers/type/enrollment/enrollment-period-types.ts +0 -9
- package/src/resolvers/type/enrollment/enrollment-plan-tyes.ts +0 -10
- package/src/resolvers/type/enrollment/enrollment-types.ts +0 -26
- package/src/resolvers/type/event-types.ts +0 -14
- package/src/resolvers/type/filter/filter-option-types.ts +0 -24
- package/src/resolvers/type/filter/filter-types.ts +0 -19
- package/src/resolvers/type/filter/loaded-filter-option-types.ts +0 -18
- package/src/resolvers/type/filter/loaded-filter-types.ts +0 -58
- package/src/resolvers/type/index.ts +0 -147
- package/src/resolvers/type/language-types.ts +0 -16
- package/src/resolvers/type/login-method-response-types.ts +0 -6
- package/src/resolvers/type/media-types.ts +0 -27
- package/src/resolvers/type/order/order-delivery-discount-types.ts +0 -21
- package/src/resolvers/type/order/order-delivery-pickup-types.ts +0 -56
- package/src/resolvers/type/order/order-delivery-shipping-types.ts +0 -35
- package/src/resolvers/type/order/order-delivery-types.ts +0 -23
- package/src/resolvers/type/order/order-discount-types.ts +0 -32
- package/src/resolvers/type/order/order-discountable-types.ts +0 -38
- package/src/resolvers/type/order/order-global-discount-types.ts +0 -39
- package/src/resolvers/type/order/order-item-discount-types.ts +0 -21
- package/src/resolvers/type/order/order-item-types.ts +0 -156
- package/src/resolvers/type/order/order-payment-card-types.ts +0 -31
- package/src/resolvers/type/order/order-payment-discount-types.ts +0 -24
- package/src/resolvers/type/order/order-payment-generic-types.ts +0 -31
- package/src/resolvers/type/order/order-payment-invoice-types.ts +0 -31
- package/src/resolvers/type/order/order-payment-types.ts +0 -23
- package/src/resolvers/type/order/order-statistics-types.ts +0 -99
- package/src/resolvers/type/order/order-types.ts +0 -99
- package/src/resolvers/type/payment/payment-credentials-types.ts +0 -39
- package/src/resolvers/type/payment/payment-provider-types.ts +0 -63
- package/src/resolvers/type/price-types.ts +0 -44
- package/src/resolvers/type/product/product-assortment-path-types.ts +0 -21
- package/src/resolvers/type/product/product-bundle-item-types.ts +0 -15
- package/src/resolvers/type/product/product-bundle-types.ts +0 -10
- package/src/resolvers/type/product/product-catalog-price-types.ts +0 -34
- package/src/resolvers/type/product/product-configurable-or-bundle-product-types.ts +0 -10
- package/src/resolvers/type/product/product-configurable-types.ts +0 -152
- package/src/resolvers/type/product/product-discount.ts +0 -27
- package/src/resolvers/type/product/product-media-types.ts +0 -27
- package/src/resolvers/type/product/product-plan-types.ts +0 -92
- package/src/resolvers/type/product/product-review-types.ts +0 -37
- package/src/resolvers/type/product/product-simple-types.ts +0 -72
- package/src/resolvers/type/product/product-tokenized-types.ts +0 -72
- package/src/resolvers/type/product/product-types.ts +0 -152
- package/src/resolvers/type/product/product-variation-assignment-types.ts +0 -33
- package/src/resolvers/type/product/product-variation-assignment-vector.ts +0 -40
- package/src/resolvers/type/product/product-variation-option-types.ts +0 -30
- package/src/resolvers/type/product/product-variation-types.ts +0 -37
- package/src/resolvers/type/product-search-result-types.ts +0 -71
- package/src/resolvers/type/quotation-types.ts +0 -26
- package/src/resolvers/type/shop-types.ts +0 -34
- package/src/resolvers/type/token-types.ts +0 -74
- package/src/resolvers/type/user-types.ts +0 -294
- package/src/resolvers/type/warehousing-provider-types.ts +0 -33
- package/src/resolvers/type/web3-address.ts +0 -5
- package/src/resolvers/type/webauthn-credentials-types.ts +0 -39
- package/src/resolvers/type/work-types.ts +0 -45
- package/src/roles/admin.ts +0 -5
- package/src/roles/all.ts +0 -170
- package/src/roles/index.ts +0 -153
- package/src/roles/loggedIn.ts +0 -252
- package/src/schema/directives.ts +0 -10
- package/src/schema/index.ts +0 -29
- package/src/schema/inputTypes.ts +0 -266
- package/src/schema/mutation.ts +0 -916
- package/src/schema/query.ts +0 -518
- package/src/schema/scalars.ts +0 -10
- package/src/schema/types/address.ts +0 -15
- package/src/schema/types/assortment.ts +0 -99
- package/src/schema/types/bookmark.ts +0 -10
- package/src/schema/types/color.ts +0 -11
- package/src/schema/types/contact.ts +0 -8
- package/src/schema/types/country.ts +0 -16
- package/src/schema/types/currency.ts +0 -11
- package/src/schema/types/delivery.ts +0 -83
- package/src/schema/types/dimensions.ts +0 -22
- package/src/schema/types/discount.ts +0 -11
- package/src/schema/types/dispatch.ts +0 -10
- package/src/schema/types/enrollment.ts +0 -68
- package/src/schema/types/events.ts +0 -25
- package/src/schema/types/files.ts +0 -9
- package/src/schema/types/filter.ts +0 -63
- package/src/schema/types/geo-position.ts +0 -9
- package/src/schema/types/index.ts +0 -63
- package/src/schema/types/language.ts +0 -15
- package/src/schema/types/media.ts +0 -11
- package/src/schema/types/order/delivery.ts +0 -51
- package/src/schema/types/order/discount.ts +0 -59
- package/src/schema/types/order/index.ts +0 -8
- package/src/schema/types/order/item.ts +0 -35
- package/src/schema/types/order/order.ts +0 -102
- package/src/schema/types/order/payment.ts +0 -56
- package/src/schema/types/order/pick-up-location.ts +0 -10
- package/src/schema/types/payment.ts +0 -56
- package/src/schema/types/price.ts +0 -15
- package/src/schema/types/product/bundle-product.ts +0 -51
- package/src/schema/types/product/configurable-product.ts +0 -120
- package/src/schema/types/product/index.ts +0 -15
- package/src/schema/types/product/plan-product.ts +0 -74
- package/src/schema/types/product/product.ts +0 -139
- package/src/schema/types/product/simple-product.ts +0 -56
- package/src/schema/types/product/tokenized-product.ts +0 -66
- package/src/schema/types/quotation.ts +0 -62
- package/src/schema/types/search.ts +0 -32
- package/src/schema/types/shop.ts +0 -43
- package/src/schema/types/stock.ts +0 -9
- package/src/schema/types/types.ts +0 -12
- package/src/schema/types/user.ts +0 -142
- package/src/schema/types/warehousing.ts +0 -65
- package/src/schema/types/worker.ts +0 -75
- package/tests/api-index.test.ts +0 -86
- package/tsconfig.json +0 -9
package/src/roles/all.ts
DELETED
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import { Context } from '../context.js';
|
|
2
|
-
|
|
3
|
-
export const all = (role, actions) => {
|
|
4
|
-
const isInLoginMutationResponse = (root) => {
|
|
5
|
-
if (root && root._inLoginMethodResponse) {
|
|
6
|
-
return true;
|
|
7
|
-
}
|
|
8
|
-
return false;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
const isOwnedToken = async (root: any, params: { tokenId: string } | null, context: Context) => {
|
|
12
|
-
const { modules, userId, user } = context;
|
|
13
|
-
|
|
14
|
-
const tokenId = params?.tokenId || (root && 'tokenSerialNumber' in root && root._id) || null;
|
|
15
|
-
|
|
16
|
-
const token = await modules.warehousing.findToken({ tokenId });
|
|
17
|
-
if (!token) return true;
|
|
18
|
-
|
|
19
|
-
const isOwnedByUser =
|
|
20
|
-
token.userId === userId ||
|
|
21
|
-
user?.services?.web3?.some((service) => {
|
|
22
|
-
return service.address === token.walletAddress && service.verified;
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
if (isOwnedByUser) return true;
|
|
26
|
-
|
|
27
|
-
const accessKeyHeader = context.getHeader('x-token-accesskey');
|
|
28
|
-
const accessKey = await context.modules.warehousing.buildAccessKeyForToken(tokenId);
|
|
29
|
-
if (accessKeyHeader && accessKeyHeader === accessKey) return true;
|
|
30
|
-
|
|
31
|
-
return false;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
const isUsersCollectionEmpty = async (_: never, params: never, context: Context) => {
|
|
35
|
-
const count = await context.modules.users.count({
|
|
36
|
-
includeDeleted: true,
|
|
37
|
-
includeGuests: true,
|
|
38
|
-
});
|
|
39
|
-
if (count === 0) return true;
|
|
40
|
-
return false;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
const isFilePublic = async (file) => {
|
|
44
|
-
// Non private files or no files always resolve to true
|
|
45
|
-
if (!file?.meta?.isPrivate) return true;
|
|
46
|
-
return false;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
role.allow(actions.viewEvent, () => false);
|
|
50
|
-
role.allow(actions.viewEvents, () => false);
|
|
51
|
-
role.allow(actions.viewUser, () => false);
|
|
52
|
-
role.allow(actions.viewUsers, () => false);
|
|
53
|
-
role.allow(actions.viewUserCount, isUsersCollectionEmpty);
|
|
54
|
-
role.allow(actions.viewPaymentProviders, () => false);
|
|
55
|
-
role.allow(actions.viewPaymentProvider, () => false);
|
|
56
|
-
role.allow(actions.viewPaymentInterfaces, () => false);
|
|
57
|
-
role.allow(actions.viewDeliveryProviders, () => false);
|
|
58
|
-
role.allow(actions.viewDeliveryProvider, () => false);
|
|
59
|
-
role.allow(actions.viewDeliveryInterfaces, () => false);
|
|
60
|
-
role.allow(actions.viewWarehousingProviders, () => false);
|
|
61
|
-
role.allow(actions.viewWarehousingProvider, () => false);
|
|
62
|
-
role.allow(actions.viewWarehousingInterfaces, () => false);
|
|
63
|
-
role.allow(actions.viewOrders, () => false);
|
|
64
|
-
role.allow(actions.sendEmail, () => false);
|
|
65
|
-
role.allow(actions.updateUser, () => false);
|
|
66
|
-
role.allow(actions.updateUsername, () => false);
|
|
67
|
-
role.allow(actions.manageLanguages, () => false);
|
|
68
|
-
role.allow(actions.manageCountries, () => false);
|
|
69
|
-
role.allow(actions.manageProducts, () => false);
|
|
70
|
-
role.allow(actions.manageCurrencies, () => false);
|
|
71
|
-
role.allow(actions.managePaymentProviders, () => false);
|
|
72
|
-
role.allow(actions.manageDeliveryProviders, () => false);
|
|
73
|
-
role.allow(actions.manageWarehousingProviders, () => false);
|
|
74
|
-
role.allow(actions.manageAssortments, () => false);
|
|
75
|
-
role.allow(actions.manageFilters, () => false);
|
|
76
|
-
role.allow(actions.manageUsers, () => false);
|
|
77
|
-
role.allow(actions.enrollUser, () => false);
|
|
78
|
-
role.allow(actions.updateCart, () => false);
|
|
79
|
-
role.allow(actions.createCart, () => false);
|
|
80
|
-
role.allow(actions.checkoutCart, () => false);
|
|
81
|
-
role.allow(actions.updateOrder, () => false);
|
|
82
|
-
role.allow(actions.updateOrderDiscount, () => false);
|
|
83
|
-
role.allow(actions.updateOrderItem, () => false);
|
|
84
|
-
role.allow(actions.updateOrderDelivery, () => false);
|
|
85
|
-
role.allow(actions.updateOrderPayment, () => false);
|
|
86
|
-
role.allow(actions.markOrderConfirmed, () => false);
|
|
87
|
-
role.allow(actions.confirmMediaUpload, () => false);
|
|
88
|
-
role.allow(actions.markOrderRejected, () => false);
|
|
89
|
-
role.allow(actions.markOrderPaid, () => false);
|
|
90
|
-
role.allow(actions.markOrderDelivered, () => false);
|
|
91
|
-
role.allow(actions.reviewProduct, () => false);
|
|
92
|
-
role.allow(actions.updateProductReview, () => false);
|
|
93
|
-
role.allow(actions.manageProductReviews, () => false);
|
|
94
|
-
role.allow(actions.requestQuotation, () => false);
|
|
95
|
-
role.allow(actions.viewQuotations, () => false);
|
|
96
|
-
role.allow(actions.manageQuotations, () => false);
|
|
97
|
-
role.allow(actions.answerQuotation, () => false);
|
|
98
|
-
role.allow(actions.manageBookmarks, () => false);
|
|
99
|
-
role.allow(actions.bookmarkProduct, () => false);
|
|
100
|
-
role.allow(actions.voteProductReview, () => false);
|
|
101
|
-
role.allow(actions.manageWorker, () => false);
|
|
102
|
-
role.allow(actions.viewWorkQueue, () => false);
|
|
103
|
-
role.allow(actions.viewWork, () => false);
|
|
104
|
-
role.allow(actions.viewEnrollment, () => false);
|
|
105
|
-
role.allow(actions.viewEnrollments, () => false);
|
|
106
|
-
role.allow(actions.updateEnrollment, () => false);
|
|
107
|
-
role.allow(actions.createEnrollment, () => false);
|
|
108
|
-
role.allow(actions.registerPaymentCredentials, () => false);
|
|
109
|
-
role.allow(actions.managePaymentCredentials, () => false);
|
|
110
|
-
role.allow(actions.bulkImport, () => false);
|
|
111
|
-
role.allow(actions.viewOrder, () => false);
|
|
112
|
-
role.allow(actions.viewQuotation, () => false);
|
|
113
|
-
role.allow(actions.viewEnrollment, () => false);
|
|
114
|
-
role.allow(actions.viewTokens, () => false);
|
|
115
|
-
role.allow(actions.viewStatistics, () => false);
|
|
116
|
-
role.allow(actions.uploadUserAvatar, () => false);
|
|
117
|
-
role.allow(actions.uploadTempFile, () => false);
|
|
118
|
-
role.allow(actions.impersonate, () => false);
|
|
119
|
-
role.allow(actions.viewTranslations, () => false);
|
|
120
|
-
|
|
121
|
-
// special case: when doing a login mutation, the user is not logged in technically yet,
|
|
122
|
-
// but should be able to see user data of the user that is about to be logged in
|
|
123
|
-
role.allow(actions.viewLogs, isInLoginMutationResponse);
|
|
124
|
-
role.allow(actions.viewUserRoles, isInLoginMutationResponse);
|
|
125
|
-
role.allow(actions.viewUserOrders, isInLoginMutationResponse);
|
|
126
|
-
role.allow(actions.viewUserTokens, isInLoginMutationResponse);
|
|
127
|
-
role.allow(actions.viewUserQuotations, isInLoginMutationResponse);
|
|
128
|
-
role.allow(actions.viewUserPrivateInfos, isInLoginMutationResponse);
|
|
129
|
-
role.allow(actions.viewUserEnrollments, isInLoginMutationResponse);
|
|
130
|
-
role.allow(actions.viewUserProductReviews, isInLoginMutationResponse);
|
|
131
|
-
|
|
132
|
-
// special case: access to token sometimes works via a X-Token-AccessKey Header and thus should also be allowed for anonymous users
|
|
133
|
-
role.allow(actions.updateToken, isOwnedToken);
|
|
134
|
-
role.allow(actions.viewToken, isOwnedToken);
|
|
135
|
-
|
|
136
|
-
// special case: access to file downloads should work when meta.isPrivate is not set
|
|
137
|
-
role.allow(actions.downloadFile, isFilePublic);
|
|
138
|
-
|
|
139
|
-
// only allow if query is not demanding for drafts or inactive item lists
|
|
140
|
-
role.allow(actions.viewProducts, (root, { includeDrafts }) => !includeDrafts);
|
|
141
|
-
role.allow(actions.viewAssortments, (root, { includeInactive }) => !includeInactive);
|
|
142
|
-
role.allow(actions.viewCountries, (root, { includeInactive }) => !includeInactive);
|
|
143
|
-
role.allow(actions.viewCurrencies, (root, { includeInactive }) => !includeInactive);
|
|
144
|
-
role.allow(actions.viewFilters, (root, { includeInactive }) => !includeInactive);
|
|
145
|
-
role.allow(actions.viewLanguages, (root, { includeInactive }) => !includeInactive);
|
|
146
|
-
role.allow(actions.search, (root, { includeInactive }) => !includeInactive);
|
|
147
|
-
|
|
148
|
-
// public
|
|
149
|
-
role.allow(actions.viewUserPublicInfos, () => true);
|
|
150
|
-
role.allow(actions.viewProduct, () => true);
|
|
151
|
-
role.allow(actions.viewLanguage, () => true);
|
|
152
|
-
role.allow(actions.viewCountry, () => true);
|
|
153
|
-
role.allow(actions.viewCurrency, () => true);
|
|
154
|
-
role.allow(actions.viewShopInfo, () => true);
|
|
155
|
-
role.allow(actions.viewAssortment, () => true);
|
|
156
|
-
role.allow(actions.viewFilter, () => true);
|
|
157
|
-
role.allow(actions.logout, () => true);
|
|
158
|
-
role.allow(actions.stopImpersonation, () => true);
|
|
159
|
-
role.allow(actions.loginAsGuest, () => true);
|
|
160
|
-
role.allow(actions.loginWithPassword, () => true);
|
|
161
|
-
role.allow(actions.loginWithWebAuthn, () => true);
|
|
162
|
-
role.allow(actions.verifyEmail, () => true);
|
|
163
|
-
role.allow(actions.useWebAuthn, () => true);
|
|
164
|
-
role.allow(actions.pageView, () => true);
|
|
165
|
-
role.allow(actions.createUser, () => true);
|
|
166
|
-
role.allow(actions.forgotPassword, () => true);
|
|
167
|
-
role.allow(actions.resetPassword, () => true);
|
|
168
|
-
role.allow(actions.changePassword, () => true);
|
|
169
|
-
role.allow(actions.heartbeat, () => true);
|
|
170
|
-
};
|
package/src/roles/index.ts
DELETED
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { Roles, Role } from '@unchainedshop/roles';
|
|
2
|
-
import { all } from './all.js';
|
|
3
|
-
import { loggedIn } from './loggedIn.js';
|
|
4
|
-
import { admin } from './admin.js';
|
|
5
|
-
|
|
6
|
-
const roles = {
|
|
7
|
-
ADMIN: Roles.adminRole,
|
|
8
|
-
LOGGEDIN: Roles.loggedInRole,
|
|
9
|
-
ALL: Roles.allRole,
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
const allRoles = roles;
|
|
13
|
-
|
|
14
|
-
const actions: Record<string, string> = [
|
|
15
|
-
'impersonate',
|
|
16
|
-
'stopImpersonation',
|
|
17
|
-
'viewEvent',
|
|
18
|
-
'viewEvents',
|
|
19
|
-
'viewUserRoles',
|
|
20
|
-
'viewUserOrders',
|
|
21
|
-
'viewUserQuotations',
|
|
22
|
-
'viewUserPublicInfos',
|
|
23
|
-
'viewUserPrivateInfos',
|
|
24
|
-
'viewUserEnrollments',
|
|
25
|
-
'viewUserTokens',
|
|
26
|
-
'viewLogs',
|
|
27
|
-
'viewUser',
|
|
28
|
-
'viewUsers',
|
|
29
|
-
'viewUserCount',
|
|
30
|
-
'viewProduct',
|
|
31
|
-
'viewProducts',
|
|
32
|
-
'viewLanguages',
|
|
33
|
-
'viewLanguage',
|
|
34
|
-
'viewCountries',
|
|
35
|
-
'viewCountry',
|
|
36
|
-
'viewCurrencies',
|
|
37
|
-
'viewCurrency',
|
|
38
|
-
'viewPaymentProviders',
|
|
39
|
-
'viewPaymentProvider',
|
|
40
|
-
'viewPaymentInterfaces',
|
|
41
|
-
'viewDeliveryProviders',
|
|
42
|
-
'viewDeliveryProvider',
|
|
43
|
-
'viewDeliveryInterfaces',
|
|
44
|
-
'viewWarehousingProviders',
|
|
45
|
-
'viewWarehousingProvider',
|
|
46
|
-
'viewWarehousingInterfaces',
|
|
47
|
-
'viewTranslations',
|
|
48
|
-
'viewOrders',
|
|
49
|
-
'viewOrder',
|
|
50
|
-
'viewShopInfo',
|
|
51
|
-
'updateUser',
|
|
52
|
-
'updateUsername',
|
|
53
|
-
'sendEmail',
|
|
54
|
-
'manageUsers',
|
|
55
|
-
'enrollUser',
|
|
56
|
-
'manageLanguages',
|
|
57
|
-
'manageCountries',
|
|
58
|
-
'manageProducts',
|
|
59
|
-
'manageCurrencies',
|
|
60
|
-
'managePaymentProviders',
|
|
61
|
-
'manageDeliveryProviders',
|
|
62
|
-
'manageWarehousingProviders',
|
|
63
|
-
'updateToken',
|
|
64
|
-
'viewToken',
|
|
65
|
-
'viewTokens',
|
|
66
|
-
'manageAssortments',
|
|
67
|
-
'manageFilters',
|
|
68
|
-
'createCart',
|
|
69
|
-
'createEnrollment',
|
|
70
|
-
'updateEnrollment',
|
|
71
|
-
'updateCart',
|
|
72
|
-
'checkoutCart',
|
|
73
|
-
'updateOrder',
|
|
74
|
-
'updateOrderDelivery',
|
|
75
|
-
'updateOrderPayment',
|
|
76
|
-
'updateOrderDiscount',
|
|
77
|
-
'updateOrderItem',
|
|
78
|
-
'markOrderConfirmed',
|
|
79
|
-
'markOrderRejected',
|
|
80
|
-
'markOrderPaid',
|
|
81
|
-
'markOrderDelivered',
|
|
82
|
-
'viewAssortments',
|
|
83
|
-
'viewAssortment',
|
|
84
|
-
'viewFilter',
|
|
85
|
-
'viewFilters',
|
|
86
|
-
'reviewProduct',
|
|
87
|
-
'updateProductReview',
|
|
88
|
-
'manageProductReviews',
|
|
89
|
-
'voteProductReview',
|
|
90
|
-
'requestQuotation',
|
|
91
|
-
'viewQuotations',
|
|
92
|
-
'viewQuotation',
|
|
93
|
-
'manageQuotations',
|
|
94
|
-
'answerQuotation',
|
|
95
|
-
'bookmarkProduct',
|
|
96
|
-
'manageBookmarks',
|
|
97
|
-
'search',
|
|
98
|
-
'manageWorker',
|
|
99
|
-
'viewWorkQueue',
|
|
100
|
-
'viewWork',
|
|
101
|
-
'viewEnrollments',
|
|
102
|
-
'viewEnrollment',
|
|
103
|
-
'registerPaymentCredentials',
|
|
104
|
-
'managePaymentCredentials',
|
|
105
|
-
'bulkImport',
|
|
106
|
-
'logout',
|
|
107
|
-
'loginAsGuest',
|
|
108
|
-
'loginWithPassword',
|
|
109
|
-
'loginWithWebAuthn',
|
|
110
|
-
'verifyEmail',
|
|
111
|
-
'useWebAuthn',
|
|
112
|
-
'pageView',
|
|
113
|
-
'createUser',
|
|
114
|
-
'forgotPassword',
|
|
115
|
-
'resetPassword',
|
|
116
|
-
'changePassword',
|
|
117
|
-
'viewUserProductReviews',
|
|
118
|
-
'heartbeat',
|
|
119
|
-
'confirmMediaUpload',
|
|
120
|
-
'viewStatistics',
|
|
121
|
-
'removeUser',
|
|
122
|
-
'downloadFile',
|
|
123
|
-
'uploadUserAvatar',
|
|
124
|
-
'uploadTempFile',
|
|
125
|
-
].reduce((oldValue, actionValue) => {
|
|
126
|
-
const newValue = oldValue;
|
|
127
|
-
newValue[actionValue] = actionValue;
|
|
128
|
-
return newValue;
|
|
129
|
-
}, {});
|
|
130
|
-
|
|
131
|
-
const configureRoles = ({
|
|
132
|
-
additionalRoles,
|
|
133
|
-
additionalActions,
|
|
134
|
-
}: {
|
|
135
|
-
additionalRoles?: Record<string, any>;
|
|
136
|
-
additionalActions?: string[];
|
|
137
|
-
}) => {
|
|
138
|
-
additionalActions?.forEach((action) => {
|
|
139
|
-
actions[action] = action;
|
|
140
|
-
});
|
|
141
|
-
Object.entries(additionalRoles || {}).forEach(([key, val]: [string, any]) => {
|
|
142
|
-
allRoles[key] = new Role(key);
|
|
143
|
-
val(allRoles[key], actions);
|
|
144
|
-
});
|
|
145
|
-
|
|
146
|
-
all(allRoles.ALL, actions);
|
|
147
|
-
loggedIn(allRoles.LOGGEDIN, actions);
|
|
148
|
-
admin(allRoles.ADMIN, actions);
|
|
149
|
-
|
|
150
|
-
return allRoles;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
export { allRoles, actions, configureRoles };
|
package/src/roles/loggedIn.ts
DELETED
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
import { Context } from '../context.js';
|
|
2
|
-
import { User } from '@unchainedshop/core-users';
|
|
3
|
-
|
|
4
|
-
export const loggedIn = (role: any, actions: Record<string, string>) => {
|
|
5
|
-
const isMyself = (user: User, params: { userId?: string } = {}, ownUser: { userId?: string } = {}) => {
|
|
6
|
-
// user wants to access a field of a user
|
|
7
|
-
if (user && !params.userId) {
|
|
8
|
-
return user._id === ownUser.userId;
|
|
9
|
-
}
|
|
10
|
-
if (params.userId) {
|
|
11
|
-
// user wants to access a user object by userId
|
|
12
|
-
return params.userId === ownUser.userId;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// user wants to access himself
|
|
16
|
-
return true;
|
|
17
|
-
};
|
|
18
|
-
const canUpdateAvatar = (_, params: { userId?: string } = {}, context: Context) => {
|
|
19
|
-
const isVerified = context?.user?.emails.some(({ verified }) => verified);
|
|
20
|
-
if (!isVerified) return false;
|
|
21
|
-
if (params?.userId) {
|
|
22
|
-
return params?.userId === context?.userId;
|
|
23
|
-
}
|
|
24
|
-
return true;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const isOwnedEmailAddress = (obj: any, params: { email?: string }, { user }: Context) => {
|
|
28
|
-
return user?.emails?.some(
|
|
29
|
-
(emailRecord) => emailRecord.address?.toLowerCase() === params.email?.toLowerCase(),
|
|
30
|
-
);
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
const isOwnedOrder = async (obj: any, params: { orderId: string }, { modules, userId }: Context) => {
|
|
34
|
-
const order = await modules.orders.findOrder(
|
|
35
|
-
{ orderId: params.orderId },
|
|
36
|
-
{
|
|
37
|
-
projection: {
|
|
38
|
-
userId: 1,
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
);
|
|
42
|
-
if (!order) return true;
|
|
43
|
-
return order.userId === userId;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
const isOwnedOrderOrCart = async (obj: any, params: { orderId?: string }, context: Context) => {
|
|
47
|
-
if (params.orderId) {
|
|
48
|
-
return isOwnedOrder(null, { orderId: params.orderId }, context);
|
|
49
|
-
}
|
|
50
|
-
return true;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
const isOwnedEnrollment = async (
|
|
54
|
-
obj: any,
|
|
55
|
-
params: { enrollmentId: string },
|
|
56
|
-
{ modules, userId }: Context,
|
|
57
|
-
) => {
|
|
58
|
-
const enrollment = await modules.enrollments.findEnrollment(
|
|
59
|
-
{ enrollmentId: params.enrollmentId },
|
|
60
|
-
{
|
|
61
|
-
projection: {
|
|
62
|
-
userId: 1,
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
);
|
|
66
|
-
if (!enrollment) return true;
|
|
67
|
-
return enrollment.userId === userId;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
const isOwnedOrderPayment = async (obj: any, params: { orderPaymentId: string }, context: Context) => {
|
|
71
|
-
const payment = await context.modules.orders.payments.findOrderPayment(
|
|
72
|
-
{ orderPaymentId: params.orderPaymentId },
|
|
73
|
-
{
|
|
74
|
-
projection: {
|
|
75
|
-
orderId: 1,
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
);
|
|
79
|
-
// return true if db entity not found in order
|
|
80
|
-
// to let the resolver throw a good exception
|
|
81
|
-
if (!payment) return true;
|
|
82
|
-
const orderId = payment?.orderId;
|
|
83
|
-
return isOwnedOrder(null, { orderId }, context);
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
const isOwnedOrderDelivery = async (
|
|
87
|
-
obj: any,
|
|
88
|
-
params: { orderDeliveryId: string },
|
|
89
|
-
context: Context,
|
|
90
|
-
) => {
|
|
91
|
-
const delivery = await context.modules.orders.deliveries.findDelivery(
|
|
92
|
-
{ orderDeliveryId: params.orderDeliveryId },
|
|
93
|
-
{
|
|
94
|
-
projection: {
|
|
95
|
-
orderId: 1,
|
|
96
|
-
},
|
|
97
|
-
},
|
|
98
|
-
);
|
|
99
|
-
// return true if db entity not found in order
|
|
100
|
-
// to let the resolver throw a good exception
|
|
101
|
-
if (!delivery) return true;
|
|
102
|
-
const orderId = delivery && delivery.orderId;
|
|
103
|
-
return isOwnedOrder(null, { orderId }, context);
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
const isOwnedOrderItem = async (obj: any, params: { itemId: string }, context: Context) => {
|
|
107
|
-
const item = await context.modules.orders.positions.findOrderPosition(
|
|
108
|
-
{ itemId: params.itemId },
|
|
109
|
-
{
|
|
110
|
-
projection: {
|
|
111
|
-
orderId: 1,
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
);
|
|
115
|
-
// return true if db entity not found in order
|
|
116
|
-
// to let the resolver throw a good exception
|
|
117
|
-
if (!item) return true;
|
|
118
|
-
const orderId = item && item.orderId;
|
|
119
|
-
return isOwnedOrder(null, { orderId }, context);
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
const isOwnedOrderDiscount = async (obj: any, params: { discountId: string }, context: Context) => {
|
|
123
|
-
const discount = await context.modules.orders.discounts.findOrderDiscount(
|
|
124
|
-
{ discountId: params.discountId },
|
|
125
|
-
{
|
|
126
|
-
projection: {
|
|
127
|
-
orderId: 1,
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
);
|
|
131
|
-
// return true if db entity not found in order
|
|
132
|
-
// to let the resolver throw a good exception
|
|
133
|
-
if (!discount) return true;
|
|
134
|
-
const orderId = discount && discount.orderId;
|
|
135
|
-
return isOwnedOrder(null, { orderId }, context);
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
const isOwnedProductReview = async (
|
|
139
|
-
obj: any,
|
|
140
|
-
params: { productReviewId: string },
|
|
141
|
-
context: Context,
|
|
142
|
-
) => {
|
|
143
|
-
const { productReviewId } = params;
|
|
144
|
-
const { modules, userId } = context;
|
|
145
|
-
const review = await modules.products.reviews.findProductReview({
|
|
146
|
-
productReviewId,
|
|
147
|
-
});
|
|
148
|
-
if (!review) return true;
|
|
149
|
-
return review.authorId === userId;
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
const isOwnedQuotation = async (
|
|
153
|
-
obj: any,
|
|
154
|
-
{ quotationId }: { quotationId: string },
|
|
155
|
-
{ modules, userId }: Context,
|
|
156
|
-
) => {
|
|
157
|
-
const quotation = await modules.quotations.findQuotation(
|
|
158
|
-
{ quotationId },
|
|
159
|
-
{
|
|
160
|
-
projection: {
|
|
161
|
-
userId: 1,
|
|
162
|
-
},
|
|
163
|
-
},
|
|
164
|
-
);
|
|
165
|
-
// return true if db entity not found in order
|
|
166
|
-
// to let the resolver throw a good exception
|
|
167
|
-
if (!quotation) return true;
|
|
168
|
-
return quotation.userId === userId;
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
const isOwnedBookmark = async (
|
|
172
|
-
obj: any,
|
|
173
|
-
{ bookmarkId }: { bookmarkId: string },
|
|
174
|
-
{ userId, modules }: Context,
|
|
175
|
-
) => {
|
|
176
|
-
const bookmark = await modules.bookmarks.findBookmarkById(bookmarkId);
|
|
177
|
-
// return true if db entity not found in order
|
|
178
|
-
// to let the resolver throw a good exception
|
|
179
|
-
if (!bookmark) return true;
|
|
180
|
-
return bookmark.userId === userId;
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
const isOwnedPaymentCredential = async (
|
|
184
|
-
obj: any,
|
|
185
|
-
{ paymentCredentialsId }: { paymentCredentialsId: string },
|
|
186
|
-
{ modules, userId }: Context,
|
|
187
|
-
) => {
|
|
188
|
-
const credentials = await modules.payment.paymentCredentials.findPaymentCredential(
|
|
189
|
-
{
|
|
190
|
-
paymentCredentialsId,
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
projection: {
|
|
194
|
-
userId: 1,
|
|
195
|
-
},
|
|
196
|
-
},
|
|
197
|
-
);
|
|
198
|
-
// return true if db entity not found in order
|
|
199
|
-
// to let the resolver throw a good exception
|
|
200
|
-
if (!credentials) return true;
|
|
201
|
-
return credentials.userId === userId;
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
const isFileAccessible = async (file, _, context) => {
|
|
205
|
-
const user = context?.user;
|
|
206
|
-
|
|
207
|
-
// Non private files or no files always resolve to true
|
|
208
|
-
if (!file?.meta?.isPrivate) return true;
|
|
209
|
-
|
|
210
|
-
// If private file, only return true if owned
|
|
211
|
-
if (file?.meta?.userId === user?._id) return true;
|
|
212
|
-
|
|
213
|
-
return false;
|
|
214
|
-
};
|
|
215
|
-
|
|
216
|
-
role.allow(actions.viewUser, isMyself);
|
|
217
|
-
role.allow(actions.viewUserRoles, isMyself);
|
|
218
|
-
role.allow(actions.viewUserOrders, isMyself);
|
|
219
|
-
role.allow(actions.viewUserQuotations, isMyself);
|
|
220
|
-
role.allow(actions.viewUserEnrollments, isMyself);
|
|
221
|
-
role.allow(actions.viewUserPrivateInfos, isMyself);
|
|
222
|
-
role.allow(actions.viewUserProductReviews, isMyself);
|
|
223
|
-
role.allow(actions.viewUserTokens, isMyself);
|
|
224
|
-
role.allow(actions.updateUser, isMyself);
|
|
225
|
-
role.allow(actions.removeUser, isMyself);
|
|
226
|
-
role.allow(actions.sendEmail, isOwnedEmailAddress);
|
|
227
|
-
role.allow(actions.viewOrder, isOwnedOrder);
|
|
228
|
-
role.allow(actions.updateOrder, isOwnedOrder);
|
|
229
|
-
role.allow(actions.updateOrderItem, isOwnedOrderItem);
|
|
230
|
-
role.allow(actions.updateOrderDiscount, isOwnedOrderDiscount);
|
|
231
|
-
role.allow(actions.updateOrderDelivery, isOwnedOrderDelivery);
|
|
232
|
-
role.allow(actions.updateOrderPayment, isOwnedOrderPayment);
|
|
233
|
-
role.allow(actions.checkoutCart, isOwnedOrderOrCart);
|
|
234
|
-
role.allow(actions.updateCart, isOwnedOrderOrCart);
|
|
235
|
-
role.allow(actions.createCart, () => true);
|
|
236
|
-
role.allow(actions.viewEnrollment, isOwnedEnrollment);
|
|
237
|
-
role.allow(actions.updateEnrollment, isOwnedEnrollment);
|
|
238
|
-
role.allow(actions.createEnrollment, () => true);
|
|
239
|
-
role.allow(actions.reviewProduct, () => true);
|
|
240
|
-
role.allow(actions.updateProductReview, isOwnedProductReview);
|
|
241
|
-
role.allow(actions.requestQuotation, () => true);
|
|
242
|
-
role.allow(actions.answerQuotation, isOwnedQuotation);
|
|
243
|
-
role.allow(actions.manageBookmarks, isOwnedBookmark);
|
|
244
|
-
role.allow(actions.bookmarkProduct, () => true);
|
|
245
|
-
role.allow(actions.voteProductReview, () => true);
|
|
246
|
-
role.allow(actions.registerPaymentCredentials, () => true);
|
|
247
|
-
role.allow(actions.managePaymentCredentials, isOwnedPaymentCredential);
|
|
248
|
-
role.allow(actions.confirmMediaUpload, () => true);
|
|
249
|
-
role.allow(actions.downloadFile, isFileAccessible);
|
|
250
|
-
role.allow(actions.uploadUserAvatar, canUpdateAvatar);
|
|
251
|
-
role.allow(actions.uploadTempFile, canUpdateAvatar);
|
|
252
|
-
};
|
package/src/schema/directives.ts
DELETED
package/src/schema/index.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import scalars from './scalars.js';
|
|
2
|
-
import directives from './directives.js';
|
|
3
|
-
import types from './types/index.js';
|
|
4
|
-
import inputTypes from './inputTypes.js';
|
|
5
|
-
import query from './query.js';
|
|
6
|
-
import mutation from './mutation.js';
|
|
7
|
-
import { getRegisteredEvents } from '@unchainedshop/events';
|
|
8
|
-
import { WorkerDirector } from '@unchainedshop/core';
|
|
9
|
-
import { createLogger } from '@unchainedshop/logger';
|
|
10
|
-
|
|
11
|
-
const logger = createLogger('unchained:api');
|
|
12
|
-
|
|
13
|
-
export const buildDefaultTypeDefs = ({ actions = [] }: { actions: string[] }) => {
|
|
14
|
-
logger.debug(`${actions.length} role actions added to GraphQL schema`, { actions });
|
|
15
|
-
|
|
16
|
-
const events = getRegisteredEvents() || [];
|
|
17
|
-
logger.debug(`${events.length} event types added to GraphQL schema`, { events });
|
|
18
|
-
|
|
19
|
-
const workTypes = WorkerDirector.getActivePluginTypes() || [];
|
|
20
|
-
logger.debug(`${workTypes.length} work types added to GraphQL schema`, { workTypes });
|
|
21
|
-
|
|
22
|
-
const dynamicTypeDefs = [
|
|
23
|
-
actions?.length ? `extend enum RoleAction { ${actions.join(',')} }` : '',
|
|
24
|
-
events?.length ? `extend enum EventType { ${events.join(',')} }` : '',
|
|
25
|
-
workTypes?.length ? `extend enum WorkType { ${workTypes.join(',')} }` : '',
|
|
26
|
-
].filter(Boolean);
|
|
27
|
-
|
|
28
|
-
return [...scalars, ...directives, ...types, ...inputTypes, ...query, ...mutation, ...dynamicTypeDefs];
|
|
29
|
-
};
|