diff --git a/app/config/graphql/types/EnumType/PromoCodeTypeEnum.types.yaml b/app/config/graphql/types/EnumType/PromoCodeTypeEnum.types.yaml new file mode 100644 index 0000000000..648b337b06 --- /dev/null +++ b/app/config/graphql/types/EnumType/PromoCodeTypeEnum.types.yaml @@ -0,0 +1,4 @@ +PromoCodeTypeEnum: + type: enum + inherits: + - 'PromoCodeTypeEnumDecorator' diff --git a/app/config/graphql/types/ModelType/Cart/PromoCode.types.yaml b/app/config/graphql/types/ModelType/Cart/PromoCode.types.yaml new file mode 100644 index 0000000000..b9d6c0bc51 --- /dev/null +++ b/app/config/graphql/types/ModelType/Cart/PromoCode.types.yaml @@ -0,0 +1,4 @@ +PromoCode: + type: object + inherits: + - 'PromoCodeDecorator' diff --git a/app/config/packages/shopsys_framework.yaml b/app/config/packages/shopsys_framework.yaml index 6e0be1f7b6..14da3e3c58 100644 --- a/app/config/packages/shopsys_framework.yaml +++ b/app/config/packages/shopsys_framework.yaml @@ -5,6 +5,8 @@ shopsys_framework: - 'Shopsys\FrameworkBundle\Model\Order\Processing\OrderProcessorMiddleware\AddProductsMiddleware' - 'Shopsys\FrameworkBundle\Model\Order\Processing\OrderProcessorMiddleware\ApplyPercentagePromoCodeMiddleware' - 'Shopsys\FrameworkBundle\Model\Order\Processing\OrderProcessorMiddleware\ApplyNominalPromoCodeMiddleware' + - 'Shopsys\FrameworkBundle\Model\Order\Processing\OrderProcessorMiddleware\ApplyFreeTransportAndPaymentPromoCodeMiddleware' + - 'Shopsys\FrameworkBundle\Model\Order\Processing\OrderProcessorMiddleware\FreeTransportAndPaymentInformationMiddleware' - 'Shopsys\FrameworkBundle\Model\Order\Processing\OrderProcessorMiddleware\AddTransportMiddleware' - 'Shopsys\FrameworkBundle\Model\Order\Processing\OrderProcessorMiddleware\AddPaymentMiddleware' - 'Shopsys\FrameworkBundle\Model\Order\Processing\OrderProcessorMiddleware\PersonalPickupPointMiddleware' diff --git a/app/schema.graphql b/app/schema.graphql index 377708a447..01898436bf 100644 --- a/app/schema.graphql +++ b/app/schema.graphql @@ -357,7 +357,7 @@ type Cart { "Selected bank swift code of goPay payment bank transfer" paymentGoPayBankSwift: String "Applied promo code if provided" - promoCode: String + promoCode: PromoCode "Remaining amount for free transport and payment; null = transport cannot be free" remainingAmountWithVatForFreeTransport: Money "Rounding amount if payment has rounding allowed" @@ -1923,6 +1923,23 @@ enum ProductTypeEnum { INQUIRY } +type PromoCode { + "Code of the promo code" + code: String! + "Type of the promo code" + type: PromoCodeTypeEnum! +} + +"One of possible promo code types" +enum PromoCodeTypeEnum { + "Discount type free transport and payment" + free_transport_payment + "Discount type nominal" + nominal + "Discount type percent" + percent +} + type Query { "Access personal data using hash received in email from personal data access request" accessPersonalData( diff --git a/app/src/DataFixtures/Demo/PromoCodeDataFixture.php b/app/src/DataFixtures/Demo/PromoCodeDataFixture.php index dab83c80f6..e7dc7b8d59 100644 --- a/app/src/DataFixtures/Demo/PromoCodeDataFixture.php +++ b/app/src/DataFixtures/Demo/PromoCodeDataFixture.php @@ -17,6 +17,7 @@ use Shopsys\FrameworkBundle\Model\Order\PromoCode\PromoCodeFlag\PromoCodeFlagFactory; use Shopsys\FrameworkBundle\Model\Order\PromoCode\PromoCodeLimit\PromoCodeLimitFactory; use Shopsys\FrameworkBundle\Model\Order\PromoCode\PromoCodeProduct\PromoCodeProductFactory; +use Shopsys\FrameworkBundle\Model\Order\PromoCode\PromoCodeTypeEnum; use Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroup; class PromoCodeDataFixture extends AbstractReferenceFixture implements DependentFixtureInterface @@ -28,6 +29,7 @@ class PromoCodeDataFixture extends AbstractReferenceFixture implements Dependent public const string PROMO_CODE_FOR_REGISTERED_ONLY = 'promo_code_for_registered_only'; public const string PROMO_CODE_FOR_VIP_PRICING_GROUP = 'promo_code_for_vip_pricing_group'; public const string PROMO_CODE_FOR_NEW_PRODUCT = 'promo_code_for_new_product'; + public const string PROMO_CODE_FOR_FREE_TRANSPORT_PAYMENT = 'promo_code_for_free_transport_and_payemnt'; /** * @param \App\Model\Order\PromoCode\PromoCodeFacade $promoCodeFacade @@ -131,11 +133,13 @@ public function load(ObjectManager $manager): void $promoCodeData = $this->promoCodeDataFactory->create(); $promoCodeData->code = 'test100'; - $promoCodeData->discountType = PromoCode::DISCOUNT_TYPE_NOMINAL; + $promoCodeData->discountType = PromoCodeTypeEnum::DISCOUNT_TYPE_NOMINAL; $promoCodeData->domainId = $domainId; $promoCode = $this->promoCodeFacade->create($promoCodeData); $this->setDefaultNominalLimit($promoCode); + $this->createFreeTransportAndPaymentPromoCode($domainId); + $this->loadForOtherDomains(); } @@ -156,10 +160,12 @@ private function loadForOtherDomains(): void $promoCodeData = $this->promoCodeDataFactory->create(); $promoCodeData->code = 'test100'; - $promoCodeData->discountType = PromoCode::DISCOUNT_TYPE_NOMINAL; + $promoCodeData->discountType = PromoCodeTypeEnum::DISCOUNT_TYPE_NOMINAL; $promoCodeData->domainId = $domainId; $promoCode = $this->promoCodeFacade->create($promoCodeData); $this->setDefaultNominalLimit($promoCode); + + $this->createFreeTransportAndPaymentPromoCode($domainId); } } @@ -196,4 +202,17 @@ private function setDefaultNominalLimit(PromoCode $promoCode): void $this->em->persist($promoCodeLimit); $this->em->flush(); } + + /** + * @param int $domainId + */ + private function createFreeTransportAndPaymentPromoCode(int $domainId): void + { + $promoCodeData = $this->promoCodeDataFactory->create(); + $promoCodeData->code = 'free-transport'; + $promoCodeData->domainId = $domainId; + $promoCodeData->discountType = PromoCodeTypeEnum::DISCOUNT_TYPE_FREE_TRANSPORT_PAYMENT; + $promoCode = $this->promoCodeFacade->create($promoCodeData); + $this->addReferenceForDomain(self::PROMO_CODE_FOR_FREE_TRANSPORT_PAYMENT, $promoCode, $domainId); + } } diff --git a/app/src/Model/Order/PlaceOrderFacade.php b/app/src/Model/Order/PlaceOrderFacade.php index 234a1311cf..aacb7c906b 100644 --- a/app/src/Model/Order/PlaceOrderFacade.php +++ b/app/src/Model/Order/PlaceOrderFacade.php @@ -13,11 +13,12 @@ * @method fillOrderItems(\App\Model\Order\Order $order, \App\Model\Order\OrderData $orderData) * @property \App\Model\Order\Mail\OrderMailFacade $orderMailFacade * @property \App\Model\Customer\User\CustomerUserFacade $customerUserFacade - * @method __construct(\Shopsys\FrameworkBundle\Model\Order\Status\OrderStatusRepository $orderStatusRepository, \Shopsys\FrameworkBundle\Model\Order\OrderNumberSequenceRepository $orderNumberSequenceRepository, \Shopsys\FrameworkBundle\Model\Order\OrderHashGeneratorRepository $orderHashGeneratorRepository, \Shopsys\FrameworkBundle\Model\Order\OrderFactory $orderFactory, \Doctrine\ORM\EntityManagerInterface $em, \App\Model\Order\Item\OrderItemFactory $orderItemFactory, \App\Model\Order\Mail\OrderMailFacade $orderMailFacade, \Shopsys\FrameworkBundle\Model\Order\Messenger\PlacedOrderMessageDispatcher $placedOrderMessageDispatcher, \Shopsys\FrameworkBundle\Model\Newsletter\NewsletterFacade $newsletterFacade, \App\Model\Customer\User\CustomerUserFacade $customerUserFacade) + * @method __construct(\Shopsys\FrameworkBundle\Model\Order\Status\OrderStatusRepository $orderStatusRepository, \Shopsys\FrameworkBundle\Model\Order\OrderNumberSequenceRepository $orderNumberSequenceRepository, \Shopsys\FrameworkBundle\Model\Order\OrderHashGeneratorRepository $orderHashGeneratorRepository, \Shopsys\FrameworkBundle\Model\Order\OrderFactory $orderFactory, \Doctrine\ORM\EntityManagerInterface $em, \App\Model\Order\Item\OrderItemFactory $orderItemFactory, \App\Model\Order\Mail\OrderMailFacade $orderMailFacade, \Shopsys\FrameworkBundle\Model\Order\Messenger\PlacedOrderMessageDispatcher $placedOrderMessageDispatcher, \Shopsys\FrameworkBundle\Model\Newsletter\NewsletterFacade $newsletterFacade, \App\Model\Customer\User\CustomerUserFacade $customerUserFacade, \App\Model\Order\PromoCode\PromoCodeFacade $promoCodeFacade) * @method \App\Model\Order\Order createOrderOnly(\App\Model\Order\OrderData $orderData) * @method \App\Model\Order\Item\OrderItem enhanceSpecificOrderItem(\App\Model\Order\Item\OrderItem $orderItem, \App\Model\Order\Item\OrderItemData $orderItemData) * @method \App\Model\Order\Item\OrderItem createSpecificOrderItem(\App\Model\Order\Item\OrderItemData $orderItemData, \App\Model\Order\Order $order) * @method string generateCacheKey(\App\Model\Order\Item\OrderItemData $orderItemData) + * @property \App\Model\Order\PromoCode\PromoCodeFacade $promoCodeFacade */ class PlaceOrderFacade extends BasePlaceOrderFacade { diff --git a/app/tests/App/Functional/Model/Order/PromoCode/FilterProductByPromoCodeFlagsTest.php b/app/tests/App/Functional/Model/Order/PromoCode/FilterProductByPromoCodeFlagsTest.php index 08e181c221..a7d1dce212 100644 --- a/app/tests/App/Functional/Model/Order/PromoCode/FilterProductByPromoCodeFlagsTest.php +++ b/app/tests/App/Functional/Model/Order/PromoCode/FilterProductByPromoCodeFlagsTest.php @@ -15,6 +15,7 @@ use Shopsys\FrameworkBundle\Model\Order\PromoCode\PromoCodeFlag\PromoCodeFlag; use Shopsys\FrameworkBundle\Model\Order\PromoCode\PromoCodeFlag\PromoCodeFlagFactory; use Shopsys\FrameworkBundle\Model\Order\PromoCode\PromoCodeLimit\PromoCodeLimitFactory; +use Shopsys\FrameworkBundle\Model\Order\PromoCode\PromoCodeTypeEnum; use Tests\App\Test\TransactionFunctionalTestCase; class FilterProductByPromoCodeFlagsTest extends TransactionFunctionalTestCase @@ -170,7 +171,7 @@ private function createPromoCodeWithFlags(array $promoCodeFlags): PromoCode $promoCodeData->flags = $promoCodeFlags; $promoCodeData->domainId = $this->domain->getId(); $promoCodeData->code = 'present'; - $promoCodeData->discountType = PromoCode::DISCOUNT_TYPE_NOMINAL; + $promoCodeData->discountType = PromoCodeTypeEnum::DISCOUNT_TYPE_NOMINAL; $promoCodeData->limits = [$promoCodeLimit]; return $this->promoCodeFacade->create($promoCodeData); diff --git a/app/tests/App/Functional/Model/Transport/TransportPriceCalculationTest.php b/app/tests/App/Functional/Model/Transport/TransportPriceCalculationTest.php index 97e5de1a33..82e0115683 100644 --- a/app/tests/App/Functional/Model/Transport/TransportPriceCalculationTest.php +++ b/app/tests/App/Functional/Model/Transport/TransportPriceCalculationTest.php @@ -4,6 +4,7 @@ namespace App\Functional\Model\Transport; +use App\DataFixtures\Demo\SettingValueDataFixture; use App\DataFixtures\Demo\TransportDataFixture; use App\Model\Transport\Transport; use PHPUnit\Framework\Attributes\DataProvider; @@ -34,7 +35,7 @@ public function testCalculatePriceThrowsExceptionWhenWeightLimitIsExceeded(): vo { $transportCzechPost = $this->getReference(TransportDataFixture::TRANSPORT_CZECH_POST, Transport::class); $this->expectException(TransportPriceNotFoundException::class); - $this->transportPriceCalculation->calculatePrice($transportCzechPost, Price::zero(), Domain::FIRST_DOMAIN_ID, self::CART_TOTAL_WEIGHT_ABOVE_ALL_LIMITS); + $this->transportPriceCalculation->calculatePrice($transportCzechPost, Price::zero(), Domain::FIRST_DOMAIN_ID, self::CART_TOTAL_WEIGHT_ABOVE_ALL_LIMITS, false); } /** @@ -46,7 +47,7 @@ public function testCalculatePrice(int $cartTotalWeight, int $expectedMoneyAmoun { $transportCzechPost = $this->getReference(TransportDataFixture::TRANSPORT_CZECH_POST, Transport::class); - $calculatedPrice = $this->transportPriceCalculation->calculatePrice($transportCzechPost, Price::zero(), Domain::FIRST_DOMAIN_ID, $cartTotalWeight); + $calculatedPrice = $this->transportPriceCalculation->calculatePrice($transportCzechPost, Price::zero(), Domain::FIRST_DOMAIN_ID, $cartTotalWeight, false); $expectedTransportPriceWithoutVat = $this->priceConverter->convertPriceWithoutVatToDomainDefaultCurrencyPrice( Money::create($expectedMoneyAmountWithoutVat), @@ -73,4 +74,34 @@ public static function calculatePriceDataProvider(): array ], ]; } + + /** + * @param \Shopsys\FrameworkBundle\Model\Pricing\Price $productsPrice + * @param bool $forceFreeTransport + */ + #[DataProvider('calculateFreePriceDataProvider')] + public function testCalculateFreePrice(Price $productsPrice, bool $forceFreeTransport): void + { + $transportCzechPost = $this->getReference(TransportDataFixture::TRANSPORT_CZECH_POST, Transport::class); + + $calculatedPrice = $this->transportPriceCalculation->calculatePrice($transportCzechPost, $productsPrice, Domain::FIRST_DOMAIN_ID, 0, $forceFreeTransport); + + $this->assertTrue($calculatedPrice->getPriceWithoutVat()->isZero()); + } + + /** + * @return iterable + */ + public static function calculateFreePriceDataProvider(): iterable + { + yield 'products price reached the free price limit' => [ + 'productsPrice' => new Price(Money::create(SettingValueDataFixture::FREE_TRANSPORT_AND_PAYMENT_LIMIT), Money::create(SettingValueDataFixture::FREE_TRANSPORT_AND_PAYMENT_LIMIT)), + 'forceFreeTransport' => false, + ]; + + yield 'free transport price is forced' => [ + 'productsPrice' => new Price(Money::create(1), Money::create(1)), + 'forceFreeTransport' => true, + ]; + } } diff --git a/app/tests/FrontendApiBundle/Functional/Cart/ApplyPromoCodeToCartTest.php b/app/tests/FrontendApiBundle/Functional/Cart/ApplyPromoCodeToCartTest.php index f2b6fea178..e916425408 100644 --- a/app/tests/FrontendApiBundle/Functional/Cart/ApplyPromoCodeToCartTest.php +++ b/app/tests/FrontendApiBundle/Functional/Cart/ApplyPromoCodeToCartTest.php @@ -5,24 +5,33 @@ namespace Tests\FrontendApiBundle\Functional\Cart; use App\DataFixtures\Demo\CartDataFixture; +use App\DataFixtures\Demo\PaymentDataFixture; use App\DataFixtures\Demo\ProductDataFixture; use App\DataFixtures\Demo\PromoCodeDataFixture; +use App\DataFixtures\Demo\TransportDataFixture; +use App\DataFixtures\Demo\VatDataFixture; use App\Model\Cart\CartFacade; use App\Model\Order\PromoCode\PromoCode as AppPromoCode; use App\Model\Order\PromoCode\PromoCodeDataFactory; use App\Model\Order\PromoCode\PromoCodeFacade; +use App\Model\Payment\Payment; use App\Model\Product\Product; use App\Model\Product\ProductDataFactory; use App\Model\Product\ProductFacade; +use App\Model\Transport\Transport; use PHPUnit\Framework\Attributes\DataProvider; use Shopsys\FrameworkBundle\Model\Cart\Cart; use Shopsys\FrameworkBundle\Model\Customer\User\CustomerUserIdentifierFactory; use Shopsys\FrameworkBundle\Model\Customer\User\FrontendCustomerUserProvider; +use Shopsys\FrameworkBundle\Model\Pricing\Vat\Vat; use Shopsys\FrontendApiBundle\Component\Constraints\PromoCode; use Tests\FrontendApiBundle\Test\GraphQlTestCase; +use Tests\FrontendApiBundle\Test\PromoCodeAssertionTrait; class ApplyPromoCodeToCartTest extends GraphQlTestCase { + use PromoCodeAssertionTrait; + /** * @inject */ @@ -62,45 +71,38 @@ public function testApplyPromoCode(): void { $promoCode = $this->getReferenceForDomain(PromoCodeDataFixture::VALID_PROMO_CODE, 1, AppPromoCode::class); - $applyPromoCodeMutation = 'mutation { - ApplyPromoCodeToCart(input: { - cartUuid: "' . CartDataFixture::CART_UUID . '" - promoCode: "' . $promoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; - - $response = $this->getResponseContentForQuery($applyPromoCodeMutation); - $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); + $data = $this->applyPromoCodeToCartAndGetResponseData($promoCode->getCode()); self::assertEquals(CartDataFixture::CART_UUID, $data['uuid']); - self::assertEquals($promoCode->getCode(), $data['promoCode']); + self::assertPromoCode($promoCode, $data['promoCode']); + } + + public function testApplyPromoCodeForFreeTransport(): void + { + $promoCode = $this->getReferenceForDomain(PromoCodeDataFixture::PROMO_CODE_FOR_FREE_TRANSPORT_PAYMENT, 1, AppPromoCode::class); + $vatZero = $this->getReferenceForDomain(VatDataFixture::VAT_ZERO, $this->domain->getId(), Vat::class); + $this->addCzechPostToCart(); + $this->addCashOnDeliveryPaymentToCart(); + + $data = $this->applyPromoCodeToCartAndGetResponseData($promoCode->getCode()); + + self::assertPromoCode($promoCode, $data['promoCode']); + self::assertSame($this->getSerializedPriceConvertedToDomainDefaultCurrency('0', $vatZero), $data['transport']['price']); + self::assertSame($this->getSerializedPriceConvertedToDomainDefaultCurrency('0', $vatZero), $data['payment']['price']); + self::assertSame($this->getFormattedMoneyAmountConvertedToDomainDefaultCurrency('0'), $data['remainingAmountWithVatForFreeTransport']); } public function testApplyPromoCodeMultipleTimes(): void { $promoCode = $this->getReferenceForDomain(PromoCodeDataFixture::VALID_PROMO_CODE, 1, AppPromoCode::class); - $applyPromoCodeMutation = 'mutation { - ApplyPromoCodeToCart(input: { - cartUuid: "' . CartDataFixture::CART_UUID . '" - promoCode: "' . $promoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; - - $response = $this->getResponseContentForQuery($applyPromoCodeMutation); - $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); + $data = $this->applyPromoCodeToCartAndGetResponseData($promoCode->getCode()); self::assertEquals(CartDataFixture::CART_UUID, $data['uuid']); - self::assertEquals($promoCode->getCode(), $data['promoCode']); + self::assertPromoCode($promoCode, $data['promoCode']); // apply promo code again - $response = $this->getResponseContentForQuery($applyPromoCodeMutation); + $response = $this->applyPromoCodeToCart($promoCode->getCode()); $this->assertResponseContainsArrayOfExtensionValidationErrors($response); $violations = $this->getErrorsExtensionValidationFromResponse($response); @@ -118,17 +120,7 @@ public function testApplyPromoCodeWithInvalidCart(): void $promoCode = $this->getReferenceForDomain(PromoCodeDataFixture::VALID_PROMO_CODE, 1, AppPromoCode::class); - $applyPromoCodeMutation = 'mutation { - ApplyPromoCodeToCart(input: { - cartUuid: "' . $invalidCartUuid . '" - promoCode: "' . $promoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; - - $response = $this->getResponseContentForQuery($applyPromoCodeMutation); + $response = $this->applyPromoCodeToCart($promoCode->getCode(), $invalidCartUuid); $this->assertResponseContainsArrayOfErrors($response); $errors = $this->getErrorsFromResponse($response); @@ -140,16 +132,9 @@ public function testApplyPromoCodeWithoutCart(): void { $promoCode = $this->getReferenceForDomain(PromoCodeDataFixture::VALID_PROMO_CODE, 1, AppPromoCode::class); - $applyPromoCodeMutation = 'mutation { - ApplyPromoCodeToCart(input: { - promoCode: "' . $promoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; - - $response = $this->getResponseContentForQuery($applyPromoCodeMutation); + $response = $this->getResponseContentForGql(__DIR__ . '/../_graphql/mutation/ApplyPromoCodeToCart.graphql', [ + 'promoCode' => $promoCode->getCode(), + ]); $this->assertResponseContainsArrayOfErrors($response); $errors = $this->getErrorsFromResponse($response); @@ -169,44 +154,17 @@ public function testModificationAfterProductIsRemoved(): void $cartUuid = $this->getResponseDataForGraphQlType($response, 'AddToCart')['cart']['uuid']; - $applyPromoCodeMutation = 'mutation { - ApplyPromoCodeToCart(input: { - cartUuid: "' . $cartUuid . '" - promoCode: "' . $promoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; - - $response = $this->getResponseContentForQuery($applyPromoCodeMutation); - $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); - self::assertEquals($promoCode->getCode(), $data['promoCode']); + $data = $this->applyPromoCodeToCartAndGetResponseData($promoCode->getCode(), $cartUuid); + self::assertPromoCode($promoCode, $data['promoCode']); // product has to be re-fetched due to identity map clearing to prevent "A new entity was found through the relationship" error $productInCart = $this->getReference(ProductDataFixture::PRODUCT_PREFIX . 1, Product::class); $this->hideProduct($productInCart); - $getCartQuery = '{ - cart(cartInput: {cartUuid: "' . $cartUuid . '"}) { - promoCode - modifications { - itemModifications { - noLongerListableCartItems { - product { - uuid - } - } - } - promoCodeModifications { - noLongerApplicablePromoCode - } - } - } - }'; - - $response = $this->getResponseContentForQuery($getCartQuery); + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/GetCart.graphql', [ + 'cartUuid' => $cartUuid, + ]); $data = $this->getResponseDataForGraphQlType($response, 'cart'); $itemModifications = $data['modifications']['itemModifications']; $promoCodeModifications = $data['modifications']['promoCodeModifications']; @@ -224,44 +182,17 @@ public function testModificationAfterPromoCodeEdited(): void { $validPromoCode = $this->getReferenceForDomain(PromoCodeDataFixture::VALID_PROMO_CODE, 1, AppPromoCode::class); - $applyPromoCodeMutation = 'mutation { - ApplyPromoCodeToCart(input: { - cartUuid: "' . CartDataFixture::CART_UUID . '" - promoCode: "' . $validPromoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; + $data = $this->applyPromoCodeToCartAndGetResponseData($validPromoCode->getCode()); - $response = $this->getResponseContentForQuery($applyPromoCodeMutation); - $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); - - self::assertEquals($validPromoCode->getCode(), $data['promoCode']); + self::assertPromoCode($validPromoCode, $data['promoCode']); $promoCodeData = $this->promoCodeDataFactory->createFromPromoCode($validPromoCode); $promoCodeData->remainingUses = 0; $this->promoCodeFacade->edit($validPromoCode->getId(), $promoCodeData); - $getCartQuery = '{ - cart(cartInput: {cartUuid: "' . CartDataFixture::CART_UUID . '"}) { - promoCode - modifications { - itemModifications { - noLongerListableCartItems { - product { - uuid - } - } - } - promoCodeModifications { - noLongerApplicablePromoCode - } - } - } - }'; - - $response = $this->getResponseContentForQuery($getCartQuery); + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/GetCart.graphql', [ + 'cartUuid' => CartDataFixture::CART_UUID, + ]); $data = $this->getResponseDataForGraphQlType($response, 'cart'); $promoCodeModifications = $data['modifications']['promoCodeModifications']; @@ -278,32 +209,14 @@ public function testPromoCodeIsStillAppliedAfterMergingCart(): void $promoCode = $this->getReferenceForDomain(PromoCodeDataFixture::VALID_PROMO_CODE, 1, AppPromoCode::class); - $applyPromoCodeMutation = 'mutation { - ApplyPromoCodeToCart(input: { - cartUuid: "' . $testCartUuid . '" - promoCode: "' . $promoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; - $this->getResponseContentForQuery($applyPromoCodeMutation); - - $loginMutationWithCartUuid = 'mutation { - Login(input: { - email: "no-reply@shopsys.com" - password: "user123" - cartUuid: "' . $testCartUuid . '" - }) { - tokens { - accessToken - refreshToken - } - } - } - '; - - $this->getResponseContentForQuery($loginMutationWithCartUuid); + $this->applyPromoCodeToCart($promoCode->getCode()); + + $response = $this->getResponseContentForGql(__DIR__ . '/../Login/graphql/LoginMutation.graphql', [ + 'email' => 'no-reply@shopsys.com', + 'password' => 'user123', + 'cartUuid' => $testCartUuid, + ]); + $this->getResponseDataForGraphQlType($response, 'Login'); $cart = $this->findCartOfCustomerByEmail('no-reply@shopsys.com'); @@ -325,17 +238,7 @@ public function testApplyInvalidPromoCode(?string $promoCodeReferenceName, strin $promoCodeCode = $promoCode->getCode(); } - $applyPromoCodeMutation = 'mutation { - ApplyPromoCodeToCart(input: { - cartUuid: "' . CartDataFixture::CART_UUID . '" - promoCode: "' . $promoCodeCode . '" - }) { - uuid - promoCode - } - }'; - - $response = $this->getResponseContentForQuery($applyPromoCodeMutation); + $response = $this->applyPromoCodeToCart($promoCodeCode); self::assertArrayHasKey('errors', $response); @@ -388,4 +291,49 @@ private function findCartOfCustomerByEmail(string $email): ?Cart return $this->cartFacade->findCartByCustomerUserIdentifier($customerUserIdentifier); } + + private function addCzechPostToCart(): void + { + $response = $this->getResponseContentForGql(__DIR__ . '/../_graphql/mutation/ChangeTransportInCartMutation.graphql', [ + 'cartUuid' => CartDataFixture::CART_UUID, + 'transportUuid' => $this->getReference(TransportDataFixture::TRANSPORT_CZECH_POST, Transport::class)->getUuid(), + ]); + $this->getResponseDataForGraphQlType($response, 'ChangeTransportInCart'); + } + + private function addCashOnDeliveryPaymentToCart(): void + { + $response = $this->getResponseContentForGql(__DIR__ . '/../_graphql/mutation/ChangePaymentInCartMutation.graphql', [ + 'cartUuid' => CartDataFixture::CART_UUID, + 'paymentUuid' => $this->getReference(PaymentDataFixture::PAYMENT_CASH_ON_DELIVERY, Payment::class)->getUuid(), + ]); + $this->getResponseDataForGraphQlType($response, 'ChangePaymentInCart'); + } + + /** + * @param string $promoCode + * @param string $cartUuid + * @return array + */ + private function applyPromoCodeToCartAndGetResponseData( + string $promoCode, + string $cartUuid = CartDataFixture::CART_UUID, + ): array { + $response = $this->applyPromoCodeToCart($promoCode, $cartUuid); + + return $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); + } + + /** + * @param string $promoCode + * @param string $cartUuid + * @return array + */ + private function applyPromoCodeToCart(string $promoCode, string $cartUuid = CartDataFixture::CART_UUID): array + { + return $this->getResponseContentForGql(__DIR__ . '/../_graphql/mutation/ApplyPromoCodeToCart.graphql', [ + 'cartUuid' => $cartUuid, + 'promoCode' => $promoCode, + ]); + } } diff --git a/app/tests/FrontendApiBundle/Functional/Cart/AuthenticatedApplyPromoCodeToCartTest.php b/app/tests/FrontendApiBundle/Functional/Cart/AuthenticatedApplyPromoCodeToCartTest.php index 4756b977d1..b41a43e2af 100644 --- a/app/tests/FrontendApiBundle/Functional/Cart/AuthenticatedApplyPromoCodeToCartTest.php +++ b/app/tests/FrontendApiBundle/Functional/Cart/AuthenticatedApplyPromoCodeToCartTest.php @@ -21,9 +21,12 @@ use Shopsys\FrameworkBundle\Model\Pricing\Vat\Vat; use Shopsys\FrontendApiBundle\Component\Constraints\PromoCode; use Tests\FrontendApiBundle\Test\GraphQlWithLoginTestCase; +use Tests\FrontendApiBundle\Test\PromoCodeAssertionTrait; class AuthenticatedApplyPromoCodeToCartTest extends GraphQlWithLoginTestCase { + use PromoCodeAssertionTrait; + /** * @inject */ @@ -80,7 +83,7 @@ public function testApplyPromoCode(string $promoCodeCode): void $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); self::assertNull($data['uuid']); - self::assertEquals($promoCode->getCode(), $data['promoCode']); + self::assertPromoCode($promoCode, $data['promoCode']); $actualPrice = $this->getSerializedPriceConvertedToDomainDefaultCurrency( $data['totalPrice']['priceWithoutVat'], @@ -115,7 +118,7 @@ public function testApplyPromoCodeMultipleTimes(): void $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); self::assertNull($data['uuid']); - self::assertEquals($promoCode->getCode(), $data['promoCode']); + self::assertPromoCode($promoCode, $data['promoCode']); // apply promo code again $response = $this->getResponseContentForGql(__DIR__ . '/graphql/ApplyPromoCodeToCart.graphql', [ @@ -158,30 +161,12 @@ public function testModificationAfterProductIsRemoved(): void ]); $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); - self::assertEquals($promoCode->getCode(), $data['promoCode']); + self::assertPromoCode($promoCode, $data['promoCode']); $productInCart = $this->getReference(ProductDataFixture::PRODUCT_PREFIX . 1, Product::class); $this->hideProduct($productInCart); - $getCartQuery = '{ - cart { - promoCode - modifications { - itemModifications { - noLongerListableCartItems { - product { - uuid - } - } - } - promoCodeModifications { - noLongerApplicablePromoCode - } - } - } - }'; - - $response = $this->getResponseContentForQuery($getCartQuery); + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/GetCart.graphql'); $data = $this->getResponseDataForGraphQlType($response, 'cart'); $itemModifications = $data['modifications']['itemModifications']; @@ -207,31 +192,13 @@ public function testModificationAfterPromoCodeEdited(): void ]); $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); - self::assertEquals($validPromoCode->getCode(), $data['promoCode']); + self::assertPromoCode($validPromoCode, $data['promoCode']); $promoCodeData = $this->promoCodeDataFactory->createFromPromoCode($validPromoCode); $promoCodeData->remainingUses = 0; $this->promoCodeFacade->edit($validPromoCode->getId(), $promoCodeData); - $getCartQuery = '{ - cart { - promoCode - modifications { - itemModifications { - noLongerListableCartItems { - product { - uuid - } - } - } - promoCodeModifications { - noLongerApplicablePromoCode - } - } - } - }'; - - $response = $this->getResponseContentForQuery($getCartQuery); + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/GetCart.graphql'); $data = $this->getResponseDataForGraphQlType($response, 'cart'); $promoCodeModifications = $data['modifications']['promoCodeModifications']; diff --git a/app/tests/FrontendApiBundle/Functional/Cart/AuthenticatedRemovePromoCodeFromCartTest.php b/app/tests/FrontendApiBundle/Functional/Cart/AuthenticatedRemovePromoCodeFromCartTest.php index 7ba2955881..b85d239800 100644 --- a/app/tests/FrontendApiBundle/Functional/Cart/AuthenticatedRemovePromoCodeFromCartTest.php +++ b/app/tests/FrontendApiBundle/Functional/Cart/AuthenticatedRemovePromoCodeFromCartTest.php @@ -11,9 +11,12 @@ use App\Model\Product\Product; use Shopsys\FrameworkBundle\Component\Domain\Domain; use Tests\FrontendApiBundle\Test\GraphQlWithLoginTestCase; +use Tests\FrontendApiBundle\Test\PromoCodeAssertionTrait; class AuthenticatedRemovePromoCodeFromCartTest extends GraphQlWithLoginTestCase { + use PromoCodeAssertionTrait; + /** * @inject */ @@ -23,16 +26,9 @@ public function testRemovePromoCodeFromCart(): void { $promoCode = $this->applyValidPromoCodeToCustomerCart(); - $removeFromCartMutation = 'mutation { - RemovePromoCodeFromCart(input: { - promoCode: "' . $promoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; - - $response = $this->getResponseContentForQuery($removeFromCartMutation); + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/RemovePromoCodeFromCart.graphql', [ + 'promoCode' => $promoCode->getCode(), + ]); $data = $this->getResponseDataForGraphQlType($response, 'RemovePromoCodeFromCart'); self::assertNotNull($this->promoCodeFacade->findPromoCodeByCodeAndDomain($promoCode->getCode(), Domain::FIRST_DOMAIN_ID)); @@ -47,18 +43,7 @@ public function testPromoCodeIsRemovedFromCartAfterDeletion(): void $this->em->remove($promoCode); $this->em->flush(); - $getCartQuery = '{ - cart { - promoCode - modifications { - promoCodeModifications { - noLongerApplicablePromoCode - } - } - } - }'; - - $response = $this->getResponseContentForQuery($getCartQuery); + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/GetCart.graphql'); $data = $this->getResponseDataForGraphQlType($response, 'cart'); self::assertNull($data['promoCode']); @@ -83,19 +68,12 @@ public function applyValidPromoCodeToCustomerCart(): PromoCode 'quantity' => 2, ]); - $applyPromoCodeMutation = 'mutation { - ApplyPromoCodeToCart(input: { - promoCode: "' . $promoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; - - $response = $this->getResponseContentForQuery($applyPromoCodeMutation); + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/ApplyPromoCodeToCart.graphql', [ + 'promoCode' => $promoCode->getCode(), + ]); $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); - self::assertEquals($promoCode->getCode(), $data['promoCode']); + self::assertPromoCode($promoCode, $data['promoCode']); // refresh promo code, so we're able to work with it as with an entity return $this->getReferenceForDomain($promoCodeReference, 1, PromoCode::class); diff --git a/app/tests/FrontendApiBundle/Functional/Cart/CartModificationsResultTest.php b/app/tests/FrontendApiBundle/Functional/Cart/CartModificationsResultTest.php index 2d3190c09e..14067a0601 100644 --- a/app/tests/FrontendApiBundle/Functional/Cart/CartModificationsResultTest.php +++ b/app/tests/FrontendApiBundle/Functional/Cart/CartModificationsResultTest.php @@ -6,8 +6,10 @@ use App\DataFixtures\Demo\PaymentDataFixture; use App\DataFixtures\Demo\ProductDataFixture; +use App\DataFixtures\Demo\PromoCodeDataFixture; use App\DataFixtures\Demo\StoreDataFixture; use App\DataFixtures\Demo\TransportDataFixture; +use App\Model\Order\PromoCode\PromoCode; use App\Model\Payment\Payment; use App\Model\Payment\PaymentDataFactory; use App\Model\Payment\PaymentFacade; @@ -17,6 +19,7 @@ use App\Model\Transport\Transport; use App\Model\Transport\TransportDataFactory; use App\Model\Transport\TransportFacade; +use PHPUnit\Framework\Attributes\DataProvider; use Shopsys\FrameworkBundle\Component\Money\Money; use Shopsys\FrameworkBundle\Model\Pricing\Group\PricingGroupFacade; use Shopsys\FrameworkBundle\Model\Store\Store; @@ -62,6 +65,20 @@ class CartModificationsResultTest extends GraphQlTestCase */ private PaymentDataFactory $paymentDataFactory; + /** + * @return iterable + */ + public static function getTransportWithExceededWeightLimitDataProvider(): iterable + { + yield 'without promo code' => [ + 'promoCodeReference' => null, + ]; + + yield 'with promo code for free transport' => [ + 'promoCodeReference' => PromoCodeDataFixture::PROMO_CODE_FOR_FREE_TRANSPORT_PAYMENT, + ]; + } + protected function setUp(): void { parent::setUp(); @@ -226,7 +243,11 @@ public function testHiddenTransportIsReportedAsUnavailable(): void self::assertTrue($transportModifications['transportUnavailable']); } - public function testTransportWithExceededWeightLimitIsReported(): void + /** + * @param string|null $promoCodeReference + */ + #[DataProvider('getTransportWithExceededWeightLimitDataProvider')] + public function testTransportWithExceededWeightLimitIsReported(?string $promoCodeReference): void { $newlyCreatedCart = $this->addTestingProductToNewCart(1); $transport = $this->getReference(TransportDataFixture::TRANSPORT_CZECH_POST, Transport::class); @@ -237,6 +258,11 @@ public function testTransportWithExceededWeightLimitIsReported(): void $transportModifications = $this->getTransportModificationsForCartQuery($newlyCreatedCart['uuid']); self::assertFalse($transportModifications['transportWeightLimitExceeded']); + if ($promoCodeReference !== null) { + $promoCode = $this->getReferenceForDomain($promoCodeReference, $this->domain->getId(), PromoCode::class); + $this->applyPromoCodeToCart($cartUuid, $promoCode); + } + $transportModifications = $this->addTestingProductToExistingCartAndGetTransportModifications(3, $cartUuid); self::assertTrue($transportModifications['transportWeightLimitExceeded']); } @@ -442,4 +468,18 @@ private function setTransportAsExcludedForTestingProduct(Transport $transport): $productData->excludedTransports = [$transport]; $this->productFacade->edit($this->testingProduct->getId(), $productData); } + + /** + * @param string $cartUuid + * @param \App\Model\Order\PromoCode\PromoCode $promoCode + */ + private function applyPromoCodeToCart(string $cartUuid, PromoCode $promoCode): void + { + $response = $this->getResponseContentForGql(__DIR__ . '/../_graphql/mutation/ApplyPromoCodeToCart.graphql', [ + 'cartUuid' => $cartUuid, + 'promoCode' => $promoCode->getCode(), + ]); + + $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); + } } diff --git a/app/tests/FrontendApiBundle/Functional/Cart/PriceWithoutDiscountTransportAndPaymentTest.php b/app/tests/FrontendApiBundle/Functional/Cart/PriceWithoutDiscountTransportAndPaymentTest.php index 1264b21448..8b948d1123 100644 --- a/app/tests/FrontendApiBundle/Functional/Cart/PriceWithoutDiscountTransportAndPaymentTest.php +++ b/app/tests/FrontendApiBundle/Functional/Cart/PriceWithoutDiscountTransportAndPaymentTest.php @@ -16,9 +16,12 @@ use App\Model\Transport\Transport; use Shopsys\FrameworkBundle\Model\Store\Store; use Tests\FrontendApiBundle\Test\GraphQlTestCase; +use Tests\FrontendApiBundle\Test\PromoCodeAssertionTrait; class PriceWithoutDiscountTransportAndPaymentTest extends GraphQlTestCase { + use PromoCodeAssertionTrait; + /** * @inject */ @@ -47,7 +50,7 @@ public function testTotalPriceWithoutDiscountTransportAndPayment(): void ], ); $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); - self::assertEquals($promoCode->getCode(), $data['promoCode']); + self::assertPromoCode($promoCode, $data['promoCode']); $testingTransport = $this->getReference(TransportDataFixture::TRANSPORT_PERSONAL, Transport::class); $store = $this->getReference(StoreDataFixture::STORE_PREFIX . 1, Store::class); diff --git a/app/tests/FrontendApiBundle/Functional/Cart/RemovePromoCodeFromCartTest.php b/app/tests/FrontendApiBundle/Functional/Cart/RemovePromoCodeFromCartTest.php index 52287bead1..d9462b905b 100644 --- a/app/tests/FrontendApiBundle/Functional/Cart/RemovePromoCodeFromCartTest.php +++ b/app/tests/FrontendApiBundle/Functional/Cart/RemovePromoCodeFromCartTest.php @@ -8,24 +8,20 @@ use App\DataFixtures\Demo\PromoCodeDataFixture; use App\Model\Order\PromoCode\PromoCode; use Tests\FrontendApiBundle\Test\GraphQlTestCase; +use Tests\FrontendApiBundle\Test\PromoCodeAssertionTrait; class RemovePromoCodeFromCartTest extends GraphQlTestCase { + use PromoCodeAssertionTrait; + public function testRemovePromoCodeFromCart(): void { $promoCode = $this->applyValidPromoCodeToDefaultCart(); - $removeFromCartMutation = 'mutation { - RemovePromoCodeFromCart(input: { - cartUuid: "' . CartDataFixture::CART_UUID . '" - promoCode: "' . $promoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; - - $response = $this->getResponseContentForQuery($removeFromCartMutation); + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/RemovePromoCodeFromCart.graphql', [ + 'cartUuid' => CartDataFixture::CART_UUID, + 'promoCode' => $promoCode->getCode(), + ]); $data = $this->getResponseDataForGraphQlType($response, 'RemovePromoCodeFromCart'); self::assertNull($data['promoCode']); @@ -38,18 +34,9 @@ public function testPromoCodeIsRemovedFromCartAfterDeletion(): void $this->em->remove($promoCode); $this->em->flush(); - $getCartQuery = '{ - cart(cartInput: {cartUuid: "' . CartDataFixture::CART_UUID . '"}) { - promoCode - modifications { - promoCodeModifications { - noLongerApplicablePromoCode - } - } - } - }'; - - $response = $this->getResponseContentForQuery($getCartQuery); + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/GetCart.graphql', [ + 'cartUuid' => CartDataFixture::CART_UUID, + ]); $data = $this->getResponseDataForGraphQlType($response, 'cart'); self::assertNull($data['promoCode']); @@ -65,20 +52,13 @@ public function applyValidPromoCodeToDefaultCart(): PromoCode { $promoCode = $this->getReferenceForDomain(PromoCodeDataFixture::VALID_PROMO_CODE, 1, PromoCode::class); - $applyPromoCodeMutation = 'mutation { - ApplyPromoCodeToCart(input: { - cartUuid: "' . CartDataFixture::CART_UUID . '" - promoCode: "' . $promoCode->getCode() . '" - }) { - uuid - promoCode - } - }'; - - $response = $this->getResponseContentForQuery($applyPromoCodeMutation); + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/ApplyPromoCodeToCart.graphql', [ + 'cartUuid' => CartDataFixture::CART_UUID, + 'promoCode' => $promoCode->getCode(), + ]); $data = $this->getResponseDataForGraphQlType($response, 'ApplyPromoCodeToCart'); - self::assertEquals($promoCode->getCode(), $data['promoCode']); + self::assertPromoCode($promoCode, $data['promoCode']); return $promoCode; } diff --git a/app/tests/FrontendApiBundle/Functional/Cart/graphql/ApplyPromoCodeToCart.graphql b/app/tests/FrontendApiBundle/Functional/Cart/graphql/ApplyPromoCodeToCart.graphql index b0b3ce1c63..bf3401a6ad 100644 --- a/app/tests/FrontendApiBundle/Functional/Cart/graphql/ApplyPromoCodeToCart.graphql +++ b/app/tests/FrontendApiBundle/Functional/Cart/graphql/ApplyPromoCodeToCart.graphql @@ -8,7 +8,10 @@ mutation ApplyPromoCodeToCart( promoCode: $promoCode }) { uuid - promoCode + promoCode { + code + type + } totalPrice { priceWithVat priceWithoutVat diff --git a/app/tests/FrontendApiBundle/Functional/Cart/graphql/GetCart.graphql b/app/tests/FrontendApiBundle/Functional/Cart/graphql/GetCart.graphql index de0a3e0f08..eaa2efc99b 100644 --- a/app/tests/FrontendApiBundle/Functional/Cart/graphql/GetCart.graphql +++ b/app/tests/FrontendApiBundle/Functional/Cart/graphql/GetCart.graphql @@ -71,6 +71,13 @@ query GetCart( personalPickupStoreUnavailable transportPriceChanged } + promoCodeModifications { + noLongerApplicablePromoCode + } + } + promoCode { + code + type } } } diff --git a/app/tests/FrontendApiBundle/Functional/Cart/graphql/RemovePromoCodeFromCart.graphql b/app/tests/FrontendApiBundle/Functional/Cart/graphql/RemovePromoCodeFromCart.graphql new file mode 100644 index 0000000000..a26456f23b --- /dev/null +++ b/app/tests/FrontendApiBundle/Functional/Cart/graphql/RemovePromoCodeFromCart.graphql @@ -0,0 +1,17 @@ +mutation RemovePromoCodeFromCart( + $cartUuid: Uuid, + $promoCode: String! +) { + RemovePromoCodeFromCart( + input: { + cartUuid: $cartUuid + promoCode: $promoCode + } + ) { + uuid + promoCode { + code + type + } + } +} diff --git a/app/tests/FrontendApiBundle/Functional/Login/graphql/LoginMutation.graphql b/app/tests/FrontendApiBundle/Functional/Login/graphql/LoginMutation.graphql index 7080bac0ca..31af5a2564 100644 --- a/app/tests/FrontendApiBundle/Functional/Login/graphql/LoginMutation.graphql +++ b/app/tests/FrontendApiBundle/Functional/Login/graphql/LoginMutation.graphql @@ -1,7 +1,8 @@ -mutation LoginMutation ($email: String!, $password: Password!) { +mutation LoginMutation ($email: String!, $password: Password!, $cartUuid: Uuid) { Login(input: { email: $email password: $password + cartUuid: $cartUuid }) { tokens { accessToken diff --git a/app/tests/FrontendApiBundle/Functional/Order/MinimalOrderAsAuthenticatedCustomerUserTest.php b/app/tests/FrontendApiBundle/Functional/Order/MinimalOrderAsAuthenticatedCustomerUserTest.php index 7b703cd2c1..e7d18c27d6 100644 --- a/app/tests/FrontendApiBundle/Functional/Order/MinimalOrderAsAuthenticatedCustomerUserTest.php +++ b/app/tests/FrontendApiBundle/Functional/Order/MinimalOrderAsAuthenticatedCustomerUserTest.php @@ -36,6 +36,7 @@ public function testMinimalOrderAsAuthenticatedUser(): void $expectedOrderItems = $this->getExpectedOrderItems(); $expected = [ + 'orderCreated' => true, 'order' => [ 'transport' => [ 'name' => t('Czech post', [], Translator::DATA_FIXTURES_TRANSLATION_DOMAIN, $firstDomainLocale), @@ -74,6 +75,7 @@ public function testMinimalOrderAsAuthenticatedUser(): void ], 'note' => null, ], + 'cart' => null, ]; $response = $this->getResponseContentForGql(__DIR__ . '/graphql/CreateMinimalOrderMutation.graphql', [ diff --git a/app/tests/FrontendApiBundle/Functional/Order/MinimalOrderTest.php b/app/tests/FrontendApiBundle/Functional/Order/MinimalOrderTest.php index 4993017341..4fa9b88d44 100644 --- a/app/tests/FrontendApiBundle/Functional/Order/MinimalOrderTest.php +++ b/app/tests/FrontendApiBundle/Functional/Order/MinimalOrderTest.php @@ -18,6 +18,7 @@ public function testCreateMinimalOrderMutation(): void $firstDomainLocale = $this->getLocaleForFirstDomain(); $expectedOrderItems = $this->getExpectedOrderItems(); $expected = [ + 'orderCreated' => true, 'order' => [ 'transport' => [ 'name' => t('Czech post', [], Translator::DATA_FIXTURES_TRANSLATION_DOMAIN, $firstDomainLocale), @@ -56,6 +57,7 @@ public function testCreateMinimalOrderMutation(): void ], 'note' => null, ], + 'cart' => null, ]; $product = $this->getReference(ProductDataFixture::PRODUCT_PREFIX . '1', Product::class); diff --git a/app/tests/FrontendApiBundle/Functional/Order/OrderWithPromoCodeTest.php b/app/tests/FrontendApiBundle/Functional/Order/OrderWithPromoCodeTest.php index 5bd17deee6..aef7b1dd97 100644 --- a/app/tests/FrontendApiBundle/Functional/Order/OrderWithPromoCodeTest.php +++ b/app/tests/FrontendApiBundle/Functional/Order/OrderWithPromoCodeTest.php @@ -36,21 +36,22 @@ class OrderWithPromoCodeTest extends GraphQlTestCase */ private PromoCodeDataFactory $promoCodeDataFactory; - public function testCreateOrderWithPromoCode() + private const array DEFAULT_ORDER_INPUT_VALUES = [ + 'firstName' => 'firstName', + 'lastName' => 'lastName', + 'email' => 'user@example.com', + 'telephone' => '+53 123456789', + 'onCompanyBehalf' => false, + 'street' => '123 Fake Street', + 'city' => 'Springfield', + 'postcode' => '12345', + 'country' => 'CZ', + 'isDeliveryAddressDifferentFromBilling' => false, + ]; + + public function testCreateOrderWithPromoCode(): void { $expectedOrderItems = $this->getExpectedOrderItems(); - $expected = [ - 'data' => [ - 'CreateOrder' => [ - 'orderCreated' => true, - 'order' => [ - 'totalPrice' => $this->getSerializedOrderTotalPriceByExpectedOrderItems($expectedOrderItems), - 'items' => $expectedOrderItems, - ], - 'cart' => null, - ], - ], - ]; $cartUuid = $this->addProductToCart(); $this->addCzechPostTransportToCart($cartUuid); $this->addCashOnDeliveryPaymentToCart($cartUuid); @@ -59,7 +60,12 @@ public function testCreateOrderWithPromoCode() $this->applyPromoCode($cartUuid, $validPromoCode->getCode()); - $this->assertQueryWithExpectedArray($this->getMutation($cartUuid), $expected); + $responseData = $this->createOrderAndGetResponseData($cartUuid); + + $this->assertTrue($responseData['orderCreated']); + $this->assertSame(self::getSerializedOrderTotalPriceByExpectedOrderItems($expectedOrderItems), $responseData['order']['totalPrice']); + $this->assertSame($expectedOrderItems, $responseData['order']['items']); + $this->assertNull($responseData['cart']); } public function testCreateOrderWithInvalidPromoCode(): void @@ -77,21 +83,31 @@ public function testCreateOrderWithInvalidPromoCode(): void $this->promoCodeFacade->edit($validPromoCode->getId(), $promoCodeData); - $mutation = $this->getMutation($cartUuid); - $response = $this->getResponseContentForQuery($mutation); - - $this->assertArrayHasKey('data', $response); - $this->assertArrayHasKey('CreateOrder', $response['data']); - $this->assertArrayHasKey('orderCreated', $response['data']['CreateOrder']); - $this->assertFalse($response['data']['CreateOrder']['orderCreated']); - $this->assertArrayHasKey('cart', $response['data']['CreateOrder']); - $this->assertArrayHasKey('promoCode', $response['data']['CreateOrder']['cart']); - $this->assertNull($response['data']['CreateOrder']['cart']['promoCode']); - $this->assertArrayHasKey('modifications', $response['data']['CreateOrder']['cart']); - $this->assertArrayHasKey('promoCodeModifications', $response['data']['CreateOrder']['cart']['modifications']); - $this->assertArrayHasKey('noLongerApplicablePromoCode', $response['data']['CreateOrder']['cart']['modifications']['promoCodeModifications']); - $this->assertCount(1, $response['data']['CreateOrder']['cart']['modifications']['promoCodeModifications']['noLongerApplicablePromoCode']); - $this->assertEquals('test', $response['data']['CreateOrder']['cart']['modifications']['promoCodeModifications']['noLongerApplicablePromoCode'][0]); + $responseData = $this->createOrderAndGetResponseData($cartUuid); + + $this->assertArrayHasKey('orderCreated', $responseData); + $this->assertFalse($responseData['orderCreated']); + $this->assertArrayHasKey('cart', $responseData); + $this->assertArrayHasKey('promoCode', $responseData['cart']); + $this->assertNull($responseData['cart']['promoCode']); + $this->assertArrayHasKey('modifications', $responseData['cart']); + $this->assertArrayHasKey('promoCodeModifications', $responseData['cart']['modifications']); + $this->assertArrayHasKey('noLongerApplicablePromoCode', $responseData['cart']['modifications']['promoCodeModifications']); + $this->assertCount(1, $responseData['cart']['modifications']['promoCodeModifications']['noLongerApplicablePromoCode']); + $this->assertEquals('test', $responseData['cart']['modifications']['promoCodeModifications']['noLongerApplicablePromoCode'][0]); + } + + public function testOrderWithFreeTransportAndPaymentPromoCode(): void + { + $cartUuid = $this->addProductToCart(); + $freeTransportAndPaymentPromoCode = $this->getReferenceForDomain(PromoCodeDataFixture::PROMO_CODE_FOR_FREE_TRANSPORT_PAYMENT, 1, PromoCode::class); + $this->addCzechPostTransportToCart($cartUuid); + $this->addCashOnDeliveryPaymentToCart($cartUuid); + $this->applyPromoCode($cartUuid, $freeTransportAndPaymentPromoCode->getCode()); + + $responseData = $this->createOrderAndGetResponseData($cartUuid); + + $this->assertTransportAndPaymentItemsAreFree($responseData); } /** @@ -155,64 +171,16 @@ protected function getExpectedOrderItems(): array /** * @param string $cartUuid - * @return string + * @return array */ - private function getMutation(string $cartUuid): string + private function createOrderAndGetResponseData(string $cartUuid): array { - return 'mutation { - CreateOrder( - input: { - cartUuid: "' . $cartUuid . '" - firstName: "firstName" - lastName: "lastName" - email: "user@example.com" - telephone: "+53 123456789" - onCompanyBehalf: false - street: "123 Fake Street" - city: "Springfield" - postcode: "12345" - country: "CZ" - isDeliveryAddressDifferentFromBilling: false - } - ) { - orderCreated - order { - totalPrice { - priceWithVat - priceWithoutVat - vatAmount - } - items { - name - unitPrice { - priceWithVat - priceWithoutVat - vatAmount - } - totalPrice { - priceWithVat - priceWithoutVat - vatAmount - } - quantity - vatRate - unit - type - product { - uuid - } - } - } - cart { - promoCode - modifications { - promoCodeModifications { - noLongerApplicablePromoCode - } - } - } - } - }'; + $response = $this->getResponseContentForGql(__DIR__ . '/graphql/CreateMinimalOrderMutation.graphql', [ + 'cartUuid' => $cartUuid, + ...self::DEFAULT_ORDER_INPUT_VALUES, + ]); + + return $this->getResponseDataForGraphQlType($response, 'CreateOrder'); } /** @@ -221,18 +189,10 @@ private function getMutation(string $cartUuid): string */ public function applyPromoCode(string $cartUuid, string $promoCode): void { - $mutation = 'mutation { - ApplyPromoCodeToCart( - input: { - cartUuid: "' . $cartUuid . '" - promoCode: "' . $promoCode . '" - } - ) { - uuid - } - }'; - - $this->getResponseContentForQuery($mutation); + $this->getResponseContentForGql(__DIR__ . '/../_graphql/mutation/ApplyPromoCodeToCart.graphql', [ + 'cartUuid' => $cartUuid, + 'promoCode' => $promoCode, + ]); } /** @@ -265,4 +225,20 @@ private function addProductToCart(): string return $response['data']['AddToCart']['cart']['uuid']; } + + /** + * @param array $responseData + */ + private function assertTransportAndPaymentItemsAreFree(array $responseData): void + { + foreach ($responseData['order']['items'] as $item) { + if ($item['type'] === OrderItemTypeEnum::TYPE_TRANSPORT || $item['type'] === OrderItemTypeEnum::TYPE_PAYMENT) { + $this->assertSame( + $this->getFormattedMoneyAmountConvertedToDomainDefaultCurrency('0'), + $item['totalPrice']['priceWithVat'], + sprintf('Total price of %s should be zero', $item['type']), + ); + } + } + } } diff --git a/app/tests/FrontendApiBundle/Functional/Order/graphql/CreateMinimalOrderMutation.graphql b/app/tests/FrontendApiBundle/Functional/Order/graphql/CreateMinimalOrderMutation.graphql index 8456b6c403..b3db0a98ad 100644 --- a/app/tests/FrontendApiBundle/Functional/Order/graphql/CreateMinimalOrderMutation.graphql +++ b/app/tests/FrontendApiBundle/Functional/Order/graphql/CreateMinimalOrderMutation.graphql @@ -28,6 +28,7 @@ mutation CreateMinimalOrderMutation( deliveryAddressUuid: $deliveryAddressUuid } ) { + orderCreated order { transport { name @@ -87,5 +88,16 @@ mutation CreateMinimalOrderMutation( } note } + cart { + promoCode { + code + type + } + modifications { + promoCodeModifications { + noLongerApplicablePromoCode + } + } + } } } diff --git a/app/tests/FrontendApiBundle/Functional/_graphql/mutation/AddToCartMutation.graphql b/app/tests/FrontendApiBundle/Functional/_graphql/mutation/AddToCartMutation.graphql index 141532b420..3aa3594de2 100644 --- a/app/tests/FrontendApiBundle/Functional/_graphql/mutation/AddToCartMutation.graphql +++ b/app/tests/FrontendApiBundle/Functional/_graphql/mutation/AddToCartMutation.graphql @@ -88,6 +88,9 @@ mutation AddToCart( } } remainingAmountWithVatForFreeTransport + promoCode { + code + } } } } diff --git a/app/tests/FrontendApiBundle/Functional/_graphql/mutation/ApplyPromoCodeToCart.graphql b/app/tests/FrontendApiBundle/Functional/_graphql/mutation/ApplyPromoCodeToCart.graphql index dcf1483147..132831b3ab 100644 --- a/app/tests/FrontendApiBundle/Functional/_graphql/mutation/ApplyPromoCodeToCart.graphql +++ b/app/tests/FrontendApiBundle/Functional/_graphql/mutation/ApplyPromoCodeToCart.graphql @@ -7,6 +7,24 @@ mutation ApplyPromoCodeToCart( promoCode: $promoCode }) { uuid - promoCode + promoCode { + code + type + } + transport { + price { + priceWithVat + priceWithoutVat + vatAmount + } + } + payment { + price { + priceWithVat + priceWithoutVat + vatAmount + } + } + remainingAmountWithVatForFreeTransport } -} \ No newline at end of file +} diff --git a/app/tests/FrontendApiBundle/Test/PromoCodeAssertionTrait.php b/app/tests/FrontendApiBundle/Test/PromoCodeAssertionTrait.php new file mode 100644 index 0000000000..6ffd899a4f --- /dev/null +++ b/app/tests/FrontendApiBundle/Test/PromoCodeAssertionTrait.php @@ -0,0 +1,20 @@ +getCode(), $promoCodeData['code']); + self::assertEquals($promoCode->getDiscountType(), $promoCodeData['type']); + } +} diff --git a/storefront/components/Blocks/OrderSummary/PromoCode.tsx b/storefront/components/Blocks/OrderSummary/PromoCode.tsx index 74bf5f8ea0..a24ec3b993 100644 --- a/storefront/components/Blocks/OrderSummary/PromoCode.tsx +++ b/storefront/components/Blocks/OrderSummary/PromoCode.tsx @@ -6,12 +6,13 @@ import { OrderSummaryTextAndImage, } from './OrderSummaryElements'; import { TypePriceFragment } from 'graphql/requests/prices/fragments/PriceFragment.generated'; +import { TypePromoCode } from 'graphql/types'; import useTranslation from 'next-translate/useTranslation'; import { useFormatPrice } from 'utils/formatting/useFormatPrice'; import { isPriceVisible } from 'utils/mappers/price'; type PromoCodeProps = { - promoCode: string; + promoCode: TypePromoCode; discount: TypePriceFragment; }; @@ -23,8 +24,8 @@ export const PromoCode: FC = ({ discount, promoCode }) => { - {`${t('Promo code')}: ${promoCode}`} - {isPriceVisible(discount.priceWithVat) && ( + {`${t('Promo code')}: ${promoCode.code}`} + {isPriceVisible(discount.priceWithVat) && Number(discount.priceWithVat) > 0 && ( -{formatPrice(discount.priceWithVat)} diff --git a/storefront/components/Blocks/PromoCode/PromoCode.tsx b/storefront/components/Blocks/PromoCode/PromoCode.tsx index 59f922a052..6beb6cffee 100644 --- a/storefront/components/Blocks/PromoCode/PromoCode.tsx +++ b/storefront/components/Blocks/PromoCode/PromoCode.tsx @@ -42,7 +42,7 @@ export const PromoCode: FC = () => { {isRemovingPromoCodeFromCart && } removePromoCodeFromCart(promoCode)} + onRemovePromoCodeCallback={() => removePromoCodeFromCart(promoCode.code)} /> ) : ( diff --git a/storefront/components/Blocks/PromoCode/PromoCodeInfo.tsx b/storefront/components/Blocks/PromoCode/PromoCodeInfo.tsx index 3ed61b866b..4e07a897a2 100644 --- a/storefront/components/Blocks/PromoCode/PromoCodeInfo.tsx +++ b/storefront/components/Blocks/PromoCode/PromoCodeInfo.tsx @@ -1,10 +1,11 @@ import { RemoveIcon } from 'components/Basic/Icon/RemoveIcon'; import { LabelLink } from 'components/Basic/LabelLink/LabelLink'; import { TIDs } from 'cypress/tids'; +import { TypePromoCode, TypePromoCodeTypeEnum } from 'graphql/types'; import useTranslation from 'next-translate/useTranslation'; type PromoCodeInfoProps = { - promoCode: string; + promoCode: TypePromoCode; onRemovePromoCodeCallback: () => void; }; @@ -16,14 +17,16 @@ export const PromoCodeInfo: FC = ({ onRemovePromoCodeCallbac
{t('Your discount with the code has been applied.')}
- {promoCode} + {promoCode.code}

- {t( - 'The discount was applied to all non-discounted items to which the promotion applies according to the rules.', - )} + {promoCode.type === TypePromoCodeTypeEnum.FreeTransportPayment + ? t('The discount was applied to the order transport and payment.') + : t( + 'The discount was applied to all non-discounted items to which the promotion applies according to the rules.', + )}

); diff --git a/storefront/components/Blocks/PromoCode/promoCodeFormMeta.tsx b/storefront/components/Blocks/PromoCode/promoCodeFormMeta.tsx index 8c742d2ec6..a0c100ee75 100644 --- a/storefront/components/Blocks/PromoCode/promoCodeFormMeta.tsx +++ b/storefront/components/Blocks/PromoCode/promoCodeFormMeta.tsx @@ -16,7 +16,7 @@ export const usePromoCodeForm = (): [UseFormReturn, PromoCode promoCode: Yup.string().required(t('This field is required')), }), ); - const defaultValues = { promoCode: promoCode ?? '' }; + const defaultValues = { promoCode: promoCode?.code ?? '' }; return [useShopsysForm(resolver, defaultValues), defaultValues]; }; diff --git a/storefront/components/Pages/Order/ContactInformation/contactInformationUtils.ts b/storefront/components/Pages/Order/ContactInformation/contactInformationUtils.ts index 783959a8f2..c0898e8b25 100644 --- a/storefront/components/Pages/Order/ContactInformation/contactInformationUtils.ts +++ b/storefront/components/Pages/Order/ContactInformation/contactInformationUtils.ts @@ -217,7 +217,7 @@ const useHandleEventsAfterOrderCreation = () => { const gtmCreateOrderEventOrderPart = getGtmCreateOrderEventOrderPart( cart, payment, - promoCode, + promoCode?.code ?? null, orderNumber, getGtmReviewConsents(), domainConfig, diff --git a/storefront/cypress/support/api.ts b/storefront/cypress/support/api.ts index dc592b000d..c32d3a572a 100644 --- a/storefront/cypress/support/api.ts +++ b/storefront/cypress/support/api.ts @@ -64,7 +64,9 @@ Cypress.Commands.add('addPromoCodeToCartForTest', (promoCode: string) => { query: `mutation ApplyPromoCodeToCartMutation($input: ApplyPromoCodeToCartInput!) { ApplyPromoCodeToCart(input: $input) { uuid - promoCode + promoCode { + code + } } }`, variables: { @@ -82,7 +84,7 @@ Cypress.Commands.add('addPromoCodeToCartForTest', (promoCode: string) => { .its('body.data.ApplyPromoCodeToCart') .then((cart) => { expect(cart.uuid).equal(cartUuid); - expect(cart.promoCode).equal(promoCode); + expect(cart.promoCode.code).equal(promoCode); }); }); }); diff --git a/storefront/graphql/docs/schema.md b/storefront/graphql/docs/schema.md index e5acc7f40e..f41663d060 100644 --- a/storefront/graphql/docs/schema.md +++ b/storefront/graphql/docs/schema.md @@ -90,6 +90,7 @@ * [ProductFilterOptions](#productfilteroptions) * [ProductList](#productlist) * [ProductPrice](#productprice) + * [PromoCode](#promocode) * [RegularCustomerUser](#regularcustomeruser) * [RegularProduct](#regularproduct) * [SalesRepresentative](#salesrepresentative) @@ -152,6 +153,7 @@ * [ProductListTypeEnum](#productlisttypeenum) * [ProductOrderingModeEnum](#productorderingmodeenum) * [ProductTypeEnum](#producttypeenum) + * [PromoCodeTypeEnum](#promocodetypeenum) * [RecommendationType](#recommendationtype) * [StoreOpeningStatusEnum](#storeopeningstatusenum) * [TransportTypeEnum](#transporttypeenum) @@ -3153,7 +3155,7 @@ Selected bank swift code of goPay payment bank transfer promoCode -String +PromoCode Applied promo code if provided @@ -7592,6 +7594,39 @@ Total value of VAT +### PromoCode + + + + + + + + + + + + + + + + + + + + + + +
FieldArgumentTypeDescription
codeString! + +Code of the promo code + +
typePromoCodeTypeEnum! + +Type of the promo code + +
+ ### RegularCustomerUser Represents an currently logged customer user @@ -11766,6 +11801,45 @@ Product with inquiry form instead of add to cart button +### PromoCodeTypeEnum + +One of possible promo code types + + + + + + + + + + + + + + + + + + + + + + +
ValueDescription
free_transport_payment + +Discount type free transport and payment + +
nominal + +Discount type nominal + +
percent + +Discount type percent + +
+ ### RecommendationType diff --git a/storefront/graphql/requests/cart/fragments/CartFragment.generated.tsx b/storefront/graphql/requests/cart/fragments/CartFragment.generated.tsx index c429291a07..5f24613022 100644 --- a/storefront/graphql/requests/cart/fragments/CartFragment.generated.tsx +++ b/storefront/graphql/requests/cart/fragments/CartFragment.generated.tsx @@ -6,7 +6,8 @@ import { PriceFragment } from '../../prices/fragments/PriceFragment.generated'; import { CartModificationsFragment } from './CartModificationsFragment.generated'; import { TransportWithAvailablePaymentsAndStoresFragment } from '../../transports/fragments/TransportWithAvailablePaymentsAndStoresFragment.generated'; import { SimplePaymentFragment } from '../../payments/fragments/SimplePaymentFragment.generated'; -export type TypeCartFragment = { __typename: 'Cart', uuid: string | null, remainingAmountWithVatForFreeTransport: string | null, promoCode: 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, roundingPrice: { __typename: 'Price', priceWithVat: string, priceWithoutVat: string, vatAmount: string } | null }; +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 interface PossibleTypesResultData { @@ -111,7 +112,9 @@ export const CartFragment = gql` payment { ...SimplePaymentFragment } - promoCode + promoCode { + ...PromoCodeFragment + } selectedPickupPlaceIdentifier paymentGoPayBankSwift roundingPrice { @@ -122,4 +125,5 @@ export const CartFragment = gql` ${PriceFragment} ${CartModificationsFragment} ${TransportWithAvailablePaymentsAndStoresFragment} -${SimplePaymentFragment}`; \ No newline at end of file +${SimplePaymentFragment} +${PromoCodeFragment}`; \ No newline at end of file diff --git a/storefront/graphql/requests/cart/fragments/CartFragment.graphql b/storefront/graphql/requests/cart/fragments/CartFragment.graphql index 0b407af99f..48dcbfba2d 100644 --- a/storefront/graphql/requests/cart/fragments/CartFragment.graphql +++ b/storefront/graphql/requests/cart/fragments/CartFragment.graphql @@ -23,7 +23,9 @@ fragment CartFragment on Cart { payment { ...SimplePaymentFragment } - promoCode + promoCode { + ...PromoCodeFragment + } selectedPickupPlaceIdentifier paymentGoPayBankSwift roundingPrice { diff --git a/storefront/graphql/requests/cart/fragments/PromoCodeFragment.generated.tsx b/storefront/graphql/requests/cart/fragments/PromoCodeFragment.generated.tsx new file mode 100644 index 0000000000..cebca5e639 --- /dev/null +++ b/storefront/graphql/requests/cart/fragments/PromoCodeFragment.generated.tsx @@ -0,0 +1,89 @@ +import * as Types from '../../../types'; + +import gql from 'graphql-tag'; +export type TypePromoCodeFragment = { __typename: 'PromoCode', code: string, type: Types.TypePromoCodeTypeEnum }; + + + export interface PossibleTypesResultData { + possibleTypes: { + [key: string]: string[] + } + } + const result: PossibleTypesResultData = { + "possibleTypes": { + "Advert": [ + "AdvertCode", + "AdvertImage" + ], + "ArticleInterface": [ + "ArticleSite", + "BlogArticle" + ], + "Breadcrumb": [ + "ArticleSite", + "BlogArticle", + "BlogCategory", + "Brand", + "Category", + "Flag", + "MainVariant", + "RegularProduct", + "Store", + "Variant" + ], + "CustomerUser": [ + "CompanyCustomerUser", + "RegularCustomerUser" + ], + "Hreflang": [ + "BlogArticle", + "BlogCategory", + "Brand", + "Flag", + "MainVariant", + "RegularProduct", + "SeoPage", + "Variant" + ], + "NotBlogArticleInterface": [ + "ArticleLink", + "ArticleSite" + ], + "ParameterFilterOptionInterface": [ + "ParameterCheckboxFilterOption", + "ParameterColorFilterOption", + "ParameterSliderFilterOption" + ], + "Product": [ + "MainVariant", + "RegularProduct", + "Variant" + ], + "ProductListable": [ + "Brand", + "Category", + "Flag" + ], + "Slug": [ + "ArticleSite", + "BlogArticle", + "BlogCategory", + "Brand", + "Category", + "Flag", + "MainVariant", + "RegularProduct", + "Store", + "Variant" + ] + } +}; + export default result; + +export const PromoCodeFragment = gql` + fragment PromoCodeFragment on PromoCode { + __typename + code + type +} + `; \ No newline at end of file diff --git a/storefront/graphql/requests/cart/fragments/PromoCodeFragment.graphql b/storefront/graphql/requests/cart/fragments/PromoCodeFragment.graphql new file mode 100644 index 0000000000..7c13840cb2 --- /dev/null +++ b/storefront/graphql/requests/cart/fragments/PromoCodeFragment.graphql @@ -0,0 +1,5 @@ +fragment PromoCodeFragment on PromoCode { + __typename + code + type +} diff --git a/storefront/graphql/requests/cart/mutations/AddOrderItemsToCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/AddOrderItemsToCartMutation.generated.tsx index 21d7ca49f7..c5d69ad1a2 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, promoCode: 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, 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 }, 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 interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/AddToCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/AddToCartMutation.generated.tsx index 3713c7d908..1272cef53f 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, promoCode: 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, 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 }, 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 interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/ApplyPromoCodeToCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/ApplyPromoCodeToCartMutation.generated.tsx index 089df2e489..69d2e898de 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, promoCode: 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, 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 }, 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 interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/ChangePaymentInCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/ChangePaymentInCartMutation.generated.tsx index db96d5a49a..c96e0b24e5 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, promoCode: 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, 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 }, 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 interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/ChangeTransportInCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/ChangeTransportInCartMutation.generated.tsx index 4fb8444708..64ad44a0e7 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, promoCode: 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, 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 }, 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 interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/RemoveFromCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/RemoveFromCartMutation.generated.tsx index 374683b18d..bbd8c975f0 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, promoCode: 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, 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 }, 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 interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/mutations/RemovePromoCodeFromCartMutation.generated.tsx b/storefront/graphql/requests/cart/mutations/RemovePromoCodeFromCartMutation.generated.tsx index f797bb2cc6..654382664f 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, promoCode: 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, 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 }, 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 interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/cart/queries/CartQuery.generated.tsx b/storefront/graphql/requests/cart/queries/CartQuery.generated.tsx index e6035753d0..787c865430 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, promoCode: 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, 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 }, 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 interface PossibleTypesResultData { diff --git a/storefront/graphql/requests/orders/mutations/CreateOrderMutation.generated.tsx b/storefront/graphql/requests/orders/mutations/CreateOrderMutation.generated.tsx index 01d568a5c5..02ab6f9c5a 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, promoCode: 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, 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 }, 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 interface PossibleTypesResultData { diff --git a/storefront/graphql/types.ts b/storefront/graphql/types.ts index 83cd752d15..e3b2addfc2 100644 --- a/storefront/graphql/types.ts +++ b/storefront/graphql/types.ts @@ -459,7 +459,7 @@ export type TypeCart = { /** Selected bank swift code of goPay payment bank transfer */ paymentGoPayBankSwift: Maybe; /** Applied promo code if provided */ - promoCode: Maybe; + promoCode: Maybe; /** Remaining amount for free transport and payment; null = transport cannot be free */ remainingAmountWithVatForFreeTransport: Maybe; /** Rounding amount if payment has rounding allowed */ @@ -2377,6 +2377,24 @@ export enum TypeProductTypeEnum { Inquiry = 'INQUIRY' } +export type TypePromoCode = { + __typename?: 'PromoCode'; + /** Code of the promo code */ + code: Scalars['String']['output']; + /** Type of the promo code */ + type: TypePromoCodeTypeEnum; +}; + +/** One of possible promo code types */ +export enum TypePromoCodeTypeEnum { + /** Discount type free transport and payment */ + FreeTransportPayment = 'free_transport_payment', + /** Discount type nominal */ + Nominal = 'nominal', + /** Discount type percent */ + Percent = 'percent' +} + export type TypeQuery = { __typename?: 'Query'; AdvertCode: Maybe; diff --git a/storefront/gtm/utils/getGtmMappedCart.ts b/storefront/gtm/utils/getGtmMappedCart.ts index b72e45506d..fa1c911e9c 100644 --- a/storefront/gtm/utils/getGtmMappedCart.ts +++ b/storefront/gtm/utils/getGtmMappedCart.ts @@ -1,5 +1,6 @@ import { getGtmPriceBasedOnVisibility } from './getGtmPriceBasedOnVisibility'; import { TypeCartFragment } from 'graphql/requests/cart/fragments/CartFragment.generated'; +import { TypePromoCode } from 'graphql/types'; import { mapGtmCartItemType } from 'gtm/mappers/mapGtmCartItemType'; import { GtmCartInfoType } from 'gtm/types/objects'; import { DomainConfigType } from 'utils/domain/domainConfig'; @@ -8,7 +9,7 @@ import { getInternationalizedStaticUrls } from 'utils/staticUrls/getInternationa export const getGtmMappedCart = ( cart: TypeCartFragment, - promoCode: string | null, + promoCode: TypePromoCode | null, isUserLoggedIn: boolean, domain: DomainConfigType, cartUuid: string | null, @@ -28,7 +29,7 @@ export const getGtmMappedCart = ( }; if (promoCode) { - mappedCart.promoCodes = [promoCode]; + mappedCart.promoCodes = [promoCode.code]; } return mappedCart; diff --git a/storefront/public/locales/cs/common.json b/storefront/public/locales/cs/common.json index dde0761696..f1069576af 100644 --- a/storefront/public/locales/cs/common.json +++ b/storefront/public/locales/cs/common.json @@ -412,6 +412,7 @@ "The amount of discounts": "Výše slevy", "The current password is incorrect": "Současné heslo je nesprávné", "The discount was applied to all non-discounted items to which the promotion applies according to the rules.": "Sleva byla uplatněna na všechny již neslevněné položky na které se akce vztahuje podle pravidel.", + "The discount was applied to the order transport and payment.": "Sleva byla aplikována na dopravu a platbu v objednávce", "The feedback reporting tool has been successfully activated for you": "Nástroj pro hlášení zpětné vazby vám byl úspěšně aktivován", "The feedback tool has been successfully deactivated for you": "Nástroj pro hlášení zpětné vazby vám byl úspěšně deaktivován", "The item has been added to your wishlist.": "Produkt byl přidán do vašich oblíbených produktů.", diff --git a/storefront/public/locales/en/common.json b/storefront/public/locales/en/common.json index cb75883e27..b92c4a112a 100644 --- a/storefront/public/locales/en/common.json +++ b/storefront/public/locales/en/common.json @@ -396,6 +396,7 @@ "The amount of discounts": "The amount of discounts", "The current password is incorrect": "The current password is incorrect", "The discount was applied to all non-discounted items to which the promotion applies according to the rules.": "The discount was applied to all non-discounted items to which the promotion applies according to the rules.", + "The discount was applied to the order transport and payment.": "The discount was applied to the order transport and payment.", "The feedback reporting tool has been successfully activated for you": "The feedback reporting tool has been successfully activated for you", "The feedback tool has been successfully deactivated for you": "The feedback tool has been successfully deactivated for you", "The item has been added to your wishlist.": "The item has been added to your wishlist.", diff --git a/storefront/public/locales/sk/common.json b/storefront/public/locales/sk/common.json index 0b602fd6d6..a9ec788fba 100644 --- a/storefront/public/locales/sk/common.json +++ b/storefront/public/locales/sk/common.json @@ -412,6 +412,7 @@ "The amount of discounts": "Výška zľavy", "The current password is incorrect": "Súčasné heslo je nesprávne", "The discount was applied to all non-discounted items to which the promotion applies according to the rules.": "Zľava bola uplatnená na všetky už nezľavnené položky na ktoré sa akcia vzťahuje podľa pravidiel.", + "The discount was applied to the order transport and payment.": "Zľava bola uplatnená na dopravu a platbu objednávky.", "The feedback reporting tool has been successfully activated for you": "Nástroj na nahlasovanie spätnej väzby bol pre vás úspešne aktivovaný", "The feedback tool has been successfully deactivated for you": "Nástroj spätnej väzby bol pre vás úspešne deaktivovaný", "The item has been added to your wishlist.": "Produkt bol pridaný do vašich obľúbených produktov.", diff --git a/storefront/schema-compressed.graphql.json b/storefront/schema-compressed.graphql.json index 76e6a056c3..6690da0602 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":"SCALAR","name":"Any"},"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":"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":"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":"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":"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":"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":"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":"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 diff --git a/storefront/types/cart.ts b/storefront/types/cart.ts index fcab9d9669..51aa125c2d 100644 --- a/storefront/types/cart.ts +++ b/storefront/types/cart.ts @@ -3,7 +3,7 @@ import { TypeCartModificationsFragment } from 'graphql/requests/cart/fragments/C import { TypeSimplePaymentFragment } from 'graphql/requests/payments/fragments/SimplePaymentFragment.generated'; import { TypePriceFragment } from 'graphql/requests/prices/fragments/PriceFragment.generated'; import { TypeTransportWithAvailablePaymentsAndStoresFragment } from 'graphql/requests/transports/fragments/TransportWithAvailablePaymentsAndStoresFragment.generated'; -import { Maybe } from 'graphql/types'; +import { Maybe, TypePromoCode } from 'graphql/types'; import { UseQueryExecute } from 'urql'; import { StoreOrPacketeryPoint } from 'utils/packetery/types'; @@ -13,7 +13,7 @@ export type CurrentCartType = { pickupPlace: Maybe; payment: Maybe; paymentGoPayBankSwift: Maybe; - promoCode: Maybe; + promoCode: Maybe; isCartFetchingOrUnavailable: boolean; modifications: Maybe; roundingPrice: Maybe;