diff --git a/app/config/graphql/types/ModelType/Product/Product.types.yaml b/app/config/graphql/types/ModelType/Product/Product.types.yaml index 3aca62c5f9..40c418c127 100644 --- a/app/config/graphql/types/ModelType/Product/Product.types.yaml +++ b/app/config/graphql/types/ModelType/Product/Product.types.yaml @@ -38,10 +38,6 @@ Product: type: type: "String" defaultValue: null - price: - type: "ProductPrice!" - description: "Product price" - resolve: '@=query("priceByProductQuery", value)' accessories: type: "[Product!]!" parameters: diff --git a/app/config/packages/security.yaml b/app/config/packages/security.yaml index 2f27f88c84..ad6ab4e3f4 100644 --- a/app/config/packages/security.yaml +++ b/app/config/packages/security.yaml @@ -62,6 +62,7 @@ security: - ROLE_COMPLAINT_STATUS_FULL - ROLE_INQUIRY_VIEW - ROLE_WATCHDOG_FULL + - ROLE_PRICE_LIST_FULL ROLE_ALL_VIEW: - ROLE_ORDER_VIEW - ROLE_CUSTOMER_VIEW @@ -117,6 +118,7 @@ security: - ROLE_COMPLAINT_STATUS_VIEW - ROLE_INQUIRY_VIEW - ROLE_WATCHDOG_VIEW + - ROLE_PRICE_LIST_FULL ROLE_ORDER_FULL: [ROLE_ORDER_VIEW] ROLE_CUSTOMER_FULL: [ROLE_CUSTOMER_VIEW] ROLE_NEWSLETTER_FULL: [ROLE_NEWSLETTER_VIEW] @@ -168,6 +170,7 @@ security: ROLE_COMPLAINT_FULL: [ROLE_COMPLAINT_VIEW] ROLE_COMPLAINT_STATUS_FULL: [ROLE_COMPLAINT_STATUS_VIEW] ROLE_WATCHDOG_FULL: [ROLE_WATCHDOG_VIEW] + ROLE_PRICE_LIST_FULL: [ROLE_PRICE_LIST_VIEW] # FE API ROLES ROLE_API_ALL: - ROLE_API_CUSTOMER_SELF_MANAGE @@ -308,6 +311,11 @@ security: - { path: ^/%admin_url%/pricing/group/delete, roles: ROLE_PRICING_GROUP_FULL } - { path: ^/%admin_url%/pricing/group/list, roles: ROLE_PRICING_GROUP_FULL, methods: [POST] } - { path: ^/%admin_url%/pricing/group/, roles: ROLE_PRICING_GROUP_VIEW } + # price lists + - { path: ^/%admin_url%/pricing/price-list/new, roles: ROLE_PRICE_LIST_FULL } + - { path: ^/%admin_url%/pricing/price-list/edit, roles: ROLE_PRICE_LIST_FULL, methods: [ POST ] } + - { path: ^/%admin_url%/pricing/price-list/delete, roles: ROLE_PRICE_LIST_FULL } + - { path: ^/%admin_url%/pricing/price-list/, roles: ROLE_PRICE_LIST_VIEW } # vats - { path: ^/%admin_url%/vat/delete, roles: ROLE_VAT_FULL } - { path: ^/%admin_url%/vat/list, roles: ROLE_VAT_FULL, methods: [POST] } diff --git a/app/config/packages/twig.yaml b/app/config/packages/twig.yaml index 2b3b583ca3..ed6910821f 100644 --- a/app/config/packages/twig.yaml +++ b/app/config/packages/twig.yaml @@ -2,6 +2,7 @@ twig: debug: "%kernel.debug%" exception_controller: null form_themes: + - '@ShopsysFramework/Admin/Form/Product/Price/priceListOverviewType.html.twig' - '@ShopsysFramework/Admin/Form/Product/Price/pricesWithCalculatedSellingPricesType.html.twig' - '@ShopsysFramework/Admin/Form/Product/Price/productPricesWithVatSelectType.html.twig' - '@ShopsysFramework/Admin/Form/abstractFileuploadFields.html.twig' @@ -35,6 +36,7 @@ twig: - '@ShopsysFramework/Admin/Form/parameterValueConversionList.html.twig' - '@ShopsysFramework/Admin/Form/paymentTransactionsFormTheme.html.twig' - '@ShopsysFramework/Admin/Form/priceandvattableByDomainsFields.html.twig' + - '@ShopsysFramework/Admin/Form/priceListProductsPickerType.html.twig' - '@ShopsysFramework/Admin/Form/productParameterValue.html.twig' - '@ShopsysFramework/Admin/Form/promoCodeFlagFormTheme.html.twig' - '@ShopsysFramework/Admin/Form/promoCodeLimitFormTheme.html.twig' @@ -44,7 +46,6 @@ twig: - 'Admin/Form/languageConstantFormTheme.html.twig' - 'Admin/Form/productDetailFormTheme.html.twig' - 'Admin/Form/productVideoValue.html.twig' - - 'Admin/Form/productsFormTheme.html.twig' globals: globalMultipleFormSetting: '@Shopsys\FrameworkBundle\Component\Form\MultipleFormSetting' usersnapApiKey: '%env(USERSNAP_PROJECT_API_KEY)%' diff --git a/app/docker/elasticsearch/Dockerfile b/app/docker/elasticsearch/Dockerfile index 5561afc4db..bc39c269ef 100644 --- a/app/docker/elasticsearch/Dockerfile +++ b/app/docker/elasticsearch/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2 +FROM docker.elastic.co/elasticsearch/elasticsearch:7.16.1 # install ICU Analysis plugin to sort by language properly RUN bin/elasticsearch-plugin install analysis-icu diff --git a/app/schema.graphql b/app/schema.graphql index 81e5fd2a6c..b028d3a6ee 100644 --- a/app/schema.graphql +++ b/app/schema.graphql @@ -1926,8 +1926,14 @@ enum ProductOrderingModeEnum { "Represents the price of the product" type ProductPrice { + "Basic price of the product. If product has no discounts, it's the same as the selling price" + basicPrice: Price! "Determines whether it's a final price or starting price" isPriceFrom: Boolean! + "Date of the next price change, null if no price change is planned" + nextPriceChange: DateTime + "Percentage discount on the selling price compared to the base price, null if no discount is applied" + percentageDiscount: Float "Price without VAT" priceWithoutVat: Money! "Price with VAT" diff --git a/app/src/DataFixtures/Demo/PriceListDataFixture.php b/app/src/DataFixtures/Demo/PriceListDataFixture.php new file mode 100644 index 0000000000..ba9903e377 --- /dev/null +++ b/app/src/DataFixtures/Demo/PriceListDataFixture.php @@ -0,0 +1,140 @@ +getReference(CurrencyDataFixture::CURRENCY_CZK, Currency::class); + + foreach ($this->domainsForDataFixtureProvider->getAllowedDemoDataDomains() as $domainConfig) { + $vat = $this->getReferenceForDomain(VatDataFixture::VAT_HIGH, $domainConfig->getId(), Vat::class); + + $priceListData = $this->priceListDataFactory->create(); + $priceListData->name = t('Special offers', [], Translator::DATA_FIXTURES_TRANSLATION_DOMAIN, $domainConfig->getLocale()); + $priceListData->domainId = $domainConfig->getId(); + $priceListData->validFrom = new DateTimeImmutable('2023-01-10 08:30:00'); + $priceListData->validTo = new DateTimeImmutable('2084-01-10 08:30:00'); + $priceListData->priceListProductPricesData = [ + $this->createPriceListProductPriceData('27', '42', $domainConfig->getId(), $currencyCzk, $vat), + $this->createPriceListProductPriceData('28', '50', $domainConfig->getId(), $currencyCzk, $vat), + ]; + $priceList = $this->priceListFacade->create($priceListData); + $this->addReferenceForDomain(self::ACTIVE_SPECIAL_OFFERS_REFERENCE, $priceList, $domainConfig->getId()); + + $priceListData = $this->priceListDataFactory->create(); + $priceListData->name = t('Blue wednesday', [], Translator::DATA_FIXTURES_TRANSLATION_DOMAIN, $domainConfig->getLocale()); + $priceListData->domainId = $domainConfig->getId(); + $priceListData->validFrom = new DateTimeImmutable('2023-11-10 00:00:00'); + $priceListData->validTo = new DateTimeImmutable('2023-11-10 23:59:59'); + $priceListData->priceListProductPricesData = [ + $this->createPriceListProductPriceData('1', '2800', $domainConfig->getId(), $currencyCzk, $vat), + $this->createPriceListProductPriceData('72', '90', $domainConfig->getId(), $currencyCzk, $vat), + ]; + $priceList = $this->priceListFacade->create($priceListData); + $this->addReferenceForDomain(self::EXPIRED_BLUE_WEDNESDAY_REFERENCE, $priceList, $domainConfig->getId()); + + $priceListData = $this->priceListDataFactory->create(); + $priceListData->name = t('Items on sale', [], Translator::DATA_FIXTURES_TRANSLATION_DOMAIN, $domainConfig->getLocale()); + $priceListData->domainId = $domainConfig->getId(); + $priceListData->validFrom = new DateTimeImmutable('2023-02-12 06:20:00'); + $priceListData->validTo = new DateTimeImmutable('2084-05-10 08:30:00'); + $priceListData->priceListProductPricesData = [ + $this->createPriceListProductPriceData('117', '290', $domainConfig->getId(), $currencyCzk, $vat), + $this->createPriceListProductPriceData('19', '170', $domainConfig->getId(), $currencyCzk, $vat), + ]; + $priceList = $this->priceListFacade->create($priceListData); + $this->addReferenceForDomain(self::ACTIVE_ITEMS_ON_SALE_REFERENCE, $priceList, $domainConfig->getId()); + + $priceListData = $this->priceListDataFactory->create(); + $priceListData->name = t('Promoted products', [], Translator::DATA_FIXTURES_TRANSLATION_DOMAIN, $domainConfig->getLocale()); + $priceListData->domainId = $domainConfig->getId(); + $priceListData->validFrom = new DateTimeImmutable('2083-10-15 00:20:00'); + $priceListData->validTo = new DateTimeImmutable('2084-10-15 06:30:00'); + $priceListData->priceListProductPricesData = [ + $this->createPriceListProductPriceData('145', '800', $domainConfig->getId(), $currencyCzk, $vat), + $this->createPriceListProductPriceData('120', '160', $domainConfig->getId(), $currencyCzk, $vat), + ]; + $priceList = $this->priceListFacade->create($priceListData); + $this->addReferenceForDomain(self::FUTURE_PROMOTED_PRODUCTS_REFERENCE, $priceList, $domainConfig->getId()); + } + } + + /** + * @param string $productId + * @param string $priceValue + * @param int $domainId + * @param \Shopsys\FrameworkBundle\Model\Pricing\Currency\Currency $currency + * @param \Shopsys\FrameworkBundle\Model\Pricing\Vat\Vat $vat + * @return \Shopsys\FrameworkBundle\Model\PriceList\PriceListProductPriceData + */ + private function createPriceListProductPriceData( + string $productId, + string $priceValue, + int $domainId, + Currency $currency, + Vat $vat, + ): PriceListProductPriceData { + $product = $this->getReference(ProductDataFixture::PRODUCT_PREFIX . $productId, Product::class); + $priceAmount = $this->priceConverter->convertPriceToInputPriceWithoutVatInDomainDefaultCurrency( + Money::create($priceValue), + $currency, + $vat->getPercent(), + $domainId, + ); + + return $this->priceListProductPriceDataFactory->create($product, $priceAmount, $domainId); + } + + /** + * @return string[] + */ + public function getDependencies(): array + { + return [ + CurrencyDataFixture::class, + ProductDataFixture::class, + VatDataFixture::class, + ]; + } +} diff --git a/app/src/Model/Product/Elasticsearch/ProductExportRepository.php b/app/src/Model/Product/Elasticsearch/ProductExportRepository.php index e369f4779a..6e2759cb64 100644 --- a/app/src/Model/Product/Elasticsearch/ProductExportRepository.php +++ b/app/src/Model/Product/Elasticsearch/ProductExportRepository.php @@ -13,11 +13,10 @@ use Doctrine\ORM\EntityManagerInterface; use Shopsys\FrameworkBundle\Component\Breadcrumb\BreadcrumbFacade; use Shopsys\FrameworkBundle\Component\Cache\InMemoryCache; -use Shopsys\FrameworkBundle\Component\Money\Money; use Shopsys\FrameworkBundle\Component\Router\FriendlyUrl\FriendlyUrlFacade; use Shopsys\FrameworkBundle\Component\Router\FriendlyUrl\FriendlyUrlRepository; -use Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroup; use Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroupSettingFacade; +use Shopsys\FrameworkBundle\Model\Pricing\SpecialPrice\SpecialPriceFacade; use Shopsys\FrameworkBundle\Model\Product\Accessory\ProductAccessoryFacade; use Shopsys\FrameworkBundle\Model\Product\Availability\ProductAvailabilityFacade; use Shopsys\FrameworkBundle\Model\Product\Brand\BrandCachedFacade; @@ -25,7 +24,6 @@ use Shopsys\FrameworkBundle\Model\Product\Elasticsearch\Scope\ProductExportFieldProvider as BaseProductExportFieldProvider; use Shopsys\FrameworkBundle\Model\Product\Parameter\Parameter; use Shopsys\FrameworkBundle\Model\Product\Parameter\ParameterRepository; -use Shopsys\FrameworkBundle\Model\Product\Pricing\ProductPrice; use Shopsys\FrameworkBundle\Model\Product\Pricing\ProductPriceCalculation; use Shopsys\FrameworkBundle\Model\Product\Product as BaseProduct; use Shopsys\FrameworkBundle\Model\Product\ProductFacade; @@ -51,6 +49,10 @@ * @method string extractProductType(\App\Model\Product\Product $product, int $domainId) * @method int extractPriorityByProductType(\App\Model\Product\Product $product, int $domainId) * @method array extractStoreAvailabilitiesInformation(\App\Model\Product\Product $product, int $domainId) + * @method array extractSpecialPrices(int $domainId, \App\Model\Product\Product $product) + * @method array extractPrices(int $domainId, \App\Model\Product\Product $product) + * @method \Shopsys\FrameworkBundle\Component\Money\Money getMaximalVariantPriceForFilteringMinimalPrice(\App\Model\Product\Product $product, \Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroup $pricingGroup, int $domainId) + * @method \Shopsys\FrameworkBundle\Component\Money\Money getMinimalVariantPriceForFilteringMaximalPrice(\App\Model\Product\Product $product, \Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroup $pricingGroup, int $domainId) */ class ProductExportRepository extends BaseProductExportRepository { @@ -70,6 +72,7 @@ class ProductExportRepository extends BaseProductExportRepository * @param \Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroupSettingFacade $pricingGroupSettingFacade * @param \App\Model\Product\ProductRepository $productRepository * @param \Shopsys\FrameworkBundle\Component\Cache\InMemoryCache $inMemoryCache + * @param \Shopsys\FrameworkBundle\Model\Pricing\SpecialPrice\SpecialPriceFacade $specialPriceFacade * @param \Shopsys\FrameworkBundle\Model\Product\Pricing\ProductPriceCalculation $productPriceCalculation * @param \Shopsys\FrameworkBundle\Component\Breadcrumb\BreadcrumbFacade $breadcrumbFacade * @param \App\Model\ProductVideo\ProductVideoTranslationsRepository $productVideoTranslationsRepository @@ -90,7 +93,8 @@ public function __construct( PricingGroupSettingFacade $pricingGroupSettingFacade, ProductRepository $productRepository, InMemoryCache $inMemoryCache, - private readonly ProductPriceCalculation $productPriceCalculation, + SpecialPriceFacade $specialPriceFacade, + ProductPriceCalculation $productPriceCalculation, private readonly BreadcrumbFacade $breadcrumbFacade, private readonly ProductVideoTranslationsRepository $productVideoTranslationsRepository, ) { @@ -110,6 +114,8 @@ public function __construct( $pricingGroupSettingFacade, $productRepository, $inMemoryCache, + $specialPriceFacade, + $productPriceCalculation, ); } @@ -147,123 +153,6 @@ protected function getExportedFieldValue(int $domainId, BaseProduct $product, st }; } - /** - * @param int $domainId - * @param \App\Model\Product\Product $product - * @return array - */ - protected function extractPrices(int $domainId, BaseProduct $product): array - { - $prices = []; - $productSellingPrices = $this->productFacade->getAllProductSellingPricesByDomainId($product, $domainId); - - foreach ($productSellingPrices as $productSellingPrice) { - $sellingPrice = $productSellingPrice->getSellingPrice(); - $priceFrom = false; - - if ($sellingPrice instanceof ProductPrice) { - $priceFrom = $sellingPrice->isPriceFrom(); - } - - $pricingGroup = $productSellingPrice->getPricingGroup(); - $prices[] = [ - 'pricing_group_id' => $pricingGroup->getId(), - 'price_with_vat' => (float)$sellingPrice->getPriceWithVat()->getAmount(), - 'price_without_vat' => (float)$sellingPrice->getPriceWithoutVat()->getAmount(), - 'vat' => (float)$sellingPrice->getVatAmount()->getAmount(), - 'price_from' => $priceFrom, - 'filtering_minimal_price' => (float)$this->getMaximalVariantPriceForFilteringMinimalPrice($product, $pricingGroup, $domainId)->getAmount(), - 'filtering_maximal_price' => (float)$this->getMinimalVariantPriceForFilteringMaximalPrice($product, $pricingGroup, $domainId)->getAmount(), - ]; - } - - return $prices; - } - - /** - * @param \App\Model\Product\Product $product - * @param \Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroup $pricingGroup - * @param int $domainId - * @return \Shopsys\FrameworkBundle\Component\Money\Money - */ - private function getMaximalVariantPriceForFilteringMinimalPrice( - Product $product, - PricingGroup $pricingGroup, - int $domainId, - ): Money { - $price = null; - - if (!$product->isMainVariant()) { - return $this->productPriceCalculation->calculatePrice( - $product, - $pricingGroup->getDomainId(), - $pricingGroup, - )->getPriceWithVat(); - } - - $variants = $this->productRepository->getAllSellableVariantsByMainVariant($product, $domainId, $pricingGroup); - - foreach ($variants as $variant) { - $variantPrice = $this->productPriceCalculation->calculatePrice( - $variant, - $pricingGroup->getDomainId(), - $pricingGroup, - )->getPriceWithVat(); - - if ($price === null || $variantPrice->isGreaterThan($price)) { - $price = $variantPrice; - } - } - - if ($price === null) { - $price = Money::zero(); - } - - return $price; - } - - /** - * @param \App\Model\Product\Product $product - * @param \Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroup $pricingGroup - * @param int $domainId - * @return \Shopsys\FrameworkBundle\Component\Money\Money - */ - public function getMinimalVariantPriceForFilteringMaximalPrice( - Product $product, - PricingGroup $pricingGroup, - int $domainId, - ): Money { - $price = null; - - if (!$product->isMainVariant()) { - return $this->productPriceCalculation->calculatePrice( - $product, - $pricingGroup->getDomainId(), - $pricingGroup, - )->getPriceWithVat(); - } - - $variants = $this->productRepository->getAllSellableVariantsByMainVariant($product, $domainId, $pricingGroup); - - foreach ($variants as $variant) { - $variantPrice = $this->productPriceCalculation->calculatePrice( - $variant, - $pricingGroup->getDomainId(), - $pricingGroup, - )->getPriceWithVat(); - - if ($price === null || $variantPrice->isLessThan($price)) { - $price = $variantPrice; - } - } - - if ($price === null) { - $price = Money::zero(); - } - - return $price; - } - /** * @param \App\Model\Product\Product $product * @param int $domainId diff --git a/app/src/Model/Product/ProductFacade.php b/app/src/Model/Product/ProductFacade.php index 5f53fed501..8979407e43 100644 --- a/app/src/Model/Product/ProductFacade.php +++ b/app/src/Model/Product/ProductFacade.php @@ -12,6 +12,7 @@ use Shopsys\FrameworkBundle\Component\Router\FriendlyUrl\FriendlyUrlFacade; use Shopsys\FrameworkBundle\Component\UploadedFile\UploadedFileFacade; use Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroupRepository; +use Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroupSettingFacade; use Shopsys\FrameworkBundle\Model\Product\Accessory\ProductAccessoryFactoryInterface; use Shopsys\FrameworkBundle\Model\Product\Accessory\ProductAccessoryRepository; use Shopsys\FrameworkBundle\Model\Product\Exception\ProductNotFoundException; @@ -50,6 +51,8 @@ * @method array getChangedNamesByLocale(\App\Model\Product\Product $product, array $originalNames) * @method \Shopsys\FrameworkBundle\Model\Product\Pricing\ProductSellingPrice[][] getAllProductSellingPricesIndexedByDomainId(\App\Model\Product\Product $product) * @method \App\Model\Product\Product|null findByCatnum(string $catnum) + * @method \Shopsys\FrameworkBundle\Model\Product\Pricing\ProductPrice getProductSellingPriceForDefaultPricingGroup(\App\Model\Product\Product $product, int $domainId) + * @method \Shopsys\FrameworkBundle\Model\Product\Pricing\ProductPrice getProductSellingPriceForPricingGroup(\App\Model\Product\Product $product, int $domainId, \Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroup $pricingGroup) */ class ProductFacade extends BaseProductFacade { @@ -74,6 +77,7 @@ class ProductFacade extends BaseProductFacade * @param \Shopsys\FrameworkBundle\Model\Stock\ProductStockFacade $productStockFacade * @param \Shopsys\FrameworkBundle\Model\Stock\StockFacade $stockFacade * @param \App\Component\UploadedFile\UploadedFileFacade $uploadedFileFacade + * @param \Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroupSettingFacade $pricingGroupSettingFacade * @param \App\Model\ProductVideo\ProductVideoFacade $productVideoFacade */ public function __construct( @@ -97,6 +101,7 @@ public function __construct( ProductStockFacade $productStockFacade, StockFacade $stockFacade, UploadedFileFacade $uploadedFileFacade, + PricingGroupSettingFacade $pricingGroupSettingFacade, private readonly ProductVideoFacade $productVideoFacade, ) { parent::__construct( @@ -120,6 +125,7 @@ public function __construct( $productStockFacade, $stockFacade, $uploadedFileFacade, + $pricingGroupSettingFacade, ); } diff --git a/app/src/Resources/definition/product/1.json b/app/src/Resources/definition/product/1.json index 909f7e9e4a..4a6c374d9e 100644 --- a/app/src/Resources/definition/product/1.json +++ b/app/src/Resources/definition/product/1.json @@ -195,6 +195,42 @@ } } }, + "special_prices": { + "type": "nested", + "properties": { + "price_list_id": { + "type": "integer" + }, + "price_list_name": { + "type": "text" + }, + "valid_from": { + "type": "date", + "format": "yyyy-MM-dd HH:mm:ss" + }, + "valid_to": { + "type": "date", + "format": "yyyy-MM-dd HH:mm:ss" + }, + "prices": { + "type": "nested", + "properties": { + "price_with_vat": { + "type": "float" + }, + "price_without_vat": { + "type": "float" + }, + "vat": { + "type": "float" + }, + "product_id": { + "type": "integer" + } + } + } + } + }, "parameters": { "type": "nested", "properties": { diff --git a/app/src/Resources/definition/product/2.json b/app/src/Resources/definition/product/2.json index e1365b61d8..2359e924ad 100644 --- a/app/src/Resources/definition/product/2.json +++ b/app/src/Resources/definition/product/2.json @@ -195,6 +195,42 @@ } } }, + "special_prices": { + "type": "nested", + "properties": { + "price_list_id": { + "type": "integer" + }, + "price_list_name": { + "type": "text" + }, + "valid_from": { + "type": "date", + "format": "yyyy-MM-dd HH:mm:ss" + }, + "valid_to": { + "type": "date", + "format": "yyyy-MM-dd HH:mm:ss" + }, + "prices": { + "type": "nested", + "properties": { + "price_with_vat": { + "type": "float" + }, + "price_without_vat": { + "type": "float" + }, + "vat": { + "type": "float" + }, + "product_id": { + "type": "integer" + } + } + } + } + }, "parameters": { "type": "nested", "properties": { diff --git a/app/templates/Admin/Form/productsFormTheme.html.twig b/app/templates/Admin/Form/productsFormTheme.html.twig deleted file mode 100644 index 24287b4d42..0000000000 --- a/app/templates/Admin/Form/productsFormTheme.html.twig +++ /dev/null @@ -1,61 +0,0 @@ -{% block products_widget %} - {% import _self as self %} - {% set attr = attr|merge({'class': (attr.class|default('') ~ ' js-products-picker')|trim}) %} -
- - - - - - - - - {% for key, productForm in form %} - {{ self.productsWidgetItem(form.vars.products[key], productForm, form.vars.sortable, disabled) }} - {% endfor %} - -
{{ 'Name'|trans }}
- {%- if disabled == false %} -
- -
- {% endif -%} -
-{% endblock products_widget %} - -{% macro productsWidgetItem(product, form, sortable, disabled) %} - - - {% if sortable %} - - - - {% endif %} - - {% if product is not null %} - - {{ product.name }} {{ icon('forward-page') }} - - {% endif %} - - - - {%- if disabled == false %} - - - {{ form_widget(form, {attr: {class: 'js-products-picker-item-input'}}) }} - - {% endif -%} - - -{% endmacro %} diff --git a/app/tests/App/Functional/Model/Pricing/RelevantSpecialPriceForProductTest.php b/app/tests/App/Functional/Model/Pricing/RelevantSpecialPriceForProductTest.php new file mode 100644 index 0000000000..2a4f284e81 --- /dev/null +++ b/app/tests/App/Functional/Model/Pricing/RelevantSpecialPriceForProductTest.php @@ -0,0 +1,165 @@ +getReference(ProductDataFixture::PRODUCT_PREFIX . '1', Product::class); + $specialPrice = $this->specialPriceFacade->findRelevantSpecialPrice($helloKittyProduct, self::TEST_DOMAIN_ID, $this->createBasicPrice()); + + $this->assertNull($specialPrice, 'No special price should be set for product'); + } + + public function testSpecialPriceIsReturnedForActiveList(): void + { + $helloKittyProduct = $this->getReference(ProductDataFixture::PRODUCT_PREFIX . '1', Product::class); + $priceAmount = '10'; + + $this->addProductToPriceList($helloKittyProduct, PriceListDataFixture::ACTIVE_SPECIAL_OFFERS_REFERENCE, $priceAmount); + + $specialPrice = $this->specialPriceFacade->findRelevantSpecialPrice($helloKittyProduct, self::TEST_DOMAIN_ID, $this->createBasicPrice()); + + $this->assertNotNull($specialPrice, 'Special price should be set for product'); + $this->assertTrue($specialPrice->isNowActive(), 'Special price should be active'); + $this->assertFalse($specialPrice->isFuturePrice(), 'Special price should not be future price'); + $this->assertMoney($priceAmount, $specialPrice->price->getPriceWithVat()); + } + + public function testProperSpecialPriceIsReturnedForMultipleLists(): void + { + $helloKittyProduct = $this->getReference(ProductDataFixture::PRODUCT_PREFIX . '1', Product::class); + $firstActivePriceAmount = '20'; + $secondActivePriceAmount = '10'; + + $this->addProductToPriceList($helloKittyProduct, PriceListDataFixture::ACTIVE_SPECIAL_OFFERS_REFERENCE, $firstActivePriceAmount); + $this->addProductToPriceList($helloKittyProduct, PriceListDataFixture::ACTIVE_ITEMS_ON_SALE_REFERENCE, $secondActivePriceAmount); + + $specialPrice = $this->specialPriceFacade->findRelevantSpecialPrice($helloKittyProduct, self::TEST_DOMAIN_ID, $this->createBasicPrice()); + $this->assertNotNull($specialPrice, 'Special price should be set for product'); + $this->assertTrue($specialPrice->isNowActive(), 'Special price should be active'); + $this->assertFalse($specialPrice->isFuturePrice(), 'Special price should not be future price'); + $this->assertMoney($firstActivePriceAmount, $specialPrice->price->getPriceWithVat()); + + // update the price list to increase its priority + $priceList = $this->getReferenceForDomain(PriceListDataFixture::ACTIVE_ITEMS_ON_SALE_REFERENCE, self::TEST_DOMAIN_ID, PriceList::class); + $priceListData = $this->priceListDataFactory->createFromPriceList($priceList); + $this->priceListFacade->edit($priceList->getId(), $priceListData); + + $specialPrice = $this->specialPriceFacade->findRelevantSpecialPrice($helloKittyProduct, self::TEST_DOMAIN_ID, $this->createBasicPrice()); + $this->assertNotNull($specialPrice, 'Special price should be set for product'); + $this->assertTrue($specialPrice->isNowActive(), 'Special price should be active'); + $this->assertFalse($specialPrice->isFuturePrice(), 'Special price should not be future price'); + $this->assertMoney($secondActivePriceAmount, $specialPrice->price->getPriceWithVat()); + } + + public function testSpecialPriceIsReturnedForFutureList(): void + { + $priceAmount = '10'; + $helloKittyProduct = $this->getReference(ProductDataFixture::PRODUCT_PREFIX . '1', Product::class); + + $this->addProductToPriceList($helloKittyProduct, PriceListDataFixture::FUTURE_PROMOTED_PRODUCTS_REFERENCE, $priceAmount); + + $specialPrice = $this->specialPriceFacade->findRelevantSpecialPrice($helloKittyProduct, self::TEST_DOMAIN_ID, $this->createBasicPrice()); + + $this->assertNotNull($specialPrice, 'Special price should be set for product'); + $this->assertFalse($specialPrice->isNowActive(), 'Special price should not be active'); + $this->assertTrue($specialPrice->isFuturePrice(), 'Special price should be future price'); + $this->assertMoney($priceAmount, $specialPrice->price->getPriceWithVat()); + } + + public function testNoSpecialPriceIsReturnedForExpiredList(): void + { + $helloKittyProduct = $this->getReference(ProductDataFixture::PRODUCT_PREFIX . '1', Product::class); + + $this->addProductToPriceList($helloKittyProduct, PriceListDataFixture::EXPIRED_BLUE_WEDNESDAY_REFERENCE, '10'); + + $specialPrice = $this->specialPriceFacade->findRelevantSpecialPrice($helloKittyProduct, self::TEST_DOMAIN_ID, $this->createBasicPrice()); + + $this->assertNull($specialPrice, 'No special price should be set for product'); + } + + /** + * @param \Shopsys\FrameworkBundle\Model\Product\Product $product + * @param string $priceListReferenceName + * @param string $productPriceAmount + */ + private function addProductToPriceList( + Product $product, + string $priceListReferenceName, + string $productPriceAmount, + ): void { + $priceList = $this->getReferenceForDomain($priceListReferenceName, self::TEST_DOMAIN_ID, PriceList::class); + + $priceListProductPriceData = $this->priceListProductPriceDataFactory->create( + $product, + Money::create($productPriceAmount), + self::TEST_DOMAIN_ID, + ); + + $priceListProductPrice = $this->priceListProductPriceFactory->create($priceListProductPriceData); + + $priceList->addPriceListProductPrice($priceListProductPrice); + + $this->em->flush(); + } + + /** + * @return \Shopsys\FrameworkBundle\Model\Pricing\Price + */ + private function createBasicPrice(): Price + { + return new Price( + Money::create(3000), + Money::create(3630), + ); + } +} diff --git a/app/tests/App/Functional/Model/Product/Elasticsearch/ProductExportRepositoryTest.php b/app/tests/App/Functional/Model/Product/Elasticsearch/ProductExportRepositoryTest.php index ff09adf41e..0024556a63 100644 --- a/app/tests/App/Functional/Model/Product/Elasticsearch/ProductExportRepositoryTest.php +++ b/app/tests/App/Functional/Model/Product/Elasticsearch/ProductExportRepositoryTest.php @@ -51,6 +51,7 @@ private function getExpectedStructureForRepository(): array 'main_category_path', 'in_stock', 'prices', + 'special_prices', 'parameters', 'ordering_priority', 'calculated_selling_denied', diff --git a/app/tests/App/Test/WebTestCase.php b/app/tests/App/Test/WebTestCase.php index d73bed5533..412d273ed3 100644 --- a/app/tests/App/Test/WebTestCase.php +++ b/app/tests/App/Test/WebTestCase.php @@ -9,6 +9,7 @@ use Psr\Container\ContainerInterface; use Shopsys\FrameworkBundle\Component\DataFixture\PersistentReferenceFacade; use Shopsys\FrameworkBundle\Component\Domain\Domain; +use Shopsys\FrameworkBundle\Component\Money\Money; use Shopsys\FrameworkBundle\Component\Router\DomainRouterFactory; use Shopsys\FrameworkBundle\Model\Pricing\Currency\Currency; use Shopsys\FrameworkBundle\Model\Pricing\Currency\CurrencyFacade; @@ -24,6 +25,7 @@ use Symfony\Component\HttpKernel\Event\ResponseEvent; use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; +use Tests\FrameworkBundle\Test\IsMoneyEqual; use Tests\FrameworkBundle\Test\ProductIndexBackupFacade; use Zalas\Injector\Factory\DefaultExtractorFactory; use Zalas\Injector\PHPUnit\TestCase\ServiceContainerTestCase; @@ -270,4 +272,18 @@ protected function createRequest(): Request return $request; } + + /** + * @param string $expected + * @param \Shopsys\FrameworkBundle\Component\Money\Money $actual + * @param string $message + */ + final public function assertMoney(string $expected, Money $actual, string $message = ''): void + { + self::assertThat( + $actual, + new IsMoneyEqual(Money::create($expected)), + $message, + ); + } } diff --git a/app/tests/FrontendApiBundle/Functional/SpecialPrice/ProductPriceQueryTest.php b/app/tests/FrontendApiBundle/Functional/SpecialPrice/ProductPriceQueryTest.php new file mode 100644 index 0000000000..c8d9d48288 --- /dev/null +++ b/app/tests/FrontendApiBundle/Functional/SpecialPrice/ProductPriceQueryTest.php @@ -0,0 +1,482 @@ +getReference(ProductDataFixture::PRODUCT_PREFIX . '3', Product::class); + $priceInfo = $this->productPriceQuery->priceByProductQuery($product); + + $this->assertSame($product->getProductType(), ProductTypeEnum::TYPE_INQUIRY, 'Product should be upon inquiry'); + + $this->assertInstanceOf(HiddenMoney::class, $priceInfo->priceWithoutVat, 'Price without VAT should be hidden for product upon inquiry'); + $this->assertInstanceOf(HiddenMoney::class, $priceInfo->priceWithVat, 'Price with VAT should be hidden for product upon inquiry'); + $this->assertInstanceOf(HiddenMoney::class, $priceInfo->vatAmount, 'VAT amount should be hidden for product upon inquiry'); + $this->assertInstanceOf(HiddenMoney::class, $priceInfo->basicPrice->getPriceWithoutVat(), 'Basic price without VAT should be hidden for product upon inquiry'); + $this->assertInstanceOf(HiddenMoney::class, $priceInfo->basicPrice->getPriceWithVat(), 'Basic price with VAT should be hidden for product upon inquiry'); + $this->assertInstanceOf(HiddenMoney::class, $priceInfo->basicPrice->getVatAmount(), 'Basic price VAT amount should be hidden for product upon inquiry'); + } + + public function testPriceIsReturnedWhenNoSpecialPricePresent(): void + { + $data = [ + 'product_type' => ProductTypeEnum::TYPE_BASIC, + 'prices' => [ + [ + 'price_without_vat' => 115.67, + 'price_with_vat' => 139.96, + 'vat' => 24.29, + 'price_from' => false, + 'pricing_group_id' => 1, + ], + ], + 'special_prices' => [], + ]; + + $priceInfo = $this->productPriceQuery->priceByProductQuery($data); + + $this->assertMoney('115.67', $priceInfo->priceWithoutVat); + $this->assertMoney('139.96', $priceInfo->priceWithVat); + $this->assertMoney('24.29', $priceInfo->vatAmount); + $this->assertFalse($priceInfo->isPriceFrom); + $this->assertMoney('115.67', $priceInfo->basicPrice->getPriceWithoutVat()); + $this->assertMoney('139.96', $priceInfo->basicPrice->getPriceWithVat()); + $this->assertMoney('24.29', $priceInfo->basicPrice->getVatAmount()); + $this->assertNull($priceInfo->percentageDiscount); + $this->assertNull($priceInfo->nextPriceChange); + } + + public function testSpecialPriceIsReturnedWhenValid(): void + { + $data = [ + 'product_type' => ProductTypeEnum::TYPE_BASIC, + 'prices' => [ + [ + 'price_without_vat' => 115.67, + 'price_with_vat' => 139.96, + 'vat' => 24.29, + 'price_from' => false, + 'pricing_group_id' => 1, + ], + ], + 'special_prices' => [ + [ + 'price_list_id' => 1, + 'price_list_name' => 'Special offers', + 'valid_from' => '2023-01-10 08:30:00', + 'valid_to' => '2084-01-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 99.17, + 'price_with_vat' => 120.0, + 'vat' => 20.83, + 'product_id' => 1, + ], + ], + ], + ], + ]; + + $priceInfo = $this->productPriceQuery->priceByProductQuery($data); + + $this->assertMoney('99.17', $priceInfo->priceWithoutVat); + $this->assertMoney('120', $priceInfo->priceWithVat); + $this->assertMoney('20.83', $priceInfo->vatAmount); + $this->assertFalse($priceInfo->isPriceFrom); + $this->assertMoney('115.67', $priceInfo->basicPrice->getPriceWithoutVat()); + $this->assertMoney('139.96', $priceInfo->basicPrice->getPriceWithVat()); + $this->assertMoney('24.29', $priceInfo->basicPrice->getVatAmount()); + $this->assertSame(14.0, $priceInfo->percentageDiscount); + $this->assertEquals(new DateTimeImmutable('2084-01-10 08:30:00'), $priceInfo->nextPriceChange); + } + + public function testProperSpecialPriceIsReturnedWhenMultiple(): void + { + $data = [ + 'product_type' => ProductTypeEnum::TYPE_BASIC, + 'prices' => [ + [ + 'price_without_vat' => 115.67, + 'price_with_vat' => 139.96, + 'vat' => 24.29, + 'price_from' => false, + 'pricing_group_id' => 1, + ], + ], + 'special_prices' => [ + [ + 'price_list_id' => 1, + 'price_list_name' => 'Special offers', + 'valid_from' => '2023-01-10 08:30:00', + 'valid_to' => '2084-01-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 99.17, + 'price_with_vat' => 120.0, + 'vat' => 20.83, + 'product_id' => 1, + ], + ], + ], + [ + 'price_list_id' => 2, + 'price_list_name' => 'Items on sale', + 'valid_from' => '2023-01-10 08:30:00', + 'valid_to' => '2084-01-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 79.34, + 'price_with_vat' => 96.0, + 'vat' => 16.66, + 'product_id' => 1, + ], + ], + ], + ], + ]; + + $priceInfo = $this->productPriceQuery->priceByProductQuery($data); + + $this->assertMoney('99.17', $priceInfo->priceWithoutVat); + $this->assertMoney('120', $priceInfo->priceWithVat); + $this->assertMoney('20.83', $priceInfo->vatAmount); + $this->assertFalse($priceInfo->isPriceFrom); + $this->assertMoney('115.67', $priceInfo->basicPrice->getPriceWithoutVat()); + $this->assertMoney('139.96', $priceInfo->basicPrice->getPriceWithVat()); + $this->assertMoney('24.29', $priceInfo->basicPrice->getVatAmount()); + $this->assertSame(14.0, $priceInfo->percentageDiscount); + $this->assertEquals(new DateTimeImmutable('2084-01-10 08:30:00'), $priceInfo->nextPriceChange); + } + + public function testOutdatedSpecialPriceIsSkipped(): void + { + $data = [ + 'product_type' => ProductTypeEnum::TYPE_BASIC, + 'prices' => [ + [ + 'price_without_vat' => 115.67, + 'price_with_vat' => 139.96, + 'vat' => 24.29, + 'price_from' => false, + 'pricing_group_id' => 1, + ], + ], + 'special_prices' => [ + [ + 'price_list_id' => 2, + 'price_list_name' => 'Items on sale', + 'valid_from' => '2023-01-10 08:30:00', + 'valid_to' => '2023-02-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 79.34, + 'price_with_vat' => 96.0, + 'vat' => 16.66, + 'product_id' => 1, + ], + ], + ], + [ + 'price_list_id' => 1, + 'price_list_name' => 'Special offers', + 'valid_from' => '2023-01-10 08:30:00', + 'valid_to' => '2084-01-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 99.17, + 'price_with_vat' => 120.0, + 'vat' => 20.83, + 'product_id' => 1, + ], + ], + ], + ], + ]; + + $priceInfo = $this->productPriceQuery->priceByProductQuery($data); + + $this->assertMoney('99.17', $priceInfo->priceWithoutVat); + $this->assertMoney('120', $priceInfo->priceWithVat); + $this->assertMoney('20.83', $priceInfo->vatAmount); + $this->assertFalse($priceInfo->isPriceFrom); + $this->assertMoney('115.67', $priceInfo->basicPrice->getPriceWithoutVat()); + $this->assertMoney('139.96', $priceInfo->basicPrice->getPriceWithVat()); + $this->assertMoney('24.29', $priceInfo->basicPrice->getVatAmount()); + $this->assertSame(14.0, $priceInfo->percentageDiscount); + $this->assertEquals(new DateTimeImmutable('2084-01-10 08:30:00'), $priceInfo->nextPriceChange); + } + + public function testHigherSpecialPriceIsSkipped(): void + { + $data = [ + 'product_type' => ProductTypeEnum::TYPE_BASIC, + 'prices' => [ + [ + 'price_without_vat' => 115.67, + 'price_with_vat' => 139.96, + 'vat' => 24.29, + 'price_from' => false, + 'pricing_group_id' => 1, + ], + ], + 'special_prices' => [ + [ + 'price_list_id' => 1, + 'price_list_name' => 'Special offers', + 'valid_from' => '2023-01-10 08:30:00', + 'valid_to' => '2084-01-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 132.23, + 'price_with_vat' => 160.0, + 'vat' => 7.77, + 'product_id' => 1, + ], + ], + ], + ], + ]; + + $priceInfo = $this->productPriceQuery->priceByProductQuery($data); + + $this->assertMoney('115.67', $priceInfo->priceWithoutVat); + $this->assertMoney('139.96', $priceInfo->priceWithVat); + $this->assertMoney('24.29', $priceInfo->vatAmount); + $this->assertFalse($priceInfo->isPriceFrom); + $this->assertMoney('115.67', $priceInfo->basicPrice->getPriceWithoutVat()); + $this->assertMoney('139.96', $priceInfo->basicPrice->getPriceWithVat()); + $this->assertMoney('24.29', $priceInfo->basicPrice->getVatAmount()); + $this->assertNull($priceInfo->percentageDiscount); + $this->assertNull($priceInfo->nextPriceChange); + } + + public function testFutureSpecialPriceOnlyReturnsNextPriceChange(): void + { + $data = [ + 'product_type' => ProductTypeEnum::TYPE_BASIC, + 'prices' => [ + [ + 'price_without_vat' => 115.67, + 'price_with_vat' => 139.96, + 'vat' => 24.29, + 'price_from' => false, + 'pricing_group_id' => 1, + ], + ], + 'special_prices' => [ + [ + 'price_list_id' => 1, + 'price_list_name' => 'Special offers', + 'valid_from' => '2084-01-10 08:30:00', + 'valid_to' => '2084-02-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 99.17, + 'price_with_vat' => 120.0, + 'vat' => 20.83, + 'product_id' => 1, + ], + ], + ], + ], + ]; + + $priceInfo = $this->productPriceQuery->priceByProductQuery($data); + + $this->assertMoney('115.67', $priceInfo->priceWithoutVat); + $this->assertMoney('139.96', $priceInfo->priceWithVat); + $this->assertMoney('24.29', $priceInfo->vatAmount); + $this->assertFalse($priceInfo->isPriceFrom); + $this->assertMoney('115.67', $priceInfo->basicPrice->getPriceWithoutVat()); + $this->assertMoney('139.96', $priceInfo->basicPrice->getPriceWithVat()); + $this->assertMoney('24.29', $priceInfo->basicPrice->getVatAmount()); + $this->assertNull($priceInfo->percentageDiscount); + $this->assertEquals(new DateTimeImmutable('2084-01-10 08:30:00'), $priceInfo->nextPriceChange); + } + + /** + * @param array $specialPrices + * @param string $expectedPriceWithVat + * @param string $expectedPriceWithoutVat + * @param string $expectedVatAmount + * @param float $expectedPercentageDiscount + * @param string $expectedNextPriceChange + */ + #[DataProvider('getVariantSpecialPrices')] + public function testValidSpecialPriceIsReturnedForVariants( + array $specialPrices, + string $expectedPriceWithVat, + string $expectedPriceWithoutVat, + string $expectedVatAmount, + float $expectedPercentageDiscount, + string $expectedNextPriceChange, + ): void { + $data = [ + 'product_type' => ProductTypeEnum::TYPE_BASIC, + 'prices' => [ + [ + 'price_without_vat' => 115.67, + 'price_with_vat' => 139.96, + 'vat' => 24.29, + 'price_from' => true, + 'pricing_group_id' => 1, + ], + ], + 'special_prices' => $specialPrices, + ]; + + $priceInfo = $this->productPriceQuery->priceByProductQuery($data); + $this->assertMoney($expectedPriceWithoutVat, $priceInfo->priceWithoutVat); + $this->assertMoney($expectedPriceWithVat, $priceInfo->priceWithVat); + $this->assertMoney($expectedVatAmount, $priceInfo->vatAmount); + $this->assertSame($expectedPercentageDiscount, $priceInfo->percentageDiscount); + $this->assertEquals(new DateTimeImmutable($expectedNextPriceChange), $priceInfo->nextPriceChange); + $this->assertTrue($priceInfo->isPriceFrom); + $this->assertMoney('115.67', $priceInfo->basicPrice->getPriceWithoutVat()); + $this->assertMoney('139.96', $priceInfo->basicPrice->getPriceWithVat()); + $this->assertMoney('24.29', $priceInfo->basicPrice->getVatAmount()); + } + + /** + * @return iterable + */ + public static function getVariantSpecialPrices(): iterable + { + yield 'lowest price should be selected' => [ + 'specialPrices' => [ + [ + 'price_list_id' => 1, + 'price_list_name' => 'Special offers', + 'valid_from' => '2023-01-10 08:30:00', + 'valid_to' => '2084-02-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 99.17, + 'price_with_vat' => 120.0, + 'vat' => 20.83, + 'product_id' => 1, + ], + [ + 'price_without_vat' => 82.65, + 'price_with_vat' => 100, + 'vat' => 17.35, + 'product_id' => 2, + ], + ], + ], + ], + 'expectedPriceWithVat' => '100', + 'expectedPriceWithoutVat' => '82.65', + 'expectedVatAmount' => '17.35', + 'expectedPercentageDiscount' => 28.0, + 'expectedNextPriceChange' => '2084-02-10 08:30:00', + ]; + + yield 'another price list with the same product is ignored' => [ + 'specialPrices' => [ + [ + 'price_list_id' => 1, + 'price_list_name' => 'Special offers', + 'valid_from' => '2023-01-10 08:30:00', + 'valid_to' => '2084-02-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 99.17, + 'price_with_vat' => 120.0, + 'vat' => 20.83, + 'product_id' => 1, + ], + [ + 'price_without_vat' => 82.65, + 'price_with_vat' => 100, + 'vat' => 17.35, + 'product_id' => 2, + ], + ], + ], + [ + 'price_list_id' => 2, + 'price_list_name' => 'Items on sale', + 'valid_from' => '2023-01-10 08:30:00', + 'valid_to' => '2084-02-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 74, 38, + 'price_with_vat' => 90.0, + 'vat' => 15.62, + 'product_id' => 1, + ], + ], + ], + ], + 'expectedPriceWithVat' => '100', + 'expectedPriceWithoutVat' => '82.65', + 'expectedVatAmount' => '17.35', + 'expectedPercentageDiscount' => 28.0, + 'expectedNextPriceChange' => '2084-02-10 08:30:00', + ]; + + yield 'lowest price is selected across price lists' => [ + 'specialPrices' => [ + [ + 'price_list_id' => 1, + 'price_list_name' => 'Special offers', + 'valid_from' => '2023-02-09 08:30:00', + 'valid_to' => '2084-02-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 99.17, + 'price_with_vat' => 120.0, + 'vat' => 20.83, + 'product_id' => 1, + ], + [ + 'price_without_vat' => 82.65, + 'price_with_vat' => 100, + 'vat' => 17.35, + 'product_id' => 2, + ], + ], + ], + [ + 'price_list_id' => 2, + 'price_list_name' => 'Items on sale', + 'valid_from' => '2023-01-10 08:30:00', + 'valid_to' => '2084-01-10 08:30:00', + 'prices' => [ + [ + 'price_without_vat' => 74.38, + 'price_with_vat' => 90.0, + 'vat' => 15.62, + 'product_id' => 3, + ], + ], + ], + ], + 'expectedPriceWithVat' => '90.0', + 'expectedPriceWithoutVat' => '74.38', + 'expectedVatAmount' => '15.62', + 'expectedPercentageDiscount' => 35, + 'expectedNextPriceChange' => '2084-01-10 08:30:00', + ]; + } +} diff --git a/app/translations/dataFixtures.cs.po b/app/translations/dataFixtures.cs.po index ac5dac0a43..913a2e1144 100644 --- a/app/translations/dataFixtures.cs.po +++ b/app/translations/dataFixtures.cs.po @@ -493,6 +493,9 @@ msgstr "Článek blogu pro testování produktů" msgid "Blog article for search testing" msgstr "Článek blogu pro testování vyhledávání" +msgid "Blue wednesday" +msgstr "Modrá středa" + msgid "Bluetooth" msgstr "Bluetooth" @@ -1078,6 +1081,9 @@ msgstr "Rozhraní" msgid "Intuitive operation with its easy to handle even a novice in this field. Another big advantage is the use of technology burning \"on the fly\", which is spared not only your time but also the capacity of the disk, because the process does not create any storage (temporary) files on your hard disk." msgstr "Existují stovky programů pro vypalování, avšak vyznat se v nich není ani pro zkušeného uživatele vůbec jednoduché. Právě proto jsme pro vás s autorem českých bestsellerů připravili 2. aktualizované vydání této úspěšné publikace. S knihou získáte nejen průvodce nejrůznějším vypalováním na CD a DVD, ale všechny programy a aplikace si můžete okamžitě vyzkoušet, neboť je obsahuje přiložené DVD." +msgid "Items on sale" +msgstr "Produkty ve výprodeji" + msgid "JURA Impressa J9 TFT Carbon" msgstr "JURA Impressa J9 TFT Carbon" @@ -1465,6 +1471,9 @@ msgstr "Pravděpodobně ta nejlepší volba" msgid "Processor frequency (GHz)" msgstr "Frekvence procesoru (GHz)" +msgid "Promoted products" +msgstr "Promované produkty" + msgid "Properties" msgstr "Vlastnosti" @@ -1657,6 +1666,9 @@ msgstr "Kapesní reproduktor pro MP3 přehrávače, mobilní telefony, počíta msgid "Speakers 2 x 3W RMS, 2.0 stereo, portable, volume control, frequency range of 150Hz-20kHz, sensitivity 80dB, 4Ohm impedance, power supply via USB, 3.5 mm audio jack, dimensions 85x85x107mm, weight 550 g" msgstr "Kapesní reproduktor pro MP3 přehrávače, mobilní telefony, počítače, notebooky, tablety atd. Stačí vybalit, zapojit a spustit přehrávání. S tímto reproduktorem získáte 360° zvukový zážitek na cestách." +msgid "Special offers" +msgstr "Speciální nabídky" + msgid "Standard rate" msgstr "Standardní sazba" diff --git a/app/translations/dataFixtures.en.po b/app/translations/dataFixtures.en.po index 2316a11baa..2441f94cd8 100644 --- a/app/translations/dataFixtures.en.po +++ b/app/translations/dataFixtures.en.po @@ -493,6 +493,9 @@ msgstr "" msgid "Blog article for search testing" msgstr "" +msgid "Blue wednesday" +msgstr "" + msgid "Bluetooth" msgstr "" @@ -1078,6 +1081,9 @@ msgstr "" msgid "Intuitive operation with its easy to handle even a novice in this field. Another big advantage is the use of technology burning \"on the fly\", which is spared not only your time but also the capacity of the disk, because the process does not create any storage (temporary) files on your hard disk." msgstr "" +msgid "Items on sale" +msgstr "" + msgid "JURA Impressa J9 TFT Carbon" msgstr "" @@ -1465,6 +1471,9 @@ msgstr "" msgid "Processor frequency (GHz)" msgstr "" +msgid "Promoted products" +msgstr "" + msgid "Properties" msgstr "" @@ -1657,6 +1666,9 @@ msgstr "" msgid "Speakers 2 x 3W RMS, 2.0 stereo, portable, volume control, frequency range of 150Hz-20kHz, sensitivity 80dB, 4Ohm impedance, power supply via USB, 3.5 mm audio jack, dimensions 85x85x107mm, weight 550 g" msgstr "" +msgid "Special offers" +msgstr "" + msgid "Standard rate" msgstr "" diff --git a/docker/conf/docker-compose-mac.yml.dist b/docker/conf/docker-compose-mac.yml.dist index 82fd0a5825..84fae33b1a 100644 --- a/docker/conf/docker-compose-mac.yml.dist +++ b/docker/conf/docker-compose-mac.yml.dist @@ -185,7 +185,7 @@ services: - discovery.type=single-node kibana: - image: docker.elastic.co/kibana/kibana-oss:7.6.0 + image: docker.elastic.co/kibana/kibana:7.16.1 container_name: shopsys-framework-kibana depends_on: - elasticsearch diff --git a/docker/conf/docker-compose.yml.dist b/docker/conf/docker-compose.yml.dist index f52f7eb432..67291b6e02 100644 --- a/docker/conf/docker-compose.yml.dist +++ b/docker/conf/docker-compose.yml.dist @@ -189,7 +189,7 @@ services: - discovery.type=single-node kibana: - image: docker.elastic.co/kibana/kibana-oss:7.6.0 + image: docker.elastic.co/kibana/kibana:7.16.1 container_name: shopsys-framework-kibana depends_on: - elasticsearch diff --git a/storefront/components/Basic/Flag/Flag.tsx b/storefront/components/Basic/Flag/Flag.tsx index 6345a48ccd..11537fdbc1 100644 --- a/storefront/components/Basic/Flag/Flag.tsx +++ b/storefront/components/Basic/Flag/Flag.tsx @@ -1,7 +1,7 @@ import { useRouter } from 'next/router'; import { twMergeCustom } from 'utils/twMerge'; -export type FlagTypes = 'blog' | 'dynamic' | 'custom'; +export type FlagTypes = 'blog' | 'dynamic' | 'custom' | 'discount'; type FlagProps = { href?: string; @@ -17,6 +17,7 @@ export const Flag: FC = ({ children, href, className, type = 'custom' type === 'blog' && 'bg-textSubtle font-secondary font-semiBold text-xs !text-textInverted no-underline hover:bg-backgroundAccentMore hover:text-textInverted hover:!no-underline', type === 'dynamic' && '!text-textInverted text-zero py-1.5 rounded-full vl:text-xs vl:py-0.5 vl:rounded', + type === 'discount' && 'bg-priceDiscounted text-textInverted font-semiBold py-1', ); return ( diff --git a/storefront/components/Basic/Icon/RemoveThinIcon.tsx b/storefront/components/Basic/Icon/RemoveThinIcon.tsx deleted file mode 100644 index 8e571b3142..0000000000 --- a/storefront/components/Basic/Icon/RemoveThinIcon.tsx +++ /dev/null @@ -1,8 +0,0 @@ -export const RemoveThinIcon: SvgFC = (props) => ( - - - -); diff --git a/storefront/components/Blocks/Product/DeferredRecommendedProducts.tsx b/storefront/components/Blocks/Product/DeferredRecommendedProducts.tsx index 11f465c98a..3a281abddc 100644 --- a/storefront/components/Blocks/Product/DeferredRecommendedProducts.tsx +++ b/storefront/components/Blocks/Product/DeferredRecommendedProducts.tsx @@ -70,11 +70,8 @@ export const DeferredRecommendedProducts: FC = ? render( , ) : render( diff --git a/storefront/components/Blocks/Product/LastVisitedProducts/LastVisitedProductsContent.tsx b/storefront/components/Blocks/Product/LastVisitedProducts/LastVisitedProductsContent.tsx index ece62e2f06..0af0aa2d48 100644 --- a/storefront/components/Blocks/Product/LastVisitedProducts/LastVisitedProductsContent.tsx +++ b/storefront/components/Blocks/Product/LastVisitedProducts/LastVisitedProductsContent.tsx @@ -20,7 +20,8 @@ export const LastVisitedProductsContent: FC = ({ produ const productItemStyleProps = { size: 'small' as const, - visibleItemsConfig: { price: false, addToCart: false, flags: false, storeAvailability: false }, + visibleItemsConfig: { price: false, addToCart: false, flags: false, discount: false, storeAvailability: false }, + textSize: 'xs' as const, }; return ( @@ -28,14 +29,10 @@ export const LastVisitedProductsContent: FC = ({ produ {lastVisitedProducts && !areProductsFetching ? ( ) : ( diff --git a/storefront/components/Blocks/Product/ProductFlags.tsx b/storefront/components/Blocks/Product/ProductFlags.tsx index 7491c00fa2..10f57377f4 100644 --- a/storefront/components/Blocks/Product/ProductFlags.tsx +++ b/storefront/components/Blocks/Product/ProductFlags.tsx @@ -1,11 +1,31 @@ import { ProductFlag } from './ProductFlag'; +import { ProductVisibleItemsConfigType } from './ProductsList/ProductListItem'; +import { Flag } from 'components/Basic/Flag/Flag'; import { TypeSimpleFlagFragment } from 'graphql/requests/flags/fragments/SimpleFlagFragment.generated'; +import useTranslation from 'next-translate/useTranslation'; import { twMergeCustom } from 'utils/twMerge'; -type ProductFlagsProps = { flags: TypeSimpleFlagFragment[]; variant: 'list' | 'detail' | 'comparison' | 'bestsellers' }; +type ProductFlagsProps = { + flags: TypeSimpleFlagFragment[]; + percentageDiscount: number | null; + variant: 'list' | 'detail' | 'comparison' | 'bestsellers'; + visibleItemsConfig?: ProductVisibleItemsConfigType; +}; + +export const ProductFlags: FC = ({ + flags, + percentageDiscount, + variant, + visibleItemsConfig = { flags: true, discount: false }, +}) => { + const { t } = useTranslation(); -export const ProductFlags: FC = ({ flags, variant }) => { - if (!flags.length) { + if ( + (!visibleItemsConfig.flags && !visibleItemsConfig.discount) || + (!flags.length && !percentageDiscount) || + (!visibleItemsConfig.flags && !percentageDiscount) || + (!visibleItemsConfig.discount && !flags.length) + ) { return null; } @@ -13,14 +33,23 @@ export const ProductFlags: FC = ({ flags, variant }) => { list: 'top-5 right-2.5 sm:right-5 items-end z-above', detail: 'top-3 left-4', comparison: 'top-3 left-0', - bestsellers: 'flex-row relative flex-wrap mb-3 gap-2', + bestsellers: 'flex-row relative flex-wrap mb-1 gap-2', }; return (
- {flags.map(({ name, rgbColor }, index) => ( - - ))} + {visibleItemsConfig.flags && + flags.length > 0 && + flags.map(({ name, rgbColor }, index) => )} + + {visibleItemsConfig.discount && + !!percentageDiscount && + percentageDiscount > 0 && + percentageDiscount < 100 && ( + + -{percentageDiscount}% {t('disount')} + + )}
); }; diff --git a/storefront/components/Blocks/Product/ProductPrice.tsx b/storefront/components/Blocks/Product/ProductPrice.tsx index f372528df6..624070de71 100644 --- a/storefront/components/Blocks/Product/ProductPrice.tsx +++ b/storefront/components/Blocks/Product/ProductPrice.tsx @@ -1,3 +1,4 @@ +import { Flag } from 'components/Basic/Flag/Flag'; import { TypeProductPriceFragment } from 'graphql/requests/products/fragments/ProductPriceFragment.generated'; import useTranslation from 'next-translate/useTranslation'; import { useFormatPrice } from 'utils/formatting/useFormatPrice'; @@ -8,20 +9,55 @@ type ProductPriceProps = { productPrice: TypeProductPriceFragment; isPriceFromVisible?: boolean; placeholder?: string; + textPriceSize?: 'base' | 'lg'; }; -export const ProductPrice: FC = ({ productPrice, isPriceFromVisible, placeholder, className }) => { +export const ProductPrice: FC = ({ + productPrice, + isPriceFromVisible, + placeholder, + textPriceSize = 'lg', + className, +}) => { const { t } = useTranslation(); const formatPrice = useFormatPrice(); + const isSpecialPrice = + !!productPrice.percentageDiscount && + productPrice.percentageDiscount > 0 && + productPrice.percentageDiscount < 100; if (!isPriceVisible(productPrice.priceWithVat)) { return placeholder ?? null; } return ( -
- {productPrice.isPriceFrom && isPriceFromVisible && t('From') + '\u00A0'} - {formatPrice(productPrice.priceWithVat)} +
+
+ {productPrice.isPriceFrom && isPriceFromVisible && t('From') + '\u00A0'} + {formatPrice(productPrice.basicPrice.priceWithVat)} +
+ + {isSpecialPrice && ( + <> + -{productPrice.percentageDiscount}% + +
+ {productPrice.isPriceFrom && isPriceFromVisible && t('From') + '\u00A0'} + {formatPrice(productPrice.priceWithVat)} +
+ + )}
); }; diff --git a/storefront/components/Blocks/Product/ProductsList/ProductListItem.tsx b/storefront/components/Blocks/Product/ProductsList/ProductListItem.tsx index 692912ec01..a2fe7fdc15 100644 --- a/storefront/components/Blocks/Product/ProductsList/ProductListItem.tsx +++ b/storefront/components/Blocks/Product/ProductsList/ProductListItem.tsx @@ -1,6 +1,5 @@ import { ProductListItemImage } from './ProductListItemImage'; import { ExtendedNextLink } from 'components/Basic/ExtendedNextLink/ExtendedNextLink'; -import { RemoveBoldIcon } from 'components/Basic/Icon/RemoveBoldIcon'; import { VariantIcon } from 'components/Basic/Icon/VariantIcon'; import { ProductCompareButton } from 'components/Blocks/Product/ButtonsAction/ProductCompareButton'; import { ProductWishlistButton } from 'components/Blocks/Product/ButtonsAction/ProductWishlistButton'; @@ -27,7 +26,7 @@ export type ProductVisibleItemsConfigType = { storeAvailability?: boolean; price?: boolean; flags?: boolean; - wishlistRemoveButton?: boolean; + discount?: boolean; priceFromWord?: boolean; }; @@ -44,6 +43,7 @@ export type ProductItemProps = { size?: 'extraSmall' | 'small' | 'medium' | 'large' | 'extraLarge'; onClick?: (product: TypeListedProductFragment, index: number) => void; textSize?: 'xs' | 'sm'; + textSizePrice?: 'base' | 'lg'; } & FunctionComponentProps; export const ProductListItem = forwardRef( @@ -61,6 +61,7 @@ export const ProductListItem = forwardRef( visibleItemsConfig = PREDEFINED_VISIBLE_ITEMS_CONFIGS.largeItem, size = 'large', textSize = 'sm', + textSizePrice = 'lg', onClick, }, ref, @@ -74,28 +75,14 @@ export const ProductListItem = forwardRef( ref={ref} tid={TIDs.blocks_product_list_listeditem_ + product.catalogNumber} className={twMergeCustom( - 'group relative flex select-none flex-col gap-2.5 rounded-xl border border-backgroundMore bg-backgroundMore pb-2.5 text-left transition sm:pb-5', - size === 'small' && 'p-5', + 'group relative flex select-text flex-col gap-2.5 rounded-xl border border-backgroundMore bg-backgroundMore py-5 text-left transition', + size === 'small' && 'gap-0 py-2.5', 'hover:border-borderAccentLess hover:bg-background', className, )} > - {visibleItemsConfig.wishlistRemoveButton && ( - - )} - ( onClick?.(product, listIndex); }} > -
+
( className="min-h-6 sm:min-h-7" isPriceFromVisible={visibleItemsConfig.priceFromWord} productPrice={product.price} + textPriceSize={textSizePrice} /> )} @@ -149,7 +137,7 @@ export const ProductListItem = forwardRef(
-
+
{visibleItemsConfig.addToCart && ( = ({ product, v width={imageSize} /> - {!!product.flags.length && visibleItemsConfig?.flags && ( - - )} +
); }; diff --git a/storefront/components/Blocks/Product/ProductsList/ProductListItemPlaceholder.tsx b/storefront/components/Blocks/Product/ProductsList/ProductListItemPlaceholder.tsx index f3f6b0e247..42e83ea034 100644 --- a/storefront/components/Blocks/Product/ProductsList/ProductListItemPlaceholder.tsx +++ b/storefront/components/Blocks/Product/ProductsList/ProductListItemPlaceholder.tsx @@ -35,7 +35,7 @@ export const ProductListItemPlaceholder: FC = ( href={product.slug} type={product.isMainVariant ? 'productMainVariant' : 'product'} > - +
{product.fullName} diff --git a/storefront/components/Blocks/Product/ProductsSlider.tsx b/storefront/components/Blocks/Product/ProductsSlider.tsx index 1873ef7afb..7575826cbd 100644 --- a/storefront/components/Blocks/Product/ProductsSlider.tsx +++ b/storefront/components/Blocks/Product/ProductsSlider.tsx @@ -160,7 +160,7 @@ export const ProductsSlider: FC = ({ ])} productItemProps={{ className: twMergeCustom( - 'snap-center md:snap-start mx-1 md:mx-2 first:ml-0 last:mr-0 p-0', + 'snap-center md:snap-start mx-1 md:mx-2 first:ml-0 last:mr-0', productItemProps?.className, ), ...productItemProps, diff --git a/storefront/components/Blocks/Skeleton/SkeletonModuleCountdown.tsx b/storefront/components/Blocks/Skeleton/SkeletonModuleCountdown.tsx new file mode 100644 index 0000000000..8c8a307ae8 --- /dev/null +++ b/storefront/components/Blocks/Skeleton/SkeletonModuleCountdown.tsx @@ -0,0 +1,6 @@ +import Skeleton from 'react-loading-skeleton'; +import { twMergeCustom } from 'utils/twMerge'; + +export const SkeletonModuleCountdown: FC = ({ className }) => ( + +); diff --git a/storefront/components/Layout/Header/AutocompleteSearch/AutocompleteSearchProductsResult.tsx b/storefront/components/Layout/Header/AutocompleteSearch/AutocompleteSearchProductsResult.tsx index d074393747..27a51f63f4 100644 --- a/storefront/components/Layout/Header/AutocompleteSearch/AutocompleteSearchProductsResult.tsx +++ b/storefront/components/Layout/Header/AutocompleteSearch/AutocompleteSearchProductsResult.tsx @@ -58,6 +58,7 @@ export const AutocompleteSearchProductsResult: FC { onProductDetailRedirectHandler(product); diff --git a/storefront/components/Pages/CategoryDetail/CategoryBestsellers/CategoryBestsellersListItem.tsx b/storefront/components/Pages/CategoryDetail/CategoryBestsellers/CategoryBestsellersListItem.tsx index 65828deebe..bad5b152c1 100644 --- a/storefront/components/Pages/CategoryDetail/CategoryBestsellers/CategoryBestsellersListItem.tsx +++ b/storefront/components/Pages/CategoryDetail/CategoryBestsellers/CategoryBestsellersListItem.tsx @@ -1,6 +1,7 @@ import { ExtendedNextLink } from 'components/Basic/ExtendedNextLink/ExtendedNextLink'; import { ProductAvailability } from 'components/Blocks/Product/ProductAvailability'; import { ProductFlags } from 'components/Blocks/Product/ProductFlags'; +import { ProductPrice } from 'components/Blocks/Product/ProductPrice'; import { ProductListItemImage } from 'components/Blocks/Product/ProductsList/ProductListItemImage'; import { useDomainConfig } from 'components/providers/DomainConfigProvider'; import { useCurrentCustomerData } from 'connectors/customer/CurrentCustomer'; @@ -8,8 +9,6 @@ import { TIDs } from 'cypress/tids'; import { TypeListedProductFragment } from 'graphql/requests/products/fragments/ListedProductFragment.generated'; import { GtmProductListNameType } from 'gtm/enums/GtmProductListNameType'; import { onGtmProductClickEventHandler } from 'gtm/handlers/onGtmProductClickEventHandler'; -import { useFormatPrice } from 'utils/formatting/useFormatPrice'; -import { isPriceVisible } from 'utils/mappers/price'; import { disableClickWhenTextSelected } from 'utils/ui/disableClickWhenTextSelected'; type CategoryBestsellersListItemProps = { @@ -23,7 +22,6 @@ export const CategoryBestsellersListItem: FC = gtmProductListName, listIndex, }) => { - const formatPrice = useFormatPrice(); const { url } = useDomainConfig(); const currentCustomerData = useCurrentCustomerData(); @@ -56,18 +54,20 @@ export const CategoryBestsellersListItem: FC =
- {!!product.flags.length && } + {product.fullName} -
- {isPriceVisible(product.price.priceWithVat) && formatPrice(product.price.priceWithVat)} -
+
); diff --git a/storefront/components/Pages/ProductComparison/ProductComparisonButtonRemoveAll.tsx b/storefront/components/Pages/ProductComparison/ProductComparisonButtonRemoveAll.tsx index d84baaa2e0..aad3893ccf 100644 --- a/storefront/components/Pages/ProductComparison/ProductComparisonButtonRemoveAll.tsx +++ b/storefront/components/Pages/ProductComparison/ProductComparisonButtonRemoveAll.tsx @@ -1,4 +1,5 @@ -import { RemoveThinIcon } from 'components/Basic/Icon/RemoveThinIcon'; +import { RemoveIcon } from 'components/Basic/Icon/RemoveIcon'; +import { Button } from 'components/Forms/Button/Button'; import useTranslation from 'next-translate/useTranslation'; import { twJoin } from 'tailwind-merge'; import { useComparison } from 'utils/productLists/comparison/useComparison'; @@ -12,18 +13,13 @@ export const ProductComparisonButtonRemoveAll: FC - {t('Delete all')} - -
+ {t('Delete all')} + + ); }; diff --git a/storefront/components/Pages/ProductComparison/ProductComparisonHeadItem.tsx b/storefront/components/Pages/ProductComparison/ProductComparisonHeadItem.tsx index a057516253..86b12e5ef4 100644 --- a/storefront/components/Pages/ProductComparison/ProductComparisonHeadItem.tsx +++ b/storefront/components/Pages/ProductComparison/ProductComparisonHeadItem.tsx @@ -41,9 +41,9 @@ export const ProductComparisonHeadItem: FC = ({ ); return ( - -
-
+ +
+
{product.mainImage?.name = ({ ) } > - {product.fullName} + {product.fullName} -

+ {t('Code')}: {product.catalogNumber} -

-
-
- +
+
- {product.flags.length > 0 && } + ); }; diff --git a/storefront/components/Pages/ProductDetail/Countdown/Countdown.tsx b/storefront/components/Pages/ProductDetail/Countdown/Countdown.tsx new file mode 100644 index 0000000000..2e1ec66ade --- /dev/null +++ b/storefront/components/Pages/ProductDetail/Countdown/Countdown.tsx @@ -0,0 +1,49 @@ +import { SkeletonModuleCountdown } from 'components/Blocks/Skeleton/SkeletonModuleCountdown'; +import dayjs, { Dayjs } from 'dayjs'; +import duration from 'dayjs/plugin/duration'; +import useTranslation from 'next-translate/useTranslation'; +import React from 'react'; +import { useCountdown } from 'utils/useCountdown'; + +dayjs.extend(duration); + +type CountdownProps = { + endTime: Dayjs; +}; + +export const Countdown: FC = ({ endTime }) => { + const { t } = useTranslation(); + const countdown = useCountdown(endTime); + + if (countdown.isLoading) { + return ; + } + + return ( +
+
{t('Promo price expires in')}
+
+ + + + + + + +
+
+ ); +}; + +const CountdownItem: FC<{ value: string; unit: string }> = ({ value, unit }) => { + return ( +
+
{value}
+
{unit}
+
+ ); +}; + +const CountdownDivider: FC = () => { + return :; +}; diff --git a/storefront/components/Pages/ProductDetail/Countdown/DeferredCountdown.tsx b/storefront/components/Pages/ProductDetail/Countdown/DeferredCountdown.tsx new file mode 100644 index 0000000000..46a0a56fea --- /dev/null +++ b/storefront/components/Pages/ProductDetail/Countdown/DeferredCountdown.tsx @@ -0,0 +1,19 @@ +import { SkeletonModuleCountdown } from 'components/Blocks/Skeleton/SkeletonModuleCountdown'; +import { Dayjs } from 'dayjs'; +import dynamic from 'next/dynamic'; +import { useDeferredRender } from 'utils/useDeferredRender'; + +const Countdown = dynamic(() => import('./Countdown').then((component) => component.Countdown), { + ssr: false, + loading: () => , +}); + +type DeferredCountdownProps = { + endTime: Dayjs; +}; + +export const DeferredCountdown: FC = ({ endTime }) => { + const shouldRender = useDeferredRender('countdown'); + + return shouldRender ? : ; +}; diff --git a/storefront/components/Pages/ProductDetail/ProductDetailContent.tsx b/storefront/components/Pages/ProductDetail/ProductDetailContent.tsx index 6c13b6cba3..28323f4168 100644 --- a/storefront/components/Pages/ProductDetail/ProductDetailContent.tsx +++ b/storefront/components/Pages/ProductDetail/ProductDetailContent.tsx @@ -3,6 +3,7 @@ import { DeferredProductDetailAccessories } from './ProductDetailAccessories/Def import { DeferredProductDetailAddToCart } from './ProductDetailAddToCart/DeferredProductDetailAddToCart'; import { ProductDetailPrefix, ProductDetailHeading } from './ProductDetailElements'; import { ProductDetailGallery } from './ProductDetailGallery'; +import { ProductDetailPrice } from './ProductDetailPrice'; import { ProductDetailTabs } from './ProductDetailTabs/ProductDetailTabs'; import { ProductDetailUsps } from './ProductDetailUsps'; import { ExtendedNextLink } from 'components/Basic/ExtendedNextLink/ExtendedNextLink'; @@ -24,8 +25,6 @@ import useTranslation from 'next-translate/useTranslation'; import { useRouter } from 'next/router'; import { useSessionStore } from 'store/useSessionStore'; import { twJoin } from 'tailwind-merge'; -import { useFormatPrice } from 'utils/formatting/useFormatPrice'; -import { isPriceVisible } from 'utils/mappers/price'; import { getUrlWithoutGetParameters } from 'utils/parsing/getUrlWithoutGetParameters'; type ProductDetailContentProps = { @@ -39,7 +38,6 @@ export const ProductDetailContent: FC = ({ product, i const updatePortalContent = useSessionStore((s) => s.updatePortalContent); const { isLuigisBoxActive } = useDomainConfig(); - const formatPrice = useFormatPrice(); const pageViewEvent = useGtmFriendlyPageViewEvent(product); useGtmPageViewEvent(pageViewEvent, isProductDetailFetching); @@ -55,6 +53,7 @@ export const ProductDetailContent: FC = ({ product, i @@ -88,11 +87,7 @@ export const ProductDetailContent: FC = ({ product, i {!!product.usps.length && }
- {isPriceVisible(product.price.priceWithVat) && ( -
- {formatPrice(product.price.priceWithVat)} -
- )} + {!product.isSellingDenied && ( = ({ flags, images, productName, videoIds = [] }) => { +export const ProductDetailGallery: FC = ({ + flags, + images, + productName, + videoIds = [], + percentageDiscount, +}) => { const [firstImage, ...additionalImages] = images; const mainImage = images.length ? firstImage : undefined; @@ -54,7 +61,12 @@ export const ProductDetailGallery: FC = ({ flags, ima onClickCapture={() => setSelectedGalleryItemIndex(0)} /> - {!!flags.length && } +
{!!galleryItems.length && ( diff --git a/storefront/components/Pages/ProductDetail/ProductDetailMainVariantContent.tsx b/storefront/components/Pages/ProductDetail/ProductDetailMainVariantContent.tsx index 2b5d2cbb42..ee26d4b5e3 100644 --- a/storefront/components/Pages/ProductDetail/ProductDetailMainVariantContent.tsx +++ b/storefront/components/Pages/ProductDetail/ProductDetailMainVariantContent.tsx @@ -52,6 +52,7 @@ export const ProductDetailMainVariantContent: FC diff --git a/storefront/components/Pages/ProductDetail/ProductDetailPrice.tsx b/storefront/components/Pages/ProductDetail/ProductDetailPrice.tsx new file mode 100644 index 0000000000..428fba0393 --- /dev/null +++ b/storefront/components/Pages/ProductDetail/ProductDetailPrice.tsx @@ -0,0 +1,49 @@ +import { DeferredCountdown } from './Countdown/DeferredCountdown'; +import { Flag } from 'components/Basic/Flag/Flag'; +import { TypeProductPriceFragment } from 'graphql/requests/products/fragments/ProductPriceFragment.generated'; +import { useFormatPrice } from 'utils/formatting/useFormatPrice'; +import { isPriceVisible } from 'utils/mappers/price'; +import { twMergeCustom } from 'utils/twMerge'; + +type ProductDetailPriceProps = { + productPrice: TypeProductPriceFragment; +}; + +export const ProductDetailPrice: FC = ({ productPrice }) => { + const formatPrice = useFormatPrice(); + const isSpecialPrice = + !!productPrice.percentageDiscount && + productPrice.percentageDiscount > 0 && + productPrice.percentageDiscount < 100; + + if (!isPriceVisible(productPrice.priceWithVat)) { + return null; + } + + return ( +
+
+
+ {formatPrice(productPrice.basicPrice.priceWithVat)} +
+ + {isSpecialPrice && ( + <> + -{productPrice.percentageDiscount}% + +
+ {formatPrice(productPrice.priceWithVat)} +
+ + )} +
+ + {isSpecialPrice && } +
+ ); +}; diff --git a/storefront/components/Pages/ProductDetail/ProductDetailVariantsTable.tsx b/storefront/components/Pages/ProductDetail/ProductDetailVariantsTable.tsx index 275969bed5..71ba47397f 100644 --- a/storefront/components/Pages/ProductDetail/ProductDetailVariantsTable.tsx +++ b/storefront/components/Pages/ProductDetail/ProductDetailVariantsTable.tsx @@ -1,6 +1,7 @@ import { Image } from 'components/Basic/Image/Image'; import { ProductAction } from 'components/Blocks/Product/ProductAction'; import { ProductAvailability } from 'components/Blocks/Product/ProductAvailability'; +import { ProductPrice } from 'components/Blocks/Product/ProductPrice'; import { WatchDogButton } from 'components/Blocks/Product/Watchdog/WatchDogButton'; import { TIDs } from 'cypress/tids'; import { TypeMainVariantDetailFragment } from 'graphql/requests/products/fragments/MainVariantDetailFragment.generated'; @@ -11,8 +12,6 @@ import useTranslation from 'next-translate/useTranslation'; import dynamic from 'next/dynamic'; import { useSessionStore } from 'store/useSessionStore'; import { twJoin } from 'tailwind-merge'; -import { useFormatPrice } from 'utils/formatting/useFormatPrice'; -import { isPriceVisible } from 'utils/mappers/price'; const ProductVariantsAvailabilityPopup = dynamic( () => @@ -30,7 +29,6 @@ type ProductVariantsTableProps = { export const ProductVariantsTable: FC = ({ variants }) => { const { t } = useTranslation(); - const formatPrice = useFormatPrice(); const updatePortalContent = useSessionStore((s) => s.updatePortalContent); if (variants.length === 0) { @@ -81,10 +79,8 @@ export const ProductVariantsTable: FC = ({ variants } /> )} -
-
- {isPriceVisible(variant.price.priceWithVat) && formatPrice(variant.price.priceWithVat)} -
+
+
{ handleRemoveWishlist(); }} > - {t('Delete all from wishlist')} - + {t('Delete all from wishlist')} +
-
- -
+ )} diff --git a/storefront/cypress/snapshots/e2e/cart/productAddToCart.cy.ts/2-3-0 add to cart popup.png b/storefront/cypress/snapshots/e2e/cart/productAddToCart.cy.ts/2-3-0 add to cart popup.png index 448b599408..8fd9e854bf 100644 Binary files a/storefront/cypress/snapshots/e2e/cart/productAddToCart.cy.ts/2-3-0 add to cart popup.png and b/storefront/cypress/snapshots/e2e/cart/productAddToCart.cy.ts/2-3-0 add to cart popup.png differ diff --git a/storefront/cypress/snapshots/e2e/matrix/matrixTest.cy.ts/0-0-0 matrix page.png b/storefront/cypress/snapshots/e2e/matrix/matrixTest.cy.ts/0-0-0 matrix page.png index 2403dcfc10..b2ab114322 100644 Binary files a/storefront/cypress/snapshots/e2e/matrix/matrixTest.cy.ts/0-0-0 matrix page.png and b/storefront/cypress/snapshots/e2e/matrix/matrixTest.cy.ts/0-0-0 matrix page.png differ diff --git a/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-0 homepage.png b/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-0 homepage.png index 2403dcfc10..b2ab114322 100644 Binary files a/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-0 homepage.png and b/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-0 homepage.png differ diff --git a/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-1 product detail.png b/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-1 product detail.png index a060f44d65..c9abc29119 100644 Binary files a/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-1 product detail.png and b/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-1 product detail.png differ diff --git a/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-2 category detail.png b/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-2 category detail.png index 2562a327e8..83fe76d235 100644 Binary files a/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-2 category detail.png and b/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-2 category detail.png differ diff --git a/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-4 blog article detail.png b/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-4 blog article detail.png index 77d4d0ba5e..d2dc563a85 100644 Binary files a/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-4 blog article detail.png and b/storefront/cypress/snapshots/e2e/visits/simpleVisitsWithScreenshots.cy.ts/5-0-4 blog article detail.png differ diff --git a/storefront/graphql/docs/schema.md b/storefront/graphql/docs/schema.md index b234abba4f..1d3868c143 100644 --- a/storefront/graphql/docs/schema.md +++ b/storefront/graphql/docs/schema.md @@ -7590,12 +7590,39 @@ Represents the price of the product +basicPrice +Price! + + +Basic price of the product. If product has no discounts, it's the same as the selling price + + + + isPriceFrom Boolean! Determines whether it's a final price or starting price + + + +nextPriceChange +DateTime + + +Date of the next price change, null if no price change is planned + + + + +percentageDiscount +Float + + +Percentage discount on the selling price compared to the base price, null if no discount is applied + diff --git a/storefront/graphql/requests/cart/fragments/CartFragment.generated.tsx b/storefront/graphql/requests/cart/fragments/CartFragment.generated.tsx index 5f24613022..86c785f906 100644 --- a/storefront/graphql/requests/cart/fragments/CartFragment.generated.tsx +++ b/storefront/graphql/requests/cart/fragments/CartFragment.generated.tsx @@ -7,7 +7,7 @@ import { CartModificationsFragment } from './CartModificationsFragment.generated import { TransportWithAvailablePaymentsAndStoresFragment } from '../../transports/fragments/TransportWithAvailablePaymentsAndStoresFragment.generated'; import { SimplePaymentFragment } from '../../payments/fragments/SimplePaymentFragment.generated'; import { PromoCodeFragment } from './PromoCodeFragment.generated'; -export type TypeCartFragment = { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null }; +export type TypeCartFragment = { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/fragments/CartItemFragment.generated.tsx b/storefront/graphql/requests/cart/fragments/CartItemFragment.generated.tsx index 8c956695da..7006fc11e4 100644 --- a/storefront/graphql/requests/cart/fragments/CartItemFragment.generated.tsx +++ b/storefront/graphql/requests/cart/fragments/CartItemFragment.generated.tsx @@ -6,7 +6,7 @@ import { ImageFragment } from '../../images/fragments/ImageFragment.generated'; import { AvailabilityFragment } from '../../availabilities/fragments/AvailabilityFragment.generated'; import { ProductPriceFragment } from '../../products/fragments/ProductPriceFragment.generated'; import { SimpleBrandFragment } from '../../brands/fragments/SimpleBrandFragment.generated'; -export type TypeCartItemFragment = { __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }; +export type TypeCartItemFragment = { __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/fragments/CartItemModificationsFragment.generated.tsx b/storefront/graphql/requests/cart/fragments/CartItemModificationsFragment.generated.tsx index 0f2d5e3ff7..e906dd5605 100644 --- a/storefront/graphql/requests/cart/fragments/CartItemModificationsFragment.generated.tsx +++ b/storefront/graphql/requests/cart/fragments/CartItemModificationsFragment.generated.tsx @@ -2,7 +2,7 @@ import * as Types from '../../../types'; import gql from 'graphql-tag'; import { CartItemFragment } from './CartItemFragment.generated'; -export type TypeCartItemModificationsFragment = { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }; +export type TypeCartItemModificationsFragment = { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/fragments/CartModificationsFragment.generated.tsx b/storefront/graphql/requests/cart/fragments/CartModificationsFragment.generated.tsx index d9f33ca5b7..7cb5c46ee3 100644 --- a/storefront/graphql/requests/cart/fragments/CartModificationsFragment.generated.tsx +++ b/storefront/graphql/requests/cart/fragments/CartModificationsFragment.generated.tsx @@ -5,7 +5,7 @@ import { CartItemModificationsFragment } from './CartItemModificationsFragment.g import { CartTransportModificationsFragment } from './CartTransportModificationsFragment.generated'; import { CartPaymentModificationsFragment } from './CartPaymentModificationsFragment.generated'; import { CartPromoCodeModificationsFragment } from './CartPromoCodeModificationsFragment.generated'; -export type TypeCartModificationsFragment = { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }; +export type TypeCartModificationsFragment = { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/AddOrderItemsToCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/AddOrderItemsToCartMutation.generated.tsx index c5d69ad1a2..6466a27ee8 100644 --- a/storefront/graphql/requests/cart/mutations/AddOrderItemsToCartMutation.generated.tsx +++ b/storefront/graphql/requests/cart/mutations/AddOrderItemsToCartMutation.generated.tsx @@ -9,7 +9,7 @@ export type TypeAddOrderItemsToCartMutationVariables = Types.Exact<{ }>; -export type TypeAddOrderItemsToCartMutation = { __typename?: 'Mutation', AddOrderItemsToCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; +export type TypeAddOrderItemsToCartMutation = { __typename?: 'Mutation', AddOrderItemsToCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/AddToCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/AddToCartMutation.generated.tsx index 1272cef53f..8cd5fea8aa 100644 --- a/storefront/graphql/requests/cart/mutations/AddToCartMutation.generated.tsx +++ b/storefront/graphql/requests/cart/mutations/AddToCartMutation.generated.tsx @@ -10,7 +10,7 @@ export type TypeAddToCartMutationVariables = Types.Exact<{ }>; -export type TypeAddToCartMutation = { __typename?: 'Mutation', AddToCart: { __typename?: 'AddToCartResult', cart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null }, addProductResult: { __typename?: 'AddProductResult', addedQuantity: number, isNew: boolean, cartItem: { __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } } } } }; +export type TypeAddToCartMutation = { __typename?: 'Mutation', AddToCart: { __typename?: 'AddToCartResult', cart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null }, addProductResult: { __typename?: 'AddProductResult', addedQuantity: number, isNew: boolean, cartItem: { __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } } } } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/ApplyPromoCodeToCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/ApplyPromoCodeToCartMutation.generated.tsx index 69d2e898de..18d340fe7b 100644 --- a/storefront/graphql/requests/cart/mutations/ApplyPromoCodeToCartMutation.generated.tsx +++ b/storefront/graphql/requests/cart/mutations/ApplyPromoCodeToCartMutation.generated.tsx @@ -9,7 +9,7 @@ export type TypeApplyPromoCodeToCartMutationVariables = Types.Exact<{ }>; -export type TypeApplyPromoCodeToCartMutation = { __typename?: 'Mutation', ApplyPromoCodeToCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; +export type TypeApplyPromoCodeToCartMutation = { __typename?: 'Mutation', ApplyPromoCodeToCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/ChangePaymentInCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/ChangePaymentInCartMutation.generated.tsx index c96e0b24e5..5c28bcd35f 100644 --- a/storefront/graphql/requests/cart/mutations/ChangePaymentInCartMutation.generated.tsx +++ b/storefront/graphql/requests/cart/mutations/ChangePaymentInCartMutation.generated.tsx @@ -9,7 +9,7 @@ export type TypeChangePaymentInCartMutationVariables = Types.Exact<{ }>; -export type TypeChangePaymentInCartMutation = { __typename?: 'Mutation', ChangePaymentInCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; +export type TypeChangePaymentInCartMutation = { __typename?: 'Mutation', ChangePaymentInCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/ChangeTransportInCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/ChangeTransportInCartMutation.generated.tsx index 64ad44a0e7..f1da06c9c0 100644 --- a/storefront/graphql/requests/cart/mutations/ChangeTransportInCartMutation.generated.tsx +++ b/storefront/graphql/requests/cart/mutations/ChangeTransportInCartMutation.generated.tsx @@ -9,7 +9,7 @@ export type TypeChangeTransportInCartMutationVariables = Types.Exact<{ }>; -export type TypeChangeTransportInCartMutation = { __typename?: 'Mutation', ChangeTransportInCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; +export type TypeChangeTransportInCartMutation = { __typename?: 'Mutation', ChangeTransportInCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/RemoveFromCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/RemoveFromCartMutation.generated.tsx index bbd8c975f0..3f48c4f7af 100644 --- a/storefront/graphql/requests/cart/mutations/RemoveFromCartMutation.generated.tsx +++ b/storefront/graphql/requests/cart/mutations/RemoveFromCartMutation.generated.tsx @@ -9,7 +9,7 @@ export type TypeRemoveFromCartMutationVariables = Types.Exact<{ }>; -export type TypeRemoveFromCartMutation = { __typename?: 'Mutation', RemoveFromCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; +export type TypeRemoveFromCartMutation = { __typename?: 'Mutation', RemoveFromCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/RemovePromoCodeFromCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/RemovePromoCodeFromCartMutation.generated.tsx index 654382664f..e8bd64c45f 100644 --- a/storefront/graphql/requests/cart/mutations/RemovePromoCodeFromCartMutation.generated.tsx +++ b/storefront/graphql/requests/cart/mutations/RemovePromoCodeFromCartMutation.generated.tsx @@ -9,7 +9,7 @@ export type TypeRemovePromoCodeFromCartMutationVariables = Types.Exact<{ }>; -export type TypeRemovePromoCodeFromCartMutation = { __typename?: 'Mutation', RemovePromoCodeFromCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; +export type TypeRemovePromoCodeFromCartMutation = { __typename?: 'Mutation', RemovePromoCodeFromCart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/queries/CartQuery.generated.tsx b/storefront/graphql/requests/cart/queries/CartQuery.generated.tsx index 787c865430..835cd0d765 100644 --- a/storefront/graphql/requests/cart/queries/CartQuery.generated.tsx +++ b/storefront/graphql/requests/cart/queries/CartQuery.generated.tsx @@ -9,7 +9,7 @@ export type TypeCartQueryVariables = Types.Exact<{ }>; -export type TypeCartQuery = { __typename?: 'Query', cart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } | null }; +export type TypeCartQuery = { __typename?: 'Query', cart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } | null }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/categories/fragments/CategoryDetailFragment.generated.tsx b/storefront/graphql/requests/categories/fragments/CategoryDetailFragment.generated.tsx index 295368d43f..1a337328b7 100644 --- a/storefront/graphql/requests/categories/fragments/CategoryDetailFragment.generated.tsx +++ b/storefront/graphql/requests/categories/fragments/CategoryDetailFragment.generated.tsx @@ -7,7 +7,7 @@ import { BreadcrumbFragment } from '../../breadcrumbs/fragments/BreadcrumbFragme import { CategoryPreviewFragment } from './CategoryPreviewFragment.generated'; import { ListedProductConnectionPreviewFragment } from '../../products/fragments/ListedProductConnectionPreviewFragment.generated'; import { ListedProductFragment } from '../../products/fragments/ListedProductFragment.generated'; -export type TypeCategoryDetailFragment = { __typename: 'Category', id: number, uuid: string, slug: string, originalCategorySlug: string | null, name: string, description: string | null, seoH1: string | null, seoTitle: string | null, seoMetaDescription: string | null, automatedFilters: Array, images: Array<{ __typename: 'Image', name: string | null, url: string }>, readyCategorySeoMixLinks: Array<{ __typename: 'Link', name: string, slug: string }>, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, categoryHierarchy: Array<{ __typename?: 'CategoryHierarchyItem', id: number, name: string }>, children: Array<{ __typename: 'Category', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null, products: { __typename: 'ProductConnection', totalCount: number } }>, linkedCategories: Array<{ __typename: 'Category', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null, products: { __typename: 'ProductConnection', totalCount: number } }>, products: { __typename: 'ProductConnection', orderingMode: Types.TypeProductOrderingModeEnum, defaultOrderingMode: Types.TypeProductOrderingModeEnum | null, totalCount: number, productFilterOptions: { __typename: 'ProductFilterOptions', minimalPrice: string, maximalPrice: string, inStock: number, brands: Array<{ __typename: 'BrandFilterOption', count: number, brand: { __typename: 'Brand', uuid: string, name: string } }> | null, flags: Array<{ __typename: 'FlagFilterOption', count: number, isSelected: boolean, flag: { __typename: 'Flag', uuid: string, name: string, rgbColor: string } }> | null, parameters: Array<{ __typename: 'ParameterCheckboxFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueFilterOption', uuid: string, text: string, count: number, isSelected: boolean }> } | { __typename: 'ParameterColorFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueColorFilterOption', uuid: string, text: string, count: number, rgbHex: string | null, isSelected: boolean }> } | { __typename: 'ParameterSliderFilterOption', name: string, uuid: string, minimalValue: number, maximalValue: number, isCollapsed: boolean, selectedValue: number | null, isSelectable: boolean, unit: { __typename: 'Unit', name: string } | null }> | null } }, bestsellers: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> }; +export type TypeCategoryDetailFragment = { __typename: 'Category', id: number, uuid: string, slug: string, originalCategorySlug: string | null, name: string, description: string | null, seoH1: string | null, seoTitle: string | null, seoMetaDescription: string | null, automatedFilters: Array, images: Array<{ __typename: 'Image', name: string | null, url: string }>, readyCategorySeoMixLinks: Array<{ __typename: 'Link', name: string, slug: string }>, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, categoryHierarchy: Array<{ __typename?: 'CategoryHierarchyItem', id: number, name: string }>, children: Array<{ __typename: 'Category', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null, products: { __typename: 'ProductConnection', totalCount: number } }>, linkedCategories: Array<{ __typename: 'Category', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null, products: { __typename: 'ProductConnection', totalCount: number } }>, products: { __typename: 'ProductConnection', orderingMode: Types.TypeProductOrderingModeEnum, defaultOrderingMode: Types.TypeProductOrderingModeEnum | null, totalCount: number, productFilterOptions: { __typename: 'ProductFilterOptions', minimalPrice: string, maximalPrice: string, inStock: number, brands: Array<{ __typename: 'BrandFilterOption', count: number, brand: { __typename: 'Brand', uuid: string, name: string } }> | null, flags: Array<{ __typename: 'FlagFilterOption', count: number, isSelected: boolean, flag: { __typename: 'Flag', uuid: string, name: string, rgbColor: string } }> | null, parameters: Array<{ __typename: 'ParameterCheckboxFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueFilterOption', uuid: string, text: string, count: number, isSelected: boolean }> } | { __typename: 'ParameterColorFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueColorFilterOption', uuid: string, text: string, count: number, rgbHex: string | null, isSelected: boolean }> } | { __typename: 'ParameterSliderFilterOption', name: string, uuid: string, minimalValue: number, maximalValue: number, isCollapsed: boolean, selectedValue: number | null, isSelectable: boolean, unit: { __typename: 'Unit', name: string } | null }> | null } }, bestsellers: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/categories/queries/CategoryDetailQuery.generated.tsx b/storefront/graphql/requests/categories/queries/CategoryDetailQuery.generated.tsx index 4dab5d0a5c..19d0d75738 100644 --- a/storefront/graphql/requests/categories/queries/CategoryDetailQuery.generated.tsx +++ b/storefront/graphql/requests/categories/queries/CategoryDetailQuery.generated.tsx @@ -11,7 +11,7 @@ export type TypeCategoryDetailQueryVariables = Types.Exact<{ }>; -export type TypeCategoryDetailQuery = { __typename?: 'Query', category: { __typename: 'Category', id: number, uuid: string, slug: string, originalCategorySlug: string | null, name: string, description: string | null, seoH1: string | null, seoTitle: string | null, seoMetaDescription: string | null, automatedFilters: Array, images: Array<{ __typename: 'Image', name: string | null, url: string }>, readyCategorySeoMixLinks: Array<{ __typename: 'Link', name: string, slug: string }>, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, categoryHierarchy: Array<{ __typename?: 'CategoryHierarchyItem', id: number, name: string }>, children: Array<{ __typename: 'Category', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null, products: { __typename: 'ProductConnection', totalCount: number } }>, linkedCategories: Array<{ __typename: 'Category', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null, products: { __typename: 'ProductConnection', totalCount: number } }>, products: { __typename: 'ProductConnection', orderingMode: Types.TypeProductOrderingModeEnum, defaultOrderingMode: Types.TypeProductOrderingModeEnum | null, totalCount: number, productFilterOptions: { __typename: 'ProductFilterOptions', minimalPrice: string, maximalPrice: string, inStock: number, brands: Array<{ __typename: 'BrandFilterOption', count: number, brand: { __typename: 'Brand', uuid: string, name: string } }> | null, flags: Array<{ __typename: 'FlagFilterOption', count: number, isSelected: boolean, flag: { __typename: 'Flag', uuid: string, name: string, rgbColor: string } }> | null, parameters: Array<{ __typename: 'ParameterCheckboxFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueFilterOption', uuid: string, text: string, count: number, isSelected: boolean }> } | { __typename: 'ParameterColorFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueColorFilterOption', uuid: string, text: string, count: number, rgbHex: string | null, isSelected: boolean }> } | { __typename: 'ParameterSliderFilterOption', name: string, uuid: string, minimalValue: number, maximalValue: number, isCollapsed: boolean, selectedValue: number | null, isSelectable: boolean, unit: { __typename: 'Unit', name: string } | null }> | null } }, bestsellers: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> } | null }; +export type TypeCategoryDetailQuery = { __typename?: 'Query', category: { __typename: 'Category', id: number, uuid: string, slug: string, originalCategorySlug: string | null, name: string, description: string | null, seoH1: string | null, seoTitle: string | null, seoMetaDescription: string | null, automatedFilters: Array, images: Array<{ __typename: 'Image', name: string | null, url: string }>, readyCategorySeoMixLinks: Array<{ __typename: 'Link', name: string, slug: string }>, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, categoryHierarchy: Array<{ __typename?: 'CategoryHierarchyItem', id: number, name: string }>, children: Array<{ __typename: 'Category', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null, products: { __typename: 'ProductConnection', totalCount: number } }>, linkedCategories: Array<{ __typename: 'Category', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null, products: { __typename: 'ProductConnection', totalCount: number } }>, products: { __typename: 'ProductConnection', orderingMode: Types.TypeProductOrderingModeEnum, defaultOrderingMode: Types.TypeProductOrderingModeEnum | null, totalCount: number, productFilterOptions: { __typename: 'ProductFilterOptions', minimalPrice: string, maximalPrice: string, inStock: number, brands: Array<{ __typename: 'BrandFilterOption', count: number, brand: { __typename: 'Brand', uuid: string, name: string } }> | null, flags: Array<{ __typename: 'FlagFilterOption', count: number, isSelected: boolean, flag: { __typename: 'Flag', uuid: string, name: string, rgbColor: string } }> | null, parameters: Array<{ __typename: 'ParameterCheckboxFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueFilterOption', uuid: string, text: string, count: number, isSelected: boolean }> } | { __typename: 'ParameterColorFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueColorFilterOption', uuid: string, text: string, count: number, rgbHex: string | null, isSelected: boolean }> } | { __typename: 'ParameterSliderFilterOption', name: string, uuid: string, minimalValue: number, maximalValue: number, isCollapsed: boolean, selectedValue: number | null, isSelectable: boolean, unit: { __typename: 'Unit', name: string } | null }> | null } }, bestsellers: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> } | null }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/orders/mutations/CreateOrderMutation.generated.tsx b/storefront/graphql/requests/orders/mutations/CreateOrderMutation.generated.tsx index 02ab6f9c5a..c6ca61f098 100644 --- a/storefront/graphql/requests/orders/mutations/CreateOrderMutation.generated.tsx +++ b/storefront/graphql/requests/orders/mutations/CreateOrderMutation.generated.tsx @@ -34,7 +34,7 @@ export type TypeCreateOrderMutationVariables = Types.Exact<{ }>; -export type TypeCreateOrderMutation = { __typename?: 'Mutation', CreateOrder: { __typename?: 'CreateOrderResult', orderCreated: boolean, order: { __typename?: 'Order', number: string, uuid: string, urlHash: string, payment: { __typename?: 'Payment', type: string } } | null, cart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } | null } }; +export type TypeCreateOrderMutation = { __typename?: 'Mutation', CreateOrder: { __typename?: 'CreateOrderResult', orderCreated: boolean, order: { __typename?: 'Order', number: string, uuid: string, urlHash: string, payment: { __typename?: 'Payment', type: string } } | null, cart: { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, selectedPickupPlaceIdentifier: string | null, paymentGoPayBankSwift: string | null, items: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, totalPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalItemsPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, totalDiscountPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, modifications: { __typename: 'CartModificationsResult', someProductWasRemovedFromEshop: boolean, itemModifications: { __typename: 'CartItemModificationsResult', noLongerListableCartItems: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }>, cartItemsWithModifiedPrice: Array<{ __typename: 'CartItem', uuid: string, quantity: number, product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, catalogNumber: string, availableStoresCount: number | null, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }> } }> }, transportModifications: { __typename: 'CartTransportModificationsResult', transportPriceChanged: boolean, transportUnavailable: boolean, transportWeightLimitExceeded: boolean, personalPickupStoreUnavailable: boolean }, paymentModifications: { __typename: 'CartPaymentModificationsResult', paymentPriceChanged: boolean, paymentUnavailable: boolean }, promoCodeModifications: { __typename: 'CartPromoCodeModificationsResult', noLongerApplicablePromoCode: Array }, multipleAddedProductModifications: { __typename?: 'CartMultipleAddedProductModificationsResult', notAddedProducts: Array<{ __typename?: 'MainVariant', fullName: string } | { __typename?: 'RegularProduct', fullName: string } | { __typename?: 'Variant', fullName: string }> } }, transport: { __typename: 'Transport', uuid: string, name: string, description: string | null, daysUntilDelivery: number, transportTypeCode: Types.TypeTransportTypeEnum, isPersonalPickup: boolean, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, payments: Array<{ __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null }>, stores: { __typename: 'StoreConnection', edges: Array<{ __typename: 'StoreEdge', node: { __typename: 'Store', slug: string, name: string, description: string | null, latitude: string | null, longitude: string | null, street: string, postcode: string, city: string, identifier: string, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, country: { __typename: 'Country', name: string, code: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null } | null } | null> | null } | null } | null, payment: { __typename: 'Payment', uuid: string, name: string, description: string | null, instruction: string | null, type: string, price: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, goPayPaymentMethod: { __typename: 'GoPayPaymentMethod', identifier: string, name: string, paymentGroup: string } | null } | null, promoCode: { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum } | null, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null } | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/productLists/fragments/ProductInProductListFragment.generated.tsx b/storefront/graphql/requests/productLists/fragments/ProductInProductListFragment.generated.tsx index 7478cd6f73..e5e7b98a55 100644 --- a/storefront/graphql/requests/productLists/fragments/ProductInProductListFragment.generated.tsx +++ b/storefront/graphql/requests/productLists/fragments/ProductInProductListFragment.generated.tsx @@ -3,11 +3,11 @@ import * as Types from '../../../types'; import gql from 'graphql-tag'; import { ListedProductFragment } from '../../products/fragments/ListedProductFragment.generated'; import { ParameterFragment } from '../../parameters/fragments/ParameterFragment.generated'; -export type TypeProductInProductListFragment_MainVariant_ = { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; +export type TypeProductInProductListFragment_MainVariant_ = { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; -export type TypeProductInProductListFragment_RegularProduct_ = { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; +export type TypeProductInProductListFragment_RegularProduct_ = { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; -export type TypeProductInProductListFragment_Variant_ = { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; +export type TypeProductInProductListFragment_Variant_ = { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; export type TypeProductInProductListFragment = TypeProductInProductListFragment_MainVariant_ | TypeProductInProductListFragment_RegularProduct_ | TypeProductInProductListFragment_Variant_; diff --git a/storefront/graphql/requests/productLists/fragments/ProductListFragment.generated.tsx b/storefront/graphql/requests/productLists/fragments/ProductListFragment.generated.tsx index 23d4b179e1..cc50a0100b 100644 --- a/storefront/graphql/requests/productLists/fragments/ProductListFragment.generated.tsx +++ b/storefront/graphql/requests/productLists/fragments/ProductListFragment.generated.tsx @@ -2,7 +2,7 @@ import * as Types from '../../../types'; import gql from 'graphql-tag'; import { ProductInProductListFragment } from './ProductInProductListFragment.generated'; -export type TypeProductListFragment = { __typename: 'ProductList', uuid: string, products: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> }; +export type TypeProductListFragment = { __typename: 'ProductList', uuid: string, products: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/productLists/mutations/AddProductToListMutation.generated.tsx b/storefront/graphql/requests/productLists/mutations/AddProductToListMutation.generated.tsx index 19c8d36fcc..2d9524b8b1 100644 --- a/storefront/graphql/requests/productLists/mutations/AddProductToListMutation.generated.tsx +++ b/storefront/graphql/requests/productLists/mutations/AddProductToListMutation.generated.tsx @@ -9,7 +9,7 @@ export type TypeAddProductToListMutationVariables = Types.Exact<{ }>; -export type TypeAddProductToListMutation = { __typename?: 'Mutation', AddProductToList: { __typename: 'ProductList', uuid: string, products: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> } }; +export type TypeAddProductToListMutation = { __typename?: 'Mutation', AddProductToList: { __typename: 'ProductList', uuid: string, products: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/productLists/mutations/RemoveProductFromListMutation.generated.tsx b/storefront/graphql/requests/productLists/mutations/RemoveProductFromListMutation.generated.tsx index b2b59ddb3b..f8a6d012b9 100644 --- a/storefront/graphql/requests/productLists/mutations/RemoveProductFromListMutation.generated.tsx +++ b/storefront/graphql/requests/productLists/mutations/RemoveProductFromListMutation.generated.tsx @@ -9,7 +9,7 @@ export type TypeRemoveProductFromListMutationVariables = Types.Exact<{ }>; -export type TypeRemoveProductFromListMutation = { __typename?: 'Mutation', RemoveProductFromList: { __typename: 'ProductList', uuid: string, products: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> } | null }; +export type TypeRemoveProductFromListMutation = { __typename?: 'Mutation', RemoveProductFromList: { __typename: 'ProductList', uuid: string, products: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> } | null }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/productLists/queries/ProductListQuery.generated.tsx b/storefront/graphql/requests/productLists/queries/ProductListQuery.generated.tsx index 65357e5ce0..738b07d56f 100644 --- a/storefront/graphql/requests/productLists/queries/ProductListQuery.generated.tsx +++ b/storefront/graphql/requests/productLists/queries/ProductListQuery.generated.tsx @@ -9,7 +9,7 @@ export type TypeProductListQueryVariables = Types.Exact<{ }>; -export type TypeProductListQuery = { __typename?: 'Query', productList: { __typename: 'ProductList', uuid: string, products: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> } | null }; +export type TypeProductListQuery = { __typename?: 'Query', productList: { __typename: 'ProductList', uuid: string, products: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> } | null }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/products/fragments/ListedProductConnectionFragment.generated.tsx b/storefront/graphql/requests/products/fragments/ListedProductConnectionFragment.generated.tsx index 7d53aa504b..872e3d969a 100644 --- a/storefront/graphql/requests/products/fragments/ListedProductConnectionFragment.generated.tsx +++ b/storefront/graphql/requests/products/fragments/ListedProductConnectionFragment.generated.tsx @@ -2,7 +2,7 @@ import * as Types from '../../../types'; import gql from 'graphql-tag'; import { ListedProductFragment } from './ListedProductFragment.generated'; -export type TypeListedProductConnectionFragment = { __typename: 'ProductConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null }; +export type TypeListedProductConnectionFragment = { __typename: 'ProductConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/products/fragments/ListedProductFragment.generated.tsx b/storefront/graphql/requests/products/fragments/ListedProductFragment.generated.tsx index 2cf104ef0f..5d9302d0c0 100644 --- a/storefront/graphql/requests/products/fragments/ListedProductFragment.generated.tsx +++ b/storefront/graphql/requests/products/fragments/ListedProductFragment.generated.tsx @@ -6,11 +6,11 @@ import { ImageFragment } from '../../images/fragments/ImageFragment.generated'; import { ProductPriceFragment } from './ProductPriceFragment.generated'; import { AvailabilityFragment } from '../../availabilities/fragments/AvailabilityFragment.generated'; import { SimpleBrandFragment } from '../../brands/fragments/SimpleBrandFragment.generated'; -export type TypeListedProductFragment_MainVariant_ = { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; +export type TypeListedProductFragment_MainVariant_ = { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; -export type TypeListedProductFragment_RegularProduct_ = { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; +export type TypeListedProductFragment_RegularProduct_ = { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; -export type TypeListedProductFragment_Variant_ = { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; +export type TypeListedProductFragment_Variant_ = { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }; export type TypeListedProductFragment = TypeListedProductFragment_MainVariant_ | TypeListedProductFragment_RegularProduct_ | TypeListedProductFragment_Variant_; diff --git a/storefront/graphql/requests/products/fragments/MainVariantDetailFragment.generated.tsx b/storefront/graphql/requests/products/fragments/MainVariantDetailFragment.generated.tsx index 0d08e8b569..b68a115e61 100644 --- a/storefront/graphql/requests/products/fragments/MainVariantDetailFragment.generated.tsx +++ b/storefront/graphql/requests/products/fragments/MainVariantDetailFragment.generated.tsx @@ -4,7 +4,7 @@ import gql from 'graphql-tag'; import { ProductDetailInterfaceFragment } from './ProductDetailInterfaceFragment.generated'; import { ListedProductFragment } from './ListedProductFragment.generated'; import { StoreAvailabilityFragment } from '../../storeAvailabilities/fragments/StoreAvailabilityFragment.generated'; -export type TypeMainVariantDetailFragment = { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, variants: Array<{ __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, storeAvailabilities: Array<{ __typename: 'StoreAvailability', availabilityInformation: string, availabilityStatus: Types.TypeAvailabilityStatusEnum, store: { __typename: 'Store', uuid: string, slug: string, description: string | null, street: string, city: string, postcode: string, contactInfo: string | null, specialMessage: string | null, latitude: string | null, longitude: string | null, storeName: string, country: { __typename: 'Country', name: string, code: string }, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, storeImages: Array<{ __typename: 'Image', name: string | null, url: string }> } | null }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> }; +export type TypeMainVariantDetailFragment = { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, variants: Array<{ __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, storeAvailabilities: Array<{ __typename: 'StoreAvailability', availabilityInformation: string, availabilityStatus: Types.TypeAvailabilityStatusEnum, store: { __typename: 'Store', uuid: string, slug: string, description: string | null, street: string, city: string, postcode: string, contactInfo: string | null, specialMessage: string | null, latitude: string | null, longitude: string | null, storeName: string, country: { __typename: 'Country', name: string, code: string }, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, storeImages: Array<{ __typename: 'Image', name: string | null, url: string }> } | null }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/products/fragments/ProductDetailFragment.generated.tsx b/storefront/graphql/requests/products/fragments/ProductDetailFragment.generated.tsx index ff0b3c92c7..fa99d268bc 100644 --- a/storefront/graphql/requests/products/fragments/ProductDetailFragment.generated.tsx +++ b/storefront/graphql/requests/products/fragments/ProductDetailFragment.generated.tsx @@ -3,7 +3,7 @@ import * as Types from '../../../types'; import gql from 'graphql-tag'; import { ProductDetailInterfaceFragment } from './ProductDetailInterfaceFragment.generated'; import { StoreAvailabilityFragment } from '../../storeAvailabilities/fragments/StoreAvailabilityFragment.generated'; -export type TypeProductDetailFragment = { __typename: 'RegularProduct', shortDescription: string | null, usps: Array, availableStoresCount: number | null, id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, storeAvailabilities: Array<{ __typename: 'StoreAvailability', availabilityInformation: string, availabilityStatus: Types.TypeAvailabilityStatusEnum, store: { __typename: 'Store', uuid: string, slug: string, description: string | null, street: string, city: string, postcode: string, contactInfo: string | null, specialMessage: string | null, latitude: string | null, longitude: string | null, storeName: string, country: { __typename: 'Country', name: string, code: string }, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, storeImages: Array<{ __typename: 'Image', name: string | null, url: string }> } | null }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> }; +export type TypeProductDetailFragment = { __typename: 'RegularProduct', shortDescription: string | null, usps: Array, availableStoresCount: number | null, id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, storeAvailabilities: Array<{ __typename: 'StoreAvailability', availabilityInformation: string, availabilityStatus: Types.TypeAvailabilityStatusEnum, store: { __typename: 'Store', uuid: string, slug: string, description: string | null, street: string, city: string, postcode: string, contactInfo: string | null, specialMessage: string | null, latitude: string | null, longitude: string | null, storeName: string, country: { __typename: 'Country', name: string, code: string }, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, storeImages: Array<{ __typename: 'Image', name: string | null, url: string }> } | null }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/products/fragments/ProductDetailInterfaceFragment.generated.tsx b/storefront/graphql/requests/products/fragments/ProductDetailInterfaceFragment.generated.tsx index 18d319c639..0a96bfc1fd 100644 --- a/storefront/graphql/requests/products/fragments/ProductDetailInterfaceFragment.generated.tsx +++ b/storefront/graphql/requests/products/fragments/ProductDetailInterfaceFragment.generated.tsx @@ -12,11 +12,11 @@ import { SimpleBrandFragment } from '../../brands/fragments/SimpleBrandFragment. import { HreflangLinksFragment } from '../../hreflangLinks/fragments/HreflangLinksFragment.generated'; import { VideoTokenFragment } from './VideoTokenFragment.generated'; import { FileFragment } from '../../files/fragments/FileFragment.generated'; -export type TypeProductDetailInterfaceFragment_MainVariant_ = { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> }; +export type TypeProductDetailInterfaceFragment_MainVariant_ = { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> }; -export type TypeProductDetailInterfaceFragment_RegularProduct_ = { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> }; +export type TypeProductDetailInterfaceFragment_RegularProduct_ = { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> }; -export type TypeProductDetailInterfaceFragment_Variant_ = { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> }; +export type TypeProductDetailInterfaceFragment_Variant_ = { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> }; export type TypeProductDetailInterfaceFragment = TypeProductDetailInterfaceFragment_MainVariant_ | TypeProductDetailInterfaceFragment_RegularProduct_ | TypeProductDetailInterfaceFragment_Variant_; diff --git a/storefront/graphql/requests/products/fragments/ProductPriceFragment.generated.tsx b/storefront/graphql/requests/products/fragments/ProductPriceFragment.generated.tsx index 714e488943..500d7e26ba 100644 --- a/storefront/graphql/requests/products/fragments/ProductPriceFragment.generated.tsx +++ b/storefront/graphql/requests/products/fragments/ProductPriceFragment.generated.tsx @@ -1,7 +1,7 @@ import * as Types from '../../../types'; import gql from 'graphql-tag'; -export type TypeProductPriceFragment = { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }; +export type TypeProductPriceFragment = { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }; export interface PossibleTypesResultData { @@ -87,5 +87,12 @@ export const ProductPriceFragment = gql` priceWithoutVat vatAmount isPriceFrom + nextPriceChange + percentageDiscount + basicPrice { + priceWithVat + priceWithoutVat + vatAmount + } } `; \ No newline at end of file diff --git a/storefront/graphql/requests/products/fragments/ProductPriceFragment.graphql b/storefront/graphql/requests/products/fragments/ProductPriceFragment.graphql index df0db98371..25c1a206f3 100644 --- a/storefront/graphql/requests/products/fragments/ProductPriceFragment.graphql +++ b/storefront/graphql/requests/products/fragments/ProductPriceFragment.graphql @@ -4,4 +4,11 @@ fragment ProductPriceFragment on ProductPrice { priceWithoutVat vatAmount isPriceFrom + nextPriceChange + percentageDiscount + basicPrice{ + priceWithVat + priceWithoutVat + vatAmount + } } diff --git a/storefront/graphql/requests/products/fragments/SimpleProductFragment.generated.tsx b/storefront/graphql/requests/products/fragments/SimpleProductFragment.generated.tsx index 4ed3cbb5d9..225d004b3b 100644 --- a/storefront/graphql/requests/products/fragments/SimpleProductFragment.generated.tsx +++ b/storefront/graphql/requests/products/fragments/SimpleProductFragment.generated.tsx @@ -6,11 +6,11 @@ import { ImageFragment } from '../../images/fragments/ImageFragment.generated'; import { SimpleBrandFragment } from '../../brands/fragments/SimpleBrandFragment.generated'; import { SimpleFlagFragment } from '../../flags/fragments/SimpleFlagFragment.generated'; import { AvailabilityFragment } from '../../availabilities/fragments/AvailabilityFragment.generated'; -export type TypeSimpleProductFragment_MainVariant_ = { __typename: 'MainVariant', id: number, uuid: string, catalogNumber: string, fullName: string, slug: string, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum } }; +export type TypeSimpleProductFragment_MainVariant_ = { __typename: 'MainVariant', id: number, uuid: string, catalogNumber: string, fullName: string, slug: string, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum } }; -export type TypeSimpleProductFragment_RegularProduct_ = { __typename: 'RegularProduct', id: number, uuid: string, catalogNumber: string, fullName: string, slug: string, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum } }; +export type TypeSimpleProductFragment_RegularProduct_ = { __typename: 'RegularProduct', id: number, uuid: string, catalogNumber: string, fullName: string, slug: string, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum } }; -export type TypeSimpleProductFragment_Variant_ = { __typename: 'Variant', id: number, uuid: string, catalogNumber: string, fullName: string, slug: string, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum } }; +export type TypeSimpleProductFragment_Variant_ = { __typename: 'Variant', id: number, uuid: string, catalogNumber: string, fullName: string, slug: string, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, mainImage: { __typename: 'Image', name: string | null, url: string } | null, unit: { __typename?: 'Unit', name: string }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum } }; export type TypeSimpleProductFragment = TypeSimpleProductFragment_MainVariant_ | TypeSimpleProductFragment_RegularProduct_ | TypeSimpleProductFragment_Variant_; diff --git a/storefront/graphql/requests/products/queries/BrandProductsQuery.generated.tsx b/storefront/graphql/requests/products/queries/BrandProductsQuery.generated.tsx index 1495cdb8e4..09ffc4112d 100644 --- a/storefront/graphql/requests/products/queries/BrandProductsQuery.generated.tsx +++ b/storefront/graphql/requests/products/queries/BrandProductsQuery.generated.tsx @@ -13,7 +13,7 @@ export type TypeBrandProductsQueryVariables = Types.Exact<{ }>; -export type TypeBrandProductsQuery = { __typename?: 'Query', products: { __typename: 'ProductConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; +export type TypeBrandProductsQuery = { __typename?: 'Query', products: { __typename: 'ProductConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/products/queries/CategoryProductsQuery.generated.tsx b/storefront/graphql/requests/products/queries/CategoryProductsQuery.generated.tsx index 04a77d4dc0..b818a926d1 100644 --- a/storefront/graphql/requests/products/queries/CategoryProductsQuery.generated.tsx +++ b/storefront/graphql/requests/products/queries/CategoryProductsQuery.generated.tsx @@ -13,7 +13,7 @@ export type TypeCategoryProductsQueryVariables = Types.Exact<{ }>; -export type TypeCategoryProductsQuery = { __typename?: 'Query', products: { __typename: 'ProductConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; +export type TypeCategoryProductsQuery = { __typename?: 'Query', products: { __typename: 'ProductConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/products/queries/FlagProductsQuery.generated.tsx b/storefront/graphql/requests/products/queries/FlagProductsQuery.generated.tsx index 0eb202f10b..9f52756a1a 100644 --- a/storefront/graphql/requests/products/queries/FlagProductsQuery.generated.tsx +++ b/storefront/graphql/requests/products/queries/FlagProductsQuery.generated.tsx @@ -13,7 +13,7 @@ export type TypeFlagProductsQueryVariables = Types.Exact<{ }>; -export type TypeFlagProductsQuery = { __typename?: 'Query', products: { __typename: 'ProductConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; +export type TypeFlagProductsQuery = { __typename?: 'Query', products: { __typename: 'ProductConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/products/queries/ProductDetailQuery.generated.tsx b/storefront/graphql/requests/products/queries/ProductDetailQuery.generated.tsx index f442f7cf3b..1c64ab5023 100644 --- a/storefront/graphql/requests/products/queries/ProductDetailQuery.generated.tsx +++ b/storefront/graphql/requests/products/queries/ProductDetailQuery.generated.tsx @@ -10,7 +10,7 @@ export type TypeProductDetailQueryVariables = Types.Exact<{ }>; -export type TypeProductDetailQuery = { __typename?: 'Query', product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, variants: Array<{ __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, storeAvailabilities: Array<{ __typename: 'StoreAvailability', availabilityInformation: string, availabilityStatus: Types.TypeAvailabilityStatusEnum, store: { __typename: 'Store', uuid: string, slug: string, description: string | null, street: string, city: string, postcode: string, contactInfo: string | null, specialMessage: string | null, latitude: string | null, longitude: string | null, storeName: string, country: { __typename: 'Country', name: string, code: string }, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, storeImages: Array<{ __typename: 'Image', name: string | null, url: string }> } | null }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> } | { __typename: 'RegularProduct', shortDescription: string | null, usps: Array, availableStoresCount: number | null, id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, storeAvailabilities: Array<{ __typename: 'StoreAvailability', availabilityInformation: string, availabilityStatus: Types.TypeAvailabilityStatusEnum, store: { __typename: 'Store', uuid: string, slug: string, description: string | null, street: string, city: string, postcode: string, contactInfo: string | null, specialMessage: string | null, latitude: string | null, longitude: string | null, storeName: string, country: { __typename: 'Country', name: string, code: string }, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, storeImages: Array<{ __typename: 'Image', name: string | null, url: string }> } | null }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> } | { __typename: 'Variant', catalogNumber: string, mainVariant: { __typename?: 'MainVariant', slug: string } | null } | null }; +export type TypeProductDetailQuery = { __typename?: 'Query', product: { __typename: 'MainVariant', id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, variants: Array<{ __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, storeAvailabilities: Array<{ __typename: 'StoreAvailability', availabilityInformation: string, availabilityStatus: Types.TypeAvailabilityStatusEnum, store: { __typename: 'Store', uuid: string, slug: string, description: string | null, street: string, city: string, postcode: string, contactInfo: string | null, specialMessage: string | null, latitude: string | null, longitude: string | null, storeName: string, country: { __typename: 'Country', name: string, code: string }, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, storeImages: Array<{ __typename: 'Image', name: string | null, url: string }> } | null }>, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> } | { __typename: 'RegularProduct', shortDescription: string | null, usps: Array, availableStoresCount: number | null, id: number, uuid: string, slug: string, fullName: string, name: string, namePrefix: string | null, nameSuffix: string | null, catalogNumber: string, ean: string | null, description: string | null, isSellingDenied: boolean, seoTitle: string | null, seoMetaDescription: string | null, isMainVariant: boolean, isInquiryType: boolean, storeAvailabilities: Array<{ __typename: 'StoreAvailability', availabilityInformation: string, availabilityStatus: Types.TypeAvailabilityStatusEnum, store: { __typename: 'Store', uuid: string, slug: string, description: string | null, street: string, city: string, postcode: string, contactInfo: string | null, specialMessage: string | null, latitude: string | null, longitude: string | null, storeName: string, country: { __typename: 'Country', name: string, code: string }, openingHours: { __typename?: 'OpeningHours', status: Types.TypeStoreOpeningStatusEnum, dayOfWeek: number, openingHoursOfDays: Array<{ __typename?: 'OpeningHoursOfDay', date: any, dayOfWeek: number, openingHoursRanges: Array<{ __typename?: 'OpeningHoursRange', openingTime: string, closingTime: string }> }> }, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, storeImages: Array<{ __typename: 'Image', name: string | null, url: string }> } | null }>, breadcrumb: Array<{ __typename: 'Link', name: string, slug: string }>, images: Array<{ __typename: 'Image', name: string | null, url: string }>, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, parameters: Array<{ __typename: 'Parameter', uuid: string, name: string, group: string | null, unit: { __typename: 'Unit', name: string } | null, values: Array<{ __typename: 'ParameterValue', uuid: string, text: string }> }>, accessories: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename?: 'Category', name: string }>, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, hreflangLinks: Array<{ __typename?: 'HreflangLink', hreflang: string, href: string }>, productVideos: Array<{ __typename: 'VideoToken', description: string, token: string }>, relatedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }>, files: Array<{ __typename: 'File', anchorText: string, url: string }> } | { __typename: 'Variant', catalogNumber: string, mainVariant: { __typename?: 'MainVariant', slug: string } | null } | null }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/products/queries/ProductsByCatnumsQuery.generated.tsx b/storefront/graphql/requests/products/queries/ProductsByCatnumsQuery.generated.tsx index c50bd59180..6de7f76932 100644 --- a/storefront/graphql/requests/products/queries/ProductsByCatnumsQuery.generated.tsx +++ b/storefront/graphql/requests/products/queries/ProductsByCatnumsQuery.generated.tsx @@ -9,7 +9,7 @@ export type TypeProductsByCatnumsVariables = Types.Exact<{ }>; -export type TypeProductsByCatnums = { __typename?: 'Query', productsByCatnums: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> }; +export type TypeProductsByCatnums = { __typename?: 'Query', productsByCatnums: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/products/queries/PromotedProductsQuery.generated.tsx b/storefront/graphql/requests/products/queries/PromotedProductsQuery.generated.tsx index 8441da1443..13e54370ae 100644 --- a/storefront/graphql/requests/products/queries/PromotedProductsQuery.generated.tsx +++ b/storefront/graphql/requests/products/queries/PromotedProductsQuery.generated.tsx @@ -7,7 +7,7 @@ export type Omit = Pick>; export type TypePromotedProductsQueryVariables = Types.Exact<{ [key: string]: never; }>; -export type TypePromotedProductsQuery = { __typename?: 'Query', promotedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> }; +export type TypePromotedProductsQuery = { __typename?: 'Query', promotedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/products/queries/RecommendedProductsQuery.generated.tsx b/storefront/graphql/requests/products/queries/RecommendedProductsQuery.generated.tsx index 037a8b853b..9430f5fea4 100644 --- a/storefront/graphql/requests/products/queries/RecommendedProductsQuery.generated.tsx +++ b/storefront/graphql/requests/products/queries/RecommendedProductsQuery.generated.tsx @@ -13,7 +13,7 @@ export type TypeRecommendedProductsQueryVariables = Types.Exact<{ }>; -export type TypeRecommendedProductsQuery = { __typename?: 'Query', recommendedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> }; +export type TypeRecommendedProductsQuery = { __typename?: 'Query', recommendedProducts: Array<{ __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> }> }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/search/queries/AutocompleteSearchQuery.generated.tsx b/storefront/graphql/requests/search/queries/AutocompleteSearchQuery.generated.tsx index 1e2e46828e..003e5e5da3 100644 --- a/storefront/graphql/requests/search/queries/AutocompleteSearchQuery.generated.tsx +++ b/storefront/graphql/requests/search/queries/AutocompleteSearchQuery.generated.tsx @@ -17,7 +17,7 @@ export type TypeAutocompleteSearchQueryVariables = Types.Exact<{ }>; -export type TypeAutocompleteSearchQuery = { __typename?: 'Query', articlesSearch: Array<{ __typename: 'ArticleSite', uuid: string, name: string, slug: string, placement: string, external: boolean } | { __typename: 'BlogArticle', name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null }>, brandSearch: Array<{ __typename: 'Brand', name: string, slug: string }>, categoriesSearch: { __typename: 'CategoryConnection', totalCount: number, edges: Array<{ __typename: 'CategoryEdge', node: { __typename: 'Category', uuid: string, name: string, slug: string } | null } | null> | null }, productsSearch: { __typename: 'ProductConnection', orderingMode: Types.TypeProductOrderingModeEnum, defaultOrderingMode: Types.TypeProductOrderingModeEnum | null, totalCount: number, productFilterOptions: { __typename: 'ProductFilterOptions', minimalPrice: string, maximalPrice: string, inStock: number, brands: Array<{ __typename: 'BrandFilterOption', count: number, brand: { __typename: 'Brand', uuid: string, name: string } }> | null, flags: Array<{ __typename: 'FlagFilterOption', count: number, isSelected: boolean, flag: { __typename: 'Flag', uuid: string, name: string, rgbColor: string } }> | null, parameters: Array<{ __typename: 'ParameterCheckboxFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueFilterOption', uuid: string, text: string, count: number, isSelected: boolean }> } | { __typename: 'ParameterColorFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueColorFilterOption', uuid: string, text: string, count: number, rgbHex: string | null, isSelected: boolean }> } | { __typename: 'ParameterSliderFilterOption', name: string, uuid: string, minimalValue: number, maximalValue: number, isCollapsed: boolean, selectedValue: number | null, isSelectable: boolean, unit: { __typename: 'Unit', name: string } | null }> | null }, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; +export type TypeAutocompleteSearchQuery = { __typename?: 'Query', articlesSearch: Array<{ __typename: 'ArticleSite', uuid: string, name: string, slug: string, placement: string, external: boolean } | { __typename: 'BlogArticle', name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null }>, brandSearch: Array<{ __typename: 'Brand', name: string, slug: string }>, categoriesSearch: { __typename: 'CategoryConnection', totalCount: number, edges: Array<{ __typename: 'CategoryEdge', node: { __typename: 'Category', uuid: string, name: string, slug: string } | null } | null> | null }, productsSearch: { __typename: 'ProductConnection', orderingMode: Types.TypeProductOrderingModeEnum, defaultOrderingMode: Types.TypeProductOrderingModeEnum | null, totalCount: number, productFilterOptions: { __typename: 'ProductFilterOptions', minimalPrice: string, maximalPrice: string, inStock: number, brands: Array<{ __typename: 'BrandFilterOption', count: number, brand: { __typename: 'Brand', uuid: string, name: string } }> | null, flags: Array<{ __typename: 'FlagFilterOption', count: number, isSelected: boolean, flag: { __typename: 'Flag', uuid: string, name: string, rgbColor: string } }> | null, parameters: Array<{ __typename: 'ParameterCheckboxFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueFilterOption', uuid: string, text: string, count: number, isSelected: boolean }> } | { __typename: 'ParameterColorFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueColorFilterOption', uuid: string, text: string, count: number, rgbHex: string | null, isSelected: boolean }> } | { __typename: 'ParameterSliderFilterOption', name: string, uuid: string, minimalValue: number, maximalValue: number, isCollapsed: boolean, selectedValue: number | null, isSelectable: boolean, unit: { __typename: 'Unit', name: string } | null }> | null }, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/search/queries/SearchProductsQuery.generated.tsx b/storefront/graphql/requests/search/queries/SearchProductsQuery.generated.tsx index 4ba2168d19..020d82fc72 100644 --- a/storefront/graphql/requests/search/queries/SearchProductsQuery.generated.tsx +++ b/storefront/graphql/requests/search/queries/SearchProductsQuery.generated.tsx @@ -17,7 +17,7 @@ export type TypeSearchProductsQueryVariables = Types.Exact<{ }>; -export type TypeSearchProductsQuery = { __typename?: 'Query', productsSearch: { __typename: 'ProductConnection', orderingMode: Types.TypeProductOrderingModeEnum, defaultOrderingMode: Types.TypeProductOrderingModeEnum | null, totalCount: number, productFilterOptions: { __typename: 'ProductFilterOptions', minimalPrice: string, maximalPrice: string, inStock: number, brands: Array<{ __typename: 'BrandFilterOption', count: number, brand: { __typename: 'Brand', uuid: string, name: string } }> | null, flags: Array<{ __typename: 'FlagFilterOption', count: number, isSelected: boolean, flag: { __typename: 'Flag', uuid: string, name: string, rgbColor: string } }> | null, parameters: Array<{ __typename: 'ParameterCheckboxFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueFilterOption', uuid: string, text: string, count: number, isSelected: boolean }> } | { __typename: 'ParameterColorFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueColorFilterOption', uuid: string, text: string, count: number, rgbHex: string | null, isSelected: boolean }> } | { __typename: 'ParameterSliderFilterOption', name: string, uuid: string, minimalValue: number, maximalValue: number, isCollapsed: boolean, selectedValue: number | null, isSelectable: boolean, unit: { __typename: 'Unit', name: string } | null }> | null }, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; +export type TypeSearchProductsQuery = { __typename?: 'Query', productsSearch: { __typename: 'ProductConnection', orderingMode: Types.TypeProductOrderingModeEnum, defaultOrderingMode: Types.TypeProductOrderingModeEnum | null, totalCount: number, productFilterOptions: { __typename: 'ProductFilterOptions', minimalPrice: string, maximalPrice: string, inStock: number, brands: Array<{ __typename: 'BrandFilterOption', count: number, brand: { __typename: 'Brand', uuid: string, name: string } }> | null, flags: Array<{ __typename: 'FlagFilterOption', count: number, isSelected: boolean, flag: { __typename: 'Flag', uuid: string, name: string, rgbColor: string } }> | null, parameters: Array<{ __typename: 'ParameterCheckboxFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueFilterOption', uuid: string, text: string, count: number, isSelected: boolean }> } | { __typename: 'ParameterColorFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueColorFilterOption', uuid: string, text: string, count: number, rgbHex: string | null, isSelected: boolean }> } | { __typename: 'ParameterSliderFilterOption', name: string, uuid: string, minimalValue: number, maximalValue: number, isCollapsed: boolean, selectedValue: number | null, isSelectable: boolean, unit: { __typename: 'Unit', name: string } | null }> | null }, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/search/queries/SearchQuery.generated.tsx b/storefront/graphql/requests/search/queries/SearchQuery.generated.tsx index 6a19bffb50..2482f93005 100644 --- a/storefront/graphql/requests/search/queries/SearchQuery.generated.tsx +++ b/storefront/graphql/requests/search/queries/SearchQuery.generated.tsx @@ -20,7 +20,7 @@ export type TypeSearchQueryVariables = Types.Exact<{ }>; -export type TypeSearchQuery = { __typename?: 'Query', articlesSearch: Array<{ __typename: 'ArticleSite', uuid: string, name: string, slug: string, placement: string, external: boolean } | { __typename: 'BlogArticle', name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null }>, brandSearch: Array<{ __typename: 'Brand', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null }>, categoriesSearch: { __typename: 'CategoryConnection', totalCount: number, edges: Array<{ __typename: 'CategoryEdge', node: { __typename: 'Category', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null, products: { __typename: 'ProductConnection', totalCount: number } } | null } | null> | null }, productsSearch: { __typename: 'ProductConnection', orderingMode: Types.TypeProductOrderingModeEnum, defaultOrderingMode: Types.TypeProductOrderingModeEnum | null, totalCount: number, productFilterOptions: { __typename: 'ProductFilterOptions', minimalPrice: string, maximalPrice: string, inStock: number, brands: Array<{ __typename: 'BrandFilterOption', count: number, brand: { __typename: 'Brand', uuid: string, name: string } }> | null, flags: Array<{ __typename: 'FlagFilterOption', count: number, isSelected: boolean, flag: { __typename: 'Flag', uuid: string, name: string, rgbColor: string } }> | null, parameters: Array<{ __typename: 'ParameterCheckboxFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueFilterOption', uuid: string, text: string, count: number, isSelected: boolean }> } | { __typename: 'ParameterColorFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueColorFilterOption', uuid: string, text: string, count: number, rgbHex: string | null, isSelected: boolean }> } | { __typename: 'ParameterSliderFilterOption', name: string, uuid: string, minimalValue: number, maximalValue: number, isCollapsed: boolean, selectedValue: number | null, isSelectable: boolean, unit: { __typename: 'Unit', name: string } | null }> | null }, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; +export type TypeSearchQuery = { __typename?: 'Query', articlesSearch: Array<{ __typename: 'ArticleSite', uuid: string, name: string, slug: string, placement: string, external: boolean } | { __typename: 'BlogArticle', name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null }>, brandSearch: Array<{ __typename: 'Brand', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null }>, categoriesSearch: { __typename: 'CategoryConnection', totalCount: number, edges: Array<{ __typename: 'CategoryEdge', node: { __typename: 'Category', uuid: string, name: string, slug: string, mainImage: { __typename: 'Image', name: string | null, url: string } | null, products: { __typename: 'ProductConnection', totalCount: number } } | null } | null> | null }, productsSearch: { __typename: 'ProductConnection', orderingMode: Types.TypeProductOrderingModeEnum, defaultOrderingMode: Types.TypeProductOrderingModeEnum | null, totalCount: number, productFilterOptions: { __typename: 'ProductFilterOptions', minimalPrice: string, maximalPrice: string, inStock: number, brands: Array<{ __typename: 'BrandFilterOption', count: number, brand: { __typename: 'Brand', uuid: string, name: string } }> | null, flags: Array<{ __typename: 'FlagFilterOption', count: number, isSelected: boolean, flag: { __typename: 'Flag', uuid: string, name: string, rgbColor: string } }> | null, parameters: Array<{ __typename: 'ParameterCheckboxFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueFilterOption', uuid: string, text: string, count: number, isSelected: boolean }> } | { __typename: 'ParameterColorFilterOption', name: string, uuid: string, isCollapsed: boolean, values: Array<{ __typename: 'ParameterValueColorFilterOption', uuid: string, text: string, count: number, rgbHex: string | null, isSelected: boolean }> } | { __typename: 'ParameterSliderFilterOption', name: string, uuid: string, minimalValue: number, maximalValue: number, isCollapsed: boolean, selectedValue: number | null, isSelectable: boolean, unit: { __typename: 'Unit', name: string } | null }> | null }, pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, edges: Array<{ __typename: 'ProductEdge', node: { __typename: 'MainVariant', variantsCount: number, id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'RegularProduct', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | { __typename: 'Variant', id: number, uuid: string, slug: string, fullName: string, name: string, isSellingDenied: boolean, availableStoresCount: number | null, catalogNumber: string, isMainVariant: boolean, isInquiryType: boolean, mainVariant: { __typename?: 'MainVariant', slug: string } | null, flags: Array<{ __typename: 'Flag', uuid: string, name: string, rgbColor: string }>, mainImage: { __typename: 'Image', name: string | null, url: string } | null, price: { __typename: 'ProductPrice', priceWithVat: string, priceWithoutVat: string, vatAmount: string, isPriceFrom: boolean, nextPriceChange: any | null, percentageDiscount: number | null, basicPrice: { __typename?: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } }, availability: { __typename: 'Availability', name: string, status: Types.TypeAvailabilityStatusEnum }, brand: { __typename: 'Brand', name: string, slug: string } | null, categories: Array<{ __typename: 'Category', name: string }> } | null } | null> | null } }; export interface PossibleTypesResultData { diff --git a/storefront/graphql/types.ts b/storefront/graphql/types.ts index 110faff204..425eb69b8b 100644 --- a/storefront/graphql/types.ts +++ b/storefront/graphql/types.ts @@ -2385,8 +2385,14 @@ export enum TypeProductOrderingModeEnum { /** Represents the price of the product */ export type TypeProductPrice = { __typename?: 'ProductPrice'; + /** Basic price of the product. If product has no discounts, it's the same as the selling price */ + basicPrice: TypePrice; /** Determines whether it's a final price or starting price */ isPriceFrom: Scalars['Boolean']['output']; + /** Date of the next price change, null if no price change is planned */ + nextPriceChange: Maybe; + /** Percentage discount on the selling price compared to the base price, null if no discount is applied */ + percentageDiscount: Maybe; /** Price with VAT */ priceWithVat: Scalars['Money']['output']; /** Price without VAT */ diff --git a/storefront/public/locales/cs/common.json b/storefront/public/locales/cs/common.json index b20e661926..9b9fe0921f 100644 --- a/storefront/public/locales/cs/common.json +++ b/storefront/public/locales/cs/common.json @@ -110,6 +110,10 @@ "Customized E-shop by": "E-shop na míru od", "Czechia": "Česko", "Date of order": "Datum objednání", + "days count_one": "den", + "days count_few": "dny", + "days count_many": "dnů", + "days count_other": "dnů", "Decrease": "Snížit", "Delete": "Smazat", "Delete all": "Smazat vše", @@ -129,6 +133,7 @@ "Description": "Popis", "Detail": "Detail", "Different delivery address": "Jiná dodací adresa", + "disount": "sleva", "Do not want to choose? Choose certainty": "Nevíte, co si vybrat? Vsaďte na jistotu", "Do you have any questions?": "Máte další otázky?", "Do you really want to delete this delivery address?": "Opravdu chcete smazat tuto doručovací adresu?", @@ -170,6 +175,10 @@ "Great choice! We have added your item to the cart": "Skvělá volba! Vaše zboží jsme přidali do košíku", "Hide menu": "Skrýt menu", "Home page": "Úvodní strana", + "hrs count_one": "hod", + "hrs count_few": "hod", + "hrs count_many": "hod", + "hrs count_other": "hod", "I agree to receive the newsletter": "Souhlasím se zasíláním newsletteru", "I agree with terms and conditions and privacy policy": "Souhlasím s obchodními podmínkami a zpracovaním osobních údajů", "I do not agree to send satisfaction questionnaires within the Verified by Customers program": "Nesouhlasím se zasíláním dotazníků spokojenosti v rámci programu Ověřeno zákazníky", @@ -205,6 +214,10 @@ "Maximum files count is {{ max }}": "Maximální počet souborů je {{ max }}", "Message": "Zpráva", "metatagSiteName": "Shopsys Platform", + "mins count_one": "min", + "mins count_few": "min", + "mins count_many": "min", + "mins count_other": "min", "Monday": "Pondělí", "My account": "Můj účet", "My complaints": "Moje reklamace", @@ -330,6 +343,7 @@ "Promo code": "Slevový kupón", "Promo code was added to the order.": "Slevový kupón byl přidán do objednávky.", "Promo code was removed from the order.": "Slevový kupón byl odebrán z objednávky.", + "Promo price expires in": "Akční cena vyprší za", "Quantity": "Množství", "Question": "Dotaz", "ready to ship immediately": "ihned k odeslání", @@ -361,6 +375,7 @@ "Search for a product you complained about": "Hledejte produkt, který jste reklamovali", "Search for a product you want to complain about": "Hledejte produkt, který chcete reklamovat", "Search results for": "Výsledky hledání", + "secs": "sek", "Selected filters": "Vybrané filtry", "Send": "Poslat", "Send complaint": "Odeslat reklamaci", diff --git a/storefront/public/locales/en/common.json b/storefront/public/locales/en/common.json index 30607f765c..8e4cf0835b 100644 --- a/storefront/public/locales/en/common.json +++ b/storefront/public/locales/en/common.json @@ -108,6 +108,8 @@ "Customized E-shop by": "Customized E-shop by", "Czechia": "Czechia", "Date of order": "Date of order", + "days count_one": "day", + "days count_other": "days", "Decrease": "Decrease", "Delete": "Delete", "Delete all": "Delete all", @@ -123,6 +125,7 @@ "Description": "Description", "Detail": "Detail", "Different delivery address": "Different delivery address", + "disount": "discount", "Do not want to choose? Choose certainty": "Do not want to choose? Choose certainty", "Do you have any questions?": "Do you have any questions?", "Do you really want to delete this delivery address?": "Do you really want to delete this delivery address?", @@ -164,6 +167,8 @@ "Great choice! We have added your item to the cart": "Great choice! We have added your item to the cart", "Hide menu": "Hide menu", "Home page": "Home page", + "hrs count_one": "hr", + "hrs count_other": "hrs", "I agree to receive the newsletter": "I agree to receive the newsletter", "I agree with terms and conditions and privacy policy": "I agree with terms and conditions and privacy policy", "I do not agree to send satisfaction questionnaires within the Verified by Customers program": "I do not agree to send satisfaction questionnaires within the Verified by Customers program", @@ -199,6 +204,8 @@ "Maximum files count is {{ max }}": "Maximum files count is {{ max }}", "Message": "Message", "metatagSiteName": "Shopsys Platform", + "mins count_one": "min", + "mins count_other": "mins", "Monday": "Monday", "My account": "My account", "My complaints": "My complaints", @@ -314,6 +321,7 @@ "Promo code": "Promo code", "Promo code was added to the order.": "Promo code was added to the order.", "Promo code was removed from the order.": "Promo code was removed from the order.", + "Promo price expires in": "Promo price expires in", "Quantity": "Quantity", "Question": "Question", "ready to ship immediately": "ready to ship immediately", @@ -345,6 +353,7 @@ "Search for a product you complained about": "Search for a product you complained about", "Search for a product you want to complain about": "Search for a product you want to complain about", "Search results for": "Search results for", + "secs": "secs", "Selected filters": "Selected filters", "Send": "Send", "Send complaint": "Send complaint", diff --git a/storefront/public/locales/sk/common.json b/storefront/public/locales/sk/common.json index 8d08ddc8d5..3964de98b2 100644 --- a/storefront/public/locales/sk/common.json +++ b/storefront/public/locales/sk/common.json @@ -110,6 +110,10 @@ "Customized E-shop by": "E-shop na mieru od", "Czechia": "Česko", "Date of order": "Dátum objednávky", + "days count_one": "den", + "days count_few": "dny", + "days count_many": "dní", + "days count_other": "dní", "Decrease": "Znížiť", "Delete": "Zmazať", "Delete all": "Zmazať všetko", @@ -129,6 +133,7 @@ "Description": "Popis", "Detail": "Detail", "Different delivery address": "Different delivery address", + "disount": "zľava", "Do not want to choose? Choose certainty": "Nevíte, čo si vybrat? Vsaďte na jistotu", "Do you have any questions?": "Máte nejaké ďalšie otázky?", "Do you really want to delete this delivery address?": "Naozaj chcete zmazať túto doručovaciu adresu?", @@ -170,6 +175,10 @@ "Great choice! We have added your item to the cart": "Skvelá voľba! Pridali sme váš tovar do košíka", "Hide menu": "Skryť menu", "Home page": "Úvodná strana", + "hrs count_one": "hod", + "hrs count_few": "hod", + "hrs count_many": "hod", + "hrs count_other": "hod", "I agree to receive the newsletter": "Súhlasím so zasielaním newsletter", "I agree with terms and conditions and privacy policy": "Súhlasím s obchodnými podmienkami a spracovaním osobných údajov", "I do not agree to send satisfaction questionnaires within the Verified by Customers program": "Nesúhlasím so zasielaním dotazníkov spokojnosti v rámci programu Overené zákazníkmi", @@ -205,6 +214,10 @@ "Maximum files count is {{ max }}": "Maximálny počet súborov je {{ max }}", "Message": "Message", "metatagSiteName": "Shopsys Platform", + "mins count_one": "min", + "mins count_few": "min", + "mins count_many": "min", + "mins count_other": "min", "Monday": "Pondelok", "My account": "Môj účet", "My complaints": "Moje reklamácie", @@ -330,6 +343,7 @@ "Promo code": "Promo code", "Promo code was added to the order.": "Zľavový kupón bol pridaný do objednávky.", "Promo code was removed from the order.": "Zľavový kupón bol odobraný z objednávky.", + "Promo price expires in": "Akčná cena vyprší za", "Quantity": "Množstvo", "Question": "Dotaz", "ready to ship immediately": "ihneď k odoslaniu", @@ -361,6 +375,7 @@ "Search for a product you complained about": "Hľadajte produkt, ktorý ste reklamovali", "Search for a product you want to complain about": "Hľadajte produkt, ktorý chcete reklamovať", "Search results for": "Výsledky hľadania", + "secs": "sek", "Selected filters": "Vybrané filtre", "Send": "Odoslať", "Send complaint": "Odoslať reklamáciu", diff --git a/storefront/schema-compressed.graphql.json b/storefront/schema-compressed.graphql.json index eacc8a36ca..a044e0f087 100644 --- a/storefront/schema-compressed.graphql.json +++ b/storefront/schema-compressed.graphql.json @@ -1 +1 @@ -{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"AddProductResult","fields":[{"name":"addedQuantity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"cartItem","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartItem","ofType":null}},"args":[]},{"name":"isNew","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"notOnStockQuantity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"AddToCartResult","fields":[{"name":"addProductResult","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"AddProductResult","ofType":null}},"args":[]},{"name":"cart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"Advert","fields":[{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"positionName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"AdvertCode"},{"kind":"OBJECT","name":"AdvertImage"}]},{"kind":"OBJECT","name":"AdvertCode","fields":[{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"code","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"positionName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Advert"}]},{"kind":"OBJECT","name":"AdvertImage","fields":[{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"link","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"positionName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Advert"}]},{"kind":"OBJECT","name":"AdvertPosition","fields":[{"name":"description","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"positionName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ArticleConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"ArticleEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ArticleEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"INTERFACE","name":"NotBlogArticleInterface","ofType":null},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"ArticleInterface","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"text","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"ArticleSite"},{"kind":"OBJECT","name":"BlogArticle"}]},{"kind":"OBJECT","name":"ArticleLink","fields":[{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"external","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"placement","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"url","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"NotBlogArticleInterface"}]},{"kind":"OBJECT","name":"ArticleSite","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"external","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"placement","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"text","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"ArticleInterface"},{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"NotBlogArticleInterface"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"Availability","fields":[{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"status","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"BlogArticle","fields":[{"name":"blogCategories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogCategory","ofType":null}}}},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainBlogCategoryUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"perex","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"publishDate","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"text","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"visibleOnHomepage","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"ArticleInterface"},{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"BlogArticleConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"BlogArticleEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"BlogArticleEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"BlogArticle","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"BlogCategory","fields":[{"name":"articlesTotalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"blogArticles","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogArticleConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"onlyHomepageArticles","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"blogCategoriesTree","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogCategory","ofType":null}}}},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"children","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogCategory","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parent","type":{"kind":"OBJECT","name":"BlogCategory","ofType":null},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"Brand","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"brandSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"categorySlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"flagSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"ProductListable"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"BrandFilterOption","fields":[{"name":"brand","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Brand","ofType":null}},"args":[]},{"name":"count","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isAbsolute","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"Breadcrumb","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"ArticleSite"},{"kind":"OBJECT","name":"BlogArticle"},{"kind":"OBJECT","name":"BlogCategory"},{"kind":"OBJECT","name":"Brand"},{"kind":"OBJECT","name":"Category"},{"kind":"OBJECT","name":"Flag"},{"kind":"OBJECT","name":"MainVariant"},{"kind":"OBJECT","name":"RegularProduct"},{"kind":"OBJECT","name":"Store"},{"kind":"OBJECT","name":"Variant"}]},{"kind":"OBJECT","name":"Cart","fields":[{"name":"items","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartItem","ofType":null}}}},"args":[]},{"name":"modifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartModificationsResult","ofType":null}},"args":[]},{"name":"payment","type":{"kind":"OBJECT","name":"Payment","ofType":null},"args":[]},{"name":"paymentGoPayBankSwift","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"promoCode","type":{"kind":"OBJECT","name":"PromoCode","ofType":null},"args":[]},{"name":"remainingAmountWithVatForFreeTransport","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"roundingPrice","type":{"kind":"OBJECT","name":"Price","ofType":null},"args":[]},{"name":"selectedPickupPlaceIdentifier","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"totalDiscountPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"totalItemsPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"totalPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"totalPriceWithoutDiscountTransportAndPayment","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"transport","type":{"kind":"OBJECT","name":"Transport","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartItem","fields":[{"name":"product","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}},"args":[]},{"name":"quantity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartItemModificationsResult","fields":[{"name":"cartItemsWithModifiedPrice","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartItem","ofType":null}}}},"args":[]},{"name":"noLongerListableCartItems","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartItem","ofType":null}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartModificationsResult","fields":[{"name":"itemModifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartItemModificationsResult","ofType":null}},"args":[]},{"name":"multipleAddedProductModifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartMultipleAddedProductModificationsResult","ofType":null}},"args":[]},{"name":"paymentModifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartPaymentModificationsResult","ofType":null}},"args":[]},{"name":"promoCodeModifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartPromoCodeModificationsResult","ofType":null}},"args":[]},{"name":"someProductWasRemovedFromEshop","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"transportModifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartTransportModificationsResult","ofType":null}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartMultipleAddedProductModificationsResult","fields":[{"name":"notAddedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartPaymentModificationsResult","fields":[{"name":"paymentPriceChanged","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"paymentUnavailable","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartPromoCodeModificationsResult","fields":[{"name":"noLongerApplicablePromoCode","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartTransportModificationsResult","fields":[{"name":"personalPickupStoreUnavailable","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"transportPriceChanged","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"transportUnavailable","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"transportWeightLimitExceeded","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Category","fields":[{"name":"automatedFilters","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"bestsellers","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"categoryHierarchy","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CategoryHierarchyItem","ofType":null}}}},"args":[]},{"name":"children","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"linkedCategories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"originalCategorySlug","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"parent","type":{"kind":"OBJECT","name":"Category","ofType":null},"args":[]},{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"brandSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"categorySlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"flagSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"readyCategorySeoMixLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"ProductListable"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"CategoryConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"CategoryEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CategoryEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"Category","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CategoryHierarchyItem","fields":[{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CompanyCustomerUser","fields":[{"name":"billingAddressUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"city","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyTaxNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"OBJECT","name":"Country","ofType":null},"args":[]},{"name":"defaultDeliveryAddress","type":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null},"args":[]},{"name":"deliveryAddresses","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hasPasswordSet","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"loginInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginInfo","ofType":null}},"args":[]},{"name":"newsletterSubscription","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"postcode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"pricingGroup","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"roleGroup","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CustomerUserRoleGroup","ofType":null}},"args":[]},{"name":"roles","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"salesRepresentative","type":{"kind":"OBJECT","name":"SalesRepresentative","ofType":null},"args":[]},{"name":"street","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"telephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"CustomerUser"}]},{"kind":"OBJECT","name":"Complaint","fields":[{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryCity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryCompanyName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryCountry","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"args":[]},{"name":"deliveryFirstName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryLastName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryPostcode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryStreet","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryTelephone","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"items","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ComplaintItem","ofType":null}}}},"args":[]},{"name":"number","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"order","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"args":[]},{"name":"status","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ComplaintConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"ComplaintEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ComplaintEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"Complaint","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ComplaintItem","fields":[{"name":"catnum","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"description","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"files","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"File","ofType":null}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"orderItem","type":{"kind":"OBJECT","name":"OrderItem","ofType":null},"args":[]},{"name":"product","type":{"kind":"INTERFACE","name":"Product","ofType":null},"args":[]},{"name":"productName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"quantity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Country","fields":[{"name":"code","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CreateOrderResult","fields":[{"name":"cart","type":{"kind":"OBJECT","name":"Cart","ofType":null},"args":[]},{"name":"order","type":{"kind":"OBJECT","name":"Order","ofType":null},"args":[]},{"name":"orderCreated","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"CustomerUser","fields":[{"name":"billingAddressUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"city","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"OBJECT","name":"Country","ofType":null},"args":[]},{"name":"defaultDeliveryAddress","type":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null},"args":[]},{"name":"deliveryAddresses","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hasPasswordSet","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"loginInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginInfo","ofType":null}},"args":[]},{"name":"newsletterSubscription","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"postcode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"pricingGroup","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"roleGroup","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CustomerUserRoleGroup","ofType":null}},"args":[]},{"name":"roles","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"salesRepresentative","type":{"kind":"OBJECT","name":"SalesRepresentative","ofType":null},"args":[]},{"name":"street","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"telephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"CompanyCustomerUser"},{"kind":"OBJECT","name":"RegularCustomerUser"}]},{"kind":"OBJECT","name":"CustomerUserRoleGroup","fields":[{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"DeliveryAddress","fields":[{"name":"city","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"OBJECT","name":"Country","ofType":null},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"postcode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"street","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"telephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"File","fields":[{"name":"anchorText","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"url","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Flag","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[{"name":"productFilter","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"brandSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"categorySlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"flagSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"rgbColor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"ProductListable"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"FlagFilterOption","fields":[{"name":"count","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"flag","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}},"args":[]},{"name":"isAbsolute","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSelected","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"GoPayBankSwift","fields":[{"name":"imageLargeUrl","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"imageNormalUrl","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isOnline","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"swift","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"GoPayCreatePaymentSetup","fields":[{"name":"embedJs","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"gatewayUrl","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"goPayId","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"GoPayPaymentMethod","fields":[{"name":"identifier","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"imageLargeUrl","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"imageNormalUrl","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"paymentGroup","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"Hreflang","fields":[{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"BlogArticle"},{"kind":"OBJECT","name":"BlogCategory"},{"kind":"OBJECT","name":"Brand"},{"kind":"OBJECT","name":"Flag"},{"kind":"OBJECT","name":"MainVariant"},{"kind":"OBJECT","name":"RegularProduct"},{"kind":"OBJECT","name":"SeoPage"},{"kind":"OBJECT","name":"Variant"}]},{"kind":"OBJECT","name":"HreflangLink","fields":[{"name":"href","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflang","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Image","fields":[{"name":"name","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"url","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"LanguageConstant","fields":[{"name":"key","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"translation","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Link","fields":[{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"LoginInfo","fields":[{"name":"externalId","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"loginType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"LoginResult","fields":[{"name":"showCartMergeInfo","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"tokens","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Token","ofType":null}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"MainBlogCategoryData","fields":[{"name":"mainBlogCategoryMainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[]},{"name":"mainBlogCategoryUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"MainVariant","fields":[{"name":"accessories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"availability","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Availability","ofType":null}},"args":[]},{"name":"availableStoresCount","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"brand","type":{"kind":"OBJECT","name":"Brand","ofType":null},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"catalogNumber","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ean","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"files","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"File","ofType":null}}}},"args":[]},{"name":"flags","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}}}},"args":[]},{"name":"fullName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"isInquiryType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isMainVariant","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSellingDenied","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isVisible","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"namePrefix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"nameSuffix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"orderingPriority","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parameters","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Parameter","ofType":null}}}},"args":[]},{"name":"partNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductPrice","ofType":null}},"args":[]},{"name":"productType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"productVideos","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"VideoToken","ofType":null}}}},"args":[]},{"name":"relatedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"shortDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"stockQuantity","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"storeAvailabilities","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"StoreAvailability","ofType":null}}}},"args":[]},{"name":"unit","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Unit","ofType":null}},"args":[]},{"name":"usps","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"variants","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Variant","ofType":null}}}},"args":[]},{"name":"variantsCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"Product"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"Mutation","fields":[{"name":"AddNewCustomerUser","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"AddOrderItemsToCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"AddProductToList","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductList","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"AddToCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"AddToCartResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ApplyPromoCodeToCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangeCompanyData","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangePassword","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangePaymentInCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangePaymentInOrder","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangePersonalData","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangeTransportInCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ContactForm","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"CreateComplaint","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Complaint","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"CreateDeliveryAddress","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"CreateInquiry","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"CreateOrder","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CreateOrderResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"CreateWatchdog","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"DeleteDeliveryAddress","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[{"name":"deliveryAddressUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"EditCustomerUserPersonalData","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"EditDeliveryAddress","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"Login","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"Logout","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"NewsletterSubscribe","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"PayOrder","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PaymentSetupCreationData","ofType":null}},"args":[{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RecoverPassword","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RefreshTokens","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Token","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"Register","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RegisterByOrder","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RemoveCustomerUser","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RemoveFromCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RemoveProductFromList","type":{"kind":"OBJECT","name":"ProductList","ofType":null},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RemoveProductList","type":{"kind":"OBJECT","name":"ProductList","ofType":null},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RemovePromoCodeFromCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RequestPasswordRecovery","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RequestPersonalDataAccess","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PersonalDataPage","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"SetDefaultDeliveryAddress","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"deliveryAddressUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"UpdatePaymentStatus","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"args":[{"name":"orderPaymentStatusPageValidityHash","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]}],"interfaces":[]},{"kind":"OBJECT","name":"NavigationItem","fields":[{"name":"categoriesByColumns","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"NavigationItemCategoriesByColumns","ofType":null}}}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"NavigationItemCategoriesByColumns","fields":[{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"columnNumber","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"NewsletterSubscriber","fields":[{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"NotBlogArticleInterface","fields":[{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"external","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"placement","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"ArticleLink"},{"kind":"OBJECT","name":"ArticleSite"}]},{"kind":"OBJECT","name":"NotificationBar","fields":[{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"rgbColor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"text","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OpeningHours","fields":[{"name":"dayOfWeek","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"openingHoursOfDays","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OpeningHoursOfDay","ofType":null}}}},"args":[]},{"name":"status","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OpeningHoursOfDay","fields":[{"name":"date","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"dayOfWeek","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"openingHoursRanges","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OpeningHoursRange","ofType":null}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OpeningHoursRange","fields":[{"name":"closingTime","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"openingTime","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Order","fields":[{"name":"city","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"companyName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyTaxNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"args":[]},{"name":"creationDate","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryCity","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryCompanyName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryCountry","type":{"kind":"OBJECT","name":"Country","ofType":null},"args":[]},{"name":"deliveryFirstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryLastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryPostcode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryStreet","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryTelephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hasPaymentInProcess","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"heurekaAgreement","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isDeliveryAddressDifferentFromBilling","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isPaid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"items","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OrderItem","ofType":null}}}},"args":[]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"note","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"number","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"payment","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Payment","ofType":null}},"args":[]},{"name":"paymentTransactionsCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"pickupPlaceIdentifier","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"postcode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"productItems","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OrderItem","ofType":null}}}},"args":[]},{"name":"promoCode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"status","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"statusType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"street","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"telephone","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"totalPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"trackingNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"trackingUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"transport","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Transport","ofType":null}},"args":[]},{"name":"urlHash","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"OrderEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"Order","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderItem","fields":[{"name":"catnum","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"order","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"args":[]},{"name":"product","type":{"kind":"INTERFACE","name":"Product","ofType":null},"args":[]},{"name":"quantity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"totalPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"unit","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"unitPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"vatRate","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderItemConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"OrderItemEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderItemEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"OrderItem","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderPaymentsConfig","fields":[{"name":"availablePayments","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Payment","ofType":null}}}},"args":[]},{"name":"currentPayment","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Payment","ofType":null}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PageInfo","fields":[{"name":"endCursor","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hasNextPage","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hasPreviousPage","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"startCursor","type":{"kind":"SCALAR","name":"Any"},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Parameter","fields":[{"name":"group","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"unit","type":{"kind":"OBJECT","name":"Unit","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"values","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ParameterValue","ofType":null}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ParameterCheckboxFilterOption","fields":[{"name":"isCollapsed","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"unit","type":{"kind":"OBJECT","name":"Unit","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"values","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ParameterValueFilterOption","ofType":null}}}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"ParameterFilterOptionInterface"}]},{"kind":"OBJECT","name":"ParameterColorFilterOption","fields":[{"name":"isCollapsed","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"unit","type":{"kind":"OBJECT","name":"Unit","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"values","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ParameterValueColorFilterOption","ofType":null}}}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"ParameterFilterOptionInterface"}]},{"kind":"INTERFACE","name":"ParameterFilterOptionInterface","fields":[{"name":"isCollapsed","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"unit","type":{"kind":"OBJECT","name":"Unit","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"ParameterCheckboxFilterOption"},{"kind":"OBJECT","name":"ParameterColorFilterOption"},{"kind":"OBJECT","name":"ParameterSliderFilterOption"}]},{"kind":"OBJECT","name":"ParameterSliderFilterOption","fields":[{"name":"isCollapsed","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSelectable","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"maximalValue","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"minimalValue","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"selectedValue","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"unit","type":{"kind":"OBJECT","name":"Unit","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"ParameterFilterOptionInterface"}]},{"kind":"OBJECT","name":"ParameterValue","fields":[{"name":"text","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ParameterValueColorFilterOption","fields":[{"name":"count","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isAbsolute","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSelected","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"rgbHex","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"text","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ParameterValueFilterOption","fields":[{"name":"count","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isAbsolute","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSelected","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"text","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Payment","fields":[{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"goPayPaymentMethod","type":{"kind":"OBJECT","name":"GoPayPaymentMethod","ofType":null},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"instruction","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"position","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[{"name":"cartUuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"transports","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Transport","ofType":null}}}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PaymentSetupCreationData","fields":[{"name":"goPayCreatePaymentSetup","type":{"kind":"OBJECT","name":"GoPayCreatePaymentSetup","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PersonalData","fields":[{"name":"complaints","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Complaint","ofType":null}}}},"args":[]},{"name":"customerUser","type":{"kind":"INTERFACE","name":"CustomerUser","ofType":null},"args":[]},{"name":"exportLink","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"newsletterSubscriber","type":{"kind":"OBJECT","name":"NewsletterSubscriber","ofType":null},"args":[]},{"name":"orders","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PersonalDataPage","fields":[{"name":"displaySiteContent","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"displaySiteSlug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"exportSiteContent","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"exportSiteSlug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Price","fields":[{"name":"priceWithVat","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"priceWithoutVat","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"vatAmount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PricingSetting","fields":[{"name":"defaultCurrencyCode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"minimumFractionDigits","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"Product","fields":[{"name":"accessories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"availability","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Availability","ofType":null}},"args":[]},{"name":"availableStoresCount","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"brand","type":{"kind":"OBJECT","name":"Brand","ofType":null},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"catalogNumber","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ean","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"files","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"File","ofType":null}}}},"args":[]},{"name":"flags","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}}}},"args":[]},{"name":"fullName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"isInquiryType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isMainVariant","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSellingDenied","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isVisible","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"namePrefix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"nameSuffix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"orderingPriority","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parameters","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Parameter","ofType":null}}}},"args":[]},{"name":"partNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductPrice","ofType":null}},"args":[]},{"name":"productType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"productVideos","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"VideoToken","ofType":null}}}},"args":[]},{"name":"relatedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"shortDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"stockQuantity","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"storeAvailabilities","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"StoreAvailability","ofType":null}}}},"args":[]},{"name":"unit","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Unit","ofType":null}},"args":[]},{"name":"usps","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"MainVariant"},{"kind":"OBJECT","name":"RegularProduct"},{"kind":"OBJECT","name":"Variant"}]},{"kind":"OBJECT","name":"ProductConnection","fields":[{"name":"defaultOrderingMode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"ProductEdge","ofType":null}},"args":[]},{"name":"orderingMode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"productFilterOptions","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductFilterOptions","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ProductEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"INTERFACE","name":"Product","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ProductFilterOptions","fields":[{"name":"brands","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BrandFilterOption","ofType":null}}},"args":[]},{"name":"flags","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"FlagFilterOption","ofType":null}}},"args":[]},{"name":"inStock","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"maximalPrice","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"minimalPrice","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parameters","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"ParameterFilterOptionInterface","ofType":null}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ProductList","fields":[{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"ProductListable","fields":[{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"brandSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"categorySlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"flagSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}}]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"Brand"},{"kind":"OBJECT","name":"Category"},{"kind":"OBJECT","name":"Flag"}]},{"kind":"OBJECT","name":"ProductPrice","fields":[{"name":"isPriceFrom","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"priceWithVat","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"priceWithoutVat","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"vatAmount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PromoCode","fields":[{"name":"code","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Query","fields":[{"name":"AdvertCode","type":{"kind":"OBJECT","name":"AdvertCode","ofType":null},"args":[]},{"name":"AdvertImage","type":{"kind":"OBJECT","name":"AdvertImage","ofType":null},"args":[]},{"name":"ArticleLink","type":{"kind":"OBJECT","name":"ArticleLink","ofType":null},"args":[]},{"name":"ArticleSite","type":{"kind":"OBJECT","name":"ArticleSite","ofType":null},"args":[]},{"name":"CompanyCustomerUser","type":{"kind":"OBJECT","name":"CompanyCustomerUser","ofType":null},"args":[]},{"name":"GoPaySwifts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"GoPayBankSwift","ofType":null}}}},"args":[{"name":"currencyCode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"MainVariant","type":{"kind":"OBJECT","name":"MainVariant","ofType":null},"args":[]},{"name":"ParameterCheckboxFilterOption","type":{"kind":"OBJECT","name":"ParameterCheckboxFilterOption","ofType":null},"args":[]},{"name":"ParameterColorFilterOption","type":{"kind":"OBJECT","name":"ParameterColorFilterOption","ofType":null},"args":[]},{"name":"ParameterSliderFilterOption","type":{"kind":"OBJECT","name":"ParameterSliderFilterOption","ofType":null},"args":[]},{"name":"RegularCustomerUser","type":{"kind":"OBJECT","name":"RegularCustomerUser","ofType":null},"args":[]},{"name":"RegularProduct","type":{"kind":"OBJECT","name":"RegularProduct","ofType":null},"args":[]},{"name":"Variant","type":{"kind":"OBJECT","name":"Variant","ofType":null},"args":[]},{"name":"accessPersonalData","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PersonalData","ofType":null}},"args":[{"name":"hash","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"advertPositions","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"AdvertPosition","ofType":null}}}},"args":[]},{"name":"adverts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Advert","ofType":null}}}},"args":[{"name":"categoryUuid","type":{"kind":"SCALAR","name":"Any"}},{"name":"positionNames","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}}]},{"name":"article","type":{"kind":"INTERFACE","name":"NotBlogArticleInterface","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"articles","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ArticleConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"placement","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}}]},{"name":"articlesSearch","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"ArticleInterface","ofType":null}}}},"args":[{"name":"searchInput","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"blogArticle","type":{"kind":"OBJECT","name":"BlogArticle","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"blogArticles","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogArticleConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"onlyHomepageArticles","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"blogCategories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogCategory","ofType":null}}}},"args":[]},{"name":"blogCategory","type":{"kind":"OBJECT","name":"BlogCategory","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"brand","type":{"kind":"OBJECT","name":"Brand","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"brandSearch","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Brand","ofType":null}}}},"args":[{"name":"searchInput","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"brands","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Brand","ofType":null}}}},"args":[]},{"name":"cart","type":{"kind":"OBJECT","name":"Cart","ofType":null},"args":[{"name":"cartInput","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"categoriesSearch","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CategoryConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"searchInput","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"category","type":{"kind":"OBJECT","name":"Category","ofType":null},"args":[{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}},{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"complaint","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Complaint","ofType":null}},"args":[{"name":"number","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"complaints","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ComplaintConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"searchInput","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"couldBeCustomerRegisteredQuery","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"companyNumber","type":{"kind":"SCALAR","name":"Any"}},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"countries","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"args":[]},{"name":"currentCustomerUser","type":{"kind":"INTERFACE","name":"CustomerUser","ofType":null},"args":[]},{"name":"customerUserRoleGroups","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CustomerUserRoleGroup","ofType":null}}}},"args":[]},{"name":"customerUsers","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}}}},"args":[]},{"name":"flag","type":{"kind":"OBJECT","name":"Flag","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"flags","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}}},"args":[]},{"name":"isCustomerUserRegistered","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"languageConstants","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LanguageConstant","ofType":null}}}},"args":[]},{"name":"lastOrder","type":{"kind":"OBJECT","name":"Order","ofType":null},"args":[]},{"name":"navigation","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"NavigationItem","ofType":null}}}},"args":[]},{"name":"notificationBars","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"NotificationBar","ofType":null}}},"args":[]},{"name":"order","type":{"kind":"OBJECT","name":"Order","ofType":null},"args":[{"name":"orderNumber","type":{"kind":"SCALAR","name":"Any"}},{"name":"urlHash","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"orderItems","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OrderItemConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"orderItemsSearch","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OrderItemConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"searchInput","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"orderPaymentFailedContent","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"orderPaymentSuccessfulContent","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"orderPayments","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OrderPaymentsConfig","ofType":null}},"args":[{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"orderSentPageContent","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"orders","type":{"kind":"OBJECT","name":"OrderConnection","ofType":null},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"payment","type":{"kind":"OBJECT","name":"Payment","ofType":null},"args":[{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"payments","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Payment","ofType":null}}}},"args":[]},{"name":"personalDataPage","type":{"kind":"OBJECT","name":"PersonalDataPage","ofType":null},"args":[]},{"name":"product","type":{"kind":"INTERFACE","name":"Product","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"productList","type":{"kind":"OBJECT","name":"ProductList","ofType":null},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"productListsByType","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductList","ofType":null}}}},"args":[{"name":"productListType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"brandSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"categorySlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"flagSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"productsByCatnums","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[{"name":"catnums","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}}}]},{"name":"productsSearch","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}},{"name":"search","type":{"kind":"SCALAR","name":"Any"}},{"name":"searchInput","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"promotedCategories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"promotedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"recommendedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[{"name":"itemUuids","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},{"name":"limit","type":{"kind":"SCALAR","name":"Any"}},{"name":"recommendationType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}},{"name":"recommenderClientIdentifier","type":{"kind":"SCALAR","name":"Any"}},{"name":"userIdentifier","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"seoPage","type":{"kind":"OBJECT","name":"SeoPage","ofType":null},"args":[{"name":"pageSlug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"settings","type":{"kind":"OBJECT","name":"Settings","ofType":null},"args":[]},{"name":"sliderItems","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"SliderItem","ofType":null}}}},"args":[]},{"name":"store","type":{"kind":"OBJECT","name":"Store","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"stores","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"StoreConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"transport","type":{"kind":"OBJECT","name":"Transport","ofType":null},"args":[{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"transports","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Transport","ofType":null}}}},"args":[{"name":"cartUuid","type":{"kind":"SCALAR","name":"Any"}}]}],"interfaces":[]},{"kind":"OBJECT","name":"RegularCustomerUser","fields":[{"name":"billingAddressUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"city","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"OBJECT","name":"Country","ofType":null},"args":[]},{"name":"defaultDeliveryAddress","type":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null},"args":[]},{"name":"deliveryAddresses","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hasPasswordSet","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"loginInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginInfo","ofType":null}},"args":[]},{"name":"newsletterSubscription","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"postcode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"pricingGroup","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"roleGroup","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CustomerUserRoleGroup","ofType":null}},"args":[]},{"name":"roles","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"salesRepresentative","type":{"kind":"OBJECT","name":"SalesRepresentative","ofType":null},"args":[]},{"name":"street","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"telephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"CustomerUser"}]},{"kind":"OBJECT","name":"RegularProduct","fields":[{"name":"accessories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"availability","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Availability","ofType":null}},"args":[]},{"name":"availableStoresCount","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"brand","type":{"kind":"OBJECT","name":"Brand","ofType":null},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"catalogNumber","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ean","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"files","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"File","ofType":null}}}},"args":[]},{"name":"flags","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}}}},"args":[]},{"name":"fullName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"isInquiryType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isMainVariant","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSellingDenied","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isVisible","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"namePrefix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"nameSuffix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"orderingPriority","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parameters","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Parameter","ofType":null}}}},"args":[]},{"name":"partNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductPrice","ofType":null}},"args":[]},{"name":"productType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"productVideos","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"VideoToken","ofType":null}}}},"args":[]},{"name":"relatedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"shortDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"stockQuantity","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"storeAvailabilities","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"StoreAvailability","ofType":null}}}},"args":[]},{"name":"unit","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Unit","ofType":null}},"args":[]},{"name":"usps","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"Product"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"SalesRepresentative","fields":[{"name":"email","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"image","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"telephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"SeoPage","fields":[{"name":"canonicalUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"metaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ogDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ogImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[]},{"name":"ogTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"title","type":{"kind":"SCALAR","name":"Any"},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Hreflang"}]},{"kind":"OBJECT","name":"SeoSetting","fields":[{"name":"metaDescription","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"robotsTxtContent","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"title","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"titleAddOn","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Settings","fields":[{"name":"contactFormMainText","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"displayTimezone","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"heurekaEnabled","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainBlogCategoryData","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"MainBlogCategoryData","ofType":null}},"args":[]},{"name":"maxAllowedPaymentTransactions","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"pricing","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PricingSetting","ofType":null}},"args":[]},{"name":"privacyPolicyArticleUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"SeoSetting","ofType":null}},"args":[]},{"name":"socialNetworkLoginConfig","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"termsAndConditionsArticleUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"userConsentPolicyArticleUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"SliderItem","fields":[{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"gtmCreative","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"gtmId","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"opacity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"rgbBackgroundColor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"Slug","fields":[{"name":"name","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"ArticleSite"},{"kind":"OBJECT","name":"BlogArticle"},{"kind":"OBJECT","name":"BlogCategory"},{"kind":"OBJECT","name":"Brand"},{"kind":"OBJECT","name":"Category"},{"kind":"OBJECT","name":"Flag"},{"kind":"OBJECT","name":"MainVariant"},{"kind":"OBJECT","name":"RegularProduct"},{"kind":"OBJECT","name":"Store"},{"kind":"OBJECT","name":"Variant"}]},{"kind":"OBJECT","name":"Store","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"city","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"contactInfo","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"isDefault","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"latitude","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"longitude","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"openingHours","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OpeningHours","ofType":null}},"args":[]},{"name":"postcode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"specialMessage","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"street","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"StoreAvailability","fields":[{"name":"availabilityInformation","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"availabilityStatus","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"store","type":{"kind":"OBJECT","name":"Store","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"StoreConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"StoreEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"StoreEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"Store","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Token","fields":[{"name":"accessToken","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"refreshToken","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Transport","fields":[{"name":"daysUntilDelivery","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"instruction","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"isPersonalPickup","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"payments","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Payment","ofType":null}}}},"args":[]},{"name":"position","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[{"name":"cartUuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"stores","type":{"kind":"OBJECT","name":"StoreConnection","ofType":null},"args":[]},{"name":"transportTypeCode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Unit","fields":[{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Variant","fields":[{"name":"accessories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"availability","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Availability","ofType":null}},"args":[]},{"name":"availableStoresCount","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"brand","type":{"kind":"OBJECT","name":"Brand","ofType":null},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"catalogNumber","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ean","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"files","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"File","ofType":null}}}},"args":[]},{"name":"flags","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}}}},"args":[]},{"name":"fullName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"isInquiryType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isMainVariant","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSellingDenied","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isVisible","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"mainVariant","type":{"kind":"OBJECT","name":"MainVariant","ofType":null},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"namePrefix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"nameSuffix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"orderingPriority","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parameters","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Parameter","ofType":null}}}},"args":[]},{"name":"partNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductPrice","ofType":null}},"args":[]},{"name":"productType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"productVideos","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"VideoToken","ofType":null}}}},"args":[]},{"name":"relatedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"shortDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"stockQuantity","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"storeAvailabilities","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"StoreAvailability","ofType":null}}}},"args":[]},{"name":"unit","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Unit","ofType":null}},"args":[]},{"name":"usps","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"Product"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"VideoToken","fields":[{"name":"description","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"token","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"SCALAR","name":"Any"}],"directives":[]}} \ No newline at end of file +{"__schema":{"queryType":{"name":"Query"},"mutationType":{"name":"Mutation"},"subscriptionType":null,"types":[{"kind":"OBJECT","name":"AddProductResult","fields":[{"name":"addedQuantity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"cartItem","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartItem","ofType":null}},"args":[]},{"name":"isNew","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"notOnStockQuantity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"AddToCartResult","fields":[{"name":"addProductResult","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"AddProductResult","ofType":null}},"args":[]},{"name":"cart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"Advert","fields":[{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"positionName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"AdvertCode"},{"kind":"OBJECT","name":"AdvertImage"}]},{"kind":"OBJECT","name":"AdvertCode","fields":[{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"code","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"positionName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Advert"}]},{"kind":"OBJECT","name":"AdvertImage","fields":[{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"link","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"positionName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Advert"}]},{"kind":"OBJECT","name":"AdvertPosition","fields":[{"name":"description","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"positionName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ArticleConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"ArticleEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ArticleEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"INTERFACE","name":"NotBlogArticleInterface","ofType":null},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"ArticleInterface","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"text","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"ArticleSite"},{"kind":"OBJECT","name":"BlogArticle"}]},{"kind":"OBJECT","name":"ArticleLink","fields":[{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"external","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"placement","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"url","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"NotBlogArticleInterface"}]},{"kind":"OBJECT","name":"ArticleSite","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"external","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"placement","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"text","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"ArticleInterface"},{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"NotBlogArticleInterface"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"Availability","fields":[{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"status","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"BlogArticle","fields":[{"name":"blogCategories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogCategory","ofType":null}}}},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainBlogCategoryUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"perex","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"publishDate","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"text","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"visibleOnHomepage","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"ArticleInterface"},{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"BlogArticleConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"BlogArticleEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"BlogArticleEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"BlogArticle","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"BlogCategory","fields":[{"name":"articlesTotalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"blogArticles","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogArticleConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"onlyHomepageArticles","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"blogCategoriesTree","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogCategory","ofType":null}}}},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"children","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogCategory","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parent","type":{"kind":"OBJECT","name":"BlogCategory","ofType":null},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"Brand","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"brandSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"categorySlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"flagSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"ProductListable"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"BrandFilterOption","fields":[{"name":"brand","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Brand","ofType":null}},"args":[]},{"name":"count","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isAbsolute","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"Breadcrumb","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"ArticleSite"},{"kind":"OBJECT","name":"BlogArticle"},{"kind":"OBJECT","name":"BlogCategory"},{"kind":"OBJECT","name":"Brand"},{"kind":"OBJECT","name":"Category"},{"kind":"OBJECT","name":"Flag"},{"kind":"OBJECT","name":"MainVariant"},{"kind":"OBJECT","name":"RegularProduct"},{"kind":"OBJECT","name":"Store"},{"kind":"OBJECT","name":"Variant"}]},{"kind":"OBJECT","name":"Cart","fields":[{"name":"items","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartItem","ofType":null}}}},"args":[]},{"name":"modifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartModificationsResult","ofType":null}},"args":[]},{"name":"payment","type":{"kind":"OBJECT","name":"Payment","ofType":null},"args":[]},{"name":"paymentGoPayBankSwift","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"promoCode","type":{"kind":"OBJECT","name":"PromoCode","ofType":null},"args":[]},{"name":"remainingAmountWithVatForFreeTransport","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"roundingPrice","type":{"kind":"OBJECT","name":"Price","ofType":null},"args":[]},{"name":"selectedPickupPlaceIdentifier","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"totalDiscountPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"totalItemsPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"totalPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"totalPriceWithoutDiscountTransportAndPayment","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"transport","type":{"kind":"OBJECT","name":"Transport","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartItem","fields":[{"name":"product","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}},"args":[]},{"name":"quantity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartItemModificationsResult","fields":[{"name":"cartItemsWithModifiedPrice","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartItem","ofType":null}}}},"args":[]},{"name":"noLongerListableCartItems","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartItem","ofType":null}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartModificationsResult","fields":[{"name":"itemModifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartItemModificationsResult","ofType":null}},"args":[]},{"name":"multipleAddedProductModifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartMultipleAddedProductModificationsResult","ofType":null}},"args":[]},{"name":"paymentModifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartPaymentModificationsResult","ofType":null}},"args":[]},{"name":"promoCodeModifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartPromoCodeModificationsResult","ofType":null}},"args":[]},{"name":"someProductWasRemovedFromEshop","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"transportModifications","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CartTransportModificationsResult","ofType":null}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartMultipleAddedProductModificationsResult","fields":[{"name":"notAddedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartPaymentModificationsResult","fields":[{"name":"paymentPriceChanged","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"paymentUnavailable","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartPromoCodeModificationsResult","fields":[{"name":"noLongerApplicablePromoCode","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CartTransportModificationsResult","fields":[{"name":"personalPickupStoreUnavailable","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"transportPriceChanged","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"transportUnavailable","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"transportWeightLimitExceeded","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Category","fields":[{"name":"automatedFilters","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"bestsellers","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"categoryHierarchy","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CategoryHierarchyItem","ofType":null}}}},"args":[]},{"name":"children","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"linkedCategories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"originalCategorySlug","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"parent","type":{"kind":"OBJECT","name":"Category","ofType":null},"args":[]},{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"brandSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"categorySlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"flagSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"readyCategorySeoMixLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"ProductListable"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"CategoryConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"CategoryEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CategoryEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"Category","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CategoryHierarchyItem","fields":[{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CompanyCustomerUser","fields":[{"name":"billingAddressUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"city","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyTaxNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"OBJECT","name":"Country","ofType":null},"args":[]},{"name":"defaultDeliveryAddress","type":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null},"args":[]},{"name":"deliveryAddresses","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hasPasswordSet","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"loginInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginInfo","ofType":null}},"args":[]},{"name":"newsletterSubscription","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"postcode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"pricingGroup","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"roleGroup","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CustomerUserRoleGroup","ofType":null}},"args":[]},{"name":"roles","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"salesRepresentative","type":{"kind":"OBJECT","name":"SalesRepresentative","ofType":null},"args":[]},{"name":"street","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"telephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"CustomerUser"}]},{"kind":"OBJECT","name":"Complaint","fields":[{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryCity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryCompanyName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryCountry","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"args":[]},{"name":"deliveryFirstName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryLastName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryPostcode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryStreet","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryTelephone","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"items","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ComplaintItem","ofType":null}}}},"args":[]},{"name":"number","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"order","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"args":[]},{"name":"status","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ComplaintConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"ComplaintEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ComplaintEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"Complaint","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ComplaintItem","fields":[{"name":"catnum","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"description","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"files","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"File","ofType":null}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"orderItem","type":{"kind":"OBJECT","name":"OrderItem","ofType":null},"args":[]},{"name":"product","type":{"kind":"INTERFACE","name":"Product","ofType":null},"args":[]},{"name":"productName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"quantity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Country","fields":[{"name":"code","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"CreateOrderResult","fields":[{"name":"cart","type":{"kind":"OBJECT","name":"Cart","ofType":null},"args":[]},{"name":"order","type":{"kind":"OBJECT","name":"Order","ofType":null},"args":[]},{"name":"orderCreated","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"CustomerUser","fields":[{"name":"billingAddressUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"city","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"OBJECT","name":"Country","ofType":null},"args":[]},{"name":"defaultDeliveryAddress","type":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null},"args":[]},{"name":"deliveryAddresses","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hasPasswordSet","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"loginInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginInfo","ofType":null}},"args":[]},{"name":"newsletterSubscription","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"postcode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"pricingGroup","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"roleGroup","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CustomerUserRoleGroup","ofType":null}},"args":[]},{"name":"roles","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"salesRepresentative","type":{"kind":"OBJECT","name":"SalesRepresentative","ofType":null},"args":[]},{"name":"street","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"telephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"CompanyCustomerUser"},{"kind":"OBJECT","name":"RegularCustomerUser"}]},{"kind":"OBJECT","name":"CustomerUserRoleGroup","fields":[{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"DeliveryAddress","fields":[{"name":"city","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"OBJECT","name":"Country","ofType":null},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"postcode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"street","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"telephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"File","fields":[{"name":"anchorText","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"url","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Flag","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[{"name":"productFilter","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"brandSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"categorySlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"flagSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"rgbColor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"ProductListable"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"FlagFilterOption","fields":[{"name":"count","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"flag","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}},"args":[]},{"name":"isAbsolute","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSelected","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"GoPayBankSwift","fields":[{"name":"imageLargeUrl","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"imageNormalUrl","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isOnline","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"swift","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"GoPayCreatePaymentSetup","fields":[{"name":"embedJs","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"gatewayUrl","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"goPayId","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"GoPayPaymentMethod","fields":[{"name":"identifier","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"imageLargeUrl","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"imageNormalUrl","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"paymentGroup","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"Hreflang","fields":[{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"BlogArticle"},{"kind":"OBJECT","name":"BlogCategory"},{"kind":"OBJECT","name":"Brand"},{"kind":"OBJECT","name":"Flag"},{"kind":"OBJECT","name":"MainVariant"},{"kind":"OBJECT","name":"RegularProduct"},{"kind":"OBJECT","name":"SeoPage"},{"kind":"OBJECT","name":"Variant"}]},{"kind":"OBJECT","name":"HreflangLink","fields":[{"name":"href","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflang","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Image","fields":[{"name":"name","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"url","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"LanguageConstant","fields":[{"name":"key","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"translation","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Link","fields":[{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"LoginInfo","fields":[{"name":"externalId","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"loginType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"LoginResult","fields":[{"name":"showCartMergeInfo","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"tokens","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Token","ofType":null}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"MainBlogCategoryData","fields":[{"name":"mainBlogCategoryMainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[]},{"name":"mainBlogCategoryUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"MainVariant","fields":[{"name":"accessories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"availability","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Availability","ofType":null}},"args":[]},{"name":"availableStoresCount","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"brand","type":{"kind":"OBJECT","name":"Brand","ofType":null},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"catalogNumber","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ean","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"files","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"File","ofType":null}}}},"args":[]},{"name":"flags","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}}}},"args":[]},{"name":"fullName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"isInquiryType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isMainVariant","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSellingDenied","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isVisible","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"namePrefix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"nameSuffix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"orderingPriority","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parameters","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Parameter","ofType":null}}}},"args":[]},{"name":"partNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductPrice","ofType":null}},"args":[]},{"name":"productType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"productVideos","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"VideoToken","ofType":null}}}},"args":[]},{"name":"relatedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"shortDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"stockQuantity","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"storeAvailabilities","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"StoreAvailability","ofType":null}}}},"args":[]},{"name":"unit","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Unit","ofType":null}},"args":[]},{"name":"usps","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"variants","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Variant","ofType":null}}}},"args":[]},{"name":"variantsCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"Product"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"Mutation","fields":[{"name":"AddNewCustomerUser","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"AddOrderItemsToCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"AddProductToList","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductList","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"AddToCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"AddToCartResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ApplyPromoCodeToCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangeCompanyData","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangePassword","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangePaymentInCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangePaymentInOrder","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangePersonalData","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ChangeTransportInCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"ContactForm","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"CreateComplaint","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Complaint","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"CreateDeliveryAddress","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"CreateInquiry","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"CreateOrder","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CreateOrderResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"CreateWatchdog","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"DeleteDeliveryAddress","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[{"name":"deliveryAddressUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"EditCustomerUserPersonalData","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"EditDeliveryAddress","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"Login","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"Logout","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"NewsletterSubscribe","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"PayOrder","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PaymentSetupCreationData","ofType":null}},"args":[{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RecoverPassword","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RefreshTokens","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Token","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"Register","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RegisterByOrder","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginResult","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RemoveCustomerUser","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RemoveFromCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RemoveProductFromList","type":{"kind":"OBJECT","name":"ProductList","ofType":null},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RemoveProductList","type":{"kind":"OBJECT","name":"ProductList","ofType":null},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RemovePromoCodeFromCart","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Cart","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RequestPasswordRecovery","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"RequestPersonalDataAccess","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PersonalDataPage","ofType":null}},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"SetDefaultDeliveryAddress","type":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}},"args":[{"name":"deliveryAddressUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"UpdatePaymentStatus","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"args":[{"name":"orderPaymentStatusPageValidityHash","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]}],"interfaces":[]},{"kind":"OBJECT","name":"NavigationItem","fields":[{"name":"categoriesByColumns","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"NavigationItemCategoriesByColumns","ofType":null}}}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"NavigationItemCategoriesByColumns","fields":[{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"columnNumber","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"NewsletterSubscriber","fields":[{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"NotBlogArticleInterface","fields":[{"name":"createdAt","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"external","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"placement","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"ArticleLink"},{"kind":"OBJECT","name":"ArticleSite"}]},{"kind":"OBJECT","name":"NotificationBar","fields":[{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"rgbColor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"text","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OpeningHours","fields":[{"name":"dayOfWeek","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"openingHoursOfDays","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OpeningHoursOfDay","ofType":null}}}},"args":[]},{"name":"status","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OpeningHoursOfDay","fields":[{"name":"date","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"dayOfWeek","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"openingHoursRanges","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OpeningHoursRange","ofType":null}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OpeningHoursRange","fields":[{"name":"closingTime","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"openingTime","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Order","fields":[{"name":"city","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"companyName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"companyTaxNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"args":[]},{"name":"creationDate","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"deliveryCity","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryCompanyName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryCountry","type":{"kind":"OBJECT","name":"Country","ofType":null},"args":[]},{"name":"deliveryFirstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryLastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryPostcode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryStreet","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"deliveryTelephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hasPaymentInProcess","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"heurekaAgreement","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isDeliveryAddressDifferentFromBilling","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isPaid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"items","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OrderItem","ofType":null}}}},"args":[]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"note","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"number","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"payment","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Payment","ofType":null}},"args":[]},{"name":"paymentTransactionsCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"pickupPlaceIdentifier","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"postcode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"productItems","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OrderItem","ofType":null}}}},"args":[]},{"name":"promoCode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"status","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"statusType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"street","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"telephone","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"totalPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"trackingNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"trackingUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"transport","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Transport","ofType":null}},"args":[]},{"name":"urlHash","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"OrderEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"Order","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderItem","fields":[{"name":"catnum","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"order","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Order","ofType":null}},"args":[]},{"name":"product","type":{"kind":"INTERFACE","name":"Product","ofType":null},"args":[]},{"name":"quantity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"totalPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"unit","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"unitPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"vatRate","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderItemConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"OrderItemEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderItemEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"OrderItem","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"OrderPaymentsConfig","fields":[{"name":"availablePayments","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Payment","ofType":null}}}},"args":[]},{"name":"currentPayment","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Payment","ofType":null}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PageInfo","fields":[{"name":"endCursor","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hasNextPage","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hasPreviousPage","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"startCursor","type":{"kind":"SCALAR","name":"Any"},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Parameter","fields":[{"name":"group","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"unit","type":{"kind":"OBJECT","name":"Unit","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"values","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ParameterValue","ofType":null}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ParameterCheckboxFilterOption","fields":[{"name":"isCollapsed","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"unit","type":{"kind":"OBJECT","name":"Unit","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"values","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ParameterValueFilterOption","ofType":null}}}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"ParameterFilterOptionInterface"}]},{"kind":"OBJECT","name":"ParameterColorFilterOption","fields":[{"name":"isCollapsed","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"unit","type":{"kind":"OBJECT","name":"Unit","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"values","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ParameterValueColorFilterOption","ofType":null}}}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"ParameterFilterOptionInterface"}]},{"kind":"INTERFACE","name":"ParameterFilterOptionInterface","fields":[{"name":"isCollapsed","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"unit","type":{"kind":"OBJECT","name":"Unit","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"ParameterCheckboxFilterOption"},{"kind":"OBJECT","name":"ParameterColorFilterOption"},{"kind":"OBJECT","name":"ParameterSliderFilterOption"}]},{"kind":"OBJECT","name":"ParameterSliderFilterOption","fields":[{"name":"isCollapsed","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSelectable","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"maximalValue","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"minimalValue","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"selectedValue","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"unit","type":{"kind":"OBJECT","name":"Unit","ofType":null},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"ParameterFilterOptionInterface"}]},{"kind":"OBJECT","name":"ParameterValue","fields":[{"name":"text","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ParameterValueColorFilterOption","fields":[{"name":"count","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isAbsolute","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSelected","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"rgbHex","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"text","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ParameterValueFilterOption","fields":[{"name":"count","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isAbsolute","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSelected","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"text","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Payment","fields":[{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"goPayPaymentMethod","type":{"kind":"OBJECT","name":"GoPayPaymentMethod","ofType":null},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"instruction","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"position","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[{"name":"cartUuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"transports","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Transport","ofType":null}}}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PaymentSetupCreationData","fields":[{"name":"goPayCreatePaymentSetup","type":{"kind":"OBJECT","name":"GoPayCreatePaymentSetup","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PersonalData","fields":[{"name":"complaints","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Complaint","ofType":null}}}},"args":[]},{"name":"customerUser","type":{"kind":"INTERFACE","name":"CustomerUser","ofType":null},"args":[]},{"name":"exportLink","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"newsletterSubscriber","type":{"kind":"OBJECT","name":"NewsletterSubscriber","ofType":null},"args":[]},{"name":"orders","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Order","ofType":null}}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PersonalDataPage","fields":[{"name":"displaySiteContent","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"displaySiteSlug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"exportSiteContent","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"exportSiteSlug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Price","fields":[{"name":"priceWithVat","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"priceWithoutVat","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"vatAmount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PricingSetting","fields":[{"name":"defaultCurrencyCode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"minimumFractionDigits","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"Product","fields":[{"name":"accessories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"availability","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Availability","ofType":null}},"args":[]},{"name":"availableStoresCount","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"brand","type":{"kind":"OBJECT","name":"Brand","ofType":null},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"catalogNumber","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ean","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"files","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"File","ofType":null}}}},"args":[]},{"name":"flags","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}}}},"args":[]},{"name":"fullName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"isInquiryType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isMainVariant","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSellingDenied","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isVisible","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"namePrefix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"nameSuffix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"orderingPriority","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parameters","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Parameter","ofType":null}}}},"args":[]},{"name":"partNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductPrice","ofType":null}},"args":[]},{"name":"productType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"productVideos","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"VideoToken","ofType":null}}}},"args":[]},{"name":"relatedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"shortDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"stockQuantity","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"storeAvailabilities","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"StoreAvailability","ofType":null}}}},"args":[]},{"name":"unit","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Unit","ofType":null}},"args":[]},{"name":"usps","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"MainVariant"},{"kind":"OBJECT","name":"RegularProduct"},{"kind":"OBJECT","name":"Variant"}]},{"kind":"OBJECT","name":"ProductConnection","fields":[{"name":"defaultOrderingMode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"ProductEdge","ofType":null}},"args":[]},{"name":"orderingMode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"productFilterOptions","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductFilterOptions","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ProductEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"INTERFACE","name":"Product","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ProductFilterOptions","fields":[{"name":"brands","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BrandFilterOption","ofType":null}}},"args":[]},{"name":"flags","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"FlagFilterOption","ofType":null}}},"args":[]},{"name":"inStock","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"maximalPrice","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"minimalPrice","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parameters","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"ParameterFilterOptionInterface","ofType":null}}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"ProductList","fields":[{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"ProductListable","fields":[{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"brandSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"categorySlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"flagSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}}]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"Brand"},{"kind":"OBJECT","name":"Category"},{"kind":"OBJECT","name":"Flag"}]},{"kind":"OBJECT","name":"ProductPrice","fields":[{"name":"basicPrice","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[]},{"name":"isPriceFrom","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"nextPriceChange","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"percentageDiscount","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"priceWithVat","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"priceWithoutVat","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"vatAmount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"PromoCode","fields":[{"name":"code","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"type","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Query","fields":[{"name":"AdvertCode","type":{"kind":"OBJECT","name":"AdvertCode","ofType":null},"args":[]},{"name":"AdvertImage","type":{"kind":"OBJECT","name":"AdvertImage","ofType":null},"args":[]},{"name":"ArticleLink","type":{"kind":"OBJECT","name":"ArticleLink","ofType":null},"args":[]},{"name":"ArticleSite","type":{"kind":"OBJECT","name":"ArticleSite","ofType":null},"args":[]},{"name":"CompanyCustomerUser","type":{"kind":"OBJECT","name":"CompanyCustomerUser","ofType":null},"args":[]},{"name":"GoPaySwifts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"GoPayBankSwift","ofType":null}}}},"args":[{"name":"currencyCode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"MainVariant","type":{"kind":"OBJECT","name":"MainVariant","ofType":null},"args":[]},{"name":"ParameterCheckboxFilterOption","type":{"kind":"OBJECT","name":"ParameterCheckboxFilterOption","ofType":null},"args":[]},{"name":"ParameterColorFilterOption","type":{"kind":"OBJECT","name":"ParameterColorFilterOption","ofType":null},"args":[]},{"name":"ParameterSliderFilterOption","type":{"kind":"OBJECT","name":"ParameterSliderFilterOption","ofType":null},"args":[]},{"name":"RegularCustomerUser","type":{"kind":"OBJECT","name":"RegularCustomerUser","ofType":null},"args":[]},{"name":"RegularProduct","type":{"kind":"OBJECT","name":"RegularProduct","ofType":null},"args":[]},{"name":"Variant","type":{"kind":"OBJECT","name":"Variant","ofType":null},"args":[]},{"name":"accessPersonalData","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PersonalData","ofType":null}},"args":[{"name":"hash","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"advertPositions","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"AdvertPosition","ofType":null}}}},"args":[]},{"name":"adverts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Advert","ofType":null}}}},"args":[{"name":"categoryUuid","type":{"kind":"SCALAR","name":"Any"}},{"name":"positionNames","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}}]},{"name":"article","type":{"kind":"INTERFACE","name":"NotBlogArticleInterface","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"articles","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ArticleConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"placement","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}}]},{"name":"articlesSearch","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"ArticleInterface","ofType":null}}}},"args":[{"name":"searchInput","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"blogArticle","type":{"kind":"OBJECT","name":"BlogArticle","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"blogArticles","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogArticleConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"onlyHomepageArticles","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"blogCategories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"BlogCategory","ofType":null}}}},"args":[]},{"name":"blogCategory","type":{"kind":"OBJECT","name":"BlogCategory","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"brand","type":{"kind":"OBJECT","name":"Brand","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"brandSearch","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Brand","ofType":null}}}},"args":[{"name":"searchInput","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"brands","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Brand","ofType":null}}}},"args":[]},{"name":"cart","type":{"kind":"OBJECT","name":"Cart","ofType":null},"args":[{"name":"cartInput","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"categoriesSearch","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CategoryConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"searchInput","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"category","type":{"kind":"OBJECT","name":"Category","ofType":null},"args":[{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}},{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"complaint","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Complaint","ofType":null}},"args":[{"name":"number","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"complaints","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ComplaintConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"searchInput","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"couldBeCustomerRegisteredQuery","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"companyNumber","type":{"kind":"SCALAR","name":"Any"}},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"countries","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Country","ofType":null}}}},"args":[]},{"name":"currentCustomerUser","type":{"kind":"INTERFACE","name":"CustomerUser","ofType":null},"args":[]},{"name":"customerUserRoleGroups","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CustomerUserRoleGroup","ofType":null}}}},"args":[]},{"name":"customerUsers","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"CustomerUser","ofType":null}}}},"args":[]},{"name":"flag","type":{"kind":"OBJECT","name":"Flag","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"flags","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}}},"args":[]},{"name":"isCustomerUserRegistered","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"languageConstants","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LanguageConstant","ofType":null}}}},"args":[]},{"name":"lastOrder","type":{"kind":"OBJECT","name":"Order","ofType":null},"args":[]},{"name":"navigation","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"NavigationItem","ofType":null}}}},"args":[]},{"name":"notificationBars","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"NotificationBar","ofType":null}}},"args":[]},{"name":"order","type":{"kind":"OBJECT","name":"Order","ofType":null},"args":[{"name":"orderNumber","type":{"kind":"SCALAR","name":"Any"}},{"name":"urlHash","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"orderItems","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OrderItemConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"orderItemsSearch","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OrderItemConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"searchInput","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"orderPaymentFailedContent","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"orderPaymentSuccessfulContent","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"orderPayments","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OrderPaymentsConfig","ofType":null}},"args":[{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"orderSentPageContent","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[{"name":"orderUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"orders","type":{"kind":"OBJECT","name":"OrderConnection","ofType":null},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"payment","type":{"kind":"OBJECT","name":"Payment","ofType":null},"args":[{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"payments","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Payment","ofType":null}}}},"args":[]},{"name":"personalDataPage","type":{"kind":"OBJECT","name":"PersonalDataPage","ofType":null},"args":[]},{"name":"product","type":{"kind":"INTERFACE","name":"Product","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"productList","type":{"kind":"OBJECT","name":"ProductList","ofType":null},"args":[{"name":"input","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"productListsByType","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductList","ofType":null}}}},"args":[{"name":"productListType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"products","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"brandSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"categorySlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"flagSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"productsByCatnums","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[{"name":"catnums","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}}}]},{"name":"productsSearch","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"filter","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}},{"name":"orderingMode","type":{"kind":"SCALAR","name":"Any"}},{"name":"search","type":{"kind":"SCALAR","name":"Any"}},{"name":"searchInput","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"promotedCategories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"promotedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"recommendedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[{"name":"itemUuids","type":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},{"name":"limit","type":{"kind":"SCALAR","name":"Any"}},{"name":"recommendationType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}},{"name":"recommenderClientIdentifier","type":{"kind":"SCALAR","name":"Any"}},{"name":"userIdentifier","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"seoPage","type":{"kind":"OBJECT","name":"SeoPage","ofType":null},"args":[{"name":"pageSlug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"settings","type":{"kind":"OBJECT","name":"Settings","ofType":null},"args":[]},{"name":"sliderItems","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"SliderItem","ofType":null}}}},"args":[]},{"name":"store","type":{"kind":"OBJECT","name":"Store","ofType":null},"args":[{"name":"urlSlug","type":{"kind":"SCALAR","name":"Any"}},{"name":"uuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"stores","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"StoreConnection","ofType":null}},"args":[{"name":"after","type":{"kind":"SCALAR","name":"Any"}},{"name":"before","type":{"kind":"SCALAR","name":"Any"}},{"name":"first","type":{"kind":"SCALAR","name":"Any"}},{"name":"last","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"transport","type":{"kind":"OBJECT","name":"Transport","ofType":null},"args":[{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}]},{"name":"transports","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Transport","ofType":null}}}},"args":[{"name":"cartUuid","type":{"kind":"SCALAR","name":"Any"}}]}],"interfaces":[]},{"kind":"OBJECT","name":"RegularCustomerUser","fields":[{"name":"billingAddressUuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"city","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"OBJECT","name":"Country","ofType":null},"args":[]},{"name":"defaultDeliveryAddress","type":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null},"args":[]},{"name":"deliveryAddresses","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"DeliveryAddress","ofType":null}}}},"args":[]},{"name":"email","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hasPasswordSet","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"loginInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"LoginInfo","ofType":null}},"args":[]},{"name":"newsletterSubscription","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"postcode","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"pricingGroup","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"roleGroup","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"CustomerUserRoleGroup","ofType":null}},"args":[]},{"name":"roles","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"salesRepresentative","type":{"kind":"OBJECT","name":"SalesRepresentative","ofType":null},"args":[]},{"name":"street","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"telephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"CustomerUser"}]},{"kind":"OBJECT","name":"RegularProduct","fields":[{"name":"accessories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"availability","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Availability","ofType":null}},"args":[]},{"name":"availableStoresCount","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"brand","type":{"kind":"OBJECT","name":"Brand","ofType":null},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"catalogNumber","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ean","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"files","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"File","ofType":null}}}},"args":[]},{"name":"flags","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}}}},"args":[]},{"name":"fullName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"isInquiryType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isMainVariant","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSellingDenied","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isVisible","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"namePrefix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"nameSuffix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"orderingPriority","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parameters","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Parameter","ofType":null}}}},"args":[]},{"name":"partNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductPrice","ofType":null}},"args":[]},{"name":"productType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"productVideos","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"VideoToken","ofType":null}}}},"args":[]},{"name":"relatedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"shortDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"stockQuantity","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"storeAvailabilities","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"StoreAvailability","ofType":null}}}},"args":[]},{"name":"unit","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Unit","ofType":null}},"args":[]},{"name":"usps","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"Product"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"SalesRepresentative","fields":[{"name":"email","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"firstName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"image","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"lastName","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"telephone","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"SeoPage","fields":[{"name":"canonicalUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"metaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ogDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ogImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[]},{"name":"ogTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"title","type":{"kind":"SCALAR","name":"Any"},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Hreflang"}]},{"kind":"OBJECT","name":"SeoSetting","fields":[{"name":"metaDescription","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"robotsTxtContent","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"title","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"titleAddOn","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Settings","fields":[{"name":"contactFormMainText","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"displayTimezone","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"heurekaEnabled","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainBlogCategoryData","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"MainBlogCategoryData","ofType":null}},"args":[]},{"name":"maxAllowedPaymentTransactions","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"pricing","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PricingSetting","ofType":null}},"args":[]},{"name":"privacyPolicyArticleUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"SeoSetting","ofType":null}},"args":[]},{"name":"socialNetworkLoginConfig","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"termsAndConditionsArticleUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"userConsentPolicyArticleUrl","type":{"kind":"SCALAR","name":"Any"},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"SliderItem","fields":[{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"gtmCreative","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"gtmId","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"opacity","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"rgbBackgroundColor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"INTERFACE","name":"Slug","fields":[{"name":"name","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[],"possibleTypes":[{"kind":"OBJECT","name":"ArticleSite"},{"kind":"OBJECT","name":"BlogArticle"},{"kind":"OBJECT","name":"BlogCategory"},{"kind":"OBJECT","name":"Brand"},{"kind":"OBJECT","name":"Category"},{"kind":"OBJECT","name":"Flag"},{"kind":"OBJECT","name":"MainVariant"},{"kind":"OBJECT","name":"RegularProduct"},{"kind":"OBJECT","name":"Store"},{"kind":"OBJECT","name":"Variant"}]},{"kind":"OBJECT","name":"Store","fields":[{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"city","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"contactInfo","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"country","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Country","ofType":null}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"isDefault","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"latitude","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"longitude","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"openingHours","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"OpeningHours","ofType":null}},"args":[]},{"name":"postcode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"specialMessage","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"street","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"StoreAvailability","fields":[{"name":"availabilityInformation","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"availabilityStatus","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"store","type":{"kind":"OBJECT","name":"Store","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"StoreConnection","fields":[{"name":"edges","type":{"kind":"LIST","ofType":{"kind":"OBJECT","name":"StoreEdge","ofType":null}},"args":[]},{"name":"pageInfo","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"PageInfo","ofType":null}},"args":[]},{"name":"totalCount","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"StoreEdge","fields":[{"name":"cursor","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"node","type":{"kind":"OBJECT","name":"Store","ofType":null},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Token","fields":[{"name":"accessToken","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"refreshToken","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Transport","fields":[{"name":"daysUntilDelivery","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"instruction","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"isPersonalPickup","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"payments","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Payment","ofType":null}}}},"args":[]},{"name":"position","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Price","ofType":null}},"args":[{"name":"cartUuid","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"stores","type":{"kind":"OBJECT","name":"StoreConnection","ofType":null},"args":[]},{"name":"transportTypeCode","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Unit","fields":[{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"OBJECT","name":"Variant","fields":[{"name":"accessories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"availability","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Availability","ofType":null}},"args":[]},{"name":"availableStoresCount","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"brand","type":{"kind":"OBJECT","name":"Brand","ofType":null},"args":[]},{"name":"breadcrumb","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Link","ofType":null}}}},"args":[]},{"name":"catalogNumber","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"categories","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Category","ofType":null}}}},"args":[]},{"name":"description","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"ean","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"files","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"File","ofType":null}}}},"args":[]},{"name":"flags","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Flag","ofType":null}}}},"args":[]},{"name":"fullName","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"hreflangLinks","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"HreflangLink","ofType":null}}}},"args":[]},{"name":"id","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"images","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Image","ofType":null}}}},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"isInquiryType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isMainVariant","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isSellingDenied","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"isVisible","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"link","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"mainImage","type":{"kind":"OBJECT","name":"Image","ofType":null},"args":[{"name":"type","type":{"kind":"SCALAR","name":"Any"}}]},{"name":"mainVariant","type":{"kind":"OBJECT","name":"MainVariant","ofType":null},"args":[]},{"name":"name","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"namePrefix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"nameSuffix","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"orderingPriority","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"parameters","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Parameter","ofType":null}}}},"args":[]},{"name":"partNumber","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"price","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"ProductPrice","ofType":null}},"args":[]},{"name":"productType","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"productVideos","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"VideoToken","ofType":null}}}},"args":[]},{"name":"relatedProducts","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"INTERFACE","name":"Product","ofType":null}}}},"args":[]},{"name":"seoH1","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoMetaDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"seoTitle","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"shortDescription","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"slug","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"stockQuantity","type":{"kind":"SCALAR","name":"Any"},"args":[]},{"name":"storeAvailabilities","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"StoreAvailability","ofType":null}}}},"args":[]},{"name":"unit","type":{"kind":"NON_NULL","ofType":{"kind":"OBJECT","name":"Unit","ofType":null}},"args":[]},{"name":"usps","type":{"kind":"NON_NULL","ofType":{"kind":"LIST","ofType":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}}}},"args":[]},{"name":"uuid","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[{"kind":"INTERFACE","name":"Breadcrumb"},{"kind":"INTERFACE","name":"Hreflang"},{"kind":"INTERFACE","name":"Product"},{"kind":"INTERFACE","name":"Slug"}]},{"kind":"OBJECT","name":"VideoToken","fields":[{"name":"description","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]},{"name":"token","type":{"kind":"NON_NULL","ofType":{"kind":"SCALAR","name":"Any"}},"args":[]}],"interfaces":[]},{"kind":"SCALAR","name":"Any"}],"directives":[]}} \ No newline at end of file diff --git a/storefront/tailwind.config.js b/storefront/tailwind.config.js index 6dab292fec..71524412d9 100644 --- a/storefront/tailwind.config.js +++ b/storefront/tailwind.config.js @@ -52,6 +52,8 @@ module.exports = { backgroundWarningMore: '#D58B00', price: '#004EB6', + priceBefore: '#7892BC', + priceDiscounted: '#EC5353', actionPrimaryText: '#FFFFFF', actionPrimaryTextActive: '#FFFFFF', diff --git a/storefront/utils/useCountdown.ts b/storefront/utils/useCountdown.ts new file mode 100644 index 0000000000..d4432ebef7 --- /dev/null +++ b/storefront/utils/useCountdown.ts @@ -0,0 +1,86 @@ +import dayjs, { Dayjs } from 'dayjs'; +import duration from 'dayjs/plugin/duration'; +import { useRouter } from 'next/router'; +import { useState, useEffect, useCallback } from 'react'; + +interface TimeState { + days: string; + hours: string; + minutes: string; + seconds: string; + isLoading: boolean; +} + +type CountdownTime = Dayjs | string | Date; + +const calculateTimeLeft = (duration: duration.Duration): Omit => { + const totalMilliseconds = duration.asMilliseconds(); + const totalSeconds = Math.floor(totalMilliseconds / 1000); + const totalMinutes = Math.floor(totalSeconds / 60); + const totalHours = Math.floor(totalMinutes / 60); + const totalDays = Math.floor(totalHours / 24); + + const twoDigits = (n: number) => n.toString().padStart(2, '0'); + + return { + days: twoDigits(totalDays), + hours: twoDigits(totalHours % 24), + minutes: twoDigits(totalMinutes % 60), + seconds: twoDigits(totalSeconds % 60), + }; +}; + +export const useCountdown = (endTime: CountdownTime): TimeState => { + const router = useRouter(); + + const [time, setTime] = useState({ + days: '00', + hours: '00', + minutes: '00', + seconds: '00', + isLoading: true, + }); + + const updateTime = useCallback( + (duration: duration.Duration) => { + if (duration.asMilliseconds() <= 0) { + router.reload(); + return false; + } + + setTime(() => ({ + ...calculateTimeLeft(duration), + isLoading: false, + })); + + return true; + }, + [router], + ); + + useEffect(() => { + const currentTime = dayjs(); + const endTimeDayjs = dayjs(endTime); + + if (!endTimeDayjs.isValid()) { + return; + } + + const diffTime = endTimeDayjs.diff(currentTime); + let duration = dayjs.duration(diffTime); + const interval = 1000; + + const intervalId = setInterval(() => { + duration = duration.subtract(interval); + + if (!updateTime(duration)) { + clearInterval(intervalId); + } + }, interval); + + // eslint-disable-next-line consistent-return + return () => clearInterval(intervalId); + }, [endTime, updateTime]); + + return time; +}; diff --git a/storefront/utils/useDeferredRender.ts b/storefront/utils/useDeferredRender.ts index 065d9d1229..e5a82309a1 100644 --- a/storefront/utils/useDeferredRender.ts +++ b/storefront/utils/useDeferredRender.ts @@ -69,6 +69,7 @@ const PRODUCT_PAGE_DEFER_ORDER = [ 'menu_iconic', 'navigation', 'mobile_menu', + 'countdown', 'comparison_and_wishlist_button', 'recommended_products', 'accessories',